/* ═══════════════════════════════════════════════════════
   ASTROGADGETS STORE — store.css
═══════════════════════════════════════════════════════ */

    /* ═══════════════════════════════════════════════════════
   ASTROGADGETS — WHITE GLASSMORPHISM
   Framer-inspired · Clean · Light · Premium
═══════════════════════════════════════════════════════ */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    :root {
      --white: #ffffff;
      --bg: #f4ede4;
      --bg2: #eee4d8;
      --surface: rgba(249, 243, 235, 0.85);
      --surface2: rgba(234, 223, 206, 0.68);
      --surface3: rgba(249, 243, 235, 0.96);

      /* Glass */
      --glass: rgba(249, 243, 235, 0.72);
      --glass2: rgba(249, 243, 235, 0.86);
      --glass3: rgba(249, 243, 235, 0.95);
      --glass-border: rgba(255, 255, 255, 0.75);
      --glass-border2: rgba(17, 17, 17, 0.18);
      --glass-dark: rgba(234, 223, 206, 0.6);

      /* Accents */
      --accent: #8b5e3c;
      --accent2: #a47148;
      --accent3: #70492f;
      --accent-soft: rgba(139, 94, 60, 0.12);
      --accent-glow: rgba(139, 94, 60, 0.28);
      --cyan: #2f7a6d;
      --red: #b04242;
      --amber: #b7791f;
      --green: #2f8f57;

      /* Text */
      --text: #111111;
      --text2: #3f3a34;
      --text3: #6a6258;
      --text-inv: #ffffff;

      /* Shadows */
      --shadow-sm: 0 2px 8px rgba(17, 17, 17, 0.06);
      --shadow: 0 8px 32px rgba(17, 17, 17, 0.1);
      --shadow-lg: 0 20px 60px rgba(17, 17, 17, 0.14);
      --shadow-accent: 0 8px 32px rgba(139, 94, 60, 0.24);

      /* Fonts */
      --font-display: 'Inter', sans-serif;
      --font-body: 'Inter', sans-serif;
      --ease: cubic-bezier(0.23, 1, 0.32, 1);
    }

    html {
      scroll-behavior: smooth
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-body);
      font-weight: 400;
      line-height: 1.6;
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* ── BACKGROUND BLOBS ─────────────────────────────── */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background:
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(139, 94, 60, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 15%, rgba(47, 122, 109, 0.09) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 70% 85%, rgba(139, 94, 60, 0.09) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 20% 80%, rgba(47, 122, 109, 0.06) 0%, transparent 60%);
    }

    body::after {
      content: '';
      position: fixed;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      background-image: radial-gradient(rgba(139, 94, 60, 0.08) 1px, transparent 1px);
      background-size: 28px 28px;
      mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    }

    /* ── SCROLL PROGRESS ─────────────────────────────── */
    #scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 2px;
      z-index: 2000;
      background: linear-gradient(90deg, var(--accent), var(--cyan));
      transition: width 0.08s linear;
      box-shadow: 0 0 8px var(--accent-glow);
    }

    /* ═══════════════════════════════════════════════════
   ASTRO HEADER — Framework-style modular grid
═══════════════════════════════════════════════════ */
    .astro-header {
      position: fixed; top: 0; left: 0; right: 0; height: 68px;
      background: #121212; z-index: 500;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Inter', var(--font-body);
      transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
    }
    .astro-header.scrolled {
      background: rgba(18,18,18,0.95);
      box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    }

    .astro-header-grid {
      display: flex; width: 100%; height: calc(100% - 12px);
      max-width: 1400px; padding: 0 0.5rem; gap: 6px;
    }
    .astro-header-cell {
      display: flex; align-items: center;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px; background: rgba(255,255,255,0.03);
      transition: background 0.2s ease;
    }
    .astro-header-cell:hover { background: rgba(255,255,255,0.05); }

    .astro-header-left { flex: 0 0 auto; padding: 0 1.2rem; gap: 1rem; }
    .astro-header-center { flex: 1; justify-content: center; padding: 0 1rem; }
    .astro-header-right { flex: 0 0 auto; padding: 0 1rem; justify-content: center; }

    /* ── HAMBURGER MORPH ────────────────────────── */
    .astro-hamburger {
      width: 28px; height: 20px; display: flex; flex-direction: column;
      justify-content: space-between; background: none; border: none;
      cursor: pointer; padding: 0; flex-shrink: 0;
    }
    .h-line {
      display: block; width: 100%; height: 2px; background: #fff;
      border-radius: 1px; transition: all 0.35s cubic-bezier(0.77,0,0.175,1);
      transform-origin: center;
    }
    .astro-hamburger.open .h-line-1 { transform: translateY(9px) rotate(45deg); }
    .astro-hamburger.open .h-line-2 { opacity: 0; transform: scaleX(0); }
    .astro-hamburger.open .h-line-3 { transform: translateY(-9px) rotate(-45deg); }

    /* ── LOGO ───────────────────────────────────── */
    .astro-logo {
      color: #fff; font-family: 'Inter', var(--font-display);
      font-size: 1.25rem; font-weight: 800; letter-spacing: 3px;
      text-decoration: none; white-space: nowrap;
    }

    /* ── SEARCH (in center cell) ────────────────── */
    .astro-search { position: relative; width: 100%; max-width: 480px; }
    .astro-search-icon {
      position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
      color: rgba(255,255,255,0.35); pointer-events: none;
    }
    .astro-search input {
      width: 100%; padding: 0.5rem 1rem 0.5rem 2.2rem;
      background: transparent; border: none;
      border-radius: 8px; color: #fff; font-size: 0.82rem;
      font-family: inherit; outline: none;
      transition: all 0.25s var(--ease);
    }
    .astro-search input::placeholder { color: rgba(255,255,255,0.3); }
    .astro-search input:focus {
      background: transparent;
      border-color: transparent;
      box-shadow: none;
    }
    .astro-header-center:focus-within {
      background: rgba(255,255,255,0.07);
      border-color: rgba(255,255,255,0.2);
      box-shadow: 0 0 0 2px rgba(91,78,248,0.15);
    }

    /* Search dropdown (inherits existing styles, overrides for dark header context) */
    .search-results {
      position: absolute; top: calc(100% + 6px); left: 0; right: 0;
      background: var(--glass3); border: 1px solid var(--glass-border2);
      border-radius: 12px; backdrop-filter: blur(24px);
      box-shadow: var(--shadow-lg); overflow: hidden; z-index: 600; display: none;
    }
    .search-results.open { display: block; }
    .search-result-item {
      display: flex; align-items: center; gap: 0.8rem;
      padding: 0.75rem 1rem; cursor: pointer; transition: background 0.15s;
      border-bottom: 1px solid rgba(200,205,230,0.3);
    }
    .search-result-item:last-child { border-bottom: none; }
    .search-result-item:hover { background: rgba(91,78,248,0.06); }
    .search-result-img {
      width: 40px; height: 40px; border-radius: 8px;
      object-fit: cover; flex-shrink: 0; border: 1px solid var(--glass-border2);
    }
    .search-result-name { font-size: 0.84rem; font-weight: 600; color: var(--text); }
    .search-result-price { font-size: 0.78rem; color: var(--accent); font-weight: 600; }
    .search-no-results { padding: 1.2rem; text-align: center; color: var(--text3); font-size: 0.84rem; }

    /* ── CART BUTTON + BADGE ────────────────────── */
    .astro-cart-btn {
      background: none; border: none; color: #fff; cursor: pointer;
      position: relative; display: flex; align-items: center;
      justify-content: center; padding: 6px;
    }
    .astro-cart-svg { width: 22px; height: 22px; transition: transform 0.3s var(--ease); }
    .astro-cart-badge {
      position: absolute; top: -4px; right: -6px;
      background: #f04060; color: #fff; font-size: 0.6rem; font-weight: 700;
      height: 18px; min-width: 18px; border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      padding: 0 4px; border: 2px solid #121212;
      transition: transform 0.3s var(--ease);
    }
    @keyframes cartBounce {
      0%   { transform: scale(1); }
      40%  { transform: scale(1.35) rotate(-4deg); }
      70%  { transform: scale(0.9) rotate(2deg); }
      100% { transform: scale(1) rotate(0); }
    }
    .astro-cart-btn.animate-cart .astro-cart-svg {
      animation: cartBounce 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
    }
    @keyframes badgeGlow {
      0%   { box-shadow: 0 0 0 0 rgba(240,64,96,0.6); }
      100% { box-shadow: 0 0 0 8px rgba(240,64,96,0); }
    }
    .astro-cart-btn.animate-cart .astro-cart-badge {
      animation: badgeGlow 0.6s ease-out;
    }

    /* Legacy compat — keep topbar-logo-dot for sidebar */
    .topbar-logo-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: linear-gradient(135deg, var(--accent), var(--cyan));
      box-shadow: 0 0 10px var(--accent-glow); flex-shrink: 0;
    }

    /* ── HAMBURGER BUTTON ──────────────────────── */
    .hamburger-btn {
      display: flex; flex-direction: column; justify-content: center;
      gap: 5px; width: 38px; height: 38px; background: none;
      border: none; cursor: pointer; padding: 6px; flex-shrink: 0;
      border-radius: 8px; transition: background 0.2s;
    }
    .hamburger-btn:hover { background: rgba(91,78,248,0.08); }
    .hamburger-btn span {
      display: block; width: 22px; height: 2px;
      background: #1a1a2e; border-radius: 2px;
      transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
      transform-origin: center;
    }
    .hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ── SMART SIDEBAR ──────────────────────────── */
    .smart-sidebar {
      position: fixed; top: 0; left: 0; bottom: 0;
      width: 320px; max-width: 88vw;
      background: #fff; z-index: 1000;
      transform: translateX(-100%);
      transition: transform 0.35s cubic-bezier(0.23,1,0.32,1);
      overflow-y: auto; display: flex; flex-direction: column;
      box-shadow: 4px 0 40px rgba(0,0,0,0.12);
      pointer-events: none;
    }
    .smart-sidebar.open { transform: translateX(0); pointer-events: auto; }
    .smart-sidebar::-webkit-scrollbar { width: 4px; }
    .smart-sidebar::-webkit-scrollbar-thumb { background: #eee; border-radius: 2px; }

    .sb-cat-item { border-bottom: 1px solid #f0f0f8; }
    .sb-cat-btn {
      width: 100%; display: flex; align-items: center;
      justify-content: space-between; padding: 12px 20px;
      background: none; border: none; cursor: pointer;
      font-size: 0.9rem; font-weight: 600; color: #1a1a2e;
      font-family: inherit; transition: background 0.15s; text-align: left;
    }
    .sb-cat-btn:hover { background: rgba(91,78,248,0.05); }
    .sb-arrow {
      font-size: 1.1rem; color: #9090b8;
      transition: transform 0.25s; display: inline-block;
    }
    .sb-arrow.open { transform: rotate(90deg); }
    .sb-cat-sub {
      display: none; flex-direction: column;
      background: #fafafa; border-top: 1px solid #f0f0f8;
    }
    .sb-cat-sub.open { display: flex; }
    .sb-cat-sub a {
      padding: 10px 20px 10px 36px;
      font-size: 0.83rem; color: #5a5a80; cursor: pointer;
      transition: all 0.15s; text-decoration: none; display: block;
      border-bottom: 1px solid #f5f5fa;
    }
    .sb-cat-sub a:hover { color: #5b4ef8; background: rgba(91,78,248,0.04); padding-left: 42px; }
    .sb-cat-sub a:last-child { color: #5b4ef8; font-weight: 600; }

    .sb-link {
      display: flex; align-items: center; gap: 10px;
      padding: 11px 20px; font-size: 0.88rem; color: #3a3a5c;
      cursor: pointer; transition: all 0.15s; text-decoration: none;
      font-weight: 500; border-bottom: 1px solid #f5f5fa;
    }
    .sb-link:hover { background: rgba(91,78,248,0.05); color: #5b4ef8; padding-left: 26px; }

    .sb-early-access {
      background: linear-gradient(135deg, rgba(91,78,248,0.06), rgba(0,201,188,0.06));
      border: 1px solid rgba(91,78,248,0.15);
      border-radius: 12px; padding: 14px; margin: 0 16px 8px;
    }
    .sb-ea-title { font-size: 0.9rem; font-weight: 700; color: #1a1a2e; margin-bottom: 4px; }
    .sb-ea-sub { font-size: 0.75rem; color: #9090b8; margin-bottom: 10px; }
    .sb-early-access input {
      width: 100%; padding: 8px 12px; border: 1px solid #e0e0f0;
      border-radius: 8px; font-size: 0.82rem; font-family: inherit;
      outline: none; margin-bottom: 8px; color: #1a1a2e;
    }
    .sb-early-access input:focus { border-color: #5b4ef8; }
    .sb-early-access button {
      width: 100%; background: linear-gradient(135deg, #5b4ef8, #7c6cfc);
      color: #fff; border: none; border-radius: 8px; padding: 9px;
      font-size: 0.83rem; font-weight: 700; cursor: pointer;
      font-family: inherit; transition: opacity 0.2s;
    }
    .sb-early-access button:hover { opacity: 0.88; }

    /* Sidebar toggle (hamburger) */
    .sidebar-toggle {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: var(--glass2);
      border: 1px solid var(--glass-border2);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4.5px;
      transition: all 0.25s var(--ease);
      flex-shrink: 0;
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .sidebar-toggle:hover {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: var(--shadow)
    }

    .sidebar-toggle span {
      display: block;
      width: 15px;
      height: 1.5px;
      background: var(--text2);
      border-radius: 2px;
      transition: all 0.3s var(--ease);
    }

    .sidebar-toggle.open span:nth-child(1) {
      transform: translateY(6px) rotate(45deg);
      background: var(--accent)
    }

    .sidebar-toggle.open span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0)
    }

    .sidebar-toggle.open span:nth-child(3) {
      transform: translateY(-6px) rotate(-45deg);
      background: var(--accent)
    }

    /* ═══════════════════════════════════════════════════
   SIDEBAR PANEL
═══════════════════════════════════════════════════ */
    .sidebar-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 15, 35, 0.2);
      z-index: 598;
      backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s var(--ease);
    }

    .sidebar-overlay.open {
      opacity: 1;
      pointer-events: all
    }

    .sidebar {
      position: fixed;
      right: 0;
      top: 0;
      bottom: 0;
      width: min(340px, 90vw);
      background: rgba(248, 249, 255, 0.92);
      backdrop-filter: blur(40px) saturate(180%);
      -webkit-backdrop-filter: blur(40px) saturate(180%);
      border-left: 1px solid var(--glass-border2);
      box-shadow: -20px 0 60px rgba(15, 15, 35, 0.12);
      z-index: 599;
      transform: translateX(100%);
      transition: transform 0.4s var(--ease);
      display: flex;
      flex-direction: column;
      overflow-y: auto;
    }

    .sidebar.open {
      transform: translateX(0)
    }

    .sidebar-head {
      padding: 1.2rem 1.5rem;
      border-bottom: 1px solid rgba(200, 205, 230, 0.4);
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 0;
      background: rgba(248, 249, 255, 0.95);
      backdrop-filter: blur(20px);
      z-index: 2;
    }

    .sidebar-brand {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1rem;
      color: var(--text);
      letter-spacing: -0.3px
    }

    .sidebar-close {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: rgba(200, 205, 230, 0.3);
      border: none;
      color: var(--text2);
      cursor: pointer;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .sidebar-close:hover {
      background: rgba(91, 78, 248, 0.1);
      color: var(--accent)
    }

    /* Sidebar sections */
    .sidebar-section {
      padding: 1.2rem 1.5rem;
      border-bottom: 1px solid rgba(200, 205, 230, 0.3)
    }

    .sidebar-section-label {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 0.8rem;
    }

    /* Nav links in sidebar */
    .sidebar-nav-link {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.7rem 0.8rem;
      border-radius: 10px;
      color: var(--text2);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 500;
      transition: all 0.2s var(--ease);
      margin-bottom: 0.2rem;
      cursor: pointer;
    }

    .sidebar-nav-link:hover {
      background: rgba(91, 78, 248, 0.07);
      color: var(--accent)
    }

    .sidebar-nav-link .sn-left {
      display: flex;
      align-items: center;
      gap: 0.7rem
    }

    .sidebar-nav-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: rgba(91, 78, 248, 0.08);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      flex-shrink: 0;
    }

    .sidebar-nav-link:hover .sidebar-nav-icon {
      background: rgba(91, 78, 248, 0.15)
    }

    .sn-arrow {
      font-size: 0.7rem;
      color: var(--text3)
    }

    /* Sidebar product quick picks */
    .sidebar-product {
      display: flex;
      align-items: center;
      gap: 0.8rem;
      padding: 0.6rem 0;
      border-bottom: 1px solid rgba(200, 205, 230, 0.25);
      cursor: pointer;
      transition: all 0.2s;
    }

    .sidebar-product:last-child {
      border-bottom: none
    }

    .sidebar-product:hover {
      opacity: 0.75
    }

    .sidebar-product img {
      width: 44px;
      height: 44px;
      border-radius: 8px;
      object-fit: cover;
      border: 1px solid var(--glass-border2);
      flex-shrink: 0
    }

    .sidebar-product-name {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.15rem
    }

    .sidebar-product-price {
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 700
    }

    /* Sidebar trust badges */
    .sidebar-trust {
      display: flex;
      flex-direction: column;
      gap: 0.5rem
    }

    .sidebar-trust-item {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.8rem;
      color: var(--text2);
    }

    .sidebar-trust-icon {
      font-size: 1rem;
      flex-shrink: 0
    }

    .sidebar-wa-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      margin: 1.5rem;
      padding: 0.85rem;
      background: rgba(37, 211, 102, 0.08);
      border: 1px solid rgba(37, 211, 102, 0.25);
      border-radius: 12px;
      color: #16a34a;
      font-size: 0.83rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.25s var(--ease);
    }

    .sidebar-wa-btn:hover {
      background: rgba(37, 211, 102, 0.14);
      box-shadow: 0 4px 20px rgba(37, 211, 102, 0.15)
    }

    /* ═══════════════════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════════════════ */
    main {
      padding-top: 68px;
      position: relative;
      z-index: 1
    }

    /* ── HERO ─────────────────────────────────────────── */
    .hero {
      padding: 5rem 2rem 4rem;
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
      min-height: calc(100vh - 70px);
    }

    @media(max-width:768px) {
      .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.2rem;
        min-height: auto;
        gap: 2rem
      }
    }

    .hero-left {}

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--accent-soft);
      border: 1px solid rgba(91, 78, 248, 0.2);
      color: var(--accent);
      padding: 0.35rem 1rem;
      border-radius: 50px;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }

    .eyebrow-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      animation: pulse-dot 1.8s infinite
    }

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
        transform: scale(1)
      }

      50% {
        opacity: 0.4;
        transform: scale(0.7)
      }
    }

    .hero-h1 {
      font-family: var(--font-display);
      font-size: clamp(2.4rem, 5vw, 4rem);
      font-weight: 700;
      line-height: 1.08;
      letter-spacing: -1.5px;
      color: var(--text);
      margin-bottom: 1.2rem;
    }

    .hero-h1 .accent-word {
      color: var(--accent);
      position: relative;
      display: inline-block;
    }

    .hero-h1 .accent-word::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--accent), var(--cyan));
      border-radius: 2px;
    }

    .hero-sub {
      font-size: 1rem;
      color: var(--text2);
      line-height: 1.75;
      max-width: 460px;
      margin-bottom: 2rem;
      font-weight: 400;
    }

    .hero-ctas {
      display: flex;
      gap: 0.8rem;
      flex-wrap: wrap;
      margin-bottom: 2.5rem
    }

    .btn-primary {
      position: relative;
      overflow: hidden;
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 0.85rem 2rem;
      border-radius: 12px;
      font-size: 0.88rem;
      font-family: var(--font-body);
      font-weight: 700;
      letter-spacing: 0.3px;
      cursor: pointer;
      transition: all 0.3s var(--ease);
      box-shadow: var(--shadow-accent);
    }

    .btn-primary::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, transparent 25%, rgba(255, 255, 255, 0.15) 50%, transparent 75%);
      transform: translateX(-100%);
      transition: transform 0.5s var(--ease);
    }

    .btn-primary:hover {
      background: var(--accent3);
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(91, 78, 248, 0.4)
    }

    .btn-primary:hover::before {
      transform: translateX(100%)
    }

    .btn-primary:active {
      transform: translateY(0) scale(0.97)
    }

    .btn-secondary {
      position: relative;
      overflow: hidden;
      background: var(--glass2);
      color: var(--text);
      border: 1px solid var(--glass-border2);
      padding: 0.85rem 2rem;
      border-radius: 12px;
      font-size: 0.88rem;
      font-family: var(--font-body);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s var(--ease);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.95);
      box-shadow: var(--shadow);
      transform: translateY(-2px)
    }

    .btn-secondary:active {
      transform: scale(0.97)
    }

    /* Hero stats */
    .hero-stats {
      display: flex;
      gap: 2rem;
      flex-wrap: wrap
    }

    .hero-stat {}

    .hero-stat-n {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--text);
      letter-spacing: -0.5px
    }

    .hero-stat-n em {
      color: var(--accent);
      font-style: normal
    }

    .hero-stat-l {
      font-size: 0.72rem;
      color: var(--text3);
      text-transform: uppercase;
      letter-spacing: 1.5px;
      margin-top: 0.1rem
    }

    /* Hero right - featured product card */
    .hero-right {
      position: relative
    }

    .hero-card {
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 24px;
      padding: 2rem;
      backdrop-filter: blur(20px);
      box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
      position: relative;
      overflow: hidden;
    }

    .hero-card::before {
      content: '';
      position: absolute;
      top: -60px;
      right: -60px;
      width: 200px;
      height: 200px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(91, 78, 248, 0.1), transparent 70%);
      pointer-events: none;
    }

    .hero-card-img {
      width: 100%;
      height: 240px;
      border-radius: 16px;
      object-fit: cover;
      margin-bottom: 1.2rem;
      box-shadow: 0 8px 24px rgba(15, 15, 35, 0.12);
    }

    .hero-card-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(16, 185, 129, 0.1);
      border: 1px solid rgba(16, 185, 129, 0.25);
      color: var(--green);
      padding: 0.3rem 0.8rem;
      border-radius: 50px;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 0.8rem;
    }

    .hero-card-name {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
      color: var(--text)
    }

    .hero-card-price {
      font-size: 1.4rem;
      font-weight: 800;
      color: var(--accent);
      font-family: var(--font-display);
      margin-bottom: 1rem
    }

    .hero-card-btn {
      width: 100%;
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 0.8rem;
      border-radius: 10px;
      font-family: var(--font-body);
      font-size: 0.85rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-accent)
    }

    .hero-card-btn:hover {
      background: var(--accent3);
      transform: translateY(-1px)
    }

    .hero-card-btn:active {
      transform: scale(0.97)
    }

    /* Floating badges on hero card */
    .hero-float-badge {
      position: absolute;
      background: var(--glass3);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      padding: 0.5rem 0.8rem;
      backdrop-filter: blur(12px);
      box-shadow: var(--shadow);
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text);
      white-space: nowrap;
    }

    .hero-float-badge.rating {
      top: 1.5rem;
      left: -1.5rem;
      display: flex;
      align-items: center;
      gap: 0.4rem
    }

    .hero-float-badge.delivery {
      bottom: 5rem;
      left: -2rem;
      display: flex;
      align-items: center;
      gap: 0.4rem
    }

    @media(max-width:768px) {
      .hero-float-badge {
        display: none
      }
    }

    /* ── MARQUEE ─────────────────────────────────────── */
    .marquee-wrap {
      border-top: 1px solid rgba(200, 205, 230, 0.4);
      border-bottom: 1px solid rgba(200, 205, 230, 0.4);
      background: var(--glass2);
      overflow: hidden;
      padding: 0.75rem 0;
      backdrop-filter: blur(8px);
      position: relative;
      z-index: 1;
    }

    .marquee-track {
      display: flex;
      gap: 0;
      animation: marquee 28s linear infinite;
      width: max-content
    }

    .marquee-item {
      font-size: 0.7rem;
      letter-spacing: 2.5px;
      text-transform: uppercase;
      color: var(--text3);
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 1.5rem;
      padding: 0 1.5rem;
      font-weight: 600;
    }

    .m-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      opacity: 0.6
    }

    @keyframes marquee {
      from {
        transform: translateX(0)
      }

      to {
        transform: translateX(-50%)
      }
    }

    /* ── SECTION COMMONS ─────────────────────────────── */
    .section {
      padding: 5rem 2rem;
      max-width: 1200px;
      margin: 0 auto;
      position: relative;
      z-index: 1
    }

    .section-label {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.6rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .section-label::before {
      content: '';
      width: 20px;
      height: 2px;
      background: var(--accent);
      border-radius: 2px
    }

    .section-h2 {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 700;
      letter-spacing: -0.8px;
      line-height: 1.15;
      color: var(--text);
    }

    .section-h2 .dim {
      color: var(--text3)
    }

    .section-intro {
      margin-bottom: 3rem
    }

    /* ── CATEGORY PILLS ──────────────────────────────── */
    .category-pills {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-top: 1.2rem;
    }

    .cat-pill {
      padding: 0.4rem 1.1rem;
      border-radius: 50px;
      font-size: 0.78rem;
      font-weight: 600;
      cursor: pointer;
      border: 1px solid var(--glass-border2);
      background: var(--glass2);
      color: var(--text2);
      transition: all 0.2s var(--ease);
      box-shadow: var(--shadow-sm);
    }

    .cat-pill:hover,
    .cat-pill.active {
      background: var(--accent);
      color: #fff;
      border-color: var(--accent);
      box-shadow: var(--shadow-accent);
    }

    /* ── PRODUCTS GRID ───────────────────────────────── */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 1.2rem;
    }

    .badge-top {
      background: rgba(245, 158, 11, 0.1);
      border: 1px solid rgba(245, 158, 11, 0.25);
      color: var(--amber)
    }

    .badge-pre-order {
      background: rgba(245, 158, 11, 0.15);
      border: 1px solid rgba(245, 158, 11, 0.4);
      color: var(--amber);
    }

    .product-card.is-pre-order {
      border-color: rgba(245, 158, 11, 0.25);
      background: linear-gradient(180deg, var(--glass2), rgba(245, 158, 11, 0.03));
    }

    .product-card.is-pre-order:hover {
      border-color: rgba(245, 158, 11, 0.4);
      box-shadow: var(--shadow-lg), 0 0 0 1px rgba(245, 158, 11, 0.1);
    }

    /* PDP & Cart Pre-order Notices */
    .pdp-preorder-note {
      background: rgba(245, 158, 11, 0.08);
      border: 1px solid rgba(245, 158, 11, 0.25);
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1.5rem;
      font-size: 0.82rem;
      color: var(--amber);
      line-height: 1.6;
      display: flex;
      gap: 0.7rem;
      align-items: flex-start;
    }

    .cart-preorder-note {
      background: rgba(245, 158, 11, 0.08);
      border-bottom: 1px solid rgba(245, 158, 11, 0.15);
      padding: 0.8rem 1.2rem;
      font-size: 0.75rem;
      color: var(--amber);
      line-height: 1.5;
      display: flex;
      gap: 0.6rem;
      align-items: center;
    }

    .product-card {
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      overflow: hidden;
      transition: all 0.35s var(--ease);
      cursor: pointer;
      position: relative;
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91, 78, 248, 0.1);
      border-color: rgba(91, 78, 248, 0.2);
      background: rgba(255, 255, 255, 0.88);
    }

    .product-img-wrap {
      height: 200px;
      overflow: hidden;
      position: relative;
      background: #f5f5ff
    }

    .product-real-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s var(--ease)
    }

    .product-card:hover .product-real-img {
      transform: scale(1.07)
    }

    .product-badge {
      position: absolute;
      top: 0.8rem;
      left: 0.8rem;
      z-index: 2;
      padding: 0.25rem 0.7rem;
      border-radius: 50px;
      font-size: 0.62rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-weight: 700;
      backdrop-filter: blur(8px);
    }

    .badge-best {
      background: rgba(91, 78, 248, 0.12);
      border: 1px solid rgba(91, 78, 248, 0.25);
      color: var(--accent)
    }

    .badge-new {
      background: rgba(0, 201, 188, 0.1);
      border: 1px solid rgba(0, 201, 188, 0.3);
      color: var(--cyan)
    }

    .badge-limited {
      background: rgba(240, 64, 96, 0.1);
      border: 1px solid rgba(240, 64, 96, 0.25);
      color: var(--red)
    }

    .badge-top {
      background: rgba(245, 158, 11, 0.1);
      border: 1px solid rgba(245, 158, 11, 0.25);
      color: var(--amber)
    }

    .product-scarcity {
      position: absolute;
      bottom: 0.6rem;
      right: 0.8rem;
      z-index: 2;
      font-size: 0.62rem;
      color: var(--red);
      letter-spacing: 0.5px;
      display: flex;
      align-items: center;
      gap: 0.3rem;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.8);
      padding: 0.2rem 0.5rem;
      border-radius: 50px;
      backdrop-filter: blur(4px);
    }

    .scarcity-dot {
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--red);
      animation: blink 1.2s infinite
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: 0.2
      }
    }

    .product-info {
      padding: 1.1rem 1.2rem 1.3rem
    }

    .product-rating {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin-bottom: 0.4rem
    }

    .p-stars {
      color: var(--amber);
      font-size: 0.72rem
    }

    .p-rcount {
      font-size: 0.68rem;
      color: var(--text3)
    }

    .product-name {
      font-family: var(--font-display);
      font-size: 0.9rem;
      font-weight: 700;
      margin-bottom: 0.35rem;
      color: var(--text)
    }

    .product-desc {
      font-size: 0.76rem;
      color: var(--text2);
      line-height: 1.55;
      margin-bottom: 0.7rem
    }

    .product-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem
    }

    .product-price {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 800;
      color: var(--text)
    }

    .price-currency {
      font-size: 0.65rem;
      color: var(--text3);
      font-weight: 400
    }

    .product-btns {
      display: flex;
      gap: 0.4rem
    }

    .btn-quickview {
      background: rgba(91, 78, 248, 0.06);
      border: 1px solid rgba(91, 78, 248, 0.18);
      color: var(--accent);
      padding: 0.4rem 0.75rem;
      border-radius: 8px;
      font-size: 0.68rem;
      cursor: pointer;
      font-family: var(--font-body);
      font-weight: 600;
      transition: all 0.2s var(--ease);
    }

    .btn-quickview:hover {
      background: rgba(91, 78, 248, 0.12);
      box-shadow: 0 0 0 1px rgba(91, 78, 248, 0.2)
    }

    .btn-addcart {
      background: var(--accent);
      border: none;
      color: #fff;
      padding: 0.4rem 0.9rem;
      border-radius: 8px;
      font-size: 0.68rem;
      cursor: pointer;
      font-family: var(--font-body);
      font-weight: 700;
      transition: all 0.2s var(--ease);
      box-shadow: 0 2px 8px rgba(91, 78, 248, 0.3);
    }

    .btn-addcart:hover {
      background: var(--accent3);
      box-shadow: 0 4px 16px rgba(91, 78, 248, 0.4);
      transform: translateY(-1px)
    }

    .btn-addcart:active {
      transform: scale(0.95)
    }

    .btn-addcart.added {
      background: var(--green)
    }

    /* ── PROMO COUNTDOWN ─────────────────────────────── */
    .promo-bar {
      background: var(--glass);
      border-radius: 16px;
      border: 1px solid rgba(91, 78, 248, 0.15);
      padding: 1.2rem 1.5rem;
      margin-bottom: 3rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
      flex-wrap: wrap;
      box-shadow: var(--shadow-sm);
      backdrop-filter: blur(12px);
    }

    .promo-text {
      font-size: 0.85rem;
      color: var(--text2);
      font-weight: 500
    }

    .promo-text strong {
      color: var(--accent)
    }

    .countdown {
      display: flex;
      gap: 0.4rem;
      align-items: center
    }

    .cd-block {
      background: rgba(91, 78, 248, 0.06);
      border: 1px solid rgba(91, 78, 248, 0.15);
      border-radius: 8px;
      padding: 0.35rem 0.7rem;
      text-align: center;
      min-width: 46px;
    }

    .cd-num {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--accent);
      display: block
    }

    .cd-label {
      font-size: 0.5rem;
      color: var(--text3);
      text-transform: uppercase;
      letter-spacing: 1px
    }

    .cd-sep {
      font-family: var(--font-display);
      font-size: 1rem;
      color: var(--text3)
    }

    /* ── BUNDLES ─────────────────────────────────────── */
    /* ── HOT NOW — new font ─────────────────────────────── */
    .hot-now-heading {
      font-family: 'Playfair Display', Georgia, serif !important;
      font-style: italic;
      font-weight: 700;
    }

    /* ── PEAK DESIGN–STYLE BUNDLE SECTION ───────────────── */
    .pd-section-header {
      margin-bottom: 2rem;
    }

    .pd-section-title {
      font-family: var(--font-display);
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      color: var(--text);
      line-height: 1.15;
      letter-spacing: -0.02em;
    }

    .pd-section-title em {
      font-style: italic;
      color: var(--accent);
    }

    .bundles-wrap {
      background: rgba(255, 255, 255, 0.5);
      border-top: 1px solid rgba(200, 205, 230, 0.4);
      border-bottom: 1px solid rgba(200, 205, 230, 0.4);
      backdrop-filter: blur(12px)
    }

    .bundles-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.2rem;
    }

    /* ── PEAK DESIGN BUNDLE CARD ─────────────────────────── */
    .pd-bundle-card {
      border-radius: 16px;
      overflow: hidden;
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
      display: flex;
      flex-direction: column;
    }

    .pd-bundle-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }

    .pd-bundle-img-wrap {
      position: relative;
      width: 100%;
      aspect-ratio: 4/3;
      background: rgba(200, 205, 230, 0.18);
      overflow: hidden;
    }

    .pd-bundle-hero-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s var(--ease);
    }

    .pd-bundle-card:hover .pd-bundle-hero-img {
      transform: scale(1.04);
    }

    .pd-bundle-img-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, rgba(200,205,230,0.3), rgba(200,205,230,0.1));
    }

    .pd-bundle-tag {
      position: absolute;
      top: 12px;
      left: 12px;
      background: rgba(0,0,0,0.72);
      color: #fff;
      font-size: 0.6rem;
      font-weight: 700;
      letter-spacing: 1.2px;
      text-transform: uppercase;
      padding: 0.28rem 0.65rem;
      border-radius: 50px;
      backdrop-filter: blur(8px);
    }

    .pd-bundle-thumbs {
      position: absolute;
      bottom: 10px;
      right: 10px;
      display: flex;
      gap: 6px;
    }

    .pd-bundle-thumb {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      overflow: hidden;
      border: 2px solid rgba(255,255,255,0.85);
      background: rgba(255,255,255,0.9);
      box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    }

    .pd-bundle-thumb img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .pd-bundle-body {
      padding: 1.1rem 1.2rem 1.2rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .pd-bundle-name {
      font-family: var(--font-display);
      font-size: 0.92rem;
      font-weight: 700;
      color: var(--text);
      margin-bottom: 0.35rem;
      line-height: 1.3;
    }

    .pd-bundle-desc {
      font-size: 0.75rem;
      color: var(--text2);
      line-height: 1.6;
      margin-bottom: 1rem;
      flex: 1;
    }

    .pd-bundle-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.6rem;
      flex-wrap: wrap;
    }

    .pd-bundle-pricing {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .pd-bundle-price {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 800;
      color: var(--accent);
    }

    .pd-bundle-orig {
      font-size: 0.72rem;
      color: var(--text3);
      text-decoration: line-through;
    }

    .pd-bundle-save {
      background: rgba(16, 185, 129, 0.1);
      color: var(--green);
      padding: 0.15rem 0.48rem;
      border-radius: 50px;
      font-size: 0.62rem;
      font-weight: 700;
      border: 1px solid rgba(16, 185, 129, 0.2);
    }

    .pd-bundle-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: var(--text);
      color: var(--bg);
      border: none;
      border-radius: 50px;
      padding: 0.5rem 1rem;
      font-size: 0.72rem;
      font-weight: 700;
      cursor: pointer;
      letter-spacing: 0.3px;
      transition: opacity 0.2s, transform 0.2s;
      white-space: nowrap;
    }

    .pd-bundle-btn:hover {
      opacity: 0.82;
      transform: scale(1.03);
    }

    .bundles-grid @media (max-width:900px) {
      grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 900px) {
      .bundles-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 540px) {
      .bundles-grid {
        grid-template-columns: 1fr;
      }
      .pd-section-title {
        font-size: 1.4rem;
      }
    }



    .bundle-card {
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 20px;
      padding: 1.5rem;
      transition: all 0.35s var(--ease);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .bundle-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent), var(--cyan));
    }

    .bundle-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
      border-color: rgba(91, 78, 248, 0.2)
    }

    .bundle-tag {
      background: rgba(0, 201, 188, 0.1);
      border: 1px solid rgba(0, 201, 188, 0.25);
      color: var(--cyan);
      padding: 0.25rem 0.7rem;
      border-radius: 50px;
      font-size: 0.62rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      display: inline-block;
      margin-bottom: 0.8rem;
    }

    .bundle-items {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin: 0.8rem 0;
      flex-wrap: wrap
    }

    .bundle-item-img {
      width: 48px;
      height: 48px;
      border-radius: 8px;
      background: rgba(200, 205, 230, 0.3);
      border: 1px solid var(--glass-border2);
      overflow: hidden;
      flex-shrink: 0
    }

    .bundle-item-img img {
      width: 100%;
      height: 100%;
      object-fit: cover
    }

    .bundle-plus {
      color: var(--text3);
      font-size: 0.85rem;
      font-weight: 700
    }

    .bundle-name {
      font-family: var(--font-display);
      font-size: 0.88rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
      color: var(--text)
    }

    .bundle-desc {
      font-size: 0.76rem;
      color: var(--text2);
      margin-bottom: 0.8rem;
      line-height: 1.55
    }

    .bundle-pricing {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 1rem
    }

    .bundle-orig {
      font-size: 0.75rem;
      color: var(--text3);
      text-decoration: line-through
    }

    .bundle-price {
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--accent)
    }

    .bundle-save {
      background: rgba(16, 185, 129, 0.1);
      color: var(--green);
      padding: 0.18rem 0.5rem;
      border-radius: 50px;
      font-size: 0.66rem;
      font-weight: 700;
      border: 1px solid rgba(16, 185, 129, 0.2)
    }

    /* ── TESTIMONIALS ────────────────────────────────── */
    .testi-section {
      background: rgba(255, 255, 255, 0.4);
      border-top: 1px solid rgba(200, 205, 230, 0.4);
      border-bottom: 1px solid rgba(200, 205, 230, 0.4);
      backdrop-filter: blur(12px)
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 1.2rem;
      padding: 2rem 0
    }

    .testi-card {
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 18px;
      padding: 1.3rem 1.5rem;
      transition: all 0.3s var(--ease);
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .testi-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: rgba(91, 78, 248, 0.15)
    }

    .testi-stars {
      color: var(--amber);
      font-size: 0.78rem;
      margin-bottom: 0.7rem
    }

    .testi-text {
      font-size: 0.82rem;
      color: var(--text2);
      line-height: 1.72;
      margin-bottom: 1rem;
      font-style: italic
    }

    .testi-author {
      display: flex;
      align-items: center;
      gap: 0.7rem
    }

    .testi-avatar {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 0.75rem;
      border: 2px solid var(--glass-border)
    }

    .testi-name {
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text)
    }

    .testi-loc {
      font-size: 0.68rem;
      color: var(--text3)
    }

    .testi-product {
      font-size: 0.64rem;
      color: var(--accent);
      letter-spacing: 0.5px;
      text-transform: uppercase;
      margin-top: 0.15rem;
      font-weight: 600
    }

    /* ── WHY US ──────────────────────────────────────── */
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem
    }

    .why-card {
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 16px;
      padding: 1.5rem 1.2rem;
      text-align: center;
      transition: all 0.3s var(--ease);
      backdrop-filter: blur(16px);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .why-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow);
      border-color: rgba(91, 78, 248, 0.15)
    }

    .why-icon {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: var(--accent-soft);
      border: 1px solid rgba(91, 78, 248, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      margin: 0 auto 1rem;
      transition: all 0.3s
    }

    .why-card:hover .why-icon {
      background: rgba(91, 78, 248, 0.12);
      box-shadow: 0 0 20px rgba(91, 78, 248, 0.2)
    }

    .why-title {
      font-size: 0.88rem;
      font-weight: 700;
      margin-bottom: 0.4rem;
      color: var(--text)
    }

    .why-text {
      font-size: 0.75rem;
      color: var(--text3);
      line-height: 1.6
    }

    /* ── ABOUT ───────────────────────────────────────── */
    .about-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center
    }

    @media(max-width:768px) {
      .about-inner {
        grid-template-columns: 1fr
      }
    }

    .about-visual {
      position: relative;
      height: 360px;
      display: flex;
      align-items: center;
      justify-content: center
    }

    .about-circle {
      width: 260px;
      height: 260px;
      border-radius: 50%;
      border: 1px solid rgba(91, 78, 248, 0.15);
      background: radial-gradient(circle, rgba(91, 78, 248, 0.05), transparent 70%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 5rem;
      animation: floatCircle 6s ease-in-out infinite;
      backdrop-filter: blur(8px);
      box-shadow: var(--shadow);
    }

    @keyframes floatCircle {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-12px)
      }
    }

    .about-circle::before {
      content: '';
      position: absolute;
      inset: -18px;
      border-radius: 50%;
      border: 1px solid rgba(91, 78, 248, 0.08);
      animation: spin 20s linear infinite
    }

    .about-circle::after {
      content: '';
      position: absolute;
      inset: -36px;
      border-radius: 50%;
      border: 1px dashed rgba(91, 78, 248, 0.05);
      animation: spin 30s linear infinite reverse
    }

    @keyframes spin {
      from {
        transform: rotate(0)
      }

      to {
        transform: rotate(360deg)
      }
    }

    .about-p {
      font-size: 0.9rem;
      color: var(--text2);
      line-height: 1.85;
      margin-bottom: 1rem
    }

    .about-values {
      display: flex;
      gap: 0.6rem;
      flex-wrap: wrap;
      margin-top: 1.2rem
    }

    .value-pill {
      background: var(--accent-soft);
      border: 1px solid rgba(91, 78, 248, 0.2);
      color: var(--accent);
      padding: 0.35rem 0.9rem;
      border-radius: 50px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.5px
    }

    /* ── FAQ ─────────────────────────────────────────── */
    .faq-section {
      background: rgba(255, 255, 255, 0.4);
      border-top: 1px solid rgba(200, 205, 230, 0.4);
      backdrop-filter: blur(12px)
    }

    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      max-width: 760px;
      margin: 0 auto
    }

    .faq-item {
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 14px;
      overflow: hidden;
      transition: all 0.3s var(--ease);
      box-shadow: var(--shadow-sm);
    }

    .faq-item.open {
      border-color: rgba(91, 78, 248, 0.25);
      box-shadow: var(--shadow-sm), 0 0 0 1px rgba(91, 78, 248, 0.08)
    }

    .faq-q {
      padding: 1.1rem 1.3rem;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.88rem;
      font-weight: 600;
      user-select: none;
      transition: color 0.2s;
      gap: 1rem;
      color: var(--text);
    }

    .faq-item.open .faq-q {
      color: var(--accent)
    }

    .faq-arrow {
      font-size: 0.7rem;
      color: var(--text3);
      transition: transform 0.3s var(--ease);
      flex-shrink: 0
    }

    .faq-item.open .faq-arrow {
      transform: rotate(180deg);
      color: var(--accent)
    }

    .faq-a {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s var(--ease);
      font-size: 0.82rem;
      color: var(--text2);
      line-height: 1.75
    }

    .faq-item.open .faq-a {
      max-height: 200px
    }

    .faq-a-inner {
      padding: 0 1.3rem 1.1rem
    }

    /* ── NEWSLETTER ──────────────────────────────────── */
    .newsletter-section {
      border-top: 1px solid rgba(200, 205, 230, 0.4)
    }

    .newsletter-inner {
      max-width: 560px;
      margin: 0 auto;
      text-align: center;
      padding: 5rem 2rem
    }

    .newsletter-icon {
      font-size: 2.2rem;
      margin-bottom: 1rem
    }

    .newsletter-h {
      font-family: var(--font-display);
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 0.7rem;
      color: var(--text);
      letter-spacing: -0.5px
    }

    .newsletter-p {
      font-size: 0.86rem;
      color: var(--text2);
      margin-bottom: 1.8rem;
      line-height: 1.72
    }

    .newsletter-form {
      display: flex;
      gap: 0.7rem;
      max-width: 400px;
      margin: 0 auto;
      flex-wrap: wrap;
      justify-content: center
    }

    .newsletter-input {
      flex: 1;
      min-width: 190px;
      background: var(--glass2);
      border: 1px solid var(--glass-border2);
      color: var(--text);
      padding: 0.8rem 1.1rem;
      border-radius: 10px;
      font-size: 0.83rem;
      font-family: var(--font-body);
      outline: none;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }

    .newsletter-input:focus {
      border-color: rgba(91, 78, 248, 0.4);
      box-shadow: 0 0 0 3px rgba(91, 78, 248, 0.08)
    }

    .newsletter-input::placeholder {
      color: var(--text3)
    }

    .newsletter-btn {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 0.8rem 1.5rem;
      border-radius: 10px;
      font-size: 0.82rem;
      font-family: var(--font-body);
      font-weight: 700;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-accent);
    }

    .newsletter-btn:hover {
      background: var(--accent3);
      transform: translateY(-1px)
    }

    .newsletter-note {
      font-size: 0.7rem;
      color: var(--text3);
      margin-top: 0.8rem
    }

    /* ── ORDER TRACKER ───────────────────────────────── */
    .tracker-section {
      background: rgba(255, 255, 255, 0.4);
      border-top: 1px solid rgba(200, 205, 230, 0.4);
      backdrop-filter: blur(12px)
    }

    .tracker-inner {
      max-width: 560px;
      margin: 0 auto;
      text-align: center
    }

    .tracker-form {
      display: flex;
      gap: 0.7rem;
      max-width: 420px;
      margin: 1.3rem auto 0;
      flex-wrap: wrap;
      justify-content: center
    }

    .tracker-input {
      flex: 1;
      min-width: 190px;
      background: var(--glass2);
      border: 1px solid var(--glass-border2);
      color: var(--text);
      padding: 0.8rem 1.1rem;
      border-radius: 10px;
      font-size: 0.83rem;
      font-family: var(--font-body);
      outline: none;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-sm);
    }

    .tracker-input:focus {
      border-color: rgba(91, 78, 248, 0.4);
      box-shadow: 0 0 0 3px rgba(91, 78, 248, 0.08)
    }

    .tracker-input::placeholder {
      color: var(--text3)
    }

    .tracker-btn {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 0.8rem 1.5rem;
      border-radius: 10px;
      font-size: 0.82rem;
      font-family: var(--font-body);
      font-weight: 700;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-accent);
    }

    .tracker-btn:hover {
      background: var(--accent3);
      transform: translateY(-1px)
    }

    .spinner {
      width: 11px;
      height: 11px;
      border-radius: 50%;
      border: 2px solid rgba(255, 255, 255, 0.35);
      border-top-color: #fff;
      display: inline-block;
      margin-right: 0.4rem;
      vertical-align: middle;
      animation: spin 0.8s linear infinite
    }

    .tracker-result {
      margin-top: 1.8rem;
      background: var(--glass2);
      border: 1px solid var(--glass-border2);
      border-radius: 16px;
      padding: 1.3rem;
      display: none;
      text-align: left;
      box-shadow: var(--shadow-sm);
    }

    .tracker-result.active {
      display: block
    }

    .tracker-steps {
      display: flex;
      flex-direction: column
    }

    .tracker-step {
      display: flex;
      gap: 0.8rem;
      align-items: flex-start;
      padding: 0.7rem 0;
      position: relative
    }

    .tracker-step:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 14px;
      top: 34px;
      width: 2px;
      height: calc(100% - 8px);
      background: rgba(200, 205, 230, 0.5)
    }

    .step-dot {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
      font-weight: 700;
      position: relative;
      z-index: 1
    }

    .step-dot.done {
      background: var(--accent);
      color: #fff
    }

    .step-dot.active {
      background: var(--cyan);
      color: #fff;
      animation: pulse-dot 1.5s infinite
    }

    .step-dot.pending {
      background: rgba(200, 205, 230, 0.4);
      color: var(--text3);
      border: 1px solid rgba(200, 205, 230, 0.6)
    }

    .step-label {
      font-size: 0.83rem;
      font-weight: 600;
      padding-top: 0.25rem;
      color: var(--text)
    }

    .step-sub {
      font-size: 0.72rem;
      color: var(--text3);
      margin-top: 0.15rem
    }

    /* ── LIVE COUNTER ────────────────────────────────── */
    .live-counter {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(240, 64, 96, 0.07);
      border: 1px solid rgba(240, 64, 96, 0.18);
      color: var(--red);
      padding: 0.32rem 0.9rem;
      border-radius: 50px;
      font-size: 0.72rem;
      font-weight: 600;
      margin-bottom: 1.2rem;
      letter-spacing: 0.3px;
    }

    .live-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--red);
      animation: blink 1s infinite
    }

    /* ── HOT NOW ─────────────────────────────── */
    .hot-now-wrap {
      border-top: 1px solid rgba(200, 205, 230, 0.4)
    }

    .hot-now-header {
      margin-bottom: 1.5rem;
    }

    .hot-now-title-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }

    .hot-now-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(240, 64, 96, 0.07);
      border: 1px solid rgba(240, 64, 96, 0.18);
      color: var(--red);
      padding: 0.32rem 0.9rem;
      border-radius: 50px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.3px;
    }

    .hot-now-grid {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 0.5rem
    }

    .hot-now-grid::-webkit-scrollbar {
      height: 2px
    }

    .hot-now-grid::-webkit-scrollbar-thumb {
      background: rgba(91, 78, 248, 0.3);
      border-radius: 2px
    }

    .hot-now-card {
      flex-shrink: 0;
      width: 150px;
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-sm)
    }

    .hot-now-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: rgba(91, 78, 248, 0.2)
    }

    .hot-now-img-wrap {
      height: 120px;
      overflow: hidden;
      position: relative;
    }

    .hot-now-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s
    }

    .hot-now-card:hover .hot-now-img-wrap img {
      transform: scale(1.06)
    }
    
    .hot-now-sold-badge {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0,0,0,0.7);
      color: #fff;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .hot-now-info {
      padding: 0.6rem
    }

    .hot-now-name {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.15rem;
      line-height: 1.3
    }

    .hot-now-price {
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 0.2rem;
    }
    
    .hot-now-rating {
      font-size: 0.65rem;
      color: #f59e0b;
    }
    .hot-now-rating span {
      color: var(--text3);
      margin-left: 0.2rem;
    }

    /* ── HOT NOW ─────────────────────────────── */
    .hot-now-wrap {
      border-top: 1px solid rgba(200, 205, 230, 0.4)
    }

    .hot-now-header {
      margin-bottom: 1.5rem;
    }

    .hot-now-title-row {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
    }

    .hot-now-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(240, 64, 96, 0.07);
      border: 1px solid rgba(240, 64, 96, 0.18);
      color: var(--red);
      padding: 0.32rem 0.9rem;
      border-radius: 50px;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.3px;
    }

    .hot-now-grid {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 0.5rem
    }

    .hot-now-grid::-webkit-scrollbar {
      height: 2px
    }

    .hot-now-grid::-webkit-scrollbar-thumb {
      background: rgba(91, 78, 248, 0.3);
      border-radius: 2px
    }

    .hot-now-card {
      flex-shrink: 0;
      width: 150px;
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-sm)
    }

    .hot-now-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: rgba(91, 78, 248, 0.2)
    }

    .hot-now-img-wrap {
      height: 120px;
      overflow: hidden;
      position: relative;
    }

    .hot-now-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s
    }

    .hot-now-card:hover .hot-now-img-wrap img {
      transform: scale(1.06)
    }
    
    .hot-now-sold-badge {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0,0,0,0.7);
      color: #fff;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .hot-now-info {
      padding: 0.6rem
    }

    .hot-now-name {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.15rem;
      line-height: 1.3
    }

    .hot-now-price {
      font-size: 0.75rem;
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 0.2rem;
    }
    
    .hot-now-rating {
      font-size: 0.65rem;
      color: #f59e0b;
    }
    .hot-now-rating span {
      color: var(--text3);
      margin-left: 0.2rem;
    }

    /* ── RECENTLY VIEWED ─────────────────────────────── */
    .recently-section {
      border-top: 1px solid rgba(200, 205, 230, 0.4)
    }

    .recently-grid {
      display: flex;
      gap: 1rem;
      overflow-x: auto;
      padding-bottom: 0.5rem
    }

    .recently-grid::-webkit-scrollbar {
      height: 2px
    }

    .recently-grid::-webkit-scrollbar-thumb {
      background: rgba(91, 78, 248, 0.3);
      border-radius: 2px
    }

    .recently-card {
      flex-shrink: 0;
      width: 150px;
      background: var(--glass2);
      border: 1px solid var(--glass-border);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      box-shadow: var(--shadow-sm)
    }

    .recently-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow);
      border-color: rgba(91, 78, 248, 0.2)
    }

    .recently-card-img {
      height: 90px;
      overflow: hidden
    }

    .recently-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s
    }

    .recently-card:hover .recently-card-img img {
      transform: scale(1.06)
    }

    .recently-card-info {
      padding: 0.6rem
    }

    .recently-card-name {
      font-size: 0.7rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.15rem;
      line-height: 1.3
    }

    .recently-card-price {
      font-size: 0.68rem;
      color: var(--accent);
      font-weight: 700
    }

    /* ── CART DRAWER ─────────────────────────────────── */
    .cart-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 15, 35, 0.2);
      z-index: 600;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s var(--ease);
      backdrop-filter: blur(4px)
    }

    .cart-overlay.open {
      opacity: 1;
      pointer-events: all
    }

    .cart-drawer {
      position: fixed;
      right: 0;
      top: 0;
      bottom: 0;
      width: min(400px, 100vw);
      background: rgba(248, 249, 255, 0.94);
      border-left: 1px solid var(--glass-border2);
      z-index: 601;
      transform: translateX(100%);
      transition: transform 0.4s var(--ease);
      display: flex;
      flex-direction: column;
      padding: 0;
      overflow: hidden;
      backdrop-filter: blur(40px) saturate(180%);
      box-shadow: -20px 0 60px rgba(15, 15, 35, 0.12);
    }

    .cart-drawer.open {
      transform: translateX(0)
    }

    .cart-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.5rem 1.5rem 1rem;
      flex-shrink: 0;
      border-bottom: 1px solid rgba(200, 205, 230, 0.3);
    }

    .cart-title {
      font-family: var(--font-display);
      font-size: 0.9rem;
      font-weight: 700;
      letter-spacing: 1px;
      color: var(--text)
    }

    .cart-close-btn {
      background: rgba(200, 205, 230, 0.3);
      border: none;
      color: var(--text2);
      width: 30px;
      height: 30px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s
    }

    .cart-close-btn:hover {
      background: rgba(91, 78, 248, 0.1);
      color: var(--accent)
    }

    .cart-body {
      flex: 1;
      overflow-y: auto;
      padding: 1rem 1.5rem 1.5rem;
      min-height: 0
    }

    .cart-body::-webkit-scrollbar {
      width: 3px
    }

    .cart-body::-webkit-scrollbar-thumb {
      background: rgba(91, 78, 248, 0.3);
      border-radius: 2px
    }

    .cart-items-list {
      margin-bottom: 0
    }

    .cart-empty-msg {
      text-align: center;
      padding: 3rem 1rem;
      color: var(--text3);
      font-size: 0.88rem;
      line-height: 2
    }

    .c-item {
      display: flex;
      gap: 0.8rem;
      align-items: center;
      padding: 0.9rem 0;
      border-bottom: 1px solid rgba(200, 205, 230, 0.35)
    }

    .c-item-icon {
      width: 46px;
      height: 46px;
      background: rgba(200, 205, 230, 0.2);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      border: 1px solid var(--glass-border2);
      flex-shrink: 0
    }

    .c-item-name {
      font-size: 0.82rem;
      font-weight: 600;
      margin-bottom: 0.15rem;
      color: var(--text)
    }

    .c-item-price {
      font-size: 0.76rem;
      color: var(--accent);
      font-weight: 700
    }

    .c-item-qty {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin-top: 0.25rem
    }

    .qty-btn {
      background: rgba(200, 205, 230, 0.25);
      border: 1px solid rgba(200, 205, 230, 0.5);
      color: var(--text);
      width: 20px;
      height: 20px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 0.78rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.15s
    }

    .qty-btn:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: var(--accent-soft)
    }

    .qty-num {
      font-size: 0.78rem;
      min-width: 16px;
      text-align: center;
      color: var(--text);
      font-weight: 600
    }

    .c-item-remove {
      margin-left: auto;
      background: none;
      border: none;
      color: var(--text3);
      cursor: pointer;
      font-size: 0.9rem;
      transition: all 0.2s;
      padding: 0.2rem
    }

    .c-item-remove:hover {
      color: var(--red);
      transform: scale(1.2)
    }

    .cart-foot {
      padding-top: 1.2rem;
      border-top: 1px solid rgba(200, 205, 230, 0.4)
    }

    .cart-total-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1.2rem
    }

    .cart-total-lbl {
      font-size: 0.78rem;
      color: var(--text2);
      text-transform: uppercase;
      letter-spacing: 1px;
      font-weight: 600
    }

    .cart-total-val {
      font-family: var(--font-display);
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--text)
    }

    .checkout-btn {
      position: relative;
      overflow: hidden;
      width: 100%;
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 0.9rem;
      border-radius: 12px;
      font-family: var(--font-body);
      font-size: 0.85rem;
      letter-spacing: 1px;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.3s var(--ease);
      font-weight: 700;
      box-shadow: var(--shadow-accent);
    }

    .checkout-btn:hover {
      background: var(--accent3);
      transform: translateY(-1px);
      box-shadow: 0 8px 30px rgba(91, 78, 248, 0.4)
    }

    .checkout-btn:active {
      transform: scale(0.97)
    }

    #checkout-form {
      background: rgba(91, 78, 248, 0.03);
      border: 1px solid rgba(91, 78, 248, 0.12);
      border-radius: 14px;
      padding: 1rem;
      margin-bottom: 1rem;
    }

    #checkout-form .newsletter-input {
      border-radius: 10px;
      background: var(--glass2)
    }

    #shippingFeeInfo,
    #lagosFeeNotice {
      background: rgba(91, 78, 248, 0.05);
      border: 1px solid rgba(91, 78, 248, 0.15);
      border-radius: 8px;
      padding: 0.6rem 0.8rem;
      font-size: 0.74rem;
      color: var(--text2);
      line-height: 1.5;
    }

    #lagosConsentWrap {
      margin-top: 0.6rem;
      padding: 0.55rem 0.7rem;
      border: 1px dashed rgba(245, 158, 11, 0.35);
      border-radius: 8px;
      background: rgba(245, 158, 11, 0.05)
    }

    #lagosConsentWrap label {
      font-size: 0.73rem;
      color: var(--amber);
      display: flex;
      align-items: flex-start;
      gap: 0.5rem
    }

    .secure-badges {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 0.8rem
    }

    .secure-badge {
      font-size: 0.65rem;
      color: var(--text3);
      display: flex;
      align-items: center;
      gap: 0.3rem;
      font-weight: 500
    }

    /* ── MODAL ───────────────────────────────────────── */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 15, 35, 0.35);
      z-index: 700;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s var(--ease);
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(8px);
      padding: 1.5rem;
    }

    .modal-overlay.open {
      opacity: 1;
      pointer-events: all
    }

    .modal-box {
      background: rgba(252, 253, 255, 0.95);
      border: 1px solid var(--glass-border2);
      border-radius: 24px;
      max-width: 560px;
      width: 100%;
      padding: 2rem;
      position: relative;
      transform: scale(0.9) translateY(16px);
      transition: transform 0.4s var(--ease);
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(40px);
    }

    .modal-overlay.open .modal-box {
      transform: scale(1) translateY(0)
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(200, 205, 230, 0.3);
      border: none;
      color: var(--text2);
      width: 30px;
      height: 30px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }

    .modal-close:hover {
      background: rgba(240, 64, 96, 0.1);
      color: var(--red)
    }

    .modal-top {
      display: flex;
      gap: 1.5rem;
      align-items: flex-start;
      flex-wrap: wrap
    }

    .modal-img {
      width: 150px;
      height: 150px;
      background: rgba(200, 205, 230, 0.2);
      border-radius: 14px;
      border: 1px solid var(--glass-border2);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3.5rem;
      flex-shrink: 0;
      overflow: hidden
    }

    .modal-info {
      flex: 1;
      min-width: 180px
    }

    .modal-name {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--text)
    }

    .modal-stars {
      color: var(--amber);
      margin-bottom: 0.7rem
    }

    .modal-desc {
      font-size: 0.82rem;
      color: var(--text2);
      line-height: 1.72;
      margin-bottom: 1rem
    }

    .modal-price {
      font-family: var(--font-display);
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--accent);
      margin-bottom: 1rem
    }

    .modal-btn {
      position: relative;
      overflow: hidden;
      width: 100%;
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 0.85rem;
      border-radius: 10px;
      font-family: var(--font-body);
      font-size: 0.83rem;
      letter-spacing: 0.5px;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.25s var(--ease);
      font-weight: 700;
      box-shadow: var(--shadow-accent)
    }

    .modal-btn:hover {
      background: var(--accent3)
    }

    .quick-view-glitch {
      display: none
    }

    /* ── TOAST ───────────────────────────────────────── */
    .toast {
      position: fixed;
      bottom: 1.5rem;
      left: 1.5rem;
      z-index: 800;
      background: rgba(252, 253, 255, 0.96);
      border: 1px solid var(--glass-border2);
      border-radius: 14px;
      padding: 0.9rem 1.2rem;
      display: flex;
      align-items: center;
      gap: 0.8rem;
      transform: translateX(-150%);
      transition: transform 0.5s var(--ease);
      max-width: 300px;
      box-shadow: var(--shadow-lg);
      backdrop-filter: blur(20px);
    }

    .toast.show {
      transform: translateX(0)
    }

    .toast-icon {
      font-size: 1.3rem
    }

    .toast-text {
      font-size: 0.76rem;
      line-height: 1.5;
      color: var(--text)
    }

    .toast-text strong {
      color: var(--text);
      font-size: 0.8rem
    }

    .toast-text span {
      color: var(--text3)
    }

    /* ── EXIT POPUP ──────────────────────────────────── */
    .badge-soldout { background: #f04060 !important; color: #fff !important; }
    .product-card.is-sold-out .product-real-img { filter: grayscale(0.5); opacity: 0.75; }
    .sold-out-overlay { position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.38);z-index:2;border-radius:inherit; }
    .sold-out-overlay-badge { background:#f04060;color:#fff;font-size:0.75rem;font-weight:800;padding:0.4rem 1.1rem;border-radius:20px; }
    .product-card.is-sold-out .btn-addcart { background:rgba(150,150,180,0.2)!important;color:#666!important;cursor:not-allowed!important; }
    .exit-overlay {
      position: fixed;
      inset: 0;
      background: rgba(15, 15, 35, 0.3);
      z-index: 900;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.4s var(--ease);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      backdrop-filter: blur(8px)
    }

    .exit-overlay.open {
      opacity: 1;
      pointer-events: all
    }

    .exit-box {
      background: rgba(252, 253, 255, 0.96);
      border: 1px solid var(--glass-border2);
      border-radius: 24px;
      max-width: 440px;
      width: 100%;
      padding: 2.5rem;
      text-align: center;
      position: relative;
      transform: scale(0.9);
      transition: transform 0.4s var(--ease);
      box-shadow: var(--shadow-lg)
    }

    .exit-overlay.open .exit-box {
      transform: scale(1)
    }

    .exit-emoji {
      font-size: 2.5rem;
      margin-bottom: 0.8rem
    }

    .exit-h {
      font-family: var(--font-display);
      font-size: 1.3rem;
      font-weight: 700;
      margin-bottom: 0.7rem;
      color: var(--text)
    }

    .exit-p {
      font-size: 0.85rem;
      color: var(--text2);
      line-height: 1.72;
      margin-bottom: 1.3rem
    }

    .exit-code {
      display: inline-block;
      background: var(--accent-soft);
      border: 1px dashed rgba(91, 78, 248, 0.3);
      color: var(--accent);
      padding: 0.45rem 1.3rem;
      border-radius: 8px;
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: 3px;
      margin-bottom: 1.3rem
    }

    .exit-close {
      position: absolute;
      top: 0.8rem;
      right: 0.8rem;
      background: rgba(200, 205, 230, 0.3);
      border: none;
      color: var(--text3);
      width: 28px;
      height: 28px;
      border-radius: 7px;
      cursor: pointer;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s
    }

    .exit-close:hover {
      color: var(--text);
      background: rgba(200, 205, 230, 0.5)
    }

    /* ── FLOAT CART ──────────────────────────────────── */
    .float-cart {
      position: fixed;
      bottom: 1.5rem;
      right: 1.5rem;
      z-index: 400;
      background: var(--accent);
      color: #fff;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.15rem;
      cursor: pointer;
      box-shadow: var(--shadow-accent);
      transition: all 0.3s var(--ease);
    }

    .float-cart:hover {
      transform: scale(1.1);
      box-shadow: 0 8px 30px rgba(91, 78, 248, 0.45)
    }

    .float-cart:active {
      transform: scale(0.95)
    }

    .float-badge {
      position: absolute;
      top: -3px;
      right: -3px;
      background: var(--red);
      color: #fff;
      border-radius: 50%;
      width: 17px;
      height: 17px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.6rem;
      font-weight: 700;
      border: 2px solid var(--bg)
    }

    /* ── WA BUBBLE ───────────────────────────────────── */
    .wa-bubble {
      position: fixed;
      bottom: 5rem;
      right: 1.5rem;
      z-index: 400;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: rgba(37, 211, 102, 0.9);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
      transition: all 0.3s var(--ease);
      animation: waPulse 2.5s infinite;
      text-decoration: none
    }

    .wa-bubble:hover {
      transform: scale(1.1)
    }

    @keyframes waPulse {

      0%,
      100% {
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35)
      }

      50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.55), 0 0 0 6px rgba(37, 211, 102, 0.08)
      }
    }

    /* ── FOOTER ──────────────────────────────────────── */
    footer {
      background: rgba(255, 255, 255, 0.6);
      border-top: 1px solid rgba(200, 205, 230, 0.4);
      padding: 3.5rem 2rem 2rem;
      backdrop-filter: blur(12px);
      position: relative;
      z-index: 1
    }

    .footer-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 2.5rem;
      padding-bottom: 2.5rem;
      border-bottom: 1px solid rgba(200, 205, 230, 0.4)
    }

    @media(max-width:900px) {
      .footer-grid {
        grid-template-columns: 1fr 1fr
      }
    }

    @media(max-width:600px) {
      .footer-grid {
        grid-template-columns: 1fr
      }

      .section {
        padding: 3.5rem 1.2rem
      }
    }

    .footer-brand .logo {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.1rem;
      color: var(--text);
      margin-bottom: 0.8rem
    }

    .footer-about {
      font-size: 0.8rem;
      color: var(--text3);
      line-height: 1.75;
      max-width: 260px
    }

    .footer-col-title {
      font-size: 0.68rem;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text2);
      margin-bottom: 1rem;
      font-weight: 700
    }

    .footer-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.6rem
    }

    .footer-links a {
      color: var(--text3);
      text-decoration: none;
      font-size: 0.8rem;
      transition: color 0.2s
    }

    .footer-links a:hover {
      color: var(--accent)
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 2rem auto 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem
    }

    .footer-copy {
      font-size: 0.72rem;
      color: var(--text3)
    }

    .footer-pay {
      display: flex;
      gap: 0.4rem;
      align-items: center
    }

    .pay-chip {
      background: rgba(200, 205, 230, 0.3);
      border: 1px solid rgba(200, 205, 230, 0.5);
      color: var(--text3);
      padding: 0.25rem 0.65rem;
      border-radius: 5px;
      font-size: 0.67rem;
      font-weight: 500
    }

    /* ── BIS MODAL ───────────────────────────────────── */
    .bis-modal {
      position: fixed;
      inset: 0;
      background: rgba(15, 15, 35, 0.55);
      z-index: 1100;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s var(--ease);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      backdrop-filter: blur(8px)
    }

    .bis-modal.open {
      opacity: 1;
      pointer-events: all
    }

    .bis-box {
      background: rgba(252, 253, 255, 0.97);
      border: 1px solid var(--glass-border2);
      border-radius: 20px;
      max-width: 380px;
      width: 100%;
      padding: 1.8rem;
      text-align: center;
      position: relative;
      box-shadow: var(--shadow-lg)
    }

    .bis-close {
      position: absolute;
      top: 0.8rem;
      right: 0.8rem;
      background: rgba(200, 205, 230, 0.3);
      border: none;
      color: var(--text3);
      width: 28px;
      height: 28px;
      border-radius: 7px;
      cursor: pointer;
      font-size: 0.85rem;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s
    }

    .bis-close:hover {
      color: var(--text)
    }

    /* ── ORDER HISTORY MODAL ─────────────────────────── */
    #orderHistoryOverlay .modal-box {
      max-width: 620px
    }

    /* ── REVEAL ANIMATIONS ───────────────────────────── */
    .reveal {
      opacity: 0;
      transform: translateY(18px);
      transition: opacity 0.65s var(--ease), transform 0.65s var(--ease)
    }

    .reveal.visible {
      opacity: 1;
      transform: translateY(0)
    }

    .reveal-delay-1 {
      transition-delay: 0.08s
    }

    .reveal-delay-2 {
      transition-delay: 0.16s
    }

    .reveal-delay-3 {
      transition-delay: 0.24s
    }

    .reveal-delay-4 {
      transition-delay: 0.32s
    }


    /* ─── MOBILE FIXES ─────────────────────────────── */

    @media(max-width:600px) {
      .astro-header-center { display: none; }
      .astro-header-grid { padding: 0 0.4rem; }
      .smart-sidebar { width: 100vw; max-width: 100vw; }

      .search-results {
        position: fixed;
        top: 68px; left: 0.5rem; right: 0.5rem;
        max-height: 55vh; overflow-y: auto;
        z-index: 700; border-radius: 16px;
      }

      main { padding-top: 68px; }

      .section {
        padding: 3rem 1rem
      }

      .hero {
        grid-template-columns: 1fr;
        padding: 2.5rem 1rem 2rem;
        gap: 2rem;
        min-height: auto
      }

      .hero-h1 {
        font-size: 2.1rem
      }

      .hero-sub {
        font-size: 0.9rem
      }

      .btn-primary,
      .btn-secondary {
        width: 100%;
        text-align: center
      }

      .hero-stats {
        gap: 1.2rem
      }

      .hero-stat-n {
        font-size: 1.3rem
      }

      .hero-card-img {
        height: 160px
      }

      .products-grid {
        grid-template-columns: 1fr
      }

      .bundles-grid {
        grid-template-columns: 1fr
      }

      .why-grid {
        grid-template-columns: 1fr 1fr
      }

      .about-inner {
        grid-template-columns: 1fr
      }

      .about-visual {
        height: 200px
      }

      .footer-grid {
        grid-template-columns: 1fr
      }

      .cart-drawer {
        width: 100vw;
        border-radius: 20px 20px 0 0;
        top: auto;
        height: 92vh
      }

      .cart-overlay {
        display: flex;
        align-items: flex-end
      }

      .modal-top {
        flex-direction: column
      }

      .modal-img {
        width: 100%;
        height: 200px
      }

      .toast {
        left: 0.8rem;
        right: 0.8rem;
        max-width: none
      }

      .wa-bubble {
        bottom: 5rem;
        right: 1rem
      }

      .float-cart {
        bottom: 1.2rem;
        right: 1rem
      }

      .tracker-form {
        flex-direction: column
      }

      .tracker-input,
      .tracker-btn {
        width: 100%
      }

      .newsletter-form {
        flex-direction: column;
        align-items: stretch
      }

      .newsletter-input,
      .newsletter-btn {
        width: 100%;
        border-radius: 10px
      }

      .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
        padding-bottom: 0.4rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        scroll-snap-type: x mandatory;
        cursor: grab;
        /* Ensure pills are never clipped by parent overflow */
        position: relative;
        z-index: 5;
      }

      .category-pills::-webkit-scrollbar {
        display: none
      }

      .cat-pill {
        flex-shrink: 0;
        scroll-snap-align: start;
        position: relative;
        z-index: 10;
        /* Larger tap target on mobile */
        padding: 0.5rem 1.2rem;
        touch-action: manipulation;
      }

      /* Make sure section doesn't clip pill scroll on mobile */
      #products .section-intro {
        overflow: visible;
      }

      .section-h2 {
        font-size: 1.5rem
      }

      .promo-bar {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem
      }
    }


    /* ─── BOTTOM NAV ──────────────────────────────── */
    .bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 600;
      background: rgba(252, 253, 255, 0.97);
      backdrop-filter: blur(20px) saturate(180%);
      -webkit-backdrop-filter: blur(20px) saturate(180%);
      border-top: 1px solid rgba(200, 205, 230, 0.5);
      box-shadow: 0 -4px 20px rgba(15, 15, 35, 0.07);
      align-items: stretch;
      padding: 0 0.2rem;
      padding-bottom: max(env(safe-area-inset-bottom, 0px), 0px);
    }

    .bn-btn {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.18rem;
      padding: 0.6rem 0.2rem;
      background: none;
      border: none;
      cursor: pointer;
      font-family: var(--font-body);
      position: relative;
      -webkit-tap-highlight-color: transparent;
      touch-action: manipulation;
      transition: opacity 0.15s;
    }

    .bn-btn:active {
      opacity: 0.6
    }

    .bn-icon {
      font-size: 1.25rem;
      line-height: 1
    }

    .bn-label {
      font-size: 0.6rem;
      color: var(--text3);
      font-weight: 600;
      letter-spacing: 0.2px;
      white-space: nowrap
    }

    @media(max-width:768px) {
      .bottom-nav {
        display: flex
      }

      main {
        padding-bottom: 68px
      }

      .float-cart {
        display: none
      }

      .wa-bubble {
        bottom: 5rem
      }
    }


    /* ─── CART UPSELL ─────────────────────────────── */
    .cart-upsell {
      margin-top: 1.2rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(200, 205, 230, 0.3)
    }

    .cart-upsell-label {
      font-size: 0.65rem;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--text3);
      margin-bottom: 0.7rem
    }

    .upsell-item {
      display: flex;
      align-items: center;
      gap: 0.7rem;
      padding: 0.5rem 0;
      cursor: pointer;
      transition: opacity 0.2s
    }

    .upsell-item:hover {
      opacity: 0.8
    }

    .upsell-item img {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      object-fit: cover;
      flex-shrink: 0;
      border: 1px solid rgba(200, 205, 230, 0.4)
    }

    .upsell-item-info {
      flex: 1
    }

    .upsell-item-name {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 0.1rem
    }

    .upsell-item-price {
      font-size: 0.72rem;
      color: var(--accent);
      font-weight: 700
    }

    .upsell-add {
      background: var(--accent-soft);
      border: 1px solid rgba(91, 78, 248, 0.2);
      color: var(--accent);
      width: 26px;
      height: 26px;
      border-radius: 50%;
      font-size: 1rem;
      cursor: pointer;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      font-weight: 700
    }

    .upsell-add:hover {
      background: var(--accent);
      color: #fff
    }


    /* ─── WATCH DEMO BUTTON ────────────────────────── */
    .watch-demo-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(0, 0, 0, 0.06);
      border: 1px solid rgba(0, 0, 0, 0.12);
      color: var(--text2);
      padding: 0.35rem 0.9rem;
      border-radius: 50px;
      font-size: 0.72rem;
      font-weight: 600;
      text-decoration: none;
      margin-bottom: 0.8rem;
      transition: all 0.2s;
      letter-spacing: 0.3px;
      cursor: pointer;
    }

    .watch-demo-btn:hover {
      background: rgba(0, 0, 0, 0.1);
      color: var(--text);
      border-color: rgba(0, 0, 0, 0.2)
    }

    /* ── RIPPLE ──────────────────────────────────────── */
    .btn-primary,
    .btn-secondary,
    .checkout-btn,
    .btn-addcart,
    .modal-btn,
    .tracker-btn,
    .newsletter-btn {
      position: relative;
      overflow: hidden
    }

    .ripple {
      position: absolute;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: scale(0);
      animation: ripple-anim 0.6s var(--ease);
      pointer-events: none
    }

    @keyframes ripple-anim {
      to {
        transform: scale(4);
        opacity: 0
      }
    }

/* ═══════════════════════════════════════════════════
   MOBILE SEARCH ICON (visible on mobile only)
═══════════════════════════════════════════════════ */
.astro-search-mobile {
  display: none; background: none; border: none; color: #fff;
  cursor: pointer; padding: 6px;
}
@media(max-width:768px) { .astro-search-mobile { display: flex; } }

/* ═══════════════════════════════════════════════════
   MOBILE SEARCH BAR (slides down below header)
═══════════════════════════════════════════════════ */
.mobile-search-bar {
  position: fixed; top: 54px; left: 0; right: 0; z-index: 499;
  background: #121212; padding: 0 1rem 0.75rem;
  transform: translateY(-100%); opacity: 0;
  transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
  pointer-events: none;
}
.mobile-search-bar.open {
  transform: translateY(0); opacity: 1; pointer-events: all;
}
.mobile-search-bar .astro-search { max-width: 100%; }

/* ═══════════════════════════════════════════════════
   NOMAD-STYLE DROPDOWN MENU
═══════════════════════════════════════════════════ */
.dropdown-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3);
  z-index: 998; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.dropdown-overlay.open { opacity: 1; pointer-events: all; }

.dropdown-menu {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: #fff; border-radius: 0 0 20px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  max-height: 85vh; overflow-y: auto;
}
.dropdown-menu.open { transform: translateY(0); }

.dropdown-menu-inner { padding: 80px 1rem 1.5rem; }

.dropdown-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem; margin-bottom: 0.4rem;
  border-radius: 14px; background: #f5f5f7;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s ease;
}
.dropdown-item:hover { background: #ebebed; }

.dropdown-item-img {
  width: 56px; height: 56px; border-radius: 10px;
  object-fit: cover; flex-shrink: 0;
}
.dropdown-item-icon {
  width: 56px; height: 56px; border-radius: 10px;
  background: #e8e8ec; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; flex-shrink: 0;
}
.dropdown-item-text { flex: 1; }
.dropdown-item-name {
  display: block; font-size: 0.95rem; font-weight: 700;
  color: #1a1a2e; letter-spacing: -0.3px;
}
.dropdown-item-sub {
  display: block; font-size: 0.75rem; color: #888; margin-top: 2px;
}
.dropdown-item-badge {
  font-size: 0.6rem; font-weight: 800; padding: 3px 8px;
  border-radius: 6px; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-hot { background: #f04060; color: #fff; }
.badge-new-tag { background: #5b4ef8; color: #fff; }
.dropdown-item-arrow {
  font-size: 1.4rem; color: #ccc; margin-left: auto; flex-shrink: 0;
}

.dropdown-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding-top: 1rem; margin-top: 0.5rem;
  border-top: 1px solid #eee;
}
.dropdown-links a {
  font-size: 0.82rem; color: #555; cursor: pointer;
  padding: 0.5rem 1rem; border-radius: 50px;
  background: #f5f5f7; text-decoration: none;
  transition: all 0.2s; font-weight: 500;
}
.dropdown-links a:hover { background: #e8e8ec; color: #1a1a2e; }

/* ═══════════════════════════════════════════════════
   MOBILE HEADER SIZE REDUCTION
═══════════════════════════════════════════════════ */
@media(max-width:768px) {
  .astro-header { height: 54px; }
  .astro-header-grid { height: calc(100% - 8px); gap: 4px; }
  .astro-header-left { padding: 0 0.8rem; }
  .astro-header-right { padding: 0 0.5rem; gap: 4px; }
  .astro-logo { font-size: 1.05rem; letter-spacing: 2px; }
  .astro-hamburger { width: 22px; height: 16px; }
  .h-line { height: 1.5px; }
  .astro-hamburger.open .h-line-1 { transform: translateY(7px) rotate(45deg); }
  .astro-hamburger.open .h-line-3 { transform: translateY(-7px) rotate(-45deg); }
  .astro-cart-svg { width: 20px; height: 20px; }
  .astro-cart-badge { height: 16px; min-width: 16px; font-size: 0.55rem; }
  main { padding-top: 54px !important; }
  .mobile-search-bar { top: 54px; }
  .dropdown-menu-inner { padding-top: 66px; }
}

/* ═══════════════════════════════════════════════════
   NOMAD-STYLE PRODUCT CARDS
═══════════════════════════════════════════════════ */
.products-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}
/* Only go 2-column at true tablet width — avoids large phones getting 2 columns */
@media(min-width:860px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media(min-width:1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 1.2rem !important; }
}
@media(min-width:1300px) {
  .products-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

.product-card {
  background: #fff !important;
  border: none !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  backdrop-filter: none !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
}

.product-img-wrap {
  height: auto !important;
  aspect-ratio: 1290 / 1236 !important;
  background: #f5f5f8 !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}
.product-real-img { object-fit: cover !important; padding: 0 !important; }

.product-real-img {
  width: 100%; height: 100%;
  object-fit: contain !important;
}

/* Placeholder when no image / image fails */
.product-img-placeholder {
  font-size: 3rem; opacity: 0.35;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}

.product-info {
  padding: 0.85rem 1rem 1.1rem !important;
}

/* Small category label above name */
.product-cat-label {
  font-size: 0.65rem; color: #aaa;
  text-transform: uppercase; letter-spacing: 0.5px;
  font-weight: 600; margin-bottom: 0.2rem;
}

.product-name {
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  margin-bottom: 0.15rem !important;
  line-height: 1.3;
}

/* Hide description on cards */
.product-desc { display: none !important; }
.product-rating { display: none !important; }

.product-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  margin-top: 0.6rem;
}

.product-price {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
}

.product-btns { display: none !important; }

.btn-addcart {
  padding: 0.45rem 0.9rem !important;
  border-radius: 9px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  white-space: nowrap;
  background: #1a1a2e !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s;
  flex-shrink: 0;
}
.btn-addcart:hover { opacity: 0.85 !important; }

.btn-soldout-notify {
  background: rgba(240,64,96,0.08) !important;
  color: #f04060 !important;
  border: 1px solid rgba(240,64,96,0.2) !important;
  font-size: 0.68rem !important;
}

/* FIX 4: Smaller, cleaner badges */
.product-badge {
  top: 0.6rem !important; left: 0.6rem !important;
  font-size: 0.54rem !important;
  padding: 0.15rem 0.45rem !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  backdrop-filter: none !important;
}
.badge-best  { background: rgba(91,78,248,0.1); border: 1px solid rgba(91,78,248,0.2); color: #5b4ef8; }
.badge-top   { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: #f59e0b; }
.badge-new   { background: rgba(0,201,188,0.1); border: 1px solid rgba(0,201,188,0.25); color: #00c9bc; }
.badge-limited { background: rgba(240,64,96,0.08); border: 1px solid rgba(240,64,96,0.18); color: #f04060; }
.badge-soldout { background: rgba(240,64,96,0.08); border: 1px solid rgba(240,64,96,0.18); color: #f04060; }

/* Hide quickview button */
.btn-quickview { display: none !important; }

/* ═══════════════════════════════════════════════════
   NOMAD-STYLE HEADER  (.nh-*)
   Layout: [ASTRO]  [======= Search =======]  [🔍][🛒][☰]
═══════════════════════════════════════════════════ */
.nh {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: #121212;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  padding: 0 1.25rem;
  gap: 1rem;
  z-index: 500;
  transition: background .3s ease, box-shadow .3s ease;
}
.nh.scrolled {
  background: rgba(18,18,18,.96);
  box-shadow: 0 4px 24px rgba(0,0,0,.45);
}

/* Logo */
.nh-logo {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

/* Search wrapper — grows to fill the centre */
.nh-search-wrap {
  flex: 1;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.nh-search-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.35);
  pointer-events: none;
}
.nh-search-input {
  width: 100%;
  padding: 0.52rem 1rem 0.52rem 2.4rem;
  background: transparent;
  border: none;
  border-radius: 999px;          /* fully rounded rect — Nomad style */
  color: #fff;
  font-size: 0.83rem;
  font-family: inherit;
  outline: none;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.nh-search-input::placeholder { color: rgba(255,255,255,.35); }
.nh-search-input:focus {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  outline: none;
}

/* Search results dropdown */
.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: #1e1e2e;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
  z-index: 600;
  display: none;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.search-results.open { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .75rem 1rem; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .15s;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(255,255,255,.05); }
.search-result-img {
  width: 40px; height: 40px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.search-result-name { font-size: .84rem; font-weight: 600; color: #fff; }
.search-result-price { font-size: .78rem; color: #a78bfa; font-weight: 600; }
.search-no-results { padding: 1.2rem; text-align: center; color: rgba(255,255,255,.4); font-size: .84rem; }

/* Right action group */
.nh-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* Icon buttons (shared) */
.nh-icon-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.nh-icon-btn:hover { background: rgba(255,255,255,.08); }
.nh-icon-btn:active { background: rgba(255,255,255,.14); }

/* Cart badge */
.nh-cart { position: relative; }
.nh-cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  background: #f04060;
  color: #fff;
  font-size: .55rem; font-weight: 800;
  min-width: 17px; height: 17px;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid #121212;
  pointer-events: none;
}

/* Hamburger bars */
.nh-hamburger {
  flex-direction: column;
  gap: 5px;
  padding: 10px 8px;
  width: auto;
}
.nh-bar {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.77,0,.175,1), opacity .25s;
}
.nh-hamburger.open .nh-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nh-hamburger.open .nh-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nh-hamburger.open .nh-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: hide search-toggle on desktop, hide centre search on mobile */
.nh-search-toggle { display: none; }

@media(max-width: 680px) {
  /* ── FULL-WIDTH HEADER (edge-to-edge) ── */
  .nh {
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    border-radius: 0;
    padding: 0 8px 0 16px;
    gap: 0;
    justify-content: space-between;
    background: #fff;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    backdrop-filter: blur(16px);
  }

  /* When scrolled — deepen shadow slightly */
  .nh.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  }

  /* Logo — dark text on white pill, stays left */
  .nh-logo {
    color: #0f0f23;
    font-size: 1rem;
    letter-spacing: 2px;
    flex-shrink: 0;
    margin-right: auto;
  }

  /* Search bar — hidden by default, takes up space when open */
  .nh-search-wrap { display: none; }
  .nh-search-wrap.active {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 0.5rem;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 999px;
    animation: nhFadeIn 0.2s ease forwards;
  }
  .nh-search-wrap.active:focus-within {
    border-color: rgba(91,78,248,0.45);
    box-shadow: 0 0 0 3px rgba(91,78,248,0.10);
  }
  @keyframes nhFadeIn {
    from { opacity:0; transform:scale(0.95); }
    to   { opacity:1; transform:scale(1); }
  }

  /* Actions group — always on the right */
  .nh-actions {
    display: flex;
    align-items: center;
    gap: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* Icon buttons — dark on white, no gap between them */
  .nh-icon-btn {
    color: #0f0f23;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  .nh-icon-btn svg { width: 19px; height: 19px; }
  .nh-icon-btn:hover { background: rgba(0,0,0,0.06); }
  .nh-icon-btn:active { background: rgba(0,0,0,0.1); }

  /* Hamburger bars — dark */
  .nh-bar {
    width: 18px;
    background: #0f0f23;
  }

  /* Cart badge */
  .nh-cart-badge {
    top: 2px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    font-size: .5rem;
    border-color: #fff;
  }

  /* Search input — transparent inside the wrap pill */
  .nh-search-input {
    background: transparent;
    border: none;
    color: #0f0f23;
    padding: 0.35rem 0.5rem 0.35rem 1.8rem;
    font-size: 0.78rem;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    width: 100%;
  }
  .nh-search-input::placeholder { color: rgba(15,15,35,0.35); }
  .nh-search-input:focus {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    outline: none;
  }

  /* Search icon — dark */
  .nh-search-icon {
    left: 8px;
    width: 14px;
    height: 14px;
    color: rgba(15,15,35,0.4);
  }

  /* Show the search toggle button */
  .nh-search-toggle { display: flex; }

  /* Scroll progress bar */
  #scroll-progress { border-radius: 0; }

  /* Page body top padding to clear the fixed header */
  main { padding-top: 56px !important; }

  /* Search results dropdown */
  .search-results {
    background: #fff;
    border: 1px solid rgba(200,205,230,0.6);
    color: #0f0f23;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    top: calc(100% + 10px);
  }
  .search-result-name { color: #0f0f23; }
  .search-result-item:hover { background: rgba(91,78,248,0.05); }
  .search-result-item { border-bottom-color: rgba(200,205,230,0.4); }
  .search-no-results { color: rgba(15,15,35,0.4); }
}

/* ═══════════════════════════════════════════════════
   NOMAD-STYLE DROPDOWN MENU  (.ddm-*)
═══════════════════════════════════════════════════ */
.ddm-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s ease;
}
.ddm-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.ddm {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 75vw;
  max-width: 360px; /* Match sub-panel max-width */
  z-index: 999;
  background: #fff;
  border-radius: 0 24px 24px 0;
  box-shadow: 8px 0 60px rgba(0,0,0,.22);
  transform: translateX(-100%);
  transition: transform .42s cubic-bezier(.23,1,.32,1);
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}
.ddm.open {
  transform: translateX(0);
  pointer-events: auto;
}

/* Header row inside dropdown */
.ddm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem 0.6rem;
  border-bottom: 1px solid #eee;
  position: sticky; top: 0;
  background: #fff; z-index: 2;
}
.ddm-title-logo {
  font-size: 1rem;
  font-weight: 900;
  color: #111;
  letter-spacing: 2px;
  font-family: var(--font-body, sans-serif);
}
/* Legacy .ddm-title kept for safety */
.ddm-title {
  font-size: .8rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ddm-header-actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.ddm-close {
  background: #f5f5f7;
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: #444;
  transition: background .2s;
}
.ddm-close:hover { background: #e8e8ec; }

.ddm-body { padding: .6rem .75rem 1.5rem; flex: 1; overflow-y: auto; }

/* Category row */
.ddm-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem .85rem;
  margin-bottom: .35rem;
  border-radius: 14px;
  background: #f5f5f7;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.ddm-item:hover { background: #ebebed; }

.ddm-img {
  width: 64px; height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}
.ddm-icon {
  width: 54px; height: 54px;
  border-radius: 10px;
  background: #e8e8ec;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ddm-text { flex: 1; }
.ddm-name {
  display: block;
  font-size: .95rem; font-weight: 700;
  color: #1a1a2e; letter-spacing: -.2px;
}
.ddm-sub {
  display: block;
  font-size: .73rem; color: #888;
  margin-top: 2px;
}
.ddm-badge {
  font-size: .58rem; font-weight: 800;
  padding: 3px 7px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .5px;
  flex-shrink: 0;
}
.ddm-hot { background: #f04060; color: #fff; }
.ddm-new { background: #5b4ef8; color: #fff; }
.ddm-arrow {
  font-size: 1.4rem; color: #ccc;
  flex-shrink: 0; line-height: 1;
}

/* Quick-links row */
.ddm-links {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-top: .8rem; padding-top: .8rem;
  border-top: 1px solid #eee;
}
.ddm-links a {
  font-size: .8rem; color: #555;
  padding: .45rem .9rem;
  border-radius: 50px;
  background: #f5f5f7;
  text-decoration: none; cursor: pointer;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.ddm-links a:hover { background: #e0e0e8; color: #1a1a2e; }

/* ── DDM: Mobile — full-height left drawer ── */
@media(max-width: 680px) {
  .ddm {
    top: 0;
    left: 0;
    bottom: 0;
    width: 82vw;
    max-width: 340px;
    border-radius: 0 22px 22px 0;
    transform: translateX(-100%);
    opacity: 1;
    transition: transform .38s cubic-bezier(.23,1,.32,1);
  }
  .ddm.open {
    transform: translateX(0);
  }
  .ddm-header {
    border-radius: 0;
  }
}

/* ═══════════════════════════════════════════════════
   PRODUCT DETAIL PANEL (.pdp-*)
═══════════════════════════════════════════════════ */
.pdp-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(0,0,0,0.45);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.pdp-overlay.open { opacity: 1; pointer-events: all; }

.pdp-panel {
  position: fixed; inset: 0; z-index: 901;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pdp-panel.open { transform: translateY(0); }

.pdp-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 10;
  width: 36px; height: 36px;
  background: #f5f5f7; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: #444; transition: background 0.2s;
}
.pdp-close:hover { background: #e8e8ec; }

.pdp-scroll {
  flex: 1; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pdp-inner {
  max-width: 920px; margin: 0 auto;
  padding: 0 0 4rem;
}
@media(min-width:768px) {
  .pdp-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 2rem 5rem; }
}

/* Gallery */
.pdp-gallery { display: flex; flex-direction: column; }

.pdp-main-img {
  width: 100%; aspect-ratio: 1290 / 1236;
  background: #f5f5f8;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
@media(max-width:767px) {
  .pdp-main-img { aspect-ratio: 4/3; }
}

.pdp-main-img img {
  width: 100%; height: 100%; object-fit: contain;
}

.pdp-sold-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
}
.pdp-sold-overlay span {
  background: #f04060; color: #fff;
  padding: 0.4rem 1.2rem; border-radius: 999px;
  font-weight: 700; font-size: 0.9rem;
}

/* Info */
.pdp-info { padding: 1.4rem 1.2rem 2rem; }
@media(min-width:768px) { .pdp-info { padding: 0.5rem 0; } }

.pdp-category {
  font-size: 0.7rem; color: #aaa;
  text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 600; margin-bottom: 0.5rem;
}

.pdp-name {
  font-size: 1.6rem; font-weight: 800;
  color: #1a1a2e; line-height: 1.2; margin-bottom: 1rem;
  font-family: var(--font-display, 'Inter', sans-serif);
}
@media(max-width:520px) { .pdp-name { font-size: 1.3rem; } }

.pdp-price-row { display: flex; align-items: baseline; gap: 0.6rem; margin-bottom: 0.8rem; }
.pdp-price { font-size: 1.5rem; font-weight: 800; color: #1a1a2e; font-family: var(--font-display, sans-serif); }

.pdp-low-stock {
  background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.2); color: #f59e0b;
  font-size: 0.78rem; font-weight: 600; padding: 0.4rem 0.8rem;
  border-radius: 8px; margin-bottom: 1rem; display: inline-block;
}

.pdp-description {
  font-size: 0.88rem; color: #555;
  line-height: 1.8; margin-bottom: 1.5rem;
}

.pdp-actions { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.5rem; }

.pdp-btn-cart {
  background: #1a1a2e; color: #fff;
  border: none; border-radius: 12px;
  padding: 0.9rem 1.5rem;
  font-size: 0.92rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-body, sans-serif);
  transition: opacity 0.2s; text-align: center;
}
.pdp-btn-cart:hover { opacity: 0.85; }

.pdp-btn-wa {
  display: flex; align-items: center; justify-content: center;
  background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.25);
  color: #128c7e; border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; font-family: var(--font-body, sans-serif);
  transition: background 0.2s;
}
.pdp-btn-wa:hover { background: rgba(37,211,102,0.14); }

.pdp-btn-soldout {
  background: rgba(240,64,96,0.06); border: 1px solid rgba(240,64,96,0.2);
  color: #f04060; border-radius: 12px;
  padding: 0.9rem 1.5rem; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-body, sans-serif);
}

.pdp-trust {
  display: flex; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0; border-top: 1px solid #f0f0f5;
  border-bottom: 1px solid #f0f0f5; margin-bottom: 1.2rem;
}
.pdp-trust-item { font-size: 0.78rem; color: #888; font-weight: 500; }

.pdp-review-quote {
  background: #fafafa; border-radius: 12px; padding: 1rem 1.2rem;
  margin-top: 1rem;
}
.pdp-stars { font-size: 0.88rem; color: #f59e0b; margin-bottom: 0.4rem; }
.pdp-review-text { font-size: 0.82rem; color: #555; font-style: italic; line-height: 1.65; }

/* ═══════════════════════════════════════════════════
   MOBILE SEARCH MODAL (.msearch-*)
═══════════════════════════════════════════════════ */
.msearch-modal {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(0,0,0,0.25);
  display: none; align-items: flex-start; justify-content: center;
  backdrop-filter: blur(4px);
}
.msearch-modal.open { display: flex; }

.msearch-box {
  width: 100%; max-width: 480px;
  background: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  animation: msearchSlide 0.3s cubic-bezier(0.23,1,0.32,1);
}
@keyframes msearchSlide {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.msearch-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.2rem 0.7rem;
  border-bottom: 1px solid #f0f0f5;
}
.msearch-brand { font-size: 1rem; font-weight: 900; letter-spacing: 2px; color: #1a1a2e; }
.msearch-close {
  background: #f5f5f7; border: none; width: 30px; height: 30px;
  border-radius: 50%; font-size: 0.8rem; cursor: pointer;
  color: #444; display: flex; align-items: center; justify-content: center;
}
.msearch-close:hover { background: #e8e8ec; }

.msearch-input-wrap { position: relative; padding: 0.7rem 1.2rem 0.8rem; }
.msearch-input {
  width: 100%;
  background: #f5f5f7; border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  font-size: 16px; /* MUST be 16px+ to prevent iOS zoom */
  font-family: var(--font-body, sans-serif);
  color: #1a1a2e; outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.msearch-input:focus { border-color: rgba(91,78,248,0.4); background: #fff; }
.msearch-icon {
  position: absolute; left: 1.9rem; top: 50%;
  transform: translateY(-50%); color: #aaa; pointer-events: none;
}

.msearch-results { max-height: 60vh; overflow-y: auto; padding-bottom: 0.5rem; }

.msearch-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 0.8rem 1.2rem; border-top: 1px solid #f5f5f7;
  cursor: pointer; transition: background 0.15s;
}
.msearch-item:hover { background: #f9f9fb; }

.msearch-img {
  width: 48px; height: 48px; border-radius: 10px;
  background: #f5f5f8; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem;
}
.msearch-img img { width: 100%; height: 100%; object-fit: contain; }
.msearch-info { flex: 1; }
.msearch-name { font-size: 0.88rem; font-weight: 600; color: #1a1a2e; }
.msearch-price { font-size: 0.78rem; color: #5b4ef8; font-weight: 600; margin-top: 0.2rem; }
.msearch-sold {
  font-size: 0.65rem; color: #f04060;
  background: rgba(240,64,96,0.08); padding: 0.2rem 0.5rem;
  border-radius: 6px; font-weight: 700; flex-shrink: 0;
}
.msearch-empty { padding: 1.5rem; text-align: center; font-size: 0.85rem; color: #aaa; }

/* ═══════════════════════════════════════════════════
   SIDEBAR CATEGORY BUTTONS (simplified)
═══════════════════════════════════════════════════ */
.sb-cat-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.65rem 0.85rem;
  background: none; border: none;
  color: var(--text2, #555); font-family: var(--font-body, sans-serif);
  font-size: 0.85rem; font-weight: 500;
  cursor: pointer; border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.sb-cat-btn:hover { background: rgba(91,78,248,0.06); color: #1a1a2e; }
.sb-cat-item { margin-bottom: 2px; }

/* Watch demo button */
.watch-demo-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 600;
  color: #5b4ef8; text-decoration: none;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
}
.watch-demo-btn:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════
   MIXTAS-INSPIRED REDESIGN — AstroGadgets
   Clean · Editorial · Light · Mobile-First
═══════════════════════════════════════════════════════ */

/* ── RESET CSS VARIABLES TO CLEAN WHITE ──────────────── */
:root {
  --bg: #f8f8f6 !important;
  --bg2: #f0f0ed !important;
  --surface: rgba(255,255,255,0.9) !important;
  --surface2: rgba(248,248,246,0.95) !important;
  --glass: rgba(255,255,255,0.8) !important;
  --glass2: rgba(255,255,255,0.95) !important;
  --glass3: #ffffff !important;
  --glass-border: rgba(0,0,0,0.07) !important;
  --glass-border2: rgba(0,0,0,0.10) !important;
  --accent: #111111 !important;
  --accent2: #333333 !important;
  --accent3: #000000 !important;
  --accent-soft: rgba(0,0,0,0.05) !important;
  --accent-glow: rgba(0,0,0,0.12) !important;
  --cyan: #2563eb !important;
  --red: #dc2626 !important;
  --amber: #d97706 !important;
  --green: #16a34a !important;
  --text: #111111 !important;
  --text2: #444444 !important;
  --text3: #888888 !important;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06) !important;
  --shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12) !important;
}

body {
  background: #f8f8f6 !important;
  font-family: 'Inter', sans-serif !important;
}

/* ── HERO SECTION ─────────────────────────────────────── */
.ag-hero {
  background: #080614;
  padding: 5rem 2rem 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-top: 0;
  overflow: hidden;
  position: relative;
}

/* Wave canvas sits behind everything */
.ag-hero-wave-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

/* Dark gradient overlay on top of wave so text stays readable */
.ag-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 6, 20, 0.55) 0%,
    rgba(20, 6, 44, 0.40) 50%,
    rgba(8, 6, 20, 0.50) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.ag-hero-content {
  position: relative;
  z-index: 3;
  padding: 0;
  text-align: left;
}

.ag-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.ag-hero-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
  text-align: left;
}

.ag-hero-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 1.2rem;
  letter-spacing: -2px;
  text-align: left;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.ag-hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 380px;
  margin-bottom: 2rem;
  text-align: left;
}

.ag-hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.ag-hero-btn-primary {
  background: #ffffff;
  color: #111;
  border: none;
  border-radius: 50px;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.ag-hero-btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.ag-hero-btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.ag-hero-btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.2);
}

.ag-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

.ag-hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  position: relative;
  z-index: 3;
}

.ag-hero-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: #f0f0ed;
}
.ag-hero-card-1 {
  grid-row: 1 / 3;
  aspect-ratio: auto;
}
.ag-hero-card-2, .ag-hero-card-3 { aspect-ratio: 4/3; }

.ag-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ag-hero-card:hover img { transform: scale(1.04); }

.ag-hero-card-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 0.25rem 0.7rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  text-transform: uppercase;
}

/* ── EDITORIAL BANNERS ────────────────────────────────── */
.ag-banners {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 0;
  height: 420px;
  background: #f8f8f6;
}

.ag-banner {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.ag-banner-img-wrap {
  position: absolute;
  inset: 0;
}
.ag-banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.75);
}
.ag-banner:hover .ag-banner-img-wrap img {
  transform: scale(1.05);
}

.ag-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
}

.ag-banner-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.35rem;
}

.ag-banner-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.ag-banner-2 .ag-banner-title,
.ag-banner-3 .ag-banner-title { font-size: 1.1rem; }

.ag-banner-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.ag-banner-btn:hover {
  background: rgba(255,255,255,0.9);
  color: #111;
}

/* ── PRODUCTS SECTION HEADER ──────────────────────────── */
.ag-products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

/* ── PRODUCT GRID — MIXTAS STYLE ──────────────────────── */
/* ── PRODUCT GRID — responsive columns ───────────────── */
.products-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-left: 1px solid rgba(0,0,0,0.08);
}
@media(min-width: 860px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media(min-width: 1200px) {
  .products-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

.product-card {
  background: #fff !important;
  border: none !important;
  border-right: 1px solid rgba(0,0,0,0.08) !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  cursor: pointer;
  transition: background 0.2s !important;
}

.product-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(0,0,0,0.08) !important;
  background: #f8f8f6 !important;
}

.product-img-wrap {
  height: auto !important;
  aspect-ratio: 1290 / 1236 !important;
  background: #f8f8f6 !important;
  overflow: hidden;
  position: relative;
}

.product-real-img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  padding: 1.25rem !important;
  transition: transform 0.4s ease !important;
}

.product-card:hover .product-real-img {
  transform: scale(1.04) !important;
}

/* Badge — smaller, minimal */
.product-badge {
  position: absolute !important;
  top: 0.6rem !important;
  left: 0.6rem !important;
  padding: 0.15rem 0.5rem !important;
  border-radius: 4px !important;
  font-size: 0.55rem !important;
  letter-spacing: 1.2px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  backdrop-filter: none !important;
}

.badge-best { background: #111 !important; color: #fff !important; border: none !important; }
.badge-new { background: #2563eb !important; color: #fff !important; border: none !important; }
.badge-limited { background: #dc2626 !important; color: #fff !important; border: none !important; }
.badge-top { background: #d97706 !important; color: #fff !important; border: none !important; }
.badge-soldout { background: #888 !important; color: #fff !important; border: none !important; }

/* Product info — clean Mixtas style */
.product-info {
  padding: 1rem 1rem 1.2rem !important;
}

.product-rating {
  margin-bottom: 0.3rem !important;
}

.p-stars { color: #d97706 !important; font-size: 0.65rem !important; }
.p-rcount { font-size: 0.62rem !important; color: #aaa !important; }

/* Category label above name (Mixtas style) */
.product-card-category {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.3rem;
  display: block;
}

.product-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #111 !important;
  margin-bottom: 0.35rem !important;
  line-height: 1.4 !important;
}

.product-desc {
  display: none !important;
}

.product-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 0.6rem !important;
}

.product-price {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  font-family: 'Inter', sans-serif !important;
}

.price-currency {
  font-size: 0.7rem !important;
  color: #888 !important;
  font-weight: 400 !important;
}

/* Watch demo button — tiny, below name */
.watch-demo-btn {
  font-size: 0.65rem !important;
  color: #2563eb !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  margin-bottom: 0.4rem !important;
}

/* Add to cart & quick view — clean */
.product-btns { gap: 0.35rem !important; }

.btn-quickview {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  color: #444 !important;
  border-radius: 4px !important;
  padding: 0.4rem 0.7rem !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
}
.btn-quickview:hover { background: #f0f0f0 !important; border-color: #999 !important; }

.btn-addcart {
  background: #111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 0.4rem 0.7rem !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  font-family: inherit !important;
}
.btn-addcart:hover { background: #333 !important; }
.btn-addcart.added { background: #16a34a !important; }

/* ── CATEGORY PILLS — UNDERLINE STYLE ─────────────────── */
.category-pills {
  display: flex !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  border-bottom: 1px solid rgba(0,0,0,0.1) !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  scrollbar-width: none !important;
}
.category-pills::-webkit-scrollbar { display: none !important; }

.cat-pill {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #999 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  white-space: nowrap !important;
  letter-spacing: 0.3px !important;
  margin-bottom: -1px !important;
}
.cat-pill:hover { color: #111 !important; border-bottom-color: rgba(0,0,0,0.3) !important; }
.cat-pill.active { color: #111 !important; border-bottom-color: #111 !important; font-weight: 600 !important; }

/* ── SECTION HEADINGS — CLEAN ──────────────────────────── */
.section-label {
  font-size: 0.62rem !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: #aaa !important;
  margin-bottom: 0.5rem !important;
}
.section-label::before { display: none !important; }

.section-h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 700 !important;
  color: #111 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.1 !important;
}
.section-h2 .dim { color: #888 !important; }

/* ── PILL HEADER — keep existing but clean it ──────────── */
.nh {
  background: #ffffff !important;
  border-bottom: none !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}
.nh.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}
.nh-logo {
  color: #111 !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-decoration: none !important;
}
.nh-icon-btn {
  color: #111 !important;
}
.nh-icon-btn:hover {
  background: rgba(0,0,0,0.05) !important;
}
.nh-cart-badge {
  background: #111 !important;
}
.nh-bar {
  background: #111 !important;
}
.nh-search-input {
  color: #111 !important;
}
.nh-search-input::placeholder { color: rgba(0,0,0,0.4) !important; }

/* ── DROPDOWN MENU — clean, no images ─────────────────── */
.ddm {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12) !important;
  max-width: 320px !important;
}

.ddm-header {
  padding: 1.1rem 1.2rem !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
}
.ddm-title { font-size: 0.75rem !important; font-weight: 700 !important; color: #111 !important; letter-spacing: 1px; text-transform: uppercase; }

.ddm-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #bbb;
  padding: 0.8rem 1.1rem 0.4rem;
}

.ddm-divider {
  height: 1px;
  background: rgba(0,0,0,0.07);
  margin: 0.4rem 0;
}

.ddm-item-clean {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.ddm-item-clean:hover { background: #f8f8f6; }

.ddm-item-icon { font-size: 1rem; flex-shrink: 0; width: 22px; text-align: center; }
.ddm-item-name { flex: 1; font-size: 0.85rem; font-weight: 500; color: #222; }
.ddm-item-badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.ddm-item-badge.hot { background: #111; color: #fff; }
.ddm-item-badge.new-badge { background: #2563eb; color: #fff; }
.ddm-arrow { color: #ccc; font-size: 1rem; margin-left: auto; }

/* ── SCARCITY — clean ─────────────────────────────────── */
.product-scarcity {
  background: rgba(255,255,255,0.9) !important;
  color: #dc2626 !important;
  border: none !important;
  font-size: 0.6rem !important;
}

/* ── SOLD OUT ─────────────────────────────────────────── */
.sold-out-overlay-badge {
  background: #333 !important;
  font-size: 0.65rem !important;
  letter-spacing: 1px !important;
}

/* ── MARQUEE ──────────────────────────────────────────── */
.marquee-wrap {
  background: #111 !important;
  border: none !important;
}
.marquee-item {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.65rem !important;
  letter-spacing: 1.5px !important;
}
.marquee-sep { color: rgba(255,255,255,0.3) !important; }

/* ── BOTTOM NAV ───────────────────────────────────────── */
.bottom-nav {
  background: rgba(255,255,255,0.95) !important;
  border-top: 1px solid rgba(0,0,0,0.08) !important;
  backdrop-filter: blur(12px) !important;
}
.bn-label { color: #666 !important; }
.bn-btn.active .bn-label { color: #111 !important; }

/* ── SECTION BACKGROUNDS ──────────────────────────────── */
.testi-section { background: #f8f8f6 !important; }
.faq-section { background: #ffffff !important; }
.newsletter-section { background: #111 !important; }
.newsletter-h { color: #fff !important; }
.newsletter-p { color: rgba(255,255,255,0.7) !important; }
.newsletter-note { color: rgba(255,255,255,0.4) !important; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ag-banners { grid-template-columns: 1fr 1fr; height: auto; }
  .ag-banner-3 { display: none; }
}

@media (max-width: 768px) {
  .ag-hero { padding: 2.5rem 1.25rem 3rem; margin-top: 0; }
  .ag-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ag-hero-visual { display: none; }
  .ag-hero-h1 { font-size: 2.8rem; }
  .products-grid { grid-template-columns: 1fr !important; }
  .product-img-wrap {
    height: auto !important;
    aspect-ratio: 1290 / 1236 !important;
    padding: 0 !important;
  }
  .product-real-img {
    object-fit: contain !important;
    padding: 1rem !important;
  }
  .ag-banners { grid-template-columns: 1fr; height: auto; }
  .ag-banner { height: 240px; }
  .ag-banner-2, .ag-banner-3 { display: none; }
}

@media (max-width: 480px) {
  .ag-hero-h1 { font-size: 2.2rem; letter-spacing: -0.5px; }
  .products-grid { grid-template-columns: 1fr !important; gap: 0 !important; }
  .product-img-wrap {
    height: auto !important;
    aspect-ratio: 1290 / 1236 !important;
    padding: 0 !important;
  }
  .product-real-img {
    object-fit: contain !important;
    padding: 1rem !important;
  }
  .cat-pill { padding: 0.6rem 0.9rem !important; font-size: 0.7rem !important; }
}


/* ── PRODUCT CATEGORY LABEL (already in store.js) ──────── */
.product-cat-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 0.35rem;
  display: block;
}

/* ── GLOBAL BUTTON RESPONSIVENESS ─────────────────────── */
button, 
.btn, 
.btn-primary, 
.btn-secondary, 
.ag-hero-btn-primary, 
.ag-hero-btn-ghost, 
.ag-banner-btn, 
.newsletter-btn, 
.tracker-btn, 
.checkout-btn, 
.bn-btn, 
.nh-icon-btn, 
.sb-cat-btn, 
.sidebar-close, 
.ddm-close, 
.cat-pill {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}

button:active, 
.btn:active, 
.btn-primary:active, 
.btn-secondary:active, 
.ag-hero-btn-primary:active, 
.ag-hero-btn-ghost:active, 
.ag-banner-btn:active, 
.newsletter-btn:active, 
.tracker-btn:active, 
.checkout-btn:active, 
.bn-btn:active, 
.nh-icon-btn:active, 
.sb-cat-btn:active, 
.sidebar-close:active, 
.ddm-close:active, 
.cat-pill:active {
  transform: scale(0.95);
}

/* Exclude certain toggles from scale down if they have specific transform logic */
.astro-hamburger:active, 
.nh-hamburger:active, 
.sidebar-toggle:active {
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════
   FINAL POLISH — Fonts, Hero Fix, Search Stroke, Cart
═══════════════════════════════════════════════════════ */

/* ── PREMIUM FONT STACK ──────────────────────────────── */
/* Headings: Fraunces (editorial serif used by Warby Parker, Glossier) */
/* Body: Inter (used by Linear, Vercel, Notion) */
/* Mono accents: JetBrains Mono */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --font-display: 'Fraunces', Georgia, serif !important;
  --font-body: 'Inter', system-ui, sans-serif !important;
}

body { font-family: var(--font-body) !important; }

.section-h2,
.ddm-name,
.pdp-name,
.modal-name,
.cart-title,
.testi-name {
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic;
}

.ag-hero-h1 {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

.section-h2 { font-style: italic !important; }

/* Keep nav logo in display font but non-italic */
.nh-logo {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
}

/* Product names stay clean sans-serif */
.product-name {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
}

/* ── HERO LAYOUT FIX — stacked on desktop too ──────── */
/* Content on top, visual cards below but separate */
.ag-hero-inner {
  grid-template-columns: 1fr !important;
  max-width: 720px !important;
  text-align: center !important;
}

.ag-hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.ag-hero-sub { max-width: 480px !important; text-align: center !important; }
.ag-hero-ctas { justify-content: center !important; }
.ag-hero-trust { justify-content: center !important; }

/* Visual cards row — below the text, full width */
.ag-hero-visual {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  width: 100% !important;
  max-width: 800px !important;
  margin: 2rem auto 0 !important;
  grid-template-columns: unset !important;
  grid-template-rows: unset !important;
}

.ag-hero-card {
  flex: 1 !important;
  aspect-ratio: 3/4 !important;
  max-width: 260px !important;
}

.ag-hero-card-1 {
  grid-row: unset !important;
  aspect-ratio: 3/4 !important;
}

/* Wrap both into a column so hero text is always above cards */
.ag-hero {
  padding: 5rem 2rem 3rem !important;
}

.ag-hero-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 0 !important;
}

/* ── DESKTOP SEARCH BUTTON — add stroke ────────────── */
/* On desktop the search is an expanding input in the pill nav */
/* Add a visible bordered search button for desktop */
@media (min-width: 769px) {
  .nh-search-wrap {
    background: rgba(0,0,0,0.05) !important;
    border: 1.5px solid rgba(0,0,0,0.18) !important;
    border-radius: 50px !important;
    padding: 0.4rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s !important;
    cursor: text !important;
    min-width: 180px !important;
  }

  .nh-search-wrap:focus-within {
    border-color: rgba(0,0,0,0.4) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3.5px rgba(91, 78, 248, 0.10) !important;
    min-width: 240px !important;
  }

  .nh-search-icon { color: #888 !important; flex-shrink: 0; }
  .nh-search-input { color: #111 !important; font-size: 0.82rem !important; border: none !important; background: transparent !important; box-shadow: none !important; outline: none !important; }
  .nh-search-input::placeholder { color: #aaa !important; }
}

/* ── SMART CART HEADER ──────────────────────────────── */
.cart-head {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  padding: 1rem 1.25rem !important;
  border-bottom: 1px solid rgba(0,0,0,0.08) !important;
  background: #fff !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 2 !important;
  gap: 0.5rem !important;
}

.cart-head-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.cart-back-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-size: 0.72rem;
  font-weight: 500;
  color: #888;
  cursor: pointer;
  font-family: inherit;
  padding: 0.3rem 0;
  transition: color 0.15s;
  white-space: nowrap;
}
.cart-back-btn:hover { color: #111; }
.cart-back-btn svg { flex-shrink: 0; }

.cart-head-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.cart-title {
  font-family: 'Fraunces', Georgia, serif !important;
  font-style: italic !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: #111 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.cart-item-count {
  font-size: 0.65rem;
  color: #aaa;
  font-weight: 400;
}

.cart-close-btn {
  justify-self: end;
  background: #f5f5f7 !important;
  border: none !important;
  color: #666 !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 0.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s !important;
}
.cart-close-btn:hover { background: #e8e8ec !important; color: #111 !important; }

/* ── CART BODY — clean light mode ──────────────────── */
.cart-drawer {
  background: #ffffff !important;
  border-left: 1px solid rgba(0,0,0,0.08) !important;
  box-shadow: -8px 0 40px rgba(0,0,0,0.10) !important;
}

.cart-body {
  background: #f8f8f6 !important;
}

.c-item {
  background: #fff !important;
  border-radius: 12px !important;
  margin-bottom: 0.5rem !important;
  padding: 0.85rem !important;
  border-bottom: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
}

/* ── UPSELL / POPULAR PICKS ────────────────────────── */
.cart-upsell-label {
  font-family: 'Fraunces', serif !important;
  font-style: italic !important;
  font-size: 0.95rem !important;
  color: #111 !important;
  font-weight: 600 !important;
}

.upsell-item {
  border-radius: 10px !important;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
}
.upsell-item:hover { background: #f8f8f6 !important; }

.upsell-add {
  background: #111 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background 0.15s !important;
}
.upsell-add:hover { background: #333 !important; }

/* ── DDM — ensure original Nomad style works ──────── */
.ddm-item-clean {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.1rem;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.ddm-item-clean:hover { background: #f8f8f6; }
.ddm-item-icon { font-size: 1rem; flex-shrink: 0; width: 22px; text-align: center; }
.ddm-item-name { flex: 1; font-size: 0.85rem; font-weight: 500; color: #222; }



/* ── DDM SUB-PANEL: slides OVER the categories inside the DDM ── */
.ddm-sub-panel {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  /* Match the DDM width exactly so sub-panel sits on top cleanly */
  width: 75vw;
  max-width: 360px; /* Cap narrower — prevents huge cards on desktop */
  background: #fff;
  transform: translateX(-200%);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 0 24px 24px 0;
  box-shadow: 8px 0 60px rgba(0,0,0,.22);
}
@media(min-width: 768px) {
  .ddm-sub-panel { max-width: 320px; }
  .ddm-sub-grid  { grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; padding: 0.6rem 0.75rem 1.5rem; }
}
.ddm-sub-panel.open {
  transform: translateX(0);
}

.ddm-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem 0.6rem;
  position: sticky;
  top: 0;
  background: #f5f5f7;
  z-index: 2;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ddm-back-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  font-family: inherit;
  padding: 0.3rem 0;
  transition: color 0.15s;
}
.ddm-back-btn:hover { color: #555; }
.ddm-back-btn svg { flex-shrink: 0; }

/* Product cards inside DDM sub-panel */
.ddm-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.75rem 0.75rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  align-items: start;
  align-content: start;
}
.ddm-prod-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.ddm-prod-card:hover { background: #f0f0f4; }
.ddm-prod-img-wrap {
  width: 100%;
  aspect-ratio: 1290 / 1236;
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.ddm-prod-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}
.ddm-prod-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #111;
  padding: 0.4rem 0.6rem 0.1rem;
  line-height: 1.3;
}
.ddm-prod-price {
  font-size: 0.72rem;
  color: #555;
  padding: 0 0.6rem 0.6rem;
  font-weight: 500;
}
.ddm-prod-sold-badge {
  position: absolute;
  top: 0.4rem;
  left: 0.4rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.ddm-prod-card.is-sold-out .ddm-prod-img-wrap img {
  opacity: 0.5;
  filter: grayscale(0.5);
}


/* ══════════════════════════════════════════════════════
   SEARCH BAR FIXES — focus outline, dropdown, dark mode
   ══════════════════════════════════════════════════════ */

/* 1. Kill ALL native browser outlines/rings on search inputs */
.nh-search-input,
.nh-search-input:focus,
.nh-search-input:focus-visible,
.msearch-input,
.msearch-input:focus,
.msearch-input:focus-visible {
  outline: none !important;
  -webkit-appearance: none;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 2. Desktop search wrap — light mode */
@media (min-width: 769px) {
  .nh-search-wrap:focus-within {
    border-color: rgba(91, 78, 248, 0.55) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3.5px rgba(91, 78, 248, 0.10) !important;
  }
}

/* 3. Dark mode — desktop search wrap */
body.dark-mode .nh-search-wrap {
  border-color: rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
body.dark-mode .nh-search-wrap:focus-within {
  border-color: rgba(139, 94, 60, 0.70) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 0 0 3.5px rgba(139, 94, 60, 0.18) !important;
}
body.dark-mode .nh-search-icon {
  color: rgba(255, 255, 255, 0.4) !important;
}
body.dark-mode .nh-search-input {
  color: #ede8df !important;
}
body.dark-mode .nh-search-input::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* 4. Search results dropdown — light mode */
.search-results {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(91, 78, 248, 0.15) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  z-index: 700 !important;
  display: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(91, 78, 248, 0.06) !important;
}
.search-results.open { display: block !important; }

.search-result-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: 0.7rem 1rem !important;
  cursor: pointer !important;
  border-bottom: 1px solid rgba(200, 205, 230, 0.35) !important;
  transition: background 0.15s !important;
}
.search-result-item:last-child { border-bottom: none !important; }
.search-result-item:hover { background: rgba(91, 78, 248, 0.05) !important; }

.search-result-img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  border: 1px solid rgba(200, 205, 230, 0.4) !important;
}
.search-result-name {
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: #0f0f23 !important;
  line-height: 1.3 !important;
}
.search-result-price {
  font-size: 0.78rem !important;
  color: #5b4ef8 !important;
  font-weight: 600 !important;
  margin-top: 0.15rem !important;
}
.search-no-results {
  padding: 1.4rem 1rem !important;
  text-align: center !important;
  color: rgba(15, 15, 35, 0.4) !important;
  font-size: 0.84rem !important;
}

/* 5. Search results dropdown — dark mode */
body.dark-mode .search-results {
  background: #1a1a1a !important;
  border-color: rgba(139, 94, 60, 0.25) !important;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(139, 94, 60, 0.10) !important;
}
body.dark-mode .search-result-item {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
body.dark-mode .search-result-item:hover {
  background: rgba(139, 94, 60, 0.08) !important;
}
body.dark-mode .search-result-img {
  border-color: rgba(255, 255, 255, 0.08) !important;
}
body.dark-mode .search-result-name {
  color: #ede8df !important;
}
body.dark-mode .search-result-price {
  color: #c08050 !important;
}
body.dark-mode .search-no-results {
  color: rgba(237, 232, 223, 0.35) !important;
}

/* 6. Mobile search modal — dark mode */
body.dark-mode .msearch-input:focus {
  outline: none !important;
  border-color: rgba(139, 94, 60, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.12) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
body.dark-mode .msearch-results {
  background: #111111 !important;
}
body.dark-mode .msearch-item {
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}
body.dark-mode .msearch-item:hover {
  background: rgba(139, 94, 60, 0.07) !important;
}
body.dark-mode .msearch-name {
  color: #ede8df !important;
}
body.dark-mode .msearch-price {
  color: #c08050 !important;
}

/* ══════════════════════════════════════════════════════
   SPARKLES BACKGROUND LAYER
   ══════════════════════════════════════════════════════ */
#ag-sparkles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Ensure sparkles canvas itself never blocks clicks */
#ag-sparkles canvas {
  pointer-events: none !important;
}

/* ══════════════════════════════════════════════════════
   CAROUSEL UI
   ══════════════════════════════════════════════════════ */
.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  touch-action: pan-y;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none; /* Prevents dragging the img itself */
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.05);
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.2s;
  z-index: 10;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.carousel-btn:active { transform: translateY(-50%) scale(0.95); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  width: 16px;
  background: var(--accent);
}

body.dark-mode .carousel-container { background: rgba(0,0,0,0.2); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
body.dark-mode .carousel-btn { background: rgba(30, 30, 30, 0.7); border-color: rgba(255,255,255,0.1); color: #fff; }
body.dark-mode .carousel-btn:hover { background: rgba(50, 50, 50, 0.9); }
body.dark-mode .carousel-dot { background: rgba(255,255,255,0.3); }
body.dark-mode .carousel-dot.active { background: var(--accent); }

.carousel-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.carousel-thumbnails::-webkit-scrollbar { height: 4px; }
.carousel-thumbnails::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 4px; }

.carousel-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--bg2);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s;
}
.carousel-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}
.carousel-thumb:hover { opacity: 1; }
.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.dark-mode .carousel-thumb { background: rgba(0,0,0,0.2); }

/* ══════════════════════════════════════════════════════
   DARK MODE — SIDEBAR / HAMBURGER MENU: ALL TEXT BLACK
   ══════════════════════════════════════════════════════ */
body.dark-mode .smart-sidebar,
body.dark-mode .sidebar {
  background: #ffffff !important;
  color: #111111 !important;
}

body.dark-mode .sidebar-head {
  background: rgba(255,255,255,0.98) !important;
  border-bottom-color: rgba(0,0,0,0.08) !important;
}

body.dark-mode .sidebar-brand { color: #111111 !important; }
body.dark-mode .sidebar-close { color: #111111 !important; background: rgba(0,0,0,0.07) !important; }
body.dark-mode .sidebar-close:hover { background: rgba(0,0,0,0.12) !important; color: #111111 !important; }

body.dark-mode .sidebar-section { border-bottom-color: rgba(0,0,0,0.08) !important; }
body.dark-mode .sidebar-section-label { color: #555555 !important; }

body.dark-mode .sidebar-nav-link { color: #111111 !important; }
body.dark-mode .sidebar-nav-link:hover { color: #111111 !important; background: rgba(0,0,0,0.05) !important; }
body.dark-mode .sn-arrow { color: #555555 !important; }

body.dark-mode .sidebar-product-name { color: #111111 !important; }
body.dark-mode .sidebar-product-price { color: #8b5e3c !important; }
body.dark-mode .sidebar-product { border-bottom-color: rgba(0,0,0,0.08) !important; }

body.dark-mode .sidebar-trust-item { color: #111111 !important; }

/* sb-* classes (category buttons, links, early access) */
body.dark-mode .sb-cat-btn { color: #111111 !important; background: transparent !important; }
body.dark-mode .sb-cat-btn:hover { color: #111111 !important; background: rgba(0,0,0,0.05) !important; }
body.dark-mode .sb-cat-item { border-bottom-color: rgba(0,0,0,0.07) !important; }
body.dark-mode .sb-arrow { color: #555555 !important; }
body.dark-mode .sb-cat-sub a { color: #333333 !important; }
body.dark-mode .sb-cat-sub a:hover { color: #111111 !important; }

body.dark-mode .sb-link { color: #111111 !important; }
body.dark-mode .sb-link:hover { color: #111111 !important; background: rgba(0,0,0,0.05) !important; }

body.dark-mode .sb-ea-title { color: #111111 !important; }
body.dark-mode .sb-ea-sub { color: #555555 !important; }
body.dark-mode .sb-early-access input { color: #111111 !important; background: #f5f5f5 !important; border-color: rgba(0,0,0,0.15) !important; }
body.dark-mode .sb-early-access input::placeholder { color: #999999 !important; }

/* Scrollbar in dark mode sidebar */
body.dark-mode .smart-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15) !important; }

/* ══════════════════════════════════════════════════════
   DARK MODE — DDM CATEGORY CARDS: ALL TEXT BLACK
   ══════════════════════════════════════════════════════ */
body.dark-mode .ddm-item {
  background: #f5f5f7 !important;
}
body.dark-mode .ddm-item:hover {
  background: #ebebed !important;
}
body.dark-mode .ddm-name {
  color: #111111 !important;
}
body.dark-mode .ddm-sub {
  color: #555555 !important;
}
body.dark-mode .ddm-arrow {
  color: #999999 !important;
}
body.dark-mode .ddm-icon {
  background: #e0e0e4 !important;
}
body.dark-mode .ddm-text {
  color: #111111 !important;
}
/* Sub-panel product cards in DDM */
body.dark-mode .ddm-prod-card {
  background: #f5f5f7 !important;
}
body.dark-mode .ddm-prod-card:hover {
  background: #ebebed !important;
}
body.dark-mode .ddm-prod-name {
  color: #111111 !important;
}
body.dark-mode .ddm-prod-price {
  color: #8b5e3c !important;
}
/* DDM container/panel background */
body.dark-mode .ddm {
  background: #ffffff !important;
  border-color: rgba(0,0,0,0.1) !important;
}
body.dark-mode .ddm-header {
  border-bottom-color: rgba(0,0,0,0.08) !important;
}
body.dark-mode .ddm-title {
  color: #111111 !important;
}
body.dark-mode .ddm-section-label {
  color: #888888 !important;
}
body.dark-mode .ddm-links a {
  color: #333333 !important;
  background: #f0f0f4 !important;
}
body.dark-mode .ddm-links a:hover {
  background: #e4e4e8 !important;
  color: #111111 !important;
}
body.dark-mode .ddm-item-clean {
  background: transparent !important;
}
body.dark-mode .ddm-item-clean:hover {
  background: #f0f0f4 !important;
}
body.dark-mode .ddm-item-name {
  color: #111111 !important;
}

/* ═══════════════════════════════════════════════════════
   PEAK-DESIGN STYLE PRODUCT CAROUSEL
═══════════════════════════════════════════════════════ */

.pd-shop-section {
  padding-bottom: 2rem;
}

/* ── Header row ── */
.pd-shop-header {
  margin-bottom: 0;
}

.pd-shop-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.8rem;
}

/* ── Tab bar ── */
.pd-tab-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1.5px solid rgba(200, 205, 230, 0.5);
  margin-bottom: 0;
  gap: 1rem;
}

.pd-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
}
.pd-tabs::-webkit-scrollbar { display: none; }

.pd-tab {
  padding: 0.75rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text3);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
  font-family: var(--font-body);
}

.pd-tab:hover {
  color: var(--text);
}

.pd-tab.active {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ── Arrow controls ── */
.pd-arrow-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-bottom: 0.75rem;
  align-items: center;
}

.pd-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(200, 205, 230, 0.8);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pd-arrow:hover:not(:disabled) {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.pd-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

/* ── Carousel viewport & track ── */
.pd-carousel-viewport {
  overflow: hidden;
  width: 100%;
  margin-top: 0;
}

.pd-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2rem 0 1rem;
}
.pd-carousel-track::-webkit-scrollbar { display: none; }

/* ── Product card ── */
.pd-card {
  flex: 0 0 calc(25% - 1.2rem);
  min-width: 240px;
  max-width: 320px;
  scroll-snap-align: start;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease;
}

.pd-card:hover {
  transform: translateY(-3px);
}

.pd-card-soldout {
  opacity: 0.7;
}

.pd-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1290 / 1236;
  background: var(--glass2, #f5f5f7);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.pd-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s ease;
}

.pd-card:hover .pd-card-img {
  transform: scale(1.04);
}

.pd-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.pd-card-sold-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
  border-radius: 12px;
}

/* Badges */
.pd-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}
.pd-badge-soldout  { background: #111; color: #fff; }
.pd-badge-preorder { background: #f59e0b; color: #fff; }
.pd-badge-low      { background: #ef4444; color: #fff; }
.pd-badge-new      { background: var(--accent, #5b4ef8); color: #fff; }

/* Card body */
.pd-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.pd-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  font-family: var(--font-display);
}

.pd-card-demo {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.pd-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.1rem;
}

.pd-card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.pd-card-compare {
  font-size: 0.78rem;
  color: var(--text3);
  text-decoration: line-through;
}

.pd-card-btn {
  margin-top: auto;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1.5px solid rgba(200, 205, 230, 0.7);
  background: transparent;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.18s;
  width: 100%;
}

.pd-card-btn:hover {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

.pd-card-btn.added {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pd-btn-notify {
  border-color: rgba(200, 205, 230, 0.5);
  color: var(--text3);
}

/* ── Dot indicators ── */
.pd-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.pd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.pd-dot.active {
  background: var(--text);
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pd-card {
    flex: 0 0 calc(33.33% - 1rem);
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .pd-card {
    flex: 0 0 75vw;
    min-width: 220px;
    max-width: 280px;
  }

  .pd-tab {
    padding: 0.65rem 0.9rem;
    font-size: 0.75rem;
  }

  .pd-shop-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ── Dark mode ── */
body.dark-mode .pd-tab-bar {
  border-bottom-color: rgba(255,255,255,0.1);
}

body.dark-mode .pd-tab.active {
  border-bottom-color: var(--text);
}

body.dark-mode .pd-card-img-wrap {
  background: rgba(255,255,255,0.05);
}

body.dark-mode .pd-arrow {
  border-color: rgba(255,255,255,0.15);
}

body.dark-mode .pd-arrow:hover:not(:disabled) {
  background: var(--text);
  color: #0e0e0e;
  border-color: var(--text);
}

body.dark-mode .pd-card-btn {
  border-color: rgba(255,255,255,0.15);
}

body.dark-mode .pd-card-btn:hover {
  background: var(--text);
  color: #0e0e0e;
}

body.dark-mode .pd-dot {
  background: rgba(255,255,255,0.2);
}

body.dark-mode .pd-dot.active {
  background: var(--text);
}

/* ===== 3D TILT EFFECT ===== */

/* Let tilted cards overflow the viewport — no clipping */
.pd-carousel-viewport {
  overflow: visible !important;
  perspective: 1000px;
}

/* Track needs padding so tilted edge cards aren't clipped by page edge */
.pd-carousel-track {
  overflow-x: auto;
  overflow-y: visible !important;
  padding: 3rem 2rem; /* Give plenty of space on top/bottom and sides */
  margin: -1rem -2rem; /* Negative margin pulls the scroll boundary outwards */
  width: calc(100% + 4rem); /* Counteract the negative margin */
}

/* Apply perspective to cards */
.pd-card, .product-card {
  perspective: 1000px;
  position: relative;
  z-index: 1;
}

/* Image wrapper receives the GPU-accelerated 3D transform */
.pd-card-img-wrap, .product-img-wrap {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

/* Deepen shadow on the image wrapper when tilt is active */
.pd-card.tilt-active .pd-card-img-wrap,
.product-card.tilt-active .product-img-wrap {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18),
              0 10px 20px rgba(0, 0, 0, 0.10);
  z-index: 10;
}

/* Maintain border-radius clipping on the image during tilt */
.pd-card.tilt-active .pd-card-img-wrap,
.product-card.tilt-active .product-img-wrap {
  /* removed overflow: visible so the image doesn't turn into a sharp rectangle and cover the text */
}

/* Prevent default CSS hover translation/scaling when interacting */
.pd-card.tilt-active:hover,
.product-card.tilt-active:hover {
  transform: none !important;
}

.tilt-interacting.pd-card-img-wrap .pd-card-img,
.tilt-interacting.product-img-wrap .product-real-img {
  transform: none !important;
}

/* Glare overlay — moves with cursor */
.tilt-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.23, 1, 0.32, 1);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 70%
  );
  mix-blend-mode: overlay;
}

.pd-card.tilt-active .tilt-glare,
.product-card.tilt-active .tilt-glare {
  opacity: 1;
}

/* Dark mode: slightly brighter glare for visibility */
body.dark-mode .tilt-glare {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.12) 40%,
    transparent 70%
  );
}

body.dark-mode .pd-card.tilt-active .pd-card-img-wrap,
body.dark-mode .product-card.tilt-active .product-img-wrap {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45),
              0 10px 20px rgba(0, 0, 0, 0.30);
}

/* Disable tilt on touch / mobile devices */
@media (hover: none) {
  .pd-card-img-wrap, .product-img-wrap {
    will-change: auto !important;
    transform: none !important;
  }
  .tilt-glare {
    display: none !important;
  }
  .pd-carousel-viewport {
    overflow: hidden !important;
  }
}

/* ===== END 3D TILT EFFECT ===== */



/* ===== HERO FALLING PATTERN (dark mode) ===== */
.ag-hero {
  isolation: isolate;
}

.ag-hero-falling-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.ag-hero-falling-pattern .ag-falling-streaks,
.ag-hero-falling-pattern .ag-falling-dots {
  position: absolute;
  inset: 0;
}

.ag-hero-falling-pattern .ag-falling-streaks {
  z-index: 0;
}

.ag-hero-falling-pattern .ag-falling-dots {
  z-index: 1;
}

/* Light mode: interactive wave. Dark mode: falling pattern only. */
body.dark-mode .ag-hero-falling-pattern {
  opacity: 1;
  visibility: visible;
}
body.dark-mode #heroWaveCanvas {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Dark mode hero — pattern above canvas, lighter scrim so streaks show through */
body.dark-mode .ag-hero {
  background: #080614 !important;
}
body.dark-mode .ag-hero::before {
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(4, 3, 12, 0.35) 0%,
    rgba(14, 4, 28, 0.22) 50%,
    rgba(4, 3, 12, 0.32) 100%
  ) !important;
}
/* ===== END HERO FALLING PATTERN ===== */