:root{--bg:#090a0d;--panel:#101217;--panel2:#151820;--line:#262a34;--text:#f7f8fb;--muted:#9298a6;--yellow:#f6d946;--yellow2:#ffe978;--danger:#ff6868;--green:#69e6a6;--radius:22px;--shadow:0 24px 80px rgba(0,0,0,.32)}*{box-sizing:border-box}[hidden]{display:none!important}html{background:var(--bg);scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 75% -10%,rgba(246,217,70,.09),transparent 25%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:40;background:rgba(9,10,13,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.06)}.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:18px}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;min-width:0}.brand img{width:42px;height:42px;border-radius:13px;object-fit:cover;border:1px solid rgba(246,217,70,.28);background:#12141a}.brand div{display:grid;line-height:1.05}.brand strong{font-size:14px;letter-spacing:.08em}.brand span{color:var(--muted);font-size:11px;margin-top:5px}.header-actions{display:flex;align-items:center;gap:8px}.icon-control,.cart-trigger,.currency-switch{height:42px;border:1px solid var(--line);background:#111319;color:var(--text);border-radius:13px}.icon-control{min-width:44px;padding:0 12px;font-weight:800;cursor:pointer}.currency-switch{display:flex;padding:4px;gap:2px}.currency-switch button{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:0 10px;font-size:12px;font-weight:800;cursor:pointer}.currency-switch button.active{background:var(--yellow);color:#16150c}.cart-trigger{padding:0 12px 0 14px;display:flex;align-items:center;gap:9px;font-weight:800;cursor:pointer}.cart-trigger b{min-width:23px;height:23px;border-radius:999px;background:var(--yellow);color:#14130b;display:grid;place-items:center;font-size:11px}.hero{min-height:460px;padding-block:76px 52px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);align-items:center;gap:48px}.announcement{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:#111319;border:1px solid var(--line);font-size:11px;color:#d9dce4;margin-bottom:26px}.announcement span{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 18px rgba(246,217,70,.8)}.eyebrow{margin:0 0 10px;color:var(--yellow);font-size:10px;font-weight:900;letter-spacing:.18em;text-transform:uppercase}.hero h1{font-size:clamp(48px,7vw,96px);line-height:.88;letter-spacing:-.06em;margin:0;max-width:770px}.hero-copy>p:not(.eyebrow){font-size:clamp(17px,2vw,22px);color:#aeb4c0;max-width:660px;line-height:1.6;margin:24px 0 0}.hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:28px}.hero-pills span{padding:10px 13px;border:1px solid var(--line);background:#101218;border-radius:999px;color:#c5c9d2;font-size:12px}.hero-mark{justify-self:end;width:min(360px,100%);aspect-ratio:1;border:1px solid rgba(246,217,70,.16);border-radius:38px;background:linear-gradient(145deg,rgba(246,217,70,.12),rgba(255,255,255,.015));display:grid;place-items:center;box-shadow:inset 0 0 80px rgba(246,217,70,.025),var(--shadow);position:relative;overflow:hidden}.hero-mark:before{content:"";position:absolute;width:160%;height:1px;background:rgba(246,217,70,.25);transform:rotate(-35deg)}.hero-mark span{font-size:clamp(80px,10vw,135px);font-weight:950;letter-spacing:-.09em;color:var(--yellow);z-index:1}.hero-mark small{position:absolute;bottom:36px;letter-spacing:.4em;font-weight:800;color:#9a9360}.market-block,.catalog-section,.payment-section,.social-section{padding-block:34px}.section-head,.catalog-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:18px}.section-head h2,.catalog-head h2,.social-panel h2{margin:0;font-size:clamp(24px,3vw,38px);letter-spacing:-.035em}.section-note,.result-count{color:var(--muted);font-size:12px}.collection-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:12px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity;scrollbar-width:thin}.collection-card{position:relative;height:134px;border-radius:20px;border:1px solid var(--line);background:#101218;padding:16px;overflow:hidden;cursor:pointer;scroll-snap-align:start;transition:.2s ease}.collection-card:not(:disabled):hover{transform:translateY(-3px);border-color:rgba(246,217,70,.48)}.collection-card.active{border-color:var(--yellow);box-shadow:0 0 0 1px rgba(246,217,70,.1) inset}.collection-card:disabled{cursor:default;opacity:.68}.collection-card img{width:100%;height:100%;object-fit:contain;filter:saturate(.95)}.collection-card:disabled img{filter:grayscale(.55) brightness(.7)}.collection-status{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-radius:999px;padding:6px 8px;background:rgba(9,10,13,.88);border:1px solid rgba(255,255,255,.08);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.collection-card.active .collection-status{background:rgba(9,10,13,.94);color:#fff;border-color:var(--yellow);box-shadow:0 0 0 1px rgba(246,217,70,.12) inset}.catalog-section{padding-top:64px}.tool-row{display:grid;grid-template-columns:minmax(240px,1fr) 220px auto;gap:10px;margin-bottom:14px}.search-box{height:50px;display:flex;align-items:center;gap:10px;padding:0 14px;border:1px solid var(--line);background:#101218;border-radius:15px}.search-box svg{width:18px;height:18px;fill:none;stroke:#7e8490;stroke-width:2}.search-box input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.search-box input::placeholder{color:#636977}.sort-select{height:50px;border:1px solid var(--line);background:#101218;color:var(--text);border-radius:15px;padding:0 12px;outline:none}.stock-only{height:50px;border:1px solid var(--line);background:#101218;border-radius:15px;padding:0 14px;display:flex;align-items:center;gap:9px;color:#c2c6cf;font-size:12px;white-space:nowrap}.stock-only input{accent-color:var(--yellow)}.category-chips{display:flex;gap:7px;overflow-x:auto;padding:4px 0 18px;scrollbar-width:none}.category-chips::-webkit-scrollbar{display:none}.chip{border:1px solid var(--line);background:#0f1116;color:#9da3af;border-radius:999px;padding:9px 13px;white-space:nowrap;font-size:11px;font-weight:800;cursor:pointer}.chip.active{background:#f3f4f7;color:#111217;border-color:#f3f4f7}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{min-width:0;background:linear-gradient(180deg,#12151b,#0e1015);border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:transform .2s ease,border-color .2s ease;box-shadow:0 10px 30px rgba(0,0,0,.1)}.product-card:hover{transform:translateY(-3px);border-color:#353a46}.product-media{position:relative;aspect-ratio:1.18;background:#151820;overflow:hidden}.product-media img{width:100%;height:100%;object-fit:contain;padding:16px;transition:transform .25s ease}.product-card:hover .product-media img{transform:scale(1.025)}.product-badges{position:absolute;inset:10px 10px auto 10px;display:flex;justify-content:space-between;gap:7px}.tiny-badge{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgba(8,9,12,.82);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08);border-radius:999px;padding:6px 8px;font-size:8px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}.tiny-badge.stock{color:#bff7d8}.tiny-badge.stock.out{color:#ffc1c1}.product-body{padding:14px}.product-category{font-size:9px;color:#858b98;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-title{margin-top:7px;font-size:14px;font-weight:850;line-height:1.28;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-desc{margin:9px 0 0;color:#7f8592;font-size:11px;line-height:1.45;min-height:32px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-bottom{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;align-items:stretch;margin-top:13px}.price-box{background:var(--yellow);color:#17150b;border-radius:12px;padding:9px 10px;min-width:0}.price-box strong{display:block;font-size:14px;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.price-box small{display:block;font-size:7px;font-weight:950;letter-spacing:.11em;margin-top:5px;opacity:.66}.add-btn{border:1px solid #343945;background:#f5f6f8;color:#101116;border-radius:12px;font-size:22px;line-height:1;font-weight:500;cursor:pointer}.add-btn:disabled{opacity:.35;cursor:not-allowed}.empty-state{padding:70px 20px;border:1px dashed #2d313b;border-radius:20px;text-align:center;color:var(--muted)}.empty-state strong{display:block;color:var(--text);font-size:20px;margin-bottom:14px}.empty-state button,.secondary-btn{border:1px solid var(--line);background:#151820;color:#fff;border-radius:12px;padding:11px 14px;cursor:pointer}.payment-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.payment-card{display:grid;grid-template-columns:52px 1fr auto;align-items:center;gap:13px;text-align:start;padding:15px;border:1px solid var(--line);background:#101218;color:var(--text);border-radius:18px;cursor:pointer}.payment-card:hover{border-color:#3a3f4a}.payment-card img{width:52px;height:52px;object-fit:cover;border-radius:14px;background:#171a21}.payment-card div{min-width:0}.payment-card span{display:block;color:var(--muted);font-size:10px}.payment-card strong{display:block;margin-top:4px;font-size:15px;letter-spacing:.02em}.payment-card b{color:var(--yellow);font-size:10px}.social-panel{border:1px solid var(--line);background:linear-gradient(135deg,#111319,#0e1014);border-radius:24px;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:25px}.social-panel p:not(.eyebrow){color:var(--muted);margin:9px 0 0}.social-links{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.social-links a{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#151820;color:#e9ebef;text-decoration:none;border-radius:14px;padding:9px 12px;font-size:12px;font-weight:800}.social-links img{width:25px;height:25px;object-fit:cover;border-radius:7px}.footer{border-top:1px solid rgba(255,255,255,.06);margin-top:70px}.footer-inner{min-height:120px;display:flex;align-items:center;justify-content:space-between;color:#777d89;font-size:11px}.footer-brand{display:flex;align-items:center;gap:10px}.footer-brand img{width:35px;height:35px;border-radius:10px}.footer-brand div{display:grid}.footer-brand strong{color:#d8dbe2;font-size:11px}.footer-brand span{font-size:9px;margin-top:3px}.language-gate,.cart-backdrop{position:fixed;inset:0;z-index:100;background:rgba(3,4,6,.82);backdrop-filter:blur(18px);display:grid;place-items:center;padding:20px}.language-gate[hidden],.cart-backdrop[hidden]{display:none!important}.language-card{width:min(660px,100%);background:#0e1015;border:1px solid #2b2f39;border-radius:28px;padding:30px;box-shadow:var(--shadow);text-align:center}.language-logo img{width:62px;height:62px;border-radius:18px;object-fit:cover}.language-card h1{margin:7px 0 8px;font-size:clamp(26px,5vw,40px)}.language-sub{color:var(--muted);margin:0 0 22px}.language-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.language-option{border:1px solid var(--line);background:#151820;color:#fff;border-radius:18px;padding:14px 10px;cursor:pointer}.language-option:hover{border-color:var(--yellow)}.language-option img{width:72px;height:72px;border-radius:18px;object-fit:cover;display:block;margin:0 auto 11px}.language-option span{display:block;font-weight:900}.language-option small{display:block;color:var(--yellow);margin-top:4px}.cart-backdrop{place-items:stretch end;padding:0}.cart-drawer{width:min(440px,100%);height:100%;background:#0c0e12;border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.35)}.cart-head{padding:22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.cart-head h2{margin:0;font-size:26px}.cart-head button{width:40px;height:40px;border:1px solid var(--line);background:#151820;color:#fff;border-radius:12px;font-size:25px;cursor:pointer}.cart-list{padding:14px 18px;overflow:auto;display:grid;gap:9px}.cart-item{display:grid;grid-template-columns:54px 1fr auto;gap:11px;align-items:center;padding:10px;border:1px solid var(--line);background:#111319;border-radius:15px}.cart-item img{width:54px;height:54px;object-fit:contain;border-radius:11px;background:#171a21}.cart-item strong{font-size:12px;display:block}.cart-item span{font-size:11px;color:var(--yellow);display:block;margin-top:4px}.cart-remove{border:0;background:transparent;color:#858b97;font-size:20px;cursor:pointer}.cart-empty{margin:auto;color:var(--muted);padding:30px}.cart-footer{margin-top:auto;border-top:1px solid var(--line);padding:18px;display:grid;gap:9px}.cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.cart-total span{color:var(--muted);font-size:12px}.cart-total strong{font-size:20px;color:var(--yellow)}.order-btn{border:0;background:var(--yellow);color:#16140b;border-radius:13px;padding:14px;font-weight:950;cursor:pointer}.order-btn:disabled{opacity:.4}.secondary-btn{width:100%}.toast{position:fixed;left:50%;bottom:28px;z-index:150;transform:translate(-50%,20px);background:#f5f6f8;color:#111217;border-radius:999px;padding:10px 14px;font-size:11px;font-weight:900;opacity:0;pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.no-scroll{overflow:hidden}html[dir="rtl"] .payment-card{text-align:right}html[dir="rtl"] .cart-drawer{border-left:0;border-right:1px solid var(--line)}html[dir="rtl"] .eyebrow{letter-spacing:.05em}html[dir="rtl"] .hero h1{letter-spacing:-.03em}@media(max-width:980px){.hero{grid-template-columns:1fr;min-height:auto;padding-top:54px}.hero-mark{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tool-row{grid-template-columns:1fr 200px}.stock-only{grid-column:1/-1;width:max-content}.payment-grid{grid-template-columns:1fr}.social-panel{align-items:flex-start;flex-direction:column}.social-links{justify-content:flex-start}}@media(max-width:720px){.shell{width:min(100% - 22px,1180px)}.header-inner{height:66px}.brand div{display:none}.currency-switch{height:38px}.currency-switch button{padding:0 8px}.cart-trigger{height:38px;padding:0 9px}.cart-trigger span{display:none}.icon-control{height:38px}.hero{padding-block:42px 28px}.announcement{margin-bottom:20px}.hero h1{font-size:clamp(45px,15vw,68px)}.hero-copy>p:not(.eyebrow){font-size:15px}.market-block,.catalog-section,.payment-section,.social-section{padding-block:26px}.section-head,.catalog-head{align-items:flex-start}.section-note{display:none}.collection-rail{grid-auto-columns:126px}.collection-card{height:112px;border-radius:17px}.catalog-section{padding-top:42px}.tool-row{grid-template-columns:1fr}.sort-select,.search-box{height:47px}.stock-only{height:44px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-card{border-radius:16px}.product-media img{padding:10px}.product-body{padding:10px}.product-title{font-size:12px;min-height:31px}.product-desc{display:none}.product-bottom{grid-template-columns:minmax(0,1fr) 39px;gap:6px;margin-top:10px}.price-box{padding:8px;border-radius:10px}.price-box strong{font-size:11px}.add-btn{font-size:19px;border-radius:10px}.payment-card{grid-template-columns:46px 1fr auto;padding:12px}.payment-card img{width:46px;height:46px}.social-panel{padding:20px}.social-links{display:grid;grid-template-columns:1fr 1fr;width:100%}.social-links a:first-child{grid-column:1/-1}.footer-inner{min-height:100px}.language-card{padding:22px 15px}.language-options{grid-template-columns:1fr}.language-option{display:grid;grid-template-columns:54px 1fr auto;align-items:center;text-align:start;gap:12px;padding:10px 12px}.language-option img{width:54px;height:54px;margin:0}.language-option small{margin:0}.language-option span{text-align:start}.language-logo img{width:54px;height:54px}.cart-drawer{width:100%}}@media(max-width:370px){.product-grid{grid-template-columns:1fr 1fr}.price-box strong{font-size:10px}.header-actions{gap:5px}.currency-switch button{font-size:10px;padding:0 6px}.icon-control{min-width:38px;padding:0 8px}}
/* ========================================================
   PRODUCT DETAILS MODAL (CYBER GLASS LUXURY & MOBILE OPTIMIZED)
   ======================================================== */
.product-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(3, 4, 7, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeInModal .2s ease forwards;
}
.product-backdrop[hidden] { display: none !important; }

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.product-detail {
  width: min(840px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  background: linear-gradient(180deg, #10131d, #090b10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.product-detail-head {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(16, 19, 29, 0.85);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.product-head-info { min-width: 0; }
.product-head-info .eyebrow { margin: 0 0 4px; font-size: 9px; }
.product-detail-head h2 {
  margin: 0;
  font-size: clamp(18px, 2.8vw, 24px);
  font-weight: 900;
  letter-spacing: -.02em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-detail-head button {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151926;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all .15s ease;
}
.product-detail-head button:hover {
  background: var(--yellow);
  color: #000;
}

.product-detail-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}

.product-detail-media {
  background: radial-gradient(circle at 50% 50%, rgba(246, 217, 70, 0.08), transparent 70%), #0c0e15;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  padding: 24px;
  min-height: 300px;
}
.product-detail-media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.6));
  transition: transform .25s ease;
}

.product-detail-info {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  background: #10131d;
}

.product-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.product-detail-badges .tiny-badge {
  font-size: 9px;
  padding: 4px 9px;
  border-radius: 8px;
}

.product-detail-category {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-detail-description-wrap {
  flex: 1;
  min-height: 60px;
}
.product-detail-description {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
}

.product-detail-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.product-detail-bottom .price-box {
  background: linear-gradient(135deg, #181d2c, #10131d);
  border: 1px solid rgba(246, 217, 70, 0.35);
  border-radius: 14px;
  padding: 8px 14px;
  min-width: 130px;
  text-align: center;
}
.product-detail-bottom .price-box strong {
  font-family: var(--font-mono, monospace);
  font-size: 16px;
  font-weight: 900;
  color: var(--yellow);
  display: block;
}
.product-detail-bottom .price-box small {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}

.product-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.product-detail-add {
  height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 0;
  background: var(--yellow);
  color: #0d0f14;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 18px rgba(246, 217, 70, 0.3);
  transition: all .15s ease;
  white-space: nowrap;
  flex: 1;
  max-width: 220px;
}
.product-detail-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(246, 217, 70, 0.45);
}
.product-detail-add:disabled {
  opacity: .35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.product-share-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #151926;
  color: #fff;
  font-size: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: all .15s ease;
}
.product-share-btn:hover {
  background: var(--yellow);
  color: #000;
  border-color: var(--yellow);
}

html[dir="rtl"] .product-detail-info { text-align: right; }

/* MOBILE BOTTOM SHEET FOR PRODUCT DETAIL */
@media (max-width: 768px) {
  .product-backdrop {
    padding: 0;
    align-items: flex-end;
  }
  .product-detail {
    width: 100%;
    max-height: 88vh;
    border-radius: 26px 26px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 0;
    animation: slideUpModal .25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .product-detail-head {
    padding: 14px 18px;
  }
  .product-detail-content {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
  }
  .product-detail-media {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 200px;
    height: 200px;
    padding: 14px;
  }
  .product-detail-media img {
    max-height: 170px;
  }
  .product-detail-info {
    padding: 16px 18px 24px;
    gap: 10px;
  }
  .product-detail-description {
    font-size: 12.5px;
    margin: 4px 0 10px;
  }
  .product-detail-bottom {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding-top: 12px;
  }
  .product-detail-bottom .price-box {
    min-width: 95px;
    padding: 6px 10px;
  }
  .product-detail-bottom .price-box strong {
    font-size: 14px;
  }
  .product-actions-bar {
    display: flex;
    gap: 6px;
    width: 100%;
  }
  .product-detail-add {
    max-width: none;
    height: 44px;
    font-size: 13px;
  }
  .product-share-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* Customer Name Prompt Modal */
.name-modal-backdrop{position:fixed;inset:0;z-index:120;background:rgba(3,4,6,.84);backdrop-filter:blur(18px);display:grid;place-items:center;padding:20px}
.name-modal-backdrop[hidden]{display:none!important}
.name-modal-card{width:min(480px,100%);background:#0e1015;border:1px solid #2b2f39;border-radius:26px;padding:28px;box-shadow:var(--shadow);text-align:center}
.name-modal-logo img{width:56px;height:56px;border-radius:16px;object-fit:cover;display:block;margin:0 auto 10px}
.name-modal-card h2{margin:0 0 8px;font-size:24px;letter-spacing:-.03em}
.name-input{width:100%;height:50px;border:1px solid var(--line);background:#141720;color:#fff;border-radius:14px;padding:0 16px;font-size:15px;text-align:center;font-weight:700;outline:none}
.name-input:focus{border-color:var(--yellow);box-shadow:0 0 0 2px rgba(246,217,70,.15)}

/* Purchased History Drawer */
.history-backdrop{position:fixed;inset:0;z-index:100;background:rgba(3,4,6,.82);backdrop-filter:blur(18px);display:grid;place-items:stretch end;padding:0}
.history-backdrop[hidden]{display:none!important}
.history-drawer{width:min(460px,100%);height:100%;background:#0c0e12;border-left:1px solid var(--line);display:flex;flex-direction:column;box-shadow:-20px 0 60px rgba(0,0,0,.35)}
html[dir="rtl"] .history-drawer{border-left:0;border-right:1px solid var(--line)}
.history-head{padding:22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}
.history-head h2{margin:0;font-size:24px}
.history-head button{width:40px;height:40px;border:1px solid var(--line);background:#151820;color:#fff;border-radius:12px;font-size:25px;cursor:pointer}
.history-user-bar{padding:14px 20px;background:#11141b;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}
.history-lookup-box{padding:14px 20px;border-bottom:1px solid var(--line);background:#0e1015}
.search-box-mini{height:44px;border:1px solid var(--line);background:#141720;color:#fff;border-radius:12px;padding:0 12px;outline:none;font-size:12px}
.search-box-mini:focus{border-color:var(--yellow)}
.history-list{padding:14px 18px;overflow-y:auto;display:grid;gap:10px}
.history-empty{margin:auto;color:var(--muted);padding:30px;text-align:center}
.history-item{border:1px solid var(--line);background:#10131a;border-radius:16px;padding:14px;display:grid;gap:9px}
.history-item-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.history-item strong{font-size:13px;display:block;color:var(--text)}
.history-item span.title{font-size:12px;color:#cdd2de;display:block}
.history-item span.price{font-size:12px;color:var(--yellow);font-weight:800}
.history-item-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:2px;gap:8px}
.vault-link-btn{border:1px solid rgba(246,217,70,.35);background:rgba(246,217,70,.12);color:var(--yellow);border-radius:10px;padding:8px 12px;text-decoration:none;font-size:11px;font-weight:900;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
.vault-link-btn:hover{background:var(--yellow);color:#14130b}

/* Collection Rail & Cards High-Contrast Styling */
.collection-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(160px,1fr);gap:14px;overflow-x:auto;padding:4px 4px 14px;scroll-snap-type:x proximity;scrollbar-width:thin}
.collection-card{position:relative;height:142px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(180deg,#141720,#0d0f15);padding:14px 12px 10px;overflow:hidden;cursor:pointer;scroll-snap-align:start;transition:transform .2s ease,border-color .2s ease;display:flex;flex-direction:column;align-items:center;justify-content:space-between}
.collection-card:not(:disabled):hover{transform:translateY(-3px);border-color:rgba(246,217,70,.6)}
.collection-card.active{border-color:var(--yellow);box-shadow:0 0 0 1px var(--yellow) inset,0 8px 24px rgba(246,217,70,.18)}
.collection-card:disabled{cursor:default;opacity:.65}
.collection-card img{width:100%;height:72px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.4))}
.collection-card:disabled img{filter:grayscale(.6) brightness(.7)}
.collection-status{position:relative;width:100%;border-radius:10px;padding:6px 8px;background:rgba(10,12,17,.95);border:1px solid rgba(255,255,255,.16);color:#ffffff!important;font-size:11px;font-weight:800;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-shadow:0 4px 12px rgba(0,0,0,.6);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;gap:6px;z-index:2;line-height:1.2}
.collection-card.active .collection-status{background:#151822;color:var(--yellow)!important;border-color:var(--yellow);box-shadow:0 0 0 1px rgba(246,217,70,.2) inset}
.col-name{color:#ffffff;font-weight:800;font-size:11px;overflow:hidden;text-overflow:ellipsis;max-width:110px}
.collection-card.active .col-name{color:var(--yellow)}
.col-count{color:var(--yellow);font-size:10px;font-weight:900;background:rgba(246,217,70,.15);border:1px solid rgba(246,217,70,.3);border-radius:999px;padding:1px 6px}
.col-coming{color:#a5b4fc;font-size:10px;font-weight:800;background:rgba(165,180,252,.12);border-radius:999px;padding:1px 6px}
@media(max-width:720px){
  .collection-rail{grid-auto-columns:135px;gap:10px}
  .collection-card{height:124px;padding:10px 8px 8px;border-radius:16px}
  .collection-card img{height:60px}
  .collection-status{font-size:10px;padding:5px 6px}
  .col-name{font-size:10px;max-width:85px}
}

/* ========================================================
   DIGITAL DELIVERY VAULT STYLES (2026 CYBER LUXURY THEME)
   ======================================================== */
.vault-page {
  background-color: #07080b !important;
  background: radial-gradient(circle at 50% 0%, rgba(246, 217, 70, 0.09) 0%, transparent 40%),
              radial-gradient(circle at 85% 20%, rgba(99, 102, 241, 0.07) 0%, transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 45%),
              #07080b !important;
  color: #f8fafc !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.vault-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 8, 11, 0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.vault-nav .nav-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand-info { display: grid; line-height: 1.15; }
.brand-title { font-size: 14px; letter-spacing: .05em; font-weight: 900; }
.brand-sub { color: #f6d946; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-btn {
  height: 40px;
  padding: 0 16px;
  border: 1px solid #1f2533;
  background: #11141d;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
}
.nav-btn:hover { background: #1a202c; border-color: rgba(246, 217, 70, 0.4); color: #f6d946; }
.vault-content { padding: 36px 0 60px; flex: 1; }
.vault-card {
  background: linear-gradient(180deg, rgba(16, 20, 29, 0.95), rgba(10, 12, 18, 0.98));
  border: 1px solid #1f2533;
  border-radius: 28px;
  padding: clamp(22px, 4.5vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}
.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f6d946;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-name {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: #ffffff;
  line-height: 1.15;
  margin: 0;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-badge .beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.status-badge.pending {
  background: rgba(246, 217, 70, .12);
  border: 1px solid rgba(246, 217, 70, .4);
  color: #f6d946;
}
.status-badge.pending .beacon { background: #f6d946; box-shadow: 0 0 10px #f6d946; }
.status-badge.delivered {
  background: rgba(99, 102, 241, .14);
  border: 1px solid rgba(99, 102, 241, .4);
  color: #a5b4fc;
}
.status-badge.delivered .beacon { background: #6366f1; box-shadow: 0 0 10px #6366f1; }
.status-badge.viewed {
  background: rgba(16, 185, 129, .14);
  border: 1px solid rgba(16, 185, 129, .4);
  color: #34d399;
}
.status-badge.viewed .beacon { background: #10b981; box-shadow: 0 0 10px #10b981; }
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 26px;
}
.meta-box {
  border: 1px solid #1f2533;
  background: rgba(13, 16, 24, 0.85);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .2s ease;
}
.meta-box:hover { border-color: rgba(246, 217, 70, 0.3); }
.meta-label {
  display: block;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.meta-val {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  color: #ffffff;
  font-weight: 800;
  word-break: break-word;
}
.guide-card {
  border: 1px solid rgba(246, 217, 70, .28);
  background: rgba(246, 217, 70, .04);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 26px;
  border-left: 4px solid #f6d946;
}
.guide-title {
  margin: 0 0 8px;
  font-size: 13px;
  color: #f6d946;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.guide-text {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.credentials-vault {
  position: relative;
  border: 1px solid rgba(246, 217, 70, 0.28);
  background: #090b11;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 26px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8), 0 10px 30px rgba(0,0,0,0.4);
}
.vault-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.vault-section-title {
  font-size: 11px;
  font-weight: 900;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.key-screen {
  background: #0f131c;
  border: 1px solid rgba(246, 217, 70, 0.45);
  border-radius: 12px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 64px;
  transition: all .25s ease;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.key-screen:hover {
  border-color: rgba(246, 217, 70, 0.8);
  box-shadow: 0 0 25px rgba(246, 217, 70, 0.15);
}
.key-code {
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
  font-size: clamp(15px, 3.4vw, 19px);
  font-weight: 900;
  color: #f6d946;
  letter-spacing: .08em;
  word-break: break-all;
  user-select: all;
}
.key-code.masked {
  letter-spacing: .35em;
  color: #64748b;
  user-select: none;
  filter: blur(1px);
}
.btn-reveal-main {
  border: 0;
  background: linear-gradient(135deg, #f6d946, #ffe566);
  color: #0d0f14;
  font-weight: 950;
  font-size: 13px;
  padding: 12px 26px;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(246, 217, 70, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn-reveal-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(246, 217, 70, 0.5);
}
.btn-reveal-main:active { transform: translateY(0); }
.btn-vault-tool {
  border: 1px solid #1f2533;
  background: #161b26;
  color: #ffffff;
  font-weight: 800;
  font-size: 12px;
  padding: 0 16px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-vault-tool:hover { background: #202738; border-color: rgba(246, 217, 70, 0.4); color: #f6d946; }
.cred-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 12px;
}
.cred-row:last-child { margin-bottom: 0; }
.cred-input {
  flex: 1;
  border: 1px solid #1f2533;
  background: #0f131c;
  color: #ffffff;
  border-radius: 10px;
  padding: 12px 16px;
  font-family: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  word-break: break-all;
  user-select: all;
  transition: border-color .2s ease;
}
.cred-input:focus { border-color: #f6d946; }
.vault-toolbar {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.viewed-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 10px;
}
.vault-footbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn-wa-support {
  border: 1px solid rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.12);
  color: #6ee7b7;
  border-radius: 12px;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s ease;
}
.btn-wa-support:hover { background: #25D366; color: #000; box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3); }
.toast-pill {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 250;
  transform: translate(-50%, 20px);
  background: #f8fafc;
  color: #0f172a;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 14px 40px rgba(0,0,0,0.65);
}
.toast-pill.show { opacity: 1; transform: translate(-50%, 0); }
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] .vault-section-title { justify-content: flex-start; }
@media(max-width: 640px) {
  .vault-nav .nav-inner { height: 62px; }
  .card-header { flex-direction: column; align-items: stretch; }
  .cred-row { flex-wrap: wrap; }
  .cred-input { width: 100%; }
  .vault-toolbar { flex-direction: column; align-items: stretch; }
  .vault-footbar { flex-direction: column; }
  .btn-wa-support, .nav-btn { width: 100%; justify-content: center; }
}

/* Promo Code & Discount Styles */
.cart-promo-box {
  margin-bottom: 8px;
}
.promo-form {
  display: flex;
  gap: 8px;
}
.promo-input {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  background: #12151b;
  color: var(--text);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  outline: none;
  transition: border-color .2s ease;
}
.promo-input:focus {
  border-color: var(--yellow);
}
.promo-apply-btn {
  height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(246, 217, 70, 0.4);
  background: rgba(246, 217, 70, 0.12);
  color: var(--yellow);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s ease;
}
.promo-apply-btn:hover {
  background: var(--yellow);
  color: #14130b;
}
.promo-applied-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 12px;
}
.promo-tag-text {
  font-size: 12px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: .04em;
  font-family: monospace;
}
.promo-remove-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}
.promo-remove-btn:hover {
  background: #ff4d4d;
  color: #fff;
}
.cart-summary-rows {
  display: grid;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 8px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.cart-summary-row.discount-row {
  color: #34d399;
  font-weight: 700;
}

.product-share-btn {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(246, 217, 70, 0.4);
  background: rgba(246, 217, 70, 0.08);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s ease;
  white-space: nowrap;
}
.product-share-btn:hover {
  background: var(--yellow);
  color: #14130b;
  box-shadow: 0 4px 16px rgba(246, 217, 70, 0.35);
  transform: translateY(-1px);
}
.product-detail-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-btn {
  background: rgba(246, 217, 70, 0.12) !important;
  border-color: rgba(246, 217, 70, 0.4) !important;
  color: var(--yellow) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 0 10px !important;
  width: auto !important;
}
.app-btn:hover {
  background: var(--yellow) !important;
  color: #14130b !important;
}
.app-btn-text {
  font-size: 11px;
  font-weight: 800;
}

.store-pwa-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(460px, calc(100% - 24px));
  z-index: 95;
  background: linear-gradient(135deg, #151926, #0e111a);
  border: 1px solid rgba(246, 217, 70, 0.45);
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 12px 36px rgba(0,0,0,.75);
}
.store-pwa-bar[hidden] { display: none !important; }

.pwa-install-mini-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 0;
  background: var(--yellow);
  color: #0c0e12;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.pwa-x-mini {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
}




