/* ==========================================================================
   PrimeUnlock — Storefront Design System
   Direction: "Midnight Aurora" — deep indigo glass, violet/mint dual accent,
   key-card notched product tiles, monospace license typography.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --ink-900: #06060b;
  --ink-800: #0a0a13;
  --ink-700: #10101f;
  --ink-600: #16162a;

  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .075);
  --glass-3: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);

  --violet: #7c5cff;
  --violet-2: #a98bff;
  --violet-soft: rgba(124, 92, 255, .16);
  --mint: #3ddc97;
  --mint-soft: rgba(61, 220, 151, .14);
  --gold: #ffb454;
  --gold-soft: rgba(255, 180, 84, .14);
  --rose: #ff5c7a;
  --rose-soft: rgba(255, 92, 122, .14);

  --text: #edeef7;
  --muted: #9a9ab4;
  --dim: #6e6e8a;

  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .85);
  --shadow-glow: 0 22px 70px -28px rgba(124, 92, 255, .75);

  --font-display: "Bricolage Grotesque", "Syne", system-ui, sans-serif;
  --font-body: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1220px;
  --header-h: 72px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* legacy aliases used by inline styles in templates */
  --accent: var(--violet);
  --bg: var(--ink-900);
  --card: var(--glass);
  --border: var(--line);
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: env(safe-area-inset-bottom);
}

/* Animated aurora background — the ambient layer for the whole store */
body::before {
  content: "";
  position: fixed;
  inset: -30vh -20vw;
  z-index: -2;
  background:
    radial-gradient(42vw 42vw at 18% 12%, rgba(124, 92, 255, .30), transparent 62%),
    radial-gradient(38vw 38vw at 84% 8%, rgba(61, 220, 151, .16), transparent 60%),
    radial-gradient(46vw 46vw at 62% 88%, rgba(255, 92, 122, .14), transparent 64%);
  filter: blur(28px);
  animation: aurora 26s var(--ease) infinite alternate;
  pointer-events: none;
}

/* Fine grid — reads as a key-cut plate under the glass */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}

@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(3%, -4%, 0) scale(1.08); }
  100% { transform: translate3d(-4%, 3%, 0) scale(1.04); }
}

img, svg, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet-2);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-900); }
::-webkit-scrollbar-thumb { background: rgba(124, 92, 255, .35); border-radius: 20px; border: 3px solid var(--ink-900); }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 92, 255, .6); }

/* ---------- 3. Typography ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
}

h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -.02em; }

h1 span, h2 span {
  background: linear-gradient(105deg, var(--violet-2), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

p { color: var(--muted); }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--violet-2);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--violet-soft);
  backdrop-filter: blur(10px);
}

.eyebrow::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 2.4s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.muted { color: var(--muted); }

/* ---------- 4. Layout ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding: clamp(64px, 8vw, 108px) 0; position: relative; }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.section-head h2 { margin: 14px 0 8px; }
.section-head p { max-width: 54ch; }

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: var(--violet);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.skip-link:focus { left: 20px; }

/* ---------- 5. Glass surfaces -------------------------------------------- */
.panel, .content-card, .form-card, .stat-card, .admin-card, .review-card,
.category-card, .auth-card, .install-card, .cart-item, .product-card {
  background: linear-gradient(160deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.panel, .content-card, .form-card {
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow);
}

.panel h2 { font-size: 1.25rem; margin-bottom: 20px; }

/* ---------- 6. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, border-color .25s, opacity .25s;
}

.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: linear-gradient(120deg, var(--violet), #5f3fe8 60%, var(--violet-2));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 80px -26px rgba(124, 92, 255, .95); }

.btn-secondary {
  background: var(--glass-2);
  border-color: var(--line-2);
  color: var(--text);
  backdrop-filter: blur(16px);
}
.btn-secondary:hover { background: var(--glass-3); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: .84rem; }
.btn-wide { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; pointer-events: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--violet-2);
  font-weight: 600;
  font-size: .93rem;
  transition: gap .3s var(--ease), color .25s;
}
.text-link:hover { gap: 13px; color: var(--mint); }

.link-danger { color: var(--rose); font-weight: 600; }

.action-btn {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  font-size: .82rem;
  font-weight: 600;
  transition: background .25s, border-color .25s;
}
.action-btn:hover { background: var(--glass-3); border-color: var(--violet); }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass);
  transition: background .25s, transform .3s var(--ease);
}
.icon-button:hover { background: var(--glass-3); transform: translateY(-2px); }

/* ---------- 7. Announcement + header ------------------------------------- */
.announcement {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 20px;
  font-size: .85rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--violet-soft), var(--mint-soft), var(--violet-soft));
  background-size: 220% 100%;
  border-bottom: 1px solid var(--line);
  animation: slide-bg 9s linear infinite;
  text-align: center;
}
@keyframes slide-bg { to { background-position: 220% 0; } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 6, 11, .62);
  backdrop-filter: blur(26px) saturate(180%);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  border-bottom: 1px solid var(--line);
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.is-stuck { background: rgba(6, 6, 11, .9); box-shadow: 0 12px 40px -22px #000; }

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -.035em;
  flex-shrink: 0;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(140deg, var(--violet), var(--mint));
  color: #06060b;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 8px 26px -8px rgba(124, 92, 255, .9);
  /* key-card notch — the signature shape, repeated on product tiles */
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.search {
  position: relative;
  flex: 1;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 18px;
  height: 44px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.search:focus-within {
  border-color: var(--violet);
  background: var(--glass-2);
  box-shadow: 0 0 0 4px var(--violet-soft);
}
.search svg { width: 18px; height: 18px; color: var(--dim); flex-shrink: 0; }
.search input {
  flex: 1;
  margin-top: 0;
  padding: 0;
  background: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  font-size: .92rem;
  min-width: 0;
}
.search input:focus { background: none; box-shadow: none; }
.search input::placeholder { color: var(--dim); }

.search-results {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  background: rgba(10, 10, 19, .96);
  backdrop-filter: blur(26px);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: none;
  max-height: 62vh;
  overflow-y: auto;
  z-index: 95;
}
.search-results.open { display: block; animation: drop .28s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }

.search-results a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
}
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.is-active { background: var(--violet-soft); }
.search-results b { display: block; font-size: .9rem; font-weight: 600; }
.search-results small { color: var(--dim); font-size: .78rem; }
.search-results .rs-price { margin-left: auto; font-family: var(--font-mono); font-size: .85rem; color: var(--mint); }
.search-results .rs-empty { padding: 18px 16px; color: var(--dim); font-size: .88rem; }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-link { font-size: .9rem; font-weight: 500; color: var(--muted); transition: color .25s; }
.nav-link:hover { color: var(--text); }

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  font-size: .89rem;
  font-weight: 600;
  transition: background .25s, transform .3s var(--ease);
}
.cart-button:hover { background: var(--glass-3); transform: translateY(-2px); }
.cart-button svg { width: 18px; height: 18px; }
.cart-button b {
  position: absolute;
  top: -5px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--mint);
  color: #05130d;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 700;
}

.menu-button { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.menu-button span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.category-nav { border-top: 1px solid var(--line); }
.category-nav .container {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-block: 8px;
}
.category-nav .container::-webkit-scrollbar { display: none; }
.category-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: .87rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.category-nav a:hover { background: var(--glass-2); color: var(--text); }
.mobile-account { display: none; }

/* ---------- 8. Hero ------------------------------------------------------ */
.hero { padding: clamp(52px, 7vw, 96px) 0 clamp(28px, 4vw, 46px); }

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px;
  align-items: center;
}

.hero-copy h1 { margin: 20px 0 18px; }
.hero-copy p { font-size: 1.1rem; max-width: 54ch; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 32px; }

.hero-visual { position: relative; min-height: 340px; display: grid; place-items: center; }

.hero-stack { position: relative; width: 100%; height: 340px; }

.float-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 168px;
  height: 210px;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--glass-3), var(--glass));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .26em;
  color: var(--violet-2);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 86% 100%, 0 100%);
  animation: float 7s var(--ease) infinite alternate;
}
.float-card:nth-child(1) { top: 4%;  left: 4%;  rotate: -9deg;  animation-delay: 0s; }
.float-card:nth-child(2) { top: 20%; left: 32%; rotate: 3deg;   animation-delay: -2.4s; color: var(--mint); }
.float-card:nth-child(3) { top: 38%; left: 60%; rotate: 11deg;  animation-delay: -4.6s; color: var(--gold); }

@keyframes float {
  from { translate: 0 0; }
  to   { translate: 0 -22px; }
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 54px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: var(--r);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.trust-item > span { font-size: 1.25rem; }
.trust-item b { display: block; font-size: .9rem; font-weight: 600; }
.trust-item small { color: var(--dim); font-size: .78rem; line-height: 1.4; }

/* ---------- 9. Categories ------------------------------------------------ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.category-card {
  position: relative;
  padding: 26px 22px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s;
}
.category-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--violet-soft), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.category-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.category-card:hover::after { opacity: 1; }
.category-icon { font-size: 1.7rem; display: block; margin-bottom: 14px; }
.category-card h3 { margin-bottom: 6px; }
.category-card p { font-size: .84rem; color: var(--dim); }

/* ---------- 10. Product cards (signature key-card notch) ----------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  clip-path: polygon(0 0, 100% 0, 100% 93%, 93% 100%, 0 100%);
  transition: transform .45s var(--ease), border-color .3s, box-shadow .45s var(--ease);
}
.product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(124, 92, 255, .5);
  box-shadow: var(--shadow-glow);
}

.product-badge {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 6, 11, .72);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--gold);
}
.product-badge.badge-sale { color: var(--rose); right: 13px; left: auto; }

.product-art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(150deg, var(--ink-700), var(--ink-800));
}
.product-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .product-art img { transform: scale(1.07); }

.product-fallback {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 62%),
    linear-gradient(150deg, var(--ink-700), var(--ink-900));
}
.product-fallback span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -.05em;
  color: color-mix(in srgb, var(--accent) 82%, #fff);
  text-shadow: 0 0 40px var(--accent);
}

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-category {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
.product-body h3 { font-size: 1.02rem; line-height: 1.25; }
.product-body h3 a { transition: color .25s; }
.product-body h3 a:hover { color: var(--violet-2); }
.product-body .description {
  font-size: .84rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--dim);
}
.product-meta .rating { color: var(--gold); font-weight: 600; }

.product-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price {
  font-family: var(--font-mono);
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--text);
}
.price small {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 2px;
}
.old-price {
  margin-left: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--dim);
  text-decoration: line-through;
}

.card-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-2);
  border: 1px solid var(--line-2);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background .3s, transform .35s var(--ease), color .25s;
}
.product-card:hover .card-button { background: var(--violet); border-color: var(--violet); color: #fff; transform: translateX(3px); }

/* ---------- 11. Flash deals / countdown ---------------------------------- */
.deal-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--rose-soft), var(--gold-soft));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(16px);
  font-size: .9rem;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.countdown { display: flex; gap: 7px; margin-left: auto; }
.countdown span {
  min-width: 48px;
  padding: 6px 9px;
  border-radius: var(--r-xs);
  background: rgba(6, 6, 11, .55);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold);
}
.countdown span small { display: block; font-size: .55rem; letter-spacing: .12em; color: var(--dim); font-family: var(--font-body); font-weight: 500; }

/* ---------- 12. Reviews / testimonials ----------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.review-card, .review-row {
  padding: 24px;
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card p { color: var(--text); font-size: .96rem; line-height: 1.65; }
.stars { color: var(--gold); letter-spacing: .16em; font-size: .95rem; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-author b { font-size: .9rem; }
.review-author small { display: block; color: var(--dim); font-size: .77rem; }

.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--violet), var(--mint));
  color: #06060b;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}

.review-list { display: grid; gap: 14px; }
.review-row { background: var(--glass); border: 1px solid var(--line); }

/* ---------- 13. FAQ ------------------------------------------------------ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }

.faq-item {
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item[open] { border-color: var(--line-2); background: var(--glass-2); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--violet-2);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 22px 20px; font-size: .92rem; }

/* ---------- 14. Newsletter ----------------------------------------------- */
.newsletter {
  position: relative;
  padding: clamp(34px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(24px);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: -60% 30% auto;
  height: 320px;
  background: radial-gradient(circle, var(--violet-soft), transparent 70%);
  pointer-events: none;
}
.newsletter h2 { margin-bottom: 12px; }
.newsletter p { margin-inline: auto; }

.newsletter-form {
  position: relative;
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 26px auto 0;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 210px;
  margin-top: 0;
  padding: 14px 20px;
  border-radius: 999px;
  background: rgba(6, 6, 11, .55);
  border: 1px solid var(--line-2);
}

/* ---------- 15. Forms ---------------------------------------------------- */
.form-grid, .admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.form-grid .full, .admin-form-grid .full { grid-column: 1 / -1; }

.form-stack, .stack-form, .admin-form, .checkout-form, .coupon-form,
.track-form, .install-form, .code-import { display: grid; gap: 16px; }

label { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); }

input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="tel"], input[type="url"], input[type="search"], input[type="date"],
input[type="datetime-local"], input:not([type]), select, textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(6, 6, 11, .5);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .93rem;
  outline: 0;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--violet);
  background: rgba(6, 6, 11, .72);
  box-shadow: 0 0 0 4px var(--violet-soft);
}
textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.checkbox-row, .split-row {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: .9rem;
  color: var(--muted);
}
.checkbox-row input[type="checkbox"], input[type="radio"] {
  width: 18px; height: 18px;
  margin: 0;
  accent-color: var(--violet);
  cursor: pointer;
  flex-shrink: 0;
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--glass);
  cursor: pointer;
  margin-bottom: 12px;
  transition: border-color .25s, background .25s;
}
.payment-option:hover { border-color: var(--line-2); background: var(--glass-2); }
.payment-option:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.payment-option input { margin-top: 4px; }
.payment-option b { display: block; font-size: .95rem; color: var(--text); }
.payment-option small { display: block; color: var(--muted); font-size: .82rem; margin-top: 3px; }

.payment-logos { display: flex; gap: 8px; margin-top: 9px; flex-wrap: wrap; }
.payment-logos span {
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--glass-2);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .06em;
  color: var(--muted);
}

.upi-box { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.upi-qr {
  width: 152px; height: 152px;
  border-radius: var(--r-sm);
  background: #fff;
  padding: 8px;
  flex-shrink: 0;
}
.upi-id {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--mint);
  padding: 10px 14px;
  border-radius: var(--r-xs);
  background: var(--mint-soft);
  border: 1px dashed rgba(61, 220, 151, .4);
  display: inline-block;
  word-break: break-all;
}

.secure-note { font-size: .82rem; color: var(--dim); text-align: center; margin-top: 14px; }

/* ---------- 16. Notices, badges, toasts ---------------------------------- */
.notice {
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  border: 1px solid var(--line-2);
  background: var(--glass-2);
  line-height: 1.55;
}
.notice.danger, .status.danger { border-color: rgba(255, 92, 122, .4); background: var(--rose-soft); color: #ffc2ce; }
.notice.warning, .status.warning { border-color: rgba(255, 180, 84, .4); background: var(--gold-soft); color: #ffd9a5; }
.notice.success, .status.success { border-color: rgba(61, 220, 151, .4); background: var(--mint-soft); color: #a8f0cf; }
.notice.muted, .status.muted { color: var(--muted); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass-2);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 360px;
  padding: 15px 18px;
  border-radius: var(--r);
  background: rgba(10, 10, 19, .95);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  font-size: .9rem;
  animation: toast-in .45s var(--ease);
}
.toast.success { border-left: 3px solid var(--mint); }
.toast.error, .toast.danger { border-left: 3px solid var(--rose); }
.toast button { color: var(--dim); font-size: 1.15rem; line-height: 1; }
.toast button:hover { color: var(--text); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }

.empty-state, .admin-empty {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 56px 24px;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-2);
  background: var(--glass);
  color: var(--muted);
  text-align: center;
}
.empty-state span, .admin-empty span { font-size: 1.9rem; opacity: .6; }

/* ---------- 17. Skeleton loading ----------------------------------------- */
.skeleton {
  border-radius: var(--r-lg);
  background: linear-gradient(100deg, var(--glass) 20%, var(--glass-3) 42%, var(--glass) 64%);
  background-size: 240% 100%;
  animation: shimmer 1.5s linear infinite;
  border: 1px solid var(--line);
}
.skeleton-card { height: 330px; }
.skeleton-line { height: 13px; border-radius: 6px; margin-bottom: 9px; }
@keyframes shimmer { to { background-position: -240% 0; } }

/* ---------- 18. Scroll reveal -------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 19. Page heads, breadcrumbs, pagination ---------------------- */
.page-head { padding: clamp(34px, 5vw, 58px) 0 26px; }
.page-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); margin: 14px 0 10px; }

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .82rem;
  color: var(--dim);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumbs a { transition: color .25s; }
.breadcrumbs a:hover { color: var(--violet-2); }

.pagination { display: flex; gap: 7px; justify-content: center; margin-top: 42px; flex-wrap: wrap; }
.pagination a {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: var(--r-sm);
  background: var(--glass);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: .86rem;
  transition: background .25s, border-color .25s;
}
.pagination a:hover { background: var(--glass-3); }
.pagination a.active { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- 20. Shop ----------------------------------------------------- */
.shop-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 70px;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.filters h3 {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.filter-list { display: grid; gap: 3px; margin-bottom: 24px; }
.filter-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--r-xs);
  font-size: .88rem;
  color: var(--muted);
  transition: background .25s, color .25s;
}
.filter-list a:hover { background: var(--glass-2); color: var(--text); }
.filter-list a.active { background: var(--violet-soft); color: var(--violet-2); font-weight: 600; }

.shop-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.shop-topbar select { margin-top: 0; width: auto; min-width: 190px; }

/* ---------- 21. Product page --------------------------------------------- */
.product-page { padding-bottom: 76px; }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 40px;
  align-items: start;
}

.product-gallery { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 14px; }
.product-gallery .product-art {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 94%, 94% 100%, 0 100%);
}
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumb {
  width: 74px;
  height: 62px;
  border-radius: var(--r-xs);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: .55;
  transition: opacity .25s, border-color .25s, transform .3s var(--ease);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--violet); transform: translateY(-2px); }

.product-info { display: grid; gap: 20px; }
.product-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.product-info .price { font-size: 2.1rem; }
.product-description { color: var(--muted); line-height: 1.75; }
.product-description p + p { margin-top: 13px; }

.stock-line { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--muted); }
.in-stock { color: var(--mint); font-weight: 600; }

.variant-picker { display: grid; gap: 11px; }
.variant-head {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  color: var(--dim);
  font-family: var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.variant-list { display: grid; gap: 9px; }
.variant-option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--glass);
  cursor: pointer;
  transition: border-color .25s, background .25s;
}
.variant-option:hover { border-color: var(--line-2); }
.variant-option:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.variant-row { display: flex; justify-content: space-between; width: 100%; gap: 12px; align-items: center; }
.variant-row b { font-family: var(--font-mono); color: var(--mint); }

.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.quantity {
  display: flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--glass);
  overflow: hidden;
}
.quantity button { width: 44px; align-self: stretch; font-size: 1.1rem; color: var(--muted); transition: background .2s, color .2s; }
.quantity button:hover { background: var(--glass-3); color: var(--text); }
.quantity input {
  width: 54px;
  margin: 0;
  border: 0;
  background: none;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 12px 0;
  box-shadow: none;
}
.quantity input:focus { box-shadow: none; background: none; }

.feature-list, .split-list { display: grid; gap: 0; }
.feature, .split-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: .9rem;
  color: var(--muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child, .split-row:last-child { border-bottom: 0; }
.check { color: var(--mint); flex-shrink: 0; font-weight: 700; }

.delivery-box {
  padding: 18px;
  border-radius: var(--r);
  background: var(--mint-soft);
  border: 1px solid rgba(61, 220, 151, .28);
  font-size: .9rem;
  color: #bdf3da;
}

/* ---------- 22. Cart / checkout ------------------------------------------ */
.cart-page, .checkout-page, .account-page, .track-page { padding-bottom: 76px; }

.cart-list { display: grid; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-lg);
}
.cart-item .product-art { border-radius: var(--r-sm); aspect-ratio: 1; }
.cart-item h3 { font-size: .98rem; }
.cart-item-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.summary { position: sticky; top: calc(var(--header-h) + 18px); }
.summary-row, .order-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  font-size: .92rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.summary-row b, .order-line b { font-family: var(--font-mono); color: var(--text); font-weight: 600; }
.summary-row.total {
  border-bottom: 0;
  padding-top: 18px;
  margin-top: 6px;
  border-top: 1px solid var(--line-2);
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 600;
}
.summary-row.total b { font-size: 1.5rem; color: var(--mint); }

/* ---------- 23. Orders, timeline, codes ---------------------------------- */
.timeline { display: grid; gap: 0; margin: 22px 0; }
.timeline-step {
  position: relative;
  padding: 0 0 26px 34px;
  border-left: 2px solid var(--line);
  color: var(--dim);
  font-size: .9rem;
}
.timeline-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ink-800);
  border: 2px solid var(--line-2);
}
.timeline-step.done { color: var(--text); border-left-color: var(--mint); }
.timeline-step.done::before { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 14px var(--mint); }
.timeline-step.current { color: var(--text); }
.timeline-step.current::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); }
.timeline-step b { display: block; font-weight: 600; }

.order-detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.order-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 22px; }
.order-meta { display: grid; gap: 7px; font-size: .86rem; color: var(--muted); }
.order-items { display: grid; gap: 12px; }

pre, code { font-family: var(--font-mono); font-size: .87rem; }
pre {
  padding: 15px 18px;
  border-radius: var(--r-sm);
  background: rgba(6, 6, 11, .7);
  border: 1px solid var(--line-2);
  color: var(--mint);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.7;
}

/* ---------- 24. Account + stats ------------------------------------------ */
.account-grid { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 26px; align-items: start; }
.account-nav, .settings-tabs { display: grid; gap: 4px; }
.account-nav a, .settings-tabs a {
  padding: 11px 15px;
  border-radius: var(--r-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: background .25s, color .25s;
}
.account-nav a:hover, .settings-tabs a:hover { background: var(--glass-2); color: var(--text); }
.account-nav a.active, .settings-tabs a.active { background: var(--violet-soft); color: var(--violet-2); font-weight: 600; }
.settings-tabs { grid-auto-flow: column; justify-content: start; gap: 6px; margin-bottom: 22px; overflow-x: auto; }
.settings-panel { display: grid; gap: 18px; }

.stats-grid, .admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.stat-card, .admin-stat {
  padding: 20px 22px;
  border-radius: var(--r-lg);
  display: grid;
  gap: 5px;
}
.stat-card b, .admin-stat b {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.03em;
}
.stat-card span, .admin-stat span {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- 25. Auth / install ------------------------------------------- */
.auth-page, .install-shell { padding: clamp(40px, 6vw, 80px) 0; }
.auth-grid, .install-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 48px;
  align-items: center;
}
.auth-copy h1 { margin: 18px 0 14px; }
.auth-card, .install-card {
  padding: clamp(26px, 3.5vw, 38px);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}
.auth-card h2 { font-size: 1.5rem; }
.auth-switch { font-size: .88rem; color: var(--muted); text-align: center; }
.auth-switch a { color: var(--violet-2); font-weight: 600; }
.install-head { margin-bottom: 26px; }
.install-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.install-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.install-success { display: grid; gap: 16px; }

/* ---------- 26. Tables --------------------------------------------------- */
.table-wrap, .admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(18px);
}
table, .data-table, .admin-table { width: 100%; border-collapse: collapse; font-size: .89rem; min-width: 620px; }
th {
  text-align: left;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
  border-bottom: 1px solid var(--line-2);
  white-space: nowrap;
}
td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr { transition: background .2s; }
tbody tr:hover { background: var(--glass); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- 27. Footer + mobile nav -------------------------------------- */
.site-footer {
  margin-top: 60px;
  padding-top: 58px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .06));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 44px;
}
.footer-grid h3 {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 15px;
}
.footer-grid > div > a:not(.brand) {
  display: block;
  font-size: .89rem;
  color: var(--muted);
  padding: 5px 0;
  transition: color .25s, padding-left .25s var(--ease);
}
.footer-grid > div > a:not(.brand):hover { color: var(--violet-2); padding-left: 5px; }
.footer-grid p { font-size: .89rem; margin-top: 14px; max-width: 40ch; }
.footer-note { font-size: .84rem; line-height: 1.65; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--dim);
  flex-wrap: wrap;
}

.mobile-nav { display: none; }

/* ---------- 28. Responsive ----------------------------------------------- */
@media (max-width: 1080px) {
  .hero-panel { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { min-height: 300px; }
  .shop-layout, .account-grid { grid-template-columns: 1fr; }
  .filters, .summary, .product-gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-layout, .order-detail-grid, .two-column, .auth-grid, .install-body { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .nav-wrap { gap: 12px; height: auto; padding-top: 12px; flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 42px; margin-bottom: 10px; }
  .desktop-only { display: none; }
  .cart-label { display: none; }
  .cart-button { padding: 10px 14px; }
  .menu-button { display: flex; }

  .category-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 120;
    background: rgba(6, 6, 11, .97);
    backdrop-filter: blur(24px);
    padding-top: 88px;
  }
  .category-nav.open { display: block; animation: drop .3s var(--ease); }
  .category-nav .container { flex-direction: column; gap: 4px; overflow: visible; }
  .category-nav a { padding: 15px 18px; font-size: 1.02rem; border-radius: var(--r-sm); }
  .mobile-account { display: block; }
  .category-nav .mobile-account:first-of-type { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; }

  .trust-row { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 13px; }
  .product-body { padding: 14px; }
  .product-body h3 { font-size: .92rem; }
  .price { font-size: 1.06rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .cart-item { grid-template-columns: 68px minmax(0, 1fr); }
  .cart-item-actions { grid-column: 1 / -1; justify-content: space-between; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .toast { right: 14px; left: 14px; bottom: 84px; max-width: none; }
  .countdown { margin-left: 0; }

  .mobile-nav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(10, 10, 19, .93);
    backdrop-filter: blur(26px) saturate(180%);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-nav a {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 11px 4px;
    font-size: .68rem;
    color: var(--dim);
    transition: color .25s;
  }
  .mobile-nav a span { font-size: 1.15rem; }
  .mobile-nav a:hover, .mobile-nav a.active { color: var(--violet-2); }
  .mobile-nav b {
    position: absolute;
    top: 5px;
    right: calc(50% - 20px);
    min-width: 17px;
    height: 17px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--mint);
    color: #05130d;
    font-family: var(--font-mono);
    font-size: .62rem;
    font-weight: 700;
  }
}

/* ---------- 29. Accessibility + print ------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  body::before, body::after, .site-header, .site-footer, .mobile-nav, .toast, .announcement { display: none !important; }
  body { background: #fff; color: #000; }
  .panel, .content-card { border: 1px solid #ccc; box-shadow: none; }
}

/* ---------- 30. Product detail body -------------------------------------- */
.product-description {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 44px;
  align-items: start;
}
.product-description .content-card { border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.product-description .content-card h2 { font-size: 1.35rem; margin-bottom: 16px; }
.product-description .content-card h3 { margin-bottom: 16px; }
.product-description .review-row .rating { color: var(--gold); letter-spacing: .14em; }
.product-info .delivery-box b { color: #d7fbeb; }

@media (max-width: 1080px) {
  .product-description { grid-template-columns: 1fr; }
}
