:root { --ink:#263c2a; --paper:#faf7f1; --cream:#f0e6d6; --line:#ded6c8; --rust:#a34f2d; --muted:#696b60; font-family:Arial,Helvetica,sans-serif; color:var(--ink); background:var(--paper); font-size:15px; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:24px; }
body { margin:0; }
button,input,select { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; color:inherit; }
a { color:inherit; text-underline-offset:4px; }
:focus-visible { outline:3px solid var(--rust); outline-offset:5px; }
[hidden] { display:none!important; }
img { display:block; max-width:100%; }
p { line-height:1.65; }
h1,h2,h3,p { margin-top:0; }
h1,h2 { font-family:Georgia,'Times New Roman',serif; font-weight:400; }
h2 { font-size:clamp(34px,4vw,58px); line-height:1.12; margin-bottom:22px; }
em { font-weight:400; }
.container { width:min(1380px,calc(100% - 96px)); margin-inline:auto; }
.section { padding-block:90px; }
.sr-only,.skip-link:not(:focus) { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.skip-link:focus { display:block; padding:16px; }
.announcement { text-align:center; background:var(--ink); color:#f6efdf; padding:10px 16px; font-size:11px; letter-spacing:1.3px; }
.header { display:flex; align-items:center; gap:30px; min-height:104px; position:relative; }
.logo { text-decoration:none; font-size:29px; font-weight:600; letter-spacing:5px; white-space:nowrap; }
.logo span { display:block; margin-top:7px; font-size:9px; font-weight:400; letter-spacing:1.8px; }
.nav { display:flex; gap:28px; margin-inline:auto; }
.nav a { text-decoration:none; font-size:13px; }
.nav a:hover { text-decoration:underline; }
.header-actions { display:flex; gap:10px; align-items:center; }
.cart-button,.menu-button { border:1px solid var(--line); padding:12px 16px; border-radius:30px; background:transparent; font-size:12px; text-decoration:none; }
.cart-count { display:inline-grid; place-items:center; min-width:22px; height:22px; margin-left:8px; border-radius:50%; background:var(--ink); color:white; }
.menu-button { display:none; }
.hero { background:var(--cream); overflow:hidden; border-radius:4px; }
.hero-fallback { display:grid; grid-template-columns:1.1fr 1fr; min-height:520px; align-items:center; }
.hero-copy { padding:60px; position:relative; z-index:1; }
.eyebrow { text-transform:uppercase; font-size:10px; font-weight:600; letter-spacing:2px; color:var(--rust); margin-bottom:22px; }
h1 { font-size:clamp(42px,4.9vw,76px); line-height:1.07; margin-bottom:26px; letter-spacing:-1.5px; }
.hero-copy>p:not(.eyebrow) { color:#5f6555; }
.primary-button,.secondary-button { display:inline-flex; justify-content:center; align-items:center; gap:25px; border:1px solid var(--ink); background:var(--ink); color:var(--paper); border-radius:3px; padding:16px 22px; font-size:13px; text-decoration:none; line-height:1.4; }
.primary-button:hover { background:#3b523c; }
.secondary-button { background:transparent; color:var(--ink); }
.secondary-button:hover { background:var(--cream); }
.hero-copy .primary-button { margin-top:14px; }
.hero-photo { position:relative; padding:35px; }
.hero-photo img { width:100%; height:auto; aspect-ratio:1; object-fit:cover; border-radius:50%; mix-blend-mode:multiply; }
.photo-note { display:block; margin-top:15px; text-align:center; font-family:Georgia,serif; font-style:italic; font-size:21px; color:var(--rust); }
.hero-banner { display:block; width:auto; max-width:100%; height:auto; max-height:var(--banner-max-height,500px); object-fit:contain; margin-inline:auto; }
.hero-slider { position:relative; }.slide { min-height:420px; }.slider-track { background:var(--cream); border-radius:4px; overflow:hidden; }.slide.hero { min-height:0; }.editorial-slide { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:30px; padding:45px 70px; min-height:500px; }.editorial-slide>div { max-width:560px; }.editorial-slide h1 { font-size:clamp(40px,5vw,68px); }.editorial-slide>div>p:not(.eyebrow) { color:var(--muted); margin-bottom:30px; }.editorial-slide img { display:block; width:min(100%,430px); height:auto; max-height:430px; object-fit:contain; margin:auto; mix-blend-mode:multiply; }.slide-nuts { background:#eadfce; }.slide-berries { background:#f0ddd7; }.slider-controls { display:flex; align-items:center; justify-content:center; gap:20px; padding:14px; }.slider-controls>button { width:36px; height:36px; border:1px solid var(--line); border-radius:50%; background:transparent; }.slider-dots { display:flex; gap:9px; }.slider-dots button { width:9px; height:9px; padding:0; border:0; border-radius:50%; background:#b9b9a9; }.slider-dots button.active { background:var(--ink); transform:scale(1.3); }
.brand-line { display:flex; justify-content:space-around; gap:15px; padding-block:25px; border-bottom:1px solid var(--line); text-transform:uppercase; letter-spacing:2px; font-size:10px; }
.brand-line span[aria-hidden] { color:var(--rust); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:30px; margin-bottom:32px; }
.section-heading h2 { margin-bottom:0; }
.section-heading>p { font-size:13px; color:var(--muted); margin-bottom:4px; }
.category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:45px; }
.category-card { display:block; text-align:left; text-decoration:none; color:var(--ink); border:0; min-height:160px; padding:27px; position:relative; overflow:hidden; border-radius:3px; }
.category-card>span:first-child { display:block; font-size:10px; letter-spacing:1px; margin-bottom:32px; }
.category-card strong { font:400 clamp(23px,2.5vw,34px) Georgia,serif; }
.category-card .category-arrow { position:absolute; right:22px; bottom:24px; font-size:26px; }
.category-card:hover { filter:brightness(.97); }
.nuts { background:#e9dfcc; }.berries { background:#edddd4; }.sets { background:#dce2d4; }
.catalog-toolbar { display:flex; align-items:center; justify-content:space-between; gap:24px; padding-block:18px; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.filters { display:flex; flex-wrap:wrap; gap:8px; }
.filter { border:1px solid transparent; background:transparent; padding:10px 16px; border-radius:25px; font-size:12px; }
.filter.active { background:var(--ink); color:white; }
.filter:hover:not(.active) { border-color:var(--line); }
.search-label input { width:230px; max-width:100%; border:0; border-bottom:1px solid var(--line); background:transparent; padding:10px 0; border-radius:0; font-size:12px; }
.catalog-meta { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-block:22px; color:var(--muted); font-size:11px; }
.catalog-meta p { margin:0; }.catalog-meta select { border:0; color:var(--ink); background:transparent; max-width:170px; padding:6px; }
.product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.product-card { min-width:0; display:flex; flex-direction:column; }
.product-visual { display:block; border:0;outline:0;box-shadow:none; padding:0; width:100%; background:#fff; position:relative; overflow:hidden; border-radius:4px; }
.product-visual img { display:block;border:0;outline:0;box-shadow:none;clip-path:inset(1px round 4px);width:100%; height:auto; aspect-ratio:1; object-fit:cover; transition:transform .3s; }
.product-visual:hover img { transform:scale(1.035); }
.weight { position:absolute; top:16px; left:16px; background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:7px 12px; font-size:11px; }
.product-info { padding-top:20px; display:flex; flex-direction:column; flex:1; }
.product-category { font-size:10px; text-transform:uppercase; letter-spacing:1.1px; color:var(--rust); margin-bottom:10px; }
.product-name { display:block; font:400 25px/1.2 Georgia,serif; text-align:left; background:transparent; border:0; padding:0; }
.product-card h3 { margin:0 0 12px; }
.product-description { color:var(--muted); font-size:13px; margin-bottom:20px; }
.product-bottom { margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
.product-price { font-size:12px; }
.add-button { border:1px solid var(--ink); background:transparent; padding:11px 15px; border-radius:3px; font-size:12px; }
.add-button.added { background:var(--ink); color:var(--paper); }
.add-button:disabled { opacity:.6; cursor:default; }
#catalog-error { color:#9d241a; padding:16px; border:1px solid #9d241a; border-radius:4px; }
.empty-state { text-align:center; padding:55px 20px; background:var(--cream); border-radius:4px; }
.empty-state>span { font-size:30px; color:var(--rust); }.empty-state h3 { margin-top:15px; font:32px Georgia,serif; }.empty-state p { color:var(--muted); }
.gift-section { padding:60px; display:grid; grid-template-columns:1.3fr 1fr; gap:40px; background:#e9dfcd; border-radius:4px; align-items:center; }
.builder { scroll-margin-top:20px; }.builder-layout { display:grid; grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr); gap:45px; align-items:start; }.builder-layout h3 { font:400 27px Georgia,serif; margin-bottom:18px; }.packaging-options { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:42px; }.packaging-option { min-height:170px; display:flex; flex-direction:column; align-items:flex-start; text-align:left; gap:9px; padding:20px; border:1px solid var(--line); border-radius:4px; background:#f4ecdf; }.packaging-option.active,.builder-product.active { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }.package-icon { font-size:43px; line-height:1; color:var(--rust); }.packaging-option strong { font-size:14px; }.packaging-option small,.builder-product small { color:var(--muted); font-size:11px; }.builder-products { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.builder-product { display:flex; align-items:center; gap:12px; width:100%; min-height:100px; padding:10px; text-align:left; border:1px solid var(--line); background:white; border-radius:4px; }.builder-product img { width:80px; height:80px; object-fit:cover; flex:none; }.builder-product span:nth-child(2) { display:grid; gap:6px; }.builder-product strong { font-size:13px; line-height:1.35; }.builder-check { margin-left:auto; padding:5px; font-size:19px; }.builder-summary { background:var(--cream); padding:30px; border-radius:4px; position:sticky; top:20px; }.builder-summary ul { padding-left:20px; min-height:40px; font-size:13px; line-height:1.7; }.builder-summary .hint { color:var(--muted); font-size:12px; }.builder-summary .primary-button { width:100%; }.builder-summary .primary-button:disabled { opacity:.45; cursor:default; }#builder-status { margin:12px 0 0; font-size:12px; }.text-link { color:var(--rust); font-size:13px; }
.gift-section p { color:#5c6254; font-size:14px; }.gift-section .eyebrow { color:var(--rust); font-size:10px; }.coming-soon { display:inline-block; padding-bottom:7px; border-bottom:1px solid var(--rust); color:var(--rust); font-size:12px; }
.gift-message { border:1px solid #a9a78c; padding:35px; text-align:center; transform:rotate(-3deg); margin:15px; }
.gift-message>span { color:var(--rust); font-size:50px; }.gift-message p { font:italic 37px/1.2 Georgia,serif; margin:20px 0 35px; color:var(--ink); }.gift-message small { letter-spacing:5px; font-size:10px; }
.about { display:grid; grid-template-columns:1fr 1fr; column-gap:12%; }.about>.eyebrow { grid-column:1/-1; }.about h2 { margin-bottom:0; }.about>div { padding-top:5px; color:var(--muted); font-size:14px; }
.story-heading { margin-bottom:24px; }.story-heading h2 { margin-bottom:0; }.story-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,6vw,90px); align-items:center; padding:45px 0; border-bottom:1px solid var(--line); }.story-row.reverse img { order:-1; }.story-copy { max-width:510px; justify-self:center; }.story-copy h3 { font:400 clamp(32px,3.4vw,52px)/1.12 Georgia,serif; margin-bottom:20px; }.story-copy>p:not(.eyebrow) { font-size:15px; color:var(--muted); max-width:470px; }.story-row img { display:block; width:100%; max-height:450px; aspect-ratio:1.25; object-fit:contain; background:#eee5d8; border-radius:4px; }
.contact-section { padding:40px 0; border-top:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:12%; margin-bottom:70px; }.contact-section h2 { font-size:34px; }.contact-section>p { font-size:14px; color:var(--muted); }
.footer { background:var(--ink); color:var(--paper); padding-top:55px; }.footer-grid { display:grid; grid-template-columns:1.25fr .8fr .8fr 1.1fr 1fr; gap:25px; padding-bottom:45px; }.footer .logo { font-size:25px; }.footer .logo span { letter-spacing:1px; }.footer p { font-size:12px; color:#d2d6c7; margin-top:24px; }.footer nav { display:flex; flex-direction:column; gap:13px; }.footer h2 { font:600 11px Arial,sans-serif; letter-spacing:1px; text-transform:uppercase; color:#d5c7ae; margin:4px 0 9px; }.footer nav a { font-size:12px; text-decoration:none; line-height:1.5; }.footer a:hover { text-decoration:underline; }.footer-bottom { display:flex; justify-content:space-between; gap:25px; padding-block:22px; border-top:1px solid #ffffff26; font-size:10px; line-height:1.6; color:#d2d6c7; }.marketplace-icons { display:flex; gap:8px; }.marketplace-icon { min-width:52px; height:38px; display:inline-grid; place-items:center; padding:0 9px; border-radius:8px; font-weight:700; font-size:15px; color:white; }.marketplace-icon.wb { background:linear-gradient(125deg,#b42bc8,#643bb8); }.marketplace-icon.ozon { background:#2367df; }.marketplaces small { display:block; margin-top:12px; color:#d2d6c7; font-size:11px; line-height:1.4; }
dialog { border:0; border-radius:5px; background:var(--paper); color:var(--ink); padding:28px; width:min(850px,calc(100% - 32px)); max-height:90dvh; overflow:auto; }dialog::backdrop { background:#17271bd0; }.dialog-top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }.dialog-top .eyebrow,.dialog-top h2 { margin:0; }.dialog-top h2 { font-size:34px; }.close-button { flex-shrink:0; width:42px; height:42px; font-size:30px; line-height:1; border:1px solid var(--line); border-radius:50%; background:transparent; }.detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }.detail-grid img { width:100%; height:auto; border-radius:3px; }.detail-grid h2 { font-size:34px; }.detail-grid p { font-size:13px; }.detail-grid h3 { font-size:14px; margin-top:25px; }.detail-grid .notice { color:var(--muted); }.detail-source { font-size:11px; }
#cart-dialog { max-width:620px; }.cart-row { display:flex; justify-content:space-between; align-items:center; gap:20px; padding-block:20px; border-bottom:1px solid var(--line); }.cart-row p { margin:0 0 5px; }.cart-row small { color:var(--muted); }.cart-row button { border:0; background:transparent; text-decoration:underline; padding:10px; font-size:12px; }.cart-note { color:var(--muted); font-size:13px; margin-block:25px; }
.delivery-options { display:grid; gap:10px; margin:25px 0 12px; padding:18px; border:1px solid var(--line); border-radius:4px; }.delivery-options legend { font-weight:600; padding:0 8px; }.delivery-options label { display:flex; align-items:center; gap:10px; font-size:13px; cursor:pointer; }.delivery-options input { accent-color:var(--ink); }#delivery-time-wrap { padding:10px 0; font-size:13px; }#delivery-time-wrap input { display:block; width:100%; margin-top:8px; padding:10px; border:1px solid var(--line); }#delivery-time-wrap small { color:var(--muted); }#quote-result { margin:12px 0; font-size:13px; color:var(--ink); }
.promo-control { margin:18px 0; font-size:13px; }.promo-control>div { display:flex; gap:8px; margin-top:8px; }.promo-control input { flex:1; min-width:0; padding:10px; border:1px solid var(--line); }.promo-control button { padding:10px 15px; border:1px solid var(--ink); background:transparent; border-radius:3px; }
.checkout-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }.checkout-grid label,#checkout-form>label { display:grid; gap:7px; margin:14px 0; font-size:13px; }.checkout-grid input,#checkout-form textarea { width:100%; padding:11px; border:1px solid var(--line); border-radius:3px; background:white; font:inherit; }.checkout-consent { grid-template-columns:auto 1fr; align-items:start; }.checkout-consent input { margin-top:3px; accent-color:var(--ink); }.order-success { padding:16px; border:1px solid var(--ink); background:var(--cream); font-size:14px; }
.toast { position:fixed; bottom:24px; left:50%; transform:translate(-50%,20px); max-width:calc(100% - 32px); width:max-content; background:var(--ink); color:white; box-shadow:0 4px 25px #0002; padding:15px 22px; border-radius:4px; font-size:13px; opacity:0; pointer-events:none; transition:.2s; z-index:30; }.toast.show { opacity:1; transform:translate(-50%,0); }
.legal-header { border-bottom:1px solid var(--line); }.legal-header a:last-child { margin-left:auto; font-size:13px; }.legal-page { max-width:860px; padding-block:60px 90px; }.legal-page h1 { font-size:clamp(34px,5vw,54px); overflow-wrap:anywhere; }.legal-page h2 { font-size:27px; margin-top:35px; }.legal-page p,.legal-page li { font-size:15px; line-height:1.75; }.legal-page li { margin-bottom:10px; }.legal-page dt { font-weight:600; margin-top:15px; }.legal-page dd { margin:5px 0 0; color:var(--muted); }.legal-nav { display:flex; flex-wrap:wrap; gap:16px 25px; border-top:1px solid var(--line); margin-top:40px; padding-top:25px; font-size:12px; }
.demo-payment { padding:30px; border:1px solid var(--line); border-radius:4px; background:white; }.demo-payment h2 { margin-bottom:12px; }.demo-payment .secondary-button { margin:10px; }.demo-payment .primary-button { margin:10px 10px 10px 0; }
@media(max-width:1050px) { .container { width:calc(100% - 48px); }.header { gap:20px; }.nav { gap:16px; }.hero-copy { padding:35px; }.hero-fallback { min-height:440px; }.hero-photo { padding:20px; }.catalog-toolbar { align-items:stretch; flex-direction:column; gap:10px; }.search-label input { width:100%; }.footer-grid { grid-template-columns:1fr 1fr; gap:35px; }.category-card { padding:20px; }.category-card strong { font-size:25px; }.category-card .category-arrow { right:12px; bottom:12px; }.product-bottom { align-items:stretch; flex-direction:column; }.gift-section { padding:40px; } }
@media(max-width:760px) { .container { width:calc(100% - 36px); }.section { padding-block:60px; }.header { min-height:85px; }.logo { font-size:23px; letter-spacing:4px; }.logo span { font-size:8px; letter-spacing:1px; }.header-actions { margin-left:auto; }.cart-button,.menu-button { padding:9px 11px; }.menu-button { display:block; }.nav { display:none; position:absolute; top:100%; left:-18px; right:-18px; padding:24px; background:var(--paper); border-bottom:1px solid var(--line); z-index:10; }.nav.mobile-open { display:flex; flex-direction:column; }.hero-fallback { grid-template-columns:1fr; }.hero-copy { padding:35px 25px 20px; }.hero-copy h1 { font-size:clamp(38px,8vw,58px); }.hero-photo { padding:0 40px 30px; max-width:390px; margin:auto; }.hero-photo img { max-height:250px; }.photo-note { font-size:18px; }.brand-line { font-size:8px; letter-spacing:.5px; gap:8px; text-align:center; }.section-heading { flex-direction:column; align-items:start; gap:18px; }.category-grid { gap:8px; margin-bottom:25px; }.category-card { padding:15px; min-height:150px; }.category-card>span:first-child { font-size:9px; line-height:1.5; margin-bottom:20px; }.category-card strong { font-size:21px; }.filter { padding:9px 12px; font-size:11px; }.filters { gap:3px; }.product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px 16px; }.product-name { font-size:23px; }.product-description { font-size:12px; }.gift-section { grid-template-columns:1fr; padding:35px 25px; }.gift-message { max-width:350px; width:calc(100% - 30px); margin:auto; }.about,.contact-section { grid-template-columns:1fr; gap:20px; }.contact-section { margin-bottom:45px; }.contact-section .eyebrow { margin-bottom:15px; }.contact-section h2 { margin:0; }.footer-grid { gap:35px 22px; }.footer-grid>div:first-child { grid-column:1/-1; }.footer-bottom { flex-direction:column; gap:10px; }.detail-grid { grid-template-columns:1fr; }.detail-grid>img { max-width:300px; margin:auto; }.detail-grid h2 { font-size:30px; } }
@media(max-width:420px) { .header { gap:8px; }.header-actions { gap:5px; }.cart-button { font-size:11px; padding:8px; }.cart-count { margin-left:3px; }.menu-button { font-size:11px; }.category-grid { grid-template-columns:1fr; }.category-card { min-height:100px; }.category-card>span:first-child { margin-bottom:12px; }.category-card .category-arrow { bottom:20px; right:20px; }.product-grid { grid-template-columns:1fr; }.product-bottom { flex-direction:row; align-items:center; }.product-description { font-size:13px; }.footer-grid { grid-template-columns:1fr; }.catalog-meta { font-size:10px; gap:6px; }.catalog-meta select { max-width:130px; }.weight { top:12px; left:12px; } }
@media(max-width:520px) { .checkout-grid { grid-template-columns:1fr; } }
@media(max-width:900px) { .builder-layout { grid-template-columns:1fr; }.builder-summary { position:static; }.editorial-slide { padding:36px; min-height:360px; }.footer-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:600px) { .editorial-slide { grid-template-columns:1fr; padding:32px 24px; gap:15px; }.editorial-slide h1 { font-size:39px; }.editorial-slide img { width:180px; }.packaging-options { grid-template-columns:1fr; gap:8px; }.packaging-option { min-height:92px; display:grid; grid-template-columns:40px 1fr; align-items:center; }.packaging-option small { grid-column:2; }.package-icon { grid-row:1/3; }.builder-products { grid-template-columns:1fr; }.footer-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:700px) { .story-row { grid-template-columns:1fr; gap:24px; padding:35px 0; }.story-row.reverse img { order:0; }.story-copy { justify-self:start; }.story-row img { max-height:360px; }.story-copy h3 { font-size:36px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; }*,*::before,*::after { transition:none!important; } }

/* A stable frame keeps the page still when switching banners. */
.slider-track { height:var(--banner-max-height,500px); }
.slider-track .slide { height:100%; min-height:0; }
.slide.hero { display:flex; align-items:center; justify-content:center; }
.hero-banner { width:100%; height:100%; max-height:none; object-fit:contain; }
.editorial-slide { padding:32px 48px; }
.editorial-slide img { max-height:100%; min-height:0; }
.slider-controls>button { width:44px; height:44px; }
.slider-dots { gap:0; }
.slider-dots button { width:36px; height:44px; border-radius:0; background:transparent; position:relative; }
.slider-dots button::after { content:''; position:absolute; width:9px; height:9px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; background:#b9b9a9; }
.slider-dots button.active { background:transparent; transform:none; }
.slider-dots button.active::after { background:var(--ink); width:12px; height:12px; }
#checkout-packaging { display:grid; gap:8px; }
body:has(dialog[open]) { overflow:hidden; }
@media(max-width:900px) {
  .editorial-slide { padding:28px; gap:20px; }
  .editorial-slide h1 { font-size:clamp(32px,4.6vw,48px); }
}
@media(max-width:760px) {
  .header { gap:12px; }
  .cart-button,.menu-button,.filter,.add-button { min-height:44px; }
  .nav a { display:block; padding:12px 0; font-size:16px; }
  .nav.mobile-open { gap:0; }
  input,textarea,select,.search-label input,.catalog-meta select { font-size:16px; }
  .builder-summary { padding:24px; }
  .builder-product span:nth-child(2) { min-width:0; }
  .builder-product strong { overflow-wrap:anywhere; }
  .footer nav a { padding:8px 0; font-size:13px; }
  .footer nav { gap:4px; }
  .delivery-options label { min-height:44px; line-height:1.5; align-items:flex-start; padding:8px 0; }
  .delivery-options input { flex:none; margin-top:3px; width:18px; height:18px; }
  .delivery-options { padding:14px; }
  dialog { padding:20px; width:calc(100% - 20px); max-height:calc(100dvh - 24px); overscroll-behavior:contain; }
  .dialog-top { position:sticky; top:-20px; background:var(--paper); z-index:2; padding:12px 0; }
  .dialog-top h2 { font-size:28px; }
  .cart-row { gap:12px; }
  .cart-row>div { min-width:0; overflow-wrap:anywhere; }
  .cart-row button { flex:none; min-height:44px; }
  .checkout-consent { line-height:1.6; }
  .checkout-consent input { width:20px; height:20px; }
  #checkout-submit { width:100%; }
}
@media(max-width:600px) {
  .slider-track { height:auto; aspect-ratio:16 / 9; }
  .editorial-slide { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); grid-template-rows:1fr; padding:14px; gap:10px; }
  .editorial-slide h1 { font-size:clamp(18px,5vw,28px); line-height:1.08; margin-bottom:8px; letter-spacing:-.4px; }
  .editorial-slide .eyebrow { margin-bottom:8px; font-size:8px; letter-spacing:1px; }
  .editorial-slide>div>p:not(.eyebrow) { margin-bottom:8px; font-size:12px; line-height:1.3; }
  .editorial-slide img { width:100%; height:auto; max-height:100%; object-fit:contain; }
  .editorial-slide .primary-button { padding:10px; min-height:44px; font-size:11px; }
  .slider-controls { padding:8px; gap:16px; }
  .filters { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  .filter { font-size:13px; padding:10px 8px; }
  .catalog-meta { flex-wrap:wrap; font-size:12px; }
  .catalog-meta select { max-width:180px; }
  .section { padding-block:44px; }
  .builder-layout { gap:24px; }
  .product-name { font-size:24px; }
}
@media(max-width:420px) {
  .logo { font-size:21px; letter-spacing:3px; }
  .header { gap:8px; }
  .cart-button,.menu-button { font-size:12px; padding:9px; }
  .footer-grid { grid-template-columns:1fr; }
  .promo-control>div { flex-wrap:wrap; }
  .promo-control input { flex-basis:150px; }
  .promo-control button { min-height:44px; }
}


@media(max-width:600px) {
  .slider-track { position:relative; }
  .slider-track .slide { position:absolute; inset:0; width:100%; }
}

/* Match the frame to the banner without cropping or empty bands. */
.slider-track { position:relative; height:auto; width:100%; aspect-ratio:var(--banner-ratio,1.776833); margin-inline:auto; }
.slider-track .slide { position:absolute; inset:0; width:100%; }

.social-links { margin-top:24px; }
.marketplace-icon.vk { display:inline-flex; align-items:center; justify-content:center; background:#0077ff; color:#fff; min-width:44px; min-height:44px; text-decoration:none; }
.marketplace-icon.vk:focus-visible { outline:3px solid #fff; outline-offset:4px; }

.story-row img { width:min(100%,450px); height:auto; aspect-ratio:auto; max-height:none; background:transparent; justify-self:center; }
@media(max-width:700px) { .story-row img { width:min(100%,360px); max-height:none; } }

.slide-banner { display:block; width:100%; height:100%; object-fit:contain; }

.cart-quantity{width:90px;min-height:44px}.checkout-package img{object-fit:contain;border-radius:4px}.checkout-package{align-items:center;gap:12px}.settings-item{min-width:0}

.cart-row small{display:block}.cart-row label{display:block;margin-top:10px}.cart-quantity{display:block;margin-top:5px}

.builder-layout { grid-template-columns:1fr; }
.builder-actions { padding-top:8px; }

/* Compact, swipeable flavor selection. */
.flavor-controls{display:flex;align-items:center;justify-content:flex-end;gap:16px;margin:0 0 16px;font-size:13px;color:var(--muted)}
.flavor-controls button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-size:22px}
.builder-products.flavor-carousel{display:grid;grid-auto-flow:column;grid-template-rows:repeat(3,auto);grid-template-columns:none;grid-auto-columns:calc((100% - 16px)/2);gap:12px 16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:16px;overscroll-behavior-x:contain;scrollbar-width:thin}
.flavor-carousel .builder-product{scroll-snap-align:start;min-width:0;min-height:112px}
#cart-dialog{width:min(840px,calc(100% - 32px));padding:30px;border:0;border-radius:20px;box-shadow:0 24px 90px #0004}
#cart-dialog .dialog-top{background:var(--paper)}
.cart-intro{color:var(--muted);margin-top:-12px;margin-bottom:24px}
#cart-items .cart-row{display:grid;grid-template-columns:96px minmax(0,1fr) auto;gap:20px;align-items:center;padding:20px 0}
.cart-photo{width:96px;height:96px;object-fit:contain;background:white;border-radius:12px}
.cart-product h3{font:500 17px/1.4 system-ui;margin:0 0 6px}.cart-product small{color:var(--muted)}
.quantity-control{display:inline-flex;align-items:center;margin-top:12px;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white}
.quantity-control button{width:40px;height:40px;background:transparent;border:0;font-size:20px;color:var(--ink);padding:0}
.quantity-control .cart-quantity{margin:0;width:46px;height:40px;min-height:40px;text-align:center;border:0;border-radius:0;padding:0;appearance:textfield;-moz-appearance:textfield}
.cart-quantity::-webkit-inner-spin-button,.cart-quantity::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.cart-row-end{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:20px}.cart-row-end strong{white-space:nowrap}.cart-row-end button{color:var(--muted);background:none;border:0;padding:0;font-size:12px;text-decoration:underline}
.cart-subtotal{display:flex;justify-content:space-between;padding:20px 0;font-size:20px;border-bottom:1px solid var(--line);margin-bottom:24px}
#cart-dialog fieldset{border-radius:12px;padding:18px;margin-bottom:20px}#cart-dialog legend{padding-inline:6px}
#packaging-modes{display:flex;gap:12px;flex-wrap:wrap}#packaging-modes label{display:flex;align-items:center;gap:8px}
#checkout-packaging{margin-top:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-package{display:flex!important;border:1px solid var(--line);border-radius:10px;padding:10px!important;background:white}.checkout-package:has(input:checked){border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.checkout-package img{width:64px;height:64px;object-fit:contain}.checkout-package strong,.checkout-package small{display:block}
@media(max-width:600px){.builder-products.flavor-carousel{grid-auto-columns:90%;grid-template-rows:repeat(3,auto)}.flavor-controls{justify-content:space-between;font-size:12px}#cart-dialog{padding:20px;width:calc(100% - 16px);border-radius:16px}#cart-items .cart-row{grid-template-columns:72px minmax(0,1fr);gap:12px}.cart-photo{width:72px;height:72px}.cart-row-end{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.cart-product h3{font-size:15px}.cart-intro{font-size:13px}.quantity-control button{width:44px;height:44px}.quantity-control .cart-quantity{height:44px}#checkout-packaging{grid-template-columns:1fr}.promo-row{grid-template-columns:1fr}}

#cart-dialog{max-width:840px}#cart-dialog .dialog-top{position:sticky;top:-30px;z-index:2;padding-block:12px}
@media(max-width:600px){#cart-dialog .dialog-top{top:-20px}}

.builder-product{padding:10px;grid-template-columns:minmax(0,1fr) 48px;gap:8px}.builder-open{display:grid;grid-template-columns:80px minmax(0,1fr);align-items:center;gap:12px;text-align:left;border:0;background:none;padding:0;min-width:0;color:inherit;width:100%;cursor:pointer}.builder-open small{display:block;margin-top:6px;color:var(--muted)}.builder-open strong{font-size:14px;line-height:1.4}.builder-product .builder-check{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:50%;background:var(--paper);font-size:30px;line-height:1;color:var(--ink);cursor:pointer}.builder-product .builder-check[aria-pressed=true]{background:var(--ink);color:white}.ingredients-note{padding:28px;border:1px solid var(--line);border-radius:12px;margin:24px 0}.ingredients-note h3{font:400 30px/1.2 Georgia,serif}.ingredients-note p:last-child{max-width:760px;color:var(--muted)}#home-product-dialog{max-width:900px;border-radius:16px}#home-product-dialog .detail-grid>img{width:100%;height:auto;object-fit:contain}@media(max-width:600px){.builder-open{grid-template-columns:64px minmax(0,1fr);gap:8px}.builder-open img{width:64px;height:64px}.builder-product{grid-template-columns:minmax(0,1fr) 44px}.builder-product .builder-check{width:44px;height:44px;font-size:28px}.builder-open strong{font-size:13px}.ingredients-note{padding:20px}.ingredients-note h3{font-size:26px}}

/* Editorial product stories in the store palette. */
.product-story .story-row{position:relative;padding:32px;margin:24px 0;border:1px solid var(--line);border-radius:20px;background:#f0e8da;gap:clamp(28px,5vw,72px);overflow:hidden}
.product-story .story-row.reverse{background:#f2e6df}
.product-story .story-copy{padding:20px;justify-self:start}
.product-story .story-copy .eyebrow{letter-spacing:2px;margin-bottom:22px}
.product-story .story-copy h3{max-width:480px;font-size:clamp(32px,3.3vw,48px)}
.product-story .story-row>img{width:min(100%,420px);border-radius:50%;mix-blend-mode:multiply;justify-self:center}
.product-story .text-link{display:inline-flex;align-items:center;gap:12px;min-height:46px;margin-top:12px;padding:10px 20px;border:1px solid #bbc3b4;border-radius:30px;color:var(--ink);text-decoration:none;background:#faf7f0;font-size:14px;transition:background .15s,color .15s}
.product-story .text-link:hover{background:var(--ink);color:white}.product-story .text-link:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.ingredients-note{background:var(--ink);color:#faf7f0;border:0;padding:32px;border-radius:20px}.ingredients-note .eyebrow{color:#dbc59c}.ingredients-note p:last-child{color:#e1e5da;line-height:1.7}.ingredients-note h3{font-size:clamp(27px,3vw,40px);margin-bottom:14px}
@media(max-width:700px){.product-story .story-row{padding:20px;gap:12px;margin:18px 0;border-radius:16px}.product-story .story-copy{padding:4px}.product-story .story-row>img{width:min(100%,300px);grid-row:1}.product-story .story-copy h3{font-size:32px}.product-story .story-copy .eyebrow{margin-bottom:14px}.ingredients-note{padding:24px}}

.cdek-picker{display:grid;gap:12px;margin:16px 0}.cdek-picker label{display:grid;gap:6px}.cdek-picker input,.cdek-picker select{width:100%;min-width:0;max-width:100%;min-height:44px}#shipping-box-fields fieldset{margin:16px 0;padding:18px;border:1px solid #d7d9cd;border-radius:10px}
#yandex-details{margin:20px 0}#yandex-details label{display:grid;gap:8px;font-size:14px}#yandex-address{width:100%;min-width:0;min-height:44px;padding:12px;border:1px solid var(--line);border-radius:6px;background:white;font:inherit}#yandex-calculate{margin-top:12px;min-height:44px}#yandex-details .hint{font-size:13px;line-height:1.6}
/* Payment status remains available after returning from YooKassa. */
.payment-panel{margin-block:24px;padding:24px;background:#efe7d8;border-radius:16px}
.payment-panel h2{font-size:28px;margin:0 0 12px}
.payment-panel-actions{display:flex;flex-wrap:wrap;gap:12px}

/* Pickup entrance supplied by the shop. */
.contact-section { gap:40px; align-items:start; }
.contact-section p { font-size:14px; color:var(--muted); line-height:1.65; }
.pickup-map { margin:0; min-width:0; }
.pickup-map img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:12px; }
.pickup-map figcaption { margin-top:10px; font-size:12px; color:var(--muted); line-height:1.5; }

.product-gallery{min-width:0}.gallery-main{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}.gallery-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.gallery-thumbs button{padding:3px;border:1px solid var(--line);background:white;border-radius:6px}.gallery-thumbs button[aria-pressed=true]{border:2px solid var(--ink);padding:2px}.gallery-thumbs img{display:block;width:64px;height:64px;object-fit:contain}

/* Centered product photographs with unobtrusive gallery controls. */
.product-gallery{width:100%;min-width:0;align-self:start;text-align:center}
.gallery-stage{position:relative;display:grid;place-items:center;aspect-ratio:1;background:transparent;border:0;border-radius:18px;overflow:hidden;touch-action:pan-y}
.product-gallery .gallery-main{width:100%;height:100%;max-height:480px;object-fit:contain;object-position:center;margin:auto;border:0;outline:0;box-shadow:none;border-radius:16px}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:#fffef5eb;color:var(--ink);font:32px/1 Arial,sans-serif;box-shadow:0 2px 12px #0001;cursor:pointer}
.gallery-prev{left:10px}.gallery-next{right:10px}
.gallery-thumbs{justify-content:center;gap:10px}.gallery-thumbs button,.gallery-thumbs button[aria-pressed=true]{border:0;padding:4px;background:transparent;border-radius:10px;opacity:.6}
.gallery-thumbs button[aria-pressed=true]{opacity:1;background:var(--cream)}
.gallery-thumbs img{border:0;border-radius:8px;object-position:center}.gallery-counter{font-size:12px;color:var(--muted);margin:8px 0}
.builder-open img{object-fit:contain;object-position:center;border:0;outline:0;border-radius:10px;margin:auto}
.builder-open{align-items:center}.builder-products.flavor-carousel{scrollbar-width:none}.builder-products.flavor-carousel::-webkit-scrollbar{display:none}

.product-gallery .gallery-main{clip-path:inset(2px round 16px)}.builder-open img{clip-path:inset(1px round 10px)}

/* Two readable catalogue columns on phones, including 320px screens. */
@media(max-width:600px){
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}
 .product-info{padding-top:12px}.product-category{font-size:9px;letter-spacing:.6px;margin-bottom:7px}
 .product-card h3{margin-bottom:8px}.product-name{font-size:18px;line-height:1.22;overflow-wrap:anywhere}
 .product-description{font-size:12px;line-height:1.5;margin-bottom:12px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 .product-bottom{flex-direction:column;align-items:stretch;gap:9px;padding-top:11px}.product-price{font-size:13px;font-weight:600}
 .add-button{width:100%;min-height:42px;padding:9px 5px;font-size:11px}.weight{top:8px;left:8px;padding:4px 8px;font-size:10px}
 .product-card select{max-width:100%;min-width:0;font-size:12px}
}
@media(max-width:360px){.product-grid{gap:24px 10px}.product-name{font-size:16px}.product-description{font-size:11px}}
