/* Everwood — магазин (v8).
   Идея: страница растёт на дереве. Слева ствол (фото коры), кнопки разделов на нём; из ствола сверху выходит ветка
   с листвой, на ней висят «плоды» — избранные слэбы. Фона нет: ровная кость. Магазин как у больших: акции узкой
   полосой, поиск, корзина, избранное, каталог с фильтрами. Стекло и размытие — только в карточке товара. */
:root {
  --bg: #f2ede4; --paper: #fbf8f2; --bone: #e9e2d5; --bone-2: #e3dacb;
  --ink: #1d1a16; --ink-2: #5b5348; --ink-3: #8b8276; --line: rgba(29, 26, 22, .12); --line-2: rgba(29, 26, 22, .2);
  --leaf: #3d5a2c; --leaf-2: #6f8a4d; --gold: #9c844a; --gold-2: #c9b57a; --bark: #2b231c;
  --serif: 'Noto Serif Display', Georgia, serif; --sans: 'Jost', system-ui, sans-serif;
  --trunk: 132px; --promo: 34px; --head: 76px; --gut: clamp(18px, 2.6vw, 36px);
  --r: 18px; --ex: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; }
img.nofx, .media img, .pp-stage img, .hero img { pointer-events: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--leaf); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cap { font: 500 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.wrap { margin-left: var(--trunk); padding: 0 var(--gut); }
.oo { display: inline-flex; gap: .05em; vertical-align: baseline; }
.oo .ewr { width: .74em; height: .74em; flex: none; }
.oo .ewr path { vector-effect: non-scaling-stroke; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 .95rem var(--sans); text-decoration: none; transition: transform .3s var(--ex), background .3s, color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: #34302a; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); background: transparent; }
.btn.leaf { background: var(--leaf); border-color: var(--leaf); }
.btn.leaf:hover { background: #4a6a37; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--paper); position: relative; text-decoration: none; transition: border-color .3s, transform .3s var(--ex); }
.icon-btn:hover { border-color: var(--ink); }
.badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--leaf); color: #fff; font: 500 .7rem/20px var(--sans); text-align: center; }
.badge:empty, .badge[data-n="0"] { display: none; }

/* ── акции: узкая полоса сверху ── */
.promo { margin-left: var(--trunk); height: var(--promo); background: var(--bark); color: #efe6d8; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; font: 400 .8rem var(--sans); letter-spacing: .04em; }
.promo[hidden] { display: none; }
.promo-t { display: flex; align-items: center; gap: 10px; transition: opacity .5s, transform .5s var(--ex); }
.promo-t.out { opacity: 0; transform: translateY(-8px); }
.promo-t i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); }
.promo-x { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border: 0; background: none; color: #bfb3a2; border-radius: 50%; display: grid; place-items: center; }
.promo-x:hover { color: #fff; }
.promo-x .ico { width: 14px; height: 14px; }

/* ── шапка ── */
.head { position: sticky; top: 0; z-index: 30; margin-left: var(--trunk); height: var(--head); display: flex; align-items: center; gap: 16px; padding: 0 var(--gut); background: rgba(242, 237, 228, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.head.stuck { border-bottom-color: var(--line); }
.logo { display: grid; text-decoration: none; line-height: 1; flex: none; }
.logo b { font: 400 1.2rem/1 var(--serif); letter-spacing: .3em; display: inline-flex; align-items: center; }
.logo b .oo { gap: .14em; margin-right: .3em; color: var(--leaf); }
.logo small { font: 500 .56rem var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }
.cat-btn { min-height: 48px; padding: 0 20px 0 16px; }
.search { flex: 1; max-width: 680px; position: relative; }
.search form { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.search form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(61, 90, 44, .1); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font: 400 .95rem var(--sans); color: var(--ink); }
.search input::placeholder { color: var(--ink-3); }
.search button[type=submit] { height: 36px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--ink); color: var(--paper); font: 500 .85rem var(--sans); }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(29, 26, 22, .14); padding: 8px; display: none; z-index: 5; }
.sugg.on { display: block; }
.sugg a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; text-decoration: none; }
.sugg a:hover, .sugg a.sel { background: var(--bone); }
.sugg .th { width: 44px; height: 44px; border-radius: 10px; background: var(--bone); display: grid; place-items: center; overflow: hidden; }
.sugg .th img { width: 90%; height: 90%; object-fit: contain; }
.sugg b { font: 400 1rem var(--serif); display: block; }
.sugg small { color: var(--ink-3); font-size: .8rem; }
.sugg .pr { font-weight: 500; font-size: .9rem; }
.sugg .none { padding: 14px 10px; color: var(--ink-2); font-size: .9rem; }
.sugg .all { display: block; text-align: center; padding: 10px; font-size: .85rem; color: var(--leaf); }
.head-r { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.langs { display: flex; gap: 2px; margin-right: 4px; }
.langs button { min-width: 34px; height: 34px; border: 0; background: none; border-radius: 8px; font: 500 .72rem var(--sans); letter-spacing: .08em; color: var(--ink-3); }
.langs button[aria-pressed=true] { color: var(--ink); background: var(--bone); }
.cart-btn .badge { top: -6px; right: -6px; }

/* ── ствол ── */
.trunk { position: fixed; left: 0; top: 0; bottom: 0; width: var(--trunk); z-index: 40; pointer-events: none; }
.bark { position: absolute; inset: 0 -4px 0 0; overflow: hidden; -webkit-mask: var(--trunk-mask) repeat-y 0 0 / 100% 760px; mask: var(--trunk-mask) repeat-y 0 0 / 100% 760px; }
.bark-in { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 600px); background: url(../assets/tex/bark_c.webp) repeat; background-size: 300px auto; background-position: 100% 0; will-change: transform; filter: saturate(.9) brightness(.92); }
.bark-sh { position: absolute; top: 0; bottom: 0; left: 100%; width: 28px; background: linear-gradient(90deg, rgba(43, 35, 28, .2), rgba(43, 35, 28, 0)); pointer-events: none; }
/* видна только правая часть большого ствола: слева он уходит за экран, справа скругляется в тень */
.bark::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 238, 214, .08) 0%, rgba(14, 10, 7, 0) 38%, rgba(14, 10, 7, .2) 70%, rgba(14, 10, 7, .7) 100%); }
.trunk-nav { position: absolute; left: 0; right: 14px; top: calc(var(--promo) + var(--head) + 28px); display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: auto; }
.knot { width: 78px; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: #f6efe3; }
.knot span.k { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; position: relative; background: rgba(250, 246, 238, .14); backdrop-filter: blur(6px) saturate(1.2); -webkit-backdrop-filter: blur(6px) saturate(1.2); border: 1px solid rgba(255, 246, 232, .34); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 18px rgba(0, 0, 0, .38); transition: transform .4s var(--ex), background .3s, border-color .3s; }
.knot b { font: 500 .6rem var(--sans); letter-spacing: .12em; text-transform: uppercase; background: rgba(20, 14, 10, .55); padding: 3px 7px; border-radius: 6px; backdrop-filter: blur(4px); white-space: nowrap; }
.knot:hover span.k { transform: scale(1.06); background: rgba(250, 246, 238, .26); }
.knot[aria-current=page] span.k { border-color: var(--gold-2); background: rgba(201, 181, 122, .3); }
.knot .badge { top: -2px; right: -2px; }

/* ── главная: ветка с листвой и «плоды» ── */
.hero { position: relative; margin-left: var(--trunk); height: 800px; }
.limb { position: absolute; left: -40px; top: 0; overflow: visible; pointer-events: none; z-index: 1; }
.branch { position: absolute; left: 35%; top: 22px; width: min(940px, 63%); z-index: 2; transform-origin: 0% 40%; animation: sway 9s ease-in-out infinite; pointer-events: none; }
.branch > img { width: 100%; height: auto; filter: drop-shadow(0 14px 18px rgba(43, 35, 28, .16)); }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(.6deg); } }
.fruit { position: absolute; transform-origin: 50% 0; animation: pend 7s ease-in-out infinite; pointer-events: auto; z-index: 1; }
.fruit.b { animation-duration: 8.4s; animation-delay: -2s; }
@keyframes pend { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
.fruit .stalk { display: block; width: 2px; margin: 0 auto; background: linear-gradient(180deg, #4b3b2c, #6b5641); border-radius: 2px; }
.fruit a { display: grid; justify-items: center; text-decoration: none; gap: 12px; }
.fruit .disc { width: var(--d); height: var(--d); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #f8f3ea 0%, var(--bone) 62%, var(--bone-2) 100%); border: 1px solid var(--line); box-shadow: 0 30px 50px rgba(43, 35, 28, .18), inset 0 -10px 30px rgba(43, 35, 28, .06); display: grid; place-items: center; overflow: hidden; transition: transform .6s var(--ex), box-shadow .6s; }
.fruit .disc { position: relative; }
.fruit .disc img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: contain; transform: rotate(-12deg); filter: drop-shadow(0 12px 12px rgba(43, 35, 28, .3)); transition: transform .8s var(--ex); }
.fruit a:hover .disc { transform: scale(1.03); box-shadow: 0 40px 60px rgba(43, 35, 28, .22); }
.fruit a:hover .disc img { transform: rotate(-6deg) scale(1.04); }
.fruit .tag { display: grid; justify-items: center; gap: 2px; text-align: center; }
.fruit .tag .cap { color: var(--leaf); }
.fruit .tag b { font: 300 1.5rem/1.1 var(--serif); }
.fruit .tag span { font: 500 .95rem var(--sans); }
.hero-txt { position: absolute; left: var(--gut); top: 360px; width: min(440px, 32%); z-index: 3; }
.hero-txt .cap { color: var(--leaf); display: inline-flex; align-items: center; gap: 10px; letter-spacing: .12em; }
.hero-txt .cap i { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf); }
.hero-txt h1 { font-size: clamp(2.5rem, 3.5vw, 3.6rem); line-height: 1.02; margin-top: 18px; }
.hero-txt p { color: var(--ink-2); margin-top: 20px; max-width: 42ch; font-size: 1.05rem; }
.hero-cta { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.link { font: 500 .95rem var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px; transition: text-decoration-color .3s; }
.link:hover { text-decoration-color: var(--ink); }

/* ── секции ── */
.sec { margin-left: var(--trunk); padding: clamp(56px, 7vw, 100px) var(--gut) 0; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.sec-h h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.05; }
.sec-h a { font: 500 .9rem var(--sans); color: var(--leaf); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.sec-h a:hover { text-decoration: underline; }

/* 4 квадрата: подбор по задаче */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); overflow: hidden; text-decoration: none; padding: 22px; display: flex; flex-direction: column; transition: transform .5s var(--ex), box-shadow .5s, border-color .3s; }
.cat:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(43, 35, 28, .1); border-color: var(--line-2); }
.cat h3 { font-size: 1.6rem; line-height: 1.05; position: relative; z-index: 1; }
.cat p { color: var(--ink-2); font-size: .92rem; margin-top: 6px; position: relative; z-index: 1; }
.cat .cnt { margin-top: auto; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; font: 500 .8rem var(--sans); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; width: max-content; }
.cat img { position: absolute; right: -6%; bottom: -14%; height: 92%; width: auto; transform: rotate(-28deg); filter: drop-shadow(0 18px 16px rgba(43, 35, 28, .28)); transition: transform .8s var(--ex); }
.cat:hover img { transform: rotate(-22deg) translateY(-6px); }

/* почему: фото по центру, тезисы слева и справа */
.why-h { text-align: center; display: grid; justify-items: center; gap: 10px; margin-bottom: clamp(30px, 4vw, 50px); }
.why-h h2 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.why-h .leafmark { width: 46px; height: 18px; color: var(--leaf); }
.why { display: grid; grid-template-columns: 1fr minmax(260px, 420px) 1fr; gap: clamp(20px, 3vw, 50px); align-items: center; }
.why-col { display: grid; gap: clamp(30px, 5vw, 70px); }
.why-pt { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.why-col.r .why-pt { grid-template-columns: 1fr 52px; text-align: right; }
.why-col.r .why-pt .ic { order: 2; }
.why-pt .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--leaf); }
.why-pt .ic .ewr { width: 26px; height: 26px; }
.why-pt h3 { font-size: 1.35rem; line-height: 1.15; }
.why-pt p { color: var(--ink-2); font-size: .93rem; margin-top: 6px; }
.why-img { position: relative; aspect-ratio: 3 / 4.2; display: grid; place-items: center; }
.why-img::before { content: ''; position: absolute; inset: 8% 4% 4%; border-radius: 50% 50% 22px 22px / 34% 34% 22px 22px; background: radial-gradient(ellipse at 50% 30%, #f8f3ea, var(--bone) 70%); border: 1px solid var(--line); }
.why-img > img:first-child { position: absolute; inset: 0 12%; width: 76%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(43, 35, 28, .3)); }
.why-img .twig { position: absolute; top: -6%; left: -12%; width: 40%; z-index: 1; height: auto; transform-origin: 50% 0; animation: pend 6s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(43, 35, 28, .14)); }

/* карточки товара (каталог — светлые, без размытия) */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 16px; }
.pc { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ex), box-shadow .5s, border-color .3s; }
.pc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(43, 35, 28, .1); border-color: var(--line-2); }
.pc > a.hit { position: absolute; inset: 0; z-index: 1; }
.pc .media { aspect-ratio: 4 / 5; background: radial-gradient(ellipse at 50% 45%, #f8f3ea 0%, var(--bone) 75%); display: grid; place-items: center; position: relative; overflow: hidden; }
.pc .media img { position: absolute; inset: 6% 8%; width: 84%; height: 88%; object-fit: contain; filter: drop-shadow(0 16px 14px rgba(43, 35, 28, .26)); transition: transform .8s var(--ex); }
.pc:hover .media img { transform: scale(1.04) rotate(-2deg); }
.pc .chip { position: absolute; left: 12px; top: 12px; z-index: 2; font: 500 .68rem var(--sans); letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.pc .chip.reserved { color: var(--gold); }
.pc .chip.drying { color: var(--leaf); }
.pc .fav { position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; }
.pc .body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.pc h3 { font-size: 1.4rem; line-height: 1.1; }
.pc .meta { color: var(--ink-3); font-size: .82rem; }
.pc .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.pc .price { font: 500 1.2rem var(--sans); }
.pc .add { position: relative; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: background .3s, transform .3s var(--ex); }
.pc .add:hover { transform: scale(1.06); }
.pc .add.on { background: var(--leaf); }
.pc .add[disabled] { background: var(--bone-2); color: var(--ink-3); cursor: default; }
.fav .ico { width: 19px; height: 19px; }
.fav.on { color: #b2452f; border-color: rgba(178, 69, 47, .3); }
.fav.on .ico { fill: currentColor; }

/* отзывы */
.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.rev { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: grid; gap: 18px; align-content: space-between; }
.rev q { font: italic 300 1.25rem/1.4 var(--serif); quotes: '«' '»'; }
.rev b { font: 500 .85rem var(--sans); color: var(--ink-2); }
.sample { font: 500 .66rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px dashed var(--gold); border-radius: 6px; padding: 4px 8px; }

/* история: тизер */
.hist { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 40px); overflow: hidden; }
.hist-img { position: relative; aspect-ratio: 1152 / 966; }
.hist-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 24px rgba(43, 35, 28, .25)); }
.hist-img .yrs { position: absolute; left: 6%; right: 6%; bottom: 2%; display: flex; align-items: center; gap: 12px; font: 300 1.4rem var(--serif); }
.hist-img .yrs i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--leaf), rgba(61, 90, 44, .15)); }
.hist h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.05; }
.hist p { color: var(--ink-2); margin: 16px 0 26px; max-width: 40ch; }

/* подвал */
.foot { margin-left: var(--trunk); padding: 70px var(--gut) 40px; margin-top: clamp(60px, 7vw, 110px); border-top: 1px solid var(--line); display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; color: var(--ink-2); font-size: .92rem; }
.foot .logo b { font-size: 1.6rem; color: var(--ink); }
.foot h4 { margin: 0 0 12px; font: 500 .7rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.foot a { display: block; text-decoration: none; padding: 4px 0; }
.foot a:hover { color: var(--ink); }

/* ── каталог ── */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--ink-3); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.page-h { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin: 10px 0 24px; }
.page-h h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1.04; }
.page-h .cnt { color: var(--ink-3); }
.cat-lay { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--head) + 16px); display: grid; gap: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.fgroup { display: grid; gap: 10px; }
.fgroup .cap { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font: 400 .88rem var(--sans); transition: border-color .3s, background .3s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed=true] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar select { min-height: 42px; padding: 0 36px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%235b5348' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; appearance: none; font: 400 .9rem var(--sans); color: var(--ink); }
.filt-open { display: none; }
.empty { background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 40px; text-align: center; color: var(--ink-2); display: grid; gap: 18px; justify-items: center; }

/* ── карточка товара: стекло и размытие ── */
.pp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: start; margin-top: 14px; }
.pp-stage { position: sticky; top: calc(var(--head) + 12px); height: calc(100vh - var(--head) - 40px); min-height: 560px; border-radius: 28px; overflow: hidden; background: #2b231c; isolation: isolate; }
.pp-stage .blur { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(.9) brightness(.82); transform: scale(1.1); z-index: -1; }
.pp-stage::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 46% 48%, rgba(255, 246, 230, .18), rgba(20, 15, 10, .35) 100%); z-index: -1; pointer-events: none; }
.pp-stage .main { position: absolute; left: 0; right: 14%; top: 5%; bottom: 5%; display: grid; place-items: center; cursor: zoom-in; }
.pp-stage .main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .45)); }
.lens { position: absolute; width: 190px; height: 190px; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .25s; border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); background-repeat: no-repeat; translate: -50% -50%; z-index: 4; }
.glass-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 250, 242, .18); border: 1px solid rgba(255, 250, 242, .4); color: #fbf6ee; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); text-decoration: none; transition: background .3s; }
.glass-btn:hover { background: rgba(255, 250, 242, .3); }
.glass-btn.on { color: #ff9b84; }
.glass-btn.on .ico { fill: currentColor; }
.pp-tools { position: absolute; top: 18px; left: 18px; right: 18px; display: flex; justify-content: space-between; z-index: 5; }
.pp-tools div { display: flex; gap: 8px; }
.pp-hint { position: absolute; left: 22px; bottom: 18px; color: rgba(251, 246, 238, .75); font-size: .8rem; z-index: 5; }
.pp-info { position: relative; z-index: 6; margin-left: -110px; margin-top: 60px; padding: clamp(24px, 2.6vw, 38px); border-radius: 28px; background: rgba(251, 248, 242, .66); border: 1px solid rgba(255, 255, 255, .7); backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3); box-shadow: 0 40px 80px rgba(43, 35, 28, .16); display: grid; gap: 18px; }
.pp-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-top .lot { font: 500 .75rem var(--sans); letter-spacing: .14em; color: var(--ink-2); border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 8px; }
.pp-top .st { font: 500 .78rem var(--sans); display: inline-flex; align-items: center; gap: 6px; color: var(--leaf); }
.pp-top .st i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pp-top .st.reserved { color: var(--gold); }
.pp-info h1 { font-size: clamp(2.6rem, 4vw, 3.8rem); line-height: 1; }
.pp-info .latin { font: italic 300 1.05rem var(--serif); color: var(--leaf); margin-top: -10px; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { padding: 14px 10px 14px 0; display: grid; gap: 4px; }
.spec:nth-child(n+4) { border-top: 1px solid var(--line); }
.spec .ico { width: 20px; height: 20px; color: var(--leaf); }
.spec small { font-size: .74rem; color: var(--ink-3); letter-spacing: .04em; }
.spec b { font: 500 1rem var(--sans); }
.wbars { display: grid; gap: 6px; }
.wbars .bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.wbars .bars i { flex: 1; background: linear-gradient(180deg, var(--leaf-2), var(--leaf)); border-radius: 4px 4px 2px 2px; opacity: .85; position: relative; }
.wbars .bars i span { position: absolute; top: -18px; left: 0; right: 0; text-align: center; font: 500 .66rem var(--sans); color: var(--ink-2); }
.pp-buy { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.pp-buy .price { font: 300 2.4rem/1 var(--serif); }
.pp-buy .price small { display: block; font: 400 .78rem var(--sans); color: var(--ink-3); margin-top: 6px; }
.pp-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pp-acts .btn { width: 100%; }
.pp-note { font-size: .85rem; color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.pp-note .ewr { width: 22px; height: 22px; color: var(--leaf); flex: none; }
.pp-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 10px; align-content: start; }
.box h3 { font-size: 1.35rem; }
.box p, .box li { color: var(--ink-2); font-size: .93rem; }
.box ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* ── корзина ── */
.cart-lay { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.ci { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; }
.ci + .ci { margin-top: 12px; }
.ci .th { width: 110px; height: 110px; border-radius: 14px; background: radial-gradient(ellipse, #f8f3ea, var(--bone) 80%); display: grid; place-items: center; overflow: hidden; }
.ci .th { position: relative; }
.ci .th img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; transform: rotate(-14deg); filter: drop-shadow(0 8px 8px rgba(43, 35, 28, .25)); }
.ci h3 { font-size: 1.5rem; }
.ci h3 a { text-decoration: none; }
.ci .meta { color: var(--ink-3); font-size: .85rem; margin-top: 2px; }
.ci .one { margin-top: 8px; display: inline-flex; gap: 6px; align-items: center; font: 500 .74rem var(--sans); color: var(--leaf); }
.ci .one .ewr { width: 16px; height: 16px; }
.ci .r { display: grid; justify-items: end; gap: 10px; }
.ci .price { font: 500 1.25rem var(--sans); }
.ci .rm { border: 0; background: none; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; font-size: .85rem; min-height: 36px; }
.ci .rm:hover { color: #b2452f; }
.ci .rm .ico { width: 18px; height: 18px; }
.sum { position: sticky; top: calc(var(--head) + 16px); background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 14px; }
.sum h2 { font-size: 1.6rem; }
.sum .ln { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-2); font-size: .93rem; }
.sum .ln b { color: var(--ink); font-weight: 500; text-align: right; }
.sum .tot { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.sum .tot b { font: 300 2rem var(--serif); }
.sum .sec-note { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--ink-3); font-size: .78rem; }
.sum .sec-note .ico { width: 15px; height: 15px; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: .8rem; color: var(--ink-2); }
.form input, .form textarea { min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); font: 400 .95rem var(--sans); color: var(--ink); outline: none; transition: border-color .3s; }
.form textarea { min-height: 80px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ink); }
.form .msg { font-size: .88rem; min-height: 1.2em; }
.form .msg.err { color: #b2452f; }
.ok-box { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 40px; display: grid; gap: 16px; justify-items: start; }
.ok-box h2 { font-size: 2.2rem; }

/* ── история ── */
.h-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-top: 30px; }
.h-intro h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: .95; }
.h-intro p { color: var(--ink-2); max-width: 46ch; }
.tree-sc { position: relative; height: 320vh; margin-top: 30px; }
.tree-pin { position: sticky; top: var(--head); height: calc(100vh - var(--head)); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px; align-items: center; }
.tree-l .yr { font: 200 clamp(5rem, 10vw, 9rem)/.85 var(--serif); letter-spacing: -.03em; }
.tree-l .rg { margin-top: 8px; color: var(--leaf); }
.tree-ev { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.tree-ev li { display: grid; grid-template-columns: 52px 1fr; gap: 10px; color: var(--ink-3); font-size: .92rem; transition: color .4s; }
.tree-ev li .cap { color: inherit; padding-top: 3px; }
.tree-ev li.past { color: var(--ink); }
.tree-ev li.past .cap { color: var(--leaf); }
.ag3 { position: relative; width: 100%; height: min(78vh, 760px); }
.ag3 canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ag3-fb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ag3.on .ag3-fb { display: none; }
.ag3-labs { position: absolute; inset: 0; pointer-events: none; }
.ag3-mk { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 7px; margin: -6px 0 0 -6px; opacity: 0; transition: opacity .5s; }
.ag3-mk.on { opacity: 1; }
.ag3-mk i { width: 12px; height: 12px; border-radius: 50%; background: #e8d9a0; box-shadow: 0 0 0 3px rgba(29, 26, 22, .5), 0 0 0 6px rgba(201, 181, 122, .3); }
.ag3-mk b { font: 500 .72rem var(--sans); letter-spacing: .1em; color: #fbf6ee; background: rgba(29, 26, 22, .78); padding: 4px 8px; border-radius: 6px; }
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.step img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.step div { padding: 18px; display: grid; gap: 6px; }
.step .cap { color: var(--leaf); }
.step h3 { font-size: 1.4rem; }
.step p { color: var(--ink-2); font-size: .9rem; }

/* ── нижняя панель (телефон) ── */
.tabbar { display: none; }

/* ── адаптив ── */
@media (max-width: 1180px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat { aspect-ratio: 16 / 10; }
  .cat img { height: 120%; }
  .revs { grid-template-columns: 1fr; }
  .head .langs { display: none; }
}
@media (max-width: 960px) {
  :root { --trunk: 18px; --head: 64px; --promo: 30px; }
  body { padding-bottom: 76px; }
  .bark { inset: 0; filter: drop-shadow(4px 0 8px rgba(43, 35, 28, .25)) brightness(.9); }
  .trunk-nav { display: none; }
  .promo { font-size: .72rem; }
  .head { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .head .cat-btn, .head .fav-btn { display: none; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search form { height: 44px; }
  .head-r { gap: 6px; }
  .head .langs { display: flex; }
  .hero { height: auto; padding-bottom: 20px; }
  .limb { display: none; }
  .branch { position: relative; left: -10%; top: 0; width: 125%; animation-duration: 10s; }
  .branch .fruit { display: none; }
  .fruits-m { display: flex; justify-content: center; gap: 18px; margin-top: -26%; position: relative; z-index: 3; }
  .fruit { position: relative !important; left: auto !important; top: auto !important; }
  .fruit .stalk { height: 26px !important; }
  .fruit .tag b { font-size: 1.15rem; }
  .fruit .tag span { font-size: .85rem; }
  .hero-txt { position: relative; left: auto; bottom: auto; width: auto; padding: 28px var(--gut) 0; }
  .hero-txt h1 { font-size: 2.6rem; }
  .hero-cta .btn { flex: 1; }
  .why { grid-template-columns: 1fr; }
  .why-img { order: -1; width: min(70%, 300px); margin: 0 auto; }
  .why-col.r .why-pt { grid-template-columns: 52px 1fr; text-align: left; }
  .why-col.r .why-pt .ic { order: 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc .body { padding: 10px 12px 12px; }
  .pc h3 { font-size: 1.15rem; }
  .pc .meta { font-size: .74rem; }
  .pc .price { font-size: 1rem; }
  .pc .add { width: 40px; height: 40px; }
  .pc .fav { width: 36px; height: 36px; }
  .hist { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .cat-lay { grid-template-columns: 1fr; }
  .filters { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 60; border-radius: 22px 22px 0 0; max-height: 80vh; overflow: auto; transform: translateY(110%); transition: transform .45s var(--ex); box-shadow: 0 -20px 50px rgba(29, 26, 22, .2); padding-bottom: 90px; }
  .filters.open { transform: none; }
  .filt-open { display: inline-flex; }
  .pp { grid-template-columns: 1fr; }
  .pp-stage { position: relative; top: 0; height: 62vh; min-height: 420px; border-radius: 22px; }
  .pp-stage .main { right: 0; bottom: 14%; }
  .pp-hint { display: none; }
  .pp-info { margin: -70px 10px 0; padding: 22px; border-radius: 24px; }
  .pp-more { grid-template-columns: 1fr; }
  .cart-lay { grid-template-columns: 1fr; }
  .ci { grid-template-columns: 84px minmax(0, 1fr); }
  .ci .th { width: 84px; height: 84px; }
  .ci .r { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .h-intro { grid-template-columns: 1fr; }
  .tree-pin { grid-template-columns: 1fr; align-content: start; gap: 0; }
  .ag3 { order: -1; height: 44vh; }
  .tree-l .yr { font-size: 4.2rem; }
  .tree-ev { font-size: .82rem; gap: 4px; margin-top: 10px; }
  .tree-ev li { grid-template-columns: 44px 1fr; }
  .path { grid-template-columns: 1fr 1fr; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 50; height: 64px; border-radius: 20px; background: rgba(251, 248, 242, .86); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(29, 26, 22, .14); }
  .tabbar a { display: grid; justify-items: center; align-content: center; gap: 3px; text-decoration: none; color: var(--ink-3); font: 500 .62rem var(--sans); position: relative; }
  .tabbar a .ico { width: 22px; height: 22px; }
  .tabbar a[aria-current=page] { color: var(--leaf); }
  .tabbar .badge { top: 4px; right: calc(50% - 22px); }
}
.fruits-m { display: none; }
@media (prefers-reduced-motion: reduce) { .branch, .fruit, .why-img .twig { animation: none; } }

/* ровные ряды: на главной 4 в ряд, в каталоге рядом с фильтрами — 3 */
#best .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cat-lay .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1180px) { #best .grid, .cat-lay .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { #best .grid, .cat-lay .grid, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* телефон: финальные правила (после базовых, чтобы не перебивались) */
@media (max-width: 960px) {
  .hero { height: auto; overflow: hidden; padding-top: 6px; }
  .hero-txt { top: auto; width: auto; }
  .fruits-m { display: flex; justify-content: center; align-items: flex-start; gap: 14px; margin-top: -18%; position: relative; z-index: 3; padding: 0 var(--gut); }
  .fruits-m .fruit { animation-duration: 7s; }
  .fruits-m .fruit.a { --d: 132px !important; }
  .fruits-m .fruit.b { --d: 160px !important; }
  .fruits-m .fruit .tag .cap { font-size: .56rem; letter-spacing: .1em; }
  .why-img .twig { left: -18%; width: 44%; }
  .rev q { font-size: 1.1rem; }
  .sec-h { flex-wrap: wrap; }
  .sample { font-size: .58rem; }
}
@media (max-width: 960px) {
  .logo b { font-size: .98rem; letter-spacing: .24em; }
  .logo small { font-size: .5rem; letter-spacing: .24em; }
  .head-r { margin-left: auto; }
  .head .langs button { min-width: 30px; height: 32px; }
  .head .cart-btn { width: 40px; height: 40px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat { aspect-ratio: 1 / 1.02; padding: 14px; }
  .cat h3 { font-size: 1.2rem; }
  .cat p { font-size: .8rem; }
  .cat img { height: 74%; right: -14%; bottom: -10%; }
  .cat .cnt { font-size: .72rem; padding: 5px 10px; }
}

/* 3D-пень на светлом фоне: края холста растворяются */
.ag3 canvas { -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 66%, transparent 100%); }
.cat-lay > *, .pp > *, .cart-lay > *, .tree-pin > *, .hist > * { min-width: 0; }
.toolbar { flex-wrap: wrap; }
.toolbar select { min-width: 0; max-width: 100%; }
@media (max-width: 960px) {
  .toolbar .filt-open { flex: 1 1 auto; }
  .toolbar select { flex: 1 1 150px; }
  .pp-acts { grid-template-columns: 1fr; }
  .pp-acts .btn { white-space: normal; text-align: center; }
  .pp-info h1 { font-size: 2.4rem; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── правки по разбору ── */
.head { transition: border-color .3s, transform .4s var(--ex); }
.head.hide { transform: translateY(-110%); }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%235b5348' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.toast { position: fixed; left: 50%; bottom: 28px; translate: -50% 20px; z-index: 90; display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .35s, translate .45s var(--ex); box-shadow: 0 18px 40px rgba(29, 26, 22, .25); }
.toast.on { opacity: 1; translate: -50% 0; pointer-events: auto; }
.toast .ico { width: 18px; height: 18px; color: #b7d29a; }
.toast a { color: var(--paper); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; margin-left: 6px; }
.pc span.add { background: var(--bone-2); color: var(--ink-3); cursor: default; }
.pc span.add:hover { transform: none; }
/* стебли «плодов» заметны, с узелком у ветки */
.fruit .stalk { width: 2.5px; background: linear-gradient(180deg, #3a2c20, #5a4634); position: relative; z-index: 3; }
.fruit .stalk i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #3a2c20; }
/* «почему»: слэб внутри арки, стоит на её дне */
.why-img::before { content: none; }
.why-img .arch { position: absolute; inset: 6% 3% 0; border-radius: 50% 50% 22px 22px / 32% 32% 22px 22px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #f8f3ea, var(--bone) 72%); border: 1px solid var(--line); }
.why-img .arch img { position: absolute; left: 10%; right: 10%; top: 9%; bottom: 0; width: 80%; height: 91%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 24px 24px rgba(43, 35, 28, .28)); }
.rev { margin: 0; }
/* тизер истории: край фото растворяется, шкала лет — в тексте */
.hist-img img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.hist .yrs { display: flex; align-items: center; gap: 12px; font: 300 1.3rem var(--serif); margin-bottom: 14px; max-width: 320px; }
.hist .yrs i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--leaf), rgba(61, 90, 44, .15)); }
/* каталог: активные фильтры, лист на телефоне */
.active { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.active:empty { display: none; }
.act { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px 0 14px; border-radius: 999px; border: 1px solid var(--ink); background: var(--paper); font: 400 .85rem var(--sans); }
.act .ico { width: 14px; height: 14px; }
.f-head, .f-show { display: none; }
.f-shade { display: none; }
.filt-open { position: relative; }
.filt-open .badge { position: static; margin-left: 4px; }
.ferr { color: #b2452f; font-size: .78rem; }
.ferr:empty { display: none; }
.form [aria-invalid=true] { border-color: #b2452f; }
/* карточка товара: галерея, лёгкое стекло */
.pp-thumbs { position: absolute; left: 18px; bottom: 18px; z-index: 5; display: flex; gap: 8px; }
.thumbb { width: 66px; padding: 4px 4px 6px; border-radius: 14px; border: 1px solid rgba(255, 250, 242, .35); background: rgba(255, 250, 242, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fbf6ee; display: grid; gap: 4px; justify-items: center; font: 500 .58rem var(--sans); letter-spacing: .06em; }
.thumbb img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.thumbb[aria-selected=true] { border-color: #fbf6ee; background: rgba(255, 250, 242, .28); }
.pp-hint { left: auto; right: 22px; }
.pp-stage .main.yard { left: 0; right: 0; top: 0; bottom: 0; }
.pp-stage .main.yard img { object-fit: cover; filter: none; }
.pp-info { background: linear-gradient(160deg, rgba(255, 253, 248, .62), rgba(251, 248, 242, .44)); border: 1px solid rgba(255, 255, 255, .78); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 40px 80px rgba(43, 35, 28, .16); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4); }
.more .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.buybar { display: none; }
/* история: «Анфилада» лежит на поверхности, не парит */
.lay { position: relative; display: block; aspect-ratio: 2 / 1; }
.lay img { position: absolute; left: 4%; bottom: 18%; width: 92%; height: auto; }
.lay i { position: absolute; left: 3%; right: 3%; bottom: 15%; height: 14px; border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, rgba(43, 35, 28, .32), rgba(43, 35, 28, 0) 70%); }
.lay::after { content: ''; position: absolute; left: 0; right: 0; bottom: 17%; height: 1px; background: var(--line); }
.tree-sc { height: 240vh; }
.step img { filter: saturate(.82) contrast(.96) brightness(1.02); }
.step:nth-child(3) img { object-position: 72% 50%; }
@media (max-width: 960px) {
  :root { --trunk: 28px; }
  .filters .f-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: -20px; background: var(--paper); padding: 8px 0; margin: -8px 0 0; z-index: 1; }
  .filters .f-head b { font: 300 1.5rem var(--serif); }
  .filters .f-show { display: inline-flex; position: sticky; bottom: 0; width: 100%; }
  .filters { z-index: 70; padding-bottom: 20px; }
  .f-shade { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(29, 26, 22, .35); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .f-shade.on { opacity: 1; pointer-events: auto; }
  body.sheet { overflow: hidden; }
  .more .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buybar { display: flex; position: fixed; left: 8px; right: 8px; bottom: 80px; z-index: 55; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(251, 248, 242, .92); border: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 14px 34px rgba(29, 26, 22, .16); transform: translateY(calc(100% + 120px)); transition: transform .45s var(--ex); }
  .buybar.on { transform: none; }
  .buybar div { display: grid; line-height: 1.2; min-width: 0; }
  .buybar b { font: 300 1.1rem var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar span { font-weight: 500; font-size: .95rem; }
  .buybar .btn { min-height: 44px; padding: 0 16px; }
  .pp-thumbs { left: 12px; bottom: 86px; }
  .pc .fav { width: 40px; height: 40px; }
  .promo-x { width: 40px; height: 40px; right: 2px; }
  .toast { bottom: 90px; width: max-content; max-width: calc(100% - 24px); }
  .fruits-m { margin-top: -22%; }
  .fruits-m .fruit.a { --d: 116px !important; }
  .fruits-m .fruit.b { --d: 140px !important; }
  .fruits-m .fruit .stalk { height: 44px !important; }
  .fruits-m .fruit .tag b { font-size: 1.05rem; }
  .fruits-m .fruit .tag span { font-size: .8rem; }
  .hero-txt { padding-top: 14px; }
  .hero-txt h1 { font-size: 2.3rem; margin-top: 10px; }
  .hero-txt p { margin-top: 12px; font-size: .95rem; }
  .hero-cta { margin-top: 18px; }
  .lay { aspect-ratio: 2.2 / 1; }
}
.lay img { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent 100%); mask-image: linear-gradient(90deg, #000 90%, transparent 100%); }
.branch, .fruit { will-change: transform; } .branch > img { filter: none; } .fruit .disc { box-shadow: 0 22px 34px rgba(43, 35, 28, .16); }

/* ── ствол шире, все разделы на нём (и на телефоне) ── */
:root { --trunk: 150px; }
.trunk-nav { top: calc(var(--promo) + var(--head) + 14px); bottom: 18px; justify-content: space-evenly; gap: 6px; right: 18px; }
.knot span.k { width: clamp(46px, 6.4vh, 60px); height: clamp(46px, 6.4vh, 60px); }
.tabbar { display: none !important; }
@media (max-width: 960px) {
  :root { --trunk: 72px; }
  body { padding-bottom: 0; }
  .trunk-nav { display: flex; right: 10px; top: 128px; bottom: 14px; gap: 4px; }
  .knot { width: 60px; gap: 3px; }
  .knot span.k { width: 44px; height: 44px; }
  .knot span.k .ico { width: 19px; height: 19px; }
  .knot b { font-size: .46rem; letter-spacing: .06em; padding: 2px 4px; }
  .bark { filter: none; }
  .buybar { bottom: 12px; left: calc(var(--trunk) + 6px); }
  .toast { bottom: 24px; }
  .head .langs button { min-width: 24px; }
}
@media (max-width: 960px) and (max-height: 700px) { .knot b { display: none; } }

@media (max-width: 960px) {
  .head .langs button:not([aria-pressed=true]) { display: none; }
  .head .langs button[aria-pressed=true] { min-width: 40px; height: 40px; border: 1px solid var(--line); background: var(--paper); border-radius: 50%; }
  .head .logo b { font-size: .9rem; letter-spacing: .2em; }
  .fruits-m .fruit .tag .cap { font-size: .5rem; letter-spacing: .06em; }
  .pc .price { font-size: .92rem; }
}
