@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* Shared public theme, based on the ID-selling homepage. */
:root {
  --bg: #050816;
  --dark: #050816;
  --nav: #080e20;
  --card: rgba(255,255,255,.08);
  --panel: rgba(255,255,255,.08);
  --soft: rgba(255,255,255,.06);
  --line: rgba(255,255,255,.14);
  --text: #f8fbff;
  --muted: #aab7d4;
  --blue: #00d4ff;
  --cyan: #00d4ff;
  --violet: #8b5cf6;
  --pink: #8b5cf6;
  --mint: #00d4ff;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,.35);
}
body {
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans',sans-serif;
  background: radial-gradient(circle at top left,rgba(0,212,255,.22),transparent 34%),
              radial-gradient(circle at top right,rgba(139,92,246,.25),transparent 36%),var(--bg);
  color: var(--text);
}
.glass,main .card {
  background: linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-card:before { background: linear-gradient(90deg,var(--blue),var(--violet)); }
main .eyebrow { background: rgba(0,212,255,.12); border-color: rgba(0,212,255,.35); color: #c9f8ff; }
main .hero h1 { font-weight: 900; letter-spacing: -.065em; }
.site-store main .btn,.site-store main button,.btn-search {
  background: linear-gradient(135deg,var(--blue),var(--violet));
  color: #fff;
  border-radius: 18px;
}
.site-store main .btn.ghost { background: rgba(255,255,255,.08); border: 1px solid var(--line); }
main input:not([type=hidden]):not([type=checkbox]):not([type=radio]),main select,main textarea {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text);
  font-family: inherit;
}
main input:focus,main select:focus,main textarea:focus { outline-color: var(--blue); border-color: var(--blue); }
main option { background: #10172a; color: var(--text); }
.scroll { background: rgba(255,255,255,.06); border-color: var(--line); }
.scroll th { background: rgba(0,212,255,.1); }
.scroll td,.scroll th { border-color: var(--line); }
.site-footer {
  padding: 0;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  color: var(--muted);
  font-size: 14px;
}
.site-footer__grid { max-width: 1140px; margin: auto; padding: 36px 20px 26px; display: grid; grid-template-columns: 1.25fr .85fr .95fr; gap: 26px; }
.site-footer__brand { color: #fff; font-size: 1.38rem; font-weight: 900; margin-bottom: 10px; letter-spacing: -.04em; }
.site-footer p { margin: 0; color: var(--muted); line-height: 1.75; }
.site-footer h2 { color: #fff; font-size: 1rem; font-weight: 800; margin: 0 0 13px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 15px 16px 19px; text-align: center; font-size: .88rem; }
@media(max-width:820px) {
  .site-footer__grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer__links { align-items: center; }
}

/* Customer support shortcut. */
.wa-float { display: none!important; }
.site-support-float { position: fixed; right: 22px; bottom: 22px; z-index: 2100; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#00d4ff,#8b5cf6); border: 1px solid rgba(255,255,255,.3); color: #fff!important; text-decoration: none; font-size: 24px; box-shadow: 0 12px 35px rgba(0,212,255,.28); transition: transform .2s; }
.site-support-float:hover { transform: translateY(-3px); }
.site-support-float:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media(max-width:800px) { .site-support-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); } }

/* Public storefront surfaces */
:root {
  --bg: #24134d;
  --dark: #180e32;
  --nav: #180e32;
  --blue: #b372fa;
  --cyan: #d895ff;
  --violet: #c5227a;
  --pink: #fb7bc1;
  --mint: #56ebaf;
  --muted: #d8c8eb;
  --line: #ffffff24;
  --radius: 18px;
  --salman-panel: radial-gradient(ellipse at top left, #6942ad50, transparent 60%), linear-gradient(145deg, #392267, #21143f);
  --salman-action: linear-gradient(110deg, #783bcc, #ba1e77);
}
body:has(.xv-global-nav) {
  background: radial-gradient(ellipse at 10% 14%, #613ca06b, transparent 46%),
              radial-gradient(ellipse at 86% 25%, #a53d833d, transparent 46%),
              linear-gradient(145deg, #261253, #21143f 68%, #3b1947);
  background-attachment: fixed;
}
.salman-home .orb { display: none; }
.salman-home .hero { padding-block: clamp(22px, 4vw, 40px) 12px; }
.salman-home .hero h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.08; }
.salman-home .hero .grad {
  background-image: linear-gradient(90deg, #fff2ff, #db9dff, #ff95cd);
}
.salman-home .buy-card,
.salman-home .service-card,
.site-store main .product-card,
.site-store main .card {
  background: var(--salman-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px #160a3450;
}
.salman-home .buy-card { padding: clamp(16px, 3vw, 24px); }
.salman-home .buy-card::before { display: none; }
.salman-home .badge-ai, main .eyebrow {
  background: #aa65e827;
  color: #f6d5ff;
  border-color: #c698ec66;
}
.salman-home .stock-num {
  color: #61efb5;
  text-shadow: 0 0 18px #45d99c44;
  font-size: 2.35rem;
}
.salman-home .stock-label { color: #b3f7d8; }
.store-stock {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 6px;
  background: #173b38;
  color: #8df6c8;
  font-weight: 750;
  font-size: .875rem;
}
.salman-home .qty-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.salman-home .qty-btn,
.salman-home .custom-input {
  border: 1px solid #a580d167;
  background: #1d123a;
  border-radius: 10px;
  color: #f8edff;
}
.salman-home .qty-btn {
  min-height: 58px;
  padding: 6px;
  box-shadow: none;
}
.salman-home .qty-btn h5 { margin: 0; font-weight: 850; }
.salman-home .qty-btn small { color: #ead6ff; }
.salman-home .qty-btn.active, .salman-home .qty-btn:hover {
  background: var(--salman-action);
  border-color: #edafea;
}
.salman-home .custom-input { min-height: 44px; }
.salman-home .custom-input::placeholder { color: #d9bedf; }
.salman-home .btn-main,
.site-store main .btn,
.site-store main button,
.btn-search {
  background: var(--salman-action);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 18px #d52b8b42;
  transition: box-shadow .2s ease, filter .2s ease;
}
.salman-home .btn-main:not(:disabled):hover,
.site-store main button:not(:disabled):hover,
.site-store main .btn:hover {
  box-shadow: 0 5px 24px #ef61ba78;
  filter: brightness(1.12);
}
.site-store main .btn.ghost { background: #241740; }
.site-store main input[type="number"] { min-height: 44px; }
.site-store main .product-card { padding: 16px; }
.site-store main .product-image { border-radius: 12px; }
.site-support-float { background: var(--salman-action); box-shadow: 0 6px 22px #c7399270; }
.salman-home :focus-visible, .site-store :focus-visible {
  outline: 2px solid #f4b5f2;
  outline-offset: 2px;
}

/* Existing UPI flow */
.salman-home #redirectOverlay {
  background: radial-gradient(ellipse at center, #4a2368, #170d32 70%);
  color: #fff;
}
.salman-home #redirectOverlay .spin {
  border-color: #8467a8;
  border-top-color: #ee92d6;
  box-shadow: 0 0 24px #cc60bf60;
}
.salman-home #qrModal {
  padding: 12px !important;
  background: #120a27d8 !important;
  backdrop-filter: blur(6px);
}
.salman-home #qrModal #app {
  max-height: min(680px, calc(100dvh - 24px));
  background: #fbf6ff !important;
  border: 1px solid #ad70cf;
  box-shadow: 0 18px 60px #0008 !important;
}
.salman-home #qrModal .header-top,
.salman-home #qrModal .header-sub {
  background: linear-gradient(120deg, #3b215f, #5d2766) !important;
  color: #fff !important;
}
.salman-home #qrModal .title-text { color: #fff !important; }
.salman-home #qrModal .qr-code-img {
  background: #fff;
  outline: 1px solid #caa9e7;
  outline-offset: 4px;
  border-radius: 4px;
}
.salman-home #qrModal .btn-yes { background: var(--salman-action); color: #fff; }
.salman-home #qrModal .btn-no { border-color: #a87acf; }

@keyframes salman-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .salman-home .buy-card,
  .site-store main .product-card,
  .salman-home #qrModal #app { animation: salman-enter .35s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  .salman-home #redirectOverlay .spin, .site-loader__ring { animation: none; }
}
@media (max-width: 800px) {
  body:has(.xv-global-nav) .site-support-float {
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    font-size: 19px;
  }
}

/* Compact category pages and the order lookup portal */
.site-store .hero { padding-block: clamp(20px, 4vw, 36px) 16px; }
.site-store main .catalog-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  align-items: stretch;
  gap: 14px;
}
.site-store .catalog-grid .product-card { display: flex; flex-direction: column; }
.site-store .catalog-grid .price { margin-top: auto; padding-top: 12px; color: #f5caff; }
.site-store .catalog-grid .eyebrow { align-self: flex-start; }
.site-store .catalog-grid .empty { grid-column: 1 / -1; }
.site-order-lookup .tabs-shell,
.site-order-lookup .cardx,
.site-order-lookup .info-box {
  background: var(--salman-panel);
  border-color: var(--line);
  box-shadow: 0 10px 24px #160a343e;
}
.site-order-lookup .hero { padding-block: clamp(20px, 4vw, 36px) 18px; }
.site-order-lookup .hero .grad {
  background-image: linear-gradient(90deg, #fff2ff, #db9dff, #ff95cd);
}
.site-order-lookup .nav-tabs .nav-link.active,
.site-order-lookup .btn-search { background: var(--salman-action); color: #fff; }
.site-order-lookup .custom-input { border-color: #a580d167; background: #1d123a; }
.site-order-lookup .btn-search:hover { box-shadow: 0 5px 20px #ef61ba78; }
.salman-home .service-card i,
.salman-home .info-list i { color: #d895ff !important; }
