:root{
    --paper:#f7f7f5; --paper-2:#eeeeeb; --white:#ffffff;
    --black:#1a1a1a; --ink-soft:#6b6a66;
    --neon:#c8e64a; --neon-dark:#a9c93a;
    --line:rgba(17,17,17,0.10);
    --shadow-sm:0 2px 8px rgba(17,17,17,0.06);
    --shadow-md:0 10px 28px rgba(17,17,17,0.10);
  }

  /* ---- Girls store theme -------------------------------------------------
     Toggled by adding/removing the "theme-girls" class on <body> — see
     applyGenderTheme() in script.js. Because almost every color in this
     file is written as var(--paper)/var(--neon)/etc rather than a hardcoled
     hex, overriding just these variables re-skins the ENTIRE site (nav,
     buttons, cards, chips, badges…) to light pink automatically, without
     needing to touch every individual rule. --black/--ink-soft are left
     alone on purpose so body text stays high-contrast and readable against
     the new pink backgrounds. ---- */
  body.theme-girls{
    --paper:#fdf1f6; --paper-2:#fbe0ec; --white:#fffbfd;
    --neon:#f7a8c8; --neon-dark:#ee82ae;
    --line:rgba(190,60,110,0.14);
  }
  /* A soft cross-fade instead of an instant color snap when the theme
     switches — kept to a short, cheap list of containers rather than a
     blanket "*" selector so it doesn't fight existing hover/active
     transitions elsewhere. */
  body, nav, .hero, .sec-paper, .sec-black, footer,
  .product-card, .feature-card, .why-item, .label-panel, .about-photo,
  .tab, .btn-neon, .btn-black, .kicker, .eyebrow-mono{
    transition: background-color .35s ease, color .35s ease, border-color .35s ease;
  }

  *{box-sizing:border-box; margin:0; padding:0; -webkit-tap-highlight-color:transparent;}
  button, a, .btn, .icon-btn, .tab, .size-chip, input, select{-webkit-tap-highlight-color:transparent; -webkit-touch-callout:none;}
  button:focus, a:focus{outline:none;}
  html{scroll-behavior:smooth; max-width:100%; overflow-x:hidden;}
  body{background:var(--paper); color:var(--black); font-family:'Inter',sans-serif; line-height:1.5; overflow-x:hidden; max-width:100%; width:100%;}
  .display{font-family:'Poppins',sans-serif; font-weight:700; text-transform:none; letter-spacing:-0.01em;}
  .mono{font-family:'Inter',sans-serif;}
  :focus-visible{outline:3px solid var(--black); outline-offset:2px;}
  .wrap{max-width:1220px; margin:0 auto; padding:0 32px;}
  h2.display{font-size:clamp(1.9rem,3.6vw,2.8rem); line-height:1.1; margin-bottom:12px;}
  p{color:var(--ink-soft);}
  a{color:inherit;}
  button{font-family:inherit;}
  .btn{font-weight:600; font-size:0.85rem; letter-spacing:0.01em; padding:14px 26px; border-radius:10px; border:1px solid var(--black); cursor:pointer; transition:background .15s, color .15s, transform .1s, box-shadow .15s; display:inline-flex; align-items:center; justify-content:center; gap:8px; white-space:nowrap;}
  .btn:active{transform:scale(0.97);}
  .btn-neon{background:var(--neon); color:var(--black); border-color:var(--neon);}
  .btn-neon:hover{background:var(--neon-dark); border-color:var(--neon-dark);}
  .btn-black{background:var(--black); color:var(--white); border-color:var(--black);}
  .btn-black:hover{background:#2e2e2e;}
  .btn-outline{background:transparent; color:var(--black); border-color:var(--black);}
  .btn-outline:hover{background:var(--black); color:var(--white);}
  .btn-sm{padding:10px 16px; font-size:0.76rem;}
  .btn-full{width:100%;}
  .btn:disabled{opacity:0.4; cursor:not-allowed;}

  @media (prefers-reduced-motion: reduce){ *{animation:none !important; transition:none !important; scroll-behavior:auto !important;} }

  .reveal{opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease;}
  .reveal.in-view{opacity:1; transform:translateY(0);}

  nav{position:sticky; top:0; z-index:60; background:var(--white); border-bottom:1px solid var(--line);}
  nav .navbar{display:flex; align-items:center; justify-content:space-between; height:76px; gap:18px;}
  .wordmark{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem; color:var(--black); text-decoration:none; flex-shrink:0; letter-spacing:-0.01em;}
  .footer-wordmark{color:var(--black); margin-bottom:14px;}
  .hero-lang-center{font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(2.2rem,6vw,3.6rem); color:var(--black); text-align:center; line-height:1.05; transition:opacity .3s ease; margin-bottom:22px;}
  .hero-lang-center.lang-flip{animation:lang-flip .5s ease;}
  .nav-links{display:flex; gap:28px;}
  .nav-links a{position:relative; font-family:'Inter',sans-serif; font-size:0.86rem; font-weight:500; color:var(--black); text-decoration:none; opacity:0.75; transition:opacity .15s; padding-bottom:3px;}
  .nav-links a::after{content:''; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--black); transition:width .2s ease;}
  .nav-links a:hover{opacity:1;}
  .nav-links a:hover::after{width:100%;}
  .nav-actions{display:flex; align-items:center; gap:4px;}

  /* ---- Boys / Girls store toggle ------------------------------------
     Moved OUT of the top nav (it crowded the login button) and into the
     hero — the empty space above the big "TEENSTORE" wordmark is exactly
     where it sits now (.gender-toggle-hero below). A slim copy also lives
     in the mobile drawer as a secondary way to switch without scrolling
     back to the top. Two buttons inside one rounded track; whichever is
     active gets the dark "selected" treatment. Calls setGender('boys'|
     'girls') in script.js on tap — that function handles persistence, the
     loading overlay, the theme swap and re-filtering the grid. ---- */
  .gender-toggle{
    display:inline-flex; align-items:center; background:var(--paper-2);
    border:1px solid var(--line); border-radius:30px; padding:3px; gap:2px;
    flex-shrink:0;
  }
  .gender-toggle .gender-opt{
    font-family:'Inter',sans-serif; font-size:0.7rem; font-weight:700;
    text-transform:uppercase; letter-spacing:0.03em;
    padding:7px 14px; border-radius:26px; border:none; background:transparent;
    color:var(--ink-soft); cursor:pointer; transition:background .2s ease, color .2s ease;
    white-space:nowrap;
  }
  .gender-toggle .gender-opt.active{ background:var(--black); color:var(--neon); }
  .gender-toggle.gender-toggle-sm .gender-opt{ padding:6px 12px; font-size:0.66rem; }
  /* Standalone version used in the mobile drawer, full width, larger tap targets */
  .gender-toggle.gender-toggle-drawer{ width:100%; padding:4px; margin-bottom:4px; }
  .gender-toggle.gender-toggle-drawer .gender-opt{ flex:1; padding:12px 10px; font-size:0.74rem; }
  /* The hero placement — bigger, centered, sits right where the empty gap
     above the TEENSTORE wordmark used to be. Fades/scales in with the rest
     of the hero art (shares the .reveal-safe entrance below). */
  .gender-toggle-hero{
    padding:8px; margin-bottom:52px; box-shadow:var(--shadow-md);
    animation:gender-hero-in .5s ease backwards; animation-delay:.1s;
  }
  .gender-toggle-hero .gender-opt{ padding:22px 58px; font-size:1.4rem; font-weight:800; border-radius:30px; }
  @keyframes gender-hero-in{ from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:translateY(0);} }

  .icon-btn{position:relative; background:none; border:none; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:50%; cursor:pointer; color:var(--black); transition:background .15s;}
  .icon-btn:hover{background:var(--paper-2);}
  .icon-btn svg{width:19px; height:19px;}
  .badge{position:absolute; top:0; right:0; background:var(--black); color:var(--neon); font-family:'Inter',sans-serif; font-size:0.6rem; font-weight:700; min-width:15px; height:15px; border-radius:50%; display:flex; align-items:center; justify-content:center; padding:0 3px;}
  .badge.hidden{display:none;}
  .search-wrap{position:relative; display:flex; align-items:center;}
  .search-input{width:0; opacity:0; padding:0; border:1px solid var(--black); background:var(--white); color:var(--black); border-radius:8px; font-family:'Inter',sans-serif; font-size:0.82rem; transition:width .25s ease, opacity .2s ease, padding .25s; position:absolute; right:40px; height:34px;}
  .search-input.open{width:190px; opacity:1; padding:0 12px;}
  .hamburger{display:none; background:none; border:none; width:36px; height:36px; position:relative; cursor:pointer;}
  .hamburger span{position:absolute; left:9px; right:9px; height:2px; background:var(--black); transition:transform .25s, opacity .2s;}
  .hamburger span:nth-child(1){top:13px;} .hamburger span:nth-child(2){top:18px;} .hamburger span:nth-child(3){top:23px;}
  .hamburger.active span:nth-child(1){transform:translateY(5px) rotate(45deg);}
  .hamburger.active span:nth-child(2){opacity:0;}
  .hamburger.active span:nth-child(3){transform:translateY(-5px) rotate(-45deg);}

  .mobile-drawer{position:fixed; top:0; right:0; height:100%; width:min(80vw,320px); background:var(--white); z-index:90; box-shadow:-10px 0 30px rgba(0,0,0,0.12); transform:translateX(100%); transition:transform .3s ease; padding:88px 30px 30px; display:flex; flex-direction:column; gap:26px; overflow-y:auto; border-left:1px solid var(--line);}
  .mobile-drawer.open{transform:translateX(0);}
  .mobile-drawer a{font-family:'Poppins',sans-serif; font-weight:600; font-size:1.25rem; color:var(--black); text-decoration:none;}

  .mobile-drawer button{background:none; border:none; font-family:'Poppins',sans-serif; font-weight:600; font-size:1.25rem; color:var(--black); text-decoration:none; text-align:left; cursor:pointer; padding:0; display:flex; align-items:center; gap:12px;}
  .scrim{position:fixed; inset:0; background:rgba(17,17,17,0.5); z-index:80; opacity:0; pointer-events:none; transition:opacity .25s;}
  .scrim.open{opacity:1; pointer-events:auto;}


  .user-avatar, .user-avatar-sm{
    display:inline-flex; align-items:center; justify-content:center;
    border-radius:50%; object-fit:cover; flex-shrink:0;
    background:var(--neon); color:var(--black);
    font-family:'Inter',sans-serif; font-weight:700; text-transform:uppercase;
    border:1px solid var(--black); vertical-align:middle;
  }
  .user-avatar{width:26px; height:26px; font-size:0.72rem; margin-right:2px;}
  .user-avatar-sm{width:34px; height:34px; font-size:0.85rem; border-color:var(--black);}
  img.user-avatar, img.user-avatar-sm{background:var(--paper-2);}
  .nav-avatar-label{vertical-align:middle;}
  .drawer-account-info{display:flex; align-items:center; gap:12px; padding-bottom:20px; margin-bottom:-4px; border-bottom:1px solid var(--line);}
  .drawer-account-text{display:flex; flex-direction:column; gap:2px; min-width:0;}
  .drawer-account-name{font-family:'Poppins',sans-serif; font-weight:600; font-size:0.95rem; color:var(--black); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
  .drawer-account-email{font-family:'Inter',sans-serif; font-size:0.72rem; color:var(--ink-soft); overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}

  .hero{background:var(--paper); position:relative; overflow:hidden; border-bottom:1px solid var(--line);}
  .hero::before{content:''; position:absolute; top:-20%; right:-10%; width:52%; padding-bottom:52%; background:radial-gradient(circle, rgba(200,230,74,0.35) 0%, transparent 70%); border-radius:50%; filter:blur(10px); animation:hero-drift 9s ease-in-out infinite; pointer-events:none; will-change:transform; transform:translateZ(0);}
  body.theme-girls .hero::before{ background:radial-gradient(circle, rgba(247,168,200,0.45) 0%, transparent 70%); }
  @keyframes hero-drift{ 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-18px,24px) scale(1.06);} }
  .hero-grid{display:grid; grid-template-columns:1.05fr 0.95fr; align-items:center; gap:30px; padding:70px 0 76px;}
  .eyebrow-mono{font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; background:var(--black); color:var(--neon); display:inline-block; padding:6px 12px; border-radius:20px; margin-bottom:22px;}
  .hero h1{font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(2.6rem,6.4vw,4.6rem); line-height:1.03; letter-spacing:-0.01em;}
  .hero-sub{font-size:1.05rem; max-width:440px; margin:24px 0 32px; color:var(--ink-soft);}
  .hero-cta-row{display:flex; gap:14px; flex-wrap:wrap;}

  .hero-art{position:relative; display:flex; flex-direction:column; justify-content:center; align-items:center; min-height:400px;}
  .hero-media{position:relative; width:100%; max-width:400px; height:380px; border-radius:14px; overflow:hidden;}
  .hero-media img{width:100%; height:100%; object-fit:contain; padding:10px;}
  .hero-media-sm{max-width:220px; height:200px;}
  .sticker{position:absolute; font-family:'Poppins',sans-serif; font-weight:600; background:var(--neon); color:var(--black); border:1px solid var(--black); border-radius:50%; display:flex; align-items:center; justify-content:center; text-align:center; box-shadow:var(--shadow-md); z-index:3;}
  #plainLangText{display:inline-block;}
  @keyframes lang-flip{ 0%{transform:rotateX(0deg); opacity:1;} 45%{transform:rotateX(90deg); opacity:0;} 55%{transform:rotateX(-90deg); opacity:0;} 100%{transform:rotateX(0deg); opacity:1;} }
  .sticker.s2{width:74px; height:74px; font-size:0.62rem; bottom:2%; left:-2%; background:var(--white); animation:float-2 4.2s ease-in-out infinite;}
  @keyframes float-2{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(8px);} }
  @keyframes cd-flip{ 0%{transform:translateY(-4px); opacity:0.4;} 100%{transform:translateY(0); opacity:1;} }

  .img-fallback{display:none; position:absolute; inset:0; flex-direction:column; align-items:center; justify-content:center; gap:8px; background:var(--paper-2); border:1px dashed var(--line); border-radius:10px; color:var(--ink-soft); text-align:center; padding:10px;}
  .img-fallback svg{width:26px; height:26px; opacity:0.5;}
  .img-fallback span{font-family:'Inter',sans-serif; font-size:0.64rem; letter-spacing:0.02em; opacity:0.7; word-break:break-all;}
  .no-img .img-fallback{display:flex;}
  .hero-media .img-fallback svg{width:34px; height:34px;}
  .hero-media .img-fallback span{font-size:0.7rem;}

  section{padding:84px 0;}
  .sec-paper{background:var(--paper);}
  .sec-black{background:var(--paper); color:var(--black); border-bottom:1px solid var(--line);}
  .sec-black p{color:var(--ink-soft);}
  .section-head{max-width:600px; margin-bottom:36px;}
  .kicker{font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--black); background:var(--neon); display:inline-block; padding:5px 12px; border-radius:20px; margin-bottom:14px;}
  .sec-black .kicker{color:var(--black);}

  .toolbar{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin-bottom:32px; border-bottom:1px solid var(--line); padding-bottom:18px;}
  .tab-row{display:flex; gap:10px; flex-wrap:wrap;}
  .tab{font-family:'Inter',sans-serif; font-size:0.8rem; font-weight:600; background:var(--white); border:1px solid var(--line); border-radius:20px; cursor:pointer; color:var(--black); padding:8px 16px; transition:background .15s,color .15s,border-color .15s;}
  .tab.active{background:var(--black); color:var(--neon); border-color:var(--black);}
  .sort-select{font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:500; padding:9px 12px; border-radius:8px; border:1px solid var(--line); background:var(--white); color:var(--black); cursor:pointer;}
  .result-count{font-family:'Inter',sans-serif; font-size:0.78rem; color:var(--ink-soft);}

  /* ---- Media carousel: renders every image a product has, not just the first ---- */
  .media-wrap{position:absolute; inset:0; overflow:hidden;}
  .media-img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; opacity:0; transition:opacity .25s ease, transform .3s ease; display:block; pointer-events:none;}
  .media-img.active{pointer-events:auto;}
  .media-img.active{opacity:1;}
  .hero-media .media-img{object-fit:contain; padding:10px;}
  /* NOTE: the single source of truth for grid-thumbnail image sizing/fit is
     the .product-media / .product-media img rule in index.html's inline
     <style> block (object-fit:cover, no padding). It used to be duplicated
     here with object-fit:contain + padding:10px, which fought the inline
     rule on source order and caused inconsistent-looking thumbnails. Do not
     redefine .product-media img here again — only the hover-zoom lives here. */
  .product-card:hover .product-media .media-img.active{ transform:scale(1.05); }
  /* Arrow buttons removed from thumbnails — swipe or tap the dots to change image */
  /* Arrow buttons are hidden by default (grid/cart/wishlist thumbnails stay
     dots-only + swipe); the product page opts back in below since that's
     the full page product view where arrows make sense. */
  .media-nav{display:none;}
  .qv-page-media .media-nav{
    display:flex; position:absolute; top:50%; transform:translateY(-50%); z-index:3;
    width:36px; height:36px; border-radius:50%; border:none;
    background:rgba(255,255,255,0.92); color:var(--black); font-size:1.2rem;
    align-items:center; justify-content:center; cursor:pointer; box-shadow:var(--shadow-md);
    transition:background .15s ease, transform .15s ease;
  }
  .qv-page-media .media-nav:hover{background:var(--white); transform:translateY(-50%) scale(1.06);}
  .qv-page-media .media-prev{left:12px;}
  .qv-page-media .media-next{right:12px;}
  .media-loading{position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; gap:6px; background:var(--paper-2); transition:opacity .2s ease;}
  .media-wrap.loaded .media-loading{opacity:0; pointer-events:none;}
  .media-loading span{width:7px; height:7px; border-radius:50%; background:var(--ink-soft); opacity:0.35; animation:media-dot-bounce 1s ease-in-out infinite;}
  .media-loading span:nth-child(2){animation-delay:.15s;}
  .media-loading span:nth-child(3){animation-delay:.3s;}
  @keyframes media-dot-bounce{ 0%,80%,100%{transform:translateY(0); opacity:.35;} 40%{transform:translateY(-6px); opacity:1;} }
  .media-dots{position:absolute; bottom:8px; left:0; right:0; z-index:3; display:flex; justify-content:center; gap:5px;}
  .media-dot{width:6px; height:6px; border-radius:50%; border:none; background:rgba(255,255,255,0.6); box-shadow:0 0 0 1px rgba(17,17,17,0.15); cursor:pointer; padding:0;}
  .media-dot.active{background:var(--black);}
  .stock-badge{position:absolute; top:10px; left:10px; z-index:4; background:var(--black); color:var(--white); font-family:'Inter',sans-serif; font-size:0.62rem; font-weight:700; letter-spacing:0.03em; text-transform:uppercase; padding:5px 10px; border-radius:20px;}
  .product-tag{position:absolute; bottom:10px; left:0; z-index:4; background:var(--black); color:var(--neon); font-family:'Inter',sans-serif; font-size:0.64rem; font-weight:700; letter-spacing:0.03em; text-transform:uppercase; padding:6px 14px 6px 12px; border-radius:0 20px 20px 0; box-shadow:var(--shadow-sm);}
  .qv-badge-inline{color:var(--black); font-weight:700;}


  .product-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
  .product-card{position:relative; background:var(--white); border:1px solid var(--line); border-radius:16px; display:flex; flex-direction:column; transition:transform .25s ease, box-shadow .25s ease; animation:card-in .4s ease backwards; box-shadow:var(--shadow-sm); overflow:hidden; will-change:transform;}
  .product-card:hover{transform:translateY(-5px); box-shadow:var(--shadow-md);}
  @keyframes card-in{ from{opacity:0; transform:translateY(16px) scale(0.97);} to{opacity:1; transform:translateY(0) scale(1);} }
  .wish-btn{position:absolute; top:10px; right:10px; z-index:4; width:32px; height:32px; border-radius:50%; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:transform .15s;}
  .wish-btn svg{width:16px; height:16px; stroke:var(--black); fill:none; transition:fill .15s, stroke .15s;}
  .wish-btn:hover{transform:scale(1.08);}
  .wish-btn.active svg{fill:var(--neon-dark); stroke:var(--black);}
  .share-btn{position:absolute; top:10px; left:10px; z-index:4; width:32px; height:32px; border-radius:50%; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-sm); display:flex; align-items:center; justify-content:center; cursor:pointer; transition:transform .15s;}
  .share-btn svg{width:15px; height:15px; stroke:var(--black); fill:none;}
  .share-btn:hover{transform:scale(1.08);}
  .qv-title-row{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; margin-bottom:4px;}
  .qv-title-row .qv-title{margin-bottom:0; flex:1; min-width:0;}
  /* ---- Wishlist/Share as labeled buttons beside the title (Meesho-style) —
     icon stacked above a small text label, two side by side on the right of
     the title. Replaces the old bare icon buttons that used to live in the
     top bar. ---- */
  .qv-title-actions{ display:flex; gap:16px; flex-shrink:0; padding-top:4px; }
  .qv-title-action-btn{
    display:flex; flex-direction:column; align-items:center; gap:3px;
    background:none; border:none; cursor:pointer; padding:0; color:var(--ink-soft);
  }
  .qv-title-action-btn svg{ width:20px; height:20px; stroke:var(--black); fill:none; transition:fill .15s, stroke .15s; }
  .qv-title-action-btn.active svg{ fill:var(--neon-dark); stroke:var(--black); }
  .qv-title-action-btn span{ font-family:'Inter',sans-serif; font-size:0.66rem; font-weight:600; color:var(--ink-soft); }
  .product-body{padding:16px; display:flex; flex-direction:column; flex:1; gap:2px;}
  .product-cat{font-family:'Inter',sans-serif; font-size:0.68rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:6px;}
  .product-body h3{font-family:'Poppins',sans-serif; font-size:1rem; font-weight:600; margin-bottom:4px; cursor:pointer;}
  .product-body .price{font-family:'Inter',sans-serif; font-weight:700; margin-bottom:14px; font-size:0.96rem;}
  /* ---- Price with optional MRP / % off (Meesho-style) --------------
     .price-now is the real price; .price-mrp is the crossed-out original
     (only rendered by priceHtml() in script.js when an mrp is actually
     set); .price-off is the green "X% off" chip. Works in both the card
     price row and the quick view's larger price row — priceHtml() outputs
     the same three spans in both places. ---- */
  .price-now{ font-weight:700; }
  .price-mrp{ color:var(--ink-soft); text-decoration:line-through; font-weight:500; margin-left:7px; font-size:0.88em; }
  .price-off{ color:#1a8a4a; font-weight:700; margin-left:7px; font-size:0.86em; }
  .qv-price .price-now{ font-size:1.35rem; font-family:'Poppins',sans-serif; }
  .qv-price .price-mrp{ font-size:0.9rem; }
  .qv-price .price-off{ font-size:0.82rem; }
  .btn-view{margin-top:auto; background:var(--paper-2); color:var(--black); border-color:var(--line); font-weight:600;}
  .btn-view:hover{background:var(--black); color:var(--white); border-color:var(--black);}
  .size-row{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:22px;}
  .size-chip{font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; width:38px; height:38px; border-radius:9px; border:1px solid var(--line); background:transparent; cursor:pointer; transition:background .15s,color .15s,border-color .15s,transform .1s;}
  .size-chip:active{transform:scale(0.94);}
  .size-chip.onesize{width:auto; padding:0 14px;}
  .size-chip.active{background:var(--black); color:var(--neon); border-color:var(--black);}
  .qty-stepper{display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:9px; margin-bottom:26px;}
  .qty-stepper button{width:34px; height:38px; background:none; border:none; cursor:pointer; font-size:1.1rem; font-weight:700;}
  .qty-stepper span{width:26px; text-align:center; font-family:'Inter',sans-serif; font-size:0.86rem; font-weight:700;}
  .btn-in-bag{background:var(--paper-2); color:var(--black); border-color:var(--line);}
  .empty-state{grid-column:1/-1; text-align:center; padding:60px 20px; color:var(--ink-soft); background:var(--white); border:1px dashed var(--line); border-radius:14px;}

  .feature-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
  .feature-card{position:relative; background:var(--white); border:1px solid var(--line); border-radius:14px; padding:28px 26px; transition:transform .25s ease, border-color .25s ease; box-shadow:var(--shadow-sm);}
  .feature-card:hover{transform:translateY(-4px); border-color:var(--neon-dark);}
  .thread-tag{font-family:'Inter',sans-serif; display:inline-block; font-size:0.68rem; font-weight:600; letter-spacing:0.03em; text-transform:uppercase; color:var(--black); background:var(--neon); padding:5px 12px; border-radius:20px; margin-bottom:16px;}
  .feature-icon{width:46px; height:46px; border-radius:12px; background:rgba(200,230,74,0.18); border:1px solid rgba(169,201,58,0.4); display:flex; align-items:center; justify-content:center; color:var(--black); margin-bottom:16px;}
  body.theme-girls .feature-icon{ background:rgba(247,168,200,0.22); border:1px solid rgba(238,130,174,0.4); }
  .feature-icon svg{width:24px; height:24px;}
  .feature-card h3{font-family:'Poppins',sans-serif; font-size:1.15rem; font-weight:600; margin-bottom:8px; color:var(--black);}
  .feature-card p{font-size:0.87rem; margin-bottom:18px;}
  .feature-form{display:flex; gap:8px; flex-wrap:wrap;}
  .feature-form-col{flex-direction:column; align-items:stretch;}
  .feature-input{flex:1; min-width:160px; padding:12px 14px; background:var(--paper-2); border:1px solid var(--line); border-radius:8px; color:var(--black); font-family:'Inter',sans-serif; font-size:0.82rem; resize:vertical;}
  .feature-input:focus{border-color:var(--black);}
  .feature-input::placeholder{color:var(--ink-soft);}
  .feature-note{font-size:0.72rem; color:var(--ink-soft); margin-top:10px; margin-bottom:0; display:none;}
  .feature-note.show{display:block;}
  .qr-preview{margin-top:18px;}
  .qr-tee-mock{position:relative; width:120px; margin:0 auto; color:var(--ink-soft);}
  .tee-outline{width:100%; height:auto;}
  .qr-canvas-wrap{position:absolute; top:38%; left:50%; transform:translate(-50%,-50%); width:56px; height:56px; background:var(--white); border-radius:6px; display:flex; align-items:center; justify-content:center; overflow:hidden;}
  .qr-canvas-wrap canvas, .qr-canvas-wrap img{width:100%; height:100%;}
  .qr-placeholder{font-family:'Inter',sans-serif; font-size:0.46rem; color:#999; text-align:center; padding:4px;}
  .notify-row{display:flex; gap:0; margin-top:38px; max-width:460px; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:var(--white);}
  .notify-row input{flex:1; padding:14px 16px; border:none; background:transparent; color:var(--black); font-family:'Inter',sans-serif; font-size:0.86rem;}
  .notify-row input::placeholder{color:var(--ink-soft);}
  .notify-row button{border-radius:0; border:none;}

  .why-list{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
  .why-item{padding:22px; background:var(--white); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow-sm);}
  .why-item svg{width:26px; height:26px; margin-bottom:14px;}
  .why-item h4{font-family:'Poppins',sans-serif; font-weight:600; font-size:0.98rem; margin-bottom:6px;}
  .why-item p{font-size:0.84rem;}

  .label-grid{display:grid; grid-template-columns:1.3fr 1fr; gap:24px; align-items:stretch;}
  .label-panel{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:30px 32px; box-shadow:var(--shadow-sm);}
  .label-panel-head{display:flex; justify-content:space-between; align-items:center; font-family:'Inter',sans-serif; font-size:0.68rem; font-weight:700; letter-spacing:0.04em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:6px;}
  .barcode{height:38px; background:repeating-linear-gradient(90deg, var(--black) 0 2px, transparent 2px 5px, var(--black) 5px 8px, transparent 8px 13px, var(--black) 13px 14px, transparent 14px 20px); margin:20px 0 24px; border-radius:4px;}
  .stops{display:flex; flex-wrap:wrap; gap:8px;}
  .stop{font-family:'Inter',sans-serif; font-size:0.8rem; font-weight:600; border:1px solid var(--line); padding:7px 14px; border-radius:20px; color:var(--black);}
  .stop.hub{background:var(--black); color:var(--neon); border-color:var(--black);}
  .label-stats{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
  .label-footnote{margin-top:24px; font-size:0.86rem; color:var(--ink-soft); max-width:640px;}
  .label-stat{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:20px; display:flex; flex-direction:column; justify-content:center; box-shadow:var(--shadow-sm);}
  .label-stat .num{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.7rem; color:var(--black); line-height:1;}
  .label-stat .lbl{font-family:'Inter',sans-serif; font-size:0.74rem; color:var(--ink-soft); margin-top:6px;}
  @media (max-width:820px){
    .label-grid{grid-template-columns:1fr;}
    .label-stats{grid-template-columns:repeat(4,1fr);}
  }
  @media (max-width:560px){
    .label-panel{padding:22px 18px;}
    .label-stats{grid-template-columns:1fr 1fr;}
  }


  .about-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center;}
  .about-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:26px;}
  .about-stat{background:var(--white); border:1px solid var(--line); border-radius:12px; padding:18px 14px; text-align:center; box-shadow:var(--shadow-sm);}
  .about-stat .num{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.6rem; color:var(--black); display:block;}
  .about-stat .lbl{font-family:'Inter',sans-serif; font-size:0.68rem; color:var(--ink-soft); text-transform:uppercase; letter-spacing:0.03em;}
  .about-photo{border:1px solid var(--line); border-radius:14px; background:var(--paper-2); min-height:260px; display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;}
  .about-photo img{width:100%; height:100%; object-fit:cover;}

  .testi-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
  .testi-card{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:24px 22px; box-shadow:var(--shadow-sm);}
  .testi-stars{color:var(--neon-dark); font-size:0.9rem; margin-bottom:12px; letter-spacing:2px;}
  .testi-card p{font-size:0.88rem; margin-bottom:16px; color:var(--ink-soft);}
  .testi-name{font-family:'Inter',sans-serif; font-size:0.76rem; color:var(--black); font-weight:600; text-transform:uppercase;}

  footer{background:var(--paper); color:var(--black); padding:56px 0 0; border-top:1px solid var(--line);}
  .footer-grid{display:grid; grid-template-columns:1.3fr 1fr 1fr 1.3fr; gap:32px; padding-bottom:36px; border-bottom:1px solid var(--line);}
  footer h5{font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; margin-bottom:16px; color:var(--black);}
  .footer-grid p{color:var(--ink-soft); font-size:0.85rem; margin-bottom:6px;}
  .footer-grid a{display:block; color:var(--ink-soft); font-size:0.85rem; text-decoration:none; margin-bottom:10px;}
  .footer-grid a:hover{color:var(--black);}
  .news-row{display:flex; margin-top:12px; border:1px solid var(--line); border-radius:8px; overflow:hidden;}
  .news-row input{flex:1; padding:11px 14px; border:none; background:transparent; color:var(--black); font-family:'Inter',sans-serif; font-size:0.82rem;}
  .footer-bottom{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; padding:20px 0; font-family:'Inter',sans-serif;}
  .footer-bottom p{color:var(--ink-soft); font-size:0.76rem;}

  .drawer{position:fixed; top:0; right:0; height:100%; width:min(92vw,420px); background:var(--white); z-index:110; box-shadow:-14px 0 40px rgba(0,0,0,0.18); transform:translateX(100%); transition:transform .32s ease; display:flex; flex-direction:column; border-left:1px solid var(--line);}
  .drawer.open{transform:translateX(0);}
  .drawer-head{display:flex; align-items:center; justify-content:space-between; padding:22px 24px; border-bottom:1px solid var(--line);}
  .drawer-head h3{font-family:'Poppins',sans-serif; font-weight:600; font-size:1.25rem;}
  .drawer-close{background:none; border:none; font-size:1.3rem; cursor:pointer; color:var(--ink-soft);}
  .drawer-body{flex:1; overflow-y:auto; padding:18px 24px;}
  .drawer-foot{padding:20px 24px; border-top:1px solid var(--line);}
  .cart-item{display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line);}
  .cart-item .thumb{width:60px; height:60px; border-radius:8px; background:var(--paper-2); border:1px solid var(--line); position:relative; flex-shrink:0; overflow:hidden;}
  .cart-item .thumb img{width:100%; height:100%; object-fit:contain; padding:4px;}
  .cart-item .ci-info{flex:1;}
  .cart-item .ci-info h4{font-family:'Poppins',sans-serif; font-weight:600; font-size:0.94rem; margin-bottom:2px;}
  .cart-item .ci-meta{font-family:'Inter',sans-serif; font-size:0.76rem; color:var(--ink-soft); margin-bottom:8px;}
  .ci-row{display:flex; align-items:center; justify-content:space-between;}
  .ci-remove{background:none; border:none; color:#c23; font-family:'Inter',sans-serif; font-size:0.76rem; font-weight:600; cursor:pointer;}
  .sum-row{display:flex; justify-content:space-between; font-family:'Inter',sans-serif; font-size:0.85rem; margin-bottom:8px; color:var(--ink-soft);}
  .sum-row.total{font-size:1rem; font-weight:700; color:var(--black); margin-top:10px; padding-top:10px; border-top:1px dashed var(--line);}
  .drawer-empty{text-align:center; padding:70px 10px; color:var(--ink-soft);}
  .drawer-empty svg{width:40px; height:40px; margin-bottom:14px; opacity:0.5;}
  .wl-item{display:flex; gap:14px; align-items:center; padding:14px 0; border-bottom:1px solid var(--line);}
  .wl-item .thumb{width:52px; height:52px; border-radius:8px; background:var(--paper-2); border:1px solid var(--line); position:relative; flex-shrink:0; overflow:hidden;}
  .wl-item .thumb img{width:100%; height:100%; object-fit:contain; padding:3px;}
  .wl-item .wi-info{flex:1;}
  .wl-item h4{font-family:'Poppins',sans-serif; font-weight:600; font-size:0.92rem;}
  .wl-item .price{font-family:'Inter',sans-serif; font-size:0.82rem; font-weight:700;}
  .wl-actions{display:flex; flex-direction:column; gap:6px;}
  .wl-actions button{font-size:0.7rem;}

  .overlay{position:fixed; inset:0; background:rgba(17,17,17,0.5); display:none; align-items:center; justify-content:center; z-index:120; padding:20px; opacity:0; transition:opacity .2s ease;}
  .overlay.open{display:flex; opacity:1;}
  .modal{background:var(--white); border:1px solid var(--line); border-radius:16px; padding:36px; max-width:400px; width:100%; position:relative; max-height:88vh; overflow-y:auto; box-shadow:var(--shadow-md); animation:pop .35s cubic-bezier(.16,1,.3,1);}
  @keyframes pop{ from{transform:scale(0.96) translateY(14px); opacity:0;} to{transform:scale(1) translateY(0); opacity:1;} }
  .modal.wide{max-width:640px;}

  /* ---- Product page: a real full page, not a modal ----------------------
     The PAGE CONTAINER itself is deliberately built with ZERO position:fixed
     and ZERO vh/dvh units. It's just normal content in the normal document —
     the actual browser window scrolls it, exactly like every other page on
     the site (and exactly like a real second page would work). That
     sidesteps the entire class of mobile-address-bar/viewport-height bugs
     the old fixed modal kept running into. #productPageView is shown by
     giving <body> the .product-page-open class (see script.js), which hides
     #siteContent and shows this instead.
     The ONE deliberate exception is the Add to Cart/Buy Now bar
     (.qv-sticky-actions below) — that's position:fixed on purpose, so it
     stays pinned to the screen the whole time you scroll, not just at the
     very bottom of the content. See its own comment for why. ---- */
  #productPageView{ display:none; }
  body.product-page-open #siteContent{ display:none; }
  body.product-page-open #productPageView{ display:block; min-height:100vh; background:var(--white); }

  .qv-topbar{
    position:sticky; top:0; z-index:20; display:flex; align-items:center;
    padding:14px 16px; background:var(--white); border-bottom:1px solid var(--line);
  }
  .qv-back{ display:flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:50%; background:var(--paper-2); border:none; cursor:pointer; color:var(--black); }
  .qv-back svg{ width:18px; height:18px; }

  /* Product photo — shows the FULL image (contain), not a crop (cover).
     This targets .media-wrap, the actual class mediaTag() renders; an
     earlier version of this rule targeted a wrapper class that no longer
     existed in the markup, so it silently did nothing and every quick-view
     photo fell back to the grid's default object-fit:cover crop. */
  .qv-page-media{ position:relative; width:100%; aspect-ratio:4/5; max-height:66vh; background:var(--paper-2); }
  .qv-page-media .media-wrap .media-img{ object-fit:contain; padding:16px; }

  .qv-page-body{ padding:20px 20px 110px; }
  .qv-title{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.28rem; line-height:1.28; margin:6px 0 10px; }
  .qv-price-row{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:6px; }
  .qv-price{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.35rem; color:var(--black); }
  .qv-rating-pill{ display:inline-flex; align-items:center; gap:5px; background:var(--paper-2); border:1px solid var(--line); border-radius:20px; padding:4px 10px; font-family:'Inter',sans-serif; font-size:0.76rem; font-weight:700; color:var(--black); }
  .qv-rating-pill svg{ width:12px; height:12px; color:var(--neon-dark); fill:var(--neon-dark); }
  .qv-breadcrumb{ font-family:'Inter',sans-serif; font-size:0.7rem; color:var(--ink-soft); margin-bottom:8px; text-transform:capitalize; }
  .qv-desc{ font-size:0.88rem; line-height:1.6; color:var(--ink-soft); margin:10px 0 4px; }

  .qv-divider{ height:1px; background:var(--line); margin:18px 0; }
  .qv-section-label{ font-family:'Inter',sans-serif; font-size:0.72rem; font-weight:600; text-transform:uppercase; letter-spacing:0.04em; color:var(--ink-soft); margin-bottom:10px; }
  .qv-page-body .size-row{ margin-bottom:0; }
  .qv-page-body .qty-stepper{ margin-bottom:0; }

  /* "Sold by / delivery" trust card — styled like a real storefront's
     seller-info block rather than a loose row of pills. */
  .qv-trust-card{ background:var(--paper-2); border:1px solid var(--line); border-radius:14px; padding:14px 16px; display:flex; flex-direction:column; gap:10px; }
  .qv-trust-card .qv-trust-item{ background:transparent; border:none; padding:0; font-size:0.78rem; }

  /* Pinned to the bottom of the SCREEN at all times — like Meesho's
     Add to Cart / Buy Now bar — not just once you scroll to the end of the
     page. This used to be position:sticky, which relied on the viewport
     being the nearest scrolling ancestor; but html/body both set
     overflow-x:hidden here (to stop horizontal scroll), and on several
     mobile browsers that alone is enough to break position:sticky's
     reference point, so the bar only ever appeared at the natural bottom
     of the content instead of floating over it. position:fixed sidesteps
     that entirely — it's anchored to the actual viewport regardless of any
     ancestor's overflow setting. qv-page-body's bottom padding above makes
     room so the last bit of real content (the reviews section) never ends
     up hidden underneath this bar. */
  .qv-sticky-actions{
    position:fixed; bottom:0; left:0; right:0; z-index:30;
    display:flex; gap:10px; padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:var(--white); border-top:1px solid var(--line); box-shadow:0 -6px 18px rgba(17,17,17,0.06);
  }
  .qv-sticky-actions .btn{ flex:1; }

  @media (min-width:760px){
    .qv-page-body{ max-width:640px; margin:0 auto; }
    .qv-sticky-actions{ max-width:640px; margin:0 auto; border-left:1px solid var(--line); border-right:1px solid var(--line); }
    .qv-page-media{ aspect-ratio:1/1; max-height:520px; }
  }
  .modal .close{position:absolute; top:14px; right:16px; background:var(--paper); border:1px solid var(--line); width:32px; height:32px; border-radius:50%; color:var(--black); font-size:1rem; cursor:pointer; transition:transform .15s ease, background .15s ease;}
  .modal .close:hover{background:var(--neon);}
  .modal h3{font-family:'Poppins',sans-serif; font-weight:700; font-size:1.35rem; margin-bottom:6px;}
  .modal p.small{font-size:0.9rem; margin-bottom:22px; color:var(--ink-soft);}
  .field{margin-bottom:14px;}
  .field label{display:block; font-family:'Inter',sans-serif; font-size:0.74rem; font-weight:600; color:var(--ink-soft); margin-bottom:6px; letter-spacing:0.01em; text-transform:uppercase;}
  .field input, .field textarea{width:100%; padding:12px 14px; background:var(--paper-2); border:1px solid var(--line); border-radius:10px; color:var(--black); font-size:0.92rem; font-family:inherit; resize:vertical;}
  .field input:focus, .field textarea:focus{border-color:var(--black); background:var(--white);}
  .field-row{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
  .btn-google{background:var(--white); color:#2a2a2a; border:1px solid var(--line); width:100%; margin-top:6px; position:relative; overflow:hidden; box-shadow:var(--shadow-sm);}
  .btn-google::after{content:''; position:absolute; inset:0; background:linear-gradient(120deg, transparent 20%, rgba(200,230,74,0.25) 50%, transparent 80%); transform:translateX(-120%); transition:transform .6s ease;}
  .btn-google:hover::after{transform:translateX(120%);}
  .login-badge-icon{width:56px; height:56px; border-radius:50%; background:var(--neon); display:flex; align-items:center; justify-content:center; margin-bottom:16px;}
  .login-badge-icon svg{width:26px; height:26px; stroke:var(--black);}
  .login-note{font-size:0.78rem; color:var(--ink-soft); text-align:center; margin-top:16px; line-height:1.5;}

  /* Order success modal */
  .success-icon{width:74px; height:74px; border-radius:50%; background:var(--neon); display:flex; align-items:center; justify-content:center; margin:0 auto 20px;}
  .success-icon svg{width:36px; height:36px; stroke:var(--black);}
  .success-body{text-align:center;}
  .success-order-id{font-family:'Inter',sans-serif; font-size:0.8rem; background:var(--paper-2); border:1px dashed var(--line); border-radius:8px; padding:10px 14px; display:inline-block; margin:6px 0 20px;}
  .success-steps{text-align:left; background:var(--paper-2); border:1px solid var(--line); border-radius:12px; padding:16px 18px; margin-bottom:22px;}
  .success-steps .st{display:flex; gap:10px; font-size:0.86rem; margin-bottom:10px; align-items:flex-start;}
  .success-steps .st:last-child{margin-bottom:0;}
  .success-steps .st b{flex-shrink:0; width:20px; height:20px; background:var(--black); color:var(--neon); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:0.68rem; font-family:'Inter',sans-serif;}
  .success-actions{display:flex; gap:10px; flex-wrap:wrap;}
  .success-actions .btn{flex:1;}

  #toastContainer{position:fixed; bottom:24px; right:24px; z-index:200; display:flex; flex-direction:column; gap:10px; align-items:flex-end;}
  .toast{background:var(--black); color:var(--neon); padding:13px 20px; border-radius:10px; font-family:'Inter',sans-serif; font-size:0.82rem; font-weight:600; box-shadow:var(--shadow-md); transform:translateX(120%); transition:transform .3s ease, opacity .3s ease; opacity:0;}
  .toast.show{transform:translateX(0); opacity:1;}


  .account-menu-wrap{position:relative;}
  .account-dropdown{position:absolute; top:calc(100% + 10px); right:0; background:var(--white); border:1px solid var(--line); border-radius:12px; min-width:190px; box-shadow:var(--shadow-md); display:none; flex-direction:column; overflow:hidden; z-index:70;}
  .account-dropdown.open{display:flex;}
  .account-dropdown button{background:none; border:none; text-align:left; padding:13px 16px; font-family:'Inter',sans-serif; font-size:0.82rem; font-weight:600; cursor:pointer; color:var(--black); border-bottom:1px solid var(--line);}
  .account-dropdown button:last-child{border-bottom:none; color:#c23;}
  .account-dropdown button:hover{background:var(--paper-2);}
  .account-email{padding:12px 16px; font-family:'Inter',sans-serif; font-size:0.7rem; color:var(--ink-soft); border-bottom:1px solid var(--line); word-break:break-all;}


  .loc-row{display:flex; flex-wrap:wrap; justify-content:flex-start; gap:10px; margin-bottom:10px;}
  .loc-btn{background:var(--black); border:1px solid var(--black); color:var(--neon); font-family:'Inter',sans-serif; font-size:0.78rem; font-weight:600; display:inline-flex; align-items:center; gap:8px; cursor:pointer; padding:10px 16px; border-radius:20px; transition:background .15s, transform .1s;}
  .loc-btn svg{width:16px; height:16px; flex-shrink:0;}
  .loc-btn:hover{background:#2e2e2e;}
  .loc-btn:active{transform:scale(0.97);}
  .loc-btn:disabled{opacity:0.55; cursor:wait;}
  .loc-btn.spin svg{animation:loc-spin 1s linear infinite;}
  .loc-btn-outline{background:var(--white); border-color:var(--line); color:var(--black);}
  .loc-btn-outline:hover{background:var(--paper-2);}
  @keyframes loc-spin{ to{transform:rotate(360deg);} }
  .loc-status{font-family:'Inter',sans-serif; font-size:0.74rem; color:var(--ink-soft); margin-top:8px; margin-bottom:14px; display:none; line-height:1.5;}
  .loc-status.show{display:block;}
  .loc-status.err{color:#c23;}
  .order-item{border:1px solid var(--line); border-radius:14px; padding:18px; margin-bottom:14px; box-shadow:var(--shadow-sm);}
  .order-item .oi-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; font-family:'Inter',sans-serif; font-size:0.76rem; font-weight:600;}
  .order-item .oi-status{background:var(--black); color:var(--neon); padding:6px 14px; border-radius:20px; text-transform:uppercase; font-size:0.82rem; font-weight:700; letter-spacing:0.02em;}
  .oi-invoice-row{margin:10px 0;}
  .order-item .oi-line{display:flex; justify-content:space-between; font-size:0.84rem; margin-bottom:4px; color:var(--ink-soft);}
  .order-item .oi-total{font-weight:700; color:var(--black); margin-top:8px; padding-top:8px; border-top:1px dashed var(--line);}


  .lightbox-nav-btn{
    background:var(--black); border:1px solid var(--neon); color:var(--neon);
    box-shadow:0 4px 14px rgba(0,0,0,0.35);
    transition:background .15s ease, transform .15s ease, color .15s ease;
  }
  .lightbox-nav-btn:hover{background:var(--neon); color:var(--black); transform:translateY(-50%) scale(1.06);}
  .lightbox-close-btn{
    background:rgba(0,0,0,0.5); border:1px solid rgba(255,255,255,0.4); border-radius:50%;
    width:38px; height:38px; display:flex; align-items:center; justify-content:center;
    transition:background .15s ease, border-color .15s ease;
  }
  .lightbox-close-btn:hover{background:var(--neon); border-color:var(--neon); color:var(--black);}
  /* Consistent frame for the full-screen zoom image: every product photo —
     regardless of its own background color or aspect ratio — sits inside
     the same white, padded, rounded card. Without this, photos shot on
     different backdrops (wood floor vs plain studio grey, etc.) looked
     inconsistent from one product to the next. */
  #imgLightboxImg{ background:var(--white); padding:18px; box-sizing:border-box; }
  @media (max-width:560px){ #imgLightboxImg{ padding:12px; } }

  /* ---- Custom share sheet ---- */
  .share-modal{max-width:420px;}
  .share-options{display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:8px;}
  .share-option{display:flex; flex-direction:column; align-items:center; gap:8px; background:none; border:none; cursor:pointer; padding:6px 0; font-family:'Inter',sans-serif; font-size:0.7rem; font-weight:600; color:var(--black);}
  .share-option-icon{width:50px; height:50px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--black); color:var(--neon); transition:transform .15s ease;}
  .share-option:hover .share-option-icon{transform:translateY(-3px);}
  .share-option-icon svg{width:22px; height:22px;}
  .share-option-icon.share-utility{background:var(--paper-2); color:var(--black); border:1px solid var(--line);}
  @media (max-width:420px){ .share-options{grid-template-columns:repeat(3,1fr);} }

  /* ---- Per-product reviews (rendered inside Quick View, not a global section) ---- */
  .review-toolbar{margin-bottom:28px;}
  .review-product-tag{font-family:'Inter',sans-serif; font-size:0.7rem; font-weight:600; text-transform:uppercase; letter-spacing:0.03em; color:var(--ink-soft); margin-bottom:10px;}
  .review-product-locked{font-family:'Inter',sans-serif; font-size:0.92rem; font-weight:600; padding:12px 14px; background:var(--paper-2); border:1px solid var(--line); border-radius:10px;}
  #reviewProductPicker{width:100%; padding:12px 14px; background:var(--paper-2); border:1px solid var(--line); border-radius:10px; font-family:inherit; font-size:0.92rem; color:var(--black);}
  .oi-review-row{margin:4px 0 10px;}
  .review-stats{margin-top:18px;}
  .review-stats-inner{display:inline-flex; align-items:center; gap:10px; background:var(--white); border:1px solid var(--line); border-radius:30px; padding:10px 18px; box-shadow:var(--shadow-sm);}
  .review-stats-stars{display:flex; gap:1px; color:var(--neon-dark);}
  .review-stats-inner b{font-family:'Poppins',sans-serif; font-size:1rem; color:var(--black);}
  .review-stats-count{font-family:'Inter',sans-serif; font-size:0.8rem; color:var(--ink-soft);}
  .review-card{background:var(--white); border:1px solid var(--line); border-radius:14px; padding:18px; box-shadow:var(--shadow-sm);}
  .review-stars{display:flex; gap:2px; color:var(--neon-dark); margin-bottom:10px;}
  .review-text{font-size:0.86rem; color:var(--black); margin-bottom:14px; line-height:1.55;}
  .review-user{display:flex; align-items:center; gap:10px;}
  .review-user-meta{display:flex; flex-direction:column; gap:1px; min-width:0;}
  .review-time{font-family:'Inter',sans-serif; font-size:0.7rem; color:var(--ink-soft); text-transform:none; letter-spacing:0;}
  .review-delete-btn{margin-left:auto; background:none; border:none; font-family:'Inter',sans-serif; font-size:0.72rem; font-weight:600; color:#c23; cursor:pointer; text-decoration:underline; padding:0;}
  .review-name{font-family:'Inter',sans-serif; font-size:0.8rem; font-weight:600; color:var(--black);}
  .star-picker{display:flex; gap:8px; margin:16px 0 20px;}
  .star-btn{background:none; border:none; cursor:pointer; font-size:2rem; line-height:1; color:var(--line); transition:color .15s ease, transform .1s ease;}
  .star-btn:active{transform:scale(0.9);}
  .star-btn.active{color:var(--neon-dark);}
  @media (max-width:560px){ .share-options{grid-template-columns:repeat(3,1fr); gap:10px;} }

  /* ---- Scroll progress bar ---- */
  .scroll-progress{ position:fixed; top:0; left:0; height:3px; width:0%; background:var(--neon-dark); z-index:200; }

  /* ---- Back to top button ---- */
  .back-to-top{
    position:fixed; right:18px; bottom:18px; z-index:90;
    width:44px; height:44px; border-radius:50%;
    background:var(--black); color:var(--neon); border:none; cursor:pointer;
    display:flex; align-items:center; justify-content:center;
    box-shadow:var(--shadow-md); opacity:0; pointer-events:none; transform:translateY(10px);
    transition:opacity .2s ease, transform .2s ease;
  }
  .back-to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .back-to-top svg{ width:20px; height:20px; }

  /* ---- Per-product reviews: a compact rating summary inside Quick View
     (average + count only — no review text here, that's what made it feel
     cluttered). Tapping "See all reviews" opens the full list in its own
     overlay instead, via #productReviewsOverlay below. ---- */
  .qv-reviews{ margin-top:26px; padding-top:22px; border-top:1px solid var(--line); }
  .qv-reviews-summary{
    display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
    background:var(--paper-2); border:1px solid var(--line); border-radius:14px; padding:16px 18px;
  }
  .qv-reviews-summary-left{ display:flex; align-items:center; gap:14px; }
  .qv-reviews-score{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.9rem; line-height:1; color:var(--black); min-width:38px; }
  .qv-reviews-meta{ display:flex; flex-direction:column; gap:4px; }
  .qv-reviews-stars{ display:flex; gap:2px; color:var(--neon-dark); }
  .qv-reviews-count{ font-family:'Inter',sans-serif; font-size:0.76rem; color:var(--ink-soft); }
  .qv-reviews-empty-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
  .qv-reviews-empty-text{ font-family:'Inter',sans-serif; font-size:0.86rem; color:var(--ink-soft); }
  .qv-reviews-actions{ display:flex; gap:8px; flex-wrap:wrap; }

  /* ---- Full review list — its own overlay, opened from the summary card ---- */
  .modal.reviews-list-modal{ max-width:520px; }
  .reviews-list-modal .qv-review-list{ display:flex; flex-direction:column; gap:12px; max-height:58vh; overflow-y:auto; padding-right:4px; margin-top:4px; }
  .reviews-list-modal .qv-review-empty{ font-family:'Inter',sans-serif; font-size:0.86rem; color:var(--ink-soft); padding:14px 0; }

  /* ---- Trust / reassurance row under the buy buttons ---- */
  .qv-trust-row{ display:flex; gap:8px; margin-top:18px; flex-wrap:wrap; }
  .qv-trust-item{ display:flex; align-items:center; gap:6px; font-family:'Inter',sans-serif; font-size:0.7rem; font-weight:600; color:var(--ink-soft); background:var(--paper-2); border:1px solid var(--line); padding:7px 11px; border-radius:20px; }
  .qv-trust-item svg{ width:14px; height:14px; flex-shrink:0; color:var(--black); }

  /* ---- Store-wide reviews summary section (new section, above Coming
     Soon) — one aggregate rating card, not per-product. Filled in by
     renderStoreReviewsSummary() in script.js. ---- */
  .store-reviews-card{
    display:flex; align-items:center; justify-content:center; gap:20px; flex-wrap:wrap;
    background:var(--white); border:1px solid var(--line); border-radius:20px;
    padding:32px 28px; box-shadow:var(--shadow-sm); text-align:center; min-height:96px;
  }
  .store-reviews-score-wrap{ display:flex; align-items:center; gap:18px; }
  .store-reviews-score{ font-family:'Poppins',sans-serif; font-weight:700; font-size:2.6rem; color:var(--black); line-height:1; }
  .store-reviews-outof{ font-size:0.42em; color:var(--ink-soft); font-weight:600; }
  .store-reviews-meta{ display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
  .store-reviews-stars{ display:flex; gap:2px; color:var(--neon-dark); }
  .store-reviews-count{ font-family:'Inter',sans-serif; font-size:0.82rem; color:var(--ink-soft); }
  .store-reviews-empty{ font-family:'Inter',sans-serif; font-size:0.9rem; color:var(--ink-soft); }
  @media (max-width:560px){
    .store-reviews-card{ padding:26px 20px; flex-direction:column; gap:14px; }
    .store-reviews-score-wrap{ flex-direction:column; gap:8px; }
    .store-reviews-meta{ align-items:center; }
  }

  /* ---- Featured product spotlight — a single big enhanced card above the
     grid, set from the admin panel ("Feature at top of shop"). Meant to
     read as a step up from a regular product card: dark background, neon
     accents, badges, larger imagery. Only one product can be featured at a
     time (enforced in the admin), so this never competes with the grid. ---- */
  .featured-spotlight{
    display:grid; grid-template-columns:1fr 1fr; align-items:stretch; gap:0;
    background:var(--black); color:#fff; border-radius:20px; overflow:hidden;
    margin-bottom:36px; box-shadow:var(--shadow-md); position:relative;
    min-height:340px;
  }
  .fs-media{ position:relative; background:#0e0e0e; overflow:hidden; min-height:260px; }
  .fs-media .media-img{ object-fit:cover; }
  .fs-media::after{
    content:''; position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 40%);
    pointer-events:none;
  }
  .fs-info{ display:flex; flex-direction:column; justify-content:center; padding:38px 42px; gap:14px; }
  .fs-badges{ display:flex; gap:8px; flex-wrap:wrap; }
  .fs-badge{
    display:inline-flex; align-items:center; font-family:'Inter',sans-serif; font-size:0.66rem; font-weight:700;
    letter-spacing:0.05em; text-transform:uppercase; padding:6px 13px; border-radius:20px;
    background:var(--neon); color:#111;
  }
  .fs-badge-out{ background:rgba(255,255,255,0.14); color:#fff; }
  .fs-title{ font-family:'Poppins',sans-serif; font-weight:700; font-size:clamp(1.6rem,3vw,2.2rem); line-height:1.1; margin:0; color:#fff; }
  .fs-desc{ font-size:0.92rem; line-height:1.6; color:rgba(255,255,255,0.72); max-width:440px; margin:0; }
  .fs-price{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.5rem; color:var(--neon); }
  .fs-actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
  .fs-actions .btn-outline{ color:#fff; border-color:rgba(255,255,255,0.4); }
  .fs-actions .btn-outline:hover{ background:#fff; color:#111; border-color:#fff; }
  @media (max-width:820px){
    .featured-spotlight{ grid-template-columns:1fr; min-height:0; }
    .fs-media{ min-height:0; height:56vw; max-height:320px; }
    .fs-info{ padding:26px 24px 30px; }
  }

  @media (max-width:980px){
    .wrap{padding:0 22px;}
    .hero-grid{grid-template-columns:1fr; padding:44px 0 40px; gap:36px;}
    .hero-art{min-height:300px; order:-1; margin-bottom:22px;}
    .hero-media{max-width:280px; height:260px;}
    .hero-media-sm{max-width:170px; height:150px;}
    .product-grid{grid-template-columns:repeat(2,1fr); gap:14px;}
    .feature-grid{grid-template-columns:1fr; gap:14px;}
    .why-list{grid-template-columns:repeat(2,1fr); gap:14px;}
    .footer-grid{grid-template-columns:1fr 1fr; gap:26px;}
    section{padding:56px 0;}
    .about-grid{grid-template-columns:1fr;}
    .testi-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:720px){
    .nav-links{display:none;}
    .hamburger{display:block;}
    .search-input.open{width:130px;}
    nav .navbar{height:64px;}
    .wordmark{font-size:1.1rem;}
    .hero-lang-center{font-size:clamp(1.8rem,7vw,2.6rem); margin-bottom:16px;}
    .nav-actions .btn-sm{display:inline-flex; padding:8px 10px; font-size:0.7rem;}
    .nav-avatar-label{display:none;}
    .hero-cta-row{flex-direction:column; align-items:stretch;}
    .hero-cta-row .btn{width:100%;}
    .toolbar{flex-direction:column; align-items:stretch;}
    .tab-row{overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; -webkit-overflow-scrolling:touch;}
    .tab-row::-webkit-scrollbar{display:none;}
    .tab{flex-shrink:0;}
    .toolbar > div:last-child{display:flex; justify-content:space-between; align-items:center;}
    .sort-select{flex:1; max-width:190px;}
    .icon-btn{width:40px; height:40px;}
    .icon-btn svg{width:20px; height:20px;}
    .testi-grid{grid-template-columns:1fr;}
    /* 2-up product grid on tablets/large phones too */
    .product-grid{grid-template-columns:repeat(2,1fr); gap:12px;}
    .gender-toggle-sm .gender-opt{ padding:5px 10px; font-size:0.6rem; }
    .gender-toggle-hero .gender-opt{ padding:18px 42px; font-size:1.2rem; font-weight:800; }
  }
  @media (max-width:560px){
    .wrap{padding:0 16px;}
    /* Keep 2 products per row on phones instead of stacking to 1 */
    .product-grid{grid-template-columns:repeat(2,1fr); gap:10px;}
    .product-body{padding:12px;}
    .product-body h3{font-size:0.86rem;}
    .product-body .price{font-size:0.82rem;}
    .product-body p.desc{display:none;}
    .size-chip{width:auto; min-width:28px; height:28px; padding:0 6px; font-size:0.66rem;}
    .card-actions .btn{padding:11px 14px; font-size:0.72rem;}
    .why-list{grid-template-columns:1fr;}
    .footer-grid{grid-template-columns:1fr;}
    section{padding:48px 0;}
    .hero h1{letter-spacing:-0.02em;}
    .hero-sub{font-size:0.96rem;}
    .modal{padding:26px 20px; border-radius:14px;}
    .modal.wide{padding:22px 18px;}
    .drawer{width:100vw;}
    .drawer-head{padding:18px 18px;}
    .drawer-body{padding:14px 18px;}
    .drawer-foot{padding:16px 18px;}
    .field-row{grid-template-columns:1fr;}
    .label-panel{padding:22px 18px;}
    .feature-card{padding:22px 18px;}
    .feature-form{flex-direction:column; align-items:stretch;}
    .feature-form .btn{width:100%;}
    .account-dropdown{right:-10px; min-width:170px;}

    .toast{font-size:0.74rem; padding:11px 16px;}
    #toastContainer{left:14px; right:14px; bottom:14px; align-items:stretch;}
    .toast{width:100%;}
    .btn{padding:14px 20px; font-size:0.8rem;}

    .qty-stepper button{width:30px; height:34px; font-size:1rem;}
    .wish-btn{width:32px; height:32px;}
    .success-actions{flex-direction:column;}
    .back-to-top{right:14px; bottom:14px; width:40px; height:40px;}

    .overlay{align-items:flex-end; padding:0;}
    .modal{max-width:100%; width:100%; border-radius:20px 20px 0 0; border-bottom:none; padding:14px 20px 28px; max-height:92vh; animation:sheet-up .32s cubic-bezier(.2,.9,.3,1.1);}
    .modal.wide{max-width:100%; padding:14px 18px 24px;}
    .modal::before{content:''; display:block; width:40px; height:4px; background:var(--line); border-radius:4px; margin:2px auto 16px;}
    .modal .close{top:12px; right:14px;}
    @keyframes sheet-up{ from{transform:translateY(100%); opacity:0.4;} to{transform:translateY(0); opacity:1;} }

    /* My Orders stays a true full-screen takeover on mobile too, not a bottom sheet */
    .overlay.orders-overlay{ align-items:stretch; }
    .modal.orders-modal{ border-radius:0; animation:orders-in .3s ease; }
    .modal.orders-modal::before{ display:none; }
    .gender-toggle .gender-opt{ padding:6px 11px; font-size:0.64rem; }
  }
  @media (max-width:380px){
    .footer-grid{grid-template-columns:1fr;}
    .field-row{grid-template-columns:1fr;}
  }


  .hero-art-textonly{ padding-top:60px; }
  #plainLangText.hero-lang-center-big{ font-family:'Poppins',sans-serif; font-weight:700; margin-top:14px; }


#appRoot{opacity:0;}
#appRoot.content-ready{opacity:1; transition:opacity .6s ease;}

.page-loader{position:fixed; inset:0; z-index:99999; background:var(--paper); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:22px; transition:opacity .5s ease, visibility .5s ease;}
.page-loader.hide{opacity:0; visibility:hidden; pointer-events:none;}
html.tsp-loading, html.tsp-loading body{overflow:hidden; height:100%; overscroll-behavior:none;}
.loader-logo{font-family:'Poppins',sans-serif; font-weight:700; color:var(--black); font-size:1.4rem; letter-spacing:0; animation:loader-pulse 1.4s ease-in-out infinite;}
@keyframes loader-pulse{ 0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.55; transform:scale(0.96);} }
.loader-bar{width:160px; height:4px; background:var(--line); border-radius:4px; overflow:hidden;}
.loader-bar-fill{width:40%; height:100%; background:var(--neon-dark); border-radius:4px; animation:loader-bar-slide 1.1s ease-in-out infinite;}
@keyframes loader-bar-slide{ 0%{transform:translateX(-140%);} 100%{transform:translateX(360%);} }


.nav-actions .btn-sm{display:none;}
