:root {
  --brand-dark: #172131;
  --brand-green: #2F8F2F;
  --brand-green-dark: #17652B;
  --brand-green-light: #EAF5E7;
  --brand-orange: #E28512;
  --wood: #D7A15C;
  --wood-light: #F2DFC4;
  --wood-dark: #9A6532;
  --background: #FFFFFF;
  --background-soft: #F7F8F5;
  --background-green: #F1F7EF;
  --text-primary: #172131;
  --text-secondary: #5F6873;
  --text-muted: #8B929A;
  --border: #E3E7E1;
  --border-dark: #CBD2CA;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(23, 33, 49, .06);
  --shadow-md: 0 8px 24px rgba(23, 33, 49, .08);
  --shadow-lg: 0 16px 40px rgba(23, 33, 49, .10);
  --ink: var(--text-primary);
  --green: var(--brand-green-dark);
  --muted: var(--text-secondary);
  --line: var(--border);
  --cream: var(--background-soft);
  --paper: var(--background);
  --accent: var(--brand-green-light);
  --serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 116px; }
body { margin: 0; color: var(--text-primary); background: var(--background); font: 14px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 3px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1512px; margin: auto; padding-left: 56px; padding-right: 56px; }
.topline { color: #d3d6ca; background: #252d27; font-size: 10px; letter-spacing: .4px; }
.topline .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topline .wrap > span:first-child { display: flex; align-items: center; gap: 8px; }
.topline i { width: 4px; height: 4px; border-radius: 50%; background: #c5b28d; }
.site-header { position: sticky; top: 0; z-index: 10; background: #fffffff5; backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; min-height: 100px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 650; line-height: 1; letter-spacing: -1.4px; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-mark rect { rx: 2px; }
.brand-light { font-weight: 400; }
.brand-dot { color: #a58e68; }
.brand small { display: block; font-size: 6px; letter-spacing: 1.65px; font-weight: 500; margin-top: 10px; }
.header-catalog { display: flex; gap: 9px; align-items: center; padding: 10px 0; font-size: 12px; white-space: nowrap; }
.header-catalog:hover { color: #8a6b45; }
.search { display: flex; flex: 1; min-width: 0; gap: 12px; align-items: center; background: #f4f5f4; border: 1px solid transparent; border-radius: 2px; padding: 13px 15px; }
.search:focus-within { border-color: #b6ac96; background: #fffefb; }
.search input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 11px; color: var(--ink); outline: none; }
.search svg, .search-icon { display: block; flex-shrink: 0; width: 20px; height: 20px; }
.search-icon { mix-blend-mode: multiply; }
.search kbd { border: 1px solid #d5d7ca; color: #9a9d91; padding: 0 5px; font-size: 11px; }
.phone, .seo-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.phone-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.mobile-search-toggle { display: none; }
.cart-button { display: flex; gap: 10px; align-items: center; background: none; border: 1px solid var(--border-dark); padding: 12px 14px; border-radius: var(--radius-sm); font-size: 11px; }
.cart-button:hover { background: var(--brand-green-light); }
.cart-button #cartCount { display: grid; place-items: center; min-width: 20px; height: 20px; font-size: 9px; background: var(--ink); color: white; border-radius: 50%; }
main.wrap { padding-top: 28px; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; min-height: 480px; background: #f5f6f5; overflow: hidden; }
.hero-content { padding: 48px 40px 34px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; font-size: 8px; letter-spacing: 1.8px; color: #6d7767; }
.hero-pill i { width: 19px; height: 1px; background: #9d8b6c; }
h1, h2, h3, p { overflow-wrap: break-word; }
.hero h1 { margin: 35px 0 25px; font-family: var(--serif); font-size: clamp(42px, 4.3vw, 66px); font-weight: 500; line-height: 1.09; letter-spacing: -2.9px; }
.hero h1 span { color: #5b7063; font-style: normal; }
.hero p { margin: 0 0 28px; color: #68715f; font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 23px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 50px; padding: 14px 22px; border: 1px solid var(--brand-green-dark); border-radius: 8px; background: var(--brand-green-dark); color: #fff; font-size: 12px; font-weight: 650; transition: background .2s, transform .2s; }
.button span { font-size: 18px; line-height: 1; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.hero-action-note { font-size: 9px; color: #79806f; line-height: 1.8; }
.hero-note { margin-top: auto; padding-top: 37px; display: flex; align-items: center; gap: 12px; font-size: 8px; color: #8c9283; letter-spacing: .4px; }
.note-line { height: 1px; width: 26px; background: #b0b59f; }
.hero-visual { min-width: 0; position: relative; background: #dac7a6; overflow: hidden; }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #f5ecdb85, transparent 24%, transparent 58%, #201c15a3); pointer-events: none; }
.visual-top { position: absolute; top: 25px; left: 25px; right: 25px; display: flex; justify-content: space-between; font-size: 8px; letter-spacing: 1.5px; z-index: 1; color: #4f4a3c; }
.visual-top > span:last-child { font-size: 20px; }
.wood-tag { position: absolute; left: 28px; bottom: 113px; color: #fffaf0; z-index: 1; font-family: var(--serif); font-size: 32px; font-weight: 400; line-height: 1.1; letter-spacing: -.8px; }
.wood-tag span, .wood-tag b { display: block; font-weight: 400; }
.wood-tag b { font-style: italic; }
.visual-bottom { display: flex; justify-content: space-between; align-items: center; position: absolute; left: 28px; right: 28px; bottom: 22px; padding-top: 17px; border-top: 1px solid #fff8e85e; z-index: 1; color: #fffaf0; }
.visual-bottom small { display: block; font-size: 7px; letter-spacing: 1.5px; margin-bottom: 5px; color: #e0d3bd; }
.visual-bottom b { font-size: 11px; font-weight: 400; }
.round-arrow { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #fff8e86b; border-radius: 50%; font-size: 19px; transition: background .2s; }
.visual-bottom:hover .round-arrow { background: #fff8e82b; }
.benefits { display: flex; border-bottom: 1px solid var(--line); padding: 27px 0; gap: 30px; }
.benefits > span { display: flex; flex: 1; min-width: 0; align-items: flex-start; gap: 15px; font-size: 11px; }
.benefits > span + span { border-left: 1px solid var(--line); padding-left: 30px; }
.benefits b { font-family: var(--serif); font-size: 23px; font-weight: 400; color: #b1a38b; line-height: 1.2; }
.benefits small { display: block; color: #898e80; font-size: 9px; margin-top: 4px; }
.eyebrow { color: #8c917f; font-size: 8px; letter-spacing: 1.8px; font-weight: 500; }
h2 { font-family: var(--serif); font-size: 35px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.2; margin: 12px 0; }
h3 { font-size: 15px; font-weight: 650; margin: 0 0 15px; }
.collection-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin: 45px 0 25px; }
.collection-heading h2 { margin-bottom: 0; }
.collection-heading p { color: #828877; font-size: 11px; line-height: 1.8; margin: 0; }
.promotions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo { display: flex; position: relative; overflow: hidden; isolation: isolate; min-height: 280px; align-items: flex-end; padding: 30px; background: #d2bea0; color: white; }
.promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #26251dd6, #26251d0d 85%); z-index: -1; }
.promo > div { z-index: 1; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; z-index: -2; transition: transform .7s; }
.promo:hover img { transform: scale(1.04); }
.promo-eyebrow { font-size: 8px; letter-spacing: 1.7px; color: #e2d8c5; }
.promo h2 { margin: 14px 0 20px; font-size: 38px; font-weight: 400; line-height: 1.05; letter-spacing: -1.2px; }
.promo-link { display: inline-flex; align-items: center; gap: 24px; font-size: 10px; }
.promo-link > span { font-size: 18px; }
.catalog { padding-top: 50px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head h2 { font-size: 38px; margin-bottom: 0; }
h2 > span { display: inline-block; vertical-align: middle; font: 10px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: #848d78; letter-spacing: .3px; margin-left: 12px; border: 1px solid var(--line); padding: 3px 8px; border-radius: 2px; }
.text-button { background: none; border: 0; border-bottom: 1px solid #b5bba8; padding: 7px 0; font-size: 10px; color: #7b8371; }
.catalog-layout { display: grid; grid-template-columns: 205px minmax(0, 1fr); gap: 35px; }
.filters { align-self: start; position: sticky; top: 125px; }
.filters h3 { font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; margin: 8px 0 16px; }
.filters nav { display: flex; flex-direction: column; gap: 2px; }
.category { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; background: none; border: 0; border-left: 2px solid transparent; padding: 11px 10px; font-size: 11px; line-height: 1.5; }
.category span { font-size: 9px; color: #929887; }
.category.active { background: #eef2ef; border-left-color: #6e7b5e; font-weight: 500; }
.category:not(.active):hover { background: #f4f5f4; }
.stock-filter { display: flex; gap: 8px; align-items: center; font-size: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 18px; }
input[type=checkbox] { accent-color: var(--brand-green); width: 14px; height: 14px; }
.help-box { margin-top: 28px; padding: 23px 17px; background: #f4f5f4; border-top: 1px solid #c1c6b3; font-size: 11px; }
.help-box > span { font-family: var(--serif); font-size: 21px; }
.help-box p { color: #858b78; line-height: 1.8; margin: 10px 0 16px; }
.help-box a { font-size: 11px; border-bottom: 1px solid #9fa891; padding-bottom: 4px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; min-height: 30px; color: #89917d; font-size: 10px; }
.toolbar select { border: 0; border-bottom: 1px solid #cbd0c0; background: transparent; color: #4d5844; font-size: 10px; padding: 6px 0; margin-left: 10px; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 20px; }
.product { display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.product:hover { border-color: var(--brand-green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-image { display: block; position: relative; overflow: hidden; height: 210px; padding: 20px; background: var(--background-soft); }
.product-image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s; }
.product:hover .product-image img { transform: scale(1.055); }
.stock { position: absolute; top: 12px; left: 12px; padding: 4px 8px; background: #fff; color: var(--brand-green-dark); border: 1px solid var(--brand-green-light); border-radius: var(--radius-sm); font-size: 9px; font-weight: 600; }
.stock::before { content: '●'; font-size: 5px; margin-right: 4px; vertical-align: middle; }
.stock.unavailable { color: #8d7d61; }
.image-note { position: absolute; bottom: 8px; right: 9px; background: #ffffffe6; padding: 3px 6px; font-size: 8px; color: #808774; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 17px 0 19px; }
.product-category { font-size: 7px; letter-spacing: 1.1px; color: #8b947d; text-transform: uppercase; margin-bottom: 8px; }
.product h3 { font-size: 12px; font-weight: 400; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.product h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.price { font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -.6px; white-space: nowrap; }
.add { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; border: 1px solid var(--brand-green); background: var(--brand-green-light); color: var(--brand-green-dark); padding: 7px 12px; font-size: 11px; font-weight: 650; border-radius: 8px; transition: background .2s, color .2s, border-color .2s; }
.add-plus { font-size: 18px; line-height: 1; }
.add:hover { background: var(--brand-green); border-color: var(--brand-green); color: white; }
.add:disabled { opacity: .35; cursor: default; }
.more { width: 100%; margin-top: 30px; padding: 15px; background: none; border: 1px solid #cbd1bd; color: #627052; font-size: 11px; }
.more:hover { background: #ecefe1; }
.empty { grid-column: 1/-1; text-align: center; color: #838e75; padding: 50px 10px; font-size: 13px; }
.order-banner { display: flex; align-items: center; justify-content: space-between; gap: 25px; background: #293328; color: #f5f3e7; padding: 45px; margin-top: 75px; }
.order-banner .eyebrow { color: #acb79c; }
.order-banner h2 { font-size: 40px; line-height: 1.1; margin: 20px 0; }
.order-banner p { color: #acb69e; font-size: 11px; }
.order-banner .button { background: #e4decd; border-color: #e4decd; color: #303a29; flex-shrink: 0; }
.order-banner .button:hover { background: #f4eedc; }
.seo-content { max-width: 1000px; color: #6c746e; font-size: 12px; line-height: 1.9; margin: 45px 0; }
.seo-content h2 { font-size: 28px; line-height: 1.2; color: var(--ink); }
.seo-content > a { text-decoration: underline; text-underline-offset: 5px; }
.seo-category-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 23px 0; }
.seo-category-links a { border-bottom: 1px solid #c5cdba; padding: 5px 0; margin-right: 12px; font-size: 11px; color: #5d6c50; }
.seo-category-links a:hover { color: #92784f; }
footer { background: #232b23; padding: 40px 0; margin-top: 45px; }
.footer-inner { display: flex; justify-content: space-between; gap: 35px; color: #9ba78c; font-size: 10px; }
.footer-inner strong { font-size: 25px; font-weight: 500; color: #e6e8db; letter-spacing: -1.5px; }
.footer-inner p { margin-bottom: 0; }
#contacts { max-width: 390px; }
#contacts a, .footer-inner > div > a { display: block; color: #d6ddc7; }
/* Same-page cart and checkout. */
dialog { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(570px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; padding: 0; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #18201680; backdrop-filter: blur(4px); }
body:has(dialog[open]) { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; position: sticky; top: 0; z-index: 2; padding: 25px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 31px; margin: 7px 0 0; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); background: white; color: var(--brand-dark); font-size: 24px; line-height: 1; }
.drawer-body { padding: 0 28px 30px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: start; gap: 14px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 64px; object-fit: contain; background: var(--cream); }
.cart-item h3 { font-size: 11px; line-height: 1.6; font-weight: 400; margin-bottom: 10px; }
.cart-item strong { font-size: 12px; font-weight: 500; white-space: nowrap; }
.quantity { display: flex; align-items: center; width: fit-content; border: 1px solid var(--border-dark); border-radius: var(--radius-sm); overflow: hidden; }
.quantity button { border: 0; background: var(--background-soft); color: var(--brand-dark); width: 38px; height: 38px; }
.quantity input { width: 48px; height: 31px; text-align: center; border: 0; background: none; font-size: 11px; appearance: textfield; -moz-appearance: textfield; }
.quantity input::-webkit-inner-spin-button { appearance: none; }
.remove { display: block; padding: 0; margin-top: 9px; border: 0; border-bottom: 1px solid #d0c9b9; background: none; font-size: 9px; color: #8b8270; }
.total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 21px 0 10px; margin-top: 9px; font-size: 12px; }
.total strong { font-family: var(--serif); font-size: 30px; font-weight: 400; }
.muted { font-size: 10px; color: #8c957e; }
form { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 23px; }
form h3 { font-family: var(--serif); font-size: 27px; font-weight: 400; margin-bottom: 0; }
form label { display: block; margin-top: 18px; font-size: 11px; }
form input, form textarea { display: block; width: 100%; min-height: 48px; background: #fff; border: 1px solid var(--border-dark); border-radius: 8px; padding: 12px; font-size: 14px; margin-top: 8px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.local-note { font-size: 10px; color: #89917c; line-height: 1.8; margin-top: 20px; }
.submit { width: 100%; margin-top: 9px; padding: 16px 20px; }
.order-error { color: #a52e2e; background: #fff1f0; border-radius: 8px; padding: 11px 13px; font-size: 12px; line-height: 1.5; }
.success { padding-top: 30px; }
.success-icon { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid #bbc6a9; border-radius: 50%; color: #6b8158; font-size: 25px; }
.success h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin-top: 25px; }
.success p { color: #7b876b; font-size: 12px; line-height: 1.8; }
.success .button { width: 100%; margin-top: 12px; }
.success .secondary { border-color: #ced5c1; color: var(--ink); background: none; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 15px); opacity: 0; pointer-events: none; max-width: calc(100% - 30px); background: var(--ink); color: #f3f0e3; padding: 13px 24px; font-size: 12px; transition: opacity .2s, transform .2s; text-align: center; z-index: 30; box-shadow: 0 10px 30px #14240e18; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 50; background: var(--ink); color: white; padding: 12px 18px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
/* Statically generated catalogue and product detail pages. */
.seo-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; min-height: 95px; font-size: 11px; }
.seo-header .brand { font-size: 26px; }
.seo-header .brand img { border-radius: 1px; }
.seo-main { padding-top: 30px; padding-bottom: 25px; }
.breadcrumbs { margin-bottom: 28px; color: #8c947f; font-size: 10px; }
.breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.seo-title { font-family: var(--serif); color: var(--brand-dark); font-size: clamp(32px, 4vw, 52px); font-weight: 750; letter-spacing: -1.5px; line-height: 1.15; margin: 28px 0; }
.seo-intro { max-width: 820px; color: var(--text-secondary); font-size: 14px; line-height: 1.7; }
.seo-main > .products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; margin-bottom: 45px; }
.detail-image { background: var(--cream); }
.detail-image img { display: block; width: 100%; height: auto; max-height: 580px; object-fit: contain; mix-blend-mode: multiply; }
.product-detail h1 { font-family: var(--serif); font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; line-height: 1.2; letter-spacing: -1.5px; margin: 20px 0; }
.product-detail p { font-size: 12px; }
.product-detail .detail-price { font-family: var(--serif); font-size: 36px; letter-spacing: -1px; }
.detail-stock { color: #6d845a; }
/* Restrained motion, no scroll handlers or animation library. */
.hero-content > * { animation: rise .55s ease-out both; }
.hero h1 { animation-delay: .05s; }
.hero p { animation-delay: .1s; }
.hero-actions { animation-delay: .15s; }
.hero-visual img { animation: image-enter .7s ease-out both; }
dialog[open] { animation: panel-enter .25s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes image-enter { from { opacity: .6; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
@keyframes panel-enter { from { opacity: .5; transform: translateX(35px); } to { opacity: 1; transform: none; } }
@media (min-width: 1500px) {
  .hero { min-height: 510px; }
  .hero-content { padding: 56px 48px 38px; }
  .hero h1 { font-size: 70px; }
  .product-image { height: 235px; }
}
@media (max-width: 1200px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .header { gap: 18px; min-height: 90px; }
  .phone { display: none; }
  .hero { min-height: 470px; }
  .hero-content { padding: 40px 30px 30px; }
  .hero h1 { font-size: 52px; letter-spacing: -2.5px; }
  .hero-actions { gap: 15px; }
  .hero-action-note { font-size: 8px; }
  .catalog-layout { grid-template-columns: 185px minmax(0, 1fr); gap: 25px; }
  .product-image { height: 175px; padding: 18px; }
  .price { font-size: 17px; }
  .add { padding: 5px 8px; }
  .add-label { font-size: 9px; }
}
@media (max-width: 950px) {
  .header { gap: 15px; }
  .brand { font-size: 24px; }
  .brand small { font-size: 5px; letter-spacing: 1.4px; }
  .brand-mark { width: 36px; height: 36px; }
  .header-catalog span, .cart-label { display: none; }
  .hero-content { padding: 34px 24px 26px; }
  .hero h1 { font-size: 43px; letter-spacing: -2px; }
  .hero-pill { font-size: 6px; letter-spacing: 1.1px; }
  .hero p { font-size: 11px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { padding: 13px 15px; gap: 18px; font-size: 10px; }
  .hero-note { font-size: 7px; }
  .hero { min-height: 440px; }
  .wood-tag { font-size: 28px; }
  .benefits { gap: 18px; }
  .benefits > span + span { padding-left: 18px; }
  .benefits > span { gap: 10px; font-size: 10px; }
  .benefits small { font-size: 8px; }
  .promo { min-height: 260px; }
  .promo h2 { font-size: 32px; }
  .catalog-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 20px; }
  .products { gap: 25px 15px; }
  .product-image { height: 150px; }
  .product h3 { font-size: 11px; }
  .add-label { display: none; }
  .add { padding: 5px; }
  .order-banner { padding: 35px 30px; }
  .order-banner h2 { font-size: 34px; }
  .seo-main > .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 146px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .topline { font-size: 8px; }
  .topline .wrap > span:last-child { display: none; }
  .header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; min-height: 0; padding-top: 14px; padding-bottom: 14px; }
  .brand { grid-column: 1; grid-row: 1; min-width: 0; font-size: 25px; gap: 10px; }
  .brand small { font-size: 5px; letter-spacing: 1.5px; margin-top: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .header-catalog { display: none; }
  .search { grid-column: 1/-1; grid-row: 2; padding: 10px 12px; }
  .search input { font-size: 11px; }
  .search kbd { display: none; }
  .cart-button { grid-column: 2; grid-row: 1; justify-self: end; padding: 9px 10px; gap: 8px; }
  .cart-button #cartCount { height: 18px; min-width: 18px; }
  main.wrap { padding-top: 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-content { padding: 32px 24px 26px; }
  .hero-pill { font-size: 6px; letter-spacing: 1.1px; }
  .hero h1 { font-size: clamp(35px, 9.2vw, 58px); line-height: 1.08; letter-spacing: -1.7px; margin: 27px 0 22px; }
  .hero p { font-size: 11px; line-height: 1.9; margin-bottom: 23px; }
  .hero-actions { gap: 20px; }
  .hero-actions .button { font-size: 10px; padding: 13px 16px; gap: 24px; }
  .hero-action-note { font-size: 8px; }
  .hero-note { margin-top: 0; padding-top: 28px; font-size: 7px; letter-spacing: 0; gap: 9px; }
  .hero-visual { min-height: 300px; height: 300px; }
  .hero-visual img { object-position: center 54%; }
  .visual-top { top: 18px; left: 22px; right: 22px; font-size: 6px; }
  .wood-tag { bottom: 87px; left: 22px; font-size: 27px; }
  .visual-bottom { left: 22px; right: 22px; bottom: 18px; padding-top: 13px; }
  .visual-bottom small { font-size: 6px; }
  .visual-bottom b { font-size: 10px; }
  .round-arrow { width: 29px; height: 29px; font-size: 16px; }
  .benefits { gap: 12px; padding: 23px 0; }
  .benefits > span { flex-direction: column; gap: 8px; font-size: 9px; line-height: 1.5; }
  .benefits > span + span { padding-left: 12px; }
  .benefits b { font-size: 20px; }
  .benefits small { font-size: 7px; line-height: 1.7; margin-top: 5px; }
  .collection-heading { display: block; margin: 40px 0 20px; }
  .collection-heading .eyebrow { font-size: 6px; }
  .collection-heading h2 { font-size: 31px; margin-top: 13px; letter-spacing: -.9px; }
  .collection-heading p { margin-top: 14px; font-size: 10px; }
  .collection-heading p br { display: none; }
  .promotions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .promo { min-height: 235px; padding: 18px 15px; }
  .promo-eyebrow { font-size: 6px; letter-spacing: 1px; }
  .promo h2 { font-size: 25px; letter-spacing: -.8px; margin: 12px 0 17px; }
  .promo-link { font-size: 8px; gap: 10px; align-items: flex-start; line-height: 1.6; }
  .promo-link > span { font-size: 14px; }
  .catalog { padding-top: 44px; }
  .section-head { align-items: flex-end; gap: 14px; margin-bottom: 23px; }
  .section-head .eyebrow { font-size: 6px; letter-spacing: 1.2px; }
  .section-head h2 { font-size: 37px; margin-top: 12px; }
  h2 > span { margin-left: 6px; font-size: 9px; padding: 2px 6px; }
  .text-button { font-size: 8px; margin-bottom: 5px; }
  .catalog-layout { display: block; }
  .filters { position: static; }
  .filters h3, .help-box { display: none; }
  .filters nav { flex-direction: row; gap: 7px; overflow: auto; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; padding-bottom: 12px; }
  .category { white-space: nowrap; border: 1px solid #d7ddc9; padding: 9px 11px; font-size: 9px; }
  .category.active { border: 1px solid #9eac88; }
  .category span { display: none; }
  .stock-filter { border: 0; padding: 0; margin: 8px 0 18px; font-size: 9px; }
  .toolbar { font-size: 9px; margin-bottom: 15px; }
  .toolbar label { font-size: 0; }
  .toolbar select { font-size: 9px; max-width: 140px; margin-left: 0; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 13px; }
  .product-image { height: 160px; padding: 17px 12px; }
  .stock { left: 8px; top: 9px; padding: 3px 5px; font-size: 7px; }
  .product-info { padding: 13px 0 16px; }
  .product-category { font-size: 6px; letter-spacing: .7px; margin-bottom: 8px; }
  .product h3 { font-size: 10px; margin-bottom: 13px; }
  .price { font-size: 17px; }
  .add { min-width: 30px; min-height: 30px; }
  .add-plus { font-size: 17px; }
  .image-note { font-size: 7px; padding: 2px 4px; }
  .more { margin-top: 24px; font-size: 10px; padding: 14px; }
  .order-banner { display: block; padding: 30px 24px; margin-top: 43px; }
  .order-banner .eyebrow { font-size: 6px; }
  .order-banner h2 { font-size: 32px; margin: 21px 0 15px; letter-spacing: -1px; }
  .order-banner p { font-size: 10px; max-width: 240px; }
  .order-banner .button { margin-top: 19px; font-size: 10px; }
  .seo-content { margin: 32px 0; font-size: 11px; line-height: 1.9; }
  .seo-content h2 { font-size: 25px; letter-spacing: -.7px; }
  .seo-category-links { gap: 9px; margin: 18px 0; }
  .seo-category-links a { font-size: 10px; margin-right: 6px; }
  footer { margin-top: 25px; padding: 31px 0; }
  .footer-inner { flex-direction: column; gap: 22px; font-size: 10px; }
  .footer-inner strong { font-size: 24px; }
  .drawer-head { padding: 21px 20px; }
  .drawer-head .eyebrow { font-size: 7px; }
  .drawer-head h2 { font-size: 28px; }
  .drawer-body { padding: 0 20px 30px; }
  .cart-item { grid-template-columns: 54px 1fr auto; gap: 11px; }
  .cart-item img { width: 54px; height: 54px; }
  .cart-item h3 { font-size: 10px; }
  .cart-item strong { font-size: 11px; }
  .quantity button { width: 29px; }
  .quantity input { width: 42px; }
  .total { font-size: 11px; }
  .total strong { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  form h3 { font-size: 25px; }
  .toast { font-size: 11px; padding: 12px 18px; bottom: 18px; }
  .seo-header { flex-wrap: wrap; min-height: 0; padding-top: 17px; padding-bottom: 17px; gap: 15px; }
  .seo-header .brand { font-size: 23px; }
  .seo-header .brand img { width: 34px; height: 34px; }
  .seo-header > a:nth-child(3) { display: none; }
  .seo-header .button { font-size: 9px; padding: 10px 13px; }
  .seo-main > .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr; gap: 25px; }
  .detail-image img { max-height: 400px; }
  .product-detail h1 { font-size: 33px; letter-spacing: -1px; }
}
@media (max-width: 360px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero-content { padding: 28px 20px 24px; }
  .hero h1 { font-size: 34px; }
  .hero-action-note { display: none; }
  .hero-pill { font-size: 5.5px; }
  .hero-note { font-size: 6px; }
  .promo { padding: 17px 12px; }
  .promo h2 { font-size: 22px; }
  .promo-eyebrow { font-size: 5px; }
  .product-image { height: 135px; }
  .price { font-size: 15px; }
  .filters nav { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
  .brand { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Quick view shares the catalogue's white, product-focused layout. */
#quickView { inset: 50% auto auto 50%; margin: 0; transform: translate(-50%, -50%); width: min(1060px, calc(100% - 48px)); height: auto; max-height: calc(100dvh - 48px); overflow: auto; background: #fff; border: 1px solid #e1e6e1; padding: 0; }
#quickView[open] { animation: quick-enter .2s ease-out; }
.quick-close { position: sticky; float: right; top: 15px; margin: 15px 15px -51px 0; z-index: 3; background: #fff; border-color: #dce2dc; }
.quick-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; }
.quick-photo { position: sticky; top: 0; min-width: 0; background: #f5f6f5; padding: 35px 25px; }
.quick-photo img { display: block; width: 100%; height: auto; max-height: 590px; object-fit: contain; mix-blend-mode: multiply; }
.quick-image-note { margin: 20px 0 0; text-align: center; color: #7a817b; font-size: 10px; line-height: 1.7; }
.quick-info { padding: 48px 35px 35px; min-width: 0; }
#quickTitle { font: 500 27px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: -.8px; margin: 15px 0; }
.quick-stock { color: #5b7862; font-size: 11px; }
.quick-price { margin-top: 22px; font-size: 29px; font-weight: 500; letter-spacing: -1px; }
.quick-form { padding: 0; margin: 20px 0 12px; border: 0; }
.quick-form > label { margin: 0 0 10px; font-size: 11px; color: #606c63; }
.quick-actions { display: flex; align-items: stretch; gap: 12px; }
.quick-actions .quantity { align-items: center; flex-shrink: 0; border-color: #d8dfd9; }
.quick-actions .quantity button { height: 43px; background: #f5f7f5; }
.quick-actions .quantity input { width: 45px; height: 43px; padding: 0; margin: 0; background: #fff; }
.quick-actions .button { flex: 1; font-size: 11px; padding: 12px 15px; gap: 15px; }
.quick-actions .button:disabled { opacity: .4; cursor: default; transform: none; }
.quick-description { margin-top: 26px; padding-top: 23px; border-top: 1px solid #e5e9e5; }
.quick-description > h3 { font-size: 14px; font-weight: 500; margin-bottom: 14px; }
.quick-description > p { margin: 0; font-size: 12px; color: #727b74; line-height: 1.85; }
.quick-spec-group h3 { font-size: 11px; color: #929a93; margin: 18px 0 7px; }
.quick-specs { margin: 0; font-size: 12px; }
.quick-specs > div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px solid #edf0ed; }
.quick-specs dt { color: #7c857e; }
.quick-specs dd { margin: 0; text-align: right; color: #2c3930; }
.quick-cart-link { margin-top: 26px; }
.quick-hint { position: absolute; bottom: 0; left: 0; right: 0; padding: 11px; text-align: center; font-size: 10px; background: #ffffffef; color: #394d3e; transform: translateY(100%); transition: transform .2s; }
.product:hover .quick-hint, .product-image:focus-visible .quick-hint { transform: translateY(0); }
@keyframes quick-enter { from { opacity: .5; } to { opacity: 1; } }
@media(max-width:760px) {
  #quickView { width: calc(100% - 24px); max-height: calc(100dvh - 24px); }
  .quick-layout { grid-template-columns: minmax(0, 1fr); }
  .quick-photo { position: static; padding: 25px 22px 18px; }
  .quick-photo img { max-height: 270px; }
  .quick-image-note { font-size: 8px; margin-top: 12px; }
  .quick-info { padding: 25px 22px; }
  #quickTitle { font-size: 23px; }
  .quick-price { font-size: 27px; }
  .quick-actions { gap: 10px; }
  .quick-actions .button { font-size: 10px; gap: 7px; padding: 12px; }
  .quick-actions .quantity button { width: 27px; }
  .quick-actions .quantity input { width: 39px; }
  .quick-hint { display: none; }
  .promo h2 { font-size: 23px; }
}
.product-size { font-size: 10px; color: #52665a; margin: -8px 0 16px; letter-spacing: .2px; }
.quick-size-block { margin-top: 23px; }
.quick-size-block > label { display: block; font-size: 10px; color: #707e74; margin-bottom: 9px; }
.quick-size-block select { width: 100%; background: #fff; color: #263d2f; border: 1px solid #d3ddd5; border-radius: 1px; padding: 12px 10px; font-size: 12px; }
.quick-single-size { font-size: 17px; color: #314c3a; }
.size-discrepancy { margin: 12px 0 0; padding: 10px 12px; background: #faf6ed; border-left: 2px solid #c8af78; color: #88734f; font-size: 10px; line-height: 1.7; }
@media(max-width:760px) { .product-size { font-size: 9px; margin: -5px 0 13px; } .quick-size-block select { font-size: 11px; } }
.price-unit { font: 400 10px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: 0; color: #7c8b80; white-space: nowrap; }
.calculator-heading { font-size: 15px; font-weight: 500; margin-bottom: 17px; }
.calculator-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; align-items: end; }
.calculator-inputs > label { margin: 0; font-size: 10px; color: #728176; }
.calculator-inputs select, .calculator-inputs input { display: block; width: 100%; min-width: 0; padding: 10px; margin: 7px 0 0; height: 41px; font-size: 11px; color: #294333; background: #fff; border: 1px solid #d8e0d9; border-radius: 1px; }
.calculator-result { background: #f4f7f4; padding: 15px; margin-top: 16px; }
.calculator-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: #64766a; }
.calculator-total strong { font-size: 22px; font-weight: 500; color: #203c2a; }
.calculator-measures { color: #76877b; font-size: 10px; margin-top: 7px; }
.calculator-status { color: #9d7048; font-size: 10px; margin: 8px 0 0; }
.calculator-status:empty { display: none; }
.calculator-note { color: #8a968c; font-size: 9px; line-height: 1.7; margin-top: 12px; }
@media(max-width:760px) { .calculator-inputs { gap: 10px; } .calculator-total strong { font-size: 20px; } .calculator-inputs select { padding: 10px 6px; font-size: 10px; } }
.product .price-unit { display: inline; margin-top: 0; }
.unit-price-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid #e0e7e1; margin-bottom: 20px; }
.unit-price-grid > div { padding: 11px 8px; min-width: 0; border-right: 1px solid #e0e7e1; }
.unit-price-grid > div:last-child { border-right: 0; }
.unit-price-grid span { display: block; color: #819085; font-size: 9px; margin-bottom: 4px; }
.unit-price-grid strong { display: block; font-weight: 500; color: #35503e; font-size: 11px; overflow-wrap: anywhere; }
.unit-price-grid .selected { background: #eef4ef; box-shadow: inset 0 -2px #65816c; }
.calculator-inputs .target-stepper { display: flex; margin-top: 7px; width: 100%; height: 41px; border-color: #d8e0d9; background: white; }
.target-stepper button { flex: 0 0 29px; height: 39px; color: #36543f; }
.calculator-inputs .target-stepper input { width: 100%; min-width: 0; height: 39px; margin: 0; padding: 0 3px; border: 0; text-align: center; font-size: 12px; }
@media(max-width:400px) { .unit-price-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .unit-price-grid > div:nth-child(2) { border-right: 0; } .unit-price-grid > div:nth-child(-n+2) { border-bottom: 1px solid #e0e7e1; } }
.imitation-tools { border: 1px solid #dde5df; background: #fafcfb; padding: 22px; margin-bottom: 23px; }
.imitation-intro { display: flex; justify-content: space-between; align-items: start; gap: 15px; }
.imitation-intro h3 { font-size: 23px; font-weight: 500; letter-spacing: -.6px; margin: 8px 0; }
.imitation-intro p { font-size: 10px; color: #7a8b7f; margin: 0; }
.imitation-facets { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-top: 20px; }
.imitation-facets label { min-width: 0; font-size: 9px; color: #78897d; }
.imitation-facets select { display: block; width: 100%; padding: 10px 5px; border: 1px solid #d8e2da; background: white; color: #36513e; font-size: 10px; margin-top: 7px; border-radius: 1px; }
.imitation-note { font-size: 9px; color: var(--text-secondary); line-height: 1.7; margin: 16px 0 0; }
.category[data-category="-165"] { font-weight: 500; }
@media(max-width:950px) { .imitation-facets { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:760px) { .imitation-tools { padding: 17px; margin-bottom: 20px; } .imitation-intro h3 { font-size: 21px; } .imitation-intro .text-button { font-size: 8px; } .imitation-facets { grid-template-columns: repeat(2,minmax(0,1fr)); } .imitation-facets label:first-child { grid-column: 1/-1; } }
/* Plain HTTPS links: no messenger widgets, tracking scripts or map SDKs. */
.contact-links { display: flex; align-items: center; gap: 10px; }
.header-contacts { display: flex; flex: 0 0 100%; justify-content: flex-end; gap: 8px; padding-top: 0; padding-bottom: 10px; }
.contact-link { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; font-size: 10px; white-space: nowrap; color: #536a5b; padding: 8px 0; transition: color .2s; }
.contact-link svg, .contact-link img { display: block; width: 17px; height: 17px; flex-shrink: 0; object-fit: contain; }
.contact-link:hover { color: #172e1e; }
.contact-external { font-size: 10px; color: #a0aca3; }
.header-contacts .contact-link { min-height: 34px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.header-contacts .contact-link:hover { background: var(--brand-green-light); }
.header-contacts .contact-external { display: none; }
.contact-footer { margin-top: 28px; }
.contact-footer .contact-links { border-top: 1px solid #ffffff25; padding-top: 18px; gap: 24px; flex-wrap: wrap; }
.contact-footer .contact-link { color: #d0dccb; }
.contact-footer .contact-link:hover { color: #fff; }
html { scroll-padding-top: 160px; }
.filters { top: 170px; }
@media(max-width:760px) {
  html { scroll-padding-top: 190px; }
  .header-contacts { grid-column: 1/-1; grid-row: 2; min-width: 0; justify-content: flex-start; padding: 0 0 2px; overflow-x: auto; gap: 7px; scrollbar-width: none; }
  .header.search-open .header-contacts { grid-row: 3; }
  .header-contacts::-webkit-scrollbar { display: none; }
  .header-contacts .contact-link { min-height: 36px; padding: 7px 10px; gap: 6px; font-size: 9px; }
  .header-contacts .contact-link svg, .header-contacts .contact-link img { width: 16px; height: 16px; }
  .contact-footer .contact-links { gap: 8px 22px; }
  .contact-footer .contact-link { font-size: 10px; }
}
/* Local FAQ assistant: lightweight, accessible and explicitly automated. */
.chat-launcher { position: fixed; right: 25px; bottom: 24px; z-index: 12; display: inline-flex; align-items: center; gap: 11px; padding: 15px 18px; background: #243a2c; color: #fff; border: 1px solid #405e48; border-radius: 3px; box-shadow: 0 5px 24px #18271b22; font-size: 11px; }
.chat-launcher:hover { background: #36553e; }
.chat-panel { display: flex; flex-direction: column; position: fixed; right: 25px; bottom: 85px; z-index: 13; width: 365px; max-width: calc(100vw - 30px); height: 620px; max-height: calc(100dvh - 115px); border: 1px solid #d5e0d7; border-radius: 4px; background: #fff; box-shadow: 0 14px 50px #1e372329; overflow: hidden; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px; background: #f4f8f4; border-bottom: 1px solid #e2eae3; flex-shrink: 0; }
.chat-head h2 { font: 500 14px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; letter-spacing: -.2px; margin: 0; }
.chat-head p { font-size: 9px; color: #87988b; margin: 5px 0 0; }
.chat-head button { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #d8e3da; background: #fff; font-size: 21px; }
.chat-content { padding: 17px; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 0; }
.chat-messages { display: flex; flex-direction: column; gap: 11px; }
.chat-message { border: 1px solid #e6ece7; padding: 12px; max-width: 96%; background: #f7faf7; color: #526c5b; font-size: 11px; line-height: 1.8; }
.chat-message p { margin: 5px 0 0; }
.chat-message-label { font-size: 8px; color: #8a9e90; }
.chat-user { align-self: flex-end; background: #edf4ee; border-color: #dce8df; }
.chat-bot { align-self: flex-start; }
.chat-topics { margin-top: 20px; }
.chat-topics h3, .chat-contact h3 { font-size: 10px; font-weight: 500; color: #7d9384; margin-bottom: 10px; }
#chatQuestions { display: flex; flex-wrap: wrap; gap: 7px; }
#chatQuestions button { padding: 8px 10px; border: 1px solid #dce6de; background: #fff; color: #42654d; text-align: left; font-size: 10px; border-radius: 2px; }
#chatQuestions button:hover { background: #edf5ef; border-color: #a7bfae; }
.chat-answer-action { display: inline-block; margin-top: 12px; padding-bottom: 2px; border-bottom: 1px solid #91b29b; color: #284b33; font-size: 10px; }
.chat-contact { padding: 15px 17px; border-top: 1px solid #e1e9e3; background: white; flex-shrink: 0; }
#chatContacts { display: flex; flex-wrap: wrap; gap: 7px; }
#chatContacts a { padding: 7px 9px; border: 1px solid #d8e5dc; font-size: 9px; color: #4d755a; }
#chatContacts .chat-phone { background: #2d4e37; color: white; border-color: #2d4e37; }
#chatContacts a:hover { background: #eaf2ec; color: #284d34; }
.chat-contact > p { margin: 11px 0 0; font-size: 8px; line-height: 1.5; color: #99a89e; }
body:has(dialog[open]) .chat-launcher, body:has(dialog[open]) .chat-panel { display: none; }
@media(max-width:760px) { .chat-launcher { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); font-size: 10px; padding: 13px 15px; } .chat-panel { right: 15px; bottom: max(75px, calc(env(safe-area-inset-bottom) + 70px)); height: 590px; max-height: calc(100dvh - 95px - env(safe-area-inset-bottom)); width: min(365px, calc(100vw - 30px)); } }
@media(max-height:500px) { .chat-panel { bottom: 10px; max-height: calc(100dvh - 20px); } .chat-contact { padding: 10px 15px; } }
/* Fill catalogue frames; keep full product geometry in the large quick view. */
.product-image { padding: 0; }
.product-image img { display: block; object-fit: cover; object-position: center; mix-blend-mode: normal; }
/* Real Yandex reviews are rendered by the official widget, not copied quotes. */
.hero-rating { display: inline-flex; align-items: center; gap: 11px; margin-top: 24px; padding-top: 15px; border-top: 1px solid #dce3dc; }
.hero-rating-score { font-size: 26px; font-weight: 500; letter-spacing: -1px; line-height: 1.1; }
.review-stars { display: block; color: rgb(255, 204, 0); font-size: 13px; letter-spacing: 2px; line-height: 1.2; }
.hero-rating-label { display: block; color: #7e8b7f; font-size: 9px; margin-top: 4px; }
.hero-rating-label > span { margin-left: 7px; }
.reviews-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; padding-top: 70px; margin-top: 60px; border-top: 1px solid #e0e6df; }
.reviews-copy h2 { font-size: 42px; font-weight: 500; letter-spacing: -1.6px; margin: 18px 0; line-height: 1.15; }
.reviews-intro { color: #8a968b; font-size: 12px; line-height: 1.8; }
.reviews-rating { display: inline-flex; align-items: center; gap: 16px; margin: 20px 0; }
.reviews-rating strong { font-size: 58px; font-weight: 500; letter-spacing: -3px; line-height: 1; }
.reviews-rating .review-stars { font-size: 17px; letter-spacing: 3px; }
.reviews-rating-label { display: block; color: #8b988d; font-size: 10px; margin-top: 9px; }
.reviews-source { max-width: 355px; color: #849386; font-size: 11px; line-height: 1.9; margin: 12px 0 25px; }
.reviews-copy .button { font-size: 10px; }
.reviews-widget-wrap { min-width: 0; }
.reviews-widget { display: block; width: 100%; height: 550px; background: #f7f9f7; border: 1px solid #e2e8e2; border-radius: 2px; }
.reviews-fallback { color: #9aa69c; font-size: 9px; line-height: 1.8; margin: 12px 0 0; }
.reviews-fallback a { color: #647e6b; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:950px) { .reviews-section { gap: 35px; grid-template-columns: .85fr 1.15fr; } .reviews-copy h2 { font-size: 34px; } }
@media(max-width:760px) { .hero-rating { margin-top: 20px; padding-top: 13px; } .hero-rating-score { font-size: 24px; } .hero-rating-label { font-size: 8px; } .reviews-section { grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 35px; margin-top: 40px; } .reviews-copy h2 { font-size: 32px; } .reviews-intro { font-size: 11px; } .reviews-rating { margin: 16px 0; } .reviews-rating strong { font-size: 48px; } .reviews-source { max-width: none; font-size: 10px; } .reviews-widget { height: 510px; } }
/* Shared Sibir-Snab brand system across the storefront and SEO pages. */
:root { --ink: var(--brand-dark); --green: var(--brand-green-dark); --muted: var(--text-secondary); --line: var(--border); --accent: var(--brand-green); }
body { color: var(--text-primary); background: var(--background); }
.topline { background: var(--brand-dark); color: #e7ebef; }
.topline i { background: var(--brand-orange); }
.brand { flex-shrink: 0; letter-spacing: 0; }
.brand .store-logo, .seo-header .brand .store-logo { display: block; width: 194px; max-width: none; height: auto; border-radius: 0; }
.header { gap: 27px; min-height: 108px; }
.header-catalog { font-size: 12px; color: var(--brand-dark); }
.header-catalog:hover { color: var(--brand-green-dark); }
.search { background: var(--background-soft); border-color: var(--border); padding: 14px 16px; border-radius: var(--radius-sm); }
.search input { font-size: 12px; }
.search:focus-within { background: white; border-color: var(--brand-green); }
.phone { font-size: 12px; font-weight: 600; }
.cart-button { border-color: var(--border-dark); border-radius: var(--radius-sm); padding: 13px 16px; font-size: 12px; }
.cart-button:hover { background: var(--brand-green-light); }
.contact-link { color: var(--text-secondary); font-size: 10px; }
.contact-link:hover { color: var(--brand-green-dark); }
.hero { grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: var(--radius-lg); min-height: 585px; background: var(--background-soft); }
.hero-content { padding: 43px 42px 32px; background: var(--background-soft); }
.hero-pill { color: var(--brand-green-dark); font-size: 9px; letter-spacing: 1.5px; font-weight: 650; }
.hero-pill i { background: var(--brand-orange); }
.hero h1 { color: var(--brand-dark); font-size: clamp(44px, 4.6vw, 70px); line-height: 1.035; letter-spacing: -2.7px; margin: 29px 0 24px; font-weight: 750; }
.hero h1 span { color: var(--brand-green-dark); }
.hero p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.hero-actions { flex-wrap: wrap; gap: 18px 22px; }
.button { min-height: 50px; border-radius: 8px; padding: 14px 22px; font-size: 12px; font-weight: 650; background: var(--brand-green-dark); border-color: var(--brand-green-dark); color: #fff; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.hero-actions .button { font-size: 11px; gap: 24px; }
.hero-secondary { display: inline-flex; align-items: center; gap: 13px; padding: 10px 0; font-size: 11px; border-bottom: 1px solid var(--border-dark); color: var(--brand-dark); }
.hero-secondary:hover { color: var(--brand-green-dark); border-color: var(--brand-green); }
.hero-rating { margin-top: 24px; border-top: 0; padding-top: 0; gap: 12px; }
.hero-rating-score { color: var(--brand-dark); font-size: 29px; }
.hero-rating-label { color: var(--text-secondary); font-size: 10px; }
.hero-rating .review-stars { font-size: 12px; }
.hero-note { margin-top: auto; padding-top: 29px; color: var(--text-secondary); font-size: 9px; }
.hero-visual::after { background: linear-gradient(180deg, #fff8ec40, transparent 25%, transparent 65%, #25253885); }
.visual-top { font-size: 8px; color: #5c5145; }
.visual-bottom { padding-top: 16px; }
.visual-bottom b { font-size: 12px; font-weight: 400; }
.benefits { gap: 30px; padding: 27px 5px; }
.benefits b { color: var(--brand-green-dark); font-size: 22px; font-weight: 700; }
.benefits > span { font-size: 12px; color: var(--text-primary); }
.benefits small { color: var(--text-secondary); font-size: 10px; }
.material-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin-top: 29px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.material-nav a { display: flex; align-items: center; gap: 12px; padding: 19px 17px; font-size: 12px; border-right: 1px solid var(--border); transition: background .2s, color .2s; }
.material-nav a:last-child { border: 0; }
.material-nav a:hover { background: var(--background-green); color: var(--brand-green-dark); }
.material-nav a > span { color: var(--text-muted); font-size: 9px; }
.material-nav b { margin-left: auto; font-size: 17px; font-weight: 600; color: var(--brand-green); }
.collection-heading { margin-top: 53px; margin-bottom: 24px; }
.collection-heading h2 { font-size: 36px; font-weight: 500; letter-spacing: -1.3px; }
.collection-heading p { color: var(--text-secondary); font-size: 12px; }
.eyebrow { color: var(--text-secondary); }
.promotions { gap: 23px; }
.promo { min-height: 310px; border-radius: 8px; padding: 32px; }
.promo h2 { font-size: 37px; font-weight: 400; letter-spacing: -1px; }
.promo-eyebrow { font-size: 8px; }
.promo-link { font-size: 11px; }
.promo::after { background: linear-gradient(0deg, #262431db, #26243110 85%); }
.selection-help { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 35px 0; margin: 45px 0 0; }
.selection-help h2 { font-size: 31px; line-height: 1.25; font-weight: 500; letter-spacing: -1px; margin: 14px 0 0; }
.selection-help p { color: var(--text-secondary); font-size: 12px; line-height: 1.7; margin: 0 0 19px; }
.selection-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.selection-actions .button { font-size: 11px; padding: 13px 16px; }
.selection-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brand-dark); }
.selection-phone img { display: block; width: 17px; height: 17px; flex: 0 0 17px; }
.catalog { padding-top: 55px; }
.section-head h2 { font-size: 35px; letter-spacing: -1.1px; }
.text-button { color: var(--brand-green-dark); border-bottom-color: var(--border-dark); }
.category { font-size: 12px; padding: 12px 10px; color: var(--text-secondary); }
.category.active { color: var(--brand-green-dark); background: var(--brand-green-light); border-left-color: var(--brand-green); }
.category:not(.active):hover { background: var(--background-soft); }
.category span { color: var(--text-muted); }
.filters h3 { color: var(--text-secondary); font-size: 9px; }
.filters .help-box { background: var(--background-green); border-top-color: var(--brand-green); padding: 23px 18px; }
.help-box > span { font-size: 18px; letter-spacing: -.3px; }
.help-box p { color: var(--text-secondary); }
.toolbar { color: var(--text-secondary); font-size: 11px; }
.product { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .2s, border-color .2s, transform .2s; }
.product:hover { border-color: var(--brand-green); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-image { background: var(--background-soft); }
.product-info { padding: 17px; }
.product h3 { color: var(--text-primary); font-size: 13px; line-height: 1.55; font-weight: 600; }
.product-category { color: var(--text-secondary); font-size: 8px; }
.product-size { color: var(--text-secondary); font-size: 10px; }
.price { font-size: 21px; font-weight: 700; color: var(--brand-dark); }
.price-unit { color: var(--text-secondary); }
.add { border-radius: 8px; border-color: var(--brand-green); color: var(--brand-green-dark); background: var(--brand-green-light); padding: 7px 10px; }
.add:hover { color: #fff; background: var(--brand-green-dark); border-color: var(--brand-green-dark); }
.more { min-height: 48px; border-radius: 8px; border-color: var(--brand-green); color: var(--brand-green-dark); }
.more:hover { background: var(--brand-green-light); }
.stock { background: #fff; color: var(--brand-green-dark); border-radius: var(--radius-sm); padding: 4px 8px; }
.order-banner { background: var(--brand-dark); border-radius: var(--radius-lg); padding: 43px; }
.order-banner .eyebrow { color: #d0d7df; }
.order-banner h2 { color: white; font-size: 37px; font-weight: 700; letter-spacing: -1.2px; }
.order-banner p { color: #d0d7df; font-size: 13px; }
.order-banner .button { background: var(--brand-green-dark); color: #fff; border-color: var(--brand-green-dark); }
.order-banner .button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
footer { background: var(--brand-dark); }
.footer-brand { display: block; }
.footer-brand .store-logo { width: 208px; height: auto; display: block; }
.footer-inner { color: #d0d7df; font-size: 11px; }
.footer-inner > div:first-child > p { margin-top: 17px; }
.footer-inner a, #contacts a { color: #fff; }
.footer-inner a:hover, #contacts a:hover { color: #b7e0ad; }
.chat-launcher { background: var(--brand-dark); border-color: var(--brand-green-dark); border-radius: 8px; }
.chat-launcher:hover { background: var(--brand-green-dark); }
.seo-header { min-height: 105px; }
.product-detail h1 { color: var(--brand-dark); }
.quick-price { color: var(--brand-dark); }
.quick-close, .icon-button { border-radius: 4px; }
.reviews-copy h2 { color: var(--brand-dark); }
.reviews-section { margin-top: 60px; }
@media(min-width:1500px) { .hero { min-height: 610px; } .hero-content { padding: 49px 45px 34px; } .hero h1 { font-size: 73px; } }
@media(max-width:1200px) { .header { gap: 21px; } .brand .store-logo, .seo-header .brand .store-logo { width: 179px; } .hero-content { padding: 34px 30px 28px; } .hero h1 { font-size: 54px; } .hero-actions .button { padding: 14px 16px; font-size: 10px; gap: 15px; } .hero-secondary { font-size: 10px; } .hero p { font-size: 12px; } .material-nav a { font-size: 11px; gap: 9px; padding: 17px 13px; } .material-nav a > span { display: none; } .product-info { padding: 14px; } .price { font-size: 19px; } }
@media(max-width:950px) { .header { gap: 16px; } .brand .store-logo, .seo-header .brand .store-logo { width: 165px; } .hero-content { padding: 31px 25px 25px; } .hero h1 { font-size: 47px; } .hero-actions { gap: 10px 16px; } .hero-pill { font-size: 6px; } .hero p { font-size: 11px; } .benefits > span { font-size: 10px; } .benefits small { font-size: 8px; } .material-nav a { font-size: 10px; } .promo h2 { font-size: 31px; } .selection-help { gap: 25px; } .selection-help h2 { font-size: 28px; } .selection-help p { font-size: 11px; } .selection-actions { gap: 13px; } .category { font-size: 11px; } .section-head h2 { font-size: 30px; } }
@media(max-width:760px) {
  .header { padding-top: 11px; padding-bottom: 12px; min-height: 0; gap: 10px; }
  .brand .store-logo, .seo-header .brand .store-logo { width: 155px; }
  .search { padding: 11px 12px; }
  .search input { font-size: 11px; }
  .cart-button { font-size: 11px; padding: 10px 12px; }
  .hero { grid-template-columns: minmax(0,1fr); border-radius: 8px; }
  .hero-content { padding: 28px 24px 24px; }
  .hero-pill { font-size: 6px; letter-spacing: 1px; }
  .hero h1 { font-size: clamp(41px,10.8vw,62px); line-height: 1.03; letter-spacing: -2.4px; margin: 26px 0 21px; }
  .hero p { font-size: 11px; line-height: 1.9; margin-bottom: 22px; }
  .hero-actions { width: 100%; gap: 12px 20px; }
  .hero-actions .button { padding: 14px 16px; font-size: 11px; gap: 18px; }
  .hero-secondary { font-size: 10px; padding: 8px 0; }
  .hero-rating { margin-top: 23px; }
  .hero-rating-score { font-size: 28px; }
  .hero-rating-label { font-size: 9px; }
  .hero-note { padding-top: 23px; font-size: 6px; letter-spacing: .1px; }
  .hero-visual { height: 300px; min-height: 300px; }
  .visual-bottom b { font-size: 10px; }
  .benefits { padding: 22px 0; gap: 12px; }
  .benefits > span { font-size: 9px; }
  .benefits small { font-size: 8px; }
  .material-nav { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; }
  .material-nav a { padding: 14px 12px; font-size: 11px; gap: 7px; }
  .material-nav a:nth-child(2) { border-right: 0; }
  .material-nav a:nth-child(-n+2) { border-bottom: 1px solid #e2e6eb; }
  .collection-heading { margin-top: 35px; }
  .collection-heading h2 { font-size: 29px; }
  .collection-heading p { font-size: 10px; }
  .promotions { gap: 12px; }
  .promo { min-height: 230px; border-radius: 6px; padding: 18px 14px; }
  .promo h2 { font-size: 23px; }
  .promo-eyebrow { font-size: 6px; }
  .promo-link { font-size: 8px; }
  .selection-help { grid-template-columns: minmax(0,1fr); gap: 20px; margin-top: 31px; padding: 26px 0; }
  .selection-help .eyebrow { font-size: 6px; }
  .selection-help h2 { font-size: 28px; margin-top: 13px; }
  .selection-help p { font-size: 11px; }
  .selection-actions .button { font-size: 10px; }
  .selection-phone { font-size: 12px; }
  .catalog { padding-top: 35px; }
  .section-head { gap: 12px; }
  .section-head h2 { font-size: 28px; line-height: 1.15; max-width: 250px; letter-spacing: -.9px; }
  .section-head .text-button { flex-shrink: 0; font-size: 8px; }
  .category { font-size: 10px; }
  .product-info { padding: 12px; }
  .product h3 { font-size: 11px; line-height: 1.6; }
  .product-size { font-size: 9px; }
  .price { font-size: 18px; }
  .add { min-width: 30px; min-height: 30px; padding: 4px; }
  .toolbar { font-size: 9px; }
  .order-banner { padding: 29px 24px; }
  .order-banner h2 { font-size: 30px; }
  .order-banner p { font-size: 11px; }
  .footer-brand .store-logo { width: 190px; }
  .seo-header { padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .seo-header .brand .store-logo { height: auto; }
  .seo-header > a:nth-child(2) { font-size: 10px; }
}
@media(max-width:360px) { .hero-content { padding: 26px 20px 23px; } .hero h1 { font-size: 38px; } .hero-note { font-size: 5.5px; } .hero-pill { font-size: 5.5px; } .material-nav a { font-size: 10px; } .price { font-size: 16px; } .product-info { padding: 10px; } }
.offers-section { margin-top: 48px; }
.offers-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 24px; }
.offers-heading h2 { font-size: 36px; font-weight: 500; letter-spacing: -1.3px; margin: 12px 0 0; }
.offers-heading > p { max-width: 350px; color: #8791a4; font-size: 12px; line-height: 1.8; margin: 0; }
.deal-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.deal-card { border: 1px solid #e3e8e5; border-radius: 8px; overflow: hidden; background: #fff; }
.deal-photo { display: block; position: relative; height: 200px; overflow: hidden; background: #f4f6f4; }
.deal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.deal-photo:hover img { transform: scale(1.04); }
.deal-badge { position: absolute; left: 12px; top: 12px; background: #ffffffef; color: #50705b; padding: 5px 8px; font-size: 8px; border-radius: 3px; }
.deal-copy { padding: 18px; }
.deal-copy h3 { font-size: 14px; font-weight: 500; line-height: 1.45; min-height: 41px; margin: 0 0 10px; }
.deal-detail { color: var(--text-secondary); font-size: 9px; line-height: 1.8; min-height: 32px; margin: 0; }
.deal-price { margin: 15px 0; }
.deal-price strong { font-size: 25px; font-weight: 500; letter-spacing: -.8px; }
.deal-price > span { color: var(--text-secondary); font-size: 11px; }
.deal-action { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 0 0; border: 0; border-top: 1px solid #e4eae6; background: none; color: #568260; font-size: 10px; text-align: left; }
.deal-action:hover { color: #264c31; }
.offers-note { font-size: 9px; color: var(--text-secondary); margin: 15px 0 0; }
.budget-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; background: #f3f7f4; border: 1px solid #e2eae3; border-radius: 9px; padding: 35px; margin-top: 35px; }
.budget-copy h2 { font-size: 37px; font-weight: 500; line-height: 1.15; margin: 18px 0; letter-spacing: -1.2px; }
.budget-copy > p { max-width: 320px; color: #8a9a8f; font-size: 12px; line-height: 1.85; }
.budget-tool form { padding: 0; border: 0; margin: 0; }
.budget-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.budget-fields label { margin-top: 0; font-size: 11px; color: #84988a; }
.budget-fields input { background: white; border-color: #d4e1d8; font-size: 14px; border-radius: 4px; padding: 13px; }
.budget-tool form > .button { margin-top: 17px; width: 100%; font-size: 11px; }
.budget-note { font-size: 9px; color: #93a298; line-height: 1.8; margin: 14px 0 0; }
.budget-summary { font-size: 10px; color: #6a8975; margin-top: 20px; }
.budget-match { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #dce6de; background: none; text-align: left; }
.budget-match b { display: block; font-size: 11px; font-weight: 500; color: #4a6956; }
.budget-match small { display: block; margin-top: 5px; font-size: 9px; color: #92a096; }
.budget-match strong { flex-shrink: 0; font-size: 13px; font-weight: 500; color: #3b6248; }
.budget-match strong > span { font-size: 16px; margin-left: 8px; }
.budget-match:hover b { text-decoration: underline; text-underline-offset: 4px; }
.budget-empty { font-size: 11px; color: #89998e; line-height: 1.8; margin-bottom: 0; }
@media(max-width:1100px) { .deal-grid { gap: 13px; } .deal-photo { height: 170px; } .deal-copy { padding: 14px; } .deal-copy h3 { font-size: 12px; } .deal-action { font-size: 9px; } .budget-section { gap: 30px; padding: 30px; } }
@media(max-width:760px) { .offers-section { margin-top: 35px; } .offers-heading { display: block; margin-bottom: 20px; } .offers-heading .eyebrow { font-size: 6px; } .offers-heading h2 { font-size: 29px; } .offers-heading > p { font-size: 10px; margin-top: 13px; } .deal-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; } .deal-photo { height: 160px; } .deal-copy { padding: 13px; } .deal-copy h3 { font-size: 12px; } .deal-detail { font-size: 8px; } .deal-price strong { font-size: 23px; } .deal-price > span { font-size: 10px; } .deal-badge { font-size: 7px; left: 8px; top: 8px; padding: 4px 6px; } .deal-action { line-height: 1.7; } .offers-note { font-size: 8px; line-height: 1.8; } .budget-section { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 25px 20px; margin-top: 27px; } .budget-copy .eyebrow { font-size: 6px; } .budget-copy h2 { font-size: 31px; } .budget-copy > p { max-width: none; font-size: 11px; } .budget-fields { gap: 11px; } .budget-fields input { padding: 11px; } .budget-match { flex-wrap: wrap; gap: 9px; } }
.top-offers { color: #e0e9e2; font-size: 10px; padding-left: 15px; }
.top-offers > span { margin-left: 8px; color: #93c29d; }
.top-offers:hover { color: #fff; }
.recent-section { margin-top: 35px; }
.recent-heading { display: flex; justify-content: space-between; gap: 15px; align-items: center; margin-bottom: 18px; }
.recent-heading h2 { font-size: 22px; font-weight: 500; margin: 0; letter-spacing: -.5px; }
.recent-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.recent-product { display: flex; align-items: center; gap: 12px; padding: 13px; background: white; border: 1px solid #e3e9e4; border-radius: 5px; text-align: left; }
.recent-product img { width: 60px; height: 60px; object-fit: cover; flex-shrink: 0; }
.recent-product b { display: block; font-size: 10px; font-weight: 400; color: #778399; line-height: 1.65; }
.recent-product small { display: block; margin-top: 5px; color: #5e886a; font-size: 10px; }
.recent-product:hover { border-color: #a7bfae; }
@media(max-width:760px) { .top-offers { font-size: 8px; } .recent-heading h2 { font-size: 20px; } .recent-grid { display: flex; overflow-x: auto; padding-bottom: 10px; } .recent-product { min-width: 260px; max-width: 260px; } }
.campaign-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 27px; }
.campaign-card { padding: 27px; min-height: 260px; border-radius: 8px; display: flex; flex-direction: column; }
.campaign-primary { background: var(--brand-dark); color: white; border-top: 3px solid var(--brand-green); }
.campaign-wholesale { background: var(--brand-green-light); color: var(--brand-green-dark); }
.campaign-today { background: var(--background-soft); color: var(--brand-dark); border-top: 3px solid var(--brand-orange); }
.campaign-kicker { font-size: 8px; letter-spacing: 1.2px; opacity: .75; }
.campaign-card h3 { font-size: 27px; font-weight: 400; letter-spacing: -.7px; line-height: 1.2; margin: 22px 0 15px; }
.campaign-card > p { font-size: 10px; line-height: 1.9; margin: 0 0 22px; opacity: .75; }
.campaign-card > a { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid currentColor; padding-top: 12px; margin-top: auto; font-size: 10px; }
.campaign-card > a > span { font-size: 17px; line-height: 1; }
.cart-benefits { margin-top: 22px; padding: 18px; border: 1px solid #dce8df; background: #f4f8f4; }
.cart-benefits > .eyebrow { font-size: 7px; }
.cart-benefits h3 { font-size: 15px; color: #52735c; margin: 10px 0; line-height: 1.5; }
.cart-benefits p { font-size: 11px; color: #7c9584; line-height: 1.8; margin: 8px 0; }
.benefit-track { height: 5px; background: #e1eae3; border-radius: 3px; overflow: hidden; margin: 14px 0 8px; }
.benefit-track > span { display: block; height: 100%; background: #6b9f78; }
.cart-benefits small { font-size: 8px; color: #95a79a; }
.cart-benefits .wholesale-unlocked { color: #547c60; background: #e5f0e8; padding: 10px; margin-top: 13px; }
.cart-benefits .wholesale-teaser { font-size: 10px; margin-top: 14px; }
.cart-benefits .text-button { font-size: 10px; margin-top: 8px; }
@media(max-width:950px) { .campaign-grid { gap: 13px; } .campaign-card { padding: 21px; } .campaign-card h3 { font-size: 23px; } .campaign-kicker { font-size: 7px; } }
@media(max-width:760px) { .campaign-grid { grid-template-columns: minmax(0,1fr); gap: 12px; } .campaign-card { min-height: 0; padding: 23px; } .campaign-card h3 { font-size: 27px; margin-top: 15px; } .campaign-card > p { font-size: 11px; margin-bottom: 18px; } .campaign-kicker { font-size: 8px; } .campaign-card > a { font-size: 11px; } .topline .wrap > span:first-child { display: none; } .top-offers { padding: 0; width: 100%; text-align: center; font-size: 9px; } }
.seo-service-links { display: flex; flex-wrap: wrap; gap: 12px 25px; border-top: 1px solid #ffffff20; margin-top: 22px; padding-top: 19px; color: #b8c5d8; font-size: 10px; }
.seo-service-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.seo-article { max-width: 960px; padding-bottom: 25px; }
.seo-article > p, .seo-article > address, .seo-article li { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.seo-article h2 { font-size: 28px; color: var(--brand-dark); font-weight: 700; line-height: 1.3; margin-top: 35px; }
.seo-article a { color: var(--brand-green-dark); text-decoration: underline; text-underline-offset: 4px; }
.seo-article .contact-links { flex-wrap: wrap; }
.seo-table { width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 13px; color: #7c8b83; }
.seo-table th, .seo-table td { text-align: left; border: 1px solid #e1e8e2; padding: 13px; }
.seo-table th { color: #4d6a55; background: #f5f8f5; font-weight: 500; }
.category-guide { max-width: 930px; padding-top: 10px; }
.category-guide h3 { font-size: 17px; color: #718675; margin: 25px 0 10px; }
@media(max-width:760px) { .seo-article > p, .seo-article > address, .seo-article li { font-size: 12px; } .seo-article h2 { font-size: 23px; } .seo-table { font-size: 11px; } .seo-table th, .seo-table td { padding: 9px; } .seo-service-links { font-size: 9px; gap: 12px 20px; } }
/* Mobile app shell. Desktop keeps the existing storefront layout. */
.mobile-nav, .mobile-catalog-tools { display: none; }
@media(max-width:760px) {
  :root { --mobile-bar: calc(66px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 140px; }
  body { padding-bottom: var(--mobile-bar); background: var(--background-soft); }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topline .wrap { min-height: 24px; padding-top: 4px; padding-bottom: 4px; }
  .top-offers { font-size: 10px; }
  .site-header { background: #fffffff5; border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
  .header { padding: 9px 16px 11px; gap: 7px; }
  .brand .store-logo, .seo-header .brand .store-logo { width: 124px; }
  .header .cart-button { min-height: 44px; padding: 9px 11px; border-radius: 8px; }
  .header .search { border-radius: 8px; min-height: 44px; padding: 8px 13px; background: var(--background-soft); }
  input, select, textarea { font-size: 16px !important; }
  main.wrap { padding-top: 15px; }
  .hero { position: relative; display: block; min-height: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); isolation: isolate; }
  .hero-visual { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; z-index: -1; }
  .hero-visual img { object-position: 65% center; }
  .hero-visual::after { background: linear-gradient(90deg,#ffffff 0%,#fffffff9 44%,#ffffffbd 73%,#ffffff25 100%); }
  .visual-top, .visual-bottom { display: none; }
  .hero-content { padding: 24px 21px; background: none; }
  .hero-pill { font-size: 6px; color: var(--brand-green-dark); letter-spacing: .9px; }
  .hero h1 { font-size: clamp(29px,8vw,39px); line-height: 1.12; letter-spacing: -1.4px; margin: 22px 0 15px; max-width: 310px; }
  .hero p { font-size: 11px; line-height: 1.8; margin-bottom: 17px; max-width: 255px; color: var(--text-secondary); }
  .hero p br { display: none; }
  .hero-actions { gap: 10px 16px; }
  .hero-actions .button { min-height: 48px; padding: 12px 15px; border-radius: 8px; font-size: 11px; gap: 13px; }
  .hero-secondary { min-height: 44px; font-size: 10px; display: inline-flex; align-items: center; border: 0; }
  .hero-rating { margin-top: 17px; gap: 10px; }
  .hero-rating-score { font-size: 24px; }
  .hero-rating-label { font-size: 8px; }
  .hero-rating .review-stars { font-size: 11px; }
  .hero-note { display: none; }
  .benefits { padding: 20px 3px; border-bottom: 0; gap: 10px; }
  .benefits > span { font-size: 9px; gap: 5px; }
  .benefits > span + span { padding-left: 10px; }
  .benefits b { font-size: 17px; }
  .benefits small { font-size: 8px; color: var(--text-secondary); }
  .material-nav { margin-top: 0; gap: 9px; border: 0; border-radius: 0; }
  .material-nav a { padding: 14px 12px; min-height: 57px; background: white; border: 1px solid var(--border) !important; border-radius: var(--radius-md); font-size: 11px; box-shadow: var(--shadow-sm); }
  .material-nav a > span { display: none; }
  .offers-section { margin-top: 29px; }
  .offers-heading h2 { font-size: 25px; letter-spacing: -.8px; }
  .offers-heading > p { font-size: 11px; }
  .campaign-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-left: -16px; margin-right: -16px; padding: 0 16px 12px; scrollbar-width: none; }
  .campaign-grid::-webkit-scrollbar { display: none; }
  .campaign-card { flex: 0 0 85%; scroll-snap-align: center; padding: 22px; border-radius: 18px; }
  .campaign-card h3 { font-size: 26px; }
  .campaign-card > a { min-height: 44px; align-items: center; font-size: 12px; }
  .deal-grid { gap: 11px; }
  .deal-card { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
  .deal-photo { height: 155px; }
  .deal-copy { padding: 13px; }
  .deal-copy h3 { font-size: 12px; }
  .deal-action { min-height: 44px; font-size: 10px; line-height: 1.6; }
  .deal-detail { font-size: 9px; }
  .deal-price strong { font-size: 23px; }
  .budget-section { border: 0; border-radius: 18px; background: #edf4ef; padding: 23px 20px; }
  .budget-copy h2 { font-size: 29px; }
  .budget-fields input { height: 48px; border-radius: 10px; }
  .budget-tool .button { min-height: 48px; border-radius: 12px; font-size: 12px; }
  .budget-match { min-height: 65px; }
  .recent-product { border-radius: 13px; background: white; }
  .selection-help { background: #fff; border: 0; border-radius: 18px; padding: 23px 20px; gap: 16px; }
  .selection-help h2 { font-size: 27px; }
  .selection-actions .button { min-height: 46px; border-radius: 11px; }
  .selection-phone { min-height: 44px; display: inline-flex; align-items: center; }
  .catalog { padding-top: 31px; }
  .section-head h2 { font-size: 25px; max-width: 225px; }
  .section-head .eyebrow { display: none; }
  .section-head .text-button { min-height: 44px; padding: 9px 0; }
  .mobile-catalog-tools { display: flex; gap: 10px; margin-bottom: 16px; }
  .mobile-catalog-tools > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; background: white; border: 1px solid var(--border); border-radius: 8px; color: var(--brand-dark); font-size: 12px; padding: 11px 13px; }
  .mobile-catalog-tools > button:first-child { flex: 1; }
  .mobile-catalog-tools > button > span { font-size: 19px; line-height: 1; }
  .toolbar { font-size: 11px; margin-bottom: 16px; }
  .toolbar select { background: white; border: 1px solid var(--border-dark); padding: 10px; border-radius: 8px; min-height: 44px; max-width: 170px; font-size: 12px !important; }
  .products { gap: 13px 11px; }
  .product { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
  .product-image { height: 166px; }
  .product-info { padding: 13px 12px; }
  .product h3 { font-size: 12px; line-height: 1.55; }
  .product-category { font-size: 7px; }
  .product-size { font-size: 10px; }
  .price { font-size: 20px; }
  .add { min-width: 44px; min-height: 44px; border: 1px solid var(--brand-green); border-radius: 8px; background: var(--brand-green-light); }
  .add-plus { font-size: 23px; }
  .stock { font-size: 8px; padding: 5px 7px; border-radius: 6px; }
  .more { min-height: 49px; border-radius: 12px; background: white; font-size: 12px; }
  .imitation-tools { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--background-green); padding: 18px; }
  .imitation-intro h3 { font-size: 21px; }
  .imitation-facets label { font-size: 11px; }
  .imitation-facets select { min-height: 45px; border-radius: 9px; padding: 10px; }
  .imitation-note { font-size: 10px; }
  .order-banner { border-radius: 18px; }
  .order-banner .button { min-height: 48px; border-radius: 11px; }
  .reviews-copy h2 { font-size: 30px; }
  .reviews-copy .button { min-height: 46px; border-radius: 11px; }
  .reviews-widget { border-radius: 14px; }
  footer { border-radius: 18px 18px 0 0; margin-top: 25px; }
  .contact-footer .contact-link { min-height: 44px; }
  .seo-service-links a { min-height: 35px; display: flex; align-items: center; }
  /* A stable, thumb-friendly navigation bar with iOS safe-area support. */
  .mobile-nav { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: stretch; position: fixed; left: 0; right: 0; bottom: 0; min-height: var(--mobile-bar); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: #fffffff7; backdrop-filter: blur(18px); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px rgba(23,33,49,.06); z-index: 16; }
  .mobile-nav > a, .mobile-nav > button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 53px; padding: 6px 2px; border: 0; background: none; border-radius: 8px; color: var(--text-secondary); font-size: 10px; line-height: 1.2; }
  .mobile-nav .active { color: var(--brand-green-dark); background: var(--brand-green-light); }
  .mobile-nav .active svg { stroke-width: 1.9; }
  .mobile-cart-count { position: absolute; top: 1px; left: calc(50% + 5px); display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border: 2px solid white; border-radius: 20px; background: var(--brand-green); color: white; font-size: 8px; }
  body:has(dialog[open]) .mobile-nav { display: none; }
  .chat-launcher { display: none; }
  .chat-panel { inset: auto 12px calc(var(--mobile-bar) + 10px) 12px; width: auto; max-width: none; height: min(620px, calc(100dvh - var(--mobile-bar) - 30px)); max-height: calc(100dvh - var(--mobile-bar) - 30px); border-radius: 19px; z-index: 18; box-shadow: 0 12px 45px #1e37232b; }
  .chat-head { padding: 18px; }
  .chat-head button { width: 40px; height: 40px; border-radius: 11px; }
  .chat-head h2 { font-size: 15px; }
  #chatQuestions button { min-height: 43px; border-radius: 10px; padding: 10px 12px; font-size: 11px; }
  #chatContacts a { min-height: 42px; display: inline-flex; align-items: center; padding: 10px; border-radius: 9px; font-size: 10px; }
  .chat-message { font-size: 12px; border-radius: 11px; }
  .chat-answer-action { min-height: 36px; font-size: 11px; }
  /* Product and checkout become full-height app screens. */
  #quickView { inset: 0; width: 100%; height: 100dvh; max-height: 100dvh; max-width: 100%; transform: none; border: 0; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); background: white; }
  .quick-close { width: 44px; height: 44px; border-radius: 14px; top: 12px; margin: 12px 14px -56px 0; box-shadow: 0 2px 10px #26342910; }
  .quick-photo { padding: 24px 22px 18px; background: var(--background-soft); }
  .quick-photo img { max-height: 300px; }
  .quick-info { padding: 24px 20px 35px; }
  #quickTitle { font-size: 25px; line-height: 1.3; }
  .quick-size-block > label { font-size: 11px; }
  .quick-size-block select { border-radius: 11px; min-height: 48px; }
  .quick-price { font-size: 31px; }
  .quick-actions { position: sticky; bottom: 0; z-index: 2; padding: 10px 0; background: white; gap: 11px; }
  .quick-actions .quantity { border-radius: 11px; overflow: hidden; }
  .quick-actions .quantity button { width: 40px; height: 46px; }
  .quick-actions .quantity input { width: 48px; height: 46px; }
  .quick-actions .button { min-height: 48px; border-radius: 11px; font-size: 12px; }
  .unit-price-grid { border-radius: 12px; overflow: hidden; }
  .unit-price-grid strong { font-size: 12px; }
  .unit-price-grid span { font-size: 10px; }
  .calculator-inputs { grid-template-columns: 1fr; }
  .calculator-inputs select { height: 47px; border-radius: 11px; }
  .calculator-inputs .target-stepper { height: 48px; border-radius: 11px; overflow: hidden; }
  .calculator-inputs .target-stepper button { height: 46px; flex-basis: 44px; }
  .calculator-inputs .target-stepper input { height: 46px; }
  .calculator-result { border-radius: 12px; padding: 17px; }
  .calculator-total strong { font-size: 25px; }
  .calculator-measures { font-size: 11px; }
  .quick-description > p, .quick-specs { font-size: 13px; }
  .quick-cart-link { min-height: 44px; font-size: 12px; }
  #drawer { width: 100%; max-width: 100%; border-radius: 0; padding-bottom: env(safe-area-inset-bottom); background: #fff; }
  .drawer-head { padding: 18px 20px; background: #fff; }
  .drawer-head h2 { font-size: 28px; }
  .drawer-head .icon-button { width: 44px; height: 44px; border-radius: 12px; }
  .drawer-body { padding: 0 20px 30px; }
  .cart-item { grid-template-columns: 60px 1fr auto; gap: 11px; }
  .cart-item img { width: 60px; height: 68px; object-fit: cover; border-radius: 9px; }
  .cart-item h3 { font-size: 12px; }
  .cart-item strong { font-size: 12px; }
  .quantity { border-radius: 10px; overflow: hidden; }
  .quantity button { width: 38px; height: 41px; }
  .quantity input { width: 47px; height: 41px; }
  .remove { min-height: 35px; font-size: 11px; }
  .cart-benefits { margin-top: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; }
  .cart-benefits > .eyebrow { display: none; }
  .cart-benefits h3 { font-size: 12px; margin: 0 0 3px; line-height: 1.4; }
  .cart-benefits p { font-size: 10px; line-height: 1.45; margin: 3px 0; }
  .cart-benefits .benefit-track { height: 4px; margin: 7px 0 4px; }
  .cart-benefits small { font-size: 8px; line-height: 1.3; }
  .cart-benefits .wholesale-unlocked { padding: 6px 8px; margin-top: 6px; }
  .cart-benefits .wholesale-teaser, .cart-benefits [data-add-area] { display: none; }
  .cart-benefits .text-button { min-height: 34px; font-size: 10px; margin-top: 2px; padding: 5px 0; }
  #orderForm { margin-top: 25px; }
  #orderForm label { font-size: 12px; }
  #orderForm input, #orderForm textarea { min-height: 49px; border-radius: 11px; padding: 13px; }
  #orderForm .submit { position: sticky; bottom: 0; min-height: 53px; border-radius: 12px; z-index: 2; font-size: 14px; box-shadow: 0 -7px 20px #ffffffd9; }
  .local-note { font-size: 11px; }
  .toast { bottom: calc(var(--mobile-bar) + 12px); border-radius: 12px; width: max-content; max-width: calc(100vw - 32px); font-size: 12px; }
  body:has(dialog[open]) .toast { bottom: calc(16px + env(safe-area-inset-bottom)); }
  /* The same controls and state live in a native bottom sheet on small screens. */
  #mobileFilters { inset: auto 0 0; width: 100%; max-width: 100%; height: auto; max-height: 90dvh; border: 0; border-radius: 23px 23px 0 0; padding: 0; background: white; }
  .mobile-sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; position: sticky; top: 0; z-index: 2; padding: 15px 20px; border-bottom: 1px solid #edf0f5; background: white; }
  .sheet-handle { display: block; width: 34px; height: 4px; border-radius: 5px; background: #d7dee7; margin-bottom: 15px; }
  .mobile-sheet-head h2 { font-size: 23px; font-weight: 500; letter-spacing: -.6px; margin: 0; }
  .mobile-sheet-head button { width: 42px; height: 42px; border-radius: 12px; border: 1px solid #e4e9f0; background: #fafbfd; font-size: 24px; }
  #mobileFilterContent { padding: 18px 20px; }
  #mobileFilters .filters { position: static; }
  #mobileFilters .filters h3 { display: block; font-size: 11px; margin-bottom: 13px; }
  #mobileFilters .filters nav { display: grid; grid-template-columns: minmax(0,1fr); margin: 0; padding: 0; gap: 6px; overflow: visible; }
  #mobileFilters .category { width: 100%; min-height: 45px; justify-content: space-between; border-radius: 11px; border: 1px solid #e7ecf2; padding: 11px 13px; font-size: 12px; }
  #mobileFilters .category span { display: inline; }
  #mobileFilters .category.active { border-color: var(--brand-green); background: var(--brand-green-light); }
  #mobileFilters .stock-filter { min-height: 44px; margin: 15px 0; font-size: 12px; }
  #mobileFilters input[type=checkbox] { width: 19px; height: 19px; }
  #mobileFilters .help-box { display: none; }
  #mobileFilters .imitation-tools { margin: 0; }
  #mobileFilters .imitation-intro { display: block; }
  #mobileFilters .imitation-intro .text-button { min-height: 40px; }
  .mobile-sheet-footer { position: sticky; bottom: 0; z-index: 2; padding: 13px 20px calc(13px + env(safe-area-inset-bottom)); background: white; border-top: 1px solid var(--border); }
  .mobile-sheet-footer .button { width: 100%; min-height: 50px; border-radius: 8px; font-size: 13px; }
  .seo-header { padding: 13px 16px; }
  .seo-header > a:nth-child(2) { min-height: 44px; display: inline-flex; align-items: center; font-size: 11px; }
  .seo-main { padding-top: 22px; }
  .product-detail { background: white; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
  .product-detail h1 { font-size: 29px; }
}
@media(max-width:360px) {
  .hero-content { padding: 23px 18px; }
  .hero h1 { font-size: 27px; }
  .hero-actions .button { font-size: 10px; gap: 9px; padding: 12px; }
  .product-info { padding: 11px 10px; }
  .product-image { height: 145px; }
  .product h3 { font-size: 11px; }
  .price { font-size: 17px; }
  .quick-actions { flex-wrap: wrap; }
  .quick-actions .button { flex: 1; min-width: 155px; }
}
@media(max-width:360px) {
  .cart-item { grid-template-columns: 52px minmax(0,1fr); }
  .cart-item > img { grid-column: 1; grid-row: 1/3; }
  .cart-item > div { grid-column: 2; grid-row: 1; }
  .cart-item > strong { grid-column: 2; grid-row: 2; margin-top: -8px; font-size: 14px; }
}
/* Smartphone-first refinements for keyboards, narrow displays and landscape. */
@media(max-width:760px) {
  .wrap { padding-left: max(16px,env(safe-area-inset-left)); padding-right: max(16px,env(safe-area-inset-right)); }
  .mobile-nav { padding-left: max(8px,env(safe-area-inset-left)); padding-right: max(8px,env(safe-area-inset-right)); }
  .quick-actions .quantity button, .quantity button { width: 44px; min-width: 44px; height: 44px; }
  .quick-actions .quantity input, .quantity input { width: 49px; height: 44px; }
  .add { min-width: 44px; min-height: 44px; }
  .remove, .text-button, #chatContacts a { min-height: 44px; }
  .mobile-sheet-head button { width: 44px; height: 44px; }
  body:has(.search input:focus, #orderForm input:focus, #orderForm textarea:focus) .mobile-nav { display: none; }
  .calculator-total, .total { flex-wrap: wrap; }
  .calculator-total strong, .total strong { max-width: 100%; overflow-wrap: anywhere; }
}
@media(max-width:760px) and (max-height:500px) {
  .chat-panel { inset: 10px 12px; height: calc(100dvh - 20px); max-height: calc(100dvh - 20px); }
  .chat-head { padding: 10px 14px; }
  .chat-head p { display: none; }
  .chat-contact { max-height: 45dvh; overflow-y: auto; padding: 10px 14px; overscroll-behavior: contain; }
  .chat-contact > p { margin-top: 8px; }
  .chat-content { padding: 12px 14px; }
}
@media(max-width:1024px) and (orientation:landscape) and (pointer:coarse) {
  .wrap { padding-left: max(24px,env(safe-area-inset-left)); padding-right: max(24px,env(safe-area-inset-right)); }
}
@media(hover:none) {
  .button:hover, .product:hover .product-image img, .deal-photo:hover img { transform: none; }
}
/* Cart notifications stay at the top right, including over modal screens. */
.toast { top: max(20px,env(safe-area-inset-top)); right: max(20px,env(safe-area-inset-right)); bottom: auto; left: auto; transform: translateY(-12px); }
.toast.show { transform: translateY(0); }
@media(max-width:760px) {
  .toast, body:has(dialog[open]) .toast { top: max(12px,env(safe-area-inset-top)); right: max(12px,env(safe-area-inset-right)); bottom: auto; left: auto; max-width: calc(100vw - 24px); }
}
.toast { margin: 0; }
/* Branded quick-contact buttons inside the assistant. Icons are inline SVG. */
#chatContacts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
#chatContacts a.chat-channel { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 9px 7px; border: 0; border-radius: 9px; background: var(--channel); color: var(--channel-text,#fff); font-size: 10px; line-height: 1.3; font-weight: 500; }
#chatContacts .chat-channel svg, #chatContacts .chat-channel img { display: block; flex: 0 0 17px; width: 17px; height: 17px; object-fit: contain; }
#chatContacts .chat-channel span { min-width: 0; }
#chatContacts .chat-phone { --channel: #2d6c48; }
#chatContacts .chat-email { --channel: #3d4568; }
#chatContacts .chat-whatsapp { --channel: #087f5b; }
#chatContacts .chat-telegram { --channel: #087da9; }
#chatContacts .chat-max { --channel: linear-gradient(125deg,#5146dd,#2674d9); }
#chatContacts .chat-map { --channel: #c63838; }
#chatContacts .chat-navigator { --channel: #f2c13c; --channel-text: #35354a; }
#chatContacts a.chat-channel:hover { background: var(--channel); color: var(--channel-text,#fff); filter: brightness(.94); }
@media(max-width:360px) { #chatContacts { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.profile-thickness { position: absolute; top: 12px; right: 12px; padding: 5px 8px; border-radius: var(--radius-sm); background: var(--brand-dark); color: white; font-size: 10px; font-weight: 600; letter-spacing: .2px; }
.profile-media-tabs { display: flex; gap: 7px; margin-bottom: 15px; }
.profile-media-tabs button { flex: 1; background: #fff; border: 1px solid #dce4de; border-radius: 7px; padding: 10px 8px; color: #87978b; font-size: 10px; }
.profile-media-tabs button[aria-pressed=true] { background: #e7eee9; color: #3c6347; border-color: #a9c2b1; }
.quick-photo .profile-main-image { width: 100%; height: 420px; object-fit: contain; }
.profile-dimensions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 18px; padding: 14px 0; border-top: 1px solid #e0e7e1; }
.profile-dimensions small { display: block; font-size: 9px; color: #8d9c92; }
.profile-dimensions b { display: block; font-size: 13px; font-weight: 500; color: #46634f; margin-top: 6px; }
.size-drawing { margin-top: 8px; background: #fff; border: 1px solid #e1e8e2; border-radius: 9px; padding: 10px 12px; }
.size-drawing summary { color: #698673; font-size: 11px; cursor: pointer; }
.size-drawing img { display: block; margin-top: 12px; width: 100%; height: auto; object-fit: contain; }
.size-drawing > p { font-size: 9px; color: #8c9c91; line-height: 1.7; }
.static-size-drawing { display: block; width: 100%; height: auto; max-width: 900px; }
@media(max-width:760px) { .profile-thickness { top: 9px; right: 9px; padding: 5px 7px; font-size: 10px; border-radius: 7px; } .profile-media-tabs button { min-height: 44px; font-size: 12px; border-radius: 10px; } .quick-photo .profile-main-image { height: 280px; } .profile-dimensions { margin-top: 14px; padding: 13px 0; } .profile-dimensions small { font-size: 10px; } .profile-dimensions b { font-size: 14px; } .size-drawing summary { min-height: 28px; padding: 4px 0; font-size: 12px; } }
.product-image:has(.profile-thickness) img { object-position: center 82%; }
.deal-photo:has(.deal-visual-note) img { object-position: center 82%; }
.deal-visual-note { position: absolute; bottom: 8px; right: 8px; padding: 3px 5px; border-radius: 3px; background: #fffffff0; color: #86988c; font-size: 8px; }
@keyframes mobile-quick-sheet-enter {
  from { opacity: .8; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@media(max-width:760px) {
  #quickView {
    inset: auto 8px calc(8px + env(safe-area-inset-bottom));
    width: auto;
    height: auto;
    max-height: min(88dvh,760px);
    max-width: none;
    margin: 0;
    transform: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
  }
  #quickView::before {
    content: "";
    position: sticky;
    top: 8px;
    z-index: 4;
    display: block;
    width: 36px;
    height: 4px;
    margin: 10px auto -4px;
    border-radius: 4px;
    background: #d7dfd8;
    pointer-events: none;
  }
  #quickView[open] { animation: mobile-quick-sheet-enter .28s cubic-bezier(.2,.8,.2,1); }
  body:has(.chat-panel:not([hidden]))::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 17;
    background: rgba(23,33,49,.16);
    backdrop-filter: blur(5px) saturate(.82);
    -webkit-backdrop-filter: blur(5px) saturate(.82);
  }
  .chat-panel { z-index: 18; }
}
@media(max-width:760px) {
  .header { grid-template-columns: minmax(0,1fr) 40px auto; gap: 5px; padding: 6px 16px 5px; }
  .header .brand { grid-column: 1; grid-row: 1; }
  .mobile-search-toggle { display: inline-flex; grid-column: 2; grid-row: 1; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 1px solid var(--border); border-radius: 9px; background: var(--background-soft); }
  .mobile-search-toggle img { display: block; width: 22px; height: 22px; mix-blend-mode: multiply; }
  .header .cart-button { grid-column: 3; grid-row: 1; }
  .header .search { display: none; grid-column: 1/-1; grid-row: 2; min-height: 40px; padding: 6px 10px; }
  .header.search-open .search { display: flex; }
  .header .search-icon { width: 20px; height: 20px; }
  .header .header-contacts .contact-link { min-height: 34px; }
}

/* Compact catalogue search with an explicit search action. */
.header .search { flex: 0 1 290px; gap: 8px; padding: 6px 10px; min-height: 42px; border-radius: 10px; }
.header .search input { font-size: 14px; }
.header .search input::placeholder { color: #5d6875; opacity: 1; }
.search-submit { display: grid; place-items: center; flex-shrink: 0; border: 0; background: transparent; padding: 0; width: 30px; height: 30px; cursor: pointer; border-radius: 6px; }
.search-submit:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
.search-submit:hover { background: #e4eae5; }
@media(max-width:760px) { .header .search input { font-size: 16px; } }

/* Catalogue-wide budget picker. */
.budget-fields > label { min-width: 0; color: #465d4e; font-size: 12px; }
.budget-fields select { display: block; width: 100%; min-width: 0; height: 48px; margin-top: 7px; padding: 10px; border: 1px solid #d4e1d8; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; text-overflow: ellipsis; }
.budget-fields label:last-child { grid-column: 1/-1; }
.budget-copy > p,.budget-note,.budget-empty { color: #52675a; font-size: 13px; }
.budget-summary,.budget-match small { color: #52675a; font-size: 12px; }
.budget-match b { font-size: 13px; line-height: 1.5; }
.budget-match > span { min-width: 0; overflow-wrap: anywhere; }
.budget-more { margin-top: 16px; min-height: 44px; }
@media(max-width:760px){ .budget-fields select { font-size: 16px; } .budget-match strong { font-size: 15px; } }

/* Minimal delivery status directly under the checkout title. */
#drawer .drawer-head { align-items: flex-start; gap: 12px; }
#drawer .drawer-head > div { flex: 1; min-width: 0; }
#drawer .cart-benefits { margin: 8px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
#drawer .cart-benefits .benefit-caption { margin: 0; color: #52675a; font-size: 12px; line-height: 1.45; }
#drawer .cart-benefits strong { color: #315b3c; font-weight: 600; white-space: nowrap; }
#drawer .cart-benefits .benefit-track { height: 3px; margin: 6px 0 0; border-radius: 2px; }
#drawer .cart-benefits .wholesale-unlocked { display: block; margin: 5px 0 0; padding: 0; background: none; color: #52675a; font-size: 11px; line-height: 1.4; }

/* Nested category filters with independent expand controls. */
#categories { display: flex; flex-direction: column; gap: 3px; }
.category-branch { min-width: 0; }
.category-row { display: flex; align-items: stretch; min-width: 0; }
#categories .category { flex: 1; min-width: 0; width: 100%; white-space: normal; }
.category-toggle { display: grid; place-items: center; flex: 0 0 40px; min-height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #52675a; cursor: pointer; }
.category-toggle:hover { background: #edf3ee; }
.category-toggle:focus-visible { outline: 2px solid var(--brand-green); outline-offset: -2px; }
.category-toggle svg { transition: transform .18s ease; }
.category-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.category-children { margin: 2px 0 7px 11px; padding-left: 8px; border-left: 1px solid #dce5df; }
.category-children[hidden] { display: none; }
.category-children .category { font-size: 12px; padding: 9px 8px; }
@media(max-width:760px){ #mobileFilters .category-row .category { width: auto; } .category-toggle { flex-basis: 44px; } }
@media(prefers-reduced-motion:reduce){ .category-toggle svg { transition: none; } }

/* Category-specific dimension and grade filters share the mobile filter sheet. */
.catalog-facets { margin-top: 20px; padding-top: 18px; border-top: 1px solid #dce5df; }
.catalog-facets h3 { margin: 0 0 12px; }
.catalog-facets label { display: block; margin: 12px 0; color: #52615a; font-size: 12px; }
.catalog-facets select { display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 10px; min-height: 44px; border: 1px solid #dce5df; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
.catalog-facets .text-button { min-height: 40px; margin-top: 2px; font-size: 12px; }
@media(max-width:760px){ .catalog-facets select { font-size: 16px; } }

/* Phone and contact icons share one compact header group. */
.header,.seo-header { min-height: 78px; gap: 16px; flex-wrap: nowrap; }
.header-reach { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-reach .header-contacts { display: flex; flex: 0 0 auto; gap: 3px; padding: 0; overflow: visible; }
.header-reach .header-contacts .contact-link { display: inline-flex; justify-content: center; width: 30px; min-height: 34px; padding: 5px; border: 0; border-radius: 7px; }
.header-reach .header-contacts .contact-link span { display: none; }
.header-reach .header-contacts .contact-link img { width: 20px; height: 20px; }
.header-reach .phone { display: inline-flex; }
@media(min-width:761px) and (max-width:1100px){ .header .header-catalog { display: none; } .header .brand .store-logo { width: 150px; } .header { gap: 10px; } .header-reach { gap: 6px; } }
@media(max-width:760px){
 .header,.seo-header { min-height: 0; }
 .header .header-reach { grid-column: 1/-1; grid-row: 2; width: 100%; justify-content: space-between; gap: 5px; }
 .header .search { grid-row: 3; }
 .header-reach .phone,.header-reach .seo-phone { display: inline-flex; font-size: 11px; gap: 4px; }
 .header-reach .header-contacts { gap: 2px; }
 .header-reach .header-contacts .contact-link { width: 28px; min-height: 34px; padding: 4px; }
 .header-reach .phone-icon { width: 15px; height: 15px; flex-basis: 15px; }
 .seo-header { flex-wrap: wrap; gap: 8px; }
 .seo-header .header-reach { order: 5; flex-basis: 100%; justify-content: space-between; }
}

.profile-dimensions { grid-template-columns: repeat(2,minmax(0,1fr)); }
.profile-dimensions small { color: #5e7064; font-size: 11px; }
.profile-dimensions b { overflow-wrap: anywhere; }

.size-drawing { padding: 14px; background: #f5f8f5; border-color: #e1e8e2; border-radius: 14px; }
.size-drawing h3 { margin: 0; color: #365440; font-size: 14px; font-weight: 600; }
.size-drawing img { margin-top: 6px; }
.size-drawing > p { color: #5e7064; font-size: 11px; margin: 4px 0 0; }
@media(max-width:760px){ .size-drawing { padding: 10px; } }

/* Size and grade badges use only actual product attributes. */
.product-image-labels { position: absolute; top: 43px; left: 10px; right: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; pointer-events: none; }
.product-image-labels > span { position: static; max-width: 100%; padding: 4px 7px; border-radius: 6px; font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: 0; overflow-wrap: anywhere; }
.product-dimension-label { background: #172b24ed; color: #fff; }
.product-grade-label { background: #fffffff0; color: #254234; border: 1px solid #dce6de; }
@media(max-width:760px){ .product-image-labels { top: 39px; left: 8px; right: 8px; gap: 4px; } .product-image-labels > span { padding: 3px 5px; font-size: 10px; } }

.product .product-select { min-height: 44px; min-width: 76px; padding: 7px 10px; font-size: 12px; white-space: nowrap; }

/* Product dimensions and grade sit in the image's top-right corner. */
.product-image-labels { top: 12px; left: auto; right: 12px; max-width: calc(100% - 24px); align-items: flex-end; text-align: right; }
@media(max-width:760px) { .product-image-labels { top: 9px; left: auto; right: 8px; max-width: calc(100% - 16px); } }
.product-image:has(.product-image-labels) .stock { top: auto; bottom: 12px; }

/* Quick-view specifications: four equal columns, label above value. */
.profile-dimensions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: start; }
.profile-dimensions > span { display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.profile-dimensions small { display: block; margin: 0; line-height: 1.4; }
.profile-dimensions b { display: block; margin: 0; line-height: 1.4; }
@media(max-width:760px) {
  .profile-dimensions { gap: 6px; }
  .profile-dimensions small { font-size: 10px; }
  .profile-dimensions b { font-size: 12px; }
}

/* Keep the size sketch fully visible, independent of product photo sizing. */
.quick-photo .size-drawing img { display: block; width: 100%; height: auto; max-height: none; object-fit: contain; }
.quick-photo .size-drawing { display: block; margin-top: 18px; }

/* Let catalogue search occupy all remaining header space. */
.header .search { flex: 1 1 0; max-width: none; }

/* Refined drawing card: clear heading, clean canvas and an optional full-size view. */
.quick-photo .size-drawing { margin-top: 20px; padding: 0; overflow: hidden; background: #fff; border: 1px solid #dfe7e2; border-radius: 16px; box-shadow: 0 5px 20px #193b2610; }
.size-drawing-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid #edf1ee; }
.size-drawing-kicker { display: block; margin-bottom: 5px; color: #6a7d70; font-size: 9px; font-weight: 600; letter-spacing: 1.1px; }
.size-drawing-head h3 { color: #243c2d; font-size: 16px; line-height: 1.3; }
.size-drawing-unit { flex-shrink: 0; padding: 5px 9px; background: #eff5f0; border: 1px solid #e1e9e3; border-radius: 7px; color: #486552; font-size: 11px; font-weight: 600; }
.size-drawing-preview { display: block; cursor: zoom-in; }
.quick-photo .size-drawing img { margin: 0; border-radius: 0; }
.size-drawing-preview:focus-visible { outline: 2px solid var(--brand-green); outline-offset: -3px; }
.size-drawing-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #f7f9f7; border-top: 1px solid #edf1ee; }
.size-drawing-footer p { margin: 0; color: #637568; font-size: 11px; line-height: 1.6; }
.size-drawing-footer a { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; color: #315a40; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:760px) { .size-drawing-head { padding: 14px; } .size-drawing-footer { padding: 8px 12px; gap: 8px; } .size-drawing-head h3 { font-size: 15px; } }

/* Polished FAQ assistant, using the existing local data and channel icons. */
.chat-panel { width: 390px; border-radius: 20px; border-color: #dfe7e2; box-shadow: 0 20px 70px #15352229; }
.chat-head { background: #fff; padding: 18px 20px; align-items: flex-start; }
.chat-eyebrow { display: block; margin-bottom: 6px; color: #5a7562; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.chat-head h2 { font-size: 18px; font-weight: 650; color: #203c2b; }
.chat-head p { font-size: 11px; color: #637268; }
.chat-head button { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; border-color: #e4ebe6; color: #45594b; }
.chat-content { padding: 16px; background: #f7f9f7; scrollbar-width: thin; scrollbar-color: #cad8cd transparent; }
.chat-message { max-width: 100%; padding: 13px 15px; border-radius: 14px 14px 14px 4px; background: #fff; color: #304b39; font-size: 13px; line-height: 1.65; border-color: #e1e9e3; }
.chat-message p { white-space: pre-line; overflow-wrap: anywhere; }
.chat-message-label { color: #687c6f; font-size: 10px; font-weight: 600; }
.chat-user { max-width: 90%; border-radius: 14px 14px 4px 14px; background: #e9f2eb; color: #294b34; }
.chat-topics { margin-top: 18px; }
.chat-topics h3,.chat-contact h3 { color: #304b39; font-size: 12px; font-weight: 650; margin: 0 0 10px; }
#chatQuestions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
#chatQuestions button { min-width: 0; min-height: 44px; padding: 10px 11px; border-radius: 10px; color: #365940; font-size: 12px; line-height: 1.4; }
#chatQuestions button[aria-pressed="true"] { background: #e4efe6; border-color: #7d9e86; color: #234d31; }
.chat-answer-action { display: flex; justify-content: space-between; align-items: center; min-height: 44px; padding: 9px 12px; border: 1px solid #d5e4d9; border-radius: 9px; background: #eff6f0; font-size: 12px; font-weight: 600; }
.chat-another-question { display: block; min-height: 44px; margin-top: 6px; padding: 8px 0; border: 0; background: none; color: #42694d; font-size: 12px; cursor: pointer; }
.chat-contact { padding: 14px 16px; }
#chatContacts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
#chatContacts .chat-phone { grid-column: 1/-1; }
#chatContacts a.chat-channel { font-size: 11px; font-weight: 600; border-radius: 10px; gap: 5px; }
#chatContacts .chat-phone { font-size: 14px; letter-spacing: .2px; }
.chat-contact > p { color: #64776a; font-size: 10px; margin-top: 8px; }
.chat-panel button:focus-visible,.chat-panel a:focus-visible { outline: 2px solid #2f7250; outline-offset: 2px; }
@media(max-width:760px){ .chat-panel { width: auto; border-radius: 18px; } .chat-head { padding: 15px 16px; } .chat-head h2 { font-size: 17px; } }
@media(max-height:550px){ .chat-contact { max-height: 42dvh; overflow-y: auto; } .chat-head { padding: 10px 14px; } .chat-eyebrow { display: none; } .chat-head h2 { font-size: 15px; } }

/* Uncluttered size preview; the drawing itself opens the full-size image. */
.size-drawing-preview { display: block; margin: 10px; padding: 4px; overflow: hidden; border: 1px solid #e9eee9; border-radius: 10px; background: #fff; transition: border-color .18s ease, box-shadow .18s ease; }
.size-drawing-preview:hover { border-color: #a7bfae; box-shadow: 0 3px 12px #274e3410; }
.quick-photo .size-drawing-preview img { display: block; width: 100%; height: auto; max-height: none; margin: 0; border-radius: 7px; }
.size-drawing-preview:focus-visible { outline: 2px solid #315f40; outline-offset: 2px; }
@media(max-width:760px) { .size-drawing-preview { margin: 7px; padding: 0; } }
@media(prefers-reduced-motion:reduce) { .size-drawing-preview { transition: none; } }

/* Consistent, touch-friendly quick-view close control. */
.icon-button.quick-close { width: 44px; height: 44px; top: 12px; margin: 12px 12px -56px 0; padding: 0; border: 1px solid #dce5df; border-radius: 50%; background: #fffffff5; color: #344f3d; box-shadow: 0 3px 12px #1f392516; cursor: pointer; transition: background .16s ease, border-color .16s ease, box-shadow .16s ease; }
.quick-close svg { display: block; width: 20px; height: 20px; pointer-events: none; }
.icon-button.quick-close:hover { background: #edf4ee; border-color: #9cb6a4; box-shadow: 0 4px 14px #1f392524; }
.icon-button.quick-close:active { background: #e0ebe3; box-shadow: 0 1px 4px #1f392516; }
.icon-button.quick-close:focus-visible { outline: 2px solid #315f40; outline-offset: 3px; }
@media(prefers-reduced-motion:reduce) { .icon-button.quick-close { transition: none; } }

/* Customer reviews: restrained rating card and a framed live Yandex widget. */
.reviews-section { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 40px; padding: 36px; border: 1px solid #e2e9e4; border-radius: 22px; background: #f7f9f7; }
.reviews-copy { min-width: 0; }
.reviews-copy > .eyebrow { color: #597261; font-size: 10px; letter-spacing: 1.3px; }
.reviews-copy h2 { margin: 14px 0 12px; max-width: 400px; font-size: clamp(28px,3.2vw,40px); font-weight: 600; letter-spacing: -1.2px; line-height: 1.14; }
.reviews-intro { max-width: 340px; color: #596d60; font-size: 14px; line-height: 1.7; }
.reviews-rating { display: flex; width: fit-content; max-width: 100%; gap: 20px; margin: 24px 0 18px; padding: 20px 24px; border: 1px solid #dfe8e1; border-radius: 16px; background: #fff; box-shadow: 0 4px 16px #25433006; }
.reviews-rating strong { display: flex; align-items: baseline; gap: 5px; color: #243f2d; font-size: 52px; font-weight: 650; letter-spacing: -2px; }
.reviews-rating strong small { font-size: 12px; font-weight: 500; letter-spacing: 0; color: #6b7e71; white-space: nowrap; }
.reviews-rating .review-stars { color: #e8ad16; font-size: 18px; letter-spacing: 2px; }
.reviews-rating-label { color: #52685b; font-size: 11px; line-height: 1.5; margin-top: 7px; }
.reviews-rating:focus-visible { outline: 2px solid #315f40; outline-offset: 3px; }
.reviews-source { max-width: 350px; color: #64776a; font-size: 12px; line-height: 1.7; margin: 0 0 20px; }
.reviews-copy .button { min-height: 46px; border-radius: 10px; font-size: 12px; }
.reviews-widget-wrap { overflow: hidden; border: 1px solid #e1e8e3; border-radius: 16px; background: #fff; box-shadow: 0 8px 25px #274a3209; }
.reviews-widget-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #edf1ee; }
.reviews-widget-head > span { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #324c3b; }
.reviews-widget-head img { object-fit: contain; }
.reviews-widget-head a { display: inline-flex; align-items: center; min-height: 36px; color: #42664d; font-size: 12px; }
.reviews-widget { border: 0; border-radius: 0; background: #fff; }
.reviews-fallback { margin: 0; padding: 12px 16px; border-top: 1px solid #edf1ee; color: #63776a; font-size: 11px; }
@media(max-width:950px){ .reviews-section { gap: 24px; padding: 25px; } .reviews-rating { padding: 16px; gap: 12px; } }
@media(max-width:760px){ .reviews-section { grid-template-columns: minmax(0,1fr); padding: 22px 16px 16px; gap: 22px; border-radius: 18px; } .reviews-copy h2 { max-width: 320px; font-size: 30px; } .reviews-intro { font-size: 13px; } .reviews-rating { margin: 18px 0 14px; } .reviews-rating strong { font-size: 44px; } .reviews-copy .button { width: 100%; justify-content: space-between; } .reviews-source { margin-bottom: 15px; } .reviews-widget { height: 490px; border-radius: 0; } .reviews-widget-head { padding: 10px 12px; } }

.store-answers { margin-top: 40px; padding: 30px; border: 1px solid #e1e8e2; border-radius: 18px; background: #fff; }
.store-answers h2 { margin: 12px 0; color: #253f2d; font-size: clamp(25px,3vw,34px); line-height: 1.2; }
.store-answers-intro { color: #5a6f61; font-size: 14px; line-height: 1.7; }
.store-answers details { border-top: 1px solid #e7ede8; }
.store-answers summary { min-height: 52px; padding: 15px 24px 15px 0; cursor: pointer; color: #324e3c; font-size: 14px; font-weight: 600; line-height: 1.5; }
.store-answers details p { max-width: 850px; margin: 0 0 18px; color: #53695b; font-size: 14px; line-height: 1.8; }
.store-answers summary:focus-visible { outline: 2px solid #315f40; outline-offset: 3px; }
.store-answers > .text-button { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; }
@media(max-width:760px){ .store-answers { padding: 20px 16px; margin-top: 28px; } }

.size-drawing-preview { cursor: default; transition: none; }
.size-drawing-preview:hover { border-color: #e9eee9; box-shadow: none; }

/* Chat rhythm: instant user bubble, typing indicator, then assistant reply. */
.chat-messages { gap: 12px; }
.chat-message.chat-user { max-width: 87%; align-self: flex-end; background: #315c40; border-color: #315c40; color: #fff; border-radius: 15px 15px 4px 15px; }
.chat-user .chat-message-label { color: #dbeadd; }
.chat-message.chat-bot { align-self: flex-start; max-width: 94%; background: #fff; border-radius: 15px 15px 15px 4px; }
.chat-typing { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid #e1e9e3; border-radius: 15px 15px 15px 4px; background: #fff; color: #637a6b; font-size: 11px; }
.chat-typing-dots { display: inline-flex; align-items: center; gap: 4px; }
.chat-typing-dots i { width: 5px; height: 5px; border-radius: 50%; background: #64866d; animation: chat-typing-pulse 1.1s ease-in-out infinite; }
.chat-typing-dots i:nth-child(2) { animation-delay: .15s; }
.chat-typing-dots i:nth-child(3) { animation-delay: .3s; }
#chatQuestions button[aria-disabled="true"] { opacity: .65; cursor: progress; }
@keyframes chat-typing-pulse { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-3px); opacity: 1; } }
@media(prefers-reduced-motion:reduce) { .chat-typing-dots i { animation: none; opacity: .7; } }

.yandex-rating-badge { margin: 22px 0 18px; min-height: 50px; }
.yandex-rating-badge iframe { display: block; width: 150px; height: 50px; max-width: 100%; border: 0; background: transparent; }

.footer-legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; margin-top: 22px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid #ffffff24; color: #c3cec7; font-size: 11px; line-height: 1.7; }
.footer-legal strong { color: #e6ece8; font-size: 11px; font-weight: 500; }
.footer-legal time { white-space: nowrap; }
@media(max-width:760px){ .footer-legal { flex-direction: column; align-items: flex-start; gap: 5px; } }

.legal-section { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e4ebe5; }
.legal-lead { color: #52695b; font-size: 16px; line-height: 1.7; }
.legal-owner { margin-top: 30px; padding: 20px; border: 1px solid #e1e8e2; border-radius: 12px; background: #f6f9f6; font-size: 13px; line-height: 1.8; }
.legal-owner p { margin-bottom: 0; }
.footer-legal > a { color: #e3ece6; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal > a:hover { color: #fff; }

/* Mobile storefront: persistent actions, readable cards and native sheets. */
.mobile-purchase-bar { display: none; }
@media (max-width: 760px) {
  html { scroll-padding-top: calc(var(--app-header-height, 108px) + 70px); }
  .header .search input, .quick-form input, .quick-form select, #orderForm input, #orderForm textarea { font-size: 16px; }
  .mobile-nav { padding-top: 8px; box-shadow: 0 -6px 24px #183b2510; }
  .mobile-nav > a, .mobile-nav > button { border-radius: 14px; font-size: 10px; font-weight: 600; }
  .mobile-nav .active { background: #eaf4ed; }
  .mobile-catalog-tools { position: sticky; top: var(--app-header-height, 108px); z-index: 12; padding: 10px 0; margin-bottom: 12px; background: #f8faf8f5; backdrop-filter: blur(16px); }
  .mobile-catalog-tools > button { border-radius: 13px; font-size: 14px; font-weight: 600; min-height: 48px; }
  .mobile-catalog-tools img { object-fit: contain; }
  .product { border-radius: 16px; box-shadow: 0 3px 12px #16342406; overflow: hidden; }
  .product-info { padding: 12px 11px; }
  .product h3 { font-size: 13px; line-height: 1.45; }
  .product-category { font-size: 9px; letter-spacing: .03em; }
  .product-bottom { flex-direction: column; align-items: stretch; gap: 11px; }
  .product-bottom .price { font-size: 20px; line-height: 1.3; }
  .product-bottom .price-unit { font-size: 11px; }
  .product-select { width: 100%; min-height: 44px; border-radius: 10px; font-size: 13px; background: #edf5ef; color: #185c30; }
  .product-select:active, .mobile-nav > :active { transform: scale(.97); }
  .mobile-filter-sheet { overscroll-behavior: contain; }
  .mobile-filter-sheet[open] { display: flex; flex-direction: column; overflow: hidden; }
  .mobile-sheet-head, .mobile-sheet-footer { flex-shrink: 0; }
  #mobileFilterContent { overflow-y: auto; min-height: 0; overscroll-behavior: contain; }
  .mobile-sheet-footer { display: flex; gap: 16px; align-items: center; padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .mobile-sheet-footer .button { flex: 1; min-height: 50px; border-radius: 13px; }
  #mobileFilterReset { min-height: 44px; padding: 8px; }
  #quickContent { padding-bottom: calc(94px + env(safe-area-inset-bottom)); }
  .mobile-purchase-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: fixed; bottom: 0; left: 0; right: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: #fffffff5; backdrop-filter: blur(18px); border-top: 1px solid #e0e9e2; z-index: 5; box-shadow: 0 -8px 24px #17382508; }
  .mobile-purchase-bar > div { min-width: 0; display: grid; gap: 4px; }
  .mobile-purchase-bar > div > span { color: #607065; font-size: 11px; }
  .mobile-purchase-total { font-size: 21px; line-height: 1.2; white-space: nowrap; }
  .mobile-purchase-bar .button { min-height: 50px; border-radius: 13px; padding: 12px 20px; font-size: 14px; }
  #quickSubmit { display: none; }
  .quick-actions .quantity { width: 100%; justify-content: space-between; }
  .quick-info { padding-bottom: 28px; }
  .quick-form select, .quick-size-block select { min-height: 48px; border-radius: 12px; }
  #orderForm input, #orderForm textarea { border-radius: 12px; }
  #orderForm .submit { min-height: 52px; border-radius: 13px; }
}
@media (max-width: 360px) {
  .product h3 { font-size: 12px; }
  .product-bottom .price { font-size: 18px; }
  .mobile-purchase-bar { gap: 10px; padding-inline: 12px; }
  .mobile-purchase-bar .button { padding-inline: 15px; }
  .mobile-purchase-total { font-size: 19px; }
}
@media (max-width: 760px) and (max-height: 450px) {
  .mobile-purchase-bar { position: sticky; margin-bottom: -94px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-select:active, .mobile-nav > :active { transform: none; }
}
@media (max-width: 760px) {
  #quickView { inset: 0; margin: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
  #quickView::before { display: none; }
  #quickView .quick-close { top: max(12px, env(safe-area-inset-top)); }
}

/* Shared reading and interaction polish. Keep secondary information legible. */
:root {
  --brand-green: #24743d;
  --brand-green-dark: #1b6033;
  --brand-green-light: #edf5ef;
  --text-primary: #203029;
  --text-secondary: #53645b;
  --text-muted: #64736a;
  --border: #e1e8e2;
  --border-dark: #c5d2c8;
  --background-soft: #f7f9f7;
  --background-green: #f0f6f1;
  --shadow-sm: 0 2px 10px #203b2905;
  --shadow-md: 0 8px 26px #203b2910;
}
body { font-size: 15px; line-height: 1.65; }
::selection { background: #d8eadd; color: #173c25; }
input::placeholder, textarea::placeholder { color: #66766c; opacity: 1; }
.search { border-radius: 12px; }
.search:focus-within { background: #fff; border-color: #5c8a69; box-shadow: 0 0 0 3px #24743d12; }
.header .search input { font-size: 14px; }
.hero p { font-size: 15px; line-height: 1.8; color: var(--text-secondary); max-width: 48ch; }
.hero-pill, .hero-note, .hero-action-note, .eyebrow { color: #5b6f60; }
.hero-pill { font-size: 10px; letter-spacing: 1.3px; }
.hero-action-note, .hero-note { font-size: 12px; letter-spacing: 0; }
.button { font-size: 14px; border-radius: 12px; letter-spacing: 0; }
.button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.muted { font-size: 12px; color: var(--text-secondary); line-height: 1.65; }
.toolbar { font-size: 13px; color: var(--text-secondary); }
.toolbar select { font-size: 13px; color: var(--text-primary); }
.filters h3 { font-size: 12px; color: var(--text-secondary); letter-spacing: .6px; }
.product { box-shadow: var(--shadow-sm); }
.product-category { font-size: 10px; line-height: 1.5; letter-spacing: .5px; color: var(--text-secondary); }
.product h3 { font-size: 15px; font-weight: 500; line-height: 1.55; }
.product-size { font-size: 12px; color: var(--text-secondary); }
.price, .quick-price, .calculator-total strong, .total strong { font-variant-numeric: tabular-nums; }
.price-unit { color: var(--text-secondary); }
.quick-stock { font-size: 13px; }
.quick-description p, .product-detail p, .seo-intro { font-size: 15px; line-height: 1.85; color: var(--text-secondary); }
.quick-description p, .seo-intro, .legal-section p { max-width: 72ch; }
.quick-description { margin-top: 28px; }
.quick-description h3 { font-size: 17px; margin-bottom: 12px; }
.calculator-note, .calculator-status, .calculator-measures { font-size: 12px; line-height: 1.7; }
.unit-price-grid span { color: var(--text-secondary); font-size: 12px; }
.quick-form label, #orderForm label { font-size: 13px; line-height: 1.6; }
.quick-form input, .quick-form select, #orderForm input, #orderForm textarea { border-color: var(--border-dark); }
.budget-copy > p, .budget-note, .budget-empty { font-size: 14px; line-height: 1.8; }
.budget-match small { font-size: 13px; }
.reviews-fallback, .store-answers p { font-size: 13px; line-height: 1.8; }
.chat-message { line-height: 1.75; }
.footer-legal, .footer-legal strong { font-size: 12px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #24743d; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .product:hover { transform: none; border-color: #9bb6a2; box-shadow: var(--shadow-md); }
  .product:hover .product-image img { transform: scale(1.025); }
}
@media (hover: none) {
  .product:hover { transform: none; box-shadow: var(--shadow-sm); }
}
@media (min-width: 761px) {
  .section-head { margin-bottom: 28px; }
  .products { row-gap: 24px; }
  .product-select { min-height: 44px; font-size: 13px; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .hero p { font-size: 14px; line-height: 1.75; }
  .hero-note, .hero-action-note { font-size: 11px; }
  .hero h1 { letter-spacing: -1.4px; }
  .product h3 { font-size: 13px; line-height: 1.55; }
  .product-category { font-size: 10px; letter-spacing: .2px; }
  .product-size { font-size: 11px; }
  .toolbar { gap: 8px; font-size: 12px; }
  .toolbar select { max-width: 155px; }
  .quick-description p, .seo-intro, .product-detail p { font-size: 14px; line-height: 1.8; }
  .profile-dimensions small { font-size: 11px; }
  .profile-dimensions b { font-size: 13px; }
  .budget-note { font-size: 12px; }
  .mobile-nav > a, .mobile-nav > button { font-size: 11px; }
}
@media (max-width: 360px) {
  .product h3 { font-size: 12px; }
  .toolbar { flex-wrap: wrap; }
  .profile-dimensions { column-gap: 7px; }
  .profile-dimensions small { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.section-head > .text-button { font-size: 12px; line-height: 1.5; min-height: 44px; }
@media (max-width: 760px) {
  .section-head { flex-wrap: wrap; gap: 12px; }
  .section-head > .text-button { font-size: 12px; }
}

.checkout-privacy { width: min(760px, calc(100% - 32px)); max-width: 760px; max-height: calc(100dvh - 40px); padding: 0; border: 1px solid var(--border); border-radius: 20px; color: var(--text-primary); background: white; box-shadow: var(--shadow-lg); overflow: hidden; }
.checkout-privacy[open] { display: flex; flex-direction: column; }
.checkout-privacy::backdrop { background: #10251c80; backdrop-filter: blur(4px); }
.checkout-privacy-head { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.checkout-privacy-head h2 { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.4px; }
.checkout-privacy-head button { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; }
.checkout-privacy-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 28px; font-size: 14px; line-height: 1.8; }
.checkout-privacy-body h2 { font-size: 18px; line-height: 1.4; }
.checkout-privacy-body a { color: var(--brand-green-dark); text-decoration: underline; text-underline-offset: 3px; }
@media(max-width:760px) {
  .checkout-privacy { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; inset: 0; border: 0; border-radius: 0; }
  .checkout-privacy-head { padding: max(14px, env(safe-area-inset-top)) 16px 14px; }
  .checkout-privacy-head h2 { font-size: 18px; }
  .checkout-privacy-body { padding: 8px 20px calc(24px + env(safe-area-inset-bottom)); }
}

.cart-quantity-row { display: flex; align-items: center; gap: 10px; }
.cart-quantity-unit { font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.cart-calculation { margin-top: 14px; padding: 12px; background: var(--background-soft); border: 1px solid var(--border); border-radius: 12px; font-size: 12px; line-height: 1.65; }
.cart-calculation p { margin: 0; }
.cart-size { color: var(--text-primary); font-weight: 500; }
.cart-piece-measure { color: var(--text-secondary); padding-top: 5px; }
.cart-measures { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 12px 0; }
.cart-measures dt { color: var(--text-secondary); font-size: 11px; }
.cart-measures dd { margin: 0; font-size: 13px; font-weight: 600; }
.cart-price-formula { display: grid; gap: 5px; padding-top: 10px; border-top: 1px solid var(--border); overflow-wrap: anywhere; }
.cart-price-formula > span:first-child { color: var(--text-secondary); }
.cart-calculation-note { padding-top: 8px; color: var(--text-secondary); font-size: 11px; }
.cart-item > div { min-width: 0; }
@media(max-width:760px) {
  .cart-item { grid-template-columns: 52px minmax(0,1fr); align-items: start; }
  .cart-item > img { grid-column: 1; grid-row: 1/3; }
  .cart-item > div { grid-column: 2; grid-row: 1; }
  .cart-item > strong { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 16px; }
  .cart-calculation { margin-left: -64px; margin-top: 14px; }
}

/* Unit cards are native radio controls: tap the name, unit or price. */
.quick-form { margin-top: 26px; padding: 22px; border: 1px solid #d4e4d8; border-radius: 18px; background: #f5f9f5; }
.calculator-heading { margin: 0 0 20px; color: #214a30; font-size: 21px; line-height: 1.3; letter-spacing: -.5px; }
.calculator-unit-picker { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.calculator-unit-picker legend { padding: 0; font-size: 14px; font-weight: 600; color: var(--text-primary); }
.calculator-picker-hint { margin: 5px 0 14px; font-size: 12px; line-height: 1.65; color: var(--text-secondary); }
.calculator-unit-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.quick-form .calculator-unit-option { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 5px 8px; margin: 0; padding: 14px 12px; border: 1px solid #d2ded5; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.calculator-unit-option input[type=radio] { position: absolute; top: 14px; right: 12px; width: 17px; height: 17px; margin: 0; accent-color: #1b6033; }
.calculator-unit-name { grid-column: 1/-1; padding-right: 24px; font-size: 12px; font-weight: 500; line-height: 1.5; }
.calculator-unit-symbol { grid-column: 1/-1; font-size: 22px; font-weight: 650; line-height: 1.3; color: #294b35; }
.calculator-unit-price { grid-column: 1/-1; font-size: 13px; line-height: 1.5; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.calculator-unit-price small { color: var(--text-secondary); font-size: 11px; white-space: nowrap; }
.calculator-unit-option:has(input:checked) { background: #eaf4ed; border-color: #39774c; box-shadow: inset 0 0 0 1px #39774c; }
.calculator-unit-option:focus-within { outline: 2px solid #24743d; outline-offset: 3px; }
.calculator-inputs { grid-template-columns: 1fr; }
.calculator-inputs .target-stepper { height: 50px; border-radius: 11px; overflow: hidden; margin-top: 8px; }
.calculator-inputs .target-stepper input { height: 48px; font-size: 17px; font-weight: 600; }
.calculator-inputs .target-stepper button { min-width: 46px; height: 48px; }
.calculator-result { background: white; border: 1px solid #d7e5da; border-radius: 12px; padding: 16px; margin-top: 18px; }
.calculator-total { align-items: baseline; gap: 12px; }
.calculator-total > span { color: var(--text-secondary); font-size: 13px; }
.calculator-total strong { font-size: 25px; color: #1b6033; }
.calculator-measures { margin-top: 8px; color: #3c5945; }
.calculator-status:empty { display: none; }
.calculator-status:not(:empty) { margin-top: 10px; }
.calculator-note { margin-bottom: 0; }
@media(hover:hover) { .calculator-unit-option:hover { border-color: #62886c; } }
@media(max-width:760px) {
  .quick-form { padding: 16px; margin-inline: -4px; border-radius: 16px; }
  .calculator-heading { font-size: 20px; margin-bottom: 18px; }
  .calculator-unit-options { gap: 8px; }
  .quick-form .calculator-unit-option { padding: 12px 10px; }
  .calculator-unit-option input[type=radio] { right: 10px; top: 12px; }
  .calculator-unit-name { font-size: 11px; }
  .calculator-unit-price { font-size: 12px; }
  .calculator-unit-symbol { font-size: 21px; }
  .calculator-result { padding: 14px; }
  .calculator-total strong { font-size: 23px; }
}

/* One focus treatment for the complete stepper, not a box around the digits. */
#quickForm .quantity { border-radius: 11px; background: white; transition: border-color .15s, box-shadow .15s; }
#quickForm .quantity:focus-within { border-color: #508561; box-shadow: 0 0 0 3px #24743d14; }
#quickForm #quickQuantity, #quickForm #calcTarget { border: 0; outline: none; box-shadow: none; border-radius: 0; background: transparent; font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; caret-color: #1b6033; }
#quickForm #quickQuantity:focus, #quickForm #quickQuantity:focus-visible, #quickForm #calcTarget:focus, #quickForm #calcTarget:focus-visible { border: 0; outline: none; box-shadow: none; }
#quickForm .quick-actions .quantity { display: flex; min-width: 150px; }
#quickForm #quickQuantity { flex: 1 1 auto; width: 64px; min-width: 0; height: 48px; padding: 0 6px; }
#quickForm .quantity button { flex: 0 0 44px; min-height: 48px; }

@media (max-width: 760px) and (min-height: 501px) {
  .chat-panel { bottom: calc(var(--mobile-bar) + 4px); }
}

/* Compact cart: quantity unit, one pricing line and a separate total. */
.cart-calculation { margin: 8px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.cart-price-formula { display: block; padding: 0; border: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.6; }
.cart-calculation-note { padding-top: 3px; }
@media(max-width:760px) { .cart-calculation { margin-left: 0; } }

@media (max-width: 760px) {
  .header .header-reach, .seo-header .header-reach { flex-wrap: wrap; gap: 4px 10px; }
  .header-reach .phone, .header-reach .seo-phone { min-height: 44px; font-size: 13px; font-weight: 600; gap: 6px; }
  .header-reach .phone-icon { width: 18px; height: 18px; flex-basis: 18px; }
  .header-reach .header-contacts { gap: 6px; }
  .header-reach .header-contacts .contact-link { width: 36px; min-height: 44px; padding: 6px; border-radius: 10px; }
  .header-reach .header-contacts .contact-link img { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
  .header-reach .header-contacts { width: 100%; justify-content: space-between; gap: 8px; }
  .header-reach .header-contacts .contact-link { width: 44px; }
}

.campaign-card { position: relative; overflow: hidden; border-radius: 18px; }
.campaign-icon { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; opacity: .2; pointer-events: none; }
.campaign-kicker { min-height: 26px; padding-right: 52px; font-size: 10px; line-height: 1.6; letter-spacing: .7px; opacity: .9; }
.campaign-card h3 { font-weight: 500; margin-top: 18px; }
.campaign-card > p { font-size: 13px; line-height: 1.8; opacity: .9; }
.campaign-card > a { font-size: 13px; min-height: 44px; align-items: center; }
@media(max-width:760px) {
  .campaign-icon { width: 42px; height: 42px; top: 18px; right: 18px; }
  .campaign-kicker { font-size: 10px; padding-right: 46px; }
  .campaign-card > p { font-size: 12px; }
}

/* A clearer category tree and a wider, independently scrollable sidebar. */
@media(min-width:761px) {
  .catalog-layout { grid-template-columns: 280px minmax(0,1fr); gap: 28px; }
  .filters { top: calc(var(--app-header-height, 100px) + 16px); max-height: calc(100dvh - var(--app-header-height, 100px) - 32px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #c5d5c9 transparent; padding: 18px 14px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
}
@media(min-width:761px) and (max-width:1100px) {
  .catalog-layout { grid-template-columns: 240px minmax(0,1fr); gap: 20px; }
  .catalog-main .products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.filters h3 { font-size: 14px; text-transform: none; letter-spacing: 0; font-weight: 650; }
#categories { gap: 5px; }
#categories .category { min-height: 44px; padding: 10px 12px; border-left: 0; border-radius: 10px; font-size: 13px; line-height: 1.5; color: #374d40; }
#categories .category span { flex-shrink: 0; min-width: 26px; padding: 2px 6px; border-radius: 6px; background: #f0f4f0; color: #617368; font-size: 11px; text-align: center; }
#categories > .category-branch > .category-row > .category { font-weight: 600; }
.category-row { border-radius: 10px; }
.category-row:has(> .category.active) { background: #eaf4ed; }
#categories .category.active { color: #1b6033; background: #eaf4ed; box-shadow: inset 3px 0 #347849; }
#categories .category.active span { background: #d7e9dc; color: #285c38; }
.category-toggle { margin-left: 3px; background: #f6f9f6; }
.category-children { position: relative; margin: 6px 0 10px 16px; padding-left: 12px; border-left: 2px solid #dde8df; }
.category-children > .category-branch { position: relative; margin-bottom: 3px; }
.category-children > .category-branch::before { content: ''; position: absolute; left: -12px; top: 22px; width: 8px; border-top: 1px solid #cdded1; }
#categories .category-children .category { font-size: 12px; padding: 9px 10px; }
.catalog-facets select { border-radius: 11px; min-height: 46px; }

.product-price-block { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.product-price-block .price { display: block; }
.product-price-block .piece-price-hint { display: block; color: #68756d; font-size: 12px; line-height: 1.5; font-weight: 400; letter-spacing: 0; }
@media(max-width:760px) { .product-price-block .piece-price-hint { font-size: 11px; } }

/* Size/grade controls stay with sorting above the product grid. */
.catalog-control-bar { position: sticky; top: var(--app-header-height, 100px); z-index: 8; padding: 12px 16px; margin-bottom: 20px; border: 1px solid var(--border); border-radius: 14px; background: #fffffff5; backdrop-filter: blur(16px); }
.catalog-control-bar .toolbar { flex-wrap: wrap; margin-bottom: 0; gap: 10px 16px; }
.catalog-control-bar .toolbar > label { margin-left: auto; }
.catalog-control-bar #reset { min-height: 44px; padding: 8px 0; font-size: 12px; white-space: nowrap; }
.catalog-control-bar .catalog-facets { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; padding: 10px 0 0; margin: 6px 0 0; }
.catalog-control-bar .catalog-facets h3 { grid-column: 1/-1; font-size: 12px; margin: 0; }
.catalog-control-bar .catalog-facets label { margin: 0; font-size: 12px; min-width: 0; }
.catalog-control-bar .catalog-facets select { min-height: 42px; padding: 8px; font-size: 13px; }
@media(max-width:760px) {
  .catalog-control-bar { top: calc(var(--app-header-height, 108px) + 68px); padding: 10px 12px; margin-bottom: 16px; border-radius: 12px; }
  .catalog-control-bar .toolbar { font-size: 11px; gap: 4px 8px; }
  .catalog-control-bar .toolbar > label { display: flex; align-items: center; font-size: 0; }
  .catalog-control-bar .toolbar select { margin-left: 0; max-width: 155px; min-height: 42px; }
  .catalog-control-bar #reset { min-height: 36px; font-size: 12px; }
  .catalog-control-bar .catalog-facets { display: flex; gap: 10px; overflow-x: auto; padding: 8px 0 6px; margin-top: 4px; scrollbar-width: thin; }
  .catalog-control-bar .catalog-facets h3 { display: none; }
  .catalog-control-bar .catalog-facets label { flex: 0 0 128px; }
  .catalog-control-bar .catalog-facets select { font-size: 16px; }
}

/* Compact catalogue controls; reset remains easy to spot. */
.catalog-control-bar { padding: 8px 12px; margin-bottom: 14px; border-radius: 12px; }
.catalog-control-bar .toolbar { min-height: 36px; gap: 6px 12px; font-size: 12px; }
.catalog-control-bar .toolbar select { min-height: 36px; padding: 6px 8px; font-size: 12px; }
.catalog-control-bar #reset { color: #b63b20; border-bottom-color: #db9b87; min-height: 36px; padding: 6px 0; font-weight: 600; }
.catalog-control-bar #reset:hover { color: #932810; border-bottom-color: currentColor; }
.catalog-control-bar .catalog-facets { gap: 6px 10px; padding-top: 6px; margin-top: 4px; }
.catalog-control-bar .catalog-facets h3 { display: none; }
.catalog-control-bar .catalog-facets label { font-size: 11px; }
.catalog-control-bar .catalog-facets select { min-height: 36px; margin-top: 3px; padding: 6px 8px; font-size: 12px; }
@media(max-width:760px) {
  .catalog-control-bar { padding: 6px 10px; }
  .catalog-control-bar .toolbar { gap: 4px 8px; font-size: 11px; }
  .catalog-control-bar .toolbar > label { font-size: 0; }
  .catalog-control-bar .catalog-facets { padding: 5px 0; gap: 8px; }
  .catalog-control-bar .catalog-facets label { flex-basis: 116px; }
  .catalog-control-bar .catalog-facets select { font-size: 16px; }
  .catalog-control-bar #reset { min-height: 40px; }
}

/* Existing checkout extended with compact receiving options and a factual summary. */
.delivery-choice, .smart-cart-summary { grid-column: 1/-1; min-width: 0; }
.delivery-choice { margin: 0; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--border); }
.delivery-choice legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 600; }
.delivery-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
#orderForm .delivery-methods label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px; border: 1px solid var(--border-dark); border-radius: 11px; min-height: 48px; cursor: pointer; }
#orderForm .delivery-methods label:has(input:checked) { background: #eaf4ed; border-color: #347849; }
#orderForm .delivery-methods input, #orderForm .delivery-extra input { display: inline-block; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--brand-green-dark); flex-shrink: 0; }
.pickup-info { padding: 12px 14px; background: var(--background-soft); border-radius: 12px; margin-top: 12px; font-size: 13px; line-height: 1.7; }
.pickup-info p { margin: 6px 0 0; }
.delivery-help, .delivery-status { color: var(--text-secondary); font-size: 12px; line-height: 1.7; margin: 8px 0 0; }
.delivery-status:empty { display: none; }
#calculateDelivery { min-height: 44px; font-size: 13px; }
#orderForm .delivery-extra { display: flex; gap: 8px; align-items: center; padding: 8px 0; font-size: 12px; }
.smart-cart-summary { display: grid; gap: 8px; padding: 16px; background: #f3f8f4; border: 1px solid #dde9e0; border-radius: 13px; margin: 0 0 8px; }
.smart-cart-summary > div { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.smart-cart-summary dt { color: var(--text-secondary); }
.smart-cart-summary dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.smart-cart-summary .smart-cart-final { margin-top: 5px; border-top: 1px solid var(--border); padding-top: 12px; font-weight: 600; font-size: 15px; }
.legacy-material-total { display: none; }
.cart-item-meta { color: var(--text-secondary); font-size: 11px; margin-bottom: 5px !important; }
.cart-equivalents { margin-top: 5px; color: var(--text-secondary); font-size: 11px; }
.cart-equivalents summary { cursor: pointer; min-height: 28px; display: list-item; font-size: 12px; }
.cart-equivalents p { padding: 4px 0; }
.order-confirmation-items { list-style: none; padding: 0; text-align: left; border-top: 1px solid var(--border); }
.order-confirmation-items li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.order-confirmation-items b { white-space: nowrap; }
.delivery-suggestions { border: 1px solid var(--border-dark); border-radius: 12px; max-height: 240px; overflow-y: auto; background: white; margin-top: 5px; overscroll-behavior: contain; }
.delivery-suggestions button { display: block; width: 100%; text-align: left; padding: 12px; background: white; border: 0; border-bottom: 1px solid var(--border); min-height: 48px; font-size: 13px; }
.delivery-suggestions button small { display: block; color: var(--text-secondary); font-size: 12px; }
.delivery-suggestions button[aria-selected=true], .delivery-suggestions button:hover { background: #edf5ef; }
.suggest-attribution { display: block; padding: 8px 12px; font-size: 11px; color: var(--text-secondary); }
.budget-mode { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.budget-mode legend { font-size: 13px; margin-bottom: 10px; }
.budget-mode label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid #c9dacd; border-radius: 10px; background: white; min-height: 46px; cursor: pointer; font-size: 13px; }
.budget-mode label:has(input:checked) { background: #dfede2; border-color: #4f825d; }
.budget-mode input { width: 17px; height: 17px; margin: 0; accent-color: #1b6033; }
.budget-task { display: block; font-size: 13px; margin-bottom: 18px; }
.budget-task select { display: block; width: 100%; margin-top: 6px; border: 1px solid #c9dacd; border-radius: 10px; padding: 12px; min-height: 48px; background: white; color: var(--text-primary); font-size: 16px; }
.budget-task small { display: block; margin-top: 6px; font-size: 12px; color: var(--text-secondary); }
@media(max-width:760px) { .order-confirmation-items li { flex-wrap: wrap; gap: 4px; } .smart-cart-summary { padding: 14px; } .delivery-suggestions { max-height: 180px; } }
.success h3 { font-size: 25px; line-height: 1.35; margin: 18px 0 12px; letter-spacing: -.6px; }
.success p { color: var(--text-secondary); font-size: 14px; line-height: 1.75; }
@media(max-width:760px) { .success h3 { font-size: 23px; } .success p { font-size: 13px; } }
@media(max-width:760px) {
  .header .header-reach, .seo-header .header-reach { column-gap: 6px; }
}
/* Address assistance and on-demand delivery route in checkout. */
#deliveryActions,.delivery-route,.delivery-status{grid-column:1/-1;min-width:0}#deliveryActions>.text-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--border-dark);border-radius:10px;background:#f3f7f4;color:var(--brand-green-dark);font-weight:600}#deliveryActions>.delivery-help{margin-bottom:12px}.delivery-address-hint{display:block;margin-top:7px;font-size:12px;line-height:1.5;color:var(--text-secondary)}.delivery-route{margin-top:12px;padding:16px;border:1px solid #dae5dd;border-radius:14px;background:#f7faf8}.delivery-route-points{display:grid;gap:14px}.delivery-route-points>div{display:flex;align-items:flex-start;gap:10px;min-width:0}.delivery-route-points i{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#e2eee5;color:#27613a;font-family:inherit;font-size:12px;font-weight:600;font-style:normal}.delivery-route-points span{min-width:0}.delivery-route-points small{display:block;font-size:11px;color:var(--text-secondary);margin-bottom:3px}.delivery-route-points b{display:block;font-size:13px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.delivery-vehicle{display:grid;gap:4px;margin-top:14px;padding-top:14px;border-top:1px solid #dce7df}.delivery-vehicle>span,.delivery-vehicle small{font-size:12px;line-height:1.5;color:var(--text-secondary)}.delivery-vehicle strong{font-size:15px;font-weight:600;color:var(--brand-green-dark)}.delivery-route-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.delivery-route-buttons button{min-height:44px;padding:10px 12px;border:1px solid #cdded1;border-radius:9px;background:white;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;color:#285d38;cursor:pointer}.delivery-route-buttons button:first-child{background:#e8f2eb}.delivery-route-buttons button:focus-visible{outline:2px solid #357347;outline-offset:3px}#deliveryMap{height:280px;overflow:hidden;border-radius:10px;margin-top:12px;background:#eaf0ec}#deliveryMap iframe{width:100%;height:100%;border:0;display:block}.delivery-map-note{font-size:11px;line-height:1.6;color:var(--text-secondary);margin:8px 0 0}.suggest-kind{display:inline-block;margin:4px 0;font-size:10px;color:#477254;background:#eaf3ec;padding:2px 6px;border-radius:4px}.delivery-suggestions button b{display:block;font-weight:600}.delivery-suggestions button:focus-visible{outline:2px solid #357347;outline-offset:-3px}@media(max-width:420px){.delivery-route{padding:12px}.delivery-route-buttons{display:grid;grid-template-columns:1fr}.delivery-route-buttons button{width:100%;font-size:13px}#deliveryMap{height:260px}}

#deliveryMap{position:relative}.delivery-map-loading{position:absolute;inset:0;display:grid;place-items:center;margin:0;padding:24px;background:#eaf0ec;color:#526b5b;text-align:center;font-size:13px;line-height:1.6;pointer-events:none}

.product-sku{display:block;margin:5px 0 8px;color:#637469;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.quick-sku{display:inline-flex;align-items:center;gap:12px;max-width:100%;margin:8px 0 4px;padding:9px 13px;border:1px solid #dce6df;border-radius:9px;background:#f3f7f4;line-height:1.5}.quick-sku span{font-size:12px;color:#52685a}.quick-sku b{font-size:16px;font-weight:650;color:#203d2b;overflow-wrap:anywhere;user-select:all}
/* Compact mobile catalogue actions; sorting stays inside the filter sheet. */
@media(max-width:760px){
 .mobile-catalog-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:5px 8px;padding:8px 0;margin-bottom:10px}
 .mobile-catalog-tools>button{min-height:44px;padding:9px 11px;font-size:12px;gap:6px;border-radius:10px}
 .mobile-catalog-tools #reset{min-height:44px;padding:7px 10px;font-size:11px;font-weight:600;line-height:1.3;color:#ad3c24;background:#fff4ef;border:1px solid #edcdbf;text-decoration:none;white-space:nowrap}
 .mobile-catalog-tools #resultCount{grid-column:1/-1;font-size:11px;font-weight:400;line-height:1.4;color:var(--text-secondary);padding-top:1px}
 .catalog-control-bar.mobile-controls-relocated{display:none}
 #mobileFilterContent>.mobile-sort-control{display:block;margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid var(--border);font-size:13px;color:var(--text-primary)}
 #mobileFilterContent>.mobile-sort-control select{display:block;width:100%;margin:8px 0 0;min-height:44px;padding:9px 12px;border:1px solid var(--border-dark);border-radius:10px;background:#fff;font-size:16px;color:var(--text-primary)}
}
/* Compact dimensions leave room for the available grade checkboxes. */
.catalog-facets,.catalog-control-bar .catalog-facets{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px;overflow:visible}
.catalog-facets>h3{flex:0 0 100%}.catalog-facets>label.facet-dimension{flex:0 1 88px;min-width:0;margin:0;max-width:100px}.catalog-facets>label.facet-length{flex-basis:100px}.catalog-facets .facet-dimension select{width:100%;padding-left:7px;padding-right:4px}
.catalog-facets .catalog-grade-filter{flex:1 1 245px;min-width:0;margin:0;padding:0;border:0}.catalog-grade-filter legend{padding:0;margin:0 0 5px;font-size:11px;font-weight:500;color:#52615a}.catalog-grade-options{display:flex;flex-wrap:wrap;gap:5px}
/* Distinct grade palettes; text and the check mark both identify the selection. */
.catalog-grade-option{--grade-accent:#526078;--grade-text:#354156;--grade-soft:#f0f3f8;--grade-border:#bdc9d9}
.catalog-grade-option[data-grade-tone="gold"]{--grade-accent:#ad7300;--grade-text:#744a00;--grade-soft:#fff5d6;--grade-border:#e9c360}
.catalog-grade-option[data-grade-tone="violet"]{--grade-accent:#7943ce;--grade-text:#61309e;--grade-soft:#f4ebff;--grade-border:#c8a7ee}
.catalog-grade-option[data-grade-tone="green"]{--grade-accent:#148149;--grade-text:#12683d;--grade-soft:#e6f7ed;--grade-border:#83cda3}
.catalog-grade-option[data-grade-tone="blue"]{--grade-accent:#246bd1;--grade-text:#2057a4;--grade-soft:#eaf3ff;--grade-border:#9abfee}
.catalog-grade-option[data-grade-tone="orange"]{--grade-accent:#c15b16;--grade-text:#994412;--grade-soft:#fff0e3;--grade-border:#edb081}
.catalog-grade-option[data-grade-tone="teal"]{--grade-accent:#087f7c;--grade-text:#086564;--grade-soft:#e3f7f5;--grade-border:#80c9c2}
.catalog-grade-option[data-grade-tone="copper"]{--grade-accent:#b34d38;--grade-text:#913e2d;--grade-soft:#fff0eb;--grade-border:#e7aa99}
.catalog-grade-option[data-grade-tone="indigo"]{--grade-accent:#505cc6;--grade-text:#3f499e;--grade-soft:#eef0ff;--grade-border:#b0b7ed}
.catalog-grade-option[data-grade-tone="wood"]{--grade-accent:#926338;--grade-text:#754b27;--grade-soft:#f9f0e4;--grade-border:#d5b994}
.catalog-facets label.catalog-grade-option{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:6px;min-height:34px;margin:0;padding:5px 9px;border:1.5px solid var(--grade-border);border-radius:999px;background:var(--grade-soft);color:var(--grade-text);font-size:12px;font-weight:600;line-height:1.3;cursor:pointer;user-select:none;transition:border-color .15s,box-shadow .15s}
.catalog-grade-option input{appearance:none;-webkit-appearance:none;display:inline-block;flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0;padding:0;border:2px solid var(--grade-accent);border-radius:50%;background:#fff;cursor:pointer}
.catalog-grade-option input:checked{border-color:var(--grade-accent);background-color:var(--grade-accent);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6 2.3 2.3L9.5 3.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-size:12px;background-repeat:no-repeat;box-shadow:none}
.catalog-grade-option:has(input:checked){border-color:var(--grade-accent);box-shadow:0 0 0 1px var(--grade-accent)}
.catalog-grade-option input:focus-visible{outline:2px solid var(--grade-accent);outline-offset:3px}
.catalog-grade-option small{display:inline-flex;align-items:center;justify-content:center;min-width:18px;min-height:18px;padding:1px 4px;border-radius:6px;background:#ffffffb8;color:var(--grade-text);font-size:10px;font-weight:600;font-variant-numeric:tabular-nums}
@media(hover:hover){.catalog-grade-option:hover{border-color:var(--grade-accent);box-shadow:0 0 0 1px var(--grade-border)}}
@media(prefers-reduced-motion:reduce){.catalog-facets label.catalog-grade-option{transition:none}}
@media(max-width:760px){#mobileFilters .catalog-facets{display:flex;flex-wrap:wrap;gap:10px 8px}#mobileFilters .catalog-facets>label.facet-dimension{flex:1 1 75px;max-width:none;font-size:11px}#mobileFilters .catalog-grade-filter{flex-basis:100%;margin-top:3px}#mobileFilters .catalog-grade-option{min-height:44px;padding:6px 10px;font-size:12px}#mobileFilters .catalog-grade-option input{width:16px;height:16px;flex-basis:16px}#mobileFilters .catalog-grade-filter legend{font-size:12px;margin-bottom:8px}#mobileFilters .catalog-grade-option small{font-size:10px}}

.delivery-route-distance{margin:14px 0 0;padding:11px 14px;border:1px solid #c7dfce;border-radius:10px;background:#edf7f0;color:#225c35;font-size:13px;font-weight:600;line-height:1.5}#deliveryMap>div{width:100%;height:100%}
