/* MakeupPrice — layout: centred 1240px column, plum hero band, card lists; tokens below drive both themes */
.tile .pimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .badge { z-index: 1; }
.band.hero { background-image: linear-gradient(90deg, var(--band) 38%, transparent 72%), url("img/hero.jpg"); background-repeat: no-repeat; background-position: center, right center; background-size: auto, auto 100%; }
@media (max-width: 860px) { .band.hero { background-image: none; } }
.prose { max-width: 760px; padding-block: 40px 0; display: flex; flex-direction: column; gap: 14px; }
.prose h1 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.prose h2 { margin-top: 18px; font-size: 21px; font-weight: 800; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--accent-ink); }
.lede-dark { font-size: 18px; color: var(--muted) !important; }
.ph { background: var(--warn-bg); color: var(--warn-ink); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; order: 3; }
.foot-nav a { color: var(--band-ink); font-weight: 700; padding: 10px 0; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.tbl-real { min-width: 780px; }
.tbl-real .tr { grid-template-columns: 1.6fr 0.8fr 0.9fr 1fr 1.6fr 1.2fr; }
:root {
  --bg: #FBF7F8;
  --surface: #FFFFFF;
  --field: #FBF7F8;
  --line: #EFE6EA;
  --line-strong: #E2D5DC;
  --ink: #2A1B2E;
  --ink-2: #4E4251;
  --muted: #6E6170;
  --accent: #B0306A;
  --on-accent: #FFFFFF;
  --accent-ink: #A02A60;
  --accent-tint: #F8E6EE;
  --accent-soft: #FBF0F4;
  --band: #2A1B2E;
  --band-ink: #FFFFFF;
  --band-muted: #E3D6E6;
  --band-line: rgba(255, 255, 255, 0.3);
  --strong-bg: #2A1B2E;
  --strong-ink: #FFFFFF;
  --chip: #F1E8EC;
  --warn-bg: #FCEFD9;
  --warn-ink: #7A4500;
  --good-bg: #E2F0E7;
  --good-ink: #1D5A38;
  --bar: #E3CFD8;
  --tile-mix: 100%;
  --art-edge: transparent;
  --gold: #C9A86A;
  --shadow: 0 12px 30px rgba(42, 27, 46, 0.16);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141016;
    --surface: #1E1721;
    --field: #271F2B;
    --line: #2F2634;
    --line-strong: #3E3344;
    --ink: #F4EDF3;
    --ink-2: #D9CDD8;
    --muted: #B4A6B7;
    --accent: #E46A9F;
    --on-accent: #22101A;
    --accent-ink: #F29BC1;
    --accent-tint: #3A1D2C;
    --accent-soft: #2A1822;
    --band: #25192A;
    --band-ink: #FFFFFF;
    --band-muted: #D8C9DA;
    --band-line: rgba(255, 255, 255, 0.22);
    --strong-bg: #F4EDF3;
    --strong-ink: #1E1721;
    --chip: #2C2331;
    --warn-bg: #3A2A12;
    --warn-ink: #F2C47E;
    --good-bg: #16301F;
    --good-ink: #8FD3A8;
    --bar: #4A3A50;
    --tile-mix: 18%;
    --art-edge: rgba(255, 255, 255, 0.16);
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141016;
  --surface: #1E1721;
  --field: #271F2B;
  --line: #2F2634;
  --line-strong: #3E3344;
  --ink: #F4EDF3;
  --ink-2: #D9CDD8;
  --muted: #B4A6B7;
  --accent: #E46A9F;
  --on-accent: #22101A;
  --accent-ink: #F29BC1;
  --accent-tint: #3A1D2C;
  --accent-soft: #2A1822;
  --band: #25192A;
  --band-ink: #FFFFFF;
  --band-muted: #D8C9DA;
  --band-line: rgba(255, 255, 255, 0.22);
  --strong-bg: #F4EDF3;
  --strong-ink: #1E1721;
  --chip: #2C2331;
  --warn-bg: #3A2A12;
  --warn-ink: #F2C47E;
  --good-bg: #16301F;
  --good-ink: #8FD3A8;
  --bar: #4A3A50;
  --tile-mix: 18%;
  --art-edge: rgba(255, 255, 255, 0.16);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
a { color: var(--accent-ink); }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--strong-bg); color: var(--strong-ink); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
}

/* prototype notice */
.notice { background: var(--accent-tint); color: var(--accent-ink); font-size: 13px; font-weight: 700; text-align: center; }
.notice .wrap { padding-block: 7px; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--strong-bg); color: var(--strong-ink); display: grid; place-items: center; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; }
.nav a { padding: 11px 13px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; }
.nav a:hover { background: var(--chip); }
.nav a[aria-current="page"] { color: var(--accent-ink); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.country { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 10px 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.country select { border: 0; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; max-width: 190px; }

/* buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn-strong { background: var(--strong-bg); color: var(--strong-ink); border-color: var(--strong-bg); }
.btn-strong:hover { border-color: var(--strong-bg); opacity: 0.92; }
.btn-accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-accent:hover { border-color: var(--accent); opacity: 0.92; }
.btn-lg { min-height: 52px; font-size: 15px; border-radius: 14px; }
.btn[aria-pressed="true"].toggle { background: var(--accent-tint); color: var(--accent-ink); border-color: transparent; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none; }
.chip[aria-pressed="true"] { background: var(--strong-bg); color: var(--strong-ink); border-color: var(--strong-bg); }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--field); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-new { background: var(--strong-bg); color: var(--strong-ink); }
.badge-soon { background: var(--accent); color: var(--on-accent); }
.badge-drop { background: var(--accent-tint); color: var(--accent-ink); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tile-link { flex: none; display: block; border-radius: 14px; }

/* hero band */
.band { background: var(--band); color: var(--band-ink); }
.hero .wrap { display: flex; flex-direction: column; gap: 24px; padding-block: 56px 48px; }
.hero h1 { font-size: clamp(36px, 5.2vw, 62px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; max-width: 15ch; }
.hero .lede { font-size: 18px; line-height: 1.55; color: var(--band-muted); max-width: 62ch; }
.band-tight .wrap { padding-block: 14px; }

.searchbar { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; border-radius: 24px; background: var(--surface); color: var(--ink); }
.searchbar.compact { padding: 0; background: transparent; border-radius: 0; }
.field { flex: 1 1 160px; min-height: 62px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 8px 14px; border-radius: 14px; background: var(--field); cursor: text; }
.searchbar.compact .field { background: var(--surface); min-height: 58px; }
.field.grow2 { flex: 2 1 240px; }
.field > span { font-size: 12px; font-weight: 700; color: var(--muted); }
.field input, .field select { width: 100%; border: 0; padding: 0; background: transparent; font-size: 16px; font-weight: 700; }
.field select { cursor: pointer; }
.field input::placeholder { color: var(--muted); font-weight: 600; }
.field input:focus, .field select:focus { outline: none; }
.field:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.searchbar .btn-search { flex: 1 0 140px; min-height: 62px; border-radius: 14px; font-size: 17px; font-weight: 800; }
.hero-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.check { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex: none; }
.hero .check { color: var(--band-muted); }
.pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pop > span { font-size: 14px; font-weight: 700; color: var(--band-muted); margin-right: 4px; }
.pop .chip { background: transparent; color: var(--band-ink); border-color: var(--band-line); font-weight: 600; }

/* sections */
.section { padding-top: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.section-head a { padding: 12px 0; font-size: 15px; font-weight: 700; text-decoration: none; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.grid-cats { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }

/* product art */
.tile { --tint: #F6E7EC; background: color-mix(in srgb, var(--tint) var(--tile-mix), var(--field)); border-radius: 14px; display: grid; place-items: center; position: relative; overflow: hidden; }
.art { display: block; position: relative; flex: none; transform: scale(var(--s, 1)); }
.art i { position: absolute; display: block; box-shadow: 0 0 0 1px var(--art-edge); }
.art-lipstick, .art-bottle, .art-tube { width: 60px; height: 110px; }
.art-lipstick .a1 { left: 18px; top: 4px; width: 24px; height: 36px; background: var(--c1); clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 100%); box-shadow: none; }
.art-lipstick .a2 { left: 16px; top: 38px; width: 28px; height: 14px; border-radius: 2px; background: var(--gold); }
.art-lipstick .a3 { left: 13px; top: 51px; width: 34px; height: 56px; border-radius: 5px; background: var(--c2); }
.art-bottle .a1 { left: 22px; top: 2px; width: 16px; height: 22px; border-radius: 3px; background: var(--c2); }
.art-bottle .a2 { left: 25px; top: 22px; width: 10px; height: 7px; background: var(--gold); }
.art-bottle .a3 { left: 8px; top: 28px; width: 44px; height: 80px; border-radius: 12px; background: var(--c1); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.45), 0 0 0 1px var(--art-edge); }
.art-tube .a1 { left: 23px; top: 2px; width: 14px; height: 44px; border-radius: 7px 7px 2px 2px; background: var(--c2); }
.art-tube .a2 { left: 21px; top: 44px; width: 18px; height: 6px; background: var(--gold); }
.art-tube .a3 { left: 20px; top: 49px; width: 20px; height: 58px; border-radius: 3px 3px 8px 8px; background: var(--c1); }
.art-palette { width: 104px; height: 74px; padding: 9px; border-radius: 10px; background: var(--c2); display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; box-shadow: 0 0 0 1px var(--art-edge); }
.art-palette i { position: static; border-radius: 50%; box-shadow: none; }
.art-compact { width: 84px; height: 84px; padding: 10px; border-radius: 50%; background: var(--c2); box-shadow: 0 0 0 1px var(--art-edge); }
.art-compact i { position: static; width: 100%; height: 100%; border-radius: 50%; background: var(--c1); box-shadow: inset 0 -6px 0 rgba(0, 0, 0, 0.12); }

/* category + product cards */
.cat-card { padding: 14px 14px 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; text-align: center; cursor: pointer; font: inherit; }
.cat-card .tile { width: 100%; height: 120px; }
.cat-card strong { font-size: 17px; font-weight: 800; }
.cat-card small { font-size: 13px; color: var(--muted); }
.p-card { padding: 14px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-decoration: none; }
.p-card .tile { height: 170px; }
.p-card .tile .badge { position: absolute; top: 10px; left: 10px; }
.p-card .meta { display: flex; flex-direction: column; gap: 3px; }
.p-card .name { font-size: 16px; font-weight: 700; }
.p-card .line { font-size: 13px; color: var(--muted); }
.p-card .price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.was { font-size: 14px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
a.p-card:hover, a.cat-card:hover, button.cat-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }

/* how it works */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.step { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.step-icon { width: 42px; height: 42px; border-radius: 21px; background: var(--accent-tint); color: var(--accent-ink); display: grid; place-items: center; }
.step h3 { font-size: 18px; font-weight: 800; }
.step p { color: var(--muted); }
.stores { display: flex; flex-wrap: wrap; gap: 8px; }
.stores span { padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 700; }

/* footer */
.site-footer { margin-top: 72px; background: var(--band); color: var(--band-muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 32px; font-size: 13px; }
.site-footer strong { color: var(--band-ink); font-size: 15px; }
.site-footer p { max-width: 70ch; }

/* search layout */
.layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; padding-top: 28px; }
.filters { flex: 1 1 250px; padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; }
.filters-head::-webkit-details-marker { display: none; }
.filters-head::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.15s; }
details[open] > .filters-head::after { transform: rotate(-135deg); }
.filters-head .small { margin-left: auto; }
.fbody { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.fbody > .link-btn { align-self: flex-start; padding: 0; }
.filters-head h2 { font-size: 18px; font-weight: 800; }
.link-btn { min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--accent-ink); font-size: 14px; font-weight: 700; cursor: pointer; }
.fgroup { margin: 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.fgroup legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 800; }
.fgroup .check span:first-of-type { flex: 1; }
.fgroup .count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.chips .chip { min-height: 44px; padding: 0 12px; font-size: 13px; }
.results-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.results-head h1 { font-size: 26px; font-weight: 800; }
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.tab { min-height: 72px; padding: 12px 16px; border: 0; border-bottom: 3px solid transparent; background: var(--surface); text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 3px; cursor: pointer; min-width: 0; }
.tab + .tab { border-left: 1px solid var(--line); }
.tab strong { font-size: 15px; font-weight: 800; }
.tab span { font-size: 14px; font-weight: 600; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab[aria-pressed="true"] { border-bottom-color: var(--accent); background: var(--accent-soft); }
.alertbar { padding: 6px 6px 6px 16px; border-radius: var(--r-md); background: var(--accent-tint); display: flex; align-items: center; gap: 12px; color: var(--ink); }
.alertbar svg { color: var(--accent-ink); flex: none; }
.alertbar span { flex: 1; font-size: 14px; font-weight: 600; }
.switch { width: 64px; height: 44px; padding: 6px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; flex: none; }
.switch i { width: 52px; height: 32px; padding: 3px; border-radius: 16px; background: var(--line-strong); display: flex; justify-content: flex-start; transition: background 0.15s; }
.switch i::after { content: ""; width: 26px; height: 26px; border-radius: 13px; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.switch[aria-checked="true"] i { background: var(--accent); justify-content: flex-end; }

.row { padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.row .tile { width: 128px; height: 128px; flex: none; }
.row-info { flex: 999 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row-info .badges { display: flex; flex-wrap: wrap; gap: 6px; }
.row-info .badges:empty { display: none; }
.row-name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.row-name:hover { text-decoration: underline; }
.row-sub { font-size: 14px; color: var(--muted); }
.row-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.rating svg { color: var(--accent); }
.rating small { font-weight: 500; color: var(--muted); font-size: 13px; }
.row-price { flex: 1 1 190px; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.row-price .price { font-size: 28px; letter-spacing: -0.02em; }
.row-price .btn { margin-top: 6px; }
.empty { padding: 40px 24px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.empty strong { font-size: 18px; }
.fineprint { font-size: 12px; color: var(--muted); }

/* product page */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; padding-top: 8px; font-size: 13px; color: var(--muted); }
.crumbs a { padding: 12px 0; color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.p-hero { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 8px; }
.p-hero .tile { flex: 1 1 360px; min-height: 440px; border-radius: 28px; }
.p-hero .tile .badge { position: absolute; top: 18px; left: 18px; font-size: 12px; padding: 6px 12px; }
.p-info { flex: 1.2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.p-info h1 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.p-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.p-desc { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.shades { display: flex; flex-wrap: wrap; gap: 10px; }
.shade { width: 44px; height: 44px; padding: 0; border-radius: 22px; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; }
.shade[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.bestbox { padding: 18px 20px; border-radius: var(--r-lg); background: var(--band); color: var(--band-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.bestbox .eyebrow { color: var(--band-muted); }
.bestbox .big { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bestbox small { font-size: 14px; color: var(--band-muted); }
.savebox { padding: 10px 16px; border-radius: 14px; background: var(--accent); color: var(--on-accent); display: flex; flex-direction: column; align-items: center; font-weight: 800; }
.savebox small { font-size: 12px; color: inherit; font-weight: 700; }
.savebox span { font-size: 20px; font-variant-numeric: tabular-nums; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .grow { flex: 1 1 220px; }
.icon-btn { width: 52px; min-height: 52px; padding: 0; }
.icon-btn[aria-pressed="true"] { color: var(--accent); }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }

.table-wrap { overflow-x: auto; }
.table { min-width: 860px; }
.tr { display: grid; grid-template-columns: 1.7fr 0.8fr 1fr 0.8fr 1.4fr 0.8fr 1.3fr; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.tr.th { border-top: 0; padding-block: 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.tr.best { background: var(--accent-soft); }
.tr.flag { background: var(--warn-bg); color: var(--warn-ink); }
.store-cell { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; min-width: 0; }
.store-mark { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--chip); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.tr .total { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tr .small { font-size: 13px; }
.tr .flag-note { grid-column: span 3; font-size: 13px; font-weight: 600; line-height: 1.4; }

.two-col { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px; }
.two-col > .wide { flex: 999 1 560px; min-width: 0; }
.two-col > .narrow { flex: 1 1 320px; min-width: 0; }
.panel { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.panel-head h2 { font-size: 22px; font-weight: 800; }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--chip); }
.seg button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-size: 14px; font-weight: 700; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.verdict { padding: 14px 16px; border-radius: 14px; display: flex; gap: 12px; align-items: flex-start; }
.verdict .pill { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.verdict p { font-size: 15px; font-weight: 600; }
.v-buy { background: var(--good-bg); color: var(--good-ink); }
.v-buy .pill { background: var(--good-ink); color: var(--good-bg); }
.v-wait { background: var(--warn-bg); color: var(--warn-ink); }
.v-wait .pill { background: var(--warn-ink); color: var(--warn-bg); }
.v-fair, .v-soon { background: var(--chip); color: var(--ink); }
.v-fair .pill, .v-soon .pill { background: var(--strong-bg); color: var(--strong-ink); }
.chart-wrap { overflow-x: auto; }
.chart { min-width: 500px; }
.bars { height: 210px; display: flex; align-items: flex-end; gap: 10px; padding: 0 4px; border-bottom: 1px solid var(--line-strong); }
.bar { flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.bar b { width: 100%; max-width: 40px; border-radius: 8px 8px 0 0; background: var(--bar); }
.bar.low b { background: var(--accent); }
.bar.now b { background: var(--strong-bg); }
.bar.none b { background: transparent; border: 1px dashed var(--line-strong); border-bottom: 0; }
.bar span { font-size: 11px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar.low span, .bar.now span { color: var(--ink); }
.months { display: flex; gap: 10px; padding: 8px 4px 0; }
.months span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.world { display: flex; flex-direction: column; }
.world-row { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.world-row.th { border-top: 0; padding-top: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.world-row strong { font-variant-numeric: tabular-nums; }
.world-row .you { font-size: 12px; font-weight: 800; color: var(--accent-ink); }
.world-row .cheap { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--good-bg); color: var(--good-ink); font-size: 11px; font-weight: 800; }
.tip { padding: 12px 14px; border-radius: 12px; background: var(--accent-tint); color: var(--ink); font-size: 14px; }
.dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dl dt { font-size: 12px; font-weight: 700; color: var(--muted); }
.dl dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.dl .span2 { grid-column: span 2; }
.notsold { padding: 18px 20px; border-radius: var(--r-lg); background: var(--warn-bg); color: var(--warn-ink); display: flex; flex-direction: column; gap: 4px; }
.notsold strong { font-size: 17px; }

/* launches */
.page-head { padding-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.page-head p { font-size: 17px; color: var(--muted); max-width: 62ch; }
.l-row { padding: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.datebox { width: 64px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 10px 0; border-radius: 14px; background: var(--chip); color: var(--ink); }
.datebox.up { background: var(--accent); color: var(--on-accent); }
.datebox small { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.datebox b { font-size: 26px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.l-row .tile { width: 112px; height: 112px; flex: none; }
.l-row .art { --s: 0.9; }
.cal { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.cal h2 { font-size: 18px; font-weight: 800; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.cal-grid .wd { padding: 4px 0; font-size: 12px; font-weight: 700; color: var(--muted); }
.cal-grid .d { height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.cal-grid .d.on { background: var(--accent); color: var(--on-accent); font-weight: 800; }
.cal-list { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.cal-list div { display: flex; gap: 10px; font-size: 14px; }
.cal-list b { width: 52px; flex: none; color: var(--accent-ink); }

/* toast */
#toast { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none;
  padding: 0 max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.toast { pointer-events: auto; width: min(560px, 100%); padding: 10px 6px 10px 18px; border-radius: 16px; background: var(--strong-bg); color: var(--strong-ink); display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); }
.toast p { flex: 1; font-size: 14px; line-height: 1.45; }
.toast button { width: 44px; height: 44px; flex: none; border: 0; border-radius: 22px; background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }

@media (max-width: 560px) {
  .hero .wrap { padding-block: 36px 32px; }
  .tabs .tab { padding: 10px; }
  .tab span { font-size: 12px; }
  .row-price { align-items: flex-start; text-align: left; }
  .p-hero .tile { min-height: 320px; }
  .p-hero .tile .art { --s: 1.7 !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
