/* ==========================================================================
   Velvet Hoard — design system
   Dark charcoal + off-white, muted violet accent. Lora (display) + Inter (UI).
   ========================================================================== */

@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --bg: #0f0e11;
  --bg-1: #141217;
  --bg-2: #1a181e;
  --bg-3: #232028;
  --line: rgba(240, 234, 226, 0.09);
  --line-2: rgba(240, 234, 226, 0.17);
  --text: #f2ede6;
  --text-2: #c3bcca;
  --text-3: #918a9c;
  --accent: #ac9bd9;
  --accent-2: #8b7bb8;
  --accent-soft: rgba(172, 155, 217, 0.14);
  --offer: #e6b98a;
  --ok: #94c9a7;
  --warn: #e6c27a;
  --photo-bg: #e3ded7;

  --paper: #f1ece5;
  --paper-2: #e8e2d9;
  --ink: #1b1920;
  --ink-2: #48434f;
  --ink-3: #6a6472;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --pill: 999px;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -18px rgba(0, 0, 0, 0.6);
  --shadow-2: 0 30px 80px -30px rgba(0, 0, 0, 0.75);

  --font-display: "Lora", "Iowan Old Style", Georgia, serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1360px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font-ui);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--accent-2); color: #fff; }
main { display: block; outline: none; }
main:focus, main:focus-visible { outline: none; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 300; padding: 10px 16px; border-radius: var(--pill); background: var(--text); color: var(--bg); font-weight: 600; transform: translateY(-160%); transition: transform 0.2s var(--ease); }
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 22px; height: 22px; flex: none; }
.icon-sm { width: 17px; height: 17px; }
.icon-xs { width: 13px; height: 13px; }

/* ---------- Typography ---------- */
.eyebrow {
  font: 600 11.5px/1.4 var(--font-ui); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.hero-title, .page-title, .section-title, .product-title, .cat-card-title, .collection-title, .detail-title, .modal-title, .age-gate-title, .empty-title, .contact-email {
  font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; text-wrap: balance;
}
.hero-title em, .page-title em, .section-title em { font-style: italic; color: var(--accent); }
.section-title { font-size: clamp(1.85rem, 1.1rem + 2.2vw, 3rem); line-height: 1.08; }
.section-intro { color: var(--text-2); max-width: 58ch; margin-top: 14px; font-size: 1.04rem; }
.page-title { font-size: clamp(2.3rem, 1.3rem + 3.4vw, 4.2rem); line-height: 1.02; }
.page-intro { color: var(--text-2); max-width: 60ch; margin-top: 18px; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem); }
.page-meta { margin-top: 22px; color: var(--text-3); font-size: 13.5px; letter-spacing: 0.02em; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); white-space: nowrap; }
.link-arrow .icon { transition: transform 0.35s var(--ease-out); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: var(--btn-h); padding: 0 24px; border-radius: var(--pill);
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  user-select: none;
}
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: #fff; box-shadow: 0 10px 30px -12px rgba(172, 155, 217, 0.55); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-3); background: rgba(240, 234, 226, 0.05); }
.btn-link { padding: 0 4px; height: auto; color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; border-radius: 4px; }
.btn-link:hover { color: var(--text); text-decoration-color: currentColor; }
.btn-sm { --btn-h: 38px; padding: 0 18px; font-size: 13.5px; }
.btn-lg { --btn-h: 54px; padding: 0 30px; font-size: 15px; }
.btn-xl { --btn-h: 58px; padding: 0 30px; font-size: 15.5px; font-weight: 600; }
.btn-block { width: 100%; }
.btn:disabled, .btn.is-disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary:disabled, .btn-primary.is-disabled { background: var(--bg-3); color: var(--text-2); border-color: var(--line-2); opacity: 1; }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--pill);
  color: var(--text); position: relative; transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(240, 234, 226, 0.07); }

.chip {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--pill);
  border: 1px solid var(--line-2); color: var(--text-2); font-size: 13.5px; background: transparent;
  transition: all 0.2s var(--ease); white-space: nowrap;
}
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-sm { height: 32px; padding: 0 12px; font-size: 12.5px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; height: 23px; padding: 0 9px; border-radius: var(--pill);
  font: 600 10.5px/1 var(--font-ui); letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
}
.badge-sample { background: rgba(15, 14, 17, 0.78); color: #f2ede6; border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); }
.badge-offer { background: #ecc9a2; color: #2b1a0a; }
.badge-new { background: #f2ede6; color: #1b1920; }
.product-merchant .badge-sample, .product-price-row .badge-offer { vertical-align: middle; }
.product-merchant .badge-sample { background: var(--accent-soft); color: var(--accent); border-color: transparent; margin-left: 6px; }

/* ---------- Announcement bar ---------- */
.announce { background: #0a090c; border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 12.5px; letter-spacing: 0.03em; }
.announce-inner { height: 36px; display: grid; place-items: center; }
.announce-track { position: relative; width: 100%; height: 100%; }
.announce-item { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; transform: translateY(6px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-item.is-active { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  background: rgba(15, 14, 17, 0.78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header.is-overlay:not(.is-scrolled):not(.mega-open) { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.menu-btn { display: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo-mark { width: 26px; height: 30px; color: var(--accent); flex: none; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.logo-word { font-family: var(--font-display); font-weight: 500; font-size: 16.5px; letter-spacing: 0.22em; text-transform: uppercase; white-space: nowrap; }
.main-nav ul { display: flex; justify-content: center; gap: 2px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 13px; border-radius: var(--pill);
  font-size: 14px; color: var(--text-2); transition: color 0.2s var(--ease), background-color 0.2s var(--ease); position: relative;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--text); background: rgba(240, 234, 226, 0.06); }
.nav-link.is-current { color: var(--text); }
.nav-link.is-current::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.nav-trigger .icon { transition: transform 0.3s var(--ease); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.badge-count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--pill);
  background: var(--accent); color: #140f1f; font-size: 10.5px; font-weight: 600; display: grid; place-items: center; line-height: 1;
}

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg-1); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.25s var(--ease), transform 0.3s var(--ease-out);
}
.mega.is-open { opacity: 1; transform: none; }
.mega-inner { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding-block: 40px 44px; }
.mega-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.mega-title { display: block; font-family: var(--font-display); font-size: 18px; line-height: 1.25; margin-bottom: 14px; color: var(--text); }
.mega-title:hover { color: var(--accent); }
.mega-count { font: 500 11px var(--font-ui); color: var(--text-3); margin-left: 4px; vertical-align: 2px; }
.mega-col li a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-2); transition: color 0.2s var(--ease), transform 0.25s var(--ease-out); }
.mega-col li a:hover { color: var(--text); transform: translateX(3px); }
.mega-side { display: grid; gap: 18px; align-content: start; }
.mega-feature { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-2); }
.mega-feature-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.mega-feature:hover .mega-feature-img { transform: scale(1.04); }
.mega-feature-text { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; background: linear-gradient(to top, rgba(15, 14, 17, 0.88), transparent); }
.mega-feature-text .eyebrow { margin-bottom: 4px; font-size: 10.5px; }
.mega-feature-title { display: block; font-family: var(--font-display); font-size: 19px; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.mega-links a { font-size: 13.5px; color: var(--text-2); }
.mega-links a:hover { color: var(--text); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 130; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 10, 0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s var(--ease); }
.drawer-panel {
  position: absolute; inset: 0 auto 0 0; width: min(88vw, 400px); background: var(--bg-1); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(-100%); transition: transform 0.4s var(--ease-out); overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.drawer-nav { padding: 18px 22px 40px; }
.drawer-main a { display: block; padding: 11px 0; font-family: var(--font-display); font-size: 22px; }
.drawer-label { margin: 22px 0 6px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-group summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; cursor: pointer; list-style: none; font-size: 16px; }
.drawer-group summary::-webkit-details-marker { display: none; }
.drawer-group[open] summary .icon { transform: rotate(180deg); }
.drawer-group summary .icon { transition: transform 0.3s var(--ease); color: var(--text-3); }
.drawer-group ul { padding: 0 0 14px 2px; }
.drawer-group li a { display: block; padding: 7px 0; color: var(--text-2); font-size: 15px; }
.drawer-minor { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.drawer-minor a { color: var(--text-2); font-size: 14.5px; }

/* Search dialog */
.search-dialog { position: fixed; inset: 0; z-index: 120; }
.search-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 10, 0.72); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s var(--ease); }
.search-panel { position: relative; background: var(--bg-1); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); max-height: 88vh; overflow-y: auto; transform: translateY(-16px); opacity: 0; transition: transform 0.4s var(--ease-out), opacity 0.3s var(--ease); }
.search-dialog.is-open .search-backdrop { opacity: 1; }
.search-dialog.is-open .search-panel { transform: none; opacity: 1; }
.search-form { display: flex; align-items: center; gap: 14px; padding-block: 22px 18px; border-bottom: 1px solid var(--line-2); }
.search-form-icon { width: 26px; height: 26px; color: var(--text-3); }
.search-input { flex: 1; min-width: 0; background: none; border: 0; outline: none; font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); color: var(--text); padding: 6px 0; }
.search-input::placeholder { color: var(--text-3); opacity: 1; }
.search-input::-webkit-search-cancel-button { display: none; }
.search-body { padding-block: 26px 40px; }
.search-results:not(:empty) { margin-top: 4px; }
.search-results-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px 28px; }
.search-hit { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px; margin: 0 -10px; border-radius: var(--radius-sm); transition: background-color 0.2s var(--ease); }
.search-hit:hover, .search-hit:focus-visible { background: rgba(240, 234, 226, 0.05); }
.search-hit img, .search-hit .img-placeholder { width: 60px; height: 75px; object-fit: cover; border-radius: 8px; background: var(--photo-bg); }
.search-hit-name { display: block; font-family: var(--font-display); font-size: 16.5px; line-height: 1.3; }
.search-hit-meta { display: block; font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.search-hit-price { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.search-all { margin-top: 22px; }
.search-none { color: var(--text-2); }

/* ---------- Hero ---------- */
.page-home .site-header { margin-bottom: calc(-1 * var(--header-h)); }
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; isolation: isolate; overflow: hidden; background: #121015; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 70% 50%; animation: hero-in 2.2s var(--ease-out) both; }
@keyframes hero-in { from { transform: scale(1.06); opacity: 0.4; } to { transform: none; opacity: 1; } }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(15, 14, 17, 0.94) 0%, rgba(15, 14, 17, 0.72) 32%, rgba(15, 14, 17, 0.15) 62%, rgba(15, 14, 17, 0) 75%),
  linear-gradient(to top, var(--bg) 0%, rgba(15, 14, 17, 0) 22%); }
.hero-inner { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 64px) 96px; }
.hero-inner > * { max-width: 620px; }
.hero-title { font-size: clamp(2.7rem, 1.2rem + 5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.025em; }
.hero-title em { display: block; }
.hero-text { margin-top: 24px; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem); color: var(--text-2); max-width: 520px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--text-2); font-size: 13.5px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--accent); }
.js .hero .reveal { transition-delay: calc(var(--d, 0) * 1ms); }
.hero .reveal:nth-child(1) { --d: 100; } .hero .reveal:nth-child(2) { --d: 220; } .hero .reveal:nth-child(3) { --d: 340; } .hero .reveal:nth-child(4) { --d: 460; } .hero .reveal:nth-child(5) { --d: 580; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 3rem + 5vw, 128px); position: relative; }
.section-tight { padding-block: clamp(40px, 2rem + 3vw, 72px); }
.section:not(.section-paper):not(.newsletter) + .section:not(.section-paper):not(.newsletter) { padding-top: 0; }
.section-paper {
  background: var(--paper); color: var(--ink);
  --text: var(--ink); --text-2: var(--ink-2); --text-3: var(--ink-3);
  --line: rgba(27, 25, 32, 0.1); --line-2: rgba(27, 25, 32, 0.2);
  --accent: #5b4a8e; --accent-soft: rgba(91, 74, 142, 0.1); --bg: var(--paper); --bg-2: var(--paper-2); --bg-3: #ddd6cc;
  --offer: #9b5c22;
}
.section-paper .badge-offer { background: #9b5c22; color: #fff8ef; }
.section-paper .btn-primary { background: var(--ink); color: var(--paper); }
.section-paper .btn-primary:hover { background: #000; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); }
.section-head.is-center { justify-content: center; text-align: center; }
.section-head.is-center .section-intro { margin-inline: auto; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(330px, 1fr)); gap: 16px; }
.cat-grid-4 { grid-template-rows: none; }
.cat-grid-4 .cat-card { aspect-ratio: 3 / 4; min-height: 0; }
.cat-card { position: relative; display: flex; align-items: flex-end; min-height: 280px; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.cat-card.is-large { grid-column: span 2; grid-row: span 2; }
.cat-card-img, .cat-card .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 11, 14, 0.9) 0%, rgba(12, 11, 14, 0.35) 42%, rgba(12, 11, 14, 0) 70%); }
.cat-card:hover .cat-card-img { transform: scale(1.045); }
.cat-card-body { display: grid; gap: 6px; padding: clamp(18px, 1rem + 1vw, 30px); color: #f2ede6; width: 100%; }
.cat-card-body .eyebrow { margin: 0; color: #c9bdf0; }
.cat-card-title { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.1; }
.cat-card.is-large .cat-card-title { font-size: clamp(1.9rem, 1.2rem + 2vw, 3rem); }
.cat-card-text { color: rgba(242, 237, 230, 0.78); font-size: 14.5px; }
.cat-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 500; }
.cat-card-cta .icon { transition: transform 0.35s var(--ease-out); }
.cat-card:hover .cat-card-cta .icon { transform: translateX(4px); }

/* Smaller tiles: text at the top, image in the lower part fading in, so text never sits on the objects */
.cat-card:not(.is-large), .collection-tile:not(.is-wide) { align-items: flex-start; background: #131116; }
.cat-card:not(.is-large)::after, .collection-tile:not(.is-wide)::after { background: linear-gradient(to top, rgba(12, 11, 14, 0.3), transparent 25%); }
.cat-card:not(.is-large) .cat-card-img, .collection-tile:not(.is-wide) .collection-img {
  top: 36%; height: 64%; object-position: 50% 82%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%); mask-image: linear-gradient(to bottom, transparent 0, #000 34%);
}
.collection-tile:not(.is-wide) .collection-img { top: 40%; height: 60%; object-position: 60% 70%; }
.cat-card:not(.is-large) .cat-card-text { display: none; }

@media (min-width: 761px) {
  .collection-tile.is-wide[href*="dragons-hoard"] .collection-img {
    left: 24%; width: 76%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%); mask-image: linear-gradient(to right, transparent 0, #000 22%);
  }
  .collection-tile.is-wide[href*="dragons-hoard"] { background: #131116; }
}

/* ---------- Product cards ---------- */
.product-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.pc-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--photo-bg); isolation: isolate; }
.pc-image-link { position: absolute; inset: 0; display: block; }
.pc-img, .pc-media .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-out), opacity 0.6s var(--ease); }
.pc-img-alt { opacity: 0; }
@media (hover: hover) {
  .product-card:hover .pc-img:not(.pc-img-alt) { transform: scale(1.04); }
  .product-card:hover .pc-img-alt { opacity: 1; transform: scale(1.02); }
}
.pc-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.wish-btn {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(250, 247, 243, 0.86); color: #1b1920; backdrop-filter: blur(6px); transition: transform 0.25s var(--ease-out), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.wish-btn .icon { width: 19px; height: 19px; }
.wish-btn:hover { transform: scale(1.08); background: #fff; }
.wish-btn[aria-pressed="true"] { color: #6c55b0; }
[aria-pressed="true"] > .icon path { fill: currentColor; }
.wish-btn.pop { animation: pop 0.45s var(--ease-out); }
@keyframes pop { 40% { transform: scale(1.22); } }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 16px 2px 0; }
.pc-meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-title { margin-top: 7px; font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: 1.25; letter-spacing: -0.005em; }
.pc-title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.pc-title a:hover { background-size: 100% 1px; }
.pc-desc { margin-top: 7px; color: var(--text-2); font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pc-cta {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 500; white-space: nowrap; transition: all 0.25s var(--ease);
}
.pc-cta:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.product-card.is-large .pc-title { font-size: 22px; }

.price { font-size: 15.5px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; white-space: nowrap; }
.price-now.is-offer { color: var(--offer); }
.price-was { margin-left: 4px; color: var(--text-3); font-weight: 400; font-size: 0.88em; }
.price-na { font-weight: 500; font-size: 13.5px; color: var(--text-2); }
.price-lg { font-size: 26px; font-weight: 500; }
.price-sm { font-size: 14px; }

/* Grids */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 44px 22px; }
.product-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.listing-main .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cell, .product-grid > li { min-width: 0; }
.grid-cell.is-entering { animation: cell-in 0.5s var(--ease-out) both; }
@keyframes cell-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Rail */
.container-rail { max-width: none; padding-inline: 0; }
.rail { position: relative; }
.section-head-actions { display: flex; align-items: center; gap: 18px; }
.rail-buttons { display: flex; gap: 8px; }
.rail-btn { border: 1px solid var(--line-2); width: 44px; height: 44px; }
.rail-btn:disabled { opacity: 0.35; cursor: default; }
.rail-track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(250px, 22vw, 310px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-bottom: 8px; scrollbar-width: none;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; }

/* ---------- Collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.collection-grid-3 .collection-tile { grid-column: auto; }
.collection-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.collection-tile { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 30vw, 460px); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); isolation: isolate; }
.collection-tile.is-wide { grid-column: span 2; }
.collection-img, .collection-tile .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.collection-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 11, 14, 0.92) 0%, rgba(12, 11, 14, 0.4) 45%, rgba(12, 11, 14, 0.05) 75%); }
.collection-tile:hover .collection-img { transform: scale(1.04); }
.collection-body { display: grid; gap: 8px; padding: clamp(22px, 1rem + 1.4vw, 36px); max-width: 520px; color: #f2ede6; }
.collection-body .eyebrow { margin: 0; color: #c9bdf0; }
.collection-title { font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.05; }
.collection-text { color: rgba(242, 237, 230, 0.8); }
.collection-body .link-arrow { margin-top: 8px; color: #f2ede6; }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.benefit { padding: 28px 24px 30px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.5); border: 1px solid var(--line); }
.benefit-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--accent); margin-bottom: 20px; }
.benefit-title { font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: 1.2; margin-bottom: 10px; }
.benefit p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ---------- Newsletter ---------- */
.newsletter { background: radial-gradient(60% 120% at 85% 50%, rgba(139, 123, 184, 0.16), transparent 70%), var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.newsletter-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form input { height: 54px; padding: 0 22px; border-radius: var(--pill); border: 1px solid var(--line-2); background: rgba(240, 234, 226, 0.04); color: var(--text); outline: none; min-width: 0; }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form .btn { height: 54px; }
.newsletter-form.is-disabled input { opacity: 0.6; }
.newsletter-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--text-3); font-size: 13px; margin-top: 4px; }
.newsletter-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; min-height: clamp(380px, 34vw, 520px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; background: var(--bg-1); }
.page-banner-media { position: absolute; inset: 0; z-index: -2; }
.page-banner-img, .page-banner-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.page-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 14, 17, 0.95) 0%, rgba(15, 14, 17, 0.75) 35%, rgba(15, 14, 17, 0.1) 70%), linear-gradient(to top, var(--bg) 0%, transparent 35%); }
.page-banner-inner { padding-block: 40px clamp(40px, 2rem + 2vw, 64px); }
.page-banner-inner > :not(.breadcrumbs) { max-width: 640px; }
.page-banner .breadcrumbs { margin-bottom: clamp(48px, 6vw, 96px); }
.page-banner.is-compact { min-height: 0; border-bottom: 1px solid var(--line); background: radial-gradient(70% 140% at 90% 0%, rgba(139, 123, 184, 0.12), transparent 70%), var(--bg-1); }
.page-banner.is-compact::after { display: none; }
.page-banner.is-compact .breadcrumbs { margin-bottom: 40px; }
.page-banner.is-compact .page-title { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs a { color: var(--text-2); }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs [aria-current] { color: var(--text-3); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding-block: 28px 4px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 14px; white-space: nowrap; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.cat-pill:hover { border-color: var(--text-3); background: rgba(240, 234, 226, 0.04); }
.cat-pill-img, .cat-pill .img-placeholder { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }

/* ---------- Listing ---------- */
.listing { padding-block: 32px clamp(72px, 4rem + 4vw, 128px); }
.listing-heading { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); padding-top: 8px; }
.type-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 24px; scrollbar-width: none; }
.type-chips::-webkit-scrollbar { display: none; }
.sample-notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin-bottom: 24px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid rgba(172, 155, 217, 0.22); font-size: 14px; color: var(--text-2); }
.sample-notice .icon { color: var(--accent); margin-top: 1px; }
.sample-notice strong { color: var(--text); font-weight: 600; }
.listing-toolbar { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.listing-count { color: var(--text-3); font-size: 14px; }
.filter-toggle { display: none; }
.filter-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--pill); background: var(--accent); color: #140f1f; font-size: 11px; font-weight: 600; display: inline-grid; place-items: center; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 40px 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--bg-1); color: var(--text); font-size: 14px; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-3); }
.listing-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters-head { display: none; }
.filters-backdrop { display: none; }
.filter-group { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.filter-legend { padding: 0; margin-bottom: 12px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }
.filter-options { display: grid; gap: 2px; }
.check { display: flex; align-items: center; gap: 11px; padding: 6px 0; cursor: pointer; font-size: 14.5px; color: var(--text-2); position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { width: 19px; height: 19px; border-radius: 6px; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: all 0.2s var(--ease); }
.check-box .icon { width: 13px; height: 13px; stroke-width: 2.4; opacity: 0; transform: scale(0.6); transition: all 0.2s var(--ease-out); color: #140f1f; }
.check input:checked + .check-box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check-box .icon { opacity: 1; transform: none; }
.check input:focus-visible + .check-box { outline: 2px solid var(--accent); outline-offset: 2px; }
.check:hover { color: var(--text); }
.check-label { flex: 1; }
.check-count { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.price-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.price-inputs { display: flex; align-items: flex-end; gap: 8px; }
.price-inputs label { flex: 1; display: grid; gap: 6px; font-size: 12px; color: var(--text-3); }
.input-affix { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--bg-1); color: var(--text-3); }
.input-affix:focus-within { border-color: var(--accent); }
.input-affix input { width: 100%; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font-size: 14px; -moz-appearance: textfield; }
.input-affix input::-webkit-outer-spin-button, .input-affix input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-dash { padding-bottom: 11px; color: var(--text-3); }
.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.filters-apply { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.active-filter { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 14px; border-radius: var(--pill); background: var(--accent-soft); color: var(--text); font-size: 13px; }
.active-filter .icon { width: 14px; height: 14px; color: var(--text-3); }
.active-filter:hover .icon { color: var(--text); }
.empty-state { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--radius-lg); color: var(--text-2); }
.empty-state > .icon { width: 30px; height: 30px; color: var(--accent); margin-bottom: 6px; }
.empty-title { font-size: 1.6rem; color: var(--text); }
.empty-state .btn, .empty-state .chip-row { margin-top: 10px; justify-content: center; }
.spotlight .product-card .pc-media { aspect-ratio: 4 / 5; }

/* ---------- Product page ---------- */
.product-crumbs { padding-block: 22px 0; }
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 88px); padding-block: 24px clamp(56px, 6vw, 96px); align-items: start; }
.product-gallery { display: grid; gap: 14px; min-width: 0; }
.gallery-main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--photo-bg); touch-action: pan-y; }
.gallery-slides { position: absolute; inset: 0; }
.gallery-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s var(--ease); }
.gallery-slide.is-active { opacity: 1; }
.gallery-img, .gallery-slide .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(250, 247, 243, 0.85); color: #1b1920; opacity: 0; transition: opacity 0.25s var(--ease), background-color 0.2s; z-index: 2; }
.gallery-nav:hover { background: #fff; }
.gallery-main:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
.gallery-prev { left: 14px; } .gallery-next { right: 14px; }
.gallery-count { position: absolute; right: 16px; bottom: 16px; padding: 4px 10px; border-radius: var(--pill); background: rgba(15, 14, 17, 0.6); color: #f2ede6; font-size: 12px; font-variant-numeric: tabular-nums; z-index: 2; }
.gallery-main .pc-badges { top: 16px; left: 16px; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb { width: 86px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--photo-bg); opacity: 0.72; outline: 1px solid transparent; outline-offset: 2px; transition: opacity 0.25s var(--ease), outline-color 0.25s var(--ease); }
.gallery-thumb:hover { opacity: 0.85; }
.gallery-thumb.is-active { opacity: 1; outline-color: var(--text-3); }
.thumb-img { width: 100%; height: 100%; object-fit: cover; }
.product-info { position: sticky; top: calc(var(--header-h) + 24px); }
.product-cat { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.product-cat a:hover { color: var(--text); }
.product-title { margin-top: 14px; font-size: clamp(2.1rem, 1.4rem + 2vw, 3.1rem); line-height: 1.04; }
.product-merchant { margin-top: 14px; color: var(--text-2); font-size: 14.5px; }
.product-merchant strong { color: var(--text); font-weight: 500; }
.product-price-row { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.product-avail { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 13.5px; color: var(--text-2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); }
.dot-in_stock { background: var(--ok); box-shadow: 0 0 0 4px rgba(148, 201, 167, 0.15); }
.dot-made_to_order, .dot-preorder { background: var(--warn); box-shadow: 0 0 0 4px rgba(230, 194, 122, 0.15); }
.dot-out_of_stock { background: #d98b8b; }
.product-short { margin-top: 22px; font-size: 1.06rem; color: var(--text-2); }
.variations { margin-top: 26px; display: grid; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.variation-label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 9px; }
.variation-options { display: flex; flex-wrap: wrap; gap: 6px; }
.variation-options li { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: var(--pill); font-size: 13.5px; color: var(--text-2); }
.variation-note { font-size: 12.5px; color: var(--text-3); }
.product-actions { margin-top: 28px; display: grid; gap: 10px; }
.wish-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.affiliate-note { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.55; color: var(--text-3); }
.affiliate-note .icon { margin-top: 2px; color: var(--accent); }
.affiliate-note strong { color: var(--text-2); font-weight: 600; }
.affiliate-note a, .merchant-box a, .care-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.merchant-box { margin-top: 24px; display: grid; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); font-size: 13.5px; color: var(--text-2); }
.merchant-box li { display: flex; gap: 11px; }
.merchant-box .icon { color: var(--text-3); margin-top: 2px; }
.merchant-box strong { color: var(--text); font-weight: 500; }

.product-details { border-top: 1px solid var(--line); }
.detail-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 88px); }
.detail-title { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 20px; }
.detail-subtitle { font: 600 12px/1.4 var(--font-ui); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin: 32px 0 14px; }
.feature-list { display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 12px; color: var(--text-2); }
.feature-list .icon { color: var(--accent); margin-top: 4px; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table th { width: 42%; color: var(--text-3); font-weight: 400; padding-right: 16px; }
.spec-table td a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.care-note { display: flex; gap: 12px; margin-top: 26px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-1); border: 1px solid var(--line); color: var(--text-3); font-size: 13px; line-height: 1.55; }
.care-note .icon { color: var(--text-2); margin-top: 1px; }

.mobile-cta { display: none; }

/* ---------- Prose / content pages ---------- */
.prose { max-width: 72ch; color: var(--text-2); font-size: 16.5px; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-family: var(--font-display); font-weight: 400; color: var(--text); font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.9rem); line-height: 1.2; margin-top: 2.2em; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--text); font-size: 1.05rem; font-weight: 600; margin-top: 1.8em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--accent); }
.prose .lead { font-size: 1.15rem; color: var(--text); line-height: 1.65; }
.prose .lead + ul { padding: 20px 24px 20px 42px; border-radius: var(--radius); background: var(--bg-1); border: 1px solid var(--line); }
.prose table { font-size: 14.5px; line-height: 1.5; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; }
.prose td code, .prose code { font-size: 0.9em; background: var(--bg-2); padding: 2px 6px; border-radius: 5px; color: var(--text); }
.prose-product { font-size: 16.5px; }
.content-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.content-layout.is-about, .content-layout:not(:has(.toc)) { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); font-size: 14px; }
.toc ol { display: grid; gap: 4px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--text-3); transition: color 0.2s, border-color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--text); border-left-color: var(--accent); }

/* ---------- Home: "choose your world" ---------- */
.worlds { position: relative; isolation: isolate; background: radial-gradient(55% 45% at 18% 0%, rgba(139, 123, 184, 0.16), transparent 70%), radial-gradient(45% 40% at 88% 4%, rgba(110, 150, 120, 0.09), transparent 70%), #121015; }
.worlds-inner { padding-block: calc(var(--header-h) + clamp(28px, 3.5vw, 52px)) clamp(44px, 5vw, 76px); }
.worlds-head { max-width: 1120px; margin: 0 auto clamp(26px, 3vw, 42px); text-align: center; }
.worlds-head .eyebrow { margin-bottom: 12px; }
.worlds-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 1.2rem + 2.6vw, 3.6rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.worlds-title em { font-style: italic; color: var(--accent); }
.worlds-sub { margin-top: 14px; color: var(--text-2); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); }
.worlds-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.world { position: relative; display: flex; align-items: flex-end; min-width: 0; aspect-ratio: 7 / 5.6; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: #131116; color: #f2ede6; }
.world-img, .world .img-placeholder { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform 1.2s var(--ease-out); }
.world::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 11, 14, 0.94) 0%, rgba(12, 11, 14, 0.6) 30%, rgba(12, 11, 14, 0) 58%); }
.world:hover .world-img { transform: scale(1.04); }
.world:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.world-body { display: grid; gap: 8px; width: 100%; padding: clamp(22px, 2.4vw, 40px); }
.world-eyebrow { margin: 0; }
.world-fantasy-dragons .world-eyebrow { color: #b7d6b0; }
.world-abdl .world-eyebrow { color: #d6c9f4; }
.world-title { font: 400 clamp(1.9rem, 1.1rem + 2.1vw, 3.1rem)/1.04 var(--font-display); letter-spacing: -0.02em; }
.world-text { max-width: 44ch; color: rgba(242, 237, 230, 0.8); font-size: clamp(14.5px, 0.85rem + 0.2vw, 16px); line-height: 1.55; }
.world-cta { justify-self: start; margin-top: 12px; }
.world-cta .icon { transition: transform 0.35s var(--ease-out); }
.world:hover .world-cta .icon { transform: translateX(4px); }
.worlds-more { margin-top: clamp(20px, 2.4vw, 30px); text-align: center; color: var(--text-3); font-size: 14px; line-height: 1.9; }
.worlds-more a { color: var(--text-2); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color 0.2s, text-decoration-color 0.2s; }
.worlds-more a:hover { color: var(--text); text-decoration-color: var(--accent); }
.js .worlds .reveal:nth-child(2) { transition-delay: 140ms; }
@media (min-width: 1001px) and (max-height: 820px) {
  .worlds-inner { padding-top: calc(var(--header-h) + 20px); }
  .worlds-head { margin-bottom: 22px; }
  .world { aspect-ratio: 7 / 4.8; }
  .world-img { object-position: 50% 75%; }
}
/* Tablets and phones: picture on top, text underneath (no text over the picture). */
@media (max-width: 1000px) {
  .world { display: flex; flex-direction: column; align-items: stretch; aspect-ratio: auto; }
  .world-img, .world .img-placeholder { position: relative; inset: auto; z-index: 0; display: block; height: auto; aspect-ratio: 7 / 4.6; object-position: 50% 22%; }
  .world::after { display: none; }
  .world-body { flex: 1; align-content: start; padding: 6px clamp(18px, 3vw, 28px) clamp(20px, 3vw, 28px); }
  .world-cta { margin-top: 10px; }
}
@media (max-width: 600px) {
  .worlds-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Category explainer ("What is ABDL?") ---------- */
.cat-about-box { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 72px); padding: clamp(26px, 3vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: radial-gradient(80% 120% at 0% 0%, rgba(172, 155, 217, 0.1), transparent 60%), var(--bg-1); }
.cat-about-title { font: 400 clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem)/1.12 var(--font-display); letter-spacing: -0.015em; color: var(--text); }
.cat-about-points { display: grid; gap: 10px; margin-top: 22px; }
.cat-about-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14.5px; line-height: 1.5; }
.cat-about-points .icon { flex: none; margin-top: 3px; color: var(--accent); }
.cat-about-body { display: grid; gap: 14px; align-content: start; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.cat-about-body .link-arrow { margin-top: 6px; white-space: normal; }
.cat-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }
.cat-note { margin-top: 26px; }

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 40px); }
.guide-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.guide-card-media { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: #131116; isolation: isolate; }
.guide-card-img, .guide-card-media .img-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.guide-card:hover .guide-card-img { transform: scale(1.04); }
.guide-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 2px 0; }
.guide-card-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.guide-card-title { margin-top: 10px; font: 400 clamp(1.3rem, 1.1rem + 0.45vw, 1.55rem)/1.22 var(--font-display); letter-spacing: -0.01em; text-wrap: balance; color: var(--text); }
.guide-card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.guide-card-title a:focus-visible { outline: none; }
.guide-card-title a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 4px; }
.guide-card-text { margin-top: 10px; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.guide-card-link { margin-top: auto; padding-top: 18px; }
.guide-card:hover .guide-card-link .icon { transform: translateX(4px); }
.guide-policy { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin-top: clamp(48px, 5vw, 72px); padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.guide-policy .icon { flex: none; margin-top: 2px; color: var(--accent); }
.guide-policy strong { color: var(--text); font-weight: 600; }
.guide-policy a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.guide-cover { margin: 0 0 2.4em; aspect-ratio: 2 / 1; border-radius: var(--radius-lg); overflow: hidden; background: #131116; }
.guide-cover-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.prose .callout { padding: 18px 22px; border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--accent-soft); color: var(--text); }
.prose .callout p + p { margin-top: 0.6em; }
.prose h3 + p { margin-top: 0.5em; }
.guide-explore { margin-top: 3.2em !important; padding: 22px 24px 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); }
.guide-explore .eyebrow { margin-bottom: 4px; }
.prose .guide-explore-list { list-style: none; padding: 0; margin: 0; }
.prose .guide-explore-list li + li { margin-top: 0; border-top: 1px solid var(--line); }
.prose .guide-explore-list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; text-decoration: none; }
.guide-explore-name { display: block; font: 400 1.2rem/1.3 var(--font-display); color: var(--text); }
.guide-explore-text { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--text-3); }
.guide-explore-list .icon { flex: none; color: var(--accent); transition: transform 0.35s var(--ease-out); }
.guide-explore-list a:hover .icon { transform: translateX(4px); }
.prose .guide-disclosure { display: flex; gap: 10px; margin-top: 2em; font-size: 13.5px; line-height: 1.6; color: var(--text-3); }
.guide-disclosure .icon { flex: none; margin-top: 3px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.contact-email { display: block; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); line-height: 1.15; word-break: break-word; margin-bottom: 18px; color: var(--text); }
.contact-email:hover { color: var(--accent); }
.contact-text { color: var(--text-2); margin-bottom: 28px; max-width: 46ch; }
.contact-text a { text-decoration: underline; text-underline-offset: 3px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); }
.contact-card .benefit-icon { margin: 0; flex: none; }
.contact-card-title { font: 400 1.25rem/1.25 var(--font-display); margin-bottom: 6px; color: var(--text); }
.contact-card p { color: var(--text-2); font-size: 14.5px; }
.contact-card a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

/* Search & wishlist pages */
.search-page-form { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border: 1px solid var(--line-2); border-radius: var(--pill); background: var(--bg-1); max-width: 720px; margin-bottom: 28px; }
.search-page-form:focus-within { border-color: var(--accent); }
.search-page-form > .icon { color: var(--text-3); }
.search-page-form input { flex: 1; min-width: 0; height: 44px; background: none; border: 0; outline: none; color: var(--text); font-size: 16px; }
.search-summary { margin-bottom: 24px; }
.wishlist-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.noscript-inline { color: var(--text-2); margin-top: 16px; }

/* 404 */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found-inner { display: grid; justify-items: center; gap: 4px; }
.not-found-mark .logo-mark { width: 55px; height: 64px; margin-bottom: 18px; }
.not-found .page-intro { margin-inline: auto; margin-bottom: 28px; }
.not-found .search-page-form { width: 100%; }
.not-found .chip-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #0b0a0d; padding-block: clamp(56px, 6vw, 96px) 32px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); gap: clamp(40px, 6vw, 96px); padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-tagline { margin-top: 18px; font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: var(--text); }
.footer-disclosure { margin-top: 16px; font-size: 13.5px; color: var(--text-3); max-width: 46ch; line-height: 1.65; }
.footer-disclosure a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-title { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); font-weight: 600; margin-bottom: 16px; }
.footer-cols li + li { margin-top: 9px; }
.footer-cols a { font-size: 14px; color: var(--text-3); transition: color 0.2s; }
.footer-cols a:hover { color: var(--text); }
.social { display: flex; gap: 6px; margin-top: 22px; }
.social .icon-btn { border: 1px solid var(--line-2); width: 40px; height: 40px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 26px; font-size: 12.5px; color: var(--text-3); }
.footer-badges { display: inline-flex; align-items: center; gap: 10px; }
.age-badge { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 11px; font-weight: 600; color: var(--text-2); }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; background: rgba(10, 9, 12, 0.7); backdrop-filter: blur(26px) saturate(120%); -webkit-backdrop-filter: blur(26px) saturate(120%); }
.age-locked .age-gate { display: grid; }
.age-locked body { overflow: hidden; }
.age-gate.is-leaving { animation: fade-out 0.45s var(--ease) forwards; }
@keyframes fade-out { to { opacity: 0; visibility: hidden; } }
.age-gate-panel { width: min(100%, 500px); padding: clamp(28px, 5vw, 48px); text-align: center; border-radius: var(--radius-lg); background: rgba(20, 18, 23, 0.92); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); animation: rise 0.6s var(--ease-out) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.age-gate-mark .logo-mark { width: 48px; height: 56px; margin: 0 auto 18px; }
.age-gate-title { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.5rem); line-height: 1.1; }
.age-gate-text { margin-top: 14px; color: var(--text-2); }
.age-gate-actions { display: grid; gap: 10px; margin-top: 28px; }
.age-gate-note { margin-top: 20px; font-size: 12.5px; color: var(--text-3); }
.age-gate-note a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Consent ---------- */
.consent { position: fixed; z-index: 150; left: 20px; bottom: 20px; width: min(calc(100% - 40px), 440px); padding: 22px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); animation: rise 0.5s var(--ease-out) both; }
.consent-title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.2rem; }
.consent-title .icon { color: var(--accent); }
.consent-text { margin-top: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.consent-text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; }
.modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 7, 10, 0.7); backdrop-filter: blur(6px); }
.modal-panel { position: relative; width: min(100%, 560px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-1); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); animation: rise 0.45s var(--ease-out) both; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.modal-title { font-size: 1.6rem; line-height: 1.2; }
.consent-options { display: grid; }
.consent-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.consent-option-title { font-weight: 600; font-size: 15px; }
.consent-option-text { font-size: 13.5px; color: var(--text-2); margin-top: 4px; }
.consent-option.is-muted { opacity: 0.6; }
.modal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.switch { position: relative; flex: none; width: 46px; height: 28px; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: inherit; }
.switch-ui { position: absolute; inset: 0; border-radius: var(--pill); background: var(--bg-3); border: 1px solid var(--line-2); transition: background-color 0.25s var(--ease); pointer-events: none; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-2); transition: transform 0.3s var(--ease-out), background-color 0.25s; }
.switch input:checked + .switch-ui { background: var(--accent-2); border-color: var(--accent-2); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); background: #fff; }
.switch input:focus-visible + .switch-ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch.is-locked { cursor: not-allowed; }

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 220; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: var(--pill); background: var(--text); color: var(--bg); font-size: 14px; font-weight: 500; box-shadow: var(--shadow-2); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out); white-space: nowrap; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { text-decoration: underline; text-underline-offset: 3px; pointer-events: auto; margin-left: 6px; }

.noscript-note { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 12px; text-align: center; background: var(--bg-3); color: var(--text); font-size: 14px; }
.img-placeholder { display: block; width: 100%; height: 100%; background: radial-gradient(60% 60% at 60% 40%, rgba(172, 155, 217, 0.22), transparent 70%), linear-gradient(135deg, #2a2630, #1b1920); }
.pc-media .img-placeholder, .gallery-main .img-placeholder, .gallery-thumb .img-placeholder, .search-hit .img-placeholder { background: radial-gradient(50% 50% at 50% 45%, #f0ebe4, #d9d3cb); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.32s; animation-timing-function: var(--ease); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .mega-cols { grid-template-columns: repeat(3, 1fr); }
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-link { padding: 0 10px; }
}
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; margin-left: -10px; }
  .header-inner { grid-template-columns: 1fr auto 1fr; }
  .logo { justify-self: center; }
  .mega { display: none !important; }
  .listing-main .product-grid, .product-grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  .listing-layout { grid-template-columns: minmax(0, 1fr); }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: 0 auto 0 0; top: 0; z-index: 140; width: min(88vw, 380px); max-height: none; padding: 0;
    background: var(--bg-1); border-right: 1px solid var(--line); display: flex; flex-direction: column;
    transform: translateX(-102%); transition: transform 0.4s var(--ease-out); visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 14px 22px; border-bottom: 1px solid var(--line); }
  .filters-title { font-family: var(--font-display); font-size: 1.4rem; }
  .filters-body { flex: 1; overflow-y: auto; padding: 22px; }
  .filters-foot { padding: 14px 22px; border-top: 1px solid var(--line); }
  .filters-apply { display: inline-flex; }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 139; background: rgba(8, 7, 10, 0.6); opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease); }
  .filters.is-open + .filters-backdrop { opacity: 1; pointer-events: auto; }
  .rail-buttons { display: none; }
  .product, .detail-grid, .contact-layout, .newsletter-inner, .content-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .product-info { position: static; }
  .mobile-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(20, 18, 23, 0.94); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2);
    transform: translateY(110%); transition: transform 0.4s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta-info { min-width: 0; display: grid; }
  .mobile-cta-name { font-size: 13.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection-tile.is-wide { grid-column: span 2; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .cat-card:not(.is-large) .cat-card-img { top: 42%; height: 58%; }
  .cat-grid .cat-card { aspect-ratio: 4 / 5; min-height: 0; }
  .cat-grid .cat-card.is-large { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 11; }
  .cat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-nav { opacity: 1; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  .logo-word { font-size: 14px; letter-spacing: 0.18em; }
  .logo-mark { width: 22px; height: 26px; }
  .hero { min-height: 0; align-items: flex-start; }
  .hero-media img { object-position: 50% 100%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(15, 14, 17, 0.95) 0%, rgba(15, 14, 17, 0.88) 48%, rgba(15, 14, 17, 0.35) 68%, rgba(15, 14, 17, 0) 82%), linear-gradient(to top, var(--bg) 0%, rgba(15, 14, 17, 0) 10%); }
  .hero-inner { padding-block: calc(var(--header-h) + 40px) min(64vw, 300px); }
  .hero .btn-ghost { background: rgba(15, 14, 17, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .hero-title em { display: inline; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 18px; font-size: 12.5px; margin-top: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .listing-main .product-grid, .product-grid, .product-grid-4, .product-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
  .spotlight { grid-template-columns: minmax(0, 1fr) !important; }
  .pc-title { font-size: 16.5px; }
  .product-card.is-large .pc-title { font-size: 20px; }
  .pc-desc { font-size: 13px; }
  .pc-foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .pc-cta { justify-content: center; height: 34px; }
  .wish-btn { width: 36px; height: 36px; top: 8px; right: 8px; }
  .pc-badges { top: 9px; left: 9px; }
  .badge { height: 21px; padding: 0 7px; font-size: 9.5px; }
  .listing-toolbar { flex-wrap: wrap; gap: 12px; }
  .listing-count { order: 3; width: 100%; }
  .sort label { display: none; }
  .collection-grid, .collection-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .collection-tile.is-wide { grid-column: auto; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefit { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 22px; }
  .benefit-icon { grid-row: span 2; margin: 0; }
  .newsletter-form { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .page-banner { min-height: 440px; }
  .page-banner::after { background: linear-gradient(to top, var(--bg) 0%, rgba(15, 14, 17, 0.88) 40%, rgba(15, 14, 17, 0.35) 75%, rgba(15, 14, 17, 0.2) 100%); }
  .page-banner .breadcrumbs { margin-bottom: 120px; }
  .page-banner.is-compact .breadcrumbs { margin-bottom: 28px; }
  .product-title { font-size: 2rem; }
  .gallery-thumb { width: 64px; }
  .consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; }
  .page-product .consent { bottom: 84px; }
  .contact-card { flex-direction: column; gap: 14px; }
  .search-hit { grid-template-columns: 52px 1fr; }
  .search-hit img, .search-hit .img-placeholder { width: 52px; height: 65px; }
  .search-hit-price { grid-column: 2; }
}
@media (max-width: 420px) {
  .announce { font-size: 11.5px; }
  .cat-grid { gap: 10px; }
  .cat-card-text { display: none; }
  .cat-grid .cat-card:not(.is-large) .cat-card-title { font-size: 1.15rem; }
  .cat-grid .cat-card:not(.is-large) .cat-card-body { padding: 14px; }
}
@media (hover: none) {
  .pc-img-alt { display: none; }
}
/* Guide cards: side by side on wide screens, image-left rows on tablets, stacked on phones. */
@media (max-width: 760px) {
  .cat-about-box { grid-template-columns: minmax(0, 1fr); }
  .worlds-inner { padding-top: calc(var(--header-h) + 22px); }
  .worlds-head { text-align: left; }
  .worlds-more { text-align: left; }
}
@media (max-width: 1000px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: center; }
  .guide-card-body { padding: 0; }
}
@media (max-width: 560px) {
  .guide-card { display: flex; }
  .guide-card-body { padding: 18px 2px 0; }
  .guide-policy { padding: 18px; }
  .guide-explore { padding: 18px 18px 6px; }
}
@media print {
  .announce, .site-header, .site-footer, .age-gate, .consent, .mobile-cta, .toast, .filters, .listing-toolbar { display: none !important; }
  body { background: #fff; color: #000; }
}
