:root {
  --forest: #172e26;
  --forest-light: #305446;
  --paper: #f6f5ee;
  --white: #fffefb;
  --lime: #dce47a;
  --ink: #1b3028;
  --muted: #69736b;
  --line: #dddfd4;
  --soft: #eceee4;
  --danger: #a5362b;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --shadow: 0 18px 60px #172e2614;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 300px; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]), body.no-scroll { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-underline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #8c9d34; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.full { width: 100%; }
.subtle { color: var(--muted); font-size: 12px; line-height: 1.5; }
.eyebrow { color: var(--forest-light); font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.5; }
.app-shell { width: min(100%, 1280px); margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 25; height: 89px; margin: 0 40px; display: flex; align-items: center; gap: 24px; background: #f6f5eef0; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; text-align: left; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; flex: 0 0 auto; border-radius: 10px; background: var(--forest); color: var(--white); font-size: 30px; line-height: 1; font-weight: 800; letter-spacing: -.09em; }
.brand-mark > span { color: var(--lime); padding: 14px 0 0 1px; font-size: 23px; }
.brand strong { display: block; font-size: 21px; font-weight: 800; letter-spacing: .09em; line-height: 1.15; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .01em; }
.header-city { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--muted); font-size: 12px; }
.header-city .icon { width: 16px; height: 16px; }
.icon-button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); }
.count-badge { position: absolute; top: -3px; right: -4px; min-width: 19px; height: 19px; padding: 0 4px; display: grid; place-items: center; border: 2px solid var(--paper); border-radius: 10px; background: var(--lime); color: var(--forest); font-size: 9px; font-weight: 800; }
.demo-banner { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 16px 40px 0; padding: 10px 14px; border: 1px solid #dadcb7; border-radius: 9px; color: #666b40; background: #eeefdc; font-size: 11px; line-height: 1.5; }
.demo-banner a { flex: 0 0 auto; font-weight: 600; }
main { min-height: calc(100dvh - 210px); }
.page { display: none; padding: 40px 40px 28px; }
.page.active { display: block; animation: enter .2s ease-out; }
@keyframes enter { from { opacity: .2; transform: translateY(4px); } }
.home-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding: 12px 0 38px; }
.home-heading .eyebrow { margin-bottom: 16px; }
.home-heading h1 { font-size: clamp(34px, 4vw, 51px); line-height: 1.07; font-weight: 600; letter-spacing: -.052em; }
.home-caption { padding-bottom: 5px; font-size: 13px; color: var(--muted); line-height: 1.65; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.section-head h2 { font-size: 23px; font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.section-head .eyebrow { margin-bottom: 7px; }
.text-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 4px 0; border: 0; background: transparent; color: var(--forest-light); font-size: 12px; font-weight: 600; text-decoration: none; }
.text-button .icon { width: 17px; height: 17px; }
.button { min-height: 49px; padding: 13px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 650; line-height: 1.4; text-align: center; text-decoration: none; transition: background-color .15s, transform .15s; }
.button .icon { width: 18px; height: 18px; }
.button-dark { background: var(--forest); color: var(--white); }
.button-yellow { background: var(--lime); color: var(--forest); }
.button-outline { background: transparent; border-color: var(--line); color: var(--forest); }
.button-light { background: #ffffff12; border-color: #ffffff30; color: var(--white); }
.promotions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 38px; }
.promotion { position: relative; display: flex; flex-direction: column; min-height: 227px; padding: 26px; overflow: hidden; isolation: isolate; border: 0; border-radius: 16px; background: var(--forest); color: var(--white); text-align: left; }
.promotion:nth-child(2n) { background: #e3e7d6; color: var(--forest); }
.promotion-kicker { position: relative; z-index: 1; margin-bottom: 14px; color: var(--lime); font-size: 10px; font-weight: 600; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.promotion:nth-child(2n) .promotion-kicker { color: #4e6348; }
.promotion h3 { position: relative; z-index: 1; max-width: 85%; margin-bottom: 8px; font-size: clamp(22px, 2.2vw, 29px); line-height: 1.12; letter-spacing: -.035em; font-weight: 550; overflow-wrap: anywhere; }
.promotion > p { position: relative; z-index: 1; max-width: 80%; font-size: 12px; line-height: 1.55; color: #c2cdc6; }
.promotion:nth-child(2n) > p { color: #647260; }
.promotion-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; margin-top: auto; padding-top: 24px; }
.promotion-price { font-size: 23px; font-weight: 600; letter-spacing: -.035em; }
.promotion-cta { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #ffffff40; border-radius: 50%; }
.promotion:nth-child(2n) .promotion-cta { border-color: #172e2640; }
.promotion-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.promotion.has-image::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(95deg, #102219ed 0%, #102219c7 48%, #10221930); }
.promotion.has-image { background: var(--forest); color: white; }
.promotion.has-image > p { color: #d5ddd6; }
.promotion.has-image .promotion-kicker { color: var(--lime); }
.promotion.has-image .promotion-cta { border-color: #ffffff50; }
.promotion-art { position: absolute; right: -10px; bottom: -20px; width: 175px; height: 175px; color: #839d70; opacity: .18; }
.promotion-art .icon, .promotion-art > svg { width: 100%; height: 100%; }
.promotion-empty { grid-column: 1 / -1; min-height: 170px; }
.promotion-empty > .button { align-self: flex-start; margin-top: 19px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 40px; }
.category-tile { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 85px; padding: 15px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-align: left; transition: border-color .15s, background-color .15s; }
.category-glyph { display: grid; place-items: center; width: 35px; height: 40px; flex: 0 0 auto; color: var(--forest-light); }
.category-glyph .icon { width: 27px; height: 27px; }
.category-tile > span:nth-child(2) { min-width: 0; }
.category-tile strong { display: block; font-size: 12px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.category-tile small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.tile-arrow { margin-left: auto; flex: 0 0 auto; color: #9da695; }
.tile-arrow .icon { width: 15px; height: 15px; }
.help-strip { display: flex; align-items: center; gap: 20px; margin-top: 35px; padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: #eceee2; }
.help-strip > .icon { width: 30px; height: 30px; }
.help-strip > div { flex: 1; }
.help-strip strong { font-size: 16px; font-weight: 600; }
.help-strip p { margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.help-strip .button { flex: 0 0 auto; }
.page-title { margin: 5px 0 26px; }
.page-title .eyebrow { margin-bottom: 10px; }
.page-title h1 { font-size: clamp(30px, 3.8vw, 43px); letter-spacing: -.045em; font-weight: 600; line-height: 1.15; }
.page-intro { max-width: 640px; margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.search-wrap { display: flex; align-items: center; gap: 12px; height: 55px; padding: 0 17px; margin-bottom: 25px; border: 1px solid var(--line); border-radius: 11px; background: var(--white); }
.search-wrap:focus-within { border-color: var(--forest-light); }
.search-wrap > .icon { width: 20px; height: 20px; color: #788675; }
.search-wrap input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; font-size: 14px; }
.search-wrap input::placeholder { color: #899081; }
.search-wrap .icon-button { width: 35px; height: 35px; margin-right: -8px; border: 0; background: var(--soft); }
.search-wrap .icon-button .icon { width: 16px; height: 16px; }
.catalog-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 27px; align-items: start; }
.category-sidebar { position: sticky; top: 111px; padding-right: 16px; border-right: 1px solid var(--line); }
.sidebar-heading { margin-bottom: 15px; font-size: 13px; font-weight: 700; }
#categoryList { display: grid; gap: 4px; }
#categoryList > button { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 11px; border: 0; border-radius: 8px; background: transparent; text-align: left; font-size: 12px; line-height: 1.4; }
#categoryList > button > span:last-child { color: #838c7e; font-size: 10px; }
#categoryList > button.active, #categoryList > button[aria-pressed="true"] { background: var(--forest); color: var(--white); }
#categoryList > button.active > span:last-child { color: #bec8bb; }
.catalog-results { min-width: 0; }
.mobile-category { display: none; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.results-toolbar h2 { margin-bottom: 5px; font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -.03em; }
.sort-control { flex: 0 0 auto; }
.sort-control select { width: 167px; min-height: 43px; padding: 9px 27px 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-size: 11px; cursor: pointer; }
.filter-panel { padding: 18px; margin-bottom: 24px; border: 1px solid #d4dbc6; border-radius: 12px; background: #eeefe5; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filter-head > div { display: flex; align-items: center; gap: 9px; min-width: 0; }
.filter-head .icon { width: 17px; height: 17px; }
.filter-head strong { font-size: 13px; font-weight: 600; line-height: 1.5; }
.filter-head .text-button { min-height: 30px; font-size: 11px; }
.filter-hint { padding: 9px 0 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
#filterGroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.filter-group { min-width: 0; padding: 0; margin: 0; border: 0; }
.filter-group legend { margin-bottom: 9px; padding: 0; font-size: 10px; font-weight: 700; letter-spacing: .045em; color: #62705b; }
.filter-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 39px; padding: 7px 10px; border: 1px solid #d3d9c8; border-radius: 7px; background: #fffefb; font-size: 11px; line-height: 1.35; cursor: pointer; }
.filter-chip input { width: 15px; height: 15px; margin: 0; flex: 0 0 auto; accent-color: var(--forest); cursor: pointer; }
.filter-chip:has(input:checked) { border-color: var(--forest-light); background: #dfe8d5; color: var(--forest); }
.filter-chip:has(input:focus-visible) { outline: 3px solid #8c9d34; outline-offset: 3px; }
.price-group { grid-column: 1 / -1; }
.price-range { display: flex; align-items: end; gap: 8px; }
.price-range label { width: 118px; color: var(--muted); font-size: 9px; font-weight: 600; }
.price-range label span { display: block; margin-bottom: 5px; }
.price-range input { width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid #d3d9c8; border-radius: 7px; background: #fffefb; color: var(--ink); font-size: 12px; }
.price-range input:focus { outline: 3px solid #8c9d34; outline-offset: 2px; }
.price-separator { padding-bottom: 10px; color: var(--muted); }
.price-apply { min-height: 39px; padding: 8px 14px; font-size: 10px; }
.price-note { display: block; margin-top: 7px; color: #707b65; font-size: 9px; font-weight: 400; line-height: 1.45; }
.filter-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 10px; border-top: 1px solid #d7ddcb; }
.filter-footer > span { max-width: 420px; color: #707b65; font-size: 10px; line-height: 1.5; }
.filter-footer .text-button { min-height: 32px; font-size: 11px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 15px; }
.active-filters:empty { display: none; }
.active-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 6px 9px; border: 1px solid #d4dbc8; border-radius: 6px; background: #e9eddc; font-size: 10px; }
.active-filter .icon { width: 13px; height: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.catalog-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: var(--white); transition: box-shadow .2s, border-color .2s; }
.product-open { display: block; width: 100%; min-height: 100%; padding: 0; border: 0; background: transparent; text-align: left; }
.product-open:focus-visible { outline-offset: -3px; border-radius: 13px; }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e7e9df; }
.product-media > img { width: 100%; height: 100%; object-fit: cover; }
.protected-media, .protected-media img { user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.placeholder-media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 100%; min-height: inherit; background: #e9ebe1; color: #8d9984; }
.placeholder-media > .icon, .placeholder-media > svg { width: 68px; height: 68px; stroke-width: 1.15; }
.placeholder-media small { max-width: 85%; text-align: center; font-size: 9px; line-height: 1.45; color: #77816d; }
.media-watermark { position: absolute; bottom: 9px; left: 10px; padding: 4px 6px; border-radius: 4px; background: #1730227d; color: #ffffffd9; font-size: 8px; font-weight: 600; letter-spacing: .1em; pointer-events: none; }
.product-badge { position: absolute; top: 11px; left: 10px; max-width: calc(100% - 64px); padding: 5px 7px; border-radius: 5px; background: var(--lime); color: var(--forest); font-size: 9px; font-weight: 600; line-height: 1.3; }
.favorite-button { position: absolute; z-index: 2; top: 9px; right: 9px; display: flex; align-items: center; justify-content: center; width: 37px; height: 37px; padding: 0; border: 1px solid #ffffff65; border-radius: 50%; background: #fffffff0; color: var(--forest); cursor: pointer; }
.favorite-button .icon { width: 18px; height: 18px; }
.favorite-button.active, .favorite-button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); }
.favorite-button.active .icon, .favorite-button[aria-pressed="true"] .icon { fill: var(--forest); }
.product-body { padding: 16px; }
.product-meta { min-height: 13px; margin-bottom: 8px; font-size: 9px; line-height: 1.4; color: var(--muted); letter-spacing: .025em; }
.product-card h3 { display: -webkit-box; min-height: 38px; margin: 0 0 13px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; font-weight: 600; line-height: 1.35; letter-spacing: -.015em; }
.product-highlights { display: flex; min-height: 52px; margin: -2px 0 12px; align-content: flex-start; flex-wrap: wrap; gap: 5px; }
.product-highlight { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 6px; border: 1px solid #dce1d3; border-radius: 5px; background: #f2f3eb; color: #5f6d59; font-size: 8px; font-weight: 600; line-height: 1.25; }
.product-highlight.matched { border-color: #9daf76; background: #dfe8d5; color: var(--forest); }
.product-price { display: block; font-size: 19px; line-height: 1.25; font-weight: 650; letter-spacing: -.04em; overflow-wrap: anywhere; }
.product-tagline { min-height: 29px; margin-top: 9px; font-size: 10px; line-height: 1.45; color: #67745f; }
.product-location { display: flex; align-items: center; gap: 4px; margin-top: 9px; color: #7a8374; font-size: 10px; line-height: 1.4; }
.product-location .icon { width: 12px; height: 12px; }
.unavailable-card .product-badge { background: #e6e4dc; color: #6c6c5e; }
.unavailable-card .product-media { filter: saturate(.45); }
.status-label { display: inline-block; margin: 0 0 8px; padding: 4px 6px; border-radius: 4px; background: #eee8d7; color: #796848; font-size: 9px; line-height: 1.3; }
.empty-state, .loading-state { grid-column: 1 / -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-height: 270px; padding: 35px 24px; border: 1px dashed #d6dacb; border-radius: 13px; background: #f9f9f3; color: var(--muted); text-align: center; }
.empty-state > .icon { width: 36px; height: 36px; margin-bottom: 2px; color: #8f9b7e; }
.empty-state strong { color: var(--ink); font-size: 19px; line-height: 1.35; font-weight: 600; }
.empty-state p { max-width: 350px; font-size: 13px; line-height: 1.65; }
.empty-state .button { margin-top: 5px; }
.loading-state { font-size: 13px; }
.contacts-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 52px; align-items: start; }
.contact-card { padding: 34px; border-radius: 18px; background: var(--forest); color: var(--white); }
.contact-card .brand-mark { margin-bottom: 28px; background: #ffffff12; }
.contact-card h2 { font-size: 28px; letter-spacing: .07em; line-height: 1.2; }
.contact-card > p { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: #b7c3b8; font-size: 13px; line-height: 1.6; }
.contact-card > p .icon { width: 15px; height: 15px; }
.contact-phone { display: inline-block; margin-top: 28px; font-size: clamp(21px, 2.5vw, 29px); letter-spacing: -.035em; text-decoration: none; }
.contact-card > p.contact-caption { margin: 9px 0 23px; font-size: 12px; }
.contact-card .button + .button { margin-top: 10px; }
.site-link { display: block; margin-top: 24px; color: #b6c4b6; text-align: center; font-size: 11px; text-decoration: none; }
.purchase-info { padding: 15px 0; }
.purchase-info > h2 { margin-bottom: 26px; font-size: 25px; font-weight: 600; letter-spacing: -.03em; }
.purchase-info > article { display: flex; gap: 18px; margin-bottom: 25px; }
.purchase-info > article > span { flex: 0 0 auto; padding-top: 2px; color: #7e8e68; font-size: 11px; font-weight: 600; }
.purchase-info h3 { margin-bottom: 7px; font-size: 15px; font-weight: 600; }
.purchase-info p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.purchase-info details { padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.purchase-info summary { font-size: 13px; font-weight: 600; cursor: pointer; }
.purchase-info details p { margin-top: 12px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 14px 40px 115px; padding-top: 22px; border-top: 1px solid var(--line); color: #81897b; font-size: 10px; line-height: 1.5; }
.footer-links { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: inherit; text-underline-offset: 0.18em; }
.legal-page { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: 3rem 0 5rem; color: var(--ink); }
.legal-page h1 { max-width: 680px; margin: 0.35rem 0 0.5rem; }
.legal-page h2 { margin: 2rem 0 0.55rem; font-size: 1.18rem; }
.legal-page p { max-width: 680px; line-height: 1.65; }
.legal-updated { color: var(--muted); font-size: 0.92rem; }
.bottom-nav { position: fixed; bottom: calc(17px + var(--safe-bottom)); left: 50%; z-index: 30; display: grid; grid-template-columns: repeat(4, 1fr); width: 440px; padding: 6px; border: 1px solid #d7dccd; border-radius: 17px; background: #fffefbf5; box-shadow: 0 8px 40px #172e261c; backdrop-filter: blur(18px); transform: translateX(-50%); }
.nav-item { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 49px; padding: 10px 7px; border: 0; border-radius: 11px; background: transparent; color: #7a8474; font-size: 10px; font-weight: 600; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-item.active { background: var(--forest); color: var(--white); }
dialog { position: fixed; padding: 0; margin: auto; border: 0; border-radius: 20px; background: var(--paper); color: var(--ink); max-height: calc(100dvh - 44px); box-shadow: 0 25px 100px #00000042; overscroll-behavior: contain; }
dialog[open] { animation: dialog-in .18s ease-out; }
dialog::backdrop { background: #08180f99; backdrop-filter: blur(4px); }
@keyframes dialog-in { from { opacity: .4; transform: translateY(12px); } }
.close-button { position: absolute; z-index: 8; top: 15px; right: 15px; width: 40px; height: 40px; border: 1px solid #dce0d2; background: #fffefbf2; }
.close-button .icon { width: 19px; height: 19px; }
.product-dialog { width: min(1030px, calc(100% - 50px)); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.detail-gallery { position: relative; min-width: 0; padding: 25px 0 25px 25px; }
.detail-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid #dfe3d6; border-radius: 12px; background: #e8ebe0; }
.detail-media > img { width: 100%; height: 100%; object-fit: contain; }
.detail-media .placeholder-media { position: absolute; inset: 0; }
.detail-media .placeholder-media .icon { width: 110px; height: 110px; }
.detail-media .placeholder-media small { font-size: 12px; }
.detail-media .media-watermark { left: 14px; bottom: 14px; padding: 6px 8px; font-size: 10px; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 5px; scrollbar-width: thin; }
.gallery-thumbs > button { flex: 0 0 auto; width: 64px; height: 56px; padding: 3px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.gallery-thumbs > button.selected { border: 2px solid var(--forest-light); padding: 2px; }
.gallery-thumbs img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; -webkit-user-drag: none; }
.detail-videos { display: grid; gap: 10px; padding: 18px 2px 0; }
.detail-videos > strong { color: var(--forest); font-size: 12px; letter-spacing: .02em; }
.detail-video { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #102018; }
.detail-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #102018; }
.detail-video span { position: absolute; top: 8px; left: 8px; padding: 4px 7px; border-radius: 5px; background: #f8f8f1e8; color: var(--forest); font-size: 9px; font-weight: 700; pointer-events: none; }
.detail-photos-note { padding-top: 8px; color: #7e8777; font-size: 10px; line-height: 1.55; }
.detail-content { min-width: 0; padding: 42px 28px 25px; }
.detail-category { display: block; margin-right: 30px; color: #728362; font-size: 10px; font-weight: 600; letter-spacing: .07em; line-height: 1.5; text-transform: uppercase; }
.detail-content h2 { margin: 10px 0 15px; font-size: 29px; line-height: 1.12; font-weight: 600; letter-spacing: -.04em; overflow-wrap: anywhere; }
.detail-price { margin-bottom: 18px; font-size: 29px; font-weight: 650; line-height: 1.2; letter-spacing: -.04em; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.detail-facts span { padding: 7px 9px; border-radius: 5px; background: #e8ecd9; color: var(--forest-light); font-size: 10px; line-height: 1.4; }
.detail-description { margin-bottom: 20px; color: #697260; font-size: 13px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.spec-list { padding: 0; margin: 0 0 22px; border-top: 1px solid var(--line); list-style: none; }
.spec-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 11px; line-height: 1.5; }
.spec-list li > span { color: var(--muted); }
.spec-list li > strong { max-width: 58%; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.detail-actions { display: grid; grid-template-columns: minmax(0, 1fr) 49px; gap: 9px; }
.detail-actions .favorite-button { position: static; width: 49px; height: 49px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.detail-actions .favorite-button.active, .detail-actions .favorite-button[aria-pressed="true"] { border-color: var(--lime); background: var(--lime); }
.detail-secondary { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 5px 16px; padding-top: 10px; }
.detail-secondary > button, .detail-secondary > a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 4px 0; border: 0; background: transparent; color: var(--forest-light); font-size: 11px; text-decoration: none; }
.detail-secondary .icon { width: 15px; height: 15px; }
.detail-number { margin-top: 8px; color: #87917e; font-size: 10px; line-height: 1.5; }
.message-dialog, .small-dialog { width: min(480px, calc(100% - 36px)); padding: 35px 28px 24px; }
.message-dialog .eyebrow, .small-dialog .eyebrow { padding-right: 38px; margin-bottom: 12px; font-size: 9px; }
.message-dialog h2, .small-dialog h2 { padding-right: 24px; margin-bottom: 20px; font-size: 27px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.message-attachment { padding: 13px; margin-bottom: 19px; border: 1px solid #d8ddc7; border-radius: 8px; background: #eaeddc; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.message-attachment strong, .message-attachment small { display: block; }
.message-attachment small { margin-top: 4px; color: #7c866f; font-size: 10px; }
.message-attachment .icon { width: 15px; height: 15px; margin-right: 5px; }
.message-dialog form { display: grid; gap: 16px; }
.message-dialog label { display: block; color: var(--forest-light); font-size: 12px; font-weight: 600; line-height: 1.5; }
.message-dialog input:not([type="checkbox"]), .message-dialog textarea, .small-dialog > input { display: block; width: 100%; min-width: 0; min-height: 47px; margin-top: 7px; padding: 12px; border: 1px solid #d4d9ca; border-radius: 8px; background: var(--white); color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.5; }
.message-dialog textarea { resize: vertical; min-height: 105px; }
.message-dialog input::placeholder, .message-dialog textarea::placeholder { color: #929a89; font-size: 13px; }
.optional { margin-left: 5px; color: #909983; font-size: 10px; font-weight: 400; }
.message-dialog label.consent { display: flex; align-items: flex-start; gap: 9px; color: #79836f; font-size: 10px; font-weight: 400; line-height: 1.6; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--forest); }
.form-error { padding: 11px 12px; border-radius: 7px; background: #f6e4dd; color: var(--danger); font-size: 12px; line-height: 1.5; }
.form-note { color: #8a927e; font-size: 10px; line-height: 1.5; text-align: center; }
.small-dialog .page-intro { margin: -5px 0 18px; }
.small-dialog > input { margin-bottom: 17px; font-size: 13px; }
.small-dialog > .button + .button { margin-top: 10px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: calc(103px + var(--safe-bottom)); width: max-content; max-width: calc(100% - 32px); padding: 13px 17px; border-radius: 10px; background: var(--forest); color: var(--white); box-shadow: var(--shadow); transform: translateX(-50%); font-size: 12px; line-height: 1.55; text-align: center; }
.toast.error { background: var(--danger); }
@media (hover: hover) {
  .button-dark:hover { background: #305144; }
  .button-yellow:hover { background: #e8ed9d; }
  .button-outline:hover, .icon-button:hover { background: #edf0e1; }
  .text-button:hover, .site-link:hover { text-decoration: underline; }
  .category-tile:hover { border-color: #a6b498; background: #f1f4e9; }
  .product-card:hover { border-color: #b7c3a8; box-shadow: 0 7px 25px #172e260a; }
  #categoryList > button:not(.active):hover { background: #e8ecdf; }
  .promotion:hover .promotion-cta { background: #ffffff20; }
  .favorite-button:hover { outline: 2px solid #a7b591; }
}
@media (max-width: 1050px) {
  .topbar, .demo-banner, .site-footer { margin-inline: 28px; }
  .page { padding-inline: 28px; }
  .home-caption { max-width: 230px; font-size: 12px; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; }
  .contacts-layout { gap: 30px; }
}
@media (max-width: 740px) {
  .topbar { height: 74px; margin-inline: 18px; gap: 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 8px; font-size: 27px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 9px; margin-top: 4px; }
  .header-city { font-size: 10px; gap: 3px; }
  .header-city .icon { width: 13px; height: 13px; }
  .top-favorite { width: 38px; height: 38px; }
  .top-favorite .icon { width: 18px; height: 18px; }
  .demo-banner { margin: 12px 18px 0; padding: 9px 11px; flex-wrap: wrap; font-size: 9px; gap: 3px; }
  .demo-banner a { margin-left: auto; }
  .page { padding: 27px 18px 18px; }
  .home-heading { display: block; padding: 2px 0 28px; }
  .home-heading .eyebrow { font-size: 9px; margin-bottom: 13px; }
  .home-heading h1 { font-size: clamp(31px, 6.3vw, 43px); line-height: 1.1; }
  .home-caption { max-width: none; margin-top: 15px; padding: 0; font-size: 11px; line-height: 1.6; }
  .home-caption br { display: none; }
  .section-head { gap: 9px; margin-bottom: 14px; }
  .section-head h2 { font-size: 21px; }
  .section-head .subtle { max-width: 150px; font-size: 10px; text-align: right; }
  .text-button { font-size: 11px; }
  .promotions { gap: 11px; margin-bottom: 26px; }
  .promotion { padding: 20px; min-height: 219px; border-radius: 13px; }
  .promotion h3 { font-size: 24px; max-width: 100%; }
  .promotion > p { font-size: 11px; max-width: 100%; }
  .promotion-kicker { font-size: 8px; margin-bottom: 12px; }
  .promotion-price { font-size: 21px; }
  .promotion-bottom { padding-top: 18px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 29px; }
  .category-tile { min-height: 82px; padding: 12px 10px; gap: 8px; }
  .category-glyph { width: 27px; }
  .category-glyph .icon { width: 25px; height: 25px; }
  .category-tile strong { font-size: 11px; }
  .category-tile small { font-size: 9px; }
  .tile-arrow { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 11px; }
  .product-body { padding: 13px; }
  .product-price { font-size: 18px; }
  .product-meta { font-size: 8px; }
  .product-card h3 { font-size: 13px; min-height: 36px; margin-bottom: 10px; }
  .product-tagline { font-size: 9px; min-height: 27px; }
  .product-location { font-size: 9px; }
  .product-badge { top: 8px; left: 8px; max-width: calc(100% - 52px); padding: 4px 5px; font-size: 8px; }
  .favorite-button { top: 6px; right: 6px; width: 35px; height: 35px; }
  .favorite-button .icon { width: 17px; height: 17px; }
  .help-strip { flex-wrap: wrap; gap: 12px; margin-top: 25px; padding: 20px; }
  .help-strip > .icon { width: 24px; height: 24px; }
  .help-strip strong { font-size: 13px; line-height: 1.5; }
  .help-strip p { font-size: 11px; line-height: 1.6; }
  .help-strip .button { width: 100%; margin-top: 2px; }
  .page-title { margin: 2px 0 22px; }
  .page-title h1 { font-size: 31px; }
  .page-title .eyebrow { font-size: 9px; }
  .page-intro { font-size: 12px; }
  .search-wrap { margin-bottom: 18px; height: 52px; padding-inline: 13px; }
  .search-wrap input { font-size: 16px; }
  .search-wrap input::placeholder { font-size: 13px; }
  .catalog-layout { display: block; }
  .category-sidebar { display: none; }
  .mobile-category { display: grid; gap: 8px; margin-bottom: 18px; }
  .mobile-category label { font-size: 11px; color: var(--muted); }
  .mobile-category select { width: 100%; height: 47px; padding: 9px 32px 9px 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); font-size: 13px; }
  .filter-panel { margin-bottom: 22px; padding: 14px; }
  .filter-head { gap: 5px; }
  .filter-head strong { font-size: 11px; }
  .filter-head > div { gap: 7px; }
  .filter-head .text-button { font-size: 10px; }
  #filterGroups { grid-template-columns: 1fr; gap: 16px; }
  .filter-chip { min-height: 40px; padding: 8px 10px; font-size: 11px; }
  .filter-hint { padding-top: 8px; font-size: 10px; }
  .filter-footer > span { font-size: 9px; }
  .results-toolbar { gap: 10px; align-items: center; }
  .results-toolbar h2 { font-size: 19px; }
  .results-toolbar .subtle { font-size: 10px; }
  .sort-control select { width: 133px; min-height: 41px; padding-left: 9px; padding-right: 20px; font-size: 10px; }
  .contacts-layout { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { padding: 27px; border-radius: 15px; }
  .contact-card h2 { font-size: 25px; }
  .contact-phone { font-size: 27px; }
  .purchase-info { padding: 15px 5px; }
  .purchase-info > h2 { font-size: 23px; margin-bottom: 23px; }
  .site-footer { margin: 16px 18px calc(101px + var(--safe-bottom)); padding-top: 18px; font-size: 9px; }
  .bottom-nav { bottom: 0; width: 100%; padding: 7px 10px calc(7px + var(--safe-bottom)); border-radius: 0; border: 0; border-top: 1px solid #dce0d0; box-shadow: 0 -5px 25px #172e2605; }
  .nav-item { flex-direction: column; gap: 4px; min-height: 50px; padding: 5px; font-size: 9px; }
  .nav-item .icon { width: 20px; height: 20px; }
  .nav-item.active { background: #e9edda; color: var(--forest); }
  dialog { max-height: calc(100dvh - 26px); }
  .product-dialog { top: auto; bottom: 0; left: 0; right: 0; width: 100%; max-width: 100%; margin: 0; border-radius: 20px 20px 0 0; }
  .detail-layout { display: block; }
  .detail-gallery { padding: 0; }
  .detail-media { aspect-ratio: 4 / 3; border: 0; border-radius: 20px 20px 0 0; }
  .detail-media > img { max-height: 45dvh; }
  .detail-media .placeholder-media .icon { width: 90px; height: 90px; }
  .detail-gallery .gallery-thumbs { padding: 12px 18px 3px; }
  .detail-photos-note { padding: 8px 18px 0; font-size: 9px; }
  .detail-videos { padding: 16px 18px 3px; }
  .detail-content { padding: 23px 19px calc(17px + var(--safe-bottom)); }
  .detail-category { font-size: 9px; }
  .detail-content h2 { margin-top: 10px; font-size: 28px; }
  .detail-price { font-size: 28px; }
  .detail-description { font-size: 13px; }
  .detail-actions { position: sticky; bottom: calc(-17px - var(--safe-bottom)); z-index: 5; grid-template-columns: minmax(0, 1fr) 49px; margin: 0 -19px; padding: 12px 19px calc(12px + var(--safe-bottom)); border-top: 1px solid var(--line); background: #f6f5eef5; backdrop-filter: blur(12px); }
  .detail-secondary { padding-top: 7px; }
  .detail-number { margin-top: 4px; }
  .message-dialog, .small-dialog { padding: 32px 22px 23px; border-radius: 17px; max-height: calc(100dvh - 30px); }
  .message-dialog h2, .small-dialog h2 { font-size: 26px; }
  .message-dialog .close-button, .small-dialog .close-button { top: 11px; right: 11px; width: 36px; height: 36px; }
  .toast { bottom: calc(83px + var(--safe-bottom)); }
}
@media (max-width: 480px) {
  .header-city { display: none; }
  .top-favorite { margin-left: auto; }
  .category-tile { flex-direction: column; align-items: flex-start; min-height: 112px; }
  .category-glyph { height: 25px; }
  .promotions { grid-template-columns: 1fr; }
  .promotion { min-height: 205px; }
  .promotion h3 { max-width: 85%; font-size: 28px; }
  .promotion > p { max-width: 86%; }
  .promotion-kicker { font-size: 9px; }
  .promotion-price { font-size: 23px; }
  .promotion-empty { min-height: 180px; }
  .product-body { padding: 12px 10px; }
  .product-price { font-size: 17px; }
  .product-card h3 { font-size: 12px; min-height: 33px; }
  .placeholder-media > .icon, .placeholder-media > svg { width: 51px; height: 51px; }
  .placeholder-media { gap: 9px; }
  .placeholder-media small { font-size: 8px; }
  .product-tagline { min-height: 28px; }
  .section-head .text-button { font-size: 10px; gap: 4px; }
  .site-footer { flex-wrap: wrap; gap: 7px; }
}
@media (max-width: 350px) {
  .topbar, .demo-banner, .site-footer { margin-inline: 12px; }
  .page { padding-inline: 12px; }
  .home-heading h1 { font-size: 28px; }
  .category-tile { padding-inline: 8px; gap: 5px; }
  .category-glyph { width: 22px; }
  .category-glyph .icon { width: 21px; }
  .category-tile strong { font-size: 10px; }
  .product-grid { gap: 8px; }
  .product-price { font-size: 15px; }
  .filter-head strong { font-size: 10px; }
  .sort-control select { width: 118px; }
  .results-toolbar h2 { font-size: 17px; }
  .contact-phone { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
