/* =======================================================================
 * 字体：Manrope 可变字体本地托管（原 Google Fonts @import 会串行阻塞渲染，
 * 且在国内访问不稳定）。单个 woff2 覆盖 400–800 全部字重，仅 ~24KB。
 * ======================================================================= */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #121212;
  --bg-deep: #0d0d0e;
  --surface: #1c1c1e;
  --surface-2: #242427;
  --surface-3: #2c2c30;
  --text: #f7f7f8;
  --muted: #a4a4aa;
  --muted-2: #74747b;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --blue: #3d7eff;
  --blue-dark: #2563eb;
  --violet: #8b5cf6;
  --orange: #ff6b35;
  --green: #34d399;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --shadow-1: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 16px 48px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;
  --header-h: 64px;
  --max-width: 1400px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select {
  font: inherit;
}

button {
  color: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

::selection {
  background: rgba(61, 126, 255, 0.4);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(18, 18, 18, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.035);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max-width));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  width: 26px;
  height: 27px;
  display: inline-block;
}

.brand-mark span:first-child {
  position: absolute;
  inset: 0;
  background: #f5f5f7;
  clip-path: polygon(50% 0, 98% 25%, 98% 75%, 50% 100%, 2% 75%, 2% 25%);
}

.brand-mark span:last-child {
  position: absolute;
  width: 13px;
  height: 12px;
  top: 0;
  right: -2px;
  background: linear-gradient(135deg, #7d5cff, #2f7cff);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.brand-name {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #adb7be;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--dur) ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #fff;
}

.nav-link-new em,
.promo-tag {
  font-style: normal;
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.08em;
  padding: 4px 6px;
  border-radius: 999px;
  color: #fff;
  background: rgba(139, 92, 246, 0.65);
}

.nav-link-new em {
  transform: translateY(-5px);
  margin-left: -2px;
}

.nav-pixel {
  color: #8b5cf6;
  font-size: 14px;
}

.nav-dropdown-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu {
  position: absolute;
  top: 55px;
  left: -20px;
  width: 660px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #1b1b1e;
  box-shadow: var(--shadow-2);
  animation: pop-in 180ms var(--ease);
}

.mega-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mega-heading button,
.icon-button,
.modal-close,
.drawer-head button,
.search-field button {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mega-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--dur) ease;
}

.mega-grid a:hover {
  background: var(--surface-2);
}

.mega-grid strong,
.mega-grid small {
  display: block;
}

.mega-grid strong {
  font-size: 13px;
}

.mega-grid small {
  color: var(--muted);
  font-size: 11px;
}

.mega-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(61, 126, 255, 0.14);
  color: #77a5ff;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.text-action {
  font-size: 15px;
  color: #adb7be;
  font-weight: 400;
}

.text-action:hover {
  color: #fff;
}

.icon-button {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.icon-button:hover {
  background: transparent;
  color: #fff;
}

.icon-button.small {
  width: 32px;
  height: 32px;
}

.cart-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35c759;
  box-shadow: 0 0 0 2px #121212;
}

.cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
}

.mobile-menu {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  padding: 12px 20px 20px;
  border-bottom: 1px solid var(--line);
  background: #171719;
  display: grid;
  gap: 2px;
  box-shadow: var(--shadow-2);
}

.mobile-menu a,
.mobile-menu button {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

/* Shared hero and collage */
.home-hero,
.category-hero,
.marketing-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.home-hero {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 62px 24px 40px;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

/* Perspective stage keeps cards in real 3D space; mouse parallax nudges it. */
.collage-stage {
  position: absolute;
  inset: -12%;
  perspective: 1100px;
  perspective-origin: 50% 42%;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--mx, 0) * -26px), calc(var(--my, 0) * -18px), 0)
    scale(1.06);
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
  opacity: 0.86;
}

/* Slow chromatic light that drifts behind the covers */
.collage-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 28% 32%, rgba(83, 70, 255, 0.28), transparent 42%),
    radial-gradient(circle at 72% 58%, rgba(37, 129, 255, 0.24), transparent 46%),
    radial-gradient(circle at 54% 82%, rgba(180, 70, 255, 0.16), transparent 44%);
  filter: blur(18px);
  animation: collage-breathe 14s ease-in-out infinite alternate;
}

/* Darkening veil: only a soft pool behind the headline + gentle edge fade.
   Kept light so the cover art stays crisp and vivid (matches reference clarity). */
.hero-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(ellipse 42% 34% at 50% 37%, rgba(12, 12, 14, 0.92), rgba(12, 12, 14, 0) 74%),
    radial-gradient(ellipse 88% 82% at 50% 42%, rgba(14, 14, 16, 0) 42%, rgba(14, 14, 16, 0.62) 100%);
  pointer-events: none;
}

/* Each tile is a real content cover: preview art + title/author strip */
.cover-tile {
  position: absolute;
  width: 208px;
  height: 168px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #17171a;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  transform:
    translateZ(var(--tz, 0px))
    rotateY(var(--ry, 0deg))
    rotateX(var(--rx, 0deg))
    rotateZ(var(--rz, 0deg));
  animation: float-tile var(--float-dur, 9s) ease-in-out var(--float-delay, 0s) infinite alternate;
  will-change: transform;
}

.cover-media {
  position: relative;
  height: 118px;
  overflow: hidden;
  background: var(--surface);
}

/* Real marketplace-style cover art, rotated randomly across tiles. */
.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  animation: cover-fade 420ms ease both;
}

@keyframes cover-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cover-media .product-art {
  border-radius: 0;
}

.cover-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 50px;
  padding: 0 12px;
  background: linear-gradient(180deg, #1c1c20, #141417);
}

.cover-avatar {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
}

.cover-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cover-lines i {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #e8e8ec;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover-lines small {
  font-size: 9px;
  color: #86868f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Depth of field: covers stay close to front-facing like the reference's sphere
   shell. Only a slight turn toward centre on each wing + tiny scatter. */
.tile-0 { left: -70px; top: 40px; --rz: -2deg; --ry: 6deg; --rx: 2deg; --tz: -60px; --float-dur: 8.4s; --float-delay: -1.2s; }
.tile-1 { left: 6%; top: 168px; --rz: 1deg; --ry: 4deg; --rx: -2deg; --tz: 30px; --float-dur: 10.2s; --float-delay: -4.1s; }
.tile-2 { left: 18%; top: 8px; --rz: -2deg; --ry: 5deg; --rx: 3deg; --tz: -20px; --float-dur: 9.1s; --float-delay: -2.6s; }
.tile-3 { left: 29%; top: 184px; --rz: 3deg; --ry: 3deg; --rx: -2deg; --tz: 70px; --float-dur: 11.3s; --float-delay: -6.8s; }
.tile-4 { right: 30%; top: 0px; --rz: 2deg; --ry: -4deg; --rx: 3deg; --tz: -30px; --float-dur: 8.8s; --float-delay: -3.4s; }
.tile-5 { right: 19%; top: 172px; --rz: -2deg; --ry: -6deg; --rx: -2deg; --tz: 40px; --float-dur: 9.7s; --float-delay: -0.9s; }
.tile-6 { right: 6%; top: 30px; --rz: 3deg; --ry: -7deg; --rx: 2deg; --tz: -10px; --float-dur: 10.8s; --float-delay: -5.3s; }
.tile-7 { right: -70px; top: 152px; --rz: -3deg; --ry: -8deg; --rx: -2deg; --tz: -70px; --float-dur: 9.4s; --float-delay: -2.1s; }
.tile-8 { left: 42%; top: 84px; --rz: 1deg; --ry: 2deg; --rx: -3deg; --tz: 90px; --float-dur: 12s; --float-delay: -7.4s; }
.tile-9 { right: 40%; top: 210px; --rz: -1deg; --ry: -3deg; --rx: 4deg; --tz: 60px; --float-dur: 10.6s; --float-delay: -1.8s; }
.tile-10 { left: 10%; top: -76px; --rz: 2deg; --ry: 5deg; --rx: 4deg; --tz: -110px; --float-dur: 13s; --float-delay: -4.7s; }
.tile-11 { right: 12%; top: 244px; --rz: -2deg; --ry: -5deg; --rx: -4deg; --tz: -90px; --float-dur: 11.9s; --float-delay: -8.2s; }

.hero-collage.subtle {
  opacity: 0.22;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 450;
  color: rgba(248, 248, 248, 0.95);
  text-wrap: balance;
}

.hero-content p {
  margin: 24px auto 0;
  max-width: 760px;
  color: rgb(173, 183, 190);
  font-size: 20px;
  line-height: 1.4;
}

.hero-fade {
  position: absolute;
  inset: auto 0 0;
  height: 90px;
  background: linear-gradient(transparent, var(--bg));
  z-index: -1;
}

/* Product grid */
.product-section,
.promo-section,
.category-section,
.spotlight-section,
.related-section,
.category-workspace {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.product-section {
  padding: 0 0 72px;
}

.tab-pill {
  position: relative;
  width: max-content;
  margin: 128px auto 40px;
  padding: 4px;
  display: flex;
  gap: 0;
  border-radius: 99px;
  background: rgba(40, 39, 42, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

.tab-pill button {
  position: relative;
  min-width: 116px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: #adb7be;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: color var(--dur) ease, background var(--dur) ease;
}

.tab-pill button:hover {
  color: #fff;
}

.tab-pill button.active {
  color: #fff;
  background: #3a3740;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.35);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* Tag wall (/tags/:tag) */
.tag-page {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  padding: 40px 0 80px;
}

.tag-page-head {
  margin-bottom: 28px;
}

.tag-page-head h1 {
  margin: 8px 0 8px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.tag-page-head p {
  margin: 0;
  color: #8b959d;
  font-size: 14px;
}

.tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #adb7be;
  font-size: 13px;
  text-decoration: none;
  transition: background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease;
}

.tag-chip:hover {
  color: #fff;
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.tag-chip.active {
  background: #2d68ff;
  border-color: #2d68ff;
  color: #fff;
}

/* Assurance strip below the grid */
.product-assurance {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.assurance-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #adb7be;
  font-size: 14px;
}

.assurance-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.16);
  color: #3ecf7a;
  font-size: 13px;
  font-weight: 700;
}

.assurance-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 11px 20px;
  border-radius: 99px;
  background: #2d68ff;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--dur) ease, transform var(--dur) ease;
}

.assurance-cta:hover {
  background: #4579ff;
  transform: translateY(-1px);
}

.product-card {
  min-width: 0;
  animation: card-in 420ms var(--ease) both;
}

.product-media {
  position: relative;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Real cover art on product cards; gentle zoom on hover like the reference. */
.product-cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 420ms var(--ease);
}

.product-card:hover .product-cover-image {
  transform: scale(1.045);
}

.product-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  --art-a: #243b86;
  --art-b: #0c1024;
  --art-c: #8ea2ff;
  background:
    radial-gradient(circle at 76% 18%, color-mix(in srgb, var(--art-c) 55%, transparent), transparent 38%),
    linear-gradient(145deg, var(--art-a), var(--art-b));
  transition: transform 420ms var(--ease);
}

.product-card:hover .product-art {
  transform: scale(1.04);
}

.product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, #000, transparent 85%);
}

.product-art::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 76%;
  right: -8%;
  bottom: -16%;
  border-radius: 24px;
  transform: rotate(-16deg);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.art-panel {
  position: absolute;
  z-index: 1;
  border-radius: 10px;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.art-panel-a {
  left: 9%;
  top: 22%;
  width: 39%;
  height: 50%;
  transform: rotate(-6deg);
}

.art-panel-b {
  left: 35%;
  top: 38%;
  width: 35%;
  height: 45%;
  transform: rotate(9deg);
  background: rgba(255, 255, 255, 0.13);
}

.art-line {
  position: absolute;
  z-index: 3;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.8);
}

.art-line-a { left: 14%; top: 34%; width: 27%; }
.art-line-b { left: 14%; top: 43%; width: 18%; opacity: 0.6; }

.art-label {
  position: absolute;
  z-index: 3;
  left: 14%;
  top: 13%;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.75);
}

.art-chip {
  position: absolute;
  z-index: 3;
  right: 9%;
  top: 10%;
  padding: 4px 7px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 9px;
  font-weight: 800;
}

.product-screens {
  position: absolute;
  z-index: 4;
  left: 10px;
  top: 10px;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(14, 14, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: #dcdce0;
  backdrop-filter: blur(8px);
}

.favorite-button {
  position: absolute;
  z-index: 4;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(14, 14, 16, 0.72);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-4px);
  transition: all var(--dur) ease;
}

.product-card:hover .favorite-button,
.favorite-button:focus-visible,
.favorite-button.active {
  opacity: 1;
  transform: none;
}

.favorite-button.active {
  color: #ff6b81;
}

.card-hover-actions {
  position: absolute;
  z-index: 4;
  left: 12px;
  right: 12px;
  bottom: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 260ms var(--ease);
}

.product-card:hover .card-hover-actions,
.card-hover-actions:focus-within {
  opacity: 1;
  transform: none;
}

.card-hover-actions button {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(15, 15, 18, 0.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.card-hover-actions button:hover {
  background: var(--blue);
}

.product-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px 6px;
}

.product-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title:hover {
  color: #9fc0ff;
}

.product-price {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.product-price strong {
  font-weight: 800;
}

.product-price s {
  color: var(--muted-2);
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  color: var(--muted);
  font-size: 11px;
}

.author-avatar {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, #3d7eff, #7b61ff);
}

.avatar-1 { background: linear-gradient(135deg, #ff6b35, #b42318); }
.avatar-2 { background: linear-gradient(135deg, #16a34a, #065f46); }
.avatar-3 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.avatar-4 { background: linear-gradient(135deg, #8b5cf6, #4c1d95); }
.avatar-5 { background: linear-gradient(135deg, #06b6d4, #0e7490); }
.author-avatar.large { width: 46px; height: 46px; font-size: 18px; }

.author-name {
  color: #d8d8dc;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 110px;
}

.category-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 99px;
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  font-size: 9px;
  font-weight: 800;
}

/* Generated artwork variants */
.art-0 { --art-a: #2d55d9; --art-b: #081b58; --art-c: #7ea4ff; }
.art-1 { --art-a: #17382e; --art-b: #07110f; --art-c: #ff7a35; }
.art-2 { --art-a: #113b2d; --art-b: #08170f; --art-c: #49e39a; }
.art-3 { --art-a: #101028; --art-b: #05050d; --art-c: #c3b5ff; }
.art-4 { --art-a: #e8e8ea; --art-b: #a2a2aa; --art-c: #ffffff; }
.art-5 { --art-a: #1d4373; --art-b: #0b1d34; --art-c: #5cb6ff; }
.art-6 { --art-a: #eff1f7; --art-b: #b8c0d6; --art-c: #ffffff; }
.art-7 { --art-a: #1b2136; --art-b: #090c18; --art-c: #7c8cff; }
.art-8 { --art-a: #2a2a30; --art-b: #111114; --art-c: #d6d6dc; }
.art-9 { --art-a: #101418; --art-b: #050608; --art-c: #6c879c; }
.art-10 { --art-a: #e8ecf5; --art-b: #aeb8cc; --art-c: #ffffff; }
.art-11 { --art-a: #17231c; --art-b: #080c09; --art-c: #a5d6a7; }
.art-12 { --art-a: #24180f; --art-b: #0d0805; --art-c: #ff8a4c; }
.art-13 { --art-a: #eef0f3; --art-b: #b9bec7; --art-c: #ffffff; }
.art-14 { --art-a: #32204d; --art-b: #130a1e; --art-c: #c084fc; }
.art-15 { --art-a: #121b26; --art-b: #060a0f; --art-c: #93c5fd; }
.art-16 { --art-a: #f2ece5; --art-b: #c8bdb0; --art-c: #ffffff; }
.art-17 { --art-a: #242426; --art-b: #0b0b0c; --art-c: #dedee2; }
.art-18 { --art-a: #e9e3da; --art-b: #b8aa98; --art-c: #ffffff; }
.art-19 { --art-a: #2b1f34; --art-b: #0c0810; --art-c: #d8b4fe; }

/* Four preview families keep the cards visually varied without external images. */
.fake-phone,
.fake-chart,
.fake-grid,
.big-type {
  display: none;
  position: absolute;
  z-index: 2;
}

.art-style-0 .art-panel-a,
.art-style-0 .art-panel-b {
  border-radius: 8px;
  background: rgba(8, 9, 14, 0.58);
  transform: none;
}

.art-style-0 .art-panel-a { left: 8%; top: 18%; width: 52%; height: 62%; }
.art-style-0 .art-panel-b { left: 63%; top: 28%; width: 28%; height: 42%; }
.art-style-0 .art-line-a { left: 13%; top: 26%; width: 19%; }
.art-style-0 .art-line-b { left: 13%; top: 33%; width: 12%; }
.art-style-0 .fake-chart {
  display: flex;
  align-items: flex-end;
  gap: 7%;
  left: 13%;
  right: 69%;
  bottom: 12%;
  height: 28%;
}
.art-style-0 .fake-chart i {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--art-c) 75%, white), transparent);
}
.art-style-0 .fake-chart i:nth-child(1) { height: 35%; }
.art-style-0 .fake-chart i:nth-child(2) { height: 62%; }
.art-style-0 .fake-chart i:nth-child(3) { height: 48%; }
.art-style-0 .fake-chart i:nth-child(4) { height: 82%; }
.art-style-0 .fake-chart i:nth-child(5) { height: 68%; }
.art-style-0 .fake-chart i:nth-child(6) { height: 94%; }

.art-style-1 .art-panel,
.art-style-1 .art-line { display: none; }
.art-style-1 .fake-phone {
  display: block;
  top: 20%;
  width: 25%;
  height: 72%;
  border: 5px solid rgba(0, 0, 0, 0.38);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.06));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}
.art-style-1 .fake-phone i {
  display: block;
  margin: 12% 12% 0;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.38);
}
.art-style-1 .fake-phone i:first-child { height: 20%; width: 60%; }
.art-style-1 .fake-phone i:nth-child(2) { height: 30%; }
.art-style-1 .fake-phone i:nth-child(3) { height: 14%; width: 72%; }
.art-style-1 .phone-one { left: 28%; transform: rotate(-10deg); }
.art-style-1 .phone-two { right: 18%; transform: rotate(8deg); }

.art-style-2 .art-panel-a,
.art-style-2 .art-panel-b,
.art-style-2 .art-line { display: none; }
.art-style-2 .big-type {
  display: block;
  left: 10%;
  top: 26%;
  width: 72%;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(25px, 3.1vw, 44px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}
.art-style-2 .art-line-a { display: block; left: 10%; bottom: 17%; top: auto; width: 26%; height: 4px; }
.art-style-2 .art-line-b { display: block; left: 10%; bottom: 10%; top: auto; width: 16%; height: 4px; }

.art-style-3 .art-panel,
.art-style-3 .art-line { display: none; }
.art-style-3 .fake-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  left: 10%;
  right: 10%;
  top: 18%;
  bottom: 12%;
}
.art-style-3 .fake-grid i {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.04));
}
.art-style-3 .fake-grid i:nth-child(2),
.art-style-3 .fake-grid i:nth-child(5) { background: linear-gradient(145deg, color-mix(in srgb, var(--art-c) 55%, transparent), rgba(255, 255, 255, 0.04)); }

.art-4 .art-label,
.art-4 .art-chip,
.art-6 .art-label,
.art-6 .art-chip,
.art-10 .art-label,
.art-10 .art-chip,
.art-13 .art-label,
.art-13 .art-chip,
.art-16 .art-label,
.art-16 .art-chip,
.art-18 .art-label,
.art-18 .art-chip {
  color: #1d1d1f;
  background: rgba(255, 255, 255, 0.65);
}

/* Background covers reuse the art system at a smaller scale */
.cover-tile .art-label { font-size: 7px; letter-spacing: 0.12em; top: 10%; left: 11%; }
.cover-tile .art-chip { font-size: 7px; padding: 3px 5px; right: 8%; top: 8%; }
.cover-tile .art-line { height: 3px; }
.cover-tile .art-panel-a { left: 8%; top: 20%; width: 50%; height: 58%; }
.cover-tile .art-panel-b { left: 34%; top: 36%; width: 34%; height: 46%; }
.cover-tile .big-type { font-size: 23px; left: 9%; top: 30%; }
.cover-tile .fake-chart { bottom: 14%; height: 26%; }
.cover-tile .fake-grid { gap: 6px; }

/* Promo and category sections */
.promo-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-bottom: 80px;
}

.promo-card {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1b1b1f, #111114);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 84% 42%, rgba(61, 126, 255, 0.22), transparent 46%);
  pointer-events: none;
}

.promo-card > div:first-child {
  position: relative;
  z-index: 2;
  max-width: 60%;
}

.promo-card h3 {
  margin: 14px 0 8px;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.promo-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.promo-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #fff;
}

.promo-card a:hover {
  color: #9fc0ff;
}

.promo-art {
  position: relative;
  width: 240px;
  height: 180px;
  flex: 0 0 auto;
}

.promo-art span {
  position: absolute;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(61, 126, 255, 0.18));
  box-shadow: var(--shadow-1);
}

.promo-art-forge span:nth-child(1) { width: 160px; height: 110px; left: 20px; top: 22px; transform: rotate(-8deg); }
.promo-art-forge span:nth-child(2) { width: 130px; height: 90px; left: 72px; top: 62px; transform: rotate(11deg); }
.promo-art-forge span:nth-child(3) { width: 80px; height: 80px; left: 112px; top: 8px; border-radius: 50%; }

.promo-art-clap span:nth-child(1) { width: 180px; height: 120px; left: 16px; top: 20px; transform: rotate(5deg); }
.promo-art-clap span:nth-child(2) { width: 120px; height: 150px; left: 90px; top: 0; transform: rotate(-12deg); }
.promo-art-clap span:nth-child(3) { width: 64px; height: 64px; left: 42px; top: 85px; border-radius: 16px; }

.category-section {
  padding-bottom: 80px;
}

.home-title {
  margin: 0 0 64px;
  font-size: 34px;
  line-height: 40px;
  letter-spacing: -0.02px;
  font-weight: 450;
  color: rgba(248, 248, 248, 0.95);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.category-heading .home-title {
  margin-bottom: 40px;
}

.category-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 46px;
  color: #d4d4d9;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.category-view-all:hover {
  color: #fff;
}

.eyebrow {
  display: block;
  color: #8f8f96;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9c9ce;
  font-weight: 700;
}

.section-heading a:hover {
  color: #fff;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.category-card {
  position: relative;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 14px;
  background: #1a1a1c;
  display: flex;
  align-items: center;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) ease, background var(--dur) ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
  background: #202023;
}

.category-icon {
  width: 34px;
  height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #1e2740;
  color: #8db0ff;
}

.category-arrow {
  margin-left: 12px;
  flex: none;
  color: #6f6f78;
  transition: transform var(--dur) var(--ease), color var(--dur) ease;
}

.category-card:hover .category-arrow {
  color: #c9c9d0;
  transform: translateX(3px);
}

.category-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
  min-width: 0;
}

.category-card strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #f2f2f4;
}

.category-card small {
  margin-top: 4px;
  color: #83838c;
  font-size: 10.5px;
}

.spotlight-section {
  margin-bottom: 80px;
}

.spotlight-subtitle {
  margin: -48px 0 24px;
  color: rgb(173, 183, 190);
  font-size: 14px;
}

.spotlight-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #17171a;
  overflow: hidden;
}

.spotlight-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 16px 16px 0;
  height: 250px;
}

.spotlight-cover {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  padding: 26px 22px;
}

.spotlight-cover span {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.spotlight-cover i {
  position: absolute;
  display: block;
  border-radius: 6px;
}

.spotlight-cover.cover-a {
  background: linear-gradient(135deg, #2a0e3f 0%, #5b1a6b 45%, #c02a8a 100%);
  color: #fff;
}
.cover-a i:nth-of-type(1) { left: 22px; right: 22px; bottom: 40px; height: 54px; background: rgba(0,0,0,0.35); }
.cover-a i:nth-of-type(2) { left: 22px; right: 60px; bottom: 22px; height: 10px; background: rgba(255,255,255,0.16); }

.spotlight-cover.cover-b {
  background: linear-gradient(135deg, #d8d3cb 0%, #efeae2 100%);
  color: #17171a;
}
.cover-b i:nth-of-type(1) { left: 22px; right: 22px; top: 50%; height: 70px; background: #121212; transform: translateY(-30%); }
.cover-b i:nth-of-type(2) { left: 40px; right: 40px; top: calc(50% + 12px); height: 30px; background: rgba(255,255,255,0.12); }

.spotlight-cover.cover-c {
  background: linear-gradient(135deg, #f4f1ff 0%, #dcd6ff 100%);
  color: #2d1a6b;
}
.cover-c i:nth-of-type(1) { left: 22px; right: 22px; bottom: 36px; height: 60px; background: linear-gradient(90deg, #4f46e5, #7c3aed, #2563eb); }
.cover-c i:nth-of-type(2) { left: 22px; right: 90px; bottom: 20px; height: 8px; background: rgba(45,26,107,0.3); }

.spotlight-author {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 16px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.spotlight-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(from 30deg, #7c3aed, #ec4899, #f59e0b, #7c3aed);
  color: #fff;
  font-weight: 800;
}

.spotlight-author-copy strong,
.spotlight-author-copy span {
  display: block;
}

.spotlight-author-copy strong {
  font-size: 14px;
}

.spotlight-author-copy span {
  color: rgb(173, 183, 190);
  font-size: 12px;
  margin-top: 3px;
}

.spotlight-author button {
  padding: 9px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 99px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--dur) ease;
}

.spotlight-author button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.spotlight-card button,
.view-more,
.ghost-button,
.primary-button {
  cursor: pointer;
  border: 0;
  font-weight: 800;
}

.spotlight-card button {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 99px;
  background: var(--surface-3);
}

/* Footer */
.site-footer {
  position: relative;
  margin-top: auto;
  padding-bottom: 36px;
  overflow: hidden;
  background: #121212;
  color: #fff;
  isolation: isolate;
}

/* 1px rainbow hairline across the very top of the footer */
.footer-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, #2d68ff 0%, #8b5cf6 28%, #a855f7 48%, #ff5a2d 78%, #ffb020 100%);
  opacity: 0.32;
}

/* Slow drifting light behind the footer, echoing the reference's canvas shader */
.footer-shader {
  position: absolute;
  inset: -30% -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 50% at 8% 70%, rgba(112, 74, 220, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 46% at 88% 78%, rgba(226, 84, 104, 0.2), transparent 72%),
    radial-gradient(ellipse 55% 36% at 52% 108%, rgba(58, 104, 214, 0.2), transparent 76%),
    radial-gradient(ellipse 30% 30% at 30% 100%, rgba(168, 70, 190, 0.14), transparent 72%);
  animation: footer-shader-drift 22s ease-in-out infinite alternate;
}

.trusted-by {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1168px);
  margin: 0 auto;
  padding: 30px 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.3);
}

.trusted-by > span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
}

.trusted-by strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: inherit;
}

.trusted-by strong svg {
  flex: none;
  opacity: 0.9;
}

.trusted-by .brand-adobe { font-weight: 600; letter-spacing: -0.01em; }
.trusted-by .brand-webflow { font-weight: 700; font-style: italic; letter-spacing: -0.05em; }
.trusted-by .brand-airbnb { font-weight: 600; letter-spacing: -0.04em; }
.trusted-by .brand-amazon { font-weight: 700; letter-spacing: -0.04em; }
.trusted-by .brand-google { font-weight: 500; letter-spacing: -0.03em; }
.trusted-by .brand-microsoft { font-weight: 400; }
.trusted-by .brand-netflix { font-weight: 800; letter-spacing: 0.14em; transform: scaleY(1.08); }
.trusted-by .brand-paypal { font-weight: 700; font-style: italic; letter-spacing: -0.04em; }

.footer-cta {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1168px);
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-cta-copy {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-mark {
  width: 43px;
  height: 38px;
  flex: none;
}

.footer-cta h3 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #f8f8f8;
}

.footer-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.newsletter-form {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 340px;
  height: 56px;
  border-radius: 999px;
  background: #17171a;
  isolation: isolate;
}

/* Gradient ring: violet → magenta → violet */
.newsletter-form::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 999px;
  padding: 1.5px;
  background: linear-gradient(100deg, #7c5cff, #d946a8 42%, #8b5cf6 70%, #4f7cff);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.newsletter-form input {
  width: 100%;
  height: 100%;
  padding: 0 52px 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 13px;
}

.newsletter-form input::placeholder {
  color: #9a8fb0;
}

/* Grid glyph button — no circular background, just the 3×3 dots */
.newsletter-form button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: transform var(--dur) ease;
}

.newsletter-form button:hover {
  transform: translateY(-50%) scale(1.12);
}

.form-message {
  position: absolute;
  left: 0;
  top: 60px;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.footer-columns {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1168px);
  margin: 0 auto;
  padding: 16px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 48px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.footer-column h3 {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.1px;
  color: rgba(255, 255, 255, 0.34);
  text-transform: uppercase;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 24px;
  width: 100%;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-column a,
.footer-column button {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
}

.footer-column a:hover,
.footer-column button:hover {
  color: #fff;
}

.footer-column em {
  font-style: normal;
  font-size: 8px;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 99px;
  color: #fff;
  background: rgba(139, 92, 246, 0.6);
  transform: translateY(-4px);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  transition: background var(--dur) ease, color var(--dur) ease;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1168px);
  margin: 0 auto;
  padding: 0;
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.footer-bottom a {
  color: inherit;
  transition: color var(--dur) ease;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.5);
}

.footer-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex: none;
}

@keyframes footer-shader-drift {
  from { transform: translate3d(-2%, 0, 0) scale(1); }
  to { transform: translate3d(2%, -2%, 0) scale(1.08); }
}

/* Overlays */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
  padding: 72px 20px 20px;
  animation: fade-in 160ms ease;
}

.overlay-centered {
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
}

.overlay-right {
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.search-dialog {
  width: min(720px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #1a1a1d;
  box-shadow: var(--shadow-2);
  animation: pop-in 180ms var(--ease);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 16px;
}

.search-field button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.search-results {
  max-height: 60vh;
  overflow-y: auto;
  padding: 10px;
}

.search-label {
  margin: 6px 8px 8px;
  color: #777780;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-results button {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-results button:hover {
  background: var(--surface-2);
}

.search-thumb {
  width: 56px;
  height: 40px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--art-a, #243b86), var(--art-b, #0c1024));
  border: 1px solid var(--line);
}

.search-results strong,
.search-results small {
  display: block;
}

.search-results small {
  color: var(--muted);
  font-size: 11px;
}

.search-empty {
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  display: grid;
  justify-items: center;
  gap: 8px;
}

.search-empty strong {
  color: #fff;
}

.plans-modal {
  position: relative;
  width: min(1100px, 100%);
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: #19191b;
  box-shadow: var(--shadow-2);
  animation: pop-in 200ms var(--ease);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
}

.plans-modal h2 {
  margin: 8px 0 6px;
  font-size: 38px;
  letter-spacing: -0.05em;
}

.plans-modal > p {
  margin: 0 0 28px;
  color: var(--muted);
}

.plan-grid,
.marketing-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.plan-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #202023;
}

.plan-card.popular {
  border-color: rgba(61, 126, 255, 0.6);
  background: #26262b;
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}

.popular-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.plan-card h2,
.plan-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 18px;
}

.plan-price strong {
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.055em;
}

.plan-price s {
  color: #71717a;
  font-size: 14px;
}

.plan-price small {
  color: var(--muted);
  font-size: 12px;
}

.primary-button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  transition: background var(--dur) ease, transform var(--dur) var(--ease);
}

.primary-button:hover {
  background: #5590ff;
  transform: translateY(-1px);
}

.primary-button.wide,
.ghost-button.wide {
  width: 100%;
}

.ghost-button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
}

.ghost-button:hover {
  background: var(--surface-2);
}

.plan-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  color: #d2d2d7;
  font-size: 12px;
}

.plan-card li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.plan-card li svg {
  color: #a5b4fc;
}

.modal-note {
  margin: 24px 0 0 !important;
  text-align: center;
  font-size: 11px !important;
}

.cart-drawer {
  width: min(420px, 100%);
  height: 100%;
  background: #18181a;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  animation: slide-in 240ms var(--ease);
}

.drawer-head {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.drawer-head button {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--art-a), var(--art-b));
}

.cart-item-body strong,
.cart-item-body span {
  display: block;
}

.cart-item-body strong {
  font-size: 13px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-control button {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.cart-foot {
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
}

.cart-foot > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart-foot button {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.cart-empty {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

.cart-empty h3 {
  margin: 4px 0 0;
  color: #fff;
}

.cart-empty a {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9fc0ff;
  font-weight: 700;
}

.toast {
  position: fixed;
  z-index: 140;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  background: #242428;
  box-shadow: var(--shadow-2);
  font-size: 12px;
  font-weight: 700;
  animation: toast-in 240ms var(--ease);
}

/* Category workspace */
.category-hero {
  min-height: 285px;
  display: grid;
  place-items: center;
  padding: 52px 24px 24px;
}

.category-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.category-hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.category-hero p {
  margin: 16px 0 0;
  color: #a9a9b0;
  font-size: 14px;
}

.category-workspace {
  padding-bottom: 80px;
}

.chip-scroller {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-row {
  flex: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.chip-row::-webkit-scrollbar {
  display: none;
}

.filter-chip,
.chip-arrow {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #1b1b1e;
  color: #b9b9c0;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--dur) ease;
}

.filter-chip:hover,
.chip-arrow:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.filter-chip.active {
  border-color: var(--blue);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(61, 126, 255, 0.35);
}

.chip-arrow {
  width: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.filter-toolbar {
  margin: 20px 0 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.compact-search,
.select-wrap {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1b1b1e;
  color: var(--muted);
}

.compact-search input {
  width: 220px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.compact-search button {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.select-wrap select {
  border: 0;
  outline: 0;
  background: transparent;
  color: #d8d8dc;
  cursor: pointer;
}

.select-wrap select option {
  background: #1b1b1e;
}

.switch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b9b9c0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.switch-label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.switch {
  width: 34px;
  height: 20px;
  border-radius: 99px;
  background: #3a3a40;
  position: relative;
  transition: background var(--dur) ease;
}

.switch::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--dur) var(--ease);
}

.switch-label input:checked + .switch {
  background: var(--blue);
}

.switch-label input:checked + .switch::after {
  transform: translateX(14px);
}

.result-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.view-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.view-more {
  min-height: 42px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
}

.view-more:hover {
  background: var(--surface-2);
}

.empty-state {
  padding: 80px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
}

.empty-art {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  font-size: 30px;
}

.empty-state h2 {
  margin: 8px 0 0;
  color: #fff;
  font-size: 22px;
}

.empty-state button {
  margin-top: 12px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

/* Product detail */
.detail-hero {
  min-height: 250px;
  padding: 32px 24px 26px;
  border-bottom: 1px solid var(--line);
}

.detail-hero-bg {
  position: absolute;
  z-index: -1;
  left: 3%;
  top: -24px;
  width: 70%;
  color: rgba(255, 255, 255, 0.045);
  font-size: clamp(72px, 10vw, 150px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.07em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 55%, var(--bg));
}

.detail-heading,
.detail-actions {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.detail-heading h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 450;
  letter-spacing: -0.008em;
  line-height: 1.18;
}

.verified {
  display: inline-grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #1ba672;
  color: #fff;
  font-size: 12px;
  vertical-align: middle;
}

.detail-heading p {
  margin: 8px 0 14px;
  color: #a9a9b0;
}

.detail-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9b9ba2;
  font-size: 12px;
}

.detail-actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.pill-action {
  min-width: 54px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.86);
  cursor: pointer;
}

.pill-action:hover,
.pill-action.active {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.preview-button {
  min-width: 100px;
}

.detail-actions .primary-button {
  min-width: 180px;
}

/* Reference-style blue pill "Add to cart $54" */
.buy-cart-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 22px;
  background: #2d68ff;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--dur) ease, transform var(--dur) ease;
}

.buy-cart-button:hover {
  background: #4579ff;
  transform: translateY(-1px);
}

.buy-cart-button span {
  opacity: 0.85;
}

.buy-cart-button.wide {
  width: 100%;
  margin-top: 4px;
}

.license-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: #adb7be;
  font-size: 11px;
  font-weight: 500;
}

.access-hint {
  margin: 12px 0 0;
  color: #8b959d;
  font-size: 12px;
  line-height: 1.55;
}

.access-hint button {
  display: inline;
  border: 0;
  padding: 0;
  margin-left: 3px;
  background: none;
  color: #00a656;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.access-hint button:hover {
  text-decoration: underline;
}

.preview-grid {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.preview-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 78% 18%, color-mix(in srgb, var(--art-c) 40%, transparent), transparent 34%),
    linear-gradient(145deg, var(--art-a), var(--art-b));
  transition: background 400ms var(--ease);
}

.preview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.mock-browser {
  position: absolute;
  left: 8%;
  top: 8%;
  width: 84%;
  height: 12%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.18);
}

.mock-browser span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.mock-hero-copy {
  position: absolute;
  left: 9%;
  top: 28%;
  max-width: 44%;
}

.mock-hero-copy small,
.mock-hero-copy strong,
.mock-hero-copy span {
  display: block;
}

.mock-hero-copy small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-hero-copy strong {
  margin: 10px 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.mock-hero-copy span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.mock-phone {
  position: absolute;
  bottom: -8%;
  width: 112px;
  height: 250px;
  border: 6px solid rgba(0, 0, 0, 0.45);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-2);
}

.mock-phone::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 28px;
  height: 96px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.phone-a { right: 28%; transform: rotate(-8deg); }
.phone-b { right: 8%; transform: rotate(7deg); }

.mock-card-row {
  position: absolute;
  left: 9%;
  bottom: 10%;
  display: flex;
  gap: 8px;
}

.mock-card-row span {
  width: 62px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.mock-dashboard {
  position: absolute;
  inset: 12% 8% 14%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(10, 10, 14, 0.34);
  overflow: hidden;
}

.mock-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 24%;
  padding: 18px 12px;
  display: grid;
  align-content: start;
  gap: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.mock-sidebar span {
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
}

.mock-chart {
  position: absolute;
  left: 31%;
  right: 8%;
  bottom: 14%;
  height: 54%;
  display: flex;
  align-items: flex-end;
  gap: 8%;
}

.mock-chart i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08));
}

.mock-chart i:nth-child(1) { height: 32%; }
.mock-chart i:nth-child(2) { height: 58%; }
.mock-chart i:nth-child(3) { height: 44%; }
.mock-chart i:nth-child(4) { height: 78%; }
.mock-chart i:nth-child(5) { height: 62%; }
.mock-chart i:nth-child(6) { height: 92%; }

.mock-stat {
  position: absolute;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(10, 10, 14, 0.5);
  font-size: 22px;
  font-weight: 800;
}

.stat-a { right: 12%; top: 20%; }
.stat-b { right: 26%; top: 36%; }

.mock-caption {
  position: absolute;
  left: 12%;
  top: 18%;
  max-width: 50%;
  font-size: clamp(22px, 2.5vw, 36px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.preview-1 .mock-phone { transform: translateY(18px) rotate(-2deg); }
.preview-2 .mock-chart i:nth-child(4) { height: 96%; }

.detail-content {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
}

.detail-main {
  display: grid;
  gap: 44px;
}

.detail-section-head h2 {
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.detail-section-head h3 {
  margin: 0 0 16px;
  font-size: 20px;
}

.detail-section-head p {
  color: #b2b2b8;
  line-height: 1.75;
  max-width: 780px;
}

.highlight-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  color: #d0d0d5;
}

.highlight-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-list svg {
  color: var(--green);
}

.platform-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.platform-card > div {
  padding: 20px;
  border-right: 1px solid var(--line);
}

.platform-card > div:last-child {
  border-right: 0;
}

.platform-card strong,
.platform-card span {
  display: block;
}

.platform-card span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.comment-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.comment-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.comment-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.comment-card button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.detail-aside {
  display: grid;
  gap: 14px;
  align-content: start;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.purchase-card,
.author-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.purchase-card h3 {
  margin: 8px 0 14px;
  font-size: 17px;
  line-height: 1.3;
}

.purchase-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.purchase-price strong {
  font-size: 34px;
  letter-spacing: -0.05em;
}

.purchase-price s {
  color: #73737b;
}

.purchase-card .ghost-button {
  margin-top: 8px;
}

.purchase-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #b7b7bd;
  font-size: 12px;
}

.purchase-card li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-card li svg {
  color: var(--green);
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

.author-card h4 {
  margin: 0;
}

.author-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.author-card button {
  grid-column: 1 / -1;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.related-section {
  padding: 80px 0;
}

/* Product detail — reference-aligned additions */
.verified.small {
  width: 17px;
  height: 17px;
  font-size: 10px;
  margin-left: 2px;
}

.platform-chips {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
}

.platform-chips i {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.detail-sticky {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.detail-sticky:not(.visible) {
  visibility: hidden;
}

.detail-sticky-inner {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.detail-sticky-inner > strong {
  display: inline-flex;
  align-items: center;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.detail-sticky-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.detail-sticky-actions .pill-action {
  min-height: 36px;
  min-width: 48px;
  font-size: 13px;
}

.buy-cart-button.compact {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 999px;
}

/* Real-cover preview gallery */
.gallery-panel {
  position: relative;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #0c0c0e;
}

.gallery-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.94) saturate(1.02);
  transition: transform 500ms var(--ease), filter 300ms ease;
}

.gallery-panel:hover img {
  transform: scale(1.02);
  filter: brightness(1.02);
}

.gallery-panel figcaption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(8, 8, 10, 0.66);
  backdrop-filter: blur(8px);
  color: #c9c9cf;
  font-size: 11px;
  letter-spacing: 0.02em;
}

/* All Access strip */
.all-access-strip {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.all-access-strip .strip-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #c9c9cf;
  flex-shrink: 0;
}

.all-access-strip p {
  margin: 0;
  color: #00a656;
  font-size: 13px;
  font-weight: 500;
  flex: 1;
}

.all-access-strip button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #00a656;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--dur) ease;
}

.all-access-strip button:hover {
  background: #00bd63;
}

/* Centered single-column body (reference layout) */
.detail-body {
  width: min(calc(100% - 48px), 780px);
  margin: 56px auto 0;
  display: grid;
  gap: 44px;
}

/* Comments card — reference style */
.comments-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.comments-head h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.comments-toggle {
  display: inline-flex;
  gap: 6px;
}

.comments-toggle button {
  min-height: 32px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #b2b2b8;
  font-size: 12px;
  cursor: pointer;
}

.comments-toggle button.on {
  border-color: #2d68ff;
  color: #fff;
}

.comment-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 16px 0;
}

.comment-item + .comment-item {
  border-top: 1px solid var(--line);
}

.comment-item .author-avatar {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.author-avatar.avatar-unknown {
  background: #2a2a2e;
  color: #9b9ba2;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-who {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid rgba(0, 166, 86, 0.5);
  border-radius: 99px;
  color: #2fd288;
  font-size: 10px;
  font-weight: 600;
}

.comment-body p {
  margin: 7px 0 8px;
  color: #c3c3c9;
  font-size: 13px;
  line-height: 1.6;
}

.comment-body time {
  color: #73737b;
  font-size: 11px;
}

.comment-likes {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #73737b;
  font-size: 11px;
}

.comments-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px -26px -26px;
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.comments-foot span {
  color: #9b9ba2;
  font-size: 13px;
}

.comments-foot button {
  min-height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #2d68ff;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.comments-foot button:hover {
  background: #4579ff;
}


/* Marketing / informational pages */
.marketing-hero {
  min-height: 350px;
  display: grid;
  place-items: center;
  padding: 60px 24px 40px;
}

.marketing-hero.compact {
  min-height: 320px;
}

.marketing-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.marketing-hero-content h1 {
  margin: 10px 0 8px;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.06em;
  line-height: 1;
}

.marketing-hero-content p {
  margin: 0 0 22px;
  color: #a9a9b0;
}

.marketing-hero-content .primary-button {
  margin-inline: auto;
}

.marketing-plans {
  width: min(calc(100% - 48px), 1100px);
  margin: 0 auto;
  padding: 22px 0 80px;
}

.page-plan {
  min-height: 390px;
}

.faq-section {
  width: min(calc(100% - 48px), 900px);
  margin: 0 auto 80px;
}

.faq-section h2 {
  margin: 8px 0 24px;
  font-size: 38px;
  letter-spacing: -0.05em;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  width: 100%;
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.faq-item svg {
  transition: transform var(--dur) var(--ease);
}

.faq-item.open svg {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
}

.logo-strip {
  padding: 30px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #7b7b84;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.logo-strip div {
  font-size: 18px;
  letter-spacing: 0.55em;
}

.info-points {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.info-points article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  display: flex;
  gap: 12px;
  font-weight: 700;
}

.info-points svg {
  color: var(--green);
  flex: 0 0 auto;
}

.inline-cta {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 60px auto 80px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1a1a1e, #111114);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.inline-cta h2 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.inline-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.account-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  padding: 60px 20px;
}

.account-card {
  width: min(420px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.account-card h1 {
  margin: 8px 0 6px;
  font-size: 32px;
  letter-spacing: -0.05em;
}

.account-card > p {
  color: var(--muted);
}

.account-card form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.account-card label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
}

.account-card input {
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #141416;
  color: #fff;
  outline: 0;
}

.account-card input:focus {
  border-color: var(--blue);
}

.account-switch {
  margin: 20px 0 0;
  text-align: center;
  font-size: 12px;
}

.account-switch a {
  color: #9fc0ff;
  font-weight: 700;
}

/* Motion */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

@keyframes slide-in {
  from { transform: translateX(100%); }
  to { transform: none; }
}

@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Hero collage ambient motion */
@keyframes float-tile {
  from {
    transform:
      translate3d(var(--float-x, 0px), 14px, var(--tz, 0px))
      rotateY(calc(var(--ry, 0deg) + 3deg))
      rotateX(calc(var(--rx, 0deg) + 2deg))
      rotateZ(calc(var(--rz, 0deg) - 1.5deg));
  }
  to {
    transform:
      translate3d(calc(var(--float-x, 0px) * -1), -26px, var(--tz, 0px))
      rotateY(calc(var(--ry, 0deg) - 3deg))
      rotateX(calc(var(--rx, 0deg) - 2deg))
      rotateZ(calc(var(--rz, 0deg) + 2.5deg));
  }
}

@keyframes collage-breathe {
  from { opacity: 0.78; }
  to { opacity: 1; }
}

/* ============ Checkout page (/checkout/:slug) ============ */
.checkout-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 56px 24px 80px;
  background:
    radial-gradient(ellipse 50% 40% at 50% -10%, rgba(45, 104, 255, 0.12), transparent 70%),
    var(--bg);
}

.checkout-shell {
  width: min(100%, 940px);
}

.checkout-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a1c;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.checkout-order {
  padding: 26px;
  background: #161618;
  border-right: 1px solid var(--line);
}

.checkout-eyebrow {
  font-size: 15px;
  font-weight: 600;
  color: #f5f5f6;
}

.order-product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  margin-top: 22px;
}

.order-thumb {
  position: relative;
  width: 96px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface);
  display: grid;
  place-items: center;
}

.order-thumb .cover-image {
  border-radius: 7px;
}

.order-thumb-label {
  max-width: 88px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.order-product-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.order-product-info strong {
  font-size: 13px;
  line-height: 1.35;
  color: #e8e8ea;
}

.order-price {
  font-size: 13px;
  color: #f5f5f6;
}

.order-product-info .license-tag {
  align-self: flex-start;
  font-size: 10px;
  padding: 3px 8px;
}

.order-preview {
  margin-top: 22px;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #202023;
  padding: 14px;
}

.order-preview-grid {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
}

.order-preview-grid span {
  border-radius: 5px;
  background: linear-gradient(145deg, #2b2b30, #242427);
}

.order-total {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: #adb7be;
}

.order-total strong {
  color: #f5f5f6;
  font-size: 17px;
}

.checkout-form {
  padding: 26px 28px;
}

.checkout-form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-form-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.checkout-secure {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7f8a92;
  font-size: 11px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field > span {
  display: block;
  margin-bottom: 7px;
  color: #c3c9cd;
  font-size: 12px;
  font-weight: 500;
}

.field-input-wrap {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: #1e1e21;
  color: #6f7981;
  transition: border-color var(--dur) ease;
}

.field-input-wrap:focus-within {
  border-color: #2d68ff;
}

.field-input-wrap input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f5f5f6;
  font-size: 15px;
}

.field-input-wrap input::placeholder {
  color: #5d666e;
}

.field-input-wrap .card-brand {
  font-size: 15px;
  color: #8b959d;
}

.field > small {
  display: block;
  margin-top: 7px;
  color: #7f8a92;
  font-size: 11px;
}

.field > small a {
  color: #2d68ff;
  text-decoration: underline;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-button {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: #2d68ff;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur) ease;
}

.pay-button:hover {
  background: #4579ff;
}

.pay-note {
  margin: 10px 0 0;
  text-align: center;
  color: #6f7981;
  font-size: 11px;
}

.quick-checkout {
  margin-top: 20px;
  text-align: center;
}

.quick-checkout > span {
  display: block;
  margin-bottom: 12px;
  color: #6f7981;
  font-size: 11px;
}

.quick-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.quick-buttons button {
  height: 44px;
  border: 0;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.quick-klarna {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ffb3c7;
  color: #0a0a0a;
}

.klarna-mark {
  font-size: 15px;
}

.quick-paypal {
  background: #ffc439;
  color: #0a0a0a;
}

.quick-paypal em {
  font-style: italic;
  letter-spacing: -0.03em;
}

.checkout-upsell {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #1a1a1c;
}

.upsell-thumb {
  width: 76px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, #3d7eff, #6d3fe0);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
}

.upsell-copy strong {
  display: block;
  font-size: 14px;
}

.upsell-copy p {
  margin: 4px 0 0;
  color: #8b959d;
  font-size: 12px;
  line-height: 1.45;
}

.checkout-upsell button {
  flex: none;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f5f5f6;
  color: #121212;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.checkout-upsell button:hover {
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .desktop-nav { gap: 14px; }
  .header-inner { gap: 18px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-sticky-inner > strong { font-size: 16px; }
  .detail-sticky-actions .preview-button { display: none; }
}

@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .mobile-menu-button { display: grid; }
  .text-action { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-section { grid-template-columns: 1fr; }
  .promo-card > div:first-child { max-width: 70%; }
  .spotlight-section { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .footer-cta { flex-direction: column; align-items: flex-start; }
  .newsletter-form { flex: 0 0 auto; width: 100%; min-width: 0; }
  .detail-sticky-actions .pill-action { min-width: 42px; padding: 0 10px; }
  .buy-cart-button.compact { font-size: 13px; padding: 0 13px; }
  .preview-grid { grid-template-columns: 1fr; }
  .gallery-panel { min-height: 320px; }
  .mega-menu { display: none; }
}

@media (max-width: 680px) {
  :root { --header-h: 58px; }
  .header-inner,
  .product-section,
  .promo-section,
  .category-section,
  .spotlight-section,
  .related-section,
  .category-workspace,
  .footer-cta,
  .footer-columns,
  .footer-bottom,
  .detail-heading,
  .detail-actions,
  .preview-grid,
  .detail-body,
  .all-access-strip,
  .detail-sticky-inner,
  .marketing-plans,
  .faq-section,
  .info-points,
  .inline-cta {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner { gap: 10px; }
  .brand-name { font-size: 15px; }
  .header-actions { gap: 4px; }
  .home-hero { min-height: 300px; padding: 54px 16px 30px; }
  .hero-content h1 { font-size: 32px; line-height: 1.15; }
  .hero-content p { font-size: 12px; }
  .tab-pill { width: 100%; margin: 48px auto 28px; }
  .tab-pill button { flex: 1; min-width: 0; height: 44px; padding: 0 8px; font-size: 12px; }
  .home-title { font-size: 26px; line-height: 32px; margin-bottom: 32px; }
  .category-heading { flex-direction: column; align-items: flex-start; gap: 6px; }
  .category-heading .home-title { margin-bottom: 0; }
  .category-view-all { margin-bottom: 24px; font-size: 12px; }
  .spotlight-covers { height: 140px; }
  .spotlight-cover { padding: 16px 14px; }
  .spotlight-cover span { font-size: 15px; }
  .product-grid { grid-template-columns: 1fr; gap: 14px; }
  .product-media { aspect-ratio: 1.42 / 1; }
  .favorite-button,
  .card-hover-actions { opacity: 1; transform: none; }
  .promo-card { padding: 24px; min-height: 260px; }
  .promo-card > div:first-child { max-width: 100%; }
  .promo-art { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 92px; }
  .spotlight-section { padding: 24px; }
  .footer-columns { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-template-columns: auto auto; }
  .footer-bottom { flex-wrap: wrap; row-gap: 6px; }
  .footer-dot { display: none; }
  .trusted-by { flex-wrap: wrap; justify-content: center; row-gap: 14px; }
  .chip-scroller { gap: 4px; }
  .chip-arrow { display: none; }
  .filter-toolbar { align-items: stretch; }
  .compact-search { width: 100%; }
  .compact-search input { width: 100%; }
  .select-wrap { flex: 1; }
  .result-count { width: 100%; margin-left: 0; }
  .detail-hero { min-height: 260px; padding: 26px 14px; }
  .detail-heading h1 { font-size: 25px; }
  .detail-actions { justify-content: flex-start; flex-wrap: wrap; }
  .detail-actions .primary-button { width: 100%; }
  .gallery-panel { min-height: 240px; }
  .detail-sticky-inner { flex-wrap: wrap; }
  .detail-sticky-actions { width: 100%; justify-content: flex-start; }
  .all-access-strip { flex-wrap: wrap; border-radius: 24px; }
  .all-access-strip p { flex-basis: 100%; }
  .comments-foot { margin: 18px -18px -18px; padding: 14px 18px; flex-wrap: wrap; }
  .comments-card { padding: 18px; }
  .highlight-list,
  .platform-card { grid-template-columns: 1fr; }
  .platform-card > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .platform-card > div:last-child { border-bottom: 0; }
  .plans-modal { padding: 30px 18px; }
  .plans-modal h2 { font-size: 30px; }
  .plan-grid,
  .marketing-plans { grid-template-columns: 1fr; }
  .plan-card.popular { transform: none; }
  .info-points { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .inline-cta h2 { font-size: 26px; }
  .logo-strip div { display: none; }
  .search-field input { font-size: 14px; }
  .overlay { padding-top: 66px; }
  .checkout-page { padding: 32px 16px 60px; }
  .checkout-panel { grid-template-columns: 1fr; }
  .checkout-order { border-right: 0; border-bottom: 1px solid var(--line); }
  .checkout-upsell { grid-template-columns: 60px 1fr; }
  .checkout-upsell .upsell-thumb { width: 60px; height: 52px; }
  .checkout-upsell button { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
  .hero-content h1 { font-size: 28px; }
  .product-meta { font-size: 10px; }
  .author-name { max-width: 80px; }
  .detail-hero-bg { font-size: 58px; }
  .mock-hero-copy { max-width: 58%; }
  .mock-phone { width: 86px; height: 210px; }
}

/* =======================================================================
 * WebpDog / WordPress 适配层
 * ======================================================================= */

/* 原生 hidden 属性必须覆盖组件类的 display 值（overlay/tab/mega-menu 等）。 */
[hidden] {
  display: none !important;
}

/* 浮层采用 is-open 类显式控制显隐，避免组件 display 值与 hidden 属性冲突。
   无 is-open 时强制隐藏并禁用指针事件，确保不会拦截页面点击。 */
.overlay:not(.is-open) {
  display: none !important;
  pointer-events: none !important;
}

/* WebP <picture> 包装：确保 picture 撑满定位容器，内部图片尺寸规则照常生效。 */
.product-cover-picture,
.cover-picture {
  display: block;
  width: 100%;
  height: 100%;
}
.product-cover-picture .product-cover-image,
.cover-picture .cover-image {
  width: 100%;
  height: 100%;
}

/* =======================================================================
 * 本地化内联图标（替代 emoji 字符，零外部请求）
 * ======================================================================= */

/* 锁图标：在按钮中与文字并排，按字体大小缩放。 */
.wd-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.14em;
  flex: 0 0 auto;
}
.card-hover-actions button .wd-icon-lock,
.checkout-form .button .wd-icon-lock {
  margin-right: 0.35em;
}

/* 齿轮图标：筛选下拉框前缀，颜色继承父级。 */
.select-wrap .wd-icon-gear {
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.15em;
}
