/* PromoLince. Plum #2B1740 to #5B2A5E, amber #FFC56B to #F08A3C, cream #FFE7B8.
   Fraunces for display, Plus Jakarta Sans for UI. */
/* Fonts served from our own domain (no request to Google). SIL Open Font License. */
/* 05/11/2026: Fraunces upright pinned at weight 600 (the only weight used): 35 KB instead of 67 KB, no preload.
   The "Fraunces fallback" face is Georgia scaled to the same width and line metrics, so the swap does not move text. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url(/assets/fonts/fraunces-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces fallback"; font-style: normal; font-weight: 600; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 94.1%; ascent-override: 104%; descent-override: 27.1%; line-gap-override: 0%; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/plus-jakarta-sans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --plum-900: #2B1740; --plum-700: #5B2A5E; --amber-300: #FFC56B; --amber-500: #F08A3C; --cream: #FFE7B8;
  --grad-brand: linear-gradient(135deg, #2B1740 0%, #5B2A5E 100%);
  --grad-amber: linear-gradient(135deg, #FFC56B 0%, #F08A3C 100%);
  --serif: "Fraunces", "Fraunces fallback", Georgia, "Times New Roman", serif;

  --bg: #FBF8F4; --surface: #FFFFFF; --surface-2: #F4EEF1; --photo: #F3EEEA; --ink: #2B1740; --muted: #6A5A70;
  --line: #EAE1E6; --link: #6B2F6E; --accent-text: #A84A12;
  --ok: #17663F; --ok-soft: #E2F4EA; --info: #5B2A5E; --info-soft: #F3E9F3; --warn: #8A4B00; --warn-soft: #FFF1DC;
  --focus: #F08A3C; --radius: 18px;
  --shadow: 0 1px 2px rgb(43 23 64 / .05), 0 6px 20px rgb(43 23 64 / .06);
  --shadow-hover: 0 2px 6px rgb(43 23 64 / .08), 0 16px 36px rgb(43 23 64 / .12);
  --s0: #C9601A; --s1: #5B2A5E; --s2: #17663F; --s3: #1F5FA8; --s4: #0F7C80; --s5: #5E6B12;
  --wm-promo: #2B1740; --wm-lince: #C9772E;
  --alt-bg: linear-gradient(135deg, #2B1740, #5B2A5E); --alt-ink: #FFF4E2;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C0F2C; --surface: #28163B; --surface-2: #35204B; --photo: #F3EEEA; --ink: #FFF4E2; --muted: #D3C2CF;
    --line: #432A58; --link: #FFC56B; --accent-text: #FFC56B; --ok: #7EDDA8; --ok-soft: #1F3A30; --info: #FFE7B8; --info-soft: #40264E;
    --warn: #FFC56B; --warn-soft: #4A2E1C; --shadow: 0 8px 24px rgb(0 0 0 / .25); --shadow-hover: 0 16px 36px rgb(0 0 0 / .4);
    --s0: #FFC56B; --s1: #E7A3E0; --s2: #7EDDA8; --s3: #8EC5FF; --s4: #6FE0E0; --s5: #D4E38A; --wm-promo: #FFF4E2; --wm-lince: #FFC56B;
    --alt-bg: #FFF4E2; --alt-ink: #2B1740; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C0F2C; --surface: #28163B; --surface-2: #35204B; --photo: #F3EEEA; --ink: #FFF4E2; --muted: #D3C2CF;
  --line: #432A58; --link: #FFC56B; --accent-text: #FFC56B; --ok: #7EDDA8; --ok-soft: #1F3A30; --info: #FFE7B8; --info-soft: #40264E;
  --warn: #FFC56B; --warn-soft: #4A2E1C; --shadow: 0 8px 24px rgb(0 0 0 / .25); --shadow-hover: 0 16px 36px rgb(0 0 0 / .4);
  --s0: #FFC56B; --s1: #E7A3E0; --s2: #7EDDA8; --s3: #8EC5FF; --s4: #6FE0E0; --s5: #D4E38A; --wm-promo: #FFF4E2; --wm-lince: #FFC56B;
  --alt-bg: #FFF4E2; --alt-ink: #2B1740; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scrollbar-color: color-mix(in srgb, var(--muted) 45%, var(--bg)) var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, li, dd { overflow-wrap: anywhere; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
img { max-width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
small, .small { font-size: .875rem; }

/* header */
header.site { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.65rem; letter-spacing: -.02em; line-height: 1; color: var(--wm-promo); text-decoration: none; white-space: nowrap; }
.brand i { font-style: italic; color: var(--wm-lince); }
nav.top { display: flex; align-items: center; gap: 2px; }
nav.top a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: .95rem; font-weight: 600; transition: background .15s, color .15s; white-space: nowrap; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.theme-btn { background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; width: 40px; height: 40px; cursor: pointer; font-size: 1rem; margin-left: 6px; flex: none; }
@media (max-width: 720px) { nav.top a.hide-sm { display: none; } .brand { font-size: 1.4rem; } nav.top a { padding: 8px 9px; } }

/* hero: short */
.hero { background: var(--grad-brand); color: #FFF4E2; padding: 44px 0 36px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgb(255 197 107 / .22), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 7vw, 3.9rem); line-height: 1.03; letter-spacing: -.025em; margin: 0 0 8px; color: #FFF4E2; }
.hero h1 em { font-style: italic; color: #FFC56B; }
.hero .lead { color: #EBD9E6; margin: 0 0 20px; font-size: 1.08rem; }
.searchbar { display: flex; gap: 6px; background: #FFFFFF; border-radius: 999px; padding: 6px; max-width: 720px; box-shadow: 0 12px 32px rgb(0 0 0 / .25); }
.searchbar input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font: inherit; font-size: 1.05rem; color: #2B1740; border-radius: 999px; }
.searchbar input::placeholder { color: #75667A; }
.searchbar input:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1px solid rgb(255 231 184 / .35); background: rgb(255 255 255 / .08); color: #FFF4E2; border-radius: 999px; padding: 6px 13px; font: inherit; font-size: .85rem; cursor: pointer; transition: background .15s, transform .15s; }
.chip:hover { background: rgb(255 231 184 / .16); }
.chip:active { transform: scale(.97); }

main { padding-bottom: 56px; }
main > .wrap { padding-top: 8px; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; margin: 8px 0 10px; }
h2 { font-size: clamp(1.35rem, 3.4vw, 1.75rem); margin: 0; line-height: 1.2; }
.h-sm { font-size: 1.2rem; margin: 26px 0 10px; }
p.lead { font-size: 1.08rem; color: var(--muted); margin: 0 0 16px; }
.page-head { padding: 24px 0 8px; }
.prose { max-width: 760px; }
.prose h2 { margin: 28px 0 10px; }
.prose li + li { margin-top: 8px; }
.rules dt { font-weight: 800; margin-top: 16px; }
.rules dd { margin: 4px 0 0; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px;
  font: inherit; font-weight: 800; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--grad-amber); color: #2B1740; box-shadow: 0 6px 16px rgb(240 138 60 / .28);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgb(240 138 60 / .36); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.secondary { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn.secondary:hover { border-color: var(--amber-500); }
.btn.alt { background: var(--alt-bg); color: var(--alt-ink); box-shadow: none; }
.band .btn.alt { background: #FFF4E2; color: #2B1740; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* shelves and product cards */
.shelf { margin-top: 40px; }
.shelf-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.shelf-head p { margin: 4px 0 0; }
.more { font-weight: 700; white-space: nowrap; }
.pgrid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pc { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.pc:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.pc:hover img { transform: scale(1.04); }
.pc:active { transform: translateY(-1px); }
.pc-badge { position: absolute; top: 10px; left: 10px; background: var(--plum-900); color: #FFF4E2; font-size: .74rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; flex: 1; }
.pc-brand { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.pc-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.2; margin: 2px 0 0; }
.pc-ml { font-size: .85rem; color: var(--muted); }
.pc-price { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.pc-price strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.pc-price span { font-size: .82rem; font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.pc-store { font-size: .8rem; color: var(--muted); }

/* photos: fixed square box on a soft neutral, contained image, monogram fallback */
.ph { position: relative; aspect-ratio: 1 / 1; background: var(--photo); display: grid; place-items: center; overflow: hidden; }
.ph img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s ease; }
.ph.noimg { background: var(--grad-brand); }
.ph.noimg::before { content: attr(data-mono); font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 3rem; color: #FFC56B; letter-spacing: -.02em; }
.ph-lg { border-radius: 22px; }
.ph-lg.noimg::before { font-size: 6rem; }

/* trust strip and band */
.trust { margin-top: 44px; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 860px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { background: var(--surface-2); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; }
.trust strong { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.trust span { font-size: .88rem; color: var(--muted); }
.band { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; background: var(--grad-brand); color: #EBD9E6; border-radius: var(--radius); padding: 18px 22px; }
.band p { margin: 0; }
.band strong { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: #FFF4E2; }

/* search results */
.results:empty { display: none; }
.results { margin-top: 24px; }
.res-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.res { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow); }
.res .ph { border-radius: 12px; }
.res .ph.noimg::before { font-size: 1.6rem; }
.res h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.res h3 a { color: var(--ink); text-decoration: none; }
.res h3 a:hover { text-decoration: underline; }
.res-best { margin: 2px 0 6px; font-size: .92rem; }
.res-best strong { font-size: 1.15rem; }
.res-stores { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .85rem; }
.res-stores a { font-weight: 700; }
.target { padding: 6px 10px; border-radius: 10px; font-weight: 600; font-size: .88rem; margin: 6px 0 0; display: inline-block; }
.target.ok { background: var(--ok-soft); color: var(--ok); }
.target.no { background: var(--surface-2); color: var(--ink); }

/* product page */
.crumbs { font-size: .88rem; color: var(--muted); margin: 18px 0 0; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; gap: 22px; margin-top: 14px; }
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; } .pdp-media { position: sticky; top: 84px; } }
.pdp-brand { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pdp-info h1 { margin: 4px 0 4px; }
.pdp-ml { color: var(--muted); font-weight: 500; }
.pdp-best { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 14px; box-shadow: var(--shadow); }
.aff-tag { font-size: .75rem; color: var(--muted); white-space: nowrap; margin-left: 6px; align-self: center; }
.also-at { margin: 10px 0 0; color: var(--muted); }
.btn.line-buy { display: inline-flex; min-height: 36px; padding: 6px 14px; font-size: .875rem; margin: 4px 0 0; }
.pdp-label { margin: 0 0 4px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-text); }
.summary { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; margin: 0 0 14px; }
.summary .big { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; }
.store-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.store-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.store-row.best { border: 2px solid var(--amber-500); }
.store-row.oos { opacity: .75; }
.sr-store { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sr-store strong { font-size: 1.02rem; }
.sr-meta { font-size: .82rem; color: var(--muted); }
.sr-labels { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.sr-price { text-align: right; display: flex; flex-direction: column; }
.sr-price strong { font-size: 1.25rem; font-weight: 800; white-space: nowrap; }
.sr-price span { font-size: .82rem; color: var(--accent-text); font-weight: 700; white-space: nowrap; }
.sr-buy { grid-column: 1 / -1; justify-self: start; min-height: 40px; padding: 8px 18px; }
@media (min-width: 560px) { .store-row { grid-template-columns: 1fr auto auto; } .sr-buy { grid-column: auto; justify-self: end; } }
.pdp-more { margin-top: 36px; max-width: 760px; }
.about { margin-top: 28px; }
.about summary { cursor: pointer; font-weight: 700; color: var(--muted); }

.badge { display: inline-block; font-size: .74rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; vertical-align: 1px; }
.badge.ok { background: var(--grad-amber); color: #2B1740; }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.muted { background: var(--surface-2); color: var(--muted); }

/* forms, cards, tables */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }
input[type="text"], input[type="email"] { width: 100%; min-height: 50px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 14px; }
.card input:focus-visible { border-color: var(--amber-500); outline: none; box-shadow: 0 0 0 4px rgb(240 138 60 / .3); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0; }
legend { font-weight: 700; padding: 0 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--amber-500); }
.hp { position: absolute; left: -10000px; }
.status { min-height: 1.5em; font-weight: 600; }
.status.err { color: var(--warn); }
.status.ok { color: var(--ok); }
.notice { border-left: 4px solid var(--amber-500); background: var(--info-soft); padding: 12px 16px; border-radius: 12px; }
.notice p { margin: 0; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; }
td.num, th.num { text-align: right; white-space: nowrap; }

/* chart */
.chart { width: 100%; height: auto; }
.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart .grid-line { stroke: var(--line); }
.chart .line.s0 { stroke: var(--s0); } .chart .line.s1 { stroke: var(--s1); } .chart .line.s2 { stroke: var(--s2); } .chart .line.s3 { stroke: var(--s3); }
.chart .dot.s0 { fill: var(--s0); } .chart .dot.s1 { fill: var(--s1); } .chart .dot.s2 { fill: var(--s2); } .chart .dot.s3 { fill: var(--s3); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .9rem; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }
.legend i.s0 { background: var(--s0); } .legend i.s1 { background: var(--s1); } .legend i.s2 { background: var(--s2); } .legend i.s3 { background: var(--s3); }
/* product price history: one step line per store (colour + dash, so colour is not the only cue) */
.chart .line { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .line.s1, .hist-legend .line.s1 { stroke-dasharray: 7 4; }
.chart .line.s2, .hist-legend .line.s2 { stroke-dasharray: 2 4; }
.chart .line.s3, .hist-legend .line.s3 { stroke-dasharray: 10 4 2 4; }
.chart .line.s4, .hist-legend .line.s4 { stroke-dasharray: 12 5; }
.chart .line.s5, .hist-legend .line.s5 { stroke-dasharray: 1 4; }
.chart .line.s4 { stroke: var(--s4); } .chart .line.s5 { stroke: var(--s5); } .chart .dot.s4 { fill: var(--s4); } .chart .dot.s5 { fill: var(--s5); }
.hist-legend .line { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.hist-legend .line.s0 { stroke: var(--s0); } .hist-legend .line.s1 { stroke: var(--s1); } .hist-legend .line.s2 { stroke: var(--s2); } .hist-legend .line.s3 { stroke: var(--s3); } .hist-legend .line.s4 { stroke: var(--s4); } .hist-legend .line.s5 { stroke: var(--s5); }
.chart text { font-size: 12px; }
.hist { margin-top: 24px; scroll-margin-top: 84px; } /* below the sticky header when the indicator links here */
.hist .muted.small { margin: 6px 0 0; }
.hist-box > summary { cursor: pointer; font-weight: 700; color: var(--link); padding: 8px 0; }
.hist-body { padding-top: 6px; }
.hist-legend { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: .9rem; }
.hist-legend li { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.hist-legend strong { font-weight: 800; }
.hist-legend .muted { font-size: .8rem; }
.hist-figure { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 8px 4px; max-width: 560px; }
.hist-data { margin-top: 10px; }
.hist-data summary { cursor: pointer; font-weight: 700; color: var(--link); }
.hist-table th[scope="row"] { font-weight: 600; white-space: nowrap; }
.hist-table td.muted { color: var(--muted); font-size: .85rem; }
/* the email alert form under Comprar: secondary weight */
.alert-form { margin-top: 14px; display: grid; gap: 8px; max-width: 420px; }
.alert-form[hidden] { display: none; }
.alert-form p { margin: 0; }
.alert-form input[type="email"], .alert-form input[type="text"] { max-width: 100%; }
.bf-form { margin: 24px 0; max-width: 520px; }
.guide-list .sr-store a { color: inherit; }
.btn.alt.pdp-alert { background: transparent; color: var(--ink); border: 2px solid var(--line); box-shadow: none; justify-self: start; white-space: normal; }
.btn.alt.pdp-alert:hover { border-color: var(--amber-500); }
.price-ind { margin: -6px 0 12px; font-size: .88rem; font-weight: 600; line-height: 1.35; }
.price-ind a { color: inherit; text-decoration: underline dotted; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.price-ind a:hover { text-decoration-style: solid; }
.price-ind.low, .price-ind.drop { color: var(--ok); }
.price-ind.above, .price-ind.same { color: var(--muted); }

/* footer */
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; padding: 28px 0 40px; background: var(--surface-2); }
.footer-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
footer.site .disclosure { color: var(--ink); font-weight: 700; }
footer.site p { margin: 6px 0; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; }
footer.site nav a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* badges inside the store column keep their own width */
.sr-store > .badge { align-self: flex-start; }

/* live suggestions under the search box */
.search-wrap { position: relative; max-width: 720px; }
.searchbar input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 16px 40px rgb(0 0 0 / .28); max-height: min(70vh, 460px); overflow-y: auto; text-align: left; }
.suggest[hidden] { display: none; }
.suggest li { margin: 0; }
.suggest a { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.suggest a:hover, .suggest [aria-selected="true"] a { background: var(--surface-2); }
.suggest .ph { border-radius: 10px; width: 48px; }
.suggest .ph.noimg::before { font-size: 1.1rem; }
.suggest .s-name { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.suggest .s-name small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.suggest .s-price { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.suggest .s-head { padding: 6px 10px 2px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.suggest .s-all { display: block; padding: 10px; text-align: center; font-weight: 700; color: var(--link); }
.maybe { margin-top: 18px; }
.maybe h2 { font-size: 1.05rem; }
@media (max-width: 520px) { .suggest a { grid-template-columns: 40px 1fr auto; } .suggest .ph { width: 40px; } }

/* filters: toolbar, chips and sheet (bottom sheet on phones) */
.filters:empty { display: none; }
.fbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 10px; }
.fbtn { padding: 9px 16px; }
.fcount { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; padding: 0 .35em; margin-left: 4px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: .8rem; }
.fsort select { font: inherit; font-size: .92rem; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 230px; }
.fres { color: var(--muted); font-size: .92rem; margin-left: auto; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fchip span { font-size: 1.05em; margin-left: 2px; }
.fclear { background: transparent; border-style: dashed; }
dialog.sheet { border: 0; padding: 0; width: min(560px, 100vw); max-height: min(86vh, 760px); border-radius: 22px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgb(0 0 0 / .35); }
dialog.sheet::backdrop { background: rgb(20 10 30 / .5); }
.sheet-form { display: flex; flex-direction: column; max-height: inherit; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 8px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; }
.sheet-x { font-size: 1.6rem; line-height: 1; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 4px 8px; }
.sheet-body { overflow-y: auto; padding: 8px 18px 12px; -webkit-overflow-scrolling: touch; }
.sheet-body fieldset { border: 0; padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line); }
.sheet-body legend { font-weight: 700; padding: 0 0 6px; }
.fopt { display: flex; align-items: center; gap: 8px; padding: 6px 0; min-height: 40px; }
.fopt small { margin-left: auto; color: var(--muted); }
.fopt input { width: 20px; height: 20px; accent-color: var(--plum-700); }
.fscroll { max-height: 220px; overflow-y: auto; }
.frange { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.frange label { display: grid; gap: 4px; font-size: .9rem; }
.frange input { font: inherit; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; }
.sheet-foot { display: flex; gap: 10px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; }
.linkish { background: none; border: 0; padding: 0; color: var(--link); text-decoration: underline; font: inherit; cursor: pointer; }
@media (max-width: 640px) {
  dialog.sheet { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 88vh; }
  dialog.sheet[open] { animation: sheet-up .22s ease-out; }
  .fres { margin-left: 0; width: 100%; }
}
@keyframes sheet-up { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { dialog.sheet[open] { animation: none; } }

/* product page on phones: smaller photo so the price and "Comprar" fit in the first screen (390x844) */
@media (max-width: 899px) {
  .pdp { gap: 10px; margin-top: 10px; }
  .pdp-media .ph-lg { width: min(52vw, 220px); margin: 0 auto; }
  .pdp-media .ph-lg.noimg::before { font-size: 3.4rem; }
  .pdp-best { margin-top: 10px; padding: 14px; }
}
/* 04/11/2026: 360 px phones and the Facebook in-app browser (about 360x640): the cheapest store button above the fold */
@media (max-width: 420px) {
  .crumbs:has(+ .pdp) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 10px; }
  .pdp-media .ph-lg { width: min(30vw, 140px); }
  .pdp-info h1 { font-size: 1.5rem; }
}

/* internal link lists: brand lines, articles */
.links-block { margin: 40px 0 0; }
.link-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px 22px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.link-list a { font-weight: 700; }
/* home: value props right under the hero */
.trust.trust-top { margin-top: 18px; }
.trust-top div { padding: 10px 14px; }
/* home small cards ("Mais procurados", "Marcas", "Mais comparações"): same surface, border and radius as the product cards */
.hcards, .brand-cards, .more-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); }
.hcards { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 10px; }
@media (min-width: 720px) { .hcards { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; } }
@media (max-width: 719px) { .hcards .hcard { padding: 12px; } .hcards .hc-price strong { font-size: 1.12rem; } }
.brand-cards { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 10px; }
.hcards li, .brand-cards li, .more-cards li { min-width: 0; }
.hcard { display: flex; flex-direction: column; gap: 2px; height: 100%; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.hcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--amber-500); }
.hcard:active { transform: translateY(0); }
.hc-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.hc-price { margin-top: auto; padding-top: 10px; font-size: .88rem; color: var(--muted); }
.hc-price strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.hc-meta { font-size: .85rem; color: var(--muted); }
.hcard .pc-brand { line-height: 1.3; }
.brand-cards .hcard { padding: 12px 14px; }
.more-cards .hc-meta { margin-top: 4px; }
/* home "Onde se poupa mais hoje": one row per perfume, stacks into a small card on phones */
.save-list { list-style: none; padding: 0; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.save-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name pill" "lo lo" "hi hi"; gap: 2px 12px; align-items: center; padding: 14px 16px; }
.save-row + .save-row { border-top: 1px solid var(--line); }
.save-name { grid-area: name; font-family: var(--serif); font-weight: 600; font-size: 1.05rem; line-height: 1.25; color: var(--ink); text-decoration: none; }
.save-name:hover { text-decoration: underline; }
.save-lo { grid-area: lo; font-size: .92rem; }
.save-lo strong { font-size: 1.12rem; font-weight: 800; white-space: nowrap; }
.save-hi { grid-area: hi; font-size: .85rem; color: var(--muted); }
.save-pill { grid-area: pill; justify-self: end; align-self: start; background: var(--grad-amber); color: #2B1740; font-size: .8rem; font-weight: 800; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
@media (min-width: 860px) {
  .save-row { grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.5fr) 9.5rem; grid-template-areas: "name lo hi pill"; gap: 16px; padding: 12px 18px; }
  .save-pill { align-self: center; }
}
footer.site nav.social { margin-top: 8px; }
.aff-line { margin: 4px 0 8px; }

/* Black Friday landing page: hero with promise, countdown and alert CTA above the fold at 390x844 */
.bf-hero { padding: 14px 0 26px; }
.bf-hero .crumbs { margin: 0 0 10px; color: #D8C3D4; }
.bf-hero .crumbs a { color: #D8C3D4; }
.bf-grid { display: grid; gap: 14px; }
.bf-kicker { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #FFC56B; }
.bf-hero h1 { font-size: clamp(1.9rem, 6.6vw, 3.4rem); margin: 0 0 10px; }
.bf-hero .lead { margin: 0; font-size: 1rem; }
.bf-count { background: #FFE7B8; color: #2B1740; border-radius: var(--radius); padding: 12px 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; box-shadow: 0 12px 32px rgb(0 0 0 / .22); }
.bf-count p { margin: 0; }
.bf-when { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.1; letter-spacing: -.02em; }
.bf-when strong { font-size: 2.2rem; color: #A84A12; }
.bf-date { font-size: .9rem; color: #5B2A5E; font-weight: 600; }
.bf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.bf-hero .btn.alt.bf-cta { background: var(--grad-amber); color: #2B1740; box-shadow: 0 8px 22px rgb(240 138 60 / .35); min-height: 52px; font-size: 1.05rem; }
.bf-search { color: #FFE7B8; font-weight: 700; }
@media (max-width: 560px) { .bf-actions .bf-cta { flex: 1 1 100%; } }
@media (min-width: 900px) {
  .bf-hero { padding: 22px 0 48px; }
  .bf-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 18px 48px; align-items: center; }
  .bf-copy { grid-column: 1; }
  .bf-count { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .bf-count { flex-direction: column; align-items: flex-start; padding: 22px 24px; }
  .bf-when { font-size: 1.9rem; } .bf-when strong { font-size: 3.4rem; }
  .bf-actions { grid-column: 1; }
}
.pc-low { margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 10px; padding: 4px 8px; }
.bf-band { margin-top: 32px; }
.bf-steps { list-style: none; counter-reset: bf; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .bf-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.bf-steps li { counter-increment: bf; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.bf-steps li::before { content: counter(bf); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); color: #FFC56B; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.bf-steps strong { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.bf-steps span { color: var(--muted); font-size: .95rem; }
.bf-legal { max-width: 760px; margin: 28px 0 0; }
.bf-faq { max-width: 760px; }
.bf-faq h3 { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; margin: 18px 0 4px; }
.bf-faq p { margin: 0; color: var(--muted); }
.nowrap { white-space: nowrap; }
/* "Procurar na Amazon": secondary, after the compared stores (build.mjs amazonSearchLink) */
.amz-search { margin: 8px 0 0; color: var(--muted); }
.amz-search a { color: inherit; text-decoration: underline; }

/* line page size table and product page versions (02/11/2026), mobile first */
.size-hero { margin: 18px 0 0; }
.size-hero h2 { margin: 0 0 4px; }
.size-hero h3 { margin: 18px 0 8px; }
.size-pick { background: var(--surface-2); border-radius: 14px; padding: 10px 14px; margin: 10px 0 12px; }
.size-pick p, .size-pick ul { margin: 0; }
.size-pick ul { padding-left: 20px; }
.size-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.size-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.size-row.best-ml { border: 2px solid var(--amber-500); }
.size-row.oos { opacity: .75; }
.sz-name { font-weight: 800; font-size: 1.02rem; }
.sz-price { text-align: right; }
.sz-price strong { font-size: 1.2rem; white-space: nowrap; }
.sz-ml { display: block; font-size: .82rem; color: var(--accent-text); font-weight: 700; white-space: nowrap; }
.sz-meta { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); }
.sz-buy { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; }
.sz-buy .btn.line-buy { white-space: normal; text-align: center; min-height: 44px; padding: 8px 18px; font-size: .95rem; }
.size-row .also-at { grid-column: 1 / -1; margin: 2px 0 0; }
@media (min-width: 640px) {
  .size-row { grid-template-columns: minmax(0, 1fr) auto auto; }
  .sz-meta { grid-column: 1 / 3; }
  .sz-buy { grid-column: 3; grid-row: 1 / span 2; justify-content: flex-end; }
  .size-row .also-at { text-align: right; }
}
.pv { margin: 14px 0 0; }
.pv h2 { margin: 0 0 8px; }
.pv-list { list-style: none; padding: 0; margin: 0 0 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding: 8px 12px; border-top: 1px solid var(--line); align-items: baseline; }
.pv-row:first-child { border-top: 0; }
.pv-row.cur { background: var(--surface-2); }
.pv-name { font-weight: 700; }
.pv-total { text-align: right; font-weight: 800; white-space: nowrap; }
.pv-ml { grid-column: 1 / -1; font-size: .82rem; color: var(--accent-text); font-weight: 700; }
@media (min-width: 560px) { .pv-row { grid-template-columns: minmax(0, 1fr) auto 12rem; } .pv-ml { grid-column: auto; text-align: right; } }

/* 03/11/2026: Black Friday cards with the store button, dates list, seasonal strip under the header */
.pc-cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pc-cell > .pc { flex: 1; }
.pc-buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.btn.pc-buy { display: inline-flex; width: 100%; justify-content: center; min-height: 40px; padding: 8px 10px; font-size: .84rem; white-space: normal; text-align: center; line-height: 1.2; }
.pc-buy-row .aff-tag { margin-left: 0; }
.bf-dates { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 18px; margin: 0; }
.bf-dates dt { font-weight: 800; margin-top: 8px; }
.bf-dates dd { margin: 0; }
@media (min-width: 640px) { .bf-dates { grid-template-columns: 11rem minmax(0, 1fr); } .bf-dates dt { margin-top: 0; } }
.season-strip { background: var(--plum-900); color: #FFF4E2; font-size: .88rem; }
.season-strip .wrap { padding-top: 7px; padding-bottom: 7px; text-align: center; }
.season-strip a { color: #FFE7B8; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
