/* =====================================================================
   Sinanraei design system
   Tokens → base → layout → components → pages → utilities
   Editorial shopping publication: warm paper, ink text, terracotta accent.
   ===================================================================== */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-normal.eb2486760f75.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces Variable";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-wght-italic.701ae03b5183.woff2") format("woff2-variations");
}

:root {
  --font-sans: "Inter Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Fraunces Variable", Georgia, "Times New Roman", serif;

  --ink: #151a2d;
  --ink-2: #3a4156;
  --muted: #6b7183;
  --faint: #9aa0b0;
  --paper: #faf8f4;
  --surface: #ffffff;
  --surface-2: #f3f0e9;
  --line: #e7e2d8;
  --line-2: #d8d2c5;

  --accent: #c2501d;
  --accent-ink: #9a3d13;
  --accent-soft: #fbe9df;
  --sea: #0f6b5c;
  --sea-soft: #e1f2ec;
  --gold: #d2a240;
  --gold-soft: #fbf1d9;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --info-soft: #e8eefb;
  --info: #2f4fb8;

  --radius-s: 6px;
  --radius: 12px;
  --radius-l: 20px;
  --shadow-s: 0 1px 2px rgba(21, 26, 45, 0.06), 0 1px 1px rgba(21, 26, 45, 0.04);
  --shadow: 0 4px 16px rgba(21, 26, 45, 0.08), 0 1px 3px rgba(21, 26, 45, 0.06);
  --shadow-l: 0 16px 40px rgba(21, 26, 45, 0.14);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --measure: 68ch;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);

  --text-xs: 0.75rem;
  --text-s: 0.875rem;
  --text-m: 1rem;
  --text-l: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  --text-3xl: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
  --text-4xl: clamp(2.4rem, 1.6rem + 3.4vw, 4rem);
}

/* ---------------------------------------------------------------- base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-m);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--accent);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: var(--text-3xl);
}
h2 {
  font-size: var(--text-2xl);
}
h3 {
  font-size: var(--text-xl);
}
h4 {
  font-size: var(--text-l);
  font-family: var(--font-sans);
  font-weight: 700;
}
p {
  margin: 0 0 var(--space-4);
}
small {
  font-size: var(--text-s);
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid rgba(194, 80, 29, 0.45);
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: var(--space-3);
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-s);
  z-index: 100;
}
.skip-link:focus {
  top: var(--space-3);
}

/* ---------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow {
  max-width: 820px;
}
.section {
  padding-block: var(--space-7);
}
.section--tight {
  padding-block: var(--space-5);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.section__head h2 {
  margin: 0;
}
.section__kicker {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-2);
}
.grid {
  display: grid;
  gap: var(--space-5);
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid--products {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.grid--articles {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (max-width: 900px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .grid--products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
}
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 960px) {
  .layout-sidebar {
    grid-template-columns: 1fr;
  }
}
.sticky {
  position: sticky;
  top: 88px;
}

/* ---------------------------------------------------------------- header */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand__logo {
  height: 36px;
  width: auto;
  display: block;
}
.brand--footer .brand__logo {
  height: 40px;
}
.nav {
  display: flex;
  gap: var(--space-1);
  margin-left: auto;
}
.nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: var(--text-s);
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 4px 4px 14px;
  min-width: 260px;
  flex: 0 1 360px;
}
.search-form input {
  border: 0;
  background: transparent;
  flex: 1;
  min-width: 0;
  padding: 8px 4px;
  outline: none;
}
.search-form button {
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.search-form button:hover {
  background: var(--accent);
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-s);
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  margin-left: auto;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: var(--space-3) 0 var(--space-4);
}
.mobile-nav a {
  display: block;
  padding: 12px var(--gutter);
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .search-form {
  margin: var(--space-3) var(--gutter) 0;
  min-width: 0;
}
.site-header.is-open .mobile-nav {
  display: block;
}
@media (max-width: 900px) {
  .nav,
  .site-header__bar .search-form {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
}
.notice-bar {
  background: var(--gold-soft);
  color: var(--ink);
  font-size: var(--text-s);
  text-align: center;
  padding: 8px var(--gutter);
  border-bottom: 1px solid var(--line);
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  margin-top: var(--space-9);
  background: var(--ink);
  color: #d7dae5;
  padding: var(--space-8) 0 var(--space-6);
}
.site-footer a {
  color: #fff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
}
@media (max-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 500px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}
.site-footer h4 {
  color: #fff;
  font-size: var(--text-s);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: var(--text-s);
}
.site-footer__disclosure {
  font-size: var(--text-s);
  color: #aeb3c4;
  max-width: 60ch;
}
.site-footer__bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: var(--text-xs);
  color: #aeb3c4;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
}
.brand--footer {
  color: #fff;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--text-s);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
  line-height: 1.2;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-s);
}
.btn--primary:hover {
  background: var(--accent-ink);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover {
  background: #000;
  color: #fff;
}
.btn--ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--surface-2);
  color: var(--ink);
}
.btn--small {
  padding: 8px 14px;
  font-size: var(--text-xs);
}
.btn--block {
  width: 100%;
}
.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------------------------------------------------------------- badges & chips */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--surface-2);
  color: var(--ink-2);
  line-height: 1.6;
}
.badge--accent {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.badge--sea {
  background: var(--sea-soft);
  color: var(--sea);
}
.badge--gold {
  background: var(--gold-soft);
  color: #8a5a0a;
}
.badge--danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.badge--outline {
  background: transparent;
  border: 1px solid var(--line-2);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  font-size: var(--text-s);
  font-weight: 500;
}
.chip:hover,
.chip[aria-current="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ---------------------------------------------------------------- cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.product-card__media {
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__placeholder {
  color: var(--faint);
  font-size: var(--text-xs);
  text-align: center;
}
.product-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card__brand {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
}
.product-card__title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--text-s);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__title a {
  color: inherit;
  text-decoration: none;
}
.product-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.product-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
}
.price {
  font-weight: 700;
  font-size: var(--text-l);
  color: var(--ink);
}
.price--muted {
  color: var(--muted);
  font-size: var(--text-s);
  font-weight: 500;
}
.price__was {
  color: var(--muted);
  text-decoration: line-through;
  font-size: var(--text-xs);
  font-weight: 500;
  margin-left: 6px;
}
.product-card__merchant {
  font-size: var(--text-xs);
  color: var(--muted);
}
.product-card__cta {
  position: relative;
  z-index: 1;
  margin-top: var(--space-2);
}
.product-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.article-card {
  display: flex;
  flex-direction: column;
}
.article-card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
}
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .article-card__media img {
  transform: scale(1.03);
}
.article-card__body {
  padding: var(--space-4) var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-card__title {
  font-size: var(--text-xl);
  margin: 0;
}
.article-card__title a {
  color: inherit;
  text-decoration: none;
}
.article-card__title a:hover {
  color: var(--accent-ink);
}
.article-card__dek {
  color: var(--ink-2);
  font-size: var(--text-s);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card--feature {
  grid-column: span 2;
}
.article-card--feature .article-card__title {
  font-size: var(--text-2xl);
}
@media (max-width: 700px) {
  .article-card--feature {
    grid-column: span 1;
  }
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: var(--text-xs);
  color: var(--muted);
  align-items: center;
}
.meta a {
  color: inherit;
}
.category-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.15s, transform 0.15s;
}
.category-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.category-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.category-card__count {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
  font-size: var(--text-xs);
}

/* ---------------------------------------------------------------- hero */
.hero {
  padding: var(--space-8) 0 var(--space-7);
  background: radial-gradient(1200px 500px at 10% -10%, #fff3ea 0%, transparent 60%), radial-gradient(900px 400px at 95% 10%, #e8f3ef 0%, transparent 55%);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}
.hero h1 {
  font-size: var(--text-4xl);
  font-weight: 500;
  margin-bottom: var(--space-4);
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero__lede {
  font-size: var(--text-l);
  color: var(--ink-2);
  max-width: 56ch;
}
.hero .search-form {
  max-width: 560px;
  flex: none;
  background: var(--surface);
  box-shadow: var(--shadow);
  margin-top: var(--space-4);
  padding: 6px 6px 6px 18px;
}
.hero .search-form input {
  padding: 12px 4px;
  font-size: var(--text-l);
}
.hero .search-form button {
  width: 48px;
  height: 48px;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-5);
  font-size: var(--text-s);
  color: var(--ink-2);
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__trust svg {
  color: var(--sea);
}
.hero__stack {
  position: relative;
  min-height: 300px;
}
.hero__stack .card {
  position: absolute;
  width: 62%;
  padding: var(--space-4);
}
.hero__stack .card:nth-child(1) {
  left: 0;
  top: 0;
  transform: rotate(-3deg);
}
.hero__stack .card:nth-child(2) {
  right: 0;
  top: 18%;
  transform: rotate(2deg);
  z-index: 2;
}
.hero__stack .card:nth-child(3) {
  left: 12%;
  bottom: 0;
  transform: rotate(-1deg);
}
.hero__stack .card h3 {
  font-size: var(--text-m);
  margin: 0 0 4px;
}
.hero__stack .card p {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted);
}
.hero__stack .badge {
  margin-bottom: 8px;
}

/* ---------------------------------------------------------------- breadcrumbs & page heads */
.breadcrumbs {
  font-size: var(--text-xs);
  color: var(--muted);
  margin: var(--space-4) 0 var(--space-3);
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--faint);
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--ink);
}
.page-head {
  padding: var(--space-5) 0 var(--space-5);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-6);
}
.page-head__lede {
  color: var(--ink-2);
  max-width: 64ch;
  font-size: var(--text-l);
  margin: 0;
}

/* ---------------------------------------------------------------- listing & filters */
.listing {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
@media (max-width: 900px) {
  .listing {
    grid-template-columns: 1fr;
  }
}
.filters {
  padding: var(--space-4);
}
.filters summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.filters__group {
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
}
.filters__group:first-of-type {
  border-top: 0;
}
.filters__group h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--text-s);
  padding: 4px 0;
}
.filters input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  background: var(--surface);
}
.filters__row {
  display: flex;
  gap: 8px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-s);
  color: var(--muted);
  flex-wrap: wrap;
}
.toolbar select {
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-s);
  background: var(--surface);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-2);
  text-decoration: none;
  color: var(--ink);
  font-size: var(--text-s);
  background: var(--surface);
}
.pagination [aria-current="page"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---------------------------------------------------------------- product detail */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: start;
}
@media (max-width: 800px) {
  .product-hero {
    grid-template-columns: 1fr;
  }
}
.product-hero__media {
  padding: var(--space-6);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: #fff;
}
.product-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-hero h1 {
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.buy-box {
  padding: var(--space-5);
  display: grid;
  gap: var(--space-3);
  background: var(--surface);
}
.buy-box__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.buy-box__price .price {
  font-size: var(--text-2xl);
}
.buy-box__note {
  font-size: var(--text-xs);
  color: var(--muted);
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-s);
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  width: 36%;
  color: var(--muted);
  font-weight: 600;
}
.disclosure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--ink-2);
}
.disclosure svg {
  flex-shrink: 0;
  color: var(--muted);
  margin-top: 2px;
}
.disclosure a {
  color: inherit;
}

/* ---------------------------------------------------------------- article */
.article-head {
  padding: var(--space-6) 0 var(--space-5);
  max-width: 820px;
}
.article-head h1 {
  font-size: var(--text-3xl);
  font-weight: 500;
}
.article-head__dek {
  font-size: var(--text-l);
  color: var(--ink-2);
  margin-bottom: var(--space-4);
}
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-s);
}
.byline__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.byline__name {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.byline__meta {
  color: var(--muted);
  font-size: var(--text-xs);
}
.article-figure {
  margin: 0 0 var(--space-6);
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-2);
}
.article-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-figure figcaption,
.figure figcaption,
.embed figcaption {
  font-size: var(--text-xs);
  color: var(--muted);
  padding: 8px 0;
}
.prose {
  max-width: var(--measure);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: var(--space-4);
}
.prose h2 {
  margin-top: var(--space-7);
  scroll-margin-top: 96px;
}
.prose h3 {
  margin-top: var(--space-6);
  scroll-margin-top: 96px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 6px;
}
.prose blockquote {
  margin: var(--space-5) 0;
  padding: var(--space-3) var(--space-5);
  border-left: 3px solid var(--accent);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--ink-2);
}
.prose blockquote footer {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: var(--text-s);
  color: var(--muted);
  margin-top: 8px;
}
.prose mark {
  background: var(--gold-soft);
  padding: 0 3px;
}
.prose code {
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose img {
  border-radius: var(--radius);
}
.prose .figure--wide {
  max-width: none;
  width: min(100%, 900px);
}
.delimiter {
  border: 0;
  text-align: center;
  margin: var(--space-6) 0;
}
.delimiter::before {
  content: "***";
  letter-spacing: 0.6em;
  color: var(--faint);
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-s);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
}
.table th,
.table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.table th {
  background: var(--surface-2);
  font-weight: 600;
}
.callout {
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--text-m);
}
.callout--note {
  background: var(--info-soft);
  border-color: #d3dcf5;
}
.callout--tip {
  background: var(--sea-soft);
  border-color: #c4e3d8;
}
.callout--warning {
  background: var(--gold-soft);
  border-color: #efdcae;
}
.callout--verdict {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.callout--verdict a {
  color: #ffd8c4;
}
.callout__title {
  font-weight: 700;
  margin: 0 0 6px;
  font-size: var(--text-s);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.faq {
  margin-top: var(--space-7);
}
.faq__item {
  border-top: 1px solid var(--line);
  padding: var(--space-3) 0;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
}
.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
}
.faq__item[open] summary::after {
  content: "–";
}
.faq__answer {
  padding-top: var(--space-2);
  color: var(--ink-2);
}
.embed__frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}
.embed__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.toc {
  padding: var(--space-4);
  font-size: var(--text-s);
}
.toc h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.toc ol {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 6px;
}
.toc a {
  color: var(--ink-2);
  text-decoration: none;
}
.toc a:hover {
  color: var(--accent-ink);
}

/* in-article product card */
.pcard {
  margin: var(--space-6) 0;
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: var(--space-5);
  padding: var(--space-5);
  max-width: none;
}
@media (max-width: 640px) {
  .pcard {
    grid-template-columns: 1fr;
  }
}
.pcard__media {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  display: grid;
  place-items: center;
  padding: var(--space-3);
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pcard__body {
  display: grid;
  gap: 8px;
  align-content: start;
}
.pcard__title {
  font-family: var(--font-sans);
  font-size: var(--text-l);
  font-weight: 700;
  margin: 0;
}
.pcard__title a {
  color: inherit;
  text-decoration: none;
}
.pcard__note {
  color: var(--ink-2);
  font-size: var(--text-s);
  margin: 0;
}
.pcard__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: 6px;
}
.pcard__footer .price {
  font-size: var(--text-xl);
}
.pcard__fine {
  font-size: var(--text-xs);
  color: var(--muted);
  flex-basis: 100%;
}
.cta-block {
  margin: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--accent-soft);
  border: 1px solid #f1cdb9;
  border-radius: var(--radius);
  flex-wrap: wrap;
  max-width: none;
}
.cta-block strong {
  font-size: var(--text-m);
}
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  max-width: none;
}
@media (max-width: 600px) {
  .proscons {
    grid-template-columns: 1fr;
  }
}
.proscons__col {
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.proscons__col h4 {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proscons__col--pros h4 {
  color: var(--sea);
}
.proscons__col--cons h4 {
  color: var(--danger);
}
.proscons ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: var(--text-s);
}
.proscons__evidence {
  grid-column: 1 / -1;
  font-size: var(--text-xs);
  color: var(--muted);
  margin: 0;
}
.compare-wrap {
  max-width: none;
}
.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: var(--text-s);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare th,
.compare td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.compare thead th {
  background: var(--surface-2);
  font-weight: 600;
}
.compare tbody th {
  color: var(--muted);
  font-weight: 600;
  width: 160px;
  background: var(--surface);
}
.compare__product img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 8px;
  background: #fff;
}
.compare__product a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.compare tr:last-child td,
.compare tr:last-child th {
  border-bottom: 0;
}

/* ---------------------------------------------------------------- ads (articles only) */
.ad-slot {
  margin: var(--space-6) 0;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  border-radius: var(--radius-s);
  position: relative;
  max-width: none;
}
.ad-slot__label {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------------------------------------------------------------- misc components */
.empty {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  color: var(--ink-2);
}
.empty svg {
  margin: 0 auto var(--space-3);
  color: var(--faint);
}
.empty h2 {
  font-size: var(--text-xl);
}
.alert {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-s);
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: var(--text-s);
}
.alert--danger {
  background: var(--danger-soft);
  border-color: #f3c6c2;
  color: var(--danger);
}
.alert--sea {
  background: var(--sea-soft);
  border-color: #c4e3d8;
  color: var(--sea);
}
.stack > * + * {
  margin-top: var(--space-4);
}
.merchant-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: var(--text-s);
}
.merchant-row span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 600;
  color: var(--ink-2);
}
.author-box {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  margin-top: var(--space-7);
  align-items: flex-start;
}
.author-box img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2);
}
.author-box h3 {
  font-size: var(--text-l);
  margin-bottom: 4px;
}
.author-box p {
  margin: 0;
  font-size: var(--text-s);
  color: var(--ink-2);
}
.consent {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 520px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  padding: var(--space-4) var(--space-5);
  z-index: 90;
  font-size: var(--text-s);
  display: none;
}
.consent.is-visible {
  display: block;
}
.consent__actions {
  display: flex;
  gap: 8px;
  margin-top: var(--space-3);
  flex-wrap: wrap;
}
.share {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--muted);
}
.share a {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.share a:hover {
  background: var(--ink);
  color: #fff;
}
.unavailable {
  max-width: 560px;
  margin: var(--space-8) auto;
  text-align: center;
}

/* ---------------------------------------------------------------- utilities */
.mt-0 {
  margin-top: 0;
}
.mt-4 {
  margin-top: var(--space-4);
}
.mt-6 {
  margin-top: var(--space-6);
}
.mb-4 {
  margin-bottom: var(--space-4);
}
.text-muted {
  color: var(--muted);
}
.text-s {
  font-size: var(--text-s);
}
.text-xs {
  font-size: var(--text-xs);
}
.text-center {
  text-align: center;
}
.flex {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
}
.flex--between {
  justify-content: space-between;
}
.w-full {
  width: 100%;
}
@media print {
  .site-header,
  .site-footer,
  .ad-slot,
  .consent {
    display: none !important;
  }
}
