/* ============================================================
   DigiVerse — Premium E-Commerce Theme
   Warm dark palette · Gold/Amber accents · Storefront vibes
   ============================================================ */

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

:root {
  /* ── Core Background ── */
  --bg:    #0c0c0d;
  --bg2:   #111114;
  --bg3:   #161619;
  --surface: rgba(255, 255, 255, 0.045);
  --surface2: rgba(255, 255, 255, 0.07);
  --card:  rgba(22, 22, 26, 0.96);

  /* ── Text ── */
  --text:  rgba(255, 255, 255, 0.95);
  --muted: rgba(200, 190, 175, 0.65);
  --soft:  rgba(255, 220, 150, 0.12);

  /* ── Borders ── */
  --border: rgba(255, 220, 120, 0.12);
  --border2: rgba(255, 255, 255, 0.08);

  /* ── Gold / Amber Accent System ── */
  --accent:  #f59e0b;
  --accent2: #e07e00;
  --accent3: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.28);
  --accent-soft: rgba(245, 158, 11, 0.1);

  /* ── Semantic Colors ── */
  --good:  #22c55e;
  --warn:  #f59e0b;
  --error: #ef4444;

  /* ── Effects ── */
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  --shadow2: 0 8px 30px rgba(0, 0, 0, 0.45);
  --focus:  rgba(245, 158, 11, 0.6);

  /* ── Layout ── */
  --radius: 16px;
  --radius2: 22px;
  --container: 1140px;
}

/* ──────────────────────────────────────────────────────────
   Reset & Base
   ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 600px at 80% -100px, rgba(245, 158, 11, 0.07), transparent 65%),
    radial-gradient(ellipse 600px 400px at 10% 50%,  rgba(224, 126, 0, 0.05),  transparent 60%),
    radial-gradient(ellipse 500px 350px at 50% 100%, rgba(245, 158, 11, 0.04),  transparent 60%);
  -webkit-font-smoothing: antialiased;
}

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

/* ──────────────────────────────────────────────────────────
   Layout Utilities
   ────────────────────────────────────────────────────────── */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--bg2);
  border: 1px solid var(--border);
  z-index: 9999;
}
.skip-link:focus { left: 12px; outline: 2px solid var(--focus); }

/* ──────────────────────────────────────────────────────────
   Scroll Progress Bar
   ────────────────────────────────────────────────────────── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  z-index: 3000;
  background: linear-gradient(90deg, var(--accent2), var(--accent), var(--accent3));
  box-shadow: 0 0 16px var(--accent-glow);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   Reveal Animation (Disabled to ensure 100% smooth instant scroll)
   ────────────────────────────────────────────────────────── */
.rv-reveal {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}
.rv-reveal--in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv-reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .card, .card::before, .card::after { transition: none; }
  .card[data-product-page]:hover { transform: translateY(-3px); }
}

/* ──────────────────────────────────────────────────────────
   Performance Lite Mode
   ────────────────────────────────────────────────────────── */
.perf-lite .card::before { display: none; }
.perf-lite .card[data-product-page]:hover { transform: translateY(-2px); }
.perf-lite .rv-reveal { opacity: 1; transform: none; filter: none; transition: opacity 180ms ease; will-change: auto; }
.perf-lite .topbar, .perf-lite .mobile-nav-panel, .perf-lite .mascot, .perf-lite .mascot__bubble {
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
}

/* ──────────────────────────────────────────────────────────
   Snowfall Canvas (preserved as-is for script.js)
   ────────────────────────────────────────────────────────── */
#snowLayer {
  display: none;
}

/* ──────────────────────────────────────────────────────────
   WhatsApp Float Button
   ────────────────────────────────────────────────────────── */
#whatsappFloat {
  position: fixed;
  right: 16px;
  bottom: 96px;
  width: 56px; height: 56px;
  border-radius: 9999px;
  z-index: 1200;
  display: grid; place-items: center;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(16, 185, 129, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 50px rgba(16, 185, 129, 0.28), 0 8px 24px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  transition: transform 140ms ease, box-shadow 140ms ease;
}
#whatsappFloat:hover { transform: translateY(-2px); box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4); }
#whatsappFloat:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
#whatsappFloat svg { width: 26px; height: 26px; fill: currentColor; }

/* ──────────────────────────────────────────────────────────
   Hero (Parallax disabled for smooth scrolling)
   ────────────────────────────────────────────────────────── */
.hero__bg {
  transform: none;
  transition: none;
}

/* Promo bar hidden globally */
.promo-bar { display: none !important; }


.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: 10px;
  background: transparent;
  border-bottom: 0;
}

#main { padding-top: 76px; }

.topbar__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  gap: 18px;
  border-radius: 9999px;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 16px 40px rgba(0, 0, 0, 0.6),
    0 0 24px rgba(245, 158, 11, 0.12);
}

/* ── Brand / Logo ── */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  text-decoration: none;
}
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 24px var(--accent-glow);
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.brand__mark-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
  border-radius: inherit;
}
.brand__name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 30%, var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) {
  .brand__name { background: none; color: #fff; }
}
.brand__tag {
  font-size: 11px;
  color: #10b981;
  font-weight: 700;
  margin-top: 1px;
}
.brand--small .brand__mark { width: 32px; height: 32px; border-radius: 10px; }

/* ── Nav Links ── */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.nav__link {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 140ms ease;
  border: 1px solid transparent;
}
.nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}
.nav__link.active {
  background: rgba(245, 158, 11, 0.18);
  color: var(--accent);
  border-color: rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

/* "Products" link gets a gold highlight */
@media (min-width: 901px) {
  .nav__link:last-child {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent3);
    border-color: rgba(245, 158, 11, 0.25);
    font-weight: 700;
    padding-inline: 16px;
  }
  .nav__link:last-child:hover {
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(245, 158, 11, 0.4);
  }
}

/* ── Topbar Actions (cart icon etc.) ── */
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ──────────────────────────────────────────────────────────
   Search Bar (Top)
   ────────────────────────────────────────────────────────── */
.topbar-search { display: flex; align-items: center; }
.topbar-search__form { display: flex; align-items: center; gap: 8px; }
.topbar-search__input {
  width: min(240px, 42vw);
  padding: 9px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 13.5px;
}
.topbar-search__input::placeholder { color: rgba(255, 255, 255, 0.35); }
.topbar-search__input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.topbar-search__btn {
  border-radius: 9999px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  display: grid; place-items: center;
}
.topbar-search__btn:hover { background: rgba(255, 255, 255, 0.09); }

/* ──────────────────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────────────────── */
.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 80ms ease, background 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
  letter-spacing: -0.01em;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.14); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }

/* Gold primary CTA */
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(245, 158, 11, 0.6);
  color: #0c0c0d;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 14px 40px rgba(245, 158, 11, 0.42);
  color: #0c0c0d;
}
.btn--primary:disabled {
  background: rgba(100, 100, 110, 0.4);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

/* Outlined secondary */
.btn--secondary {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent3);
}
.btn--secondary:hover {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent3);
}

/* WhatsApp CTA */
.btn--whatsapp {
  border-color: rgba(37, 211, 102, 0.5);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.92), rgba(16, 185, 129, 0.85));
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.22);
  color: #fff;
}
.btn--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.75);
  background: linear-gradient(135deg, rgba(52, 230, 122, 0.95), rgba(16, 185, 129, 0.88));
  color: #fff;
}

.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.08); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.12); }
.btn--full { width: 100%; justify-content: center; }

/* ──────────────────────────────────────────────────────────
   Hero Section — Storefront Style
   ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 52px 0 28px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 500px at 65% -60px, rgba(245, 158, 11, 0.13), transparent 65%),
    radial-gradient(ellipse 600px 400px at 20% 60%,  rgba(224, 126, 0, 0.09),  transparent 60%),
    radial-gradient(ellipse 400px 300px at 50% 95%,  rgba(245, 158, 11, 0.06),  transparent 65%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  align-items: start;
  gap: 24px;
}

/* ── Hero Title Accent Span ── */
.hero__title-accent {
  background: linear-gradient(110deg, var(--accent3) 0%, var(--accent) 60%, #fb923c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
@supports not (background-clip: text) { .hero__title-accent { color: var(--accent3); } }

/* ── Hero CTA Sizing ── */
.hero__cta-main {
  padding: 14px 26px;
  font-size: 15.5px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.hero__cta-secondary {
  padding: 13px 22px;
  font-size: 14.5px;
  border-radius: 14px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}
.hero__cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

/* ── Brand Logo Strip ── */
.hero__brands {
  margin: 20px 0 6px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__brands-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(200, 180, 140, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.hero__brand-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero__brand-img {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(1.4) grayscale(0.2);
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}
.hero__brand-img:hover {
  opacity: 1;
  filter: brightness(1.5) grayscale(0);
  transform: scale(1.1);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
  color: var(--accent3);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
  50%       { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.1); }
}

.hero__title {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 20%, rgba(255, 230, 160, 0.95) 55%, var(--accent3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) { .hero__title { color: #fff; } }

.hero__subtitle {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 50ch;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Trust Badges Row */
.hero__trust {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 10px;
  flex-wrap: wrap;
  justify-content: start;
  margin-top: 4px;
}
.trust {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 14px;
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(245, 158, 11, 0.06);
}
.trust__icon { font-size: 16px; flex-shrink: 0; }
.trust__label {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.1;
}
.trust__value {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.1;
}

/* ──────────────────────────────────────────────────────────
   Hero Panel (Featured Products)
   ────────────────────────────────────────────────────────── */
.panel {
  border-radius: var(--radius2);
  border: 1px solid rgba(245, 158, 11, 0.15);
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.07) 0%, rgba(22, 22, 26, 0.97) 60%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 220, 120, 0.08);
  padding: 20px;
}
.panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.panel__title {
  font-weight: 900;
  letter-spacing: -0.025em;
  font-size: 15px;
}
.panel__subtitle {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}
.panel__badge {
  font-size: 11px;
  font-weight: 800;
  color: #0c0c0d;
  background: var(--accent);
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* ──────────────────────────────────────────────────────────
   Mini-Cards (Hero Panel)
   ────────────────────────────────────────────────────────── */
.stack { display: flex; flex-direction: column; gap: 10px; }

.mini-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  transition: background 140ms ease, border-color 140ms ease;
}
.mini-card[data-open-product] { cursor: pointer; }
.mini-card[data-open-product]:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(245, 158, 11, 0.2); }
.mini-card[data-open-product]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.mini-card__meta { flex: 1; min-width: 0; }
.mini-card__name { font-weight: 800; font-size: 14px; letter-spacing: -0.02em; }
.mini-card__desc { margin-top: 3px; font-size: 12.5px; color: var(--muted); }
.mini-card__logo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 8px;
  z-index: 1; pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   Section Layout
   ────────────────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section--alt {
  background:
    radial-gradient(800px 500px at 70% -100px, rgba(245, 158, 11, 0.07), transparent 55%),
    rgba(17, 17, 20, 0.6);
  border-top: 1px solid rgba(255, 220, 120, 0.07);
  border-bottom: 1px solid rgba(255, 220, 120, 0.07);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.section__title {
  margin: 0;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.section__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.6;
  font-size: 14.5px;
}

/* ──────────────────────────────────────────────────────────
   Trust / Why Choose Us Bar
   ────────────────────────────────────────────────────────── */
.trust-bar {
  padding: 44px 0;
  border-top: 1px solid rgba(255, 220, 120, 0.07);
  border-bottom: 1px solid rgba(255, 220, 120, 0.07);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-bar__item {
  padding: 22px 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(245, 158, 11, 0.04);
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.trust-bar__item:hover {
  border-color: rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-3px);
}
.trust-bar__icon {
  font-size: 30px;
  margin-bottom: 12px;
  display: block;
}
.trust-bar__title {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.trust-bar__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────
   Product Cards Grid
   ────────────────────────────────────────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ──────────────────────────────────────────────────────────
   Product Card — Premium E-Commerce Style
   ────────────────────────────────────────────────────────── */
.card {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: linear-gradient(
    160deg,
    rgba(26, 24, 20, 0.98) 0%,
    rgba(20, 18, 15, 0.99) 100%
  );
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid;
  grid-template-rows: 175px auto;
  position: relative;
  isolation: isolate;
  transition:
    transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

/* Gold shine sweep on hover — only for cards that don't use ::before for a badge */
.card::before {
  content: "";
  position: absolute;
  inset: 0; z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%, transparent 35%,
    rgba(245, 158, 11, 0.08) 47%,
    rgba(255, 230, 150, 0.1) 52%,
    transparent 65%, transparent 100%
  );
  transform: translateX(-110%);
  transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}
.card:hover::before { transform: translateX(110%); }

/* In-stock / Out-of-stock cards override ::before with a badge —
   prevent the shine-sweep transform from flinging it off screen */
.card--in-stock:hover::before,
.card--out-of-stock:hover::before { transform: none !important; }

/* Top gold glow line on hover */
.card::after {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.65), transparent);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none; z-index: 1;
}
.card:hover::after { opacity: 1; }

.card[data-product-page] { cursor: pointer; }
.card[data-product-page]:hover {
  transform: translateY(-7px) scale(1.013);
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow:
    0 24px 65px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(245, 158, 11, 0.15),
    0 0 55px rgba(245, 158, 11, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.card[data-product-page]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

/* ── Card Media (Logo Area) ── */
.media {
  position: relative;
  background: linear-gradient(145deg, rgba(20, 18, 14, 0.95), rgba(30, 26, 18, 0.98));
  overflow: hidden;
  z-index: 1;
}
.media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 25% 20%, rgba(245, 158, 11, 0.1), transparent 65%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(224, 126, 0, 0.08), transparent 65%);
}
.media::after {
  content: "";
  position: absolute;
  inset: -80px -50px auto -50px;
  height: 160px;
  transform: rotate(-6deg);
  opacity: 0.7;
}
.media--a::after { background: linear-gradient(90deg, rgba(245,158,11,0.0), rgba(245,158,11,0.35), rgba(224,126,0,0.0)); }
.media--b::after { background: linear-gradient(90deg, rgba(59,130,246,0.0),  rgba(59,130,246,0.32),  rgba(20,184,166,0.0)); }
.media--c::after { background: linear-gradient(90deg, rgba(168,85,247,0.0),  rgba(168,85,247,0.3),   rgba(245,158,11,0.0)); }
.media--d::after { background: linear-gradient(90deg, rgba(245,158,11,0.0),  rgba(245,158,11,0.28),  rgba(224,126,0,0.28),   rgba(224,126,0,0.0)); }

.media-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(220px, 72%);
  max-height: 110px;
  height: auto;
  object-fit: contain;
  z-index: 2; pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1), filter 260ms ease;
}
#trending .media-logo { width: min(190px, 62%); max-height: 92px; }
.card:hover .media > .media-logo {
  transform: translate(-50%, -50%) scale(1.07);
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(245, 158, 11, 0.2));
}

/* Art (icon container for mini-cards) */
.art {
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255, 220, 120, 0.12);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(255, 255, 255, 0.03));
  position: relative; overflow: hidden;
}
.art::after {
  content: "";
  position: absolute; inset: -40%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.4), transparent 42%);
  transform: rotate(20deg); opacity: 0.5;
}
.art--red    { background: linear-gradient(135deg, rgba(245,158,11,0.55),  rgba(255,255,255,0.03)); }
.art--blue   { background: linear-gradient(135deg, rgba(59,130,246,0.65),  rgba(255,255,255,0.03)); }
.art--green  { background: linear-gradient(135deg, rgba(34,197,94,0.65),   rgba(255,255,255,0.03)); }
.art--purple { background: linear-gradient(135deg, rgba(168,85,247,0.65),  rgba(255,255,255,0.03)); }
.art--teal   { background: linear-gradient(135deg, rgba(20,184,166,0.65),  rgba(255,255,255,0.03)); }
.art--amber  { background: linear-gradient(135deg, rgba(245,158,11,0.65),  rgba(255,255,255,0.03)); }

.media > .media-logo {
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(245, 158, 11, 0.12));
}

/* ── Card Body ── */
.card__body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative; z-index: 1;
  background: linear-gradient(180deg, rgba(20, 18, 15, 0.5) 0%, rgba(14, 12, 10, 0.7) 100%);
}
.card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.card__title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(130deg, #ffffff 30%, rgba(255, 220, 160, 0.95) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@supports not (background-clip: text) { .card__title { color: #fff; } }

/* Category Tag Badge */
.tag {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--accent3);
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Price / Description */
.card__desc {
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}
.card__desc:first-of-type {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--accent3);
  letter-spacing: -0.015em;
}

/* Meta Tiles */
.card__meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0;
}
.meta {
  border-radius: 12px;
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(245, 158, 11, 0.05);
  padding: 9px 12px;
  position: relative; overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}
.meta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  opacity: 0.7;
}
.card:hover .meta { border-color: rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.09); }
.meta__k {
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(200, 170, 100, 0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.meta__v {
  font-weight: 900;
  font-size: 13.5px;
  margin-top: 3px;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.95);
}

/* Card Action Buttons */
.card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 220, 120, 0.07);
}
.card__actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 0;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 10px;
}
.fineprint {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(200, 170, 100, 0.38);
  display: none;
}

/* ──────────────────────────────────────────────────────────
   Category Filter Buttons
   ────────────────────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: left;
  transition: transform 120ms ease, background 130ms ease, border-color 130ms ease;
  color: var(--text);
}
.category:hover {
  background: rgba(245, 158, 11, 0.07);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-2px);
}
.category:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.category--active {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.12);
}

.category__icon {
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.15);
  font-size: 18px;
  flex-shrink: 0;
}
.category--active .category__icon {
  background: rgba(245, 158, 11, 0.18);
  border-color: rgba(245, 158, 11, 0.35);
}
.category__name {
  display: block;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 14px;
}
.category__sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* ──────────────────────────────────────────────────────────
   Product Grid (Categories Section)
   ────────────────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.category-show { margin-top: 24px; }

/* ──────────────────────────────────────────────────────────
   FAQ Section
   ────────────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.qa {
  border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(255, 255, 255, 0.028);
  padding: 14px 18px;
  transition: border-color 140ms ease, background 140ms ease;
}
.qa:hover { border-color: rgba(245, 158, 11, 0.2); background: rgba(255, 255, 255, 0.04); }
.qa > summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.015em;
  list-style: none;
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::marker { display: none; }
.qa__a {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

/* ──────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────── */
.footer {
  margin-top: 0;
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255, 220, 120, 0.08);
  background:
    radial-gradient(800px 280px at 20% -100px, rgba(245, 158, 11, 0.07), transparent 60%),
    rgba(8, 8, 10, 0.98);
}
.footer__inner,
.footer__grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  align-items: start;
}
.footer__left,
.footer__brand { display: flex; flex-direction: column; gap: 14px; }
.footer__note {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.65;
  font-size: 13.5px;
}
.footer__right {
  display: flex;
  gap: 8px;
  flex-direction: column;
  align-items: flex-start;
}
.footer__group-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__links { display: grid; gap: 8px; }
.footer__links a {
  color: rgba(200, 190, 175, 0.6);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 120ms ease;
}
.footer__links a:hover { color: var(--text); }
.footer__contact { display: grid; gap: 8px; }
.footer__contact-item { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.footer__bottom {
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer__copyright { font-size: 13px; color: rgba(200, 190, 175, 0.45); }
.footer__bottom-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__bottom-links a { color: rgba(200, 190, 175, 0.45); font-size: 13px; }
.footer__bottom-links a:hover { color: var(--text); }
.footer__actions-compact { display: none; }

@media (max-width: 900px) {
  .footer__inner,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 560px) {
  .footer__inner,
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ──────────────────────────────────────────────────────────
   Modal
   ────────────────────────────────────────────────────────── */
.modal {
  width: min(980px, calc(100% - 24px));
  border: 0; padding: 0;
  border-radius: 22px;
  background: transparent;
  position: relative; z-index: 2501;
}
.modal::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); }
.modal__backdrop {
  position: fixed; inset: 0;
  display: grid; place-items: center;
  background: transparent; z-index: 2500;
}
.modal__close {
  position: fixed;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 220, 120, 0.16);
  background: rgba(20, 18, 14, 0.92);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  z-index: 2503;
  font-size: 15px;
}
.modal__panel {
  border-radius: 22px;
  border: 1px solid rgba(255, 220, 120, 0.12);
  background: rgba(14, 12, 10, 0.97);
  box-shadow: var(--shadow);
  padding: 20px;
  max-height: calc(100vh - 60px);
  overflow: auto;
  position: relative; z-index: 2502;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.modal__title { font-weight: 900; letter-spacing: -0.03em; font-size: 18px; }
.modal__sub { margin-top: 3px; font-size: 13px; color: var(--muted); }

/* ──────────────────────────────────────────────────────────
   Video / Trailer
   ────────────────────────────────────────────────────────── */
.video {
  border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.1);
  overflow: hidden;
  background: rgba(10, 8, 6, 0.8);
}
.video__el { width: 100%; height: auto; display: block; background: #000; }
.video__el[hidden] { display: none !important; }
.video__hint { padding: 10px 14px; font-size: 12px; color: rgba(255, 255, 255, 0.45); }

.trailer-inline {
  margin-bottom: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(10, 8, 6, 0.8);
  overflow: hidden; position: relative;
  padding-top: 56.25%;
}
.trailer-inline__frame {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}

.trailer-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trailer {
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(20, 18, 14, 0.8);
  overflow: hidden; cursor: pointer;
  padding: 0; text-align: left;
  transition: border-color 140ms ease, transform 140ms ease;
}
.trailer:hover { border-color: rgba(245, 158, 11, 0.3); transform: translateY(-2px); }
.trailer:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.trailer__art { display: block; height: 140px; }
.trailer__meta { display: block; padding: 12px 14px 14px; }
.trailer__name { display: block; font-weight: 900; letter-spacing: -0.02em; }
.trailer__sub { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.trailer__play {
  position: absolute; top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 220, 120, 0.18);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

/* ──────────────────────────────────────────────────────────
   Product Detail Pages
   ────────────────────────────────────────────────────────── */
.product-hero { padding-top: 36px; padding-bottom: 12px; }
.product-hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.product-poster {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(20, 18, 14, 0.9);
  box-shadow: var(--shadow);
  min-height: 320px;
}
.product-poster::before {
  content: "";
  position: absolute; inset: -40%;
  background: conic-gradient(
    from 190deg,
    rgba(245, 158, 11, 0.0),
    rgba(245, 158, 11, 0.4),
    rgba(224, 126, 0, 0.4),
    rgba(245, 158, 11, 0.0)
  );
  animation: posterSpin 12s linear infinite;
  opacity: 0.85;
}
.product-poster::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 280px at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
    radial-gradient(480px 260px at 80% 60%, rgba(255, 255, 255, 0.1), transparent 65%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 6px);
  mix-blend-mode: overlay; opacity: 0.8;
}
.product-poster__content {
  position: absolute; inset: 0; padding: 20px;
  display: flex; flex-direction: column;
  justify-content: space-between; z-index: 2;
}
.product-poster__content > div:not(.product-poster__top) {
  flex: 1; min-height: 0;
  display: grid; grid-template-rows: 1fr auto; align-items: end;
}
.product-poster__content--tight { justify-content: flex-start; gap: 14px; }
.product-poster__top { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.product-logo {
  width: min(190px, 58%); height: auto;
  display: block; margin: 0; place-self: center;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.55));
}
.product-poster__title {
  font-weight: 950; letter-spacing: -0.04em;
  font-size: clamp(24px, 3.2vw, 38px);
  margin: 0 0 6px; justify-self: start;
}
.product-poster__subtitle {
  color: var(--muted); line-height: 1.6;
  max-width: 52ch; margin: 0; justify-self: start;
}

/* Chip (small tag) */
.chip {
  font-size: 12px; font-weight: 750;
  border-radius: 999px; padding: 6px 11px;
  border: 1px solid rgba(255, 220, 120, 0.15);
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent3);
}
.chip--accent {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.18);
}

/* Product Gallery */
.product-gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shot {
  border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden; min-height: 150px;
  position: relative;
}
.shot::before {
  content: ""; position: absolute; inset: -50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 40%);
  transform: rotate(-12deg); opacity: 0.7;
  animation: shotPulse 2.8s ease-in-out infinite;
}
.shot--red   { background: rgba(245, 158, 11, 0.06); }
.shot--blue  { background: rgba(59, 130, 246, 0.06); }
.shot--green { background: rgba(34, 197, 94, 0.06); }
.shot:nth-child(2)::before { animation-delay: 0.35s; }
.shot:nth-child(3)::before { animation-delay: 0.7s; }

@keyframes posterSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes shotPulse {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
  50%       { transform: translateY(-6px) scale(1.03); opacity: 0.9; }
}

/* Plan Grid */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(20, 18, 14, 0.9);
  padding: 22px;
  transition: border-color 180ms ease, transform 180ms ease;
}
.plan:hover { border-color: rgba(245, 158, 11, 0.25); transform: translateY(-3px); }
.plan--featured {
  border-color: rgba(245, 158, 11, 0.35);
  background: radial-gradient(700px 280px at 20% 0%, rgba(245, 158, 11, 0.1), transparent 60%),
    rgba(20, 18, 14, 0.9);
  box-shadow: 0 18px 60px rgba(245, 158, 11, 0.12);
}
.plan__top {
  display: flex; justify-content: space-between;
  gap: 12px; align-items: baseline; margin-bottom: 10px;
}
.plan__name { font-weight: 900; letter-spacing: -0.03em; }
.plan__price { color: var(--accent3); font-weight: 800; font-size: 14px; }
.plan__actions { display: flex; flex-direction: column; gap: 8px; }
.plan__actions .btn--full { margin: 0; }
.list {
  margin: 0 0 14px; padding-left: 18px;
  color: var(--muted); line-height: 1.7;
}

/* Adobe / Claude plan list overrides */
.adobe-page .plan .list, .claude-page .plan .list {
  list-style: none; padding-left: 0;
}
.adobe-page .plan .list li, .claude-page .plan .list li {
  position: relative; padding-left: 18px;
}
.adobe-page .plan .list li::before, .claude-page .plan .list li::before {
  content: "•"; position: absolute; left: 0; top: 0.25em; color: var(--accent3);
}

/* Hint box */
.hint {
  margin-top: 14px; padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.12);
  background: rgba(245, 158, 11, 0.04);
  color: var(--muted); line-height: 1.55;
}
.hint code {
  padding: 2px 6px; border-radius: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent3);
}

/* Product item (product listing layout) */
.product {
  display: flex; align-items: stretch; gap: 14px;
  padding: 16px; border-radius: 18px;
  border: 1px solid rgba(255, 220, 120, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition: transform 120ms ease, background 130ms ease, border-color 130ms ease;
}
.product:hover { transform: translateY(-2px); border-color: rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.05); }
.product__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.product__name { font-weight: 900; letter-spacing: -0.02em; }
.product__desc { margin-top: 3px; font-size: 13px; color: var(--muted); }
.product__actions {
  display: flex; gap: 10px; margin-top: 10px;
  flex-wrap: wrap; justify-content: flex-start; margin-top: auto;
}

/* ──────────────────────────────────────────────────────────
   Related Section (Product Detail Pages)
   ────────────────────────────────────────────────────────── */
.related-section { position: relative; overflow: hidden; }
.related-section::before, .related-section::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3; pointer-events: none; z-index: 0;
}
.related-section::before {
  width: min(420px, 90vw); height: min(420px, 90vw);
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.3), transparent 65%);
}
.related-section::after {
  width: min(380px, 85vw); height: min(380px, 85vw);
  bottom: -160px; left: -100px;
  background: radial-gradient(circle, rgba(224, 126, 0, 0.28), transparent 65%);
}
.related-section .container { position: relative; z-index: 1; }
.related-section__eyebrow {
  margin: 0 0 8px; font-size: 11px; font-weight: 900;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex; align-items: center; gap: 10px;
}
.related-section__eyebrow::before {
  content: ""; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 10px var(--accent-glow);
}
.related-section .section__title {
  font-size: clamp(22px, 3.6vw, 30px); letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff 10%, rgba(255, 220, 160, 0.9) 50%, var(--accent3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@supports not (background-clip: text) { .related-section .section__title { color: #fff; } }
.related-section .section__subtitle { max-width: 52ch; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 92px; padding: 16px 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: linear-gradient(145deg, rgba(26, 24, 18, 0.97), rgba(18, 16, 12, 0.99));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 220, 120, 0.06);
  color: inherit; text-decoration: none;
  isolation: isolate; overflow: hidden;
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 220ms ease, box-shadow 220ms ease;
}
.related-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(245,158,11,0.07) 50%, transparent 62%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.2, 0.9, 0.2, 1);
  pointer-events: none;
}
.related-card:hover::before { transform: translateX(120%); }
.related-card::after {
  content: "→"; position: relative; z-index: 1;
  font-weight: 900; font-size: 18px; line-height: 1;
  color: rgba(255, 255, 255, 0.2);
  transition: color 200ms ease, transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
}
.related-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(245, 158, 11, 0.32);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(245, 158, 11, 0.16), 0 0 36px rgba(245, 158, 11, 0.1), inset 0 1px 0 rgba(255, 220, 120, 0.12);
}
.related-card:hover::after { color: var(--accent3); transform: translateX(5px); }
.related-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.related-card__art {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.12);
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.04));
  flex-shrink: 0; display: grid; place-items: center;
  overflow: hidden; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 220ms ease;
}
.related-card:hover .related-card__art {
  transform: scale(1.06); border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.18);
}
.related-card__art img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1); }
.related-card:hover .related-card__art img { transform: scale(1.05); }
.related-card__meta { position: relative; z-index: 1; flex: 1; min-width: 0; }
.related-card__name { font-weight: 900; letter-spacing: -0.03em; font-size: 16px; line-height: 1.2; }
.related-card__tag {
  margin-top: 6px; font-size: 12px; line-height: 1.4;
  color: rgba(255, 255, 255, 0.52);
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.related-card__tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
  flex-shrink: 0;
}

@media (min-width: 721px) and (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .related-card, .related-card::before, .related-card::after, .related-card__art, .related-card__art img { transition: none; }
  .related-card:hover { transform: none; }
  .related-card:hover::before { transform: translateX(-120%); }
  .related-card:hover::after { transform: none; }
  .related-card:hover .related-card__art, .related-card:hover .related-card__art img { transform: none; }
}

/* ──────────────────────────────────────────────────────────
   Icon Button
   ────────────────────────────────────────────────────────── */
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer; transition: background 120ms ease;
  display: grid; place-items: center;
}
.icon-btn:hover { background: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.22); }
.icon-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ──────────────────────────────────────────────────────────
   Form / Fields
   ────────────────────────────────────────────────────────── */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 12px; font-weight: 700; color: var(--muted); }
.field__input {
  border-radius: 12px;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 11px 14px;
  font: inherit; font-size: 14px;
  transition: border-color 120ms ease;
}
.field__input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-color: rgba(245, 158, 11, 0.35); }
.field__input::placeholder { color: rgba(255, 255, 255, 0.28); }
.field__input--area { resize: vertical; min-height: 110px; }
.form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.notice {
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
  color: rgba(255, 255, 255, 0.88);
  padding: 12px 14px; line-height: 1.5; font-size: 13.5px;
}
.notice--auth { border-color: rgba(245, 158, 11, 0.28); background: rgba(245, 158, 11, 0.08); }
.auth__mode { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ──────────────────────────────────────────────────────────
   Duration Picker
   ────────────────────────────────────────────────────────── */
#productDurationWrap { max-width: 220px; }
#productDurationWrap .duration-select { position: relative; }
#productDurationWrap .duration-select__native {
  width: 100%; height: 44px;
  padding: 10px 44px 10px 18px;
  -webkit-appearance: none; appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.24);
  background: radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 0.02) 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
  color: var(--text); font: inherit;
}
#productDurationWrap .duration-select__chev {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%); pointer-events: none;
  color: rgba(255, 255, 255, 0.7); font-size: 12px;
}
#productDurationWrap .duration-select__native:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.duration-select__native option { background: #0f0f10; color: rgba(255, 255, 255, 0.92); }
#productDurationWrap .duration-select__native option:checked { background: rgba(245, 158, 11, 0.5) !important; color: #fff !important; }

/* ──────────────────────────────────────────────────────────
   Cart
   ────────────────────────────────────────────────────────── */
.cart-link-wrap { display: flex; align-items: center; }
.cart-link {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--text); text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease;
}
.topbar__actions #authBtn.btn {
  width: 42px; height: 42px;
  border-radius: 9999px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.cart-link:hover { background: rgba(245, 158, 11, 0.14); border-color: rgba(245, 158, 11, 0.38); }
.cart-link__icon { font-size: 20px; line-height: 1; }
.cart-link__badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 5px;
  font-size: 11px; font-weight: 800; line-height: 18px;
  text-align: center; color: #0c0c0d;
  background: var(--accent); border-radius: 9px;
}
.cart-empty {
  padding: 40px 24px; text-align: center;
  border-radius: var(--radius2);
  border: 1px dashed rgba(255, 220, 120, 0.18);
  background: rgba(245, 158, 11, 0.03);
}
.cart-empty p { margin: 0 0 16px; color: var(--muted); }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius2);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(255, 255, 255, 0.025);
}
.cart-item__main { flex: 1; min-width: 0; }
.cart-item__plan { font-weight: 700; margin-bottom: 4px; }
.cart-item__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cart-item__meta .tag { font-size: 12px; }
.cart-item__price { font-size: 13px; font-weight: 800; color: var(--accent3); }
.cart-item__remove { flex-shrink: 0; padding: 8px 12px; }
.cart-footer { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 220, 120, 0.1); }
.cart-footer__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cart-toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(16px);
  padding: 12px 22px; font-size: 14px; font-weight: 700;
  color: #0c0c0d; background: var(--accent);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
  z-index: 5000; opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.cart-toast--visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ──────────────────────────────────────────────────────────
   Mobile Nav (script.js injected)
   ────────────────────────────────────────────────────────── */
.mobile-nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 220, 120, 0.2);
  background: rgba(245, 158, 11, 0.1);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
  line-height: 1;
}
.mobile-nav-toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Three-bar hamburger using a reliable inline approach */
.mobile-nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 22px;
  height: 22px;
  pointer-events: none;
}
.mobile-nav-toggle__bars::before,
.mobile-nav-toggle__bars::after,
.mobile-nav-toggle__bars span {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}
/* Remove absolute positioning — use flexbox gap instead */
.mobile-nav-toggle__bars::before { position: static; top: auto; }
.mobile-nav-toggle__bars span    { position: static; top: auto; }
.mobile-nav-toggle__bars::after  { position: static; top: auto; }

body.mobile-nav-enabled header.topbar nav.nav { display: none !important; }
body.mobile-nav-enabled .mobile-nav-toggle { display: inline-flex; }

.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.5); z-index: 2000;
  display: none;
}
.mobile-nav-overlay--open { display: block; }
.mobile-nav-panel {
  position: absolute; top: 0; left: 0;
  height: 100%; width: min(360px, 92vw);
  background: rgba(12, 12, 14, 0.97);
  color: var(--text);
  border-right: 1px solid rgba(255, 220, 120, 0.12);
  padding: 16px 16px 22px;
  overflow: auto;
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.65);
}
.mobile-nav-panel__top {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; margin-bottom: 16px;
}
.mobile-nav-panel__close {
  width: 42px; height: 42px; border-radius: 9999px;
  border: 1px solid rgba(255, 220, 120, 0.15);
  background: rgba(245, 158, 11, 0.08); cursor: pointer;
  font-weight: 900; color: var(--text); padding: 0; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-nav-search { display: grid; grid-template-columns: 1fr 44px; gap: 10px; margin-bottom: 18px; }
.mobile-nav-search__input {
  height: 44px; border-radius: 9999px;
  border: 1px solid rgba(255, 220, 120, 0.15);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 14px; font: inherit; color: var(--text);
}
.mobile-nav-search__btn {
  height: 44px; border-radius: 9999px;
  border: 1px solid rgba(255, 220, 120, 0.15);
  background: rgba(245, 158, 11, 0.08); cursor: pointer;
  color: var(--text); font-weight: 700;
}
.mobile-nav-links { display: grid; gap: 10px; }
.mobile-nav-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 16px; border-radius: 9999px;
  text-decoration: none; color: var(--text);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(255, 255, 255, 0.025);
  font-weight: 600;
}
.mobile-nav-links a:hover { background: rgba(245, 158, 11, 0.06); border-color: rgba(245, 158, 11, 0.2); }

/* ──────────────────────────────────────────────────────────
   Mascot / Stickers (script.js)
   ────────────────────────────────────────────────────────── */
.mascot {
  position: fixed; right: 16px; bottom: 16px;
  width: 64px; height: 64px;
  border-radius: 22px;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(14, 12, 10, 0.85);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px); z-index: 1000;
  display: grid; place-items: center; overflow: hidden;
}
.mascot__svg { width: 48px; height: 48px; transform-origin: 50% 70%; }
.mascot__bubble {
  position: fixed; right: 92px; bottom: 28px;
  max-width: 260px; padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 220, 120, 0.14);
  background: rgba(14, 12, 10, 0.94); color: var(--text);
  font-size: 13px; line-height: 1.3; z-index: 1001;
  opacity: 0; transform: translateY(8px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease; pointer-events: none;
}
.mascot__bubble--show { opacity: 1; transform: translateY(0) scale(1); }
.mascot--idle { animation: mascotIdle 10s ease-in-out infinite; }
.mascot--wave .mascot__svg { animation: mascotWave 520ms ease-in-out; }
.mascot--pop .mascot__svg  { animation: mascotPop 420ms ease-in-out; }

@keyframes mascotIdle { 0%, 26%, 100% { transform: translateY(0); } 12% { transform: translateY(-2px); } }
@keyframes mascotWave { 0% { transform: rotate(0); } 30% { transform: rotate(-6deg) translateY(-2px); } 70% { transform: rotate(6deg) translateY(-1px); } 100% { transform: rotate(0); } }
@keyframes mascotPop  { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

#stickerLayer { position: fixed; inset: 0; pointer-events: none; z-index: 1002; }
.sticker {
  position: absolute; font-size: 20px; line-height: 1;
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0; animation: stickerPop 800ms ease-out forwards;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}
.sticker--accent { color: #fde68a; }
.sticker--good   { color: #bbf7d0; }
.sticker--purple { color: #ddd6fe; }

@keyframes stickerPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.85); }
  12%  { opacity: 1; transform: translate(-50%, -58%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -85%) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .mascot, .mascot--idle { animation: none !important; }
  .mascot__svg { animation: none !important; }
  .sticker { animation: none !important; opacity: 1; }
}

/* ──────────────────────────────────────────────────────────
   Blog / Article
   ────────────────────────────────────────────────────────── */
.blog-page { padding-top: 36px; }
.blog-article-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.article-content {
  border-radius: var(--radius2);
  border: 1px solid rgba(255, 220, 120, 0.1);
  background: rgba(20, 18, 14, 0.9);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.4);
  padding: 20px 20px 12px;
}
.article-section { margin-bottom: 28px; }
.article-section h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.article-section h3 { margin: 0 0 10px; font-size: 16px; letter-spacing: -0.01em; color: var(--text); }
.article-toc h2 { font-size: 18px; }
.table-of-contents { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.table-of-contents a { color: var(--text); font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255, 220, 120, 0.12); padding-bottom: 2px; }
.table-of-contents a:hover { color: var(--accent3); border-bottom-color: var(--accent); }
.toc-container { display: grid; grid-template-columns: 1fr; gap: 12px; }
.toc-sticky { display: flex; justify-content: flex-start; }
.reading-progress { width: 100%; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 220, 120, 0.1); background: rgba(0, 0, 0, 0.22); }
.progress-bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--accent2), var(--accent3)); }
.progress-text { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 700; }
.share-container { padding: 14px; border-radius: 16px; border: 1px solid rgba(255, 220, 120, 0.1); background: rgba(255, 255, 255, 0.025); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 220, 120, 0.14); background: rgba(255, 255, 255, 0.04); color: var(--text); font-weight: 700; text-decoration: none; }
.share-btn:hover { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.08); color: var(--accent3); }
.highlight-box { margin-top: 12px; padding: 14px; border-radius: 16px; border: 1px solid rgba(245, 158, 11, 0.18); background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(224, 126, 0, 0.06)); }
.benefits-list { margin: 10px 0 0; padding-left: 18px; }
.discovery-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.method-card, .entertainment-card { border-radius: 14px; border: 1px solid rgba(255, 220, 120, 0.1); background: rgba(255, 255, 255, 0.03); padding: 14px; }
.entertainment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cta-section { padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 220, 120, 0.1); background: rgba(255, 255, 255, 0.025); }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.buy-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255, 220, 120, 0.15); background: rgba(245, 158, 11, 0.08); color: var(--accent3); font-weight: 900; text-decoration: none; }
.buy-btn:hover { border-color: rgba(245, 158, 11, 0.4); background: rgba(245, 158, 11, 0.16); }
.article-sidebar { position: sticky; top: 20px; display: grid; gap: 16px; }
.sidebar-widget { padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 220, 120, 0.1); background: rgba(20, 18, 14, 0.9); }
.sidebar-widget h3 { margin: 0 0 12px; font-size: 16px; letter-spacing: -0.01em; }
.related-products { display: grid; gap: 10px; }
.product-card-mini { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; border: 1px solid rgba(255, 220, 120, 0.1); background: rgba(0, 0, 0, 0.22); text-decoration: none; color: inherit; }
.product-card-mini img { width: 46px; height: 46px; object-fit: contain; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.product-card-mini h4 { margin: 0; font-size: 14px; letter-spacing: -0.01em; font-weight: 850; }
.product-price { margin-top: 4px; font-size: 12px; color: var(--accent3); font-weight: 800; }
.quick-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.quick-links a { color: var(--text); font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255, 220, 120, 0.1); padding-bottom: 2px; }
.quick-links a:hover { border-bottom-color: var(--accent); color: var(--accent3); }

/* ──────────────────────────────────────────────────────────
   Out of Stock / In Stock Badges
   ────────────────────────────────────────────────────────── */
.plan--out-of-stock {
  position: relative;
  opacity: 0.62; pointer-events: none; filter: grayscale(40%);
}
.plan--out-of-stock::after {
  content: "Out of Stock"; position: absolute; top: 14px; right: 14px;
  background: rgba(239, 68, 68, 0.9); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.4); pointer-events: none;
}
.plan--out-of-stock .btn { cursor: not-allowed; opacity: 0.45; }
.plan--out-of-stock .btn--primary { background: rgba(100,100,120,0.4); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); box-shadow: none; }

.card--out-of-stock {
  position: relative;
  opacity: 0.58; pointer-events: none; filter: grayscale(35%);
  order: 99; /* Always render after in-stock cards */
}
.card--out-of-stock::before {
  content: "Out of Stock";
  position: absolute;
  inset: auto !important;
  top: 12px !important; right: 12px !important;
  bottom: auto !important; left: auto !important;
  width: auto !important; height: auto !important;
  z-index: 10;
  background: rgba(239, 68, 68, 0.9); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4); pointer-events: none;
  transform: none !important; transition: none !important;
}
.card--out-of-stock .btn--primary { background: rgba(100,100,120,0.4); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.5); cursor: not-allowed; box-shadow: none; }

.mini-card--out-of-stock {
  position: relative; opacity: 0.55; pointer-events: none; filter: grayscale(45%);
}
.mini-card--out-of-stock::after {
  content: "Out of Stock"; position: absolute; top: 6px; right: 6px;
  background: rgba(239, 68, 68, 0.9); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 99px; pointer-events: none;
}

@keyframes instock-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.55); }
  50%       { box-shadow: 0 4px 20px rgba(0,0,0,0.55), 0 0 0 3px rgba(245,158,11,0.12); }
}
.card--in-stock {
  position: relative;
  border: 1.5px solid rgba(245, 158, 11, 0.35) !important;
  animation: instock-pulse 3s ease-in-out infinite;
  order: 0; /* Always render before out-of-stock cards */
}
/* Reset all inherited inset:0 from card::before so badge stays small */
.card--in-stock::before {
  content: "✦ In Stock";
  position: absolute;
  inset: auto !important;    /* reset the inherited inset:0 */
  top: 12px !important;
  right: 12px !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  z-index: 10;
  background: linear-gradient(135deg, rgba(245,158,11,0.92), rgba(224,126,0,0.88));
  color: #0c0c0d;
  font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(245,158,11,0.35);
  pointer-events: none;
  transform: none !important;   /* never sweep this badge */
  transition: none !important;
}

@keyframes ministock-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
  50%       { box-shadow: 0 0 0 3px rgba(34,197,94,0.16); }
}
.mini-card--in-stock {
  position: relative;
  border: 1px solid rgba(34, 197, 94, 0.38) !important;
  border-radius: 14px;
  animation: ministock-pulse 3s ease-in-out infinite;
}
.mini-card--in-stock::after {
  content: "In Stock"; position: absolute; top: 6px; right: 6px;
  background: linear-gradient(135deg, rgba(34,197,94,0.92), rgba(16,185,129,0.88)); color: #fff;
  font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 99px; box-shadow: 0 1px 6px rgba(34,197,94,0.35);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────
   Responsive — Tablet (≤ 980px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .product-hero__inner { grid-template-columns: 1fr; }
  .product-gallery { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 12px; scroll-snap-type: x mandatory; padding: 2px 10px 10px; }
  .product-gallery .shot { flex: 0 0 280px; min-height: 130px; scroll-snap-align: start; }
  .grid { grid-template-columns: 1fr; }
  #trending .grid { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 14px; scroll-snap-type: x mandatory; padding: 2px 10px 8px; }
  #trending .grid::-webkit-scrollbar { display: none; }
  #trending .grid > .card { flex: 0 0 84%; scroll-snap-align: center; }
  .product-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .adobe-page .plan-grid { display: grid !important; grid-template-columns: 1fr; gap: 14px; }
  .adobe-page .plan { flex: initial; scroll-snap-align: initial; }
  .nav { display: flex; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; scrollbar-width: none; gap: 6px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav__link { padding: 7px 9px; font-size: 13px; white-space: nowrap; }
  .trailer-row { grid-template-columns: 1fr; }
  .product-hero .grid { grid-template-columns: 1fr !important; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .blog-article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

/* ──────────────────────────────────────────────────────────
   Responsive — Mobile (≤ 720px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .related-grid { grid-template-columns: 1fr; }
  .related-section::before, .related-section::after { opacity: 0.18; }
  #main .category-show .grid { grid-template-columns: repeat(2, 1fr) !important; }
  .hero__title { font-size: clamp(26px, 7vw, 38px); line-height: 1.06; }
  .hero__subtitle { font-size: 14px; margin-bottom: 16px; }
  /* Trust badges: 2×2 grid on mobile */
  .hero__trust {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .trust {
    padding: 10px 12px;
    border-radius: 12px;
    width: 100%;
  }
  .trust__icon { font-size: 15px; }
  .trust__label { font-size: 10.5px; }
  .trust__value { font-size: 12px; }
  /* Promo bar: hide middle text on mobile, show only tag + cta */
  .promo-bar__text { display: none; }
  .promo-bar__inner { gap: 8px; }
  /* Hero brands strip hides on mobile */
  .hero__brands { display: none; }
  /* Hero CTA stack vertically on mobile */
  .hero__cta { flex-direction: column; gap: 10px; }
  .hero__cta-main, .hero__cta-secondary { width: 100%; text-align: center; }
  .category-grid { display: flex; flex-wrap: nowrap; overflow-x: hidden; gap: 8px; padding-bottom: 6px; }
  #categories .category { flex: 0 0 calc((100% - 3 * 8px) / 4); min-width: 0; padding: 6px; gap: 4px; aspect-ratio: 1 / 1; }
  #categories .category__icon { width: 32px; height: 32px; font-size: 14px; line-height: 1; }
  #categories .category__name { font-size: 11px; }
  .category { flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1; padding: 10px; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; overflow: hidden; scroll-snap-align: start; }
  .category__icon { width: 44px; height: 44px; }
  .category__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
  .category__sub { display: none; }
  .category:hover { transform: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .product-logo { width: min(160px, 70%); }
  .card { grid-template-rows: 135px auto; border-radius: 18px; }
  .card__body { padding: 14px; }
  .card__top { gap: 8px; margin-bottom: 8px; }
  .card__title { font-size: 15px; }
  .tag { font-size: 10px; padding: 3px 8px; }
  .card__desc { margin: 0 0 3px; font-size: 12px; line-height: 1.45; }
  .card__desc:first-of-type { font-size: 13px; }
  .card__meta { grid-template-columns: 1fr; gap: 6px; margin: 8px 0; }
  .meta { padding: 8px 10px; }
  .meta__k { font-size: 10px; }
  .meta__v { font-size: 12.5px; word-break: break-word; }
  .card__actions { padding-top: 10px; gap: 6px; }
  .btn { padding: 9px 12px; border-radius: 11px; font-size: 13px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .topbar__inner {
    padding: 7px 12px;
    gap: 8px;
    border-radius: 9999px;
    flex-direction: row;
    align-items: center;
  }
  /* Shrink logo mark on mobile */
  .brand__mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand__name { font-size: 15px; }
  /* Keep all action buttons the same compact size */
  .topbar__actions { justify-content: flex-end; margin-left: auto; gap: 6px; }
  .cart-link,
  .topbar__actions #authBtn.btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 16px;
  }
  /* Hamburger also 34×34 */
  .mobile-nav-toggle { width: 34px; height: 34px; border-radius: 10px; }
  .topbar-search { display: none; }
  #main { padding-top: 64px; }
  .mascot { right: 10px; bottom: 10px; width: 56px; height: 56px; }
  .mascot__bubble { right: 74px; bottom: 24px; max-width: 210px; }
  .trust-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__actions-compact { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
  .discovery-methods, .entertainment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .section__title { font-size: 22px; }
  .section__subtitle { font-size: 14px; }
  .card__media { min-height: 120px; }
  #trending .media-logo { width: min(150px, 66%); max-height: 78px; }
  .product-hero { padding-top: 22px; }
  .trust-bar__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .nav__link { padding: 6px 7px; font-size: 12px; }
  .category__icon { width: 38px; height: 38px; }
  #trending .grid > .card { flex-basis: calc(100% - 40px); }
}
