:root {
  color-scheme: light;
  --ink: #182137; --muted: #626d82; --line: #e5e9f1; --paper: #f6f8fc;
  --blue: #315cf5; --blue-dark: #2144c9; --blue-soft: #eef2ff; --white: #ffffff;
  --green: #18834b; --warning: #976415; --radius: 18px; --navy: #13263e; --accent: #d2e5ff; --gold: #cfb889;
  --list-green: #123f3d; --list-action: #17635b; --list-soft: #edf6f1;
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--ink); background: var(--paper); font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.measurement-choice { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 45; width: min(510px, calc(100vw - 40px)); padding: 20px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: center; border: 1px solid #cbd7e8; border-radius: 18px; background: #fff; box-shadow: 0 16px 48px #13263e30; }
.measurement-choice > div { grid-column: 1 / -1; }
.measurement-choice strong { color: var(--navy); font-size: 1rem; }
.measurement-choice p { margin: 4px 0 0; color: var(--muted); font-size: .875rem; }
.measurement-choice button { min-height: 42px; border: 1px solid var(--line); border-radius: 10px; background: var(--blue-soft); color: var(--navy); padding: 9px 12px; cursor: pointer; font-size: .875rem; }
.measurement-choice [data-measure-yes] { border-color: var(--navy); background: var(--navy); color: #fff; font-weight: 650; }
.measurement-choice a { color: var(--muted); font-size: .8125rem; text-decoration: underline; text-underline-offset: 2px; }
.measurement-status { max-width: 1320px; margin: 0 auto; padding: 0 24px; color: var(--muted); font-size: .85rem; }
.measurement-status:empty { display: none; }
.active-filters { color: var(--muted); font-size: .85rem; }
.active-filters:empty { display: none; }
.report-link { border: 0; background: none; color: var(--muted); font-size: .8rem; padding: 12px 0 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.max-stores { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: .9rem; }
.max-stores select { padding: 9px; border: 1px solid var(--line); border-radius: 8px; max-width: 100%; background: #fff; color: var(--ink); }
.privacy-main { max-width: 800px; margin: 48px auto; padding: 0 24px 32px; }
.privacy-main h2 { margin-top: 32px; font-size: 1.3rem; }
.privacy-main p { color: var(--muted); }
@media(max-width: 700px) { .measurement-choice { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); width: auto; padding: 16px; grid-template-columns: 1fr 1fr; } .measurement-choice a { grid-column: 1 / -1; } body:has(#mobile-list:not([hidden])) .measurement-choice { bottom: calc(82px + env(safe-area-inset-bottom)); } }
body { margin: 0; font-size: 1rem; line-height: 1.5; }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #7190ff; outline-offset: 4px; }
input { accent-color: var(--blue); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 24px; top: -100px; background: var(--blue); color: white; padding: 12px 20px; z-index: 100; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.header { height: 84px; padding: 0 max(32px, calc((100vw - 1440px) / 2)); display: flex; align-items: center; gap: 48px; border-top: 3px solid var(--gold); border-bottom: 1px solid #ffffff16; background: #13263e; color: #fff; box-shadow: 0 4px 20px #13263e10; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 750; letter-spacing: -.8px; font-size: 1.35rem; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo-light { font-weight: 400; }
.logo-wordmark { line-height: 1.12; }
.logo-wordmark small { display: block; margin-top: 6px; color: #d4c19c; font-size: .75rem; font-weight: 500; letter-spacing: .06em; }
.logo-mark { width: 42px; height: 42px; display: grid; place-content: center; background: transparent; border: 1px solid #cfb88980; border-radius: 12px; color: white; font-size: 1.65rem; font-weight: 650; position: relative; letter-spacing: -2px; padding-right: 3px; }
.logo-mark span { color: var(--gold); position: absolute; right: 6px; top: 0; font-size: 20px; }
.header nav { align-self: stretch; display: flex; gap: 28px; align-items: stretch; font-size: .875rem; }
.header nav a, .nav-link { border: 0; background: transparent; padding: 28px 0; display: flex; align-items: center; color: #d0dcee; }
.header nav a:hover, .header .nav-link:hover { color: #fff; text-decoration: none; }
.header nav .nav-active { color: #fff; border-bottom: 2px solid var(--gold); font-weight: 650; }
.list-shortcut { margin-left: auto; display: flex; align-items: center; gap: 10px; border: 1px solid #ffffff38; background: #ffffff0d; border-radius: 10px; padding: 9px 13px; font-size: .875rem; font-weight: 600; white-space: nowrap; transition: background .15s; }
.list-shortcut:hover { background: #ffffff1c; text-decoration: none; }
.list-shortcut svg { width: 19px; height: 19px; }
.list-shortcut > span { border-radius: 5px; padding: 0 6px; background: var(--blue-soft); color: var(--blue); font-size: .75rem; }
main { max-width: 1440px; margin: 0 auto; padding: 0 32px; }
.page-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 30px 0 24px; }
.eyebrow { font-size: .75rem; letter-spacing: 1.5px; font-weight: 650; color: var(--muted); }
.page-heading h1 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.18; font-weight: 660; letter-spacing: -1.25px; margin: 10px 0 12px; }
.page-heading h1 span { color: var(--blue); }
.page-heading p { margin: 0; color: var(--muted); }
.pilot-label { display: flex; gap: 13px; align-items: center; color: var(--muted); font-size: .8125rem; padding: 16px 20px; border: 1px solid #dce5f3; background: #ffffffa8; border-radius: 14px; box-shadow: 0 4px 18px #18365a04; }
.pilot-label strong, .pilot-label span:not(.pilot-icon) { display: block; }
.pilot-label strong { color: var(--ink); margin-bottom: 4px; font-size: .875rem; font-weight: 600; }
.pilot-icon { font-size: 25px; color: #8c98b2; }
.data-notice { display: flex; align-items: center; gap: 10px; border: 1px solid #e0e7fd; border-radius: 10px; background: #f0f4ff; color: #4d5e87; font-size: .875rem; padding: 11px 15px; }
.data-notice.is-old { background: #fff8e9; border-color: #f1e0bb; color: #81602c; }
.notice-symbol { border: 1px solid currentColor; border-radius: 50%; width: 17px; height: 17px; display: inline-grid; place-content: center; font-size: 12px; flex-shrink: 0; font-weight: 600; }
.text-link { border: 0; background: none; color: var(--blue); font-size: .875rem; font-weight: 600; padding: 3px 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.data-notice .text-link { margin-left: auto; white-space: nowrap; }
.quick-list-banner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 16px 0; padding: 15px 18px; border: 1px solid #cbd7ff; border-radius: 12px; background: linear-gradient(100deg,#edf2ff,#f8faff); color: var(--ink); text-align: left; }
.quick-list-banner span { display: grid; gap: 2px; }
.quick-list-banner strong { font-size: .9375rem; }
.quick-list-banner small { color: var(--muted); font-size: .8125rem; }
.quick-list-banner b { color: var(--blue); font-size: .875rem; white-space: nowrap; }
.quick-list-banner:hover { border-color: #8da5ff; box-shadow: 0 5px 18px #315cf512; }
.controls { margin: 24px 0 17px; }
.search-row { display: flex; gap: 12px; }
.search { display: flex; align-items: center; gap: 12px; background: white; border: 1px solid #dce2ed; border-radius: 12px; flex: 1; padding: 0 17px; box-shadow: 0 2px 3px #18213703; }
.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px #315cf512; }
.search svg { width: 22px; height: 22px; color: #8b95a9; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; height: 54px; border: 0; background: none; outline: none; font-size: 1rem; color: var(--ink); }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: #7e899d; }
.search kbd { font: 13px inherit; border: 1px solid var(--line); border-radius: 4px; padding: 1px 7px; color: #929cad; }
.category select { border: 1px solid #dce2ed; border-radius: 12px; height: 56px; background: white; color: var(--ink); padding: 0 38px 0 17px; font-size: .875rem; max-width: 100%; }
.filter-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; }
.filter-label { color: var(--muted); font-size: .875rem; }
.store-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.store-filter { cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 11px; background: white; border: 1px solid #e0e5ee; border-radius: 8px; font-size: .875rem; transition: border-color .15s, background .15s; }
.store-filter:hover { border-color: #a2b4f8; }
.store-filter:has(input:checked) { border-color: #cbd5fb; background: #f6f8ff; }
.store-filter input { width: 15px; height: 15px; margin: 0; }
.store-dot { display: inline-block; background: var(--store); width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.workspace { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 26px; align-items: start; }
.catalog-area { min-width: 0; }
.results-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; font-size: .875rem; color: var(--muted); padding: 12px 0 16px; flex-wrap: wrap; }
.results-head > span { color: var(--ink); font-weight: 600; }
.catalog-order { margin: -7px 0 18px; color: var(--muted); font-size: .875rem; }
.check { display: flex; align-items: center; gap: 6px; font-size: .8125rem; }
.check input { width: 15px; height: 15px; margin: 0; }
.products { display: flex; flex-direction: column; gap: 24px; }
.product { --best-soft: #f1f9f4; --best-line: #abd3bb; background: var(--white); border: 1px solid #dfe6f0; border-radius: var(--radius); padding: 24px; box-shadow: 0 5px 22px #18213707; }
.product-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.product-identity { min-width: 0; flex: 1; }
.product-brand { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .875rem; }
.product-brand > span { color: #b4bdca; }
.product h2 { margin: 0 0 9px; font-size: 1.25rem; line-height: 1.4; letter-spacing: -.45px; font-weight: 650; overflow-wrap: anywhere; }
.product-brand .pack { color: var(--muted); white-space: nowrap; }
.product-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.coverage-badge { display: inline-flex; padding: 4px 9px; border-radius: 6px; color: var(--muted); background: #f2f4f8; font-size: .8125rem; }
.coverage-badge.is-complete { background: var(--blue-soft); color: #2949ba; }
.product-badges .product-selected { margin: 0; }
.product-selected { display: inline-block; font-size: .75rem; color: var(--blue); border-radius: 6px; margin-top: 9px; height: fit-content; }
.product-saving { flex: 0 0 174px; text-align: right; padding-left: 18px; border-left: 1px solid var(--line); }
.product-saving > span { display: block; color: var(--green); font-size: .75rem; font-weight: 550; }
.product-saving > strong { display: block; color: var(--green); font-size: 1.5rem; font-weight: 650; letter-spacing: -.6px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.product-saving > small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.offer-grid { display: grid; grid-template-columns: repeat(var(--offer-count,5),minmax(0,1fr)); gap: 10px; }
.offer { border: 1px solid #e5e9f0; border-radius: 12px; background: #fafbfd; min-width: 0; display: flex; flex-direction: column; transition: border-color .18s, box-shadow .18s, transform .18s; }
.offer:has(.offer-choice:not(:disabled)):hover { border-color: #a5b5f8; box-shadow: 0 5px 14px #18213709; transform: translateY(-2px); }
.offer.is-best { background: var(--best-soft, #f1f9f4); border-color: var(--best-line, #abd3bb); }
.offer.is-selected { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: #f5f7ff; }
.offer.is-selected.is-best { background: var(--best-soft, #f1f9f4); }
.offer.is-selected:hover { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 5px 14px #18213709; }
.offer-choice { border: 0; padding: 14px 10px 0; display: flex; flex-direction: column; flex: 1; width: 100%; text-align: left; background: none; border-radius: 11px; }
.offer-shop { display: flex; align-items: center; gap: 5px; width: 100%; font-size: .875rem; font-weight: 500; color: var(--muted); line-height: 1.3; min-height: 20px; }
.selection-indicator { margin-left: auto; height: 15px; width: 15px; border-radius: 50%; border: 1px solid #d7deeb; color: white; font-size: 10px; display: inline-grid; place-content: center; flex-shrink: 0; }
.is-selected .selection-indicator { border-color: var(--blue); background: var(--blue); }
.offer-highlight { display: flex; align-items: center; min-height: 37px; padding: 9px 0 5px; }
.best-chip { display: inline-block; border-radius: 5px; padding: 2px 6px; background: #e0f1e6; color: #176e42; font-size: .75rem; font-weight: 600; line-height: 1.4; }
.offer-price { font-size: clamp(1.3rem, 1.8vw, 1.65rem); letter-spacing: -.7px; font-weight: 670; white-space: nowrap; line-height: 1.3; font-variant-numeric: tabular-nums; }
.is-best .offer-price { color: #176e42; }
.price-gap { display: block; color: var(--muted); font-size: .75rem; line-height: 1.45; min-height: 39px; padding-top: 5px; font-variant-numeric: tabular-nums; }
.offer-status { font-size: .75rem; color: var(--muted); line-height: 1.4; min-height: 38px; display: flex; align-items: center; padding: 5px 0 9px; }
.best-text { color: var(--green); font-weight: 600; }
.warning-text { color: var(--warning); }
.choose-label { margin-top: auto; border: 1px solid #d9e1fc; border-radius: 8px; background: var(--white); font-size: .875rem; font-weight: 600; color: var(--blue); text-align: center; padding: 8px 3px; width: 100%; }
.is-best .choose-label { background: var(--blue); color: white; border-color: var(--blue); }
.is-best .offer-choice:not(:disabled):hover .choose-label { background: var(--blue-dark); color: white; }
.offer-choice:not(:disabled):hover .choose-label { background: #e5ebff; color: var(--blue); }
.is-selected .choose-label, .is-selected .offer-choice:hover .choose-label { background: var(--blue); border-color: var(--blue); color: white; }
.is-unavailable { background: #fafbfc; }
.is-unavailable .offer-choice { color: #7e899c; }
.is-unavailable .choose-label { background: #f0f1f4; color: #737d8e; font-size: .75rem; }
.source-link { display: flex; justify-content: center; gap: 5px; color: #52658a; font-size: .875rem; padding: 11px 3px 12px; border-radius: 8px; }
.source-link:hover { color: var(--blue); }
.offer-choice:focus-visible { outline-offset: -3px; outline: 3px solid #7190ff; }
.source-details { margin-top: 17px; border-top: 1px solid #edf0f5; padding-top: 12px; }
.source-details summary { color: var(--muted); font-size: .8125rem; width: fit-content; }
.source-line { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.source-line > span { color: var(--muted); font-size: .75rem; margin-left: 10px; }
.source-line p { margin: 5px 0; }
.source-line small { display: block; color: var(--muted); font-size: .75rem; }
.basket { --blue: var(--list-action); --blue-soft: var(--list-soft); margin-top: 48px; border: 1px solid #285954; border-top: 3px solid var(--gold); border-radius: var(--radius); background: var(--list-green); color: #fff; padding: 23px; box-shadow: 0 12px 34px #123f3d20; position: sticky; top: 22px; max-height: calc(100vh - 44px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: #83aca1 var(--list-green); scroll-margin-top: 20px; }
.basket:focus { outline: none; }
.basket-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.basket-header .eyebrow { font-size: .75rem; letter-spacing: 1px; color: #d7c59e; }
.basket h2 { font-size: 1.65rem; letter-spacing: -.6px; line-height: 1.2; margin: 5px 0 0; font-weight: 630; }
.count-badge { display: grid; place-content: center; min-width: 38px; height: 38px; padding: 0 9px; border-radius: 11px; background: #e5d4af; color: #243d36; font-size: .9375rem; font-weight: 650; }
.basket-intro { color: #d0e2db; margin: 13px 0 20px; font-size: .875rem; line-height: 1.65; }
.empty-list { text-align: center; background: var(--list-soft); color: var(--ink); border: 1px solid #d4e7df; border-radius: 12px; padding: 30px 20px; }
.empty-list svg { width: 44px; height: 44px; color: var(--list-action); stroke-width: 1.4; }
.empty-list h3 { font-size: 1rem; margin: 10px 0 8px; font-weight: 600; }
.empty-list p { font-size: .875rem; color: var(--muted); margin: 0; }
.empty-list strong { font-weight: 600; color: var(--blue); }
.basket-group { padding: 12px 14px; margin-bottom: 14px; border: 1px solid #dbe9e3; border-radius: 12px; background: #fff; color: var(--ink); }
.transfer-button, .transfer-confirm { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1px solid #244773; border-radius: 10px; background: var(--navy); color: #fff; padding: 12px 14px; font-size: .875rem; font-weight: 600; line-height: 1.5; text-align: left; }
.transfer-button { margin: 14px 0 7px; }
.transfer-button:hover, .transfer-confirm:hover { background: #254775; text-decoration: none; }
.transfer-button > span, .transfer-confirm > span { font-size: 1.15rem; }
.transfer-unavailable { margin: 12px 0; color: var(--muted); font-size: .8125rem; line-height: 1.6; }
.transfer-dialog { width: min(620px, calc(100vw - 40px)); }
.transfer-dialog .eyebrow { color: #375e91; }
.transfer-dialog .transfer-summary { margin: 16px 0; color: var(--blue); font-weight: 600; }
.transfer-items { list-style: none; padding: 0; margin: 0; border-block: 1px solid var(--line); }
.transfer-items li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 0; }
.transfer-items li + li { border-top: 1px solid var(--line); }
.transfer-items strong { display: block; font-size: .9375rem; font-weight: 550; overflow-wrap: anywhere; }
.transfer-items small { color: var(--muted); font-size: .875rem; }
.transfer-items b { flex-shrink: 0; padding: 3px 9px; background: var(--blue-soft); border-radius: 6px; color: #2949ba; font-size: .875rem; }
.transfer-dialog .transfer-caution { padding: 13px 15px; border-radius: 10px; background: #f2f5fa; color: #46556e; font-size: .875rem; line-height: 1.7; }
.transfer-issues { background: #fff6e6; color: #785718; border: 1px solid #ecdab5; border-radius: 10px; padding: 16px; margin: 16px 0; font-size: .875rem; }
.transfer-issues p { margin: 6px 0; }
.transfer-issues ul { padding-left: 18px; margin-bottom: 0; }
.transfer-issues li { margin-top: 10px; }
.transfer-issues li span { display: block; }
.transfer-actions { display: grid; gap: 10px; }
.transfer-part { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.transfer-opened { color: #256044; font-size: .875rem; font-weight: 600; padding: 10px 0; }
.transfer-dialog .transfer-status { color: var(--muted); font-size: .875rem; margin-bottom: 0; }
.transfer-status:empty { display: none; }
.group-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .875rem; padding: 9px 10px; background: #f6f8fc; border: 1px solid #edf0f5; border-radius: 8px; }
.group-heading > span { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.group-heading > strong { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.basket-item { padding: 13px 2px 9px; }
.basket-item + .basket-item { border-top: 1px solid #edf0f5; }
.basket-item-top { display: flex; align-items: flex-start; gap: 9px; justify-content: space-between; }
.basket-item-top > a { font-size: .875rem; font-weight: 550; line-height: 1.4; overflow-wrap: anywhere; }
.basket-item-top > a > span { color: var(--blue); }
.remove-item { width: 24px; height: 24px; flex-shrink: 0; background: none; border: 0; color: #8893a8; font-size: 22px; line-height: 1; padding: 0; border-radius: 5px; }
.remove-item:hover { background: #fff0f0; color: #ad3939; }
.item-meta { font-size: .75rem; color: var(--muted); margin: 5px 0 10px; }
.item-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.change-store { border: 0; background: none; color: var(--blue); font-size: .875rem; padding: 5px 0; }
.change-store:hover { text-decoration: underline; }
.quantity { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 6px; font-size: .875rem; overflow: hidden; }
.quantity button { background: white; border: 0; width: 28px; height: 29px; font-size: 17px; padding: 0; }
.quantity button:hover { background: var(--blue-soft); }
.quantity button:disabled { opacity: .4; }
.quantity > span { min-width: 21px; text-align: center; }
.delivery { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0 20px; font-size: .875rem; }
.delivery label > span { display: block; color: var(--muted); font-size: .75rem; margin-top: 3px; }
.money-input { display: flex; align-items: center; border: 1px solid #dfe5ef; border-radius: 7px; padding-left: 9px; flex-shrink: 0; }
.money-input > span { color: var(--muted); font-size: .75rem; }
.money-input input { width: 57px; background: white; border: 0; color: var(--ink); padding: 7px 2px 7px 6px; border-radius: 7px; font-size: .875rem; }
.total-line { display: flex; justify-content: space-between; gap: 10px; font-size: .875rem; color: var(--muted); padding: 4px 0; }
.total-line > span:last-child { color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; }
.grand-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 13px 0 0; margin-top: 8px; border-top: 1px solid var(--line); }
.grand-total > span { font-size: .875rem; font-weight: 600; }
.grand-total > strong { color: var(--blue); font-size: 1.65rem; font-weight: 650; letter-spacing: -.7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.total-note { font-size: .75rem; color: var(--muted); line-height: 1.6; }
.basket-warning { color: #865c17; background: #fff6e5; border-radius: 7px; padding: 10px; font-size: .8125rem; }
.alternative { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 17px 0 6px; }
.alternative summary { font-size: .8125rem; font-weight: 550; }
.alternative > p { color: var(--muted); font-size: .75rem; }
.mix-winner { margin: 12px 0 18px; padding: 17px; border: 1px solid #b8e3c9; border-radius: 12px; background: linear-gradient(145deg,#f1fbf5,#e8f8ef); color: #174a2d; }
.mix-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 5px; }
.mix-heading strong { font-size: 1.15rem; }
.mix-heading span { font-size: 1.55rem; font-weight: 750; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mix-winner > p { margin: 5px 0 13px; color: #267347; font-size: .8125rem; line-height: 1.5; }
.mix-groups { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid #ccebd8; }
.mix-groups > span { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 7px; font-size: .8125rem; }
.mix-groups small { color: #557462; }
.apply-mix { width: 100%; margin: 8px 0 9px; border: 0; border-radius: 8px; padding: 10px 12px; background: #198754; color: white; font-size: .875rem; font-weight: 650; }
.apply-mix:hover { background: #116b41; }
.mix-winner > small { display: block; color: #64816e; font-size: .6875rem; }
.mix-unavailable { margin: 12px 0 18px; padding: 13px; border-radius: 9px; background: #f5f7fb; color: var(--muted); font-size: .8125rem; }
.single-store-label { margin: 18px 0 8px; color: var(--muted); font-size: .6875rem; font-weight: 700; letter-spacing: .65px; }
.basket-winner { margin: 12px 0 10px; padding: 16px; border-radius: 12px; background: linear-gradient(135deg,#244fe8,#315cf5); color: white; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; box-shadow: 0 8px 22px #315cf526; }
.winner-kicker { grid-column: 1 / -1; font-size: .6875rem; font-weight: 700; letter-spacing: .7px; opacity: .78; }
.basket-winner > strong { font-size: 1.12rem; align-self: end; }
.winner-total { grid-column: 2; grid-row: 2 / 4; font-size: 1.45rem; font-weight: 700; align-self: center; white-space: nowrap; font-variant-numeric: tabular-nums; }
.winner-saving { font-size: .8125rem; font-weight: 600; color: #dfffbf; }
.basket-winner > small { grid-column: 1 / -1; margin-top: 7px; font-size: .6875rem; opacity: .72; }
.alternative-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .875rem; padding: 10px 7px; border-radius: 6px; }
.alternative-row small { display: block; color: var(--muted); font-size: .75rem; }
.lowest-total { background: var(--blue-soft); color: var(--blue); }
.split-note { font-size: .8125rem; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.clear-button { display: block; border: 0; background: none; color: var(--muted); font-size: .8125rem; padding: 12px 0 3px; margin: 0 auto; }
.clear-button:hover { color: #a83333; }
.save-note { text-align: center; font-size: .75rem; color: #7a8599; margin-top: 18px; padding-top: 15px; border-top: 1px solid #eef1f6; }
/* The shopping list has its own emerald surface, with light cards for reading. */
.basket .group-heading { background: #edf4f0; border-color: #dbe9e3; color: #24473f; }
.basket .transfer-button { background: var(--list-action); border-color: var(--list-action); }
.basket .transfer-button:hover { background: #104a44; border-color: #104a44; }
.basket .delivery { padding-top: 7px; }
.basket .delivery label > span { color: #d0e2db; font-size: .875rem; }
.basket .money-input { background: #fff; border-color: #bcd4ca; }
.basket #chosen-total { padding: 15px; border: 1px solid #c5ddd1; border-radius: 12px; background: #edf6f1; color: var(--ink); }
.basket .grand-total { border-color: #c8ddd3; flex-wrap: wrap; gap: 5px 10px; }
.basket #basket-summary > .total-note { color: #d0e2db; font-size: .875rem; }
.basket .alternative { background: #fff; color: var(--ink); border: 1px solid #dbe9e3; border-radius: 12px; padding: 16px 12px; }
.basket .alternative summary { font-size: .875rem; font-weight: 650; }
.basket .alternative > p { font-size: .875rem; line-height: 1.6; }
.basket .mix-winner { padding: 13px; background: #edf6f1; border-color: #c9e0d3; }
.basket .mix-groups > span { grid-template-columns: auto minmax(0,1fr); font-size: .875rem; }
.basket .mix-groups small { grid-column: 2; font-size: .8125rem; }
.basket .mix-heading { flex-wrap: wrap; gap: 2px 10px; }
.basket .basket-winner { grid-template-columns: minmax(0,1fr); background: #203953; box-shadow: none; }
.basket .winner-total { grid-column: 1; grid-row: auto; }
.basket .winner-saving { color: #f0ddb3; }
.basket .winner-kicker, .basket .single-store-label { font-size: .75rem; opacity: 1; }
.basket .basket-winner > small { color: #d5dfeb; opacity: 1; font-size: .8125rem; }
.basket .mix-winner > small { color: #456654; font-size: .8125rem; }
.basket .item-meta, .basket .transfer-unavailable, .basket .mix-winner > p { font-size: .875rem; }
.basket .save-note { color: #d0e2db; border-color: #ffffff29; font-size: .8125rem; }
.basket .clear-button { color: #d0e2db; font-size: .875rem; }
.basket .clear-button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.header .list-shortcut { background: var(--list-green); border-color: #52827b; color: #fff; }
.header .list-shortcut:hover { background: #1b5750; }
.header .list-shortcut > span { background: #e5d4af; color: #243d36; }
.quick-list-banner { border-color: #c5dbd1; background: linear-gradient(110deg,#edf6f1,#f8fbfa); }
.quick-list-banner b { color: var(--list-action); }
.quick-list-banner:hover { border-color: #76a99b; box-shadow: 0 5px 18px #123f3d0c; }
.load-more { display: block; width: 100%; border: 1px solid var(--line); background: white; border-radius: 10px; padding: 13px; color: var(--ink); font-size: .875rem; margin: 20px 0; }
.load-more:hover { border-color: #a4b7fc; background: #f8faff; }
.load-more span { margin-left: 8px; }
.catalog-footnote { color: var(--muted); font-size: .75rem; line-height: 1.7; padding: 0 5px; }
.no-results { text-align: center; background: white; border: 1px dashed #d9e0ec; border-radius: 16px; padding: 45px 22px; }
.no-results > span { font-size: 40px; color: #8a99b3; }
.no-results h2 { font-size: 1.25rem; font-weight: 600; margin: 5px 0; }
.no-results p { color: var(--muted); font-size: .875rem; }
.secondary-button { display: inline-flex; justify-content: center; align-items: center; border: 1px solid #dce3ef; border-radius: 8px; padding: 10px 14px; background: white; font-size: .875rem; color: var(--ink); cursor: pointer; }
.secondary-button:hover { background: #f5f7fc; }
.site-footer { margin-top: 72px; background: #102136; color: #becadb; border-top: 3px solid var(--gold); }
.footer-inner { max-width: 1440px; margin: 0 auto; padding: 44px 32px 26px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top { padding-bottom: 36px; align-items: flex-end; }
.footer-brand { display: inline-block; color: #fff; font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.2; font-weight: 650; letter-spacing: -1.6px; }
.footer-brand span { font-weight: 400; }
.footer-brand i { color: var(--gold); font-style: normal; }
.footer-eyebrow { display: block; margin-bottom: 15px; color: #d4c19c; font-size: .75rem; letter-spacing: .16em; }
.footer-identity p { margin: 12px 0 0; font-size: .9375rem; color: #b7c6d8; }
.footer-bottom strong { color: #e4ebf7; font-weight: 500; }
.footer-brand:hover { text-decoration: none; color: #d5e2ff; }
.footer-bottom { padding-top: 22px; border-top: 1px solid #ffffff1c; font-size: .875rem; line-height: 1.7; }
.site-footer .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; font-size: .875rem; }
.site-footer .footer-links a, .site-footer .text-link { color: #e4ebf7; font-weight: 500; }
.site-footer .footer-links a:hover, .site-footer .text-link:hover { color: #fff; }
.mobile-list { display: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: #17213a; color: white; font-size: .875rem; padding: 13px 20px; border-radius: 12px; box-shadow: 0 8px 30px #13204730; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 20px; }
.toast button { background: none; border: 0; color: #c5ff91; font-size: .875rem; text-decoration: underline; }
dialog { color: var(--ink); width: min(850px, calc(100vw - 40px)); max-height: 85vh; padding: 30px; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 100px #0c183d40; }
dialog::backdrop { background: #15234366; backdrop-filter: blur(5px); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.dialog-heading h2 { font-size: 1.6rem; letter-spacing: -.7px; line-height: 1.25; margin: 8px 0 4px; }
dialog > p { color: var(--muted); font-size: .9375rem; line-height: 1.65; }
.icon-button { display: grid; place-content: center; border: 1px solid var(--line); background: #f6f8fc; border-radius: 8px; width: 33px; height: 33px; flex-shrink: 0; font-size: 23px; }
.data-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 25px 0; }
.data-metrics > div { background: #f5f7fb; border-radius: 12px; padding: 18px; }
.data-metrics strong { display: block; font-size: 1.9rem; letter-spacing: -.7px; }
.data-metrics span { color: var(--muted); font-size: .8125rem; }
.data-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.import-button:focus-within { outline: 3px solid #7190ff; outline-offset: 3px; }
.technical-details { border-top: 1px solid var(--line); padding: 19px 0; }
.technical-details summary { font-weight: 600; font-size: .9375rem; }
.technical-details p { font-size: .875rem; color: var(--muted); }
.audit-grid { display: flex; flex-direction: column; }
.audit-card { display: grid; grid-template-columns: 100px 1fr; gap: 6px 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.audit-card small { font-size: .75rem; color: var(--muted); grid-column: 2; }
.audit-card a { grid-column: 2; color: var(--blue); font-size: .8125rem; }
.sliders { margin-top: 24px; }
.sliders label { display: flex; justify-content: space-between; gap: 15px; font-size: .875rem; }
.sliders input { width: 100%; margin: 12px 0 24px; }
.sim-result { background: var(--blue-soft); padding: 20px; border-radius: 12px; }
.sim-result > strong { font-size: 2rem; display: block; }
.sim-result > span { color: var(--muted); font-size: .875rem; }
.budget-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.budget-grid strong { display: block; color: var(--ink); }
.change-hint { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.quick-list-field { display: grid; gap: 8px; margin: 20px 0 12px; font-size: .875rem; font-weight: 600; }
.quick-list-field textarea { width: 100%; resize: vertical; min-height: 150px; padding: 13px; border: 1px solid #d7deeb; border-radius: 10px; color: var(--ink); font: inherit; line-height: 1.5; }
.quick-list-field textarea:focus { outline: 3px solid #b9c7ff; border-color: var(--blue); }
.primary-button { border: 0; border-radius: 9px; padding: 11px 16px; background: var(--blue); color: white; font-size: .875rem; font-weight: 650; }
.quick-results-head { display: flex; justify-content: space-between; gap: 15px; margin-top: 22px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .8125rem; }
.quick-results-head span { color: var(--muted); }
.quick-match { display: grid; grid-template-columns: 25px 1fr; gap: 9px; padding: 11px 2px; border-bottom: 1px solid var(--line); }
.quick-match > span:first-child { display: grid; place-content: center; width: 22px; height: 22px; border-radius: 50%; background: #e5f7ec; color: #198754; font-size: .75rem; font-weight: 700; }
.quick-match > div { display: grid; gap: 2px; }
.quick-match small { color: var(--muted); text-decoration: line-through; font-size: .6875rem; }
.quick-match strong { font-size: .875rem; }
.quick-match div > span { color: var(--muted); font-size: .75rem; }
.quick-match.is-missing > span:first-child { background: #fff3d9; color: #966000; }
.quick-suggestions { display: grid; gap: 6px; margin-top: 8px; }
.quick-suggestions button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1px solid #dce3ef; border-radius: 8px; background: white; color: var(--ink); padding: 9px 11px; text-align: left; }
.quick-suggestions button:hover { border-color: #8da5ff; background: #f6f8ff; }
.quick-suggestions b { font-size: .8125rem; }
.quick-suggestions button small { color: var(--muted); text-decoration: none; white-space: nowrap; }
.quick-empty { color: var(--muted); font-size: .875rem; }
@media (min-width: 1650px) { .header { padding-left: calc((100vw - 1440px) / 2 + 32px); padding-right: calc((100vw - 1440px) / 2 + 32px); } }
@media (max-width: 1200px) {
  .header { gap: 28px; }
  .workspace { grid-template-columns: minmax(0,1fr) 310px; gap: 20px; }
  .product { padding: 20px; }
  .offer-grid { gap: 6px; }
  .offer-choice { padding-left: 7px; padding-right: 7px; }
  .offer-price { font-size: clamp(1.05rem, 1.9vw, 1.25rem); }
  .offer-shop { flex-wrap: wrap; }
  .selection-indicator { display: none; }
  .best-chip { padding-left: 3px; padding-right: 3px; }
  .price-gap { min-height: 43px; }
  .basket { padding: 19px; }
  .product-heading { gap: 16px; }
  .product-selected { max-width: 100%; }
  .grand-total > strong { font-size: 1.5rem; }
}
@media (min-width: 901px) and (max-width: 1050px) {
  .product { padding: 14px; }
  .product-saving { flex-basis: 145px; padding-left: 12px; }
  .offer-choice { padding-left: 5px; padding-right: 5px; }
  .offer-shop { min-height: 37px; align-content: flex-start; }
  .offer-highlight { min-height: 48px; }
  .offer-status { min-height: 47px; }
}
@media (max-width: 900px) {
  main, .footer-inner { padding-left: 22px; padding-right: 22px; }
  .header { padding: 0 22px; gap: 28px; height: 76px; }
  .header nav { gap: 20px; }
  .pilot-label { display: none; }
  .page-heading h1 { font-size: 2rem; }
  .workspace { grid-template-columns: minmax(0,1fr); }
  .basket { position: static; max-height: none; margin-top: 8px; padding: 25px; }
  .offer-grid { grid-template-columns: repeat(var(--offer-count,5),minmax(0,1fr)); }
  .product { padding: 22px; }
  .mobile-list { display: flex; position: fixed; bottom: 15px; left: 22px; right: 22px; z-index: 30; border: 1px solid #598b7b; background: var(--list-green); color: white; border-radius: 12px; padding: 15px 20px; align-items: center; justify-content: space-between; box-shadow: 0 8px 30px #123f3d3d; font-size: .9375rem; }
  .mobile-list b { margin-left: 9px; background: #ffffff24; border-radius: 5px; padding: 1px 6px; font-size: .8125rem; }
  .mobile-list:hover { text-decoration: none; background: #1b5750; }
  .toast { bottom: 88px; width: max-content; }
  .footer-inner { padding-bottom: 100px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 620px) {
  .header { height: 70px; gap: 10px; }
  .header nav { display: none; }
  .logo { font-size: 1.12rem; gap: 9px; }
  .logo-mark { width: 35px; height: 35px; border-radius: 10px; font-size: 1.45rem; }
  .logo-mark span { right: 5px; top: -2px; }
  .list-shortcut { font-size: .8125rem; gap: 6px; padding: 8px 10px; }
  .list-shortcut svg { display: none; }
  main, .footer-inner { padding-left: 16px; padding-right: 16px; }
  .header { padding-left: 16px; padding-right: 16px; }
  .page-heading { padding: 27px 0 20px; }
  .page-heading h1 { font-size: 1.8rem; letter-spacing: -.9px; line-height: 1.2; }
  .page-heading p { font-size: .9375rem; }
  .eyebrow { font-size: .75rem; letter-spacing: 1px; }
  .data-notice { flex-wrap: wrap; padding: 12px; align-items: flex-start; gap: 8px; }
  .data-notice #data-status { flex: 1; font-size: .8125rem; min-width: 200px; }
  .data-notice .text-link { margin-left: 25px; font-size: .8125rem; }
  .quick-list-banner { align-items: flex-start; }
  .quick-list-banner small { display: none; }
  .search-row { flex-direction: column; gap: 10px; }
  .category select { width: 100%; height: 44px; }
  .search input { height: 49px; }
  .search kbd { display: none; }
  .filter-line { gap: 9px; }
  .filter-label { width: 100%; }
  .store-filters { gap: 6px; }
  .store-filter { padding: 8px 9px; }
  .results-head { padding-top: 4px; gap: 8px; }
  .check { font-size: .75rem; }
  .product { padding: 17px; border-radius: 15px; }
  .product-heading { flex-direction: column; }
  .product-saving { flex: initial; width: 100%; text-align: left; border-left: 0; border-top: 1px solid var(--line); padding: 11px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; }
  .product-saving > strong { grid-column: 2; grid-row: 1 / 3; font-size: 1.4rem; }
  .product-saving > small { grid-column: 1; }
  .product h2 { font-size: 1.125rem; }
  .product-heading { margin-bottom: 16px; gap: 10px; }
  .product-selected { font-size: .75rem; }
  .offer-grid { grid-template-columns: repeat(var(--mobile-count,2),minmax(0,1fr)); gap: 9px; }
  .offer-choice { padding: 14px 12px 0; }
  .selection-indicator { display: inline-grid; }
  .offer-price { font-size: 1.5rem; }
  .offer-status { min-height: 26px; }
  .choose-label { padding: 8px 0; font-size: .875rem; }
  .source-link { padding: 10px 3px 13px; font-size: .8125rem; }
  .offer-shop { font-size: .9375rem; }
  .basket { padding: 21px; }
  .mobile-list { left: 16px; right: 16px; }
  .site-footer { margin-top: 36px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .site-footer .footer-links { gap: 10px 18px; }
  dialog { padding: 21px; width: calc(100vw - 24px); border-radius: 16px; max-height: 90vh; }
  .dialog-heading h2 { font-size: 1.35rem; }
  .data-metrics { grid-template-columns: 1fr; gap: 8px; margin: 18px 0; }
  .data-metrics > div { display: flex; align-items: center; gap: 17px; padding: 12px 16px; }
  .data-metrics strong { min-width: 65px; font-size: 1.55rem; }
  .budget-grid { grid-template-columns: 1fr; gap: 0; }
  .audit-card { grid-template-columns: 85px 1fr; gap: 5px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.blog-main { max-width: 1180px; }
.controls { position: relative; }
.search-row { align-items: flex-start; }
.catalog-filters > summary { height: 56px; display: flex; align-items: center; gap: 10px; padding: 0 20px; border: 1px solid #dce2ed; border-radius: 12px; background: #fff; font-weight: 600; list-style: none; }
.catalog-filters > summary::-webkit-details-marker { display: none; }
.catalog-filters summary svg { width: 20px; height: 20px; }
.catalog-filters[open] > summary { border-color: var(--navy); background: var(--navy); color: #fff; }
.filter-panel { position: absolute; right: 0; top: 66px; z-index: 20; width: min(640px,100%); padding: 24px; border: 1px solid #dce2ed; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px #13263e26; }
.filter-panel-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.facet-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.facet-grid label, .price-filter label { display: flex; flex-direction: column; gap: 7px; font-size: .875rem; color: #49576c; min-width: 0; }
.facet-grid select, .price-filter input { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #dce2ed; border-radius: 8px; background: #fff; color: var(--ink); padding: 9px 10px; font-size: .875rem; }
.facet-grid select:disabled { color: #6b7585; background: #f5f7fa; }
.price-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border: 0; padding: 0; margin: 20px 0 0; }
.price-filter legend { font-size: .875rem; font-weight: 600; margin-bottom: 10px; }
.filter-error { color: #a13932; font-size: .875rem; }
.filter-panel .filter-line { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 0; }
.filter-panel .filter-label { width: 100%; }
.filter-done { display: block; width: 100%; margin-top: 20px; padding: 11px; border: 0; background: var(--navy); color: white; border-radius: 9px; font-weight: 600; }
.category-nav { display: flex; gap: 7px; overflow-x: auto; padding: 15px 2px 12px; scrollbar-width: thin; scrollbar-color: #b8c5d6 transparent; }
.category-nav button { flex: 0 0 auto; border: 1px solid #dfe5ed; background: #fff; color: #4a576c; border-radius: 8px; padding: 9px 13px; font-size: .875rem; white-space: nowrap; }
.category-nav button:hover { border-color: #8597af; color: var(--navy); }
.category-nav button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: inset 0 -2px var(--gold); }
.result-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.result-summary > span { color: var(--ink); font-weight: 600; }
.sort-control { display: flex; align-items: center; gap: 9px; font-size: .875rem; }
.sort-control select { max-width: 200px; min-height: 40px; border: 1px solid #dfe5ed; border-radius: 8px; padding: 7px 10px; background: #fff; color: var(--ink); font-size: .875rem; }
.category-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 0 2px; }
.category-heading h2 { margin: 0; font-size: 1.125rem; font-weight: 650; letter-spacing: -.025em; }
.category-heading span { color: var(--muted); font-size: .875rem; }
.category-heading:not(:first-child) { margin-top: 8px; border-top: 1px solid #dce3ec; padding-top: 24px; }
.unit-price { color: #375573; background: #edf3f8; border-radius: 6px; padding: 4px 8px; font-size: .875rem; }
@media (max-width: 900px) {
  .header { height: auto; min-height: 80px; padding-top: 15px; flex-wrap: wrap; gap: 15px; }
  .header nav { display: flex; order: 3; width: 100%; flex: 0 0 100%; overflow-x: auto; gap: 22px; border-top: 1px solid #ffffff16; }
  .header nav a, .header .nav-link { padding: 12px 0; white-space: nowrap; }
}
@media (max-width: 620px) {
  .header { height: auto; min-height: 80px; padding-top: 15px; flex-wrap: wrap; gap: 13px; }
  .header nav { display: flex; order: 3; width: 100%; flex: 0 0 100%; overflow-x: auto; gap: 22px; border-top: 1px solid #ffffff16; }
  .header nav a, .header .nav-link { padding: 12px 0; font-size: .875rem; white-space: nowrap; }
  .logo-wordmark small { font-size: .75rem; margin-top: 5px; letter-spacing: .06em; }
  .search-row { flex-direction: row; gap: 8px; }
  .search { min-width: 0; padding: 0 12px; }
  .search svg { width: 19px; height: 19px; }
  .catalog-filters > summary { height: 51px; padding: 0 12px; font-size: .875rem; gap: 7px; }
  .filter-panel { top: 60px; padding: 18px; }
  .facet-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .filter-panel { max-height: 70vh; overflow-y: auto; }
  .category-nav { margin-right: -16px; padding-right: 16px; }
  .results-head { align-items: flex-start; gap: 10px; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { flex: 1; max-width: 220px; }
  .footer-top { align-items: flex-start; }
  .footer-inner { padding-top: 32px; }
  .footer-brand { font-size: 2.5rem; }
}
.blog-hero { padding: 52px 0 36px; margin-bottom: 32px; border-bottom: 1px solid #dce3ef; background: radial-gradient(ellipse at 95% 0%, #d9e6ff85, transparent 65%); }
.blog-heading-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.blog-heading-meta .eyebrow { color: #365987; }
.blog-edition { color: var(--muted); font-size: .875rem; }
.blog-hero h1 { max-width: 900px; margin: 16px 0 20px; font-size: clamp(2rem,4.3vw,3.5rem); line-height: 1.14; letter-spacing: -.045em; font-weight: 650; text-wrap: balance; }
.blog-hero h1 span { color: var(--blue); }
.blog-hero p { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.75; }
.blog-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-bottom: 12px; }
.blog-grid article { min-width: 0; display: flex; flex-direction: column; background: white; border: 1px solid #dfe6f0; border-radius: 18px; padding: 32px; box-shadow: 0 8px 26px #18213707; scroll-margin-top: 24px; }
.article-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.article-tag { color: #2949ba; font-size: .875rem; font-weight: 600; background: #edf2ff; border: 1px solid #e1e8fb; border-radius: 30px; padding: 5px 11px; }
.article-number { color: #7b879b; font-size: .875rem; font-variant-numeric: tabular-nums; }
.blog-grid h2 { margin: 18px 0 14px; font-size: clamp(1.375rem,2.2vw,1.75rem); line-height: 1.3; letter-spacing: -.025em; text-wrap: balance; }
.blog-grid h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 650; }
.blog-grid p { color: var(--muted); font-size: 1rem; line-height: 1.8; margin: 0 0 22px; }
.article-body { display: flex; flex-direction: column; flex: 1; padding-top: 22px; border-top: 1px solid var(--line); }
.blog-grid .article-link { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--blue); font-size: .9375rem; font-weight: 600; padding: 12px 0 0; margin-top: auto; }
.article-link span { font-size: 1.25rem; }
.blog-grid .article-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; padding: 38px; background: linear-gradient(120deg, #172c50, #234771); border-color: #2b4d76; color: #fff; box-shadow: 0 14px 35px #172c5018; }
.article-featured .article-body { border-top: 0; border-left: 1px solid #ffffff30; padding: 4px 0 0 36px; }
.article-featured .article-tag { color: #d8e7ff; background: #ffffff0c; border-color: #ffffff30; }
.article-featured .article-number { color: #b0c5e0; }
.blog-grid .article-featured p { color: #d5dfed; }
.blog-grid .article-featured .article-link { color: #fff; border-top: 1px solid #ffffff30; }
.article-featured .article-intro p { margin-bottom: 0; }
@media (max-width: 900px) {
  .blog-grid .article-featured { gap: 26px; padding: 28px; }
  .article-featured .article-body { padding-left: 26px; }
  .blog-grid article { padding: 26px; }
  .blog-hero { padding-top: 40px; }
}
@media (max-width: 620px) {
  .blog-grid, .blog-grid .article-featured { grid-template-columns: minmax(0,1fr); }
  .blog-grid { gap: 18px; }
  .blog-grid article, .blog-grid .article-featured { padding: 23px; }
  .article-featured .article-body { border-left: 0; border-top: 1px solid #ccd7f0; padding: 22px 0 0; }
  .blog-hero { padding: 30px 0; margin-bottom: 24px; }
}

/* Mobile shopping view: the first useful product and its choices stay close to the top. */
@media (min-width: 621px) and (max-width: 900px) {
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .header { min-height: 68px; height: auto; padding: 10px 16px; flex-wrap: wrap; gap: 12px; }
  .header nav { display: none; }
  .logo { font-size: 1.06rem; }
  .logo-wordmark small { display: none; }
  .logo-mark { width: 36px; height: 36px; }
  .list-shortcut { margin-left: auto; padding: 9px 11px; background: #ffffff14; }
  .page-heading { padding: 21px 0 17px; }
  .page-heading .eyebrow { font-size: .75rem; }
  .page-heading h1 { font-size: clamp(1.65rem, 7vw, 1.9rem); line-height: 1.18; margin: 7px 0 9px; }
  .page-heading p { font-size: .9375rem; line-height: 1.45; }
  .data-notice { padding: 10px 12px; align-items: center; flex-wrap: nowrap; gap: 9px; }
  .data-notice #data-status { min-width: 0; font-size: .8125rem; line-height: 1.35; }
  .data-notice .text-link { margin-left: 0; font-size: .8125rem; }
  .quick-list-banner { margin: 12px 0 14px; padding: 13px 15px; flex-wrap: wrap; gap: 5px 12px; border-color: #b8d4c8; background: #eaf6f1; box-shadow: 0 3px 12px #123f3d0d; }
  .quick-list-banner strong { font-size: .9375rem; }
  .quick-list-banner b { color: #145a50; font-size: .8125rem; }
  .controls { margin: 14px 0 8px; }
  .category-nav { padding-top: 9px; padding-bottom: 8px; }
  .results-head { padding: 5px 0 10px; }
  .catalog-order { font-size: .8125rem; line-height: 1.35; margin: -2px 0 12px; }
  .products { gap: 17px; }
  .product { padding: 16px; border-radius: 16px; box-shadow: 0 6px 22px #18213708; }
  .product-heading { margin-bottom: 11px; gap: 8px; }
  .product h2 { margin-bottom: 5px; line-height: 1.3; }
  .product-brand { font-size: .8125rem; gap: 5px; }
  .product-badges { margin-top: 8px; }
  .product-saving { margin-top: 2px; padding-top: 8px; }
  .product-saving > strong { font-size: 1.2rem; }
  .product-saving > small { font-size: .75rem; }
  .offer-grid { display: flex; flex-direction: column; gap: 7px; }
  .offer { display: flex; flex-direction: row; align-items: stretch; border-radius: 11px; background: #fff; min-height: 70px; }
  .offer-choice { display: grid; grid-template-columns: minmax(0,1fr) auto auto; grid-template-rows: auto auto; align-content: center; align-items: center; gap: 2px 8px; width: auto; min-width: 0; padding: 8px 0 8px 10px; border-radius: 10px 0 0 10px; }
  .offer-shop { grid-column: 1; grid-row: 1; min-width: 0; min-height: 0; font-size: .8125rem; white-space: nowrap; }
  .selection-indicator { display: none; }
  .offer-price { grid-column: 2; grid-row: 1; font-size: 1rem; letter-spacing: -.03em; }
  .choose-label { grid-column: 3; grid-row: 1 / 3; margin: 0; padding: 7px 8px; min-width: 58px; font-size: .8125rem; white-space: nowrap; }
  .offer-highlight { grid-column: 1; grid-row: 2; min-height: 0; padding: 0; }
  .best-chip { padding: 0; background: none; font-size: .75rem; }
  .offer-status { grid-column: 2; grid-row: 2; min-height: 0; padding: 0; font-size: .75rem; justify-content: flex-end; white-space: nowrap; }
  .price-gap { display: none; }
  .source-link { flex: 0 0 34px; display: grid; place-content: center; width: 34px; min-width: 34px; padding: 0; font-size: 0; border-left: 1px solid #e5e9f0; color: #425a7d; }
  .source-link span { font-size: 1.05rem; }
  .source-details { margin-top: 12px; padding-top: 10px; }
  .report-link { padding-top: 10px; }
  .basket { padding: 19px; }
  .filter-panel .store-filters { min-width: 0; width: 100%; }
  .footer-identity { min-width: 0; max-width: 100%; }
  .footer-brand { font-size: clamp(1.5rem, 10vw, 2.5rem); max-width: 100%; }
  .mobile-list { bottom: max(12px, env(safe-area-inset-bottom)); }
  .footer-inner { padding-bottom: 92px; }
  body:has(.catalog-filters[open]) .mobile-list { display: none; }
}
@media (min-width: 351px) and (max-width: 620px) {
  .source-link { flex-basis: 44px; width: 44px; min-width: 44px; }
}
