/*
  Arzoonestan — Persian niche price discovery
  Visual thesis: cool porcelain surfaces + lapis tile identity + a live price receipt.
  UTF-8 / RTL-first / mobile-first accessibility baseline.
*/

:root {
  --porcelain: #f7f9fc;
  --paper: #ffffff;
  --paper-soft: #f1f5fb;
  --ink: #172033;
  --ink-soft: #596579;
  --ink-faint: #7d8798;
  --lapis: #1746a2;
  --lapis-deep: #0b2e66;
  --lapis-soft: #eaf1ff;
  --saffron: #f4a51c;
  --saffron-soft: #fff5dc;
  --pomegranate: #c9364d;
  --pomegranate-soft: #fff0f3;
  --mint: #dff5ec;
  --mint-strong: #147a58;
  --line: #dfe5ef;
  --line-strong: #c9d3e2;
  --shadow-xs: 0 2px 8px rgba(20, 39, 74, .05);
  --shadow-sm: 0 10px 28px rgba(20, 39, 74, .07);
  --shadow-md: 0 22px 55px rgba(20, 39, 74, .11);
  --shadow-focus: 0 0 0 4px rgba(23, 70, 162, .17);
  --radius-xs: 8px;
  --radius-sm: 13px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1240px;
  --display: "Estedad", Tahoma, sans-serif;
  --body: "Vazirmatn", Tahoma, Arial, sans-serif;
  --data: ui-monospace, "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
::selection { color: var(--lapis-deep); background: #cfe0ff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--lapis); outline-offset: 3px; box-shadow: var(--shadow-focus); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow { width: min(100%, 860px); }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  z-index: 10000;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--lapis-deep);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* announcement */
.announcement {
  color: var(--lapis-deep);
  background: var(--lapis-soft);
  border-block-end: 1px solid #d7e4ff;
  font-size: 12.5px;
}
.announcement-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.announcement p { margin: 0; display: flex; align-items: center; gap: 7px; }
.announcement a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; white-space: nowrap; }
.announcement a:hover { color: var(--lapis); }
.status-dot, .live-dot, .store-dot { display: inline-block; border-radius: 50%; background: var(--mint-strong); }
.status-dot { width: 7px; height: 7px; box-shadow: 0 0 0 4px rgba(20, 122, 88, .11); }

/* header */
.site-header {
  position: sticky;
  z-index: 300;
  inset-block-start: 0;
  background: rgba(255, 255, 255, .96);
  border-block-end: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(23, 32, 51, .09); background: rgba(255,255,255,.985); }
.header-main { min-height: 84px; display: grid; grid-template-columns: minmax(190px, 255px) minmax(360px, 1fr) auto; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--lapis);
  border-radius: 15px 15px 15px 5px;
  box-shadow: 0 10px 22px rgba(23, 70, 162, .2);
  transform: rotate(-2deg);
}
.brand-mark::after { content: ""; position: absolute; width: 10px; height: 10px; inset-inline-end: -2px; inset-block-start: -2px; border-radius: 50%; background: var(--saffron); border: 2px solid #fff; }
.brand-mark svg { width: 31px; height: 31px; }
.brand-ticket { fill: transparent; stroke: currentColor; }
.brand-lines { stroke: currentColor; }
.brand-copy { display: grid; line-height: 1.2; min-width: 0; }
.brand-copy strong { font-family: var(--display); font-size: 22px; font-weight: 900; letter-spacing: -.5px; }
.brand-copy small { margin-block-start: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 700; }

.header-search {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 11px;
  padding-inline-start: 16px;
  padding-inline-end: 6px;
  background: var(--paper-soft);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.header-search:focus-within { background: #fff; border-color: #9db7ea; box-shadow: var(--shadow-focus); }
.header-search .icon { color: var(--lapis); }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.header-search input::placeholder { color: #8a94a4; }
.header-search kbd { padding: 1px 7px; border: 1px solid var(--line-strong); border-block-end-width: 2px; border-radius: 7px; color: var(--ink-faint); background: #fff; font-family: var(--data); font-size: 11px; }
.header-search button { height: 40px; padding-inline: 17px; border: 0; border-radius: 11px; color: #fff; background: var(--lapis); font-weight: 800; transition: background .2s ease, transform .2s ease; }
.header-search button:hover { background: var(--lapis-deep); transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-guide { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 13px; }
.header-guide:hover { background: var(--lapis-soft); }
.header-guide .icon { color: var(--lapis); }
.header-guide span { display: grid; line-height: 1.3; }
.header-guide small { color: var(--ink-faint); font-size: 10px; }
.header-guide b { font-size: 12px; }
.menu-toggle { width: 46px; height: 46px; display: none; place-items: center; align-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; }
.menu-toggle > span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.main-nav { border-block-start: 1px solid #edf0f5; background: #fff; }
.nav-inner { min-height: 46px; display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-inner > a { min-height: 34px; display: inline-flex; align-items: center; gap: 6px; padding-inline: 11px; border-radius: 9px; color: #4b5668; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.nav-inner > a:hover { color: var(--lapis); background: var(--lapis-soft); }
.nav-inner .nav-sale { margin-inline-start: -6px; color: var(--pomegranate); background: var(--pomegranate-soft); }
.nav-sale span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 7px; color: #fff; background: var(--pomegranate); font-weight: 900; }
.nav-admin { margin-inline-start: auto; color: var(--ink-faint) !important; }

/* feedback */
.toast-stack { position: fixed; z-index: 1000; inset-block-start: 108px; inset-inline-end: 20px; display: grid; gap: 9px; }
.toast { max-width: min(390px, calc(100vw - 40px)); padding: 13px 17px; border: 1px solid #b9dfd1; border-radius: var(--radius-sm); color: #0e6448; background: #f1fcf7; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 700; }
.toast.error { color: #95263b; background: #fff5f7; border-color: #f1c1ca; }

/* hero */
.hero { position: relative; overflow: hidden; isolation: isolate; background: #fff; border-block-end: 1px solid var(--line); }
.hero-pattern {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(45deg, transparent 46%, rgba(23,70,162,.042) 47%, rgba(23,70,162,.042) 53%, transparent 54%),
    linear-gradient(-45deg, transparent 46%, rgba(23,70,162,.042) 47%, rgba(23,70,162,.042) 53%, transparent 54%);
  background-size: 34px 34px;
  mask-image: linear-gradient(to left, #000 0, transparent 68%);
}
.hero-layout { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr); align-items: center; gap: clamp(44px, 7vw, 94px); padding-block: 58px 68px; }
.hero-copy { max-width: 690px; }
.hero-kicker, .section-label { display: inline-flex; align-items: center; gap: 9px; color: var(--lapis); font-size: 12px; font-weight: 900; letter-spacing: .1px; }
.hero-kicker i { width: 28px; height: 2px; background: var(--saffron); box-shadow: 8px 0 0 #ffd989; }
.hero h1 { margin: 18px 0 19px; font-family: var(--display); font-size: clamp(42px, 5vw, 72px); line-height: 1.2; font-weight: 900; letter-spacing: -2.6px; }
.hero h1 mark { position: relative; display: inline; color: var(--lapis); background: transparent; }
.hero h1 mark::after { content: ""; position: absolute; z-index: -1; inset-inline: -5px; inset-block-end: 4px; height: 15px; border-radius: 4px; background: var(--saffron-soft); transform: rotate(-1deg); }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--ink-soft); font-size: 18px; line-height: 1.95; }
.hero-search-panel { max-width: 650px; margin-block-start: 28px; }
.hero-search { min-height: 66px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 7px 8px 7px 18px; border: 1px solid var(--line-strong); border-radius: 20px; background: #fff; box-shadow: 0 17px 42px rgba(23, 46, 91, .1); }
.hero-search:focus-within { border-color: #8da9e2; box-shadow: var(--shadow-focus), 0 17px 42px rgba(23, 46, 91, .1); }
.hero-search .icon { color: var(--lapis); }
.hero-search input { min-width: 0; border: 0; outline: 0; background: transparent; }
.hero-search button { min-height: 50px; padding-inline: 22px; border: 0; border-radius: 14px; color: #fff; background: var(--lapis); font-weight: 900; box-shadow: 0 8px 18px rgba(23,70,162,.2); }
.hero-search button:hover { background: var(--lapis-deep); }
.hero-quick-filters { margin-block-start: 10px; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); gap: 8px; }
.hero-quick-filters label { min-width: 0; display: grid; gap: 3px; padding: 7px 10px 8px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.96); }
.hero-quick-filters label:focus-within { border-color: #8da9e2; box-shadow: var(--shadow-focus); }
.hero-quick-filters span { color: var(--ink-faint); font-size: 9px; font-weight: 800; }
.hero-quick-filters select, .hero-quick-filters input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10.5px; }
.hero-shortcuts { margin-block-start: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--ink-faint); font-size: 12px; }
.hero-shortcuts > span { font-weight: 800; }
.hero-shortcuts a { padding: 5px 10px; border-radius: var(--radius-pill); color: #47566f; background: var(--paper-soft); font-weight: 700; }
.hero-shortcuts a:hover { color: var(--lapis); background: var(--lapis-soft); }
.hero-trust { margin-block-start: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: 11.5px; }
.hero-trust span { position: relative; padding-inline-start: 13px; }
.hero-trust span::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--mint-strong); }
.hero-trust b { color: var(--ink); }

/* signature receipt */
.price-receipt {
  position: relative;
  width: min(100%, 485px);
  justify-self: end;
  padding: 28px 30px 35px;
  border: 1px solid #d3dce9;
  border-radius: 14px 14px 7px 7px;
  background: #fff;
  box-shadow: 18px 25px 0 #eaf1ff, var(--shadow-md);
  transform: rotate(-1deg);
}
.price-receipt::before { content: ""; position: absolute; inset: 8px; pointer-events: none; border: 1px dashed #d9e0ea; border-radius: 8px; }
.price-receipt::after { content: "فرصت خرید"; position: absolute; inset-inline-end: 28px; inset-block-start: -14px; padding: 5px 12px; border-radius: 8px; color: var(--lapis-deep); background: var(--saffron); font-family: var(--display); font-size: 11px; font-weight: 900; transform: rotate(3deg); }
.receipt-head { position: relative; z-index: 1; min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding-block-end: 17px; border-block-end: 1px dashed var(--line-strong); }
.receipt-head > div { display: flex; align-items: center; gap: 8px; }
.receipt-head small { color: var(--ink-soft); font-weight: 800; }
.receipt-head > b { color: var(--ink-faint); font-family: var(--data); font-size: 12px; direction: ltr; }
.live-dot { width: 8px; height: 8px; box-shadow: 0 0 0 5px rgba(20,122,88,.1); }
.receipt-verified { position: relative; z-index: 1; min-height: 55px; margin-block-start: 14px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid #cbd9ef; border-radius: 12px; color: var(--lapis-deep); background: linear-gradient(135deg, #f8fbff, var(--lapis-soft)); }
.receipt-verified .icon { width: 25px; height: 25px; flex: 0 0 auto; color: var(--lapis); }
.receipt-verified > span { display: grid; line-height: 1.45; }
.receipt-verified b { font-size: 10.5px; }
.receipt-verified small { color: var(--ink-soft); font-size: 8.5px; }
.receipt-product { position: relative; z-index: 1; display: grid; grid-template-columns: 108px 1fr; align-items: center; gap: 17px; padding-block: 22px; }
.receipt-image { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #f8fafc; }
.receipt-image img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.receipt-product-copy span { color: var(--lapis); font-size: 11px; font-weight: 900; }
.receipt-product-copy h2 { margin: 6px 0 0; font-family: var(--display); font-size: 16px; line-height: 1.65; }
.receipt-product-copy h2 a:hover { color: var(--lapis); }
.receipt-lines { position: relative; z-index: 1; display: grid; gap: 0; border-block: 1px dashed var(--line-strong); }
.receipt-lines > div { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-block-end: 1px dotted #e2e7ef; color: var(--ink-soft); font-size: 12px; }
.receipt-lines > div:last-child { border-block-end: 0; }
.receipt-lines del { color: var(--ink-faint); }
.receipt-lines b { color: var(--pomegranate); font-family: var(--data); direction: ltr; }
.receipt-lines .receipt-total { min-height: 68px; }
.receipt-total strong { color: var(--ink); font-family: var(--display); font-size: 27px; line-height: 1; direction: ltr; }
.receipt-total strong small { font-family: var(--body); font-size: 10px; }
.receipt-lines .receipt-saving { padding-inline: 9px; color: #0e684a; background: var(--mint); }
.receipt-saving b { color: #0e684a; }
.receipt-cta { position: relative; z-index: 1; min-height: 55px; margin-block-start: 20px; display: flex; align-items: center; justify-content: space-between; padding-inline: 18px 12px; border-radius: 13px; color: #fff; background: var(--lapis); font-weight: 900; box-shadow: 0 10px 22px rgba(23,70,162,.17); }
.receipt-cta:hover { background: var(--lapis-deep); }
.receipt-cta i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-style: normal; background: rgba(255,255,255,.13); }
.receipt-footnote { position: relative; z-index: 1; margin: 11px 0 0; color: var(--ink-faint); text-align: center; font-size: 10.5px; }
.receipt-tear { position: absolute; inset-inline: 0; inset-block-end: -9px; height: 16px; background: radial-gradient(circle at 8px 0, transparent 8px, #fff 8.5px) repeat-x; background-size: 16px 16px; }
.receipt-empty { position: relative; z-index: 1; min-height: 355px; display: grid; place-items: center; align-content: center; text-align: center; }
.receipt-empty > span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 22px; color: var(--pomegranate); background: var(--pomegranate-soft); font-size: 30px; font-weight: 900; }
.receipt-empty h2 { margin: 18px 0 5px; font-family: var(--display); font-size: 18px; }
.receipt-empty p { margin: 0; max-width: 310px; color: var(--ink-soft); font-size: 12px; }
.receipt-empty a { margin-block-start: 16px; color: var(--lapis); font-weight: 900; }

/* process */
.how-it-works { background: var(--lapis-deep); color: #fff; }
.process-grid { min-height: 102px; display: grid; grid-template-columns: 1.18fr repeat(3, 1fr); align-items: stretch; }
.process-intro, .process-step { display: flex; align-items: center; padding: 18px 24px; border-inline-end: 1px solid rgba(255,255,255,.13); }
.process-intro { display: grid; align-content: center; }
.process-intro span { color: #a9c4ff; font-size: 10px; font-weight: 800; }
.process-intro strong { font-family: var(--display); font-size: 15px; }
.process-step { gap: 12px; }
.process-step > b { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--lapis-deep); background: var(--saffron); font-family: var(--display); font-size: 13px; }
.process-step p { display: grid; margin: 0; line-height: 1.45; }
.process-step strong { font-size: 13px; }
.process-step small { margin-block-start: 4px; color: #bfd0ed; font-size: 10.5px; }

/* sections */
.section { padding-block: 78px; }
.section:nth-of-type(even) { }
.section-heading { margin-block-end: 28px; display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.section-heading h2 { margin: 7px 0 5px; font-family: var(--display); font-size: clamp(25px, 3vw, 37px); line-height: 1.4; font-weight: 900; letter-spacing: -.8px; }
.section-heading p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.section-link, .text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--lapis); font-weight: 900; white-space: nowrap; }
.section-link { min-height: 43px; padding-inline: 14px; border: 1px solid #cbd9f5; border-radius: 12px; background: #fff; font-size: 12px; }
.section-link:hover { color: #fff; background: var(--lapis); border-color: var(--lapis); }
.text-link:hover { color: var(--lapis-deep); }
.section-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }

/* categories */
.category-section { padding-block-end: 38px; }
.category-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.category-tile { min-height: 88px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.category-tile:hover { border-color: #aec3eb; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.category-glyph { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px 15px 15px 5px; color: var(--lapis); background: var(--lapis-soft); font-size: 22px; }
.category-tile > span:nth-child(2) { display: grid; line-height: 1.45; }
.category-tile strong { font-family: var(--display); font-size: 14px; }
.category-tile small { color: var(--ink-faint); font-size: 10px; }
.category-tile .icon { width: 18px; color: #a0aabd; }

/* product grids/cards */
.curated-section { padding-block-start: 55px; }
.curated-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.curated-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.curated-grid .product-card:first-child { grid-column: span 2; }
.curated-grid .product-card:first-child .product-media { aspect-ratio: 2 / 1; }
.product-card { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease; }
.product-card:hover { border-color: #b7c8e7; transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card::after { content: ""; position: absolute; pointer-events: none; inset-inline: 13px; inset-block-end: -5px; height: 9px; opacity: .8; background: radial-gradient(circle at 4px 0, transparent 4px, #fff 4.5px) repeat-x; background-size: 8px 8px; }
.product-media { position: relative; aspect-ratio: 1 / .9; overflow: hidden; display: grid; place-items: center; background: #f6f8fb; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .35s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.035); }
.product-badges { position: absolute; z-index: 2; inset-block-start: 12px; inset-inline-start: 12px; display: flex; align-items: start; gap: 6px; }
.discount-badge { min-width: 48px; min-height: 48px; display: grid; place-items: center; align-content: center; border-radius: 14px 14px 14px 5px; color: #fff; background: var(--pomegranate); box-shadow: 0 8px 20px rgba(201,54,77,.2); line-height: 1.1; }
.discount-badge b { font-family: var(--display); font-size: 15px; }
.discount-badge small { font-size: 8px; }
.featured-badge { padding: 5px 9px; border: 1px solid #efd28d; border-radius: 9px; color: #74520b; background: var(--saffron-soft); font-size: 9px; font-weight: 900; }
.product-detail-link { position: absolute; inset-inline: 12px; inset-block-end: 12px; min-height: 34px; display: flex; align-items: center; justify-content: space-between; padding-inline: 12px; border-radius: 10px; color: var(--lapis-deep); background: rgba(255,255,255,.94); border: 1px solid rgba(203,213,229,.85); font-size: 10px; font-weight: 900; opacity: 0; transform: translateY(7px); transition: opacity .2s ease, transform .2s ease; }
.product-detail-link .icon { width: 16px; }
.product-card:hover .product-detail-link, .product-detail-link:focus-visible { opacity: 1; transform: none; }
.product-body { flex: 1; display: flex; flex-direction: column; padding: 16px 16px 18px; }
.product-meta { min-height: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--ink-faint); font-size: 10px; }
.product-meta a { display: inline-flex; align-items: center; gap: 6px; color: var(--lapis); font-weight: 800; }
.store-dot { width: 6px; height: 6px; }
.product-body h3 { margin: 7px 0 6px; font-family: var(--display); font-size: 14.5px; line-height: 1.7; font-weight: 800; }
.product-body h3 a:hover { color: var(--lapis); }
.product-body > p { margin: 0 0 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.product-price { margin-block-start: auto; padding-block-start: 13px; border-block-start: 1px dashed var(--line); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.product-price > div { min-width: 0; display: grid; }
.product-price del { color: var(--ink-faint); font-size: 9.5px; }
.product-price strong { color: var(--ink); font-family: var(--display); font-size: 19px; line-height: 1.45; white-space: nowrap; }
.product-price strong small { font-family: var(--body); font-size: 8px; }
.product-price > div > span { color: var(--mint-strong); font-size: 9px; font-weight: 800; }
.product-buy { width: 48px; height: 45px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--lapis); transition: background .2s ease, transform .2s ease; }
.product-buy span { display: none; }
.product-buy .icon { width: 19px; }
.product-buy:hover { background: var(--lapis-deep); transform: translateY(-2px); }

/* coupon */
.coupon-section { background: #fff; border-block: 1px solid var(--line); }
.coupon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coupon-ticket { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 260px; border: 1px solid #d5ddeb; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow-xs); }
.coupon-ticket::before, .coupon-ticket::after { content: ""; position: absolute; z-index: 2; width: 22px; height: 22px; inset-block-start: 156px; border-radius: 50%; background: #fff; border: 1px solid #d5ddeb; }
.coupon-ticket::before { inset-inline-start: -12px; }
.coupon-ticket::after { inset-inline-end: -12px; }
.coupon-ticket-head { min-height: 57px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: 18px; color: var(--lapis-deep); background: var(--lapis-soft); }
.coupon-ticket-head span { font-weight: 900; }
.coupon-ticket-head b { font-size: 10px; }
.coupon-ticket-body { flex: 1; padding: 17px 18px; border-block-end: 1px dashed var(--line-strong); }
.coupon-ticket-body h3 { margin: 0 0 5px; font-family: var(--display); font-size: 16px; }
.coupon-ticket-body p { margin: 0; color: var(--ink-soft); font-size: 11.5px; }
.coupon-ticket-action { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; }
.copy-code { min-height: 39px; display: inline-flex; align-items: center; gap: 8px; padding-inline: 11px; border: 1px dashed #8ba9df; border-radius: 10px; color: var(--lapis-deep); background: #f7faff; }
.copy-code code { font-family: var(--data); font-size: 12px; direction: ltr; }
.copy-code span, .copy-code b { font-size: 9px; }
.copy-code:hover { background: var(--lapis-soft); }
.coupon-ticket-action > a { display: inline-flex; align-items: center; gap: 6px; color: var(--lapis); font-size: 11px; font-weight: 900; }

/* stores */
.store-section { padding-block: 72px; }
.store-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.store-card { min-height: 84px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 11px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.store-card:hover { transform: translateY(-3px); border-color: #abc0e8; box-shadow: var(--shadow-sm); }
.store-card img, .store-initial { width: 50px; height: 50px; object-fit: contain; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.store-initial { display: grid; place-items: center; color: var(--lapis); background: var(--lapis-soft); font-family: var(--display); font-size: 19px; font-weight: 900; }
.store-card > span:nth-child(2) { min-width: 0; display: grid; line-height: 1.4; }
.store-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--display); font-size: 13px; }
.store-card small { color: var(--ink-faint); font-size: 9.5px; }
.store-card .icon { width: 16px; color: #a3adbe; }

/* articles */
.editorial-section { background: #fff; border-block-start: 1px solid var(--line); }
.faq-section { background: var(--paper-soft); border-block-start: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.35fr); align-items: start; gap: clamp(28px, 5vw, 72px); }
.faq-intro { position: sticky; inset-block-start: 24px; }
.faq-intro h2 { margin: 8px 0 10px; font-family: var(--display); font-size: clamp(27px, 3vw, 38px); line-height: 1.45; }
.faq-intro p { margin: 0 0 20px; color: var(--ink-soft); line-height: 2; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-xs); }
.faq-list summary { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 18px; cursor: pointer; color: var(--ink); font-family: var(--display); font-weight: 800; line-height: 1.8; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; color: var(--lapis); font-family: var(--data); font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--ink-soft); line-height: 2; }
.article-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.article-grid--large { grid-template-columns: repeat(3, 1fr); }
.article-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-soft); }
.article-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.article-card:hover .article-media img { transform: scale(1.04); }
.article-media span { position: absolute; inset-inline-start: 12px; inset-block-end: 12px; padding: 5px 9px; border-radius: 8px; color: #fff; background: rgba(11,46,102,.88); backdrop-filter: blur(8px); font-size: 9px; font-weight: 900; }
.article-content { flex: 1; display: flex; flex-direction: column; padding: 17px; }
.article-content > small { color: var(--ink-faint); font-size: 9.5px; }
.article-content h2, .article-content h3 { margin: 7px 0; font-family: var(--display); font-size: 16px; line-height: 1.65; }
.article-content h2 { font-size: 18px; }
.article-content h2 a:hover, .article-content h3 a:hover { color: var(--lapis); }
.article-content p { margin: 0 0 12px; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.article-content .text-link { margin-block-start: auto; font-size: 10px; }
.comparison-invite { margin-block: 32px -26px; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 25px 28px; border-color: #c7d7f2; background: linear-gradient(135deg, #fff, var(--lapis-soft)); }
.comparison-invite h2 { margin: 5px 0 3px; font-family: var(--display); font-size: 23px; }
.comparison-invite p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.comparison-invite .primary-btn { flex: 0 0 auto; }

/* newsletter */
.newsletter-band { padding-block: 64px 78px; background: #fff; }
.newsletter-panel { position: relative; overflow: hidden; min-height: 190px; display: grid; grid-template-columns: auto 1fr minmax(320px, 430px); align-items: center; gap: 30px; padding: 30px 38px; border: 1px solid #cddbf5; border-radius: var(--radius-lg); background: var(--lapis-soft); }
.newsletter-panel::after { content: ""; position: absolute; width: 190px; height: 190px; inset-inline-end: -65px; inset-block-end: -100px; border: 28px solid rgba(23,70,162,.06); border-radius: 50%; }
.newsletter-stamp { width: 78px; height: 78px; display: grid; place-items: center; border: 2px dashed var(--lapis); border-radius: 50%; color: var(--lapis); background: #fff; font-family: var(--display); font-size: 18px; font-weight: 900; transform: rotate(-7deg); }
.newsletter-panel h2 { margin: 6px 0 3px; font-family: var(--display); font-size: 27px; }
.newsletter-panel p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.newsletter-panel form { position: relative; z-index: 1; min-height: 55px; display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 5px; border: 1px solid #b7c9ec; border-radius: 15px; background: #fff; }
.newsletter-panel input { min-width: 0; border: 0; outline: 0; padding-inline: 12px; background: transparent; }
.newsletter-panel button { border: 0; border-radius: 11px; padding-inline: 17px; color: #fff; background: var(--lapis); font-weight: 900; }
.newsletter-panel button:hover { background: var(--lapis-deep); }

/* footer */
.site-footer { padding-block-start: 64px; color: #334158; background: #eef3fa; border-block-start: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .7fr 1.1fr; gap: 42px; padding-block-end: 46px; }
.brand--footer .brand-mark { width: 43px; height: 43px; }
.footer-intro > p { max-width: 430px; margin: 18px 0; color: var(--ink-soft); font-size: 12px; }
.footer-proof { display: flex; flex-wrap: wrap; gap: 7px; }
.footer-proof span { padding: 5px 8px; border: 1px solid #d1dce9; border-radius: 8px; color: #526178; background: rgba(255,255,255,.65); font-size: 9px; font-weight: 800; }
.footer-links { display: grid; align-content: start; gap: 9px; }
.footer-links h2, .footer-newsletter-wrap h2 { margin: 0 0 8px; font-family: var(--display); font-size: 14px; }
.footer-links a { color: var(--ink-soft); font-size: 11.5px; }
.footer-links a:hover { color: var(--lapis); }
.footer-newsletter-wrap { padding: 18px; border: 1px solid #d3deeb; border-radius: 17px; background: rgba(255,255,255,.72); }
.footer-label { color: var(--lapis); font-size: 9px; font-weight: 900; }
.footer-newsletter { min-height: 46px; margin-block-start: 14px; display: grid; grid-template-columns: 1fr auto; gap: 5px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.footer-newsletter input { min-width: 0; border: 0; outline: 0; padding-inline: 9px; background: transparent; font-size: 11px; }
.footer-newsletter button { border: 0; border-radius: 9px; padding-inline: 12px; color: #fff; background: var(--lapis); font-size: 10px; font-weight: 900; }
.footer-newsletter-wrap > small { display: block; margin-block-start: 7px; color: var(--ink-faint); font-size: 9px; }
.footer-bottom { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block-start: 1px solid #d5dfeb; color: var(--ink-faint); font-size: 10px; }
.back-top { position: fixed; z-index: 250; inset-inline-end: 18px; inset-block-end: 18px; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #c4d2e6; border-radius: 14px; color: var(--lapis); background: rgba(255,255,255,.95); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.back-top.visible { opacity: 1; pointer-events: auto; transform: none; }

/* page hero */
.page-hero { position: relative; overflow: hidden; background: #fff; border-block-end: 1px solid var(--line); }
.page-hero::after { content: ""; position: absolute; pointer-events: none; width: 360px; height: 360px; inset-inline-end: -120px; inset-block-start: -220px; border: 50px solid var(--lapis-soft); border-radius: 50%; }
.page-hero-inner { position: relative; z-index: 1; min-height: 270px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding-block: 52px; }
.page-hero-inner > div:first-child { max-width: 780px; }
.page-hero h1 { margin: 7px 0 8px; font-family: var(--display); font-size: clamp(32px, 4vw, 52px); line-height: 1.35; letter-spacing: -1.3px; }
.page-hero p { margin: 0; max-width: 720px; color: var(--ink-soft); font-size: 15px; }
.hero-symbol { width: 122px; height: 122px; flex: 0 0 auto; display: grid; place-items: center; align-content: center; border: 2px dashed #9fb7e4; border-radius: 30px 30px 30px 8px; color: var(--lapis); background: var(--lapis-soft); transform: rotate(-3deg); }
.hero-symbol span { font-family: var(--display); font-size: 28px; font-weight: 900; }
.hero-symbol small { color: var(--ink-soft); font-size: 9px; }
.hero-symbol--article span { font-size: 17px; }
.page-hero-inner--entity { justify-content: flex-start; }
.entity-icon, .store-logo-large { width: 112px; height: 112px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid #cbd9ef; border-radius: 27px 27px 27px 8px; color: var(--lapis); background: var(--lapis-soft); font-size: 38px; font-weight: 900; }
.store-logo-large img { width: 100%; height: 100%; object-fit: contain; padding: 15px; background: #fff; }
.entity-count { margin-inline-start: auto; min-width: 120px; display: grid; justify-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.entity-count b { color: var(--lapis); font-family: var(--display); font-size: 28px; }
.entity-count span { color: var(--ink-faint); font-size: 9px; }
.outline-btn, .primary-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 17px; border-radius: 12px; font-size: 12px; font-weight: 900; }
.outline-btn { margin-block-start: 16px; border: 1px solid #aec2e8; color: var(--lapis); background: #fff; }
.outline-btn:hover { color: #fff; background: var(--lapis); }
.primary-btn { border: 0; color: #fff; background: var(--lapis); }
.primary-btn:hover { background: var(--lapis-deep); }

/* breadcrumbs */
.breadcrumbs { min-height: 54px; display: flex; align-items: center; gap: 8px; overflow: hidden; color: var(--ink-faint); font-size: 10.5px; white-space: nowrap; }
.breadcrumbs a { color: var(--lapis); }
.breadcrumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; }

/* listing */
.listing-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 25px; padding-block: 36px 78px; }
.filter-toggle { display: none; }
.filters { align-self: start; position: sticky; inset-block-start: 155px; }
.filters form { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-xs); }
.filter-title { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; color: #fff; background: var(--lapis-deep); }
.filter-title span { color: #b8cff8; font-size: 9px; }
.filter-title h2 { margin: 1px 0 0; font-family: var(--display); font-size: 15px; }
.filter-title a { color: #d5e3ff; font-size: 9px; font-weight: 800; }
.filters label { display: grid; gap: 6px; padding: 12px 16px 0; color: #4a5668; font-size: 10.5px; font-weight: 800; }
.filter-price-row { display: grid; grid-template-columns: 1fr 1fr; }
.filters .filter-check { display: flex; align-items: center; gap: 8px; }
.filters .filter-check input { width: 18px; min-height: 18px; margin: 0; accent-color: var(--lapis); }
.filters .filter-check span { line-height: 1.4; }
.filters input, .filters select, .inline-sort select, .contact-form input, .contact-form textarea { width: 100%; min-height: 45px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: #fbfcfe; padding-inline: 11px; outline: 0; }
.filters input:focus, .filters select:focus, .inline-sort select:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: #8fa9dc; background: #fff; box-shadow: var(--shadow-focus); }
.filters .primary-btn { width: calc(100% - 32px); margin: 17px 16px 16px; }
.listing-toolbar { min-height: 65px; margin-block-end: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.listing-toolbar > div { display: flex; align-items: baseline; gap: 7px; }
.listing-toolbar b { color: var(--lapis); font-family: var(--display); font-size: 22px; }
.listing-toolbar span, .listing-toolbar p { color: var(--ink-faint); font-size: 10px; }
.listing-toolbar p { margin: 0; }
.listing-content .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inline-sort label { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: 10px; }
.inline-sort select { min-width: 145px; }
.empty-state { grid-column: 1 / -1; min-height: 230px; display: grid; place-items: center; align-content: center; padding: 30px; border: 1px dashed #bdc9db; border-radius: var(--radius-md); text-align: center; background: #fff; }
.empty-state strong { font-family: var(--display); font-size: 18px; }
.empty-state p { margin: 6px 0 14px; color: var(--ink-soft); font-size: 12px; }
.empty-state a { color: var(--lapis); font-weight: 900; }
.error-action { width: fit-content; margin-block-start: 22px; }
.pagination { min-height: 64px; margin-block-start: 30px; display: flex; align-items: center; justify-content: center; gap: 13px; }
.pagination a, .pagination > span { min-height: 41px; display: inline-flex; align-items: center; gap: 6px; padding-inline: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; font-size: 11px; }
.pagination a { color: var(--lapis); font-weight: 900; }
.pagination a:hover { color: #fff; background: var(--lapis); border-color: var(--lapis); }
.pagination > span { color: var(--ink-faint); }

/* product detail */
.product-detail { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); gap: clamp(38px, 6vw, 78px); padding-block: 18px 70px; }
.product-gallery { min-width: 0; }
.detail-image { position: sticky; inset-block-start: 160px; aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.detail-image img { width: 100%; height: 100%; object-fit: contain; padding: 45px; }
.discount-badge--large { min-width: 66px; min-height: 66px; }
.discount-badge--large b { font-size: 20px; }
.gallery-note { margin-block-start: 13px; display: flex; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink-faint); background: #fff; }
.gallery-note .icon { width: 18px; color: var(--lapis); }
.gallery-note p { margin: 0; font-size: 9.5px; }
.product-info { padding-block-start: 7px; }
.detail-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--ink-faint); font-size: 10px; }
.detail-meta a { color: var(--lapis); font-weight: 800; }
.detail-meta a:first-child { display: inline-flex; align-items: center; gap: 6px; }
.product-info > h1 { margin: 13px 0 9px; font-family: var(--display); font-size: clamp(28px, 3.2vw, 43px); line-height: 1.5; letter-spacing: -.8px; }
.product-info .lead { margin: 0; color: var(--ink-soft); font-size: 14px; }
.purchase-receipt { position: relative; margin-block-start: 27px; padding: 22px; border: 1px solid #ccd7e7; border-radius: 18px 18px 8px 8px; background: #fff; box-shadow: var(--shadow-sm); }
.purchase-receipt::after { content: ""; position: absolute; inset-inline: 10px; inset-block-end: -8px; height: 15px; background: radial-gradient(circle at 8px 0, transparent 8px, #fff 8.5px) repeat-x; background-size: 16px 16px; }
.purchase-receipt-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block-end: 15px; border-block-end: 1px dashed var(--line-strong); }
.purchase-receipt-head > div { display: grid; }
.purchase-receipt-head span { font-weight: 900; }
.purchase-receipt-head small { color: var(--ink-faint); font-size: 9px; }
.purchase-receipt-head > b { min-width: 55px; min-height: 43px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--pomegranate); font-family: var(--display); }
.purchase-price { display: grid; padding-block: 19px 16px; }
.purchase-price del { color: var(--ink-faint); font-size: 11px; }
.purchase-price strong { font-family: var(--display); font-size: 35px; line-height: 1.35; }
.purchase-price strong small { font-family: var(--body); font-size: 11px; }
.purchase-price span { color: var(--mint-strong); font-size: 10px; font-weight: 900; }
.price-updated { margin: -6px 0 14px; color: var(--ink-faint); font-size: 10px; line-height: 1.9; }
.product-code { width: 100%; min-height: 48px; justify-content: space-between; margin-block-end: 10px; }
.product-code span { font-size: 10px; }
.product-code code { font-size: 14px; }
.product-code b { font-size: 10px; }
.buy-btn { min-height: 57px; display: flex; align-items: center; justify-content: space-between; padding-inline: 18px 13px; border-radius: 13px; color: #fff; background: var(--lapis); font-weight: 900; box-shadow: 0 10px 22px rgba(23,70,162,.16); }
.buy-btn:hover { background: var(--lapis-deep); }
.buy-btn .icon { width: 22px; }
.purchase-proof { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px 20px; padding-block-start: 12px; color: var(--ink-faint); font-size: 9px; }
.purchase-proof span { position: relative; padding-inline-start: 10px; }
.purchase-proof span::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--mint-strong); }
.affiliate-note { margin-block-start: 22px; display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border: 1px solid #bfe3d5; border-radius: 14px; background: #f2fbf7; }
.note-badge { height: 27px; display: grid; place-items: center; padding-inline: 8px; border-radius: 8px; color: #0e684a; background: var(--mint); font-size: 9px; font-weight: 900; }
.affiliate-note strong { font-size: 12px; }
.affiliate-note p { margin: 3px 0 0; color: #547065; font-size: 10px; }
.detail-stats { margin-block-start: 16px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.detail-stats span { min-height: 65px; display: grid; place-items: center; align-content: center; border-inline-end: 1px solid var(--line); }
.detail-stats span:last-child { border-inline-end: 0; }
.detail-stats b { font-family: var(--display); font-size: 14px; }
.detail-stats small { color: var(--ink-faint); font-size: 8.5px; }
.prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 24px; padding-block: 10px 70px; }
.content-card { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-xs); }
.prose { padding: clamp(24px, 4vw, 44px); }
.prose h2 { margin: 26px 0 8px; font-family: var(--display); font-size: 22px; }
.prose h2:first-child { margin-block-start: 0; }
.prose p { color: #465469; line-height: 2.15; }
.prose ol, .prose ul { padding-inline-start: 24px; color: #465469; line-height: 2.15; }
.answer-lead { margin-block-start: 0; padding: 18px 20px; border-inline-start: 4px solid var(--lapis); border-radius: 12px; background: var(--paper-soft); }
.prose a { color: var(--lapis); text-decoration: underline; text-underline-offset: 4px; }
.prose code { direction: ltr; display: inline-block; padding: 1px 5px; border-radius: 5px; background: var(--paper-soft); font-family: var(--data); }
.legal-copy { counter-reset: legal-section; }
.legal-summary { margin-block: 0 30px !important; padding: 17px 19px; border-inline-start: 4px solid var(--lapis); border-radius: 12px; color: var(--lapis-deep) !important; background: var(--lapis-soft); }
.legal-updated { margin-block-start: 34px; padding-block-start: 18px; border-block-start: 1px solid var(--line); color: var(--ink-faint) !important; font-size: 11px; }
.checklist-card, .article-side, .contact-aside { padding: 22px; border: 1px solid #c9d8ee; border-radius: var(--radius-md); background: var(--lapis-soft); }
.checklist-card > span, .article-side > span, .contact-aside > span { color: var(--lapis); font-size: 9px; font-weight: 900; }
.checklist-card h3, .contact-aside h2 { margin: 5px 0 12px; font-family: var(--display); font-size: 18px; }
.checklist-card ul { margin: 0; padding-inline-start: 19px; color: var(--ink-soft); font-size: 11px; }
.related-section { background: #fff; border-block-start: 1px solid var(--line); }

/* articles detail */
.article-header { max-width: 960px; padding-block: 66px 38px; text-align: center; }
.article-header h1 { margin: 10px auto; max-width: 900px; font-family: var(--display); font-size: clamp(34px, 5vw, 58px); line-height: 1.45; letter-spacing: -1.5px; }
.article-header > p { margin: 0 auto; max-width: 760px; color: var(--ink-soft); font-size: 15px; }
.article-meta { margin-block-start: 25px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.article-meta span { min-width: 115px; display: grid; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-faint); font-size: 9px; }
.article-meta b { color: var(--ink); font-size: 9px; }
.article-cover { overflow: hidden; aspect-ratio: 16/7; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 25px; padding-block: 38px 80px; }
.article-prose { font-size: 15px; }
.article-side { position: sticky; inset-block-start: 160px; }
.article-side strong { display: block; margin-block: 7px; font-family: var(--display); font-size: 16px; }
.article-side p { color: var(--ink-soft); font-size: 11px; }
.article-side a { display: inline-flex; gap: 6px; color: var(--lapis); font-size: 10px; font-weight: 900; }
.seo-content { margin-block-start: 55px; }

/* forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 25px; align-items: start; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px; }
.contact-form label { display: grid; gap: 7px; color: #465369; font-size: 11px; font-weight: 800; }
.contact-form label:has(textarea), .contact-form .primary-btn { grid-column: 1 / -1; }
.contact-form textarea { min-height: 150px; padding-block: 10px; resize: vertical; }
.field-error { color: var(--pomegranate); font-size: 9px; }
.contact-aside { min-height: 230px; }
.contact-aside a { display: block; direction: ltr; text-align: right; color: var(--lapis); font-weight: 800; }
.contact-aside p { color: var(--ink-soft); font-size: 11px; }

/* product comparison */
.hero-symbol--compare span { font-size: 24px; direction: ltr; }
.compare-section { padding-block-start: 55px; }
.compare-picker { display: grid; gap: 22px; padding: clamp(22px, 3vw, 34px); }
.compare-picker-heading h2 { margin: 6px 0 4px; font-family: var(--display); font-size: clamp(22px, 3vw, 32px); }
.compare-picker-heading p { margin: 0; color: var(--ink-soft); font-size: 12px; }
.compare-selects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.compare-selects label { min-width: 0; display: grid; gap: 6px; color: var(--ink-soft); font-size: 10px; font-weight: 800; }
.compare-selects select { width: 100%; min-width: 0; min-height: 48px; padding-inline: 11px; border: 1px solid var(--line); border-radius: 11px; outline: 0; color: var(--ink); background: #fbfcfe; }
.compare-selects select:focus { border-color: #8fa9dc; background: #fff; box-shadow: var(--shadow-focus); }
.compare-picker > .primary-btn { width: fit-content; min-width: 160px; }
.comparison-scroll { margin-block-start: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); scrollbar-color: #afc1df #eef3fa; }
.comparison-scroll:focus-visible { outline-offset: 4px; }
.comparison-table { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; text-align: center; }
.comparison-table th, .comparison-table td { padding: 15px 13px; border-block-end: 1px solid var(--line); border-inline-end: 1px solid var(--line); vertical-align: middle; }
.comparison-table tr:last-child th, .comparison-table tr:last-child td { border-block-end: 0; }
.comparison-table th:last-child, .comparison-table td:last-child { border-inline-end: 0; }
.comparison-table thead th { min-width: 210px; padding-block: 20px; background: #f8faff; }
.comparison-table thead th:first-child { width: 150px; min-width: 150px; color: var(--lapis-deep); background: var(--lapis-soft); font-family: var(--display); }
.comparison-table tbody th { width: 150px; color: #46546a; background: #fbfcfe; font-size: 11px; }
.comparison-table td { color: var(--ink-soft); font-size: 11px; }
.compare-product-head { display: grid; justify-items: center; gap: 10px; font-family: var(--display); font-size: 12px; line-height: 1.7; }
.compare-product-head:hover { color: var(--lapis); }
.compare-product-head img { width: 104px; height: 104px; object-fit: contain; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.comparison-price td strong { color: var(--ink); font-family: var(--display); font-size: 18px; }
.compare-discount { display: inline-grid; place-items: center; min-width: 48px; min-height: 34px; border-radius: 10px; color: var(--pomegranate); background: var(--pomegranate-soft); font-family: var(--display); font-weight: 900; }
.comparison-actions td { padding-block: 18px; }
.comparison-actions td > a { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding-inline: 18px; border-radius: 11px; color: #fff; background: var(--lapis); font-weight: 900; }
.comparison-actions td > a:hover { background: var(--lapis-deep); }
.comparison-actions small { display: block; margin-block-start: 6px; color: var(--ink-faint); font-size: 8.5px; }
.compare-note { margin: 13px 3px 0; color: var(--ink-faint); font-size: 10px; }
.compare-empty { margin-block-start: 28px; }

/* ads */
.ad-shell { width: min(calc(100% - 40px), var(--container)); min-height: 110px; margin: 28px auto; display: grid; place-items: center; align-content: center; border: 1px dashed #c8d2e0; border-radius: 16px; color: var(--ink-faint); background: rgba(255,255,255,.6); }
.ad-shell > span { font-size: 8px; letter-spacing: .5px; }
.ad-preview strong { color: var(--ink); }
.ad-preview small { font-family: var(--data); }

/* responsive */
@media (max-width: 1120px) {
  .header-main { grid-template-columns: auto minmax(300px, 1fr) auto; gap: 15px; }
  .brand-copy small, .header-guide { display: none; }
  .hero-layout { grid-template-columns: 1fr 420px; gap: 40px; }
  .hero h1 { font-size: 53px; }
  .category-rail { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .curated-grid { grid-template-columns: repeat(3, 1fr); }
  .curated-grid .product-card:first-child { grid-column: span 1; }
  .curated-grid .product-card:first-child .product-media { aspect-ratio: 1/.9; }
  .store-grid { grid-template-columns: repeat(4, 1fr); }
  .article-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr .7fr .8fr; }
  .footer-newsletter-wrap { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .announcement-inner { min-height: 42px; }
  .announcement p strong { display: none; }
  .header-main { min-height: 72px; grid-template-columns: auto 1fr auto; }
  .header-search { grid-column: 1 / -1; grid-row: 2; margin-block-end: 10px; }
  .menu-toggle { display: grid; }
  .site-header { position: relative; }
  .main-nav { display: none; border-block-start: 1px solid var(--line); }
  .main-nav.is-open { display: block; }
  .nav-inner { max-height: calc(100vh - 150px); overflow-y: auto; display: grid; align-content: start; gap: 3px; padding-block: 10px 15px; }
  .nav-inner > a { min-height: 43px; }
  .nav-admin { margin-inline-start: 0; }
  .hero-layout { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-block: 50px 65px; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-kicker { display: flex; width: 100%; max-width: 100%; justify-content: center; text-align: center; }
  .hero-kicker i { display: none; }
  .hero h1 { width: 100%; max-width: 100%; margin-inline: auto; text-align: center; font-size: clamp(39px, 8vw, 60px); }
  .hero h1 mark { display: inline-block; }
  .hero-quick-filters { grid-template-columns: repeat(2, 1fr); }
  .price-receipt { justify-self: center; transform: rotate(-.6deg); }
  .process-grid { grid-template-columns: 1fr 1fr 1fr; }
  .process-intro { grid-column: 1 / -1; min-height: 74px; border-block-end: 1px solid rgba(255,255,255,.13); }
  .process-step { min-height: 87px; padding: 14px; }
  .section { padding-block: 62px; }
  .category-rail { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .curated-grid, .listing-content .product-grid { grid-template-columns: repeat(2, 1fr); }
  .coupon-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: repeat(3, 1fr); }
  .article-grid, .article-grid--large { grid-template-columns: repeat(2, 1fr); }
  .newsletter-panel { grid-template-columns: auto 1fr; }
  .newsletter-panel form { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; gap: 25px; }
  .listing-layout { grid-template-columns: 1fr; padding-block-start: 20px; }
  .filter-toggle { min-height: 47px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #afc3e7; border-radius: 13px; color: var(--lapis); background: #fff; font-weight: 900; }
  .filter-toggle .icon { width: 18px; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .product-detail { grid-template-columns: 1fr; }
  .detail-image { position: relative; inset-block-start: auto; }
  .prose-layout, .article-body-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .form-layout { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .comparison-table { min-width: 820px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 22px), var(--container)); }
  .announcement-inner { justify-content: center; }
  .announcement a { display: none; }
  .brand-mark { width: 42px; height: 42px; border-radius: 13px 13px 13px 4px; }
  .brand-copy strong { font-size: 18px; }
  .header-main { gap: 9px; }
  .header-search { min-height: 48px; padding-inline-start: 12px; }
  .header-search kbd { display: none; }
  .header-search button { height: 37px; padding-inline: 12px; font-size: 11px; }
  .hero-pattern { mask-image: linear-gradient(to bottom, #000, transparent 70%); }
  .hero-layout { padding-block-start: 40px; }
  .hero-kicker { flex-wrap: wrap; }
  .hero h1 { max-width: 100%; margin: 14px auto 19px; text-align: center; font-size: clamp(32px, 11vw, 48px); line-height: 1.27; letter-spacing: -1.4px; }
  .hero h1 mark { display: inline-block; }
  .hero-copy > p { font-size: 15px; }
  .hero-search { min-height: auto; grid-template-columns: auto 1fr; padding: 9px 13px; border-radius: 17px; }
  .hero-search button { grid-column: 1 / -1; min-height: 47px; }
  .hero-quick-filters { grid-template-columns: 1fr 1fr; }
  .hero-trust { display: grid; gap: 6px; }
  .price-receipt { padding: 24px 20px 30px; box-shadow: 9px 14px 0 #eaf1ff, var(--shadow-md); }
  .receipt-product { grid-template-columns: 85px 1fr; }
  .receipt-total strong { font-size: 23px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { min-height: 70px; border-block-end: 1px solid rgba(255,255,255,.1); }
  .section { padding-block: 52px; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .section-heading h2 { font-size: 27px; }
  .category-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 9px; }
  .category-tile { min-width: 245px; scroll-snap-align: start; }
  .product-grid, .curated-grid, .listing-content .product-grid { grid-template-columns: 1fr; }
  .product-card { border-radius: 18px; }
  .product-media { aspect-ratio: 1/.82; }
  .product-detail-link { opacity: 1; transform: none; }
  .product-price strong { font-size: 22px; }
  .product-buy { width: auto; min-width: 100px; grid-template-columns: auto auto; gap: 6px; padding-inline: 12px; }
  .product-buy span { display: inline; font-size: 10px; font-weight: 900; }
  .coupon-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: repeat(2, 1fr); }
  .store-card { grid-template-columns: 42px 1fr; }
  .store-card img, .store-initial { width: 42px; height: 42px; }
  .store-card .icon { display: none; }
  .article-grid, .article-grid--large { grid-template-columns: 1fr; }
  .comparison-invite { margin-block: 22px -18px; align-items: stretch; flex-direction: column; padding: 21px 18px; }
  .comparison-invite .primary-btn { width: 100%; }
  .newsletter-band { padding-block: 50px; }
  .newsletter-panel { grid-template-columns: 1fr; padding: 26px 20px; text-align: center; }
  .newsletter-stamp { justify-self: center; }
  .newsletter-panel form { grid-template-columns: 1fr; }
  .newsletter-panel input { min-height: 45px; text-align: center; }
  .newsletter-panel button { min-height: 45px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro, .footer-newsletter-wrap { grid-column: 1 / -1; }
  .footer-bottom { align-items: start; flex-direction: column; justify-content: center; padding-block: 15px; }
  .page-hero-inner { min-height: 230px; align-items: flex-start; flex-direction: column; }
  .page-hero h1 { font-size: 34px; }
  .hero-symbol { display: none; }
  .page-hero-inner--entity { flex-direction: row; flex-wrap: wrap; }
  .entity-icon, .store-logo-large { width: 80px; height: 80px; border-radius: 20px 20px 20px 6px; }
  .page-hero-inner--entity > div:nth-child(2) { flex: 1; min-width: 200px; }
  .entity-count { margin-inline-start: 0; width: 100%; }
  .listing-toolbar { align-items: flex-start; flex-direction: column; }
  .listing-toolbar p { margin-block-start: -8px; }
  .inline-sort, .inline-sort label, .inline-sort select { width: 100%; }
  .product-detail { gap: 25px; padding-block-end: 55px; }
  .detail-image img { padding: 26px; }
  .product-info > h1 { font-size: 28px; }
  .purchase-receipt { padding: 17px; }
  .purchase-price strong { font-size: 30px; }
  .detail-stats { grid-template-columns: 1fr; }
  .detail-stats span { border-inline-end: 0; border-block-end: 1px solid var(--line); }
  .detail-stats span:last-child { border-block-end: 0; }
  .prose { padding: 22px 18px; }
  .article-header { text-align: right; }
  .article-header h1 { font-size: 34px; }
  .article-meta { justify-content: flex-start; }
  .article-cover { aspect-ratio: 4/3; border-radius: 18px; }
  .contact-form { grid-template-columns: 1fr; padding: 20px 16px; }
  .contact-form label, .contact-form .primary-btn { grid-column: 1; }
  .compare-selects { grid-template-columns: 1fr; }
  .compare-picker > .primary-btn { width: 100%; }
  .comparison-scroll { border-radius: 15px; }
  .pagination { flex-wrap: wrap; }
}

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

@media print {
  .announcement, .site-header, .site-footer, .back-top, .ad-shell, .buy-btn, .product-buy, .newsletter-band { display: none !important; }
  body { background: #fff; }
  .content-card, .product-card { box-shadow: none; }
}
