:root {
  --kievo-bg: #fbf4ee;
  --kievo-surface: #fffaf7;
  --kievo-text: #2e211f;
  --kievo-muted: #786663;
  --kievo-border: #ead8d0;
  --kievo-accent: #963f56;
  --kievo-accent-hover: #72293e;
  --kievo-soft: #f3ddd7;
  --kievo-terracotta: #b85f4c;
  --kievo-burgundy: #5b2030;
  --kievo-success: #50684f;
  --kievo-error: #923737;
  --kievo-radius: 18px;
  --kievo-shadow: 0 18px 55px rgba(91, 32, 48, .1);
  --kievo-speed: 180ms;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--kievo-bg); color: var(--kievo-text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
body::before { position: fixed; z-index: -1; inset: 0; background: radial-gradient(circle at 8% 20%, rgba(232, 181, 172, .2), transparent 26%), radial-gradient(circle at 90% 70%, rgba(184, 95, 76, .1), transparent 24%); content: ""; pointer-events: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; }
.shell { width: min(100% - 32px, 1380px); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link:focus { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px; background: #fff; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid rgba(234, 216, 208, .8); background: rgba(255, 250, 247, .94); backdrop-filter: blur(14px); }
.header-inner { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; min-height: 66px; width: min(100% - 24px, 1440px); margin: auto; }
.wordmark { font: 700 1.3rem/1 Georgia, serif; letter-spacing: .2em; text-decoration: none; }
.wordmark::after { color: var(--kievo-accent); content: "."; }
.menu-toggle, .search-toggle, .header-actions a, .text-button, .site-footer button { min-height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.primary-nav { display: none; grid-column: 1/-1; padding: 8px 0 16px; }
.primary-nav.is-open { display: block; }
.primary-nav ul { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { display: block; padding: 9px 0; text-decoration: none; font-size: .92rem; font-weight: 650; }
.primary-nav a:hover { color: var(--kievo-accent); }
.header-actions { display: flex; align-items: center; gap: 4px; }
.language-switcher { display: flex; align-items: center; gap: 4px; margin-right: 3px; color: var(--kievo-muted); font-size: .72rem; }
.language-switcher a { min-height: 44px; padding: 0 3px; font-weight: 750; text-decoration: none; }
.language-switcher a[aria-current="page"] { color: var(--kievo-accent); text-decoration: underline; }
.header-actions a, .search-toggle { display: flex; align-items: center; gap: 4px; padding-inline: 6px; text-decoration: none; }
.header-actions [aria-hidden] { color: var(--kievo-accent); font-size: 1.25rem; }
.header-actions [data-favorite-count] { min-width: 18px; color: var(--kievo-muted); font-size: .75rem; }
.currency-switcher select { max-width: 150px; min-height: 36px; border: 1px solid var(--kievo-border); border-radius: 999px; padding: 6px 25px 6px 10px; background: var(--kievo-surface); color: var(--kievo-ink); font: 700 .7rem/1 system-ui, sans-serif; }
.action-label { display: none; }
.site-search { width: min(100% - 24px, 760px); margin: 0 auto; padding: 12px 0 16px; }
.site-search input { width: min(70%, 560px); min-height: 44px; border: 1px solid var(--kievo-border); border-radius: 999px; padding: 8px 16px; background: #fff; }
.site-search button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--kievo-accent); border-radius: 999px; padding: 10px 22px; background: var(--kievo-accent); color: #fff; font-weight: 700; text-decoration: none; transition: transform var(--kievo-speed), background var(--kievo-speed); }
.site-search button:hover, .button:hover { background: var(--kievo-accent-hover); transform: translateY(-1px); }

.hero { position: relative; min-height: 510px; overflow: hidden; padding: 90px 0 84px; background: linear-gradient(120deg, #f8e3dc 0%, #fdf7f1 52%, #efd1cf 100%); }
.hero::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px); background-size: 42px 42px; content: ""; mask-image: linear-gradient(to right, #000, transparent 65%); }
.hero-glow { position: absolute; width: 430px; height: 430px; right: max(-80px, calc((100vw - 1380px)/2)); top: 35px; border: 1px solid rgba(150,63,86,.2); border-radius: 47% 53% 62% 38%; background: radial-gradient(circle at 36% 35%, rgba(255,255,255,.92), rgba(184,95,76,.2) 55%, rgba(91,32,48,.12)); box-shadow: inset 0 0 80px rgba(255,255,255,.65); transform: rotate(-8deg); }
.hero-inner { position: relative; z-index: 1; }
.hero h1, .section h2, .listing h1, .empty-page h1, .prose h1 { max-width: 880px; margin: .22em 0; font: 600 clamp(2.6rem, 7vw, 5.4rem)/.98 Georgia, serif; letter-spacing: -.04em; }
.hero p:not(.eyebrow) { max-width: 650px; margin: 24px 0 28px; color: #594642; font-size: clamp(1.04rem, 2vw, 1.28rem); }
.eyebrow { margin: 0; color: var(--kievo-accent); font-size: .73rem; font-weight: 850; letter-spacing: .14em; }
.status-chip { display: inline-block; border: 1px solid var(--kievo-border); border-radius: 999px; padding: 8px 14px; background: var(--kievo-surface); color: var(--kievo-muted); }

.section, .listing, .prose, .empty-page { padding-block: 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.category-section { padding-top: 72px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.category-card { position: relative; min-height: 320px; overflow: hidden; border-radius: var(--kievo-radius); color: #fff; text-decoration: none; box-shadow: var(--kievo-shadow); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.category-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 36%, rgba(52,24,27,.78)); content: ""; }
.category-card:hover img { transform: scale(1.035); }
.category-overlay { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 20px; }
.category-overlay strong { font: 600 clamp(1.35rem, 3vw, 2rem)/1.1 Georgia, serif; }
.category-overlay small { max-width: 360px; margin-top: 7px; opacity: .88; line-height: 1.4; }
.category-overlay em { margin-top: 12px; font-size: .8rem; font-style: normal; font-weight: 800; letter-spacing: .04em; }
.product-section:nth-of-type(even) { background: rgba(255,250,247,.55); }
.kievo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid rgba(234,216,208,.75); border-radius: var(--kievo-radius); background: var(--kievo-surface); box-shadow: 0 10px 30px rgba(91,32,48,.055); }
.product-image { display: block; aspect-ratio: 4/5; overflow: hidden; background: var(--kievo-soft); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-body { padding: 14px; }
.merchant { margin: 0; color: var(--kievo-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; }
.source-price { margin: .4rem 0 0; font-weight: 800; }
.source-price .approx-price { margin-top: 3px; font-weight: 500; }
.product-card h2 { margin: .25rem 0; font: 600 1rem/1.3 Georgia, serif; }
.product-card h2 a { text-decoration: none; }
.product-teaser { display: -webkit-box; min-height: 2.7em; margin: .5rem 0; overflow: hidden; color: var(--kievo-muted); font-size: .78rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.favorite { min-height: 44px; border: 0; background: none; color: var(--kievo-accent); cursor: pointer; padding: 6px 0; }
.favorite[aria-pressed=true] { font-weight: 700; }
.reaction-row { display:flex; gap:7px; margin-top:10px }
.reaction-row button { min-height:42px; border:1px solid var(--kievo-border); border-radius:999px; padding:7px 11px; background:#fff; color:var(--kievo-text); cursor:pointer }
.reaction-row button[aria-pressed=true] { border-color:var(--kievo-accent); background:var(--kievo-soft); color:var(--kievo-accent-hover); font-weight:800 }
.reaction-row button:disabled { opacity:.6 }
.social-proof { margin:7px 0 0; color:var(--kievo-accent-hover); font-size:.76rem; font-weight:750 }
.product-cta { display: block; margin-top: 6px; color: var(--kievo-accent-hover); font-weight: 750; }
.product-card small { display: block; margin-top: 8px; color: var(--kievo-muted); font-size: .68rem; line-height: 1.35; }
.empty-state { grid-column: 1/-1; border: 1px solid var(--kievo-border); border-radius: var(--kievo-radius); padding: 28px; background: var(--kievo-surface); text-align: center; }

.budget-section { background: linear-gradient(120deg, #5b2030, #883548 55%, #b85f4c); color: #fff; }
.budget-section .eyebrow { color: #f4c8c5; }
.budget-section h2 { max-width: 760px; }
.budget-grid { display: grid; gap: 12px; margin-top: 28px; }
.budget-grid a { display: flex; flex-direction: column; min-height: 150px; justify-content: end; border: 1px solid rgba(255,255,255,.22); border-radius: var(--kievo-radius); padding: 22px; background: rgba(255,255,255,.08); text-decoration: none; transition: background var(--kievo-speed), transform var(--kievo-speed); }
.budget-grid a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.budget-grid span { opacity: .75; }
.budget-grid strong { font: 600 2rem Georgia, serif; }
.how-section { padding-block: 72px; }
.steps { display: grid; gap: 12px; margin-block: 28px; }
.steps article { border: 1px solid var(--kievo-border); border-radius: var(--kievo-radius); padding: 24px; background: rgba(255,250,247,.8); }
.steps strong { color: var(--kievo-accent); font: 700 1.5rem Georgia, serif; }
.steps h3 { margin-bottom: .2rem; }
.steps p { margin-top: 0; color: var(--kievo-muted); }
.text-link { color: var(--kievo-accent-hover); font-weight: 800; }

.listing header { padding: 44px 0 12px; }
.finder { max-width: 760px; margin-top: 28px; padding: 18px; border-radius: var(--kievo-radius); background: rgba(255,255,255,.82); color: var(--kievo-text); }
.finder > label { display:block; font: 600 clamp(1.15rem,2vw,1.5rem) Georgia,serif; margin-bottom: 10px; }
.finder > div { display:flex; gap:8px; } .finder input,.finder select,.listing-filters input,.listing-filters select { min-height:46px; border:1px solid var(--kievo-border); border-radius:12px; padding:8px 12px; background:#fff; }
.finder > div input { flex:1; min-width:0; }.finder details { margin-top:10px }.finder-guided { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; margin-top:10px }
.finder-results { margin-top:16px }.finder-result-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px }.finder-result-grid a { display:grid; gap:6px; color:inherit; text-decoration:none }.finder-result-grid img { width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:12px }
.need-chips,.filter-chips { display:flex; flex-wrap:wrap; gap:9px }.need-chips a,.filter-chips span { border:1px solid var(--kievo-border); border-radius:999px; padding:10px 15px; color:inherit; text-decoration:none; background:#fff }
.filter-drawer { margin:10px 0 20px; border:1px solid var(--kievo-border); border-radius:16px; padding:14px 18px; background:#fff }.filter-drawer summary { cursor:pointer; font-weight:800 }.listing-filters { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:14px }.listing-filters label { display:grid; gap:5px }.filter-actions { display:flex; align-items:end; gap:12px }.filter-chips { margin-bottom:16px }.result-count { color:var(--kievo-muted) }
.listing-tools { display: flex; align-items: end; gap: 12px; margin-bottom: 24px; }
.product-detail { padding-block:38px 70px }
.breadcrumbs { margin-bottom:24px; color:var(--kievo-muted); font-size:.84rem }
.product-detail-grid { display:grid; gap:28px }
.gallery-main { overflow:hidden; border-radius:var(--kievo-radius); background:var(--kievo-soft) }
.gallery-main { position:relative; touch-action:pan-y }
.gallery-main img { width:100%; max-height:820px; object-fit:contain }
.gallery-zoom { display:block; width:100%; border:0; padding:0; background:transparent; cursor:zoom-in }
.gallery-indicator { position:absolute; right:12px; bottom:12px; border-radius:999px; padding:6px 10px; background:rgba(45,36,36,.78); color:#fff; font-size:.75rem }
.gallery-thumbs { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:9px }
.gallery-thumbs button { border:1px solid var(--kievo-border); border-radius:12px; padding:0; overflow:hidden; background:#fff; cursor:pointer }
.gallery-thumbs button[aria-current="true"] { border:2px solid var(--kievo-accent) }
.gallery-thumbs img { width:100%; aspect-ratio:1; object-fit:cover }
.gallery-dialog { width:min(92vw,980px); max-height:92vh; border:0; border-radius:18px; padding:34px; background:#fff }
.gallery-dialog::backdrop { background:rgba(31,20,23,.82) }
.gallery-dialog img { display:block; width:100%; max-height:82vh; object-fit:contain }
.gallery-dialog-close { position:absolute; z-index:2; right:10px; top:8px; width:40px; height:40px; border:0; border-radius:50%; background:#fff; font-size:1.8rem; cursor:pointer }
.product-summary h1 { margin:.15em 0; font:600 clamp(2.1rem,5vw,4rem)/1 Georgia,serif }
.detail-price { font-size:1.3rem }
.editorial-description { color:var(--kievo-muted); font-size:1.05rem }
.detail-reactions button { padding-inline:16px }
.merchant-button { margin-top:16px }
.price-note { color:var(--kievo-muted); font-size:.78rem }
.product-attributes div { display:grid; grid-template-columns:120px 1fr; border-top:1px solid var(--kievo-border); padding:9px 0 }
.product-attributes dt { font-weight:800 }
.product-attributes dd { margin:0;color:var(--kievo-muted) }
.listing-tools label { display: grid; gap: 4px; }
.listing-tools select { min-height: 44px; border: 1px solid var(--kievo-border); border-radius: 999px; padding: 6px 14px; background: #fff; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.page-numbers { padding: 8px 12px; }
.prose { max-width: 800px; }
.prose h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.site-footer { margin-top: 0; border-top: 1px solid var(--kievo-border); padding: 48px max(16px, calc((100% - 1380px)/2)); background: #321e22; color: #fff8f4; }
.footer-grid { display: grid; gap: 28px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: start; gap: 7px; }
.footer-grid h2 { font-size: 1rem; }
.footer-grid a, .site-footer button { color: inherit; }
.affiliate-note { border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; color: #dac9c7; font-size: .84rem; }
:focus-visible { outline: 3px solid var(--kievo-text); outline-offset: 3px; }

@media (max-width: 560px) {
  .currency-switcher select { width: 60px; padding-right: 6px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 430px; }
  .hero-glow { width: 260px; height: 260px; right: -110px; top: 220px; opacity: .55; }
  .section-head { align-items: start; flex-direction: column; }
  .gallery-thumbs { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:4px }
  .gallery-thumbs button { flex:0 0 72px; scroll-snap-align:start }
  .finder > div { flex-direction:column }.finder-guided,.listing-filters { grid-template-columns:1fr }.finder-result-grid { grid-template-columns:repeat(2,minmax(0,1fr)) }.filter-drawer { position:relative; padding:14px }
}

@media (max-width: 370px) {
  .header-inner { width: calc(100% - 12px); }
  .currency-switcher { display: none; }
}

@media (min-width: 760px) {
  .budget-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .category-card { min-height: 480px; }
}

@media (min-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: clamp(12px, 1.5vw, 28px); min-height: 76px; }
  .menu-toggle { display: none; }
  .primary-nav { display: block; grid-column: auto; padding: 0; }
  .primary-nav ul { flex-direction: row; gap: clamp(8px, 1vw, 18px); }
  .primary-nav a { white-space: nowrap; font-size: clamp(.72rem, .8vw, .88rem); }
  .action-label { display: none; font-size: .82rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .kievo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 18px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .product-detail-grid { grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); align-items:start }
  .product-summary { position:sticky; top:104px }
}

@media (min-width: 1280px) { .action-label { display: inline; } }

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

/* Visual-first discovery layout. */
.hero-compact { min-height: 0; padding: clamp(46px, 7vw, 78px) 0; }
.hero-compact .hero-inner { max-width: 1380px; }
.hero-compact h1 { max-width: 720px; font-size: clamp(2.7rem, 6vw, 5rem); }
.hero-compact p:not(.eyebrow) { max-width: 520px; margin: 16px 0 24px; }
.hero-compact .hero-glow { width: clamp(240px, 30vw, 390px); height: clamp(240px, 30vw, 390px); top: 8%; }
.hero-compact .finder-hero { max-width: 900px; margin-top: 24px; border: 1px solid rgba(234,216,208,.9); box-shadow: 0 18px 55px rgba(91,32,48,.07); }
.hero-compact .finder-hero > label { margin-bottom: 8px; }
.hero-compact .finder-results-hero { max-width: 900px; }
.category-section { padding-top: clamp(44px, 6vw, 76px); }
.category-grid-editorial { grid-template-columns: 1fr; }
.category-grid-editorial .category-card { min-height: clamp(360px, 115vw, 520px); }
.category-grid-editorial .category-overlay { padding: clamp(20px, 4vw, 34px); }
.category-grid-editorial .category-overlay small { font-size: .9rem; }
.finder-section { padding-block: clamp(46px, 7vw, 78px); background: linear-gradient(120deg, rgba(248,227,220,.66), rgba(255,250,247,.92)); }
.finder-section .finder { max-width: 980px; margin-top: 10px; padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(234,216,208,.9); box-shadow: 0 18px 55px rgba(91,32,48,.07); }
.finder-standalone > label { font-size: clamp(1.7rem, 4vw, 3rem); }
.personalized-section[data-state="insufficient"] { padding-block: 34px; }
.personalized-onboarding { max-width: 620px; margin: -10px 0 0; color: var(--kievo-muted); }
.personalized-section[data-state="ready"] .personalized-onboarding { display: none; }
.reaction-row button { border-color: transparent; background: transparent; padding-inline: 4px; color: var(--kievo-muted); }
.reaction-row button:hover, .reaction-row button[aria-pressed=true] { border-color: var(--kievo-border); background: var(--kievo-soft); }
.reaction-feedback { min-height: 1.2em; margin: 4px 0 0; color: var(--kievo-accent-hover); font-size: .74rem; }
.merchant-button { width: 100%; min-height: 54px; font-size: .88rem; letter-spacing: .035em; text-transform: uppercase; }
.product-summary > .favorite { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--kievo-muted); }
.perfect-for { margin: 18px 0 12px; color: var(--kievo-muted); font-size: .9rem; }
.perfect-for strong { color: var(--kievo-text); }
.retailer-disclosure { border-top: 1px solid var(--kievo-border); padding-top: 12px; color: var(--kievo-muted); font-size: .76rem; }
.product-attributes-title { margin-top: 30px; font: 600 1.35rem Georgia, serif; }

@media (min-width: 620px) {
  .category-grid-editorial { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid-editorial .category-card { min-height: 430px; }
}
@media (min-width: 1024px) {
  .category-grid-editorial { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid-editorial .category-card { min-height: 470px; }
}
@media (min-width: 1440px) {
  .category-grid-editorial { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
