/* =========================================================
   timberland.net.ru — обновлённый дизайн, 21st.dev компоненты
   и полированная мобильная версия в тёплой палитре Timberland.
   ========================================================= */
@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --bark: #231b15;
  --bark-2: #362920;
  --wheat: #e8a317;
  --wheat-d: #c98a0c;
  --wheat-l: #f8d078;
  --paper: #faf6ef;
  --paper-2: #f1e9dc;
  --red: #c43825;
  --ink: #1f1a17;
  --muted: #665d55;
  --line: #e7dfd4;
  --white: #ffffff;
  --green: #2c8a3c;
  --amber-ink: #8f5700;
  --ok-ink: #1f6d2c;
  --shadow-sm: 0 2px 10px rgba(35, 27, 21, .06);
  --shadow-md: 0 14px 32px rgba(35, 27, 21, .11);
  --cond: 'Fira Sans Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Fira Sans', Arial, sans-serif;
  --r: 6px;
  --r-lg: 12px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { margin: 0; font: 400 15px/1.55 var(--sans); color: var(--ink); background: var(--white); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible, input:focus-visible, textarea:focus-visible,
.cb input:focus-visible + i, .rb input:focus-visible + i {
  outline: 2px solid #6e410a; outline-offset: 2px; box-shadow: 0 0 0 2px #fff;
}
@media (forced-colors: active) {
  :focus-visible, input:focus-visible, textarea:focus-visible,
  .cb input:focus-visible + i, .rb input:focus-visible + i { outline-color: Highlight; }
}
::selection { background: var(--wheat); color: var(--bark); }
input, textarea { caret-color: var(--wheat-d); }
input[type=checkbox], input[type=radio] { accent-color: var(--wheat); }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }

h1, h2, h3, h4 { font-family: var(--cond); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
p, li { text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.tiny { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; line-height: 1.45; }
.link { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
[hidden] { display: none !important; }
#site-header { display: contents; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.hero-price, .hero-old, .hero-timer, .card-price, .p-price, .c-sum, .c-total, .p-sticky, .c-qty span, [data-cart-count], .head-phone a, .nav-phone-mini, .hero-num, .badge, .bento-steps span {
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: var(--r);
  min-height: 44px; padding: 10px 18px;
  font: 600 14px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; position: relative; overflow: hidden;
  transition: background-color .16s, border-color .16s, color .16s, transform .12s ease-out, box-shadow .16s;
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-orange { background: var(--wheat); color: var(--bark); }
.btn-orange:hover { background: #f2ae22; box-shadow: 0 4px 14px rgba(232, 163, 23, .32); }
.btn-orange:active { background: var(--wheat-d); }
.btn-dark { background: var(--bark); color: var(--white); }
.btn-dark:hover { background: var(--bark-2); }
.btn-light { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-light:hover { border-color: var(--wheat); background: var(--paper); }
.btn-outline { background: transparent; border: 2px solid var(--bark); color: var(--bark); }
.btn-outline:hover { background: var(--bark); color: var(--white); }
.btn-ghost-light { background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.42); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); border-color: var(--white); }
.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.38); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-big { min-height: 48px; padding: 12px 24px; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

/* 21st.dev Shimmer CTA */
.btn-shimmer::after {
  content: ''; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-160%) skewX(-18deg); pointer-events: none;
  animation: btnShimmer 5.5s ease-in-out infinite;
}
@keyframes btnShimmer {
  0%, 72% { transform: translateX(-160%) skewX(-18deg); }
  100% { transform: translateX(320%) skewX(-18deg); }
}

/* 21st.dev Border Beam (.beam-box) */
.beam-box { position: relative; }
.beam-box::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; z-index: 3;
  background: conic-gradient(from var(--beam-angle), transparent 0deg 280deg, rgba(248, 208, 120, .85) 325deg, rgba(232, 163, 23, .95) 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beamSpin 7s linear infinite;
}
@keyframes beamSpin { to { --beam-angle: 360deg; } }

/* =========================================================
   ШАПКА — мобильная
   ========================================================= */
.m-head {
  position: sticky; top: 0; z-index: 60;
  display: grid; grid-template-columns: 48px 1fr 48px 52px; align-items: stretch;
  height: 56px;
  background: rgba(35, 27, 21, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 2px 12px rgba(0,0,0,.16);
}
.m-burger { background: none; border: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 0 13px; }
.m-burger span { display: block; height: 2px; background: var(--white); border-radius: 2px; }
.m-head .logo { align-self: center; color: var(--white); padding-left: 2px; }
.m-search-btn, .m-cart {
  display: grid; place-items: center; color: var(--white); background: none; border: 0; text-decoration: none; padding: 0;
}
.m-search-btn svg, .m-cart svg { width: 22px; height: 22px; }
.m-cart { position: relative; border-left: 1px solid rgba(255,255,255,.1); }
.m-cart b, .mb-cart b {
  position: absolute; top: 8px; right: 6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 10px; background: var(--wheat); color: var(--bark);
  font: 700 11px/18px var(--sans); text-align: center;
}
.m-cart b.zero, .mb-cart b.zero, .d-cart b.zero { display: none; }

.m-quicksearch {
  position: sticky; top: 56px; z-index: 59;
  display: flex; gap: 8px; padding: 10px 14px;
  background: rgba(35, 27, 21, .97); border-bottom: 1px solid rgba(255,255,255,.12);
}
.m-quicksearch input {
  flex: 1; min-width: 0; border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 8px !important; padding: 10px 12px !important;
  background: rgba(255,255,255,.1) !important; color: var(--white); font-size: 14px;
}
.m-quicksearch input::placeholder { color: #cabfb2; }
.m-quicksearch button {
  width: 44px; min-height: 42px; border: 0; border-radius: 8px;
  background: var(--wheat); color: var(--bark); display: grid; place-items: center; flex: none;
}
.m-quicksearch button svg { width: 19px; height: 19px; }

.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo-word { font: 700 22px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.02em; }
.logo-sub { font: 400 11px/1.1 var(--sans); margin-top: 3px; opacity: .85; }

/* мобильное меню */
.m-menu {
  position: fixed; z-index: 120; top: 0; left: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--white); transform: translateX(-102%); transition: transform .25s ease;
  overflow-y: auto; display: flex; flex-direction: column;
}
.m-overlay { position: fixed; inset: 0; z-index: 110; background: rgba(20,14,10,.55); opacity: 0; pointer-events: none; transition: opacity .25s; }
body.menu-open { overflow: hidden; }
body.menu-open .m-menu { transform: none; }
body.menu-open .m-overlay[data-close-menu],
body.filters-open .m-overlay[data-close-filters] { opacity: 1; pointer-events: auto; }
.m-menu-head { display: flex; justify-content: space-between; align-items: center; background: var(--bark); color: var(--white); padding: 14px 16px; }
.m-menu-head button { background: none; border: 0; color: var(--white); padding: 4px; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.m-menu-head svg { width: 26px; height: 26px; }
.m-search { display: flex; margin: 14px 16px; border: 1px solid #d8d0c4; border-radius: var(--r); background: var(--white); }
.m-search:focus-within { border-color: var(--wheat); }
.m-search input { flex: 1; border: 0 !important; padding: 11px 12px; min-width: 0; background: none; box-shadow: none !important; -webkit-appearance: none; appearance: none; }
.m-search button { background: none; border: 0; border-left: 1px solid var(--line); width: 48px; color: var(--bark); display: grid; place-items: center; }
.m-search svg { width: 20px; height: 20px; }
.m-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 17px/1.25 var(--cond); }
.m-menu nav a:nth-child(-n+6) { font-size: 19px; text-transform: uppercase; letter-spacing: .02em; }
.m-menu nav a:nth-child(6) { color: var(--red); }
.m-menu nav a svg { width: 20px; height: 20px; color: var(--muted); }
.m-menu-quick { margin: 16px 16px 0; }
.m-menu-cart { display: flex; align-items: center; gap: 10px; margin: 12px 16px 16px; padding: 14px; background: var(--paper); border-radius: var(--r); text-decoration: none; font-weight: 500; }
.m-menu-cart svg { width: 22px; height: 22px; color: var(--wheat-d); }
.m-menu-cart b { margin-left: auto; background: var(--wheat); color: var(--bark); border-radius: 12px; padding: 2px 9px; font-size: 13px; }
.m-menu-contacts { padding: 0 16px 86px; display: grid; gap: 6px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.m-menu-contacts a { font: 600 22px/1.2 var(--cond); color: var(--ink); text-decoration: none; }

/* мобильная плавающая стеклянная панель действий */
.m-bottombar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px;
  padding: 6px; border-radius: 16px;
  background: rgba(35, 27, 21, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.14); color: var(--white);
  box-shadow: 0 12px 28px rgba(20, 14, 10, .34);
}
.mb-btn {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 46px; padding: 5px 4px; text-decoration: none; border-radius: 11px;
  background: none; border: 0; font: 500 11px/1.1 var(--sans); color: #efe8df;
}
.mb-btn svg { width: 19px; height: 19px; flex: none; color: var(--wheat-l); }
.mb-wa svg { color: #3ddc84; }
.mb-cart { background: var(--wheat); color: var(--bark); font-weight: 600; }
.mb-cart svg { color: var(--bark); }
.mb-cart b { position: absolute; top: 3px; right: 14%; min-width: 17px; height: 17px; padding: 0 4px; font-size: 10.5px; line-height: 17px; background: var(--bark); color: var(--white); border-radius: 9px; }
body[data-page="product"] .m-bottombar { display: none; }

/* мобильная выдвижная шторка «Каталог» (выбор пола и категорий) */
.m-cat-overlay {
  position: fixed; inset: 0; z-index: 145;
  background: rgba(20, 14, 10, .58); opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.m-cat-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  max-height: 84vh; overflow-y: auto;
  background: var(--white); color: var(--ink);
  border-radius: 20px 20px 0 0;
  padding: 10px 16px calc(22px + env(safe-area-inset-bottom));
  box-shadow: 0 -14px 40px rgba(20, 14, 10, .28);
  transform: translateY(105%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
  visibility: hidden;
}
body.cat-sheet-open { overflow: hidden; }
body.cat-sheet-open .m-cat-overlay { opacity: 1; pointer-events: auto; }
body.cat-sheet-open .m-cat-sheet { transform: none; visibility: visible; }
.m-cat-handle { width: 40px; height: 4px; border-radius: 4px; background: #d6cbbd; margin: 2px auto 10px; }
.m-cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.m-cat-head h3 { margin: 0; font-size: 24px; }
.m-cat-head button { width: 42px; height: 42px; border: 0; background: var(--paper); border-radius: 50%; display: grid; place-items: center; color: var(--bark); }
.m-cat-head svg { width: 22px; height: 22px; }
.m-cat-gender {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 14px;
}
.m-cat-gender button {
  min-height: 40px; border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font: 600 15px/1 var(--cond); text-transform: uppercase; letter-spacing: .02em;
  transition: background-color .15s, color .15s;
}
.m-cat-gender button.on { background: var(--bark); color: var(--white); }
.m-cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.m-cat-tile {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white);
  text-decoration: none; color: var(--ink); min-height: 68px;
}
.m-cat-tile:active { background: var(--paper); }
.m-cat-tile.hot { background: #fdf3f1; border-color: #f0cbc4; }
.m-cat-tile.hot b { color: var(--red); }
.mc-img { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: var(--white); border-radius: 8px; overflow: hidden; }
.mc-img img, .mc-img svg { width: 100%; height: 100%; object-fit: contain; }
.mc-txt { display: grid; gap: 2px; min-width: 0; }
.mc-txt b { font: 600 14.5px/1.25 var(--cond); color: var(--bark); }
.mc-txt small { font-size: 12px; line-height: 1.3; color: var(--muted); }
.m-cat-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; }
.m-cat-foot a { color: var(--amber-ink); font-weight: 500; text-decoration: none; }

.topbar, .head, .navbar, .desk-dock { display: none; }

/* =========================================================
   ГЛАВНАЯ — Spotlight Hero + первый экран
   ========================================================= */
.hero {
  position: relative; overflow: hidden; color: var(--white); isolation: isolate;
  background: radial-gradient(ellipse at 82% 18%, #54412d 0%, transparent 58%), #241d17;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(ellipse at 95% -100%, transparent 0 64px, #eed6aa0d 65px 66px, transparent 67px 98px);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, 72%) var(--my, 42%), #f4c9850b, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; display: grid; gap: 12px; padding-top: 10px; padding-bottom: 16px; }

.m-usp-bar {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0;
}
.m-usp-bar span {
  padding: 4px 5px;
  border-bottom: 1px solid #ffffff36;
  font-size: 12px; line-height: 1.25; color: #f6efe4; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-usp-bar b { color: var(--wheat-l); font-weight: 700; }

.hero-text { text-align: center; }
.hero-eyebrow {
  display: none; font: 500 12.5px/1.3 var(--sans); letter-spacing: .02em;
  color: var(--wheat-l); margin-bottom: 8px;
}
.hero-text h1 { font: 700 clamp(23px, 6.2vw, 42px)/1.08 var(--cond); margin: 0 0 8px; letter-spacing: -.01em; color: var(--white); }
.hero-promo { font: 600 18px/1.25 var(--cond); color: var(--paper); margin-bottom: 8px; }
.hero-promo em { font-style: normal; color: var(--wheat-l); }
.hero-until { opacity: .92; }

.hero-timer {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px;
  margin-bottom: 10px; padding: 3px 0;
  font-size: 12.5px; line-height: 1.3; color: #f4ece1;
}
.hero-timer b {
  display: inline-flex; align-items: baseline; gap: 3px;
  background: #ffffff10; border: 1px solid #ffffff24; padding: 4px 6px; border-radius: 3px;
  font-weight: 600; color: var(--wheat-l);
}
.hero-timer i { font-style: normal; font-size: 15px; font-weight: 700; color: #ffffff; }

.hero-checks { display: none; list-style: none; padding: 0; margin: 0 0 16px; gap: 6px; text-align: left; }
.hero-checks li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; line-height: 1.4; color: #ede5da; }
.hero-checks svg { width: 17px; height: 17px; color: var(--wheat); flex: none; }
.hero-cta { display: none; flex-wrap: wrap; gap: 10px; }

.hero-showcase {
  background: #322a23; border: 1px solid #75644e;
  border-radius: 14px; padding: 12px 14px; display: grid; gap: 8px;
  backdrop-filter: blur(8px); overflow: hidden; min-width: 0; max-width: 100%;
}
.hero-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; min-width: 0;
  padding: 4px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.08);
}
.hero-tabs button {
  min-height: 32px; padding: 4px 6px; border: 0; border-radius: 7px;
  background: transparent; color: #d8cdc0; font: 600 12.5px/1.1 var(--cond);
  text-transform: uppercase; letter-spacing: .02em; transition: background-color .15s, color .15s;
}
.hero-tabs button.on { background: var(--wheat); color: var(--bark); }
.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; width: 100%; }
.hero-img {
  position: relative; width: 100%; height: 176px; display: grid; place-items: center; overflow: hidden;
  border-radius: 6px;
  background: radial-gradient(ellipse at 50% 86%, #ae9c81 0, transparent 30%),
    linear-gradient(115deg, #dcccb2, #efe4d2 57%, #d2c0a3);
}
.hero-num {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font: 700 clamp(68px, 22vw, 150px)/1 var(--cond); letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.25px #735c3a54;
  white-space: nowrap; pointer-events: none; user-select: none;
}
.hero-photo { position: relative; z-index: 2; width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; }
.hero-photo:focus-visible { outline-offset: -5px; }
.hero-photo img { max-width: 85%; max-height: 157px; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 5px 3px #33241638); animation: bootIn .28s ease-out both; }
@keyframes bootIn { from { opacity: .3; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.hero-offer { display: grid; gap: 8px; text-align: center; padding-top: 4px; }
.hero-offer-top { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-model { font: 600 16px/1.2 var(--cond); color: var(--white); text-decoration: none; }
.hero-disc { background: var(--red); color: var(--white); padding: 3px 8px; border-radius: 4px; font: 700 14px/1.1 var(--cond); }
.hero-prices { display: flex; justify-content: center; align-items: baseline; gap: 10px; }
.hero-price { font: 700 34px/1 var(--cond); color: var(--wheat-l); }
.hero-price small { font-size: 15px; font-weight: 500; color: #ede5da; }
.hero-old s { color: #cbbba8; font: 400 18px/1 var(--cond); }
.hero-sizes { display: none; justify-content: center; flex-wrap: wrap; gap: 4px; }
.hero-sizes a {
  min-width: 34px; height: 32px; display: grid; place-items: center; border-radius: 4px;
  background: rgba(255,255,255,.08); text-decoration: none; font-size: 13.5px; color: #f5efe6;
}
.hero-sizes a:hover { background: var(--wheat); color: var(--bark); }
.hero-offer-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-offer-btns .btn { min-height: 42px; padding: 8px 10px; }

/* мобильные быстрые категории под hero */
.m-quickcats {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
  padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.m-quickcats::-webkit-scrollbar { display: none; }
.m-quickcats a {
  flex: none; scroll-snap-align: start; padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  text-decoration: none; font: 600 13.5px/1.1 var(--cond); color: var(--bark); white-space: nowrap;
}
.m-quickcats a.hot { background: var(--red); border-color: var(--red); color: var(--white); }

/* полоса доверия / плюшки под героем */
.perks-wrap { background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 16px; }
.perks { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.perk {
  position: relative; background: var(--white); padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
}
.perk[data-spotlight]::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
  background: radial-gradient(240px circle at var(--sx, 50%) var(--sy, 50%), rgba(232, 163, 23, .13), transparent 70%);
}
.perk[data-spotlight]:hover::after { opacity: 1; }
.perk i {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white);
}
.perk i svg { width: 20px; height: 20px; }
.perk .i1 { background: var(--bark); color: var(--wheat-l); }
.perk .i2 { background: radial-gradient(circle at 35% 30%, #e4b574, #a86c2f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.perk .i3 { background: var(--green); }
.perk .i4 { background: var(--red); }
.perk b { display: block; font: 600 15px/1.25 var(--cond); color: var(--ink); }
.perk span { display: block; font-size: 12.5px; line-height: 1.38; color: var(--muted); margin-top: 2px; }

/* заголовки секций и табы фильтров */
.section { padding: 34px 0 14px; }
.section-title { text-align: center; font-size: clamp(24px, 4vw, 32px); margin-bottom: 20px; color: var(--ink); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(24px, 4vw, 34px); margin: 0 0 4px; color: var(--ink); }
.sec-head p { margin: 0; color: var(--muted); max-width: 58ch; font-size: 14.5px; line-height: 1.45; }
.sec-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.sec-tabs {
  display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
.sec-tabs button {
  min-height: 34px; padding: 0 13px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 13.5px/1 var(--cond); text-transform: uppercase; letter-spacing: .03em;
  transition: background-color .15s, color .15s;
}
.sec-tabs button:hover { color: var(--bark); }
.sec-tabs button.on { background: var(--bark); color: var(--white); }
.sec-all {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  text-decoration: none; font: 600 14px/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; color: var(--bark);
  transition: border-color .15s, background-color .15s;
}
.sec-all:hover { border-color: var(--wheat); background: var(--wheat); }
.more { text-align: center; padding: 20px 0 6px; }
.more .btn { min-width: 240px; }

/* рекламная плашка доставки */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #f3b52b 0%, var(--wheat) 65%, #dc960c 100%);
  color: var(--bark); padding: 24px 16px; margin: 22px 0 0;
  display: grid; gap: 12px; align-items: center;
}
.band-text { position: relative; z-index: 2; }
.band-text h2 { font-size: clamp(23px, 4vw, 32px); margin: 0 0 6px; color: var(--bark); }
.band-text p { margin: 0 0 14px; font-size: 15px; line-height: 1.45; max-width: 52ch; color: #362614; }
.band-img { display: none; }

/* =========================================================
   КАРТОЧКИ ТОВАРОВ
   ========================================================= */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card {
  position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left; min-width: 0;
  padding: 12px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #d6cbbd; }
.card-img { position: relative; isolation: isolate; display: block; width: 100%; aspect-ratio: 1 / 1; background: #f5f2ed; border-radius: 7px; overflow: hidden; }
.card-img img { mix-blend-mode: multiply; }
.card-img img, .card-img .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; transition: opacity .24s ease; }
.card-img .img-alt { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card-img .img-alt { opacity: 1; }
  .card:hover .card-img.has-alt img:not(.img-alt) { opacity: 0; }
}
.ph { display: grid; place-items: center; }
.ph .boot-svg { width: 88%; height: auto; }

.badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  padding: 4px 8px; border-radius: 5px;
  background: var(--red); color: var(--white);
  font: 700 13px/1.1 var(--cond); letter-spacing: .01em;
}
.p-img .badge { top: 14px; right: 14px; padding: 6px 11px; font-size: 18px; border-radius: 6px; }

.card-name { margin-top: 12px; font: 600 17px/1.15 var(--cond); text-decoration: none; color: var(--ink); }
.card-name:hover { color: var(--amber-ink); }
.card-sub { font-size: 12.5px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.card-low { font-size: 12px; line-height: 1.35; color: var(--amber-ink); font-weight: 600; margin-top: 3px; }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.card-price s { order: 1; margin-left: 3px; color: var(--muted); font-size: 13px; }
.card-price i { display: none; }
.card-price b { color: var(--red); font: 700 23px/1 var(--cond); }
.card-price span { color: var(--red); font-size: 13px; }
.card-sizes {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 8px 0 12px;
}
.card-sizes a {
  display: grid; place-items: center; min-width: 28px; min-height: 28px; padding: 0 4px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink);
  text-decoration: none; font-size: 12px; font-variant-numeric: tabular-nums; line-height: 1;
}
.card-sizes a:is(:hover, :focus-visible) { background: var(--bark); border-color: var(--bark); color: white; }

.card-actions {
  margin-top: auto; width: 100%;
  display: grid; grid-template-columns: 1fr 40px; gap: 6px;
}
.card-actions .btn { min-height: 40px; padding: 8px 6px; font-size: 13px; letter-spacing: .02em; }
.card-actions .btn-add { padding: 0; width: 40px; }
.card-actions .btn-add span { display: none; }

.card-all { justify-content: center; align-items: center; text-align: center; gap: 6px; text-decoration: none; background: var(--paper); min-height: 220px; }
.card-all b { font: 600 22px/1.15 var(--cond); }
.card-all span { color: var(--muted); font-size: 14px; }
.card-all svg { width: 40px; height: 40px; margin-top: 8px; border-radius: 50%; background: var(--wheat); color: var(--bark); padding: 8px; }
@media (max-width: 639px) {
  .grid > .card:last-child:nth-child(odd), .grid > .card-wide { grid-column: 1 / -1; }
  .grid > .card:last-child:nth-child(odd) .card-img, .grid > .card-wide .card-img { max-width: 60%; margin: 0 auto; }
}

/* =========================================================
   21st.dev BENTO GRID (доставка, доверие 2009, гарантия)
   ========================================================= */
.bento-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 38px 0; margin-top: 22px; }
.bento-head { text-align: center; max-width: 62ch; margin: 0 auto 22px; }
.bento-head h2 { font-size: clamp(25px, 4vw, 34px); margin-bottom: 6px; }
.bento-head p { margin: 0; color: var(--muted); line-height: 1.45; }
.bento-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bento-card {
  position: relative; overflow: hidden; border-radius: 14px; padding: 20px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.bento-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .22s;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(232, 163, 23, .14), transparent 65%);
}
.bento-card:hover::after { opacity: 1; }
.bento-dark { background: linear-gradient(145deg, #231b15 0%, #34271e 100%); color: var(--white); border: 1px solid rgba(255,255,255,.1); }
.bento-dark::after { background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgba(248, 208, 120, .18), transparent 65%); }
.bento-paper { background: var(--paper-2); border: 1px solid #dfd3c2; color: var(--ink); }
.bento-white { background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.bento-white:hover { border-color: #d7c9b6; box-shadow: var(--shadow-md); }
.bento-card h3 { font-size: 22px; margin: 0 0 6px; }
.bento-dark h3 { color: var(--wheat-l); }
.bento-card p { margin: 0; font-size: 14.5px; line-height: 1.48; opacity: .92; }
.bento-stat { font: 700 28px/1 var(--cond); color: var(--amber-ink); margin-bottom: 6px; }
.bento-note { margin-top: 8px !important; font-size: 13px !important; color: var(--muted); }
.bento-steps { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.bento-steps li { display: flex; gap: 12px; align-items: flex-start; }
.bento-steps span {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--wheat); color: var(--bark); font: 700 15px/28px var(--cond); text-align: center;
}
.bento-steps b { display: block; font: 600 15px/1.25 var(--cond); color: var(--white); }
.bento-steps small { display: block; font-size: 13px; line-height: 1.4; color: #ddd2c5; margin-top: 2px; }
.bento-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding-top: 4px; }
.bento-link {
  font: 600 14px/1.2 var(--cond); text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; color: var(--amber-ink);
}
.bento-link.light { color: var(--wheat-l); }
.bento-link:hover { text-decoration: underline; }

/* подборка размера с Border Beam */
.size-assist { padding: 28px 0; }
.sa-box {
  background: linear-gradient(135deg, var(--bark) 0%, var(--bark-2) 100%);
  color: var(--white); border-radius: 14px; padding: 22px 18px;
  display: grid; gap: 18px; align-items: center; box-shadow: var(--shadow-md);
}
.sa-copy h2 { font-size: clamp(25px, 4vw, 34px); color: var(--wheat-l); margin-bottom: 8px; }
.sa-copy p { margin: 0; color: #e8dfd4; max-width: 52ch; line-height: 1.48; }
.sa-form { background: var(--white); color: var(--ink); padding: 18px; border-radius: 10px; }

/* FAQ */
.faq-section { padding: 28px 0 36px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 14px 18px; transition: border-color .15s;
}
.faq-list details[open] { border-color: var(--wheat); background: var(--paper); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font: 600 17px/1.4 var(--cond); color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 600 22px/1 var(--sans); color: var(--wheat-d); flex: none; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 10px 0 2px; font-size: 14.5px; line-height: 1.5; color: var(--muted); max-width: 68ch; }

/* шоу-рум */
.showroom { background: var(--bark); color: var(--white); text-align: center; padding: 26px 16px 0; }
.sr-title { margin: 0; }
.sr-title small { display: block; font: 400 18px/1.2 var(--cond); text-transform: uppercase; letter-spacing: .05em; color: var(--wheat-l); }
.sr-title span { display: block; font: 600 32px/1.1 var(--cond); margin: 4px 0 18px; color: var(--white); }
.showroom .store-addr { background: var(--paper); color: var(--ink); margin: 0 -16px; padding: 22px 16px; }
.store-addr { text-align: center; display: grid; gap: 10px; justify-items: center; }
.sa-line { display: inline-flex; align-items: flex-start; gap: 8px; font: 600 20px/1.35 var(--cond); text-decoration: underline; text-underline-offset: 4px; color: var(--bark); text-align: left; }
.sa-line svg { width: 24px; height: 24px; color: var(--wheat-d); flex: none; }
.sa-hours { font-style: italic; color: var(--ink); }
.sa-phone { font: 600 28px/1.1 var(--cond); text-decoration: none; color: var(--bark); }
.sa-metro { font: 500 17px/1.4 var(--cond); }
.metro { white-space: nowrap; font-weight: 600; }
.metro i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 4px; vertical-align: 1px; }

/* цвета на главной */
.home-colors { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 6px; padding: 0 8px 10px; }
.home-colors a { display: grid; justify-items: center; gap: 5px; width: 76px; text-decoration: none; font-size: 12.5px; color: var(--muted); }
.home-colors a:hover { color: var(--ink); }
.home-colors i { width: 44px; height: 24px; border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }

/* SEO текст */
.seo { padding: 26px 0 34px; color: #4b4540; font-size: 14px; line-height: 1.55; border-top: 1px solid var(--line); }
.seo h2 { font-size: 20px; }
.seo p { max-width: 75ch; }

/* =========================================================
   КАТАЛОГ
   ========================================================= */
.page-head { text-align: center; padding: 14px 16px 6px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; text-transform: uppercase; font: 500 15px/1 var(--cond); letter-spacing: .03em; color: var(--ink); margin-bottom: 4px; }
.back-link svg, .m-back svg { width: 20px; height: 20px; color: var(--muted); }
.page-head h1 { font-size: 26px; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.cat-count { color: var(--muted); margin-top: 4px; font-size: 14px; }

/* Bootwood-стиль верхней навигации каталога */
.cat-quicknav { padding-top: 6px; padding-bottom: 6px; }
.cat-gender-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px;
  border-radius: 12px; background: var(--paper); border: 1px solid var(--line);
}
.cat-gender-tabs button {
  min-height: 38px; padding: 6px 8px; border: 0; border-radius: 8px; background: transparent;
  font: 600 14px/1 var(--cond); text-transform: uppercase; letter-spacing: .02em; color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: background-color .15s, color .15s;
}
.cat-gender-tabs button span { font: 500 12px/1 var(--sans); opacity: .75; }
.cat-gender-tabs button.on { background: var(--bark); color: var(--white); }
.cat-gender-tabs button.on span { opacity: .9; color: var(--wheat-l); }

.cat-stories {
  display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 12px 2px 6px;
  scroll-snap-type: x proximity;
}
.cat-stories::-webkit-scrollbar { display: none; }
.cat-story {
  flex: none; scroll-snap-align: start; background: none; border: 0; padding: 0;
  width: 72px; display: grid; justify-items: center; gap: 6px; text-align: center;
}
.cs-img {
  width: 62px; height: 62px; border-radius: 50%; background: var(--white);
  border: 1.5px solid var(--line); overflow: hidden; display: grid; place-items: center; padding: 6px;
  transition: border-color .16s, box-shadow .16s;
}
.cs-img img { width: 100%; height: 100%; object-fit: contain; }
.cat-story span:last-child { font: 500 12px/1.25 var(--sans); color: var(--muted); }
.cat-story.on .cs-img { border-color: var(--wheat); box-shadow: 0 0 0 2px rgba(232,163,23,.28); }
.cat-story.on span:last-child { color: var(--bark); font-weight: 600; }

.cat-tools { position: sticky; top: 56px; z-index: 25; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 16px; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.cat-tools button { order: 2; padding: 0 14px; }
.cat-tools select { order: 1; }
.cat-tools button, .cat-tools select { height: 42px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r); padding: 0 12px; }
.cat-tools button { display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 500; }
.cat-tools button svg { width: 18px; height: 18px; color: var(--wheat-d); }
#filter-count:not(:empty) { background: var(--wheat); color: var(--bark); border-radius: 10px; padding: 1px 7px; font-size: 12px; font-weight: 700; }

.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 4px; }
.cat-tags:empty { display: none; }
.cat-tag, .cat-tag-reset {
  display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 4px 10px;
  border-radius: 999px; font: 500 13px/1.2 var(--sans);
}
.cat-tag { background: var(--paper); border: 1px solid var(--line); color: var(--bark); }
.cat-tag i { font-style: normal; color: var(--red); font-weight: 700; }
.cat-tag-reset { background: none; border: 0; color: var(--amber-ink); text-decoration: underline; padding: 4px 6px; }

.cat-layout { display: block; padding-bottom: 30px; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 16px; color: var(--muted); }

/* триггеры в сетке на мобильном */
.grid-trg { grid-column: 1 / -1; padding: 8px 0; }
.p-trg { margin: 14px 0 4px; }
body[data-page="product"] .p-trg { display: none; }
.triggers { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.trg { background: var(--paper); padding: 14px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.trg i { width: 36px; height: 36px; border-radius: 50%; background: var(--bark); color: var(--wheat); display: grid; place-items: center; margin-bottom: 6px; }
.trg i svg { width: 18px; height: 18px; }
.trg b { font: 600 15px/1.25 var(--cond); color: var(--ink); }
.trg span { font-size: 12px; line-height: 1.38; color: var(--muted); }

/* фильтр — выезжающая панель на телефоне */
.filters { position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(92vw, 380px); background: var(--white); transform: translateX(102%); transition: transform .25s ease; overflow-y: auto; padding: 0 16px 90px; }
body.filters-open { overflow: hidden; }
body.filters-open .filters { transform: none; box-shadow: -10px 0 40px rgba(0,0,0,.25); }
.f-head { position: sticky; top: 0; background: var(--white); display: flex; align-items: center; gap: 10px; padding: 16px 0 10px; border-bottom: 1px solid var(--line); z-index: 2; }
.f-head h3 { font-size: 24px; margin: 0; flex: 1; }
.f-reset { display: inline-flex; align-items: center; gap: 2px; background: none; border: 0; color: var(--ink); font-size: 14px; }
.f-reset svg { width: 16px; height: 16px; color: var(--red); }
.f-close { background: none; border: 0; padding: 4px; min-width: 44px; min-height: 44px; display: grid; place-items: center; }
.f-close svg { width: 24px; height: 24px; }
.f-group { padding: 14px 0 6px; }
.f-group h4 { font: 600 15px/1.2 var(--sans); margin-bottom: 8px; }
.cb, .rb { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; position: relative; min-height: 40px; }
.cb input, .rb input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cb i, .rb i { flex: none; width: 20px; height: 20px; border: 1px solid #bfb7ac; border-radius: 3px; background: var(--white); display: grid; place-items: center; }
.rb i { border-radius: 50%; }
.cb input:checked + i { background: var(--wheat); border-color: var(--wheat); }
.cb input:checked + i::after { content: ''; width: 5px; height: 10px; border: solid var(--bark); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.rb input:checked + i::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--wheat); }
.cb em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.cb.dis { opacity: .4; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 30px; height: 30px; border: 1px solid rgba(0,0,0,.22); border-radius: 4px; padding: 0; }
.sw.on { outline: 2px solid var(--wheat); outline-offset: 2px; }
.sw:disabled { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-width: 44px; height: 38px; border: 1px solid var(--line); background: var(--white); border-radius: var(--r); }
.chip.on { background: var(--bark); border-color: var(--bark); color: var(--white); }
.chip:disabled { opacity: .35; }
.f-apply { position: fixed; bottom: 16px; right: 16px; width: calc(min(92vw, 380px) - 32px); z-index: 121; }
body:not(.filters-open) .f-apply { display: none; }

/* =========================================================
   ТОВАР
   ========================================================= */
.product-page { padding-bottom: 20px; }
.crumbs { display: none; font-size: 13px; color: var(--muted); padding: 18px 0 10px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.m-back { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0 2px; text-decoration: none; text-transform: uppercase; font: 500 15px/1 var(--cond); }
.p-title { font-size: 24px; text-align: center; margin: 4px 0 14px; }
.p-layout { display: flex; flex-direction: column; gap: 0; }
.p-media { position: relative; order: 1; }
.p-buy { padding: 14px 0; order: 2; }
.p-feats {
  list-style: none; margin: 8px 0 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); order: 3;
}

.p-img { position: relative; border: 1px solid var(--line); border-radius: var(--r-lg); aspect-ratio: 1.12 / 1; display: grid; place-items: center; background: var(--white); overflow: hidden; }
.p-img > img, .p-img > .ph { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.p-gallery-track {
  display: flex; width: 100%; height: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.p-gallery-track::-webkit-scrollbar { display: none; }
.p-slide { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 4%; }
.p-slide img { width: 100%; height: 100%; object-fit: contain; }
.p-dots { display: flex; justify-content: center; gap: 2px; }
.p-dots button { width: 38px; height: 34px; padding: 0; display: grid; place-items: center; border: 0; background: transparent; }
.p-dots button::after { content: ''; width: 7px; height: 7px; border-radius: 4px; background: #81786c; }
.p-dots button.on::after { width: 22px; background: #8d5a12; }
.thumbs { display: none; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.thumbs button {
  padding: 3px; width: 68px; height: 68px; flex: none;
  border: 1.5px solid var(--line); border-radius: var(--r); background: var(--white);
  transition: border-color .15s;
}
.thumbs button.on { border-color: var(--wheat); box-shadow: 0 0 0 1px var(--wheat); }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; }

.p-feats li { display: grid; grid-template-columns: 34px 1fr; align-items: center; text-align: left; gap: 8px; font-size: 12.5px; line-height: 1.35; color: #4b4540; }
.p-feats .flag { width: 34px; height: 18px; margin: 0; }
.p-feats i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--white); flex: none; }
.p-feats i svg { width: 18px; height: 18px; }
.feat-mat { background: radial-gradient(circle at 35% 35%, #d9a463, #9d6a33); }
.feat-ok { background: var(--green); }
.feat-pin { background: none !important; color: var(--wheat-d) !important; }
.feat-pin svg { width: 30px !important; height: 30px !important; }
.feat-ret { background: var(--red); position: relative; }
.feat-ret::after { content: ''; width: 16px; height: 16px; border: 3px solid var(--white); border-radius: 50%; border-top-color: transparent; }

.p-price { display: flex; align-items: baseline; gap: 14px; }
.p-price b { color: var(--red); font: 700 40px/1 var(--cond); }
.p-price s { font: 400 22px/1 var(--cond); color: var(--muted); }
.p-save { color: var(--ok-ink); font-weight: 600; font-size: 14px; margin-top: 6px; }
.p-promo { color: var(--amber-ink); font-weight: 600; margin-top: 8px; }
.p-stock { display: flex; align-items: center; gap: 6px; margin: 10px 0; color: #4b4540; font-size: 14px; }
.p-stock svg { width: 18px; height: 18px; color: var(--green); }
.p-delivery-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 12px 14px; margin: 10px 0 4px; display: grid; gap: 3px;
}
.p-delivery-box b { font: 600 15px/1.3 var(--cond); color: var(--bark); }
.p-delivery-box span { font-size: 13px; line-height: 1.4; color: var(--muted); }

.p-size-label { font-size: 14px; color: var(--muted); margin-top: 12px; }
.p-buy .sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(42px, 1fr)); gap: 6px; max-width: 420px; margin: 8px 0 6px; }
.sizes button { min-width: 42px; height: 46px; border: 1px solid #cfc8bd; background: var(--white); border-radius: var(--r); font-size: 16px; transition: background-color .15s, border-color .15s, transform .1s; }
.sizes button:hover { border-color: var(--bark); }
.sizes button.on { background: var(--bark); color: var(--white); border-color: var(--bark); }
.sizes.big button { min-width: 56px; height: 52px; font-size: 18px; }
.unsure { font-size: 14px; }
.size-help { display: inline-block; font-size: 14px; margin: 4px 0 14px; }
.p-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-bottom: 8px; }
.p-mini { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; color: #4b4540; }
.p-mini li { display: flex; gap: 8px; align-items: center; }
.p-mini svg { width: 18px; height: 18px; color: var(--wheat-d); flex: none; }
.p-info { display: grid; gap: 18px; padding-top: 16px; }
.p-info h2 { font-size: 22px; }
.p-info p { max-width: 70ch; line-height: 1.5; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs td, .specs th { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.specs td:first-child { color: var(--muted); }
.specs th { font-weight: 600; background: var(--paper); }

/* sticky кнопка купить на телефоне */
.p-sticky {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 56;
  display: flex; gap: 10px; align-items: center; border-radius: 14px;
  padding: 10px 12px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px rgba(25,18,12,.18);
  transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.p-sticky.away { transform: translateY(140%); box-shadow: none; pointer-events: none; }
.p-sticky-call {
  width: 44px; height: 44px; border-radius: 10px; background: var(--bark); color: var(--wheat);
  display: grid; place-items: center; flex: none; text-decoration: none;
}
.p-sticky-call svg { width: 20px; height: 20px; }
.p-sticky b { color: var(--red); font: 700 24px/1 var(--cond); white-space: nowrap; }
.p-sticky .btn { flex: 1; }
.product-body { padding-bottom: 20px; }

/* =========================================================
   КОРЗИНА
   ========================================================= */
.c-layout { display: grid; gap: 18px; padding-bottom: 30px; }
.c-row { display: grid; grid-template-columns: 90px 1fr auto; grid-template-areas: "img info del" "img qty sum"; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.c-img { grid-area: img; aspect-ratio: 1 / 1; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.c-img .ph, .c-img img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.c-info { grid-area: info; display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.c-info a { color: var(--ink); font: 600 16px/1.25 var(--cond); text-decoration: none; }
.c-info select { margin-left: 4px; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 6px; background: var(--white); min-height: 36px; }
.c-qty { grid-area: qty; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); justify-self: start; }
.c-qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 18px; }
.c-qty span { min-width: 26px; text-align: center; }
.c-sum { grid-area: sum; color: var(--red); font: 700 20px/1 var(--cond); white-space: nowrap; }
.c-del { grid-area: del; background: none; border: 0; color: var(--muted); padding: 4px; min-width: 44px; min-height: 44px; display: grid; place-items: center; align-self: start; }
.c-del svg { width: 20px; height: 20px; }
.c-form { background: var(--paper); border: 1px solid var(--line); padding: 20px 16px; border-radius: var(--r-lg); display: grid; gap: 10px; align-content: start; }
.c-form h3 { margin: 10px 0 0; font-size: 20px; }
.c-total { display: flex; justify-content: space-between; align-items: baseline; }
.c-total b { color: var(--red); font: 700 30px/1 var(--cond); }
.c-form.pickup [name=address] { display: none; }
input:not([type=checkbox]):not([type=radio]), textarea, select.f { width: 100%; padding: 12px; border: 1px solid #d8d0c4; border-radius: var(--r); background: var(--white); }
input:focus, textarea:focus { border-color: #896026; }
.radios { display: grid; font-size: 14px; }
.empty-cart { text-align: center; padding: 40px 16px 60px; }
.empty-cart .ph { width: 180px; margin: 0 auto 10px; opacity: .6; }

/* =========================================================
   КОНТАКТЫ, ИНФО-СТРАНИЦЫ
   ========================================================= */
.contacts-top { padding: 24px 16px; }
.map { position: relative; height: 340px; background: #e9e4dc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d8d0c4' stroke-width='1'/%3E%3C/svg%3E"); }
.map-img { display: block; height: 100%; }
.map-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-osm { position: absolute; right: 0; bottom: 0; padding: 2px 6px; background: rgba(255,255,255,.85); color: var(--bark); font-size: 11px; line-height: 1.4; pointer-events: none; }
.map-stub { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; text-decoration: none; text-align: center; padding: 20px; }
.map-stub svg { width: 52px; height: 52px; color: var(--wheat-d); }
.map-stub b { font: 600 22px/1.2 var(--cond); }
.map-stub span { color: var(--white); background: var(--bark); padding: 10px 18px; border-radius: var(--r); font: 500 15px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; margin-top: 8px; }
.map-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; padding: 14px 16px 0; }
.map-links a { flex: 1; min-width: 140px; max-width: 220px; }
.store-notes { text-align: center; padding: 18px 16px 30px; font: 500 17px/1.4 var(--cond); }
.store-notes p { margin: 4px 0; }

.text-page { padding-top: 10px; padding-bottom: 40px; }
.text-page h1 { font-size: 28px; text-transform: uppercase; text-align: center; margin: 16px 0 18px; }
.text-page h2 { font-size: 22px; margin-top: 26px; }
.text-page p, .text-page li { max-width: 70ch; }
.text-page .note { background: #fbf3e2; border: 1px solid #f0dfb9; border-radius: var(--r); padding: 12px 16px; }
.steps { padding-left: 20px; }
.colors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 24px; }
.color-tile { display: grid; justify-items: center; text-align: center; padding: 14px 10px 16px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; background: var(--white); transition: box-shadow .16s, border-color .16s; }
.color-tile:hover { box-shadow: var(--shadow-sm); border-color: var(--wheat); }
.color-tile .ph { width: 100%; aspect-ratio: 1 / 1; }
.color-tile .ph img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.color-tile b { font: 600 17px/1.2 var(--cond); margin-top: 6px; }
.color-tile span { font-size: 13px; color: var(--muted); }
.review-form { display: grid; gap: 10px; max-width: 520px; }

/* =========================================================
   БЫСТРАЯ ЗАЯВКА И ПОДВАЛ
   ========================================================= */
.quick { background: var(--paper-2); color: var(--ink); padding: 34px 0; margin-top: 20px; border-top: 1px solid var(--line); }
.quick-inner { display: grid; gap: 16px; }
.quick h2 { font-size: 28px; margin: 0 0 6px; color: var(--bark); }
.quick p { margin: 0; color: var(--muted); max-width: 52ch; line-height: 1.5; }
.quick .quick-form { background: var(--white); padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }

.benefits-strip { display: none; }
.benefits-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.benefits-strip div { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.38; }
.benefits-strip svg { width: 22px; height: 22px; color: var(--wheat-d); flex: none; }

.footer { background: var(--bark); color: #d9cfc4; padding: 18px 0 0; font-size: 13.5px; }
.footer .wrap:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.f-brand, .f-store { grid-column: 1 / -1; }
.footer .logo { display: inline-flex; padding: 0; color: var(--white); margin-bottom: 4px; }
.f-links a { display: block; color: #d9cfc4; text-decoration: none; padding: 2px 0; font-size: 13.5px; line-height: 1.35; }
.f-links a:hover, .f-store a:hover { color: var(--wheat); }
.f-col h4 { color: var(--white); font-size: 15px; margin: 0 0 5px; }
.f-col p { margin: 0 0 4px; font-size: 13px; line-height: 1.38; }
.f-dealer { color: var(--wheat-l); margin: 0 !important; }
.f-store { padding-top: 10px; border-top: 1px solid rgba(255,255,255,.1); display: grid; gap: 6px; }
.f-store p { margin: 0; }
.f-metro { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.f-contact-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.f-phone { font: 600 20px/1.2 var(--cond) !important; color: var(--white) !important; text-decoration: none; }
.f-mail { font-size: 13px; color: #cabfb2; text-decoration: none; }
.f-bottom { display: flex; flex-wrap: wrap; gap: 4px 14px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 12px; padding: 10px 16px 76px; font-size: 12px; line-height: 1.4; color: #a3988c; }
.f-bottom a { color: inherit; }

/* мессенджеры */
.msgs { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); color: var(--ink); text-decoration: none; font: 500 14px/1 var(--sans); }
.msg svg { width: 20px; height: 20px; flex: none; }
.msg-wa svg { color: #128c4b; }
.msg-tg svg { color: #1a85b8; }
.msg:hover { border-color: #cfc5b8; }
.msgs-inline { margin-top: 10px; }
.store-addr .msgs-inline { justify-content: center; }
.msgs-menu { margin-top: 12px; }
.msgs-menu .msg { flex: 1; justify-content: center; }
.msgs-foot { margin: 2px 0 0; gap: 8px; }
.footer .msgs-foot .msg { min-height: 36px; padding: 0 12px; font-size: 13px; background: transparent; border-color: rgba(255,255,255,.2); color: var(--white); }
.footer .msgs-foot .msg:hover { border-color: rgba(255,255,255,.45); }
.footer .msg-wa svg { color: #3ddc84; }
.footer .msg-tg svg { color: #4cb8ee; }

/* модальное окно и тост */
.modal { position: fixed; inset: 0; z-index: 200; background: rgba(20,14,10,.6); display: none; align-items: flex-end; justify-content: center; }
.modal.open { display: flex; }
body:has(.modal.open) { overflow: hidden; }
.modal.open .modal-box { max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain; }
.modal-box { position: relative; background: var(--white); width: 100%; max-width: 460px; border-radius: 12px 12px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); animation: up .22s ease; }
@keyframes up { from { transform: translateY(30px); opacity: 0; } }
.modal-x { position: absolute; top: 6px; right: 6px; background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; }
.modal-x svg { width: 22px; height: 22px; }
.modal h3 { font-size: 24px; padding-right: 36px; }
.phone-form { display: grid; gap: 10px; margin-top: 10px; }
.added { display: grid; gap: 10px; text-align: center; justify-items: center; }
.added i { width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; }
.added i svg { width: 28px; height: 28px; }
.added h3 { margin: 4px 0 0; font-size: 24px; padding: 0; }
.added p { margin: 0 0 6px; }
.added .btn { width: 100%; }
.modal .sizes.big { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; }
.modal .sizes.big button { min-width: 0; }
.order-done { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 30px 0; }
.order-done i { width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; }
.order-done i svg { width: 34px; height: 34px; }
.order-num b { font-size: 18px; }
.toast { position: fixed; left: 50%; bottom: 84px; z-index: 300; transform: translate(-50%, 20px); background: var(--bark); color: var(--white); padding: 12px 18px; border-radius: 6px; opacity: 0; pointer-events: none; transition: .2s; white-space: nowrap; font-size: 15px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* =========================================================
   ПЛАНШЕТ
   ========================================================= */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .card-actions { grid-template-columns: 1fr 1fr; }
  .card-actions .btn-add { width: auto; padding: 8px 6px; }
  .card-actions .btn-add span { display: inline; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .benefits-strip .wrap { grid-template-columns: repeat(4, 1fr); }
  .colors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer .wrap:first-child { grid-template-columns: 1fr 1fr; }
  .modal { align-items: center; }
  .modal-box { border-radius: var(--r-lg); }
}

/* =========================================================
   ПК (3-ярусная шапка с 4 УТП, плавающий стеклянный навбар,
       21st.dev Bento и док, весь первый экран <= 900 px)
   ========================================================= */
@media (min-width: 1024px) {
  .m-head, .m-quicksearch, .m-menu, .m-overlay, .m-back, .m-bottombar, .m-usp-bar, .m-quickcats, .m-cat-overlay, .m-cat-sheet { display: none !important; }
  .wrap { padding: 0 24px; }
  .perks-wrap { padding: 12px 24px; }

  /* ярус 1: топбар */
  .topbar { display: block; background: var(--bark); color: #e9e2d8; font-size: 13px; }
  .topbar .wrap { display: flex; align-items: center; gap: 18px; height: 34px; }
  .topbar nav { display: flex; gap: 22px; }
  .topbar nav a { text-decoration: none; font: 500 12px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
  .topbar nav a:hover { color: var(--wheat-l); }
  .topbar .msgs-top { margin-left: auto; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px; flex: none; }
  .topbar .msgs-top .msg { min-height: 28px; height: 28px; width: 28px; justify-content: center; padding: 0; border: 0; background: none; color: #eee; }
  .topbar .msgs-top .msg svg { width: 16px; height: 16px; }
  .topbar .msgs-top .msg-wa svg { color: #3ddc84; }
  .topbar .msgs-top .msg-tg svg { color: #4cb8ee; }
  .btn-call {
    display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 16px;
    background: var(--red); border: 0; color: var(--white); white-space: nowrap;
    font: 600 12px/1 var(--cond); text-transform: uppercase; letter-spacing: .04em;
  }
  .btn-call:hover { background: #b1301e; }
  .btn-call svg { width: 14px; height: 14px; }

  /* ярус 2: лого + 4 УТП шапки + телефон */
  .head { display: block; background: var(--white); border-bottom: 1px solid var(--line); }
  .head .wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
  .head .logo { color: var(--bark); flex: none; }
  .head .logo-word { font-size: 28px; }
  .head .logo-sub { font-size: 11px; color: var(--muted); opacity: 1; }
  .head-info { flex: 1; display: flex; justify-content: space-evenly; gap: 12px; }
  .hi { display: flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); }
  .hi:hover b { color: var(--amber-ink); }
  .hi i {
    flex: none; width: 32px; height: 32px; border-radius: 8px;
    background: var(--paper); border: 1px solid var(--line);
    color: var(--wheat-d); display: grid; place-items: center;
  }
  .hi i svg { width: 17px; height: 17px; }
  .hi b { display: block; font: 600 13.5px/1.2 var(--cond); color: var(--bark); white-space: nowrap; }
  .hi small { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
  .head-phone { flex: none; text-align: right; white-space: nowrap; }
  .head-phone small { display: block; font-size: 11px; line-height: 1.25; color: var(--muted); }
  .head-phone a { font: 700 20px/1.1 var(--cond); color: var(--bark); text-decoration: none; }
  .head-phone a:hover { color: var(--amber-ink); }
  @media (max-width: 1160px) {
    .head-info { gap: 8px; }
    .hi i { display: none; }
  }

  /* ярус 3: липкий / плавающий стеклянный навбар */
  .navbar {
    display: block; position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
    transition: top .22s ease, padding .22s ease, background-color .22s ease;
  }
  .navbar .wrap {
    display: flex; align-items: stretch; gap: 12px; height: 54px; position: relative;
    transition: max-width .22s ease, border-radius .22s ease, box-shadow .22s ease, background-color .22s ease, padding .22s ease;
  }
  .orig { display: flex; flex-direction: column; justify-content: center; margin-right: 12px; flex: none; }
  .orig b { font: 600 12.5px/1.2 var(--sans); color: var(--bark); }
  .orig span { font-size: 11.5px; line-height: 1.25; color: var(--muted); }
  .nav-mini-logo { display: none; align-self: center; font: 700 22px/1 Georgia, 'Times New Roman', serif; letter-spacing: -.02em; color: var(--bark); text-decoration: none; margin-right: 10px; }
  .nav-phone-mini { display: none; align-items: center; gap: 6px; font: 600 15px/1 var(--cond); color: var(--bark); text-decoration: none; white-space: nowrap; }
  .nav-phone-mini svg { width: 15px; height: 15px; color: var(--wheat-d); }

  body.scrolled .navbar { top: 10px; background: transparent; border-bottom-color: transparent; padding: 0 16px; pointer-events: none; }
  body.scrolled .navbar .wrap {
    pointer-events: auto; max-width: 1200px; height: 54px; border-radius: 16px; padding: 0 14px 0 18px; gap: 8px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(35, 27, 21, .11);
    box-shadow: 0 12px 32px rgba(35, 27, 21, .12);
  }
  body.scrolled .orig { display: none; }
  body.scrolled .nav-mini-logo { display: inline-block; }
  body.scrolled .nav-phone-mini { display: inline-flex; }

  .nav { list-style: none; display: flex; margin: 0; padding: 0; }
  .nav > li > a { display: flex; align-items: center; height: 100%; padding: 0 13px; text-decoration: none; font: 600 14px/1 var(--cond); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
  .nav > li > a.red { color: var(--red); }
  .nav > li:hover > a, .nav > li.active > a { background: var(--wheat); color: var(--bark); }
  body.scrolled .nav > li > a { border-radius: 10px; margin: 7px 2px; height: 40px; padding-inline: 9px; }

  .mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); box-shadow: 0 20px 34px rgba(35,27,21,.12); border-top: 1px solid var(--line); border-radius: 0 0 14px 14px; display: none; }
  .has-mega:is(:hover, :focus-within) .mega { display: block; }
  .mega-inner { display: grid; grid-template-columns: 1fr 1fr; padding: 24px; }
  .navbar .mega-inner { height: auto; }
  .mega-col + .mega-col { border-left: 1px solid var(--line); padding-left: 40px; }
  .mega-title { font: 600 18px/1 var(--cond); margin-bottom: 18px; }
  .mega-items { display: flex; flex-wrap: wrap; gap: 24px; }
  .mega-item { width: 112px; }
  .mega-item > a { display: block; text-decoration: none; font-size: 13px; }
  .mega-item > a:hover span { color: var(--wheat-d); }
  .mega-item .boot-svg { width: 112px; height: auto; }
  .dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
  .dot:hover { transform: scale(1.2); }

  .navbar .d-search { display: flex; align-items: center; gap: 4px; margin-left: auto; }
  .navbar .d-search input {
    width: 158px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--paper); font-size: 13.5px; line-height: 1.2;
    transition: width .2s, border-color .2s, background-color .2s; -webkit-appearance: none; appearance: none;
  }
  .navbar .d-search input:focus { width: 195px; border-color: var(--wheat); background: var(--white); }
  .navbar .d-search button { background: none; border: 0; color: var(--bark); width: 38px; height: 38px; display: grid; place-items: center; border-radius: 8px; flex: none; }
  .navbar .d-search button:hover { background: var(--paper); }
  .navbar .d-search svg { width: 19px; height: 19px; }

  .d-cart { position: relative; width: 52px; display: grid; place-items: center; background: var(--wheat); color: var(--bark); border-radius: 10px; margin: 7px 0; flex: none; }
  .d-cart:hover { background: #f2ae22; }
  .d-cart svg { width: 22px; height: 22px; }
  .d-cart b { position: absolute; top: 4px; right: 4px; background: var(--bark); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; font-size: 10.5px; color: var(--white); }

  /* hero ПК — сбалансировано, чтобы шапка + hero + 4 плюшки <= 900 px */
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; padding-top: 24px; padding-bottom: 26px; }
  .hero-text { text-align: left; }
  .hero-text h1 { font-size: clamp(42px, 4vw, 58px); line-height: 1.01; letter-spacing: -.025em; margin-bottom: 16px; }
  .hero-promo { font-size: 26px; margin-bottom: 12px; }
  .hero-timer { justify-content: flex-start; margin-bottom: 14px; }
  .hero-checks { display: grid; justify-content: flex-start; margin-bottom: 18px; }
  .hero-cta { display: flex; justify-content: flex-start; }
  .hero-showcase { padding: 14px 18px 16px; gap: 8px; }
  .hero-tabs button { min-height: 32px; font-size: 13px; }
  .hero-img { height: 235px; }
  .hero-num { font-size: clamp(150px, 14vw, 210px); }
  .hero-photo img { max-width: 86%; max-height: 216px; }
  .hero-offer { gap: 8px; padding-top: 10px; }
  .hero-sizes { display: flex; }

  .perk { flex-direction: row; text-align: left; justify-content: flex-start; gap: 12px; padding: 16px 16px; }
  .perk b { font-size: 15.5px; }

  .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .band {
    max-width: 1152px; margin: 28px auto 0; border-radius: var(--r-lg);
    padding: 26px 46px; grid-template-columns: 1fr 290px;
  }
  .band-img { display: block; width: 100%; transform: rotate(-10deg); filter: drop-shadow(0 16px 14px rgba(60,30,0,.35)); }

  /* 12-колоночный асимметричный Bento Grid на ПК */
  .bento-grid { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .bento-card { padding: 24px; }
  .bento-span-7 { grid-column: span 7; }
  .bento-span-5 { grid-column: span 5; }
  .bento-span-4 { grid-column: span 4; }

  .sa-box { grid-template-columns: 1.1fr .9fr; padding: 34px 40px; gap: 36px; }

  .showroom { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; text-align: left; padding: 0; background: var(--white); color: var(--ink); max-width: 1152px; margin: 28px auto; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
  .showroom > div:first-child { background: var(--bark); color: var(--white); padding: 40px; display: flex; flex-direction: column; justify-content: center; }
  .showroom .store-addr { margin: 0; padding: 32px; justify-items: start; text-align: left; }
  .showroom .store-addr .msgs-inline { justify-content: flex-start; }

  /* каталог ПК */
  .page-head { text-align: left; padding: 22px 24px 10px; display: flex; align-items: baseline; gap: 16px; }
  .page-head .back-link { display: none; }
  .page-head h1 { text-transform: none; font-size: 32px; font-weight: 600; }
  .cat-quicknav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-bottom: 14px; }
  .cat-gender-tabs { width: auto; flex: none; }
  .cat-gender-tabs button { padding: 6px 16px; }
  .cat-stories { padding: 4px 2px; flex: 1; }
  .cat-layout { display: grid; grid-template-columns: 256px 1fr; gap: 28px; align-items: start; padding-bottom: 44px; }
  .filters { position: sticky; inset: 82px auto auto; width: auto; transform: none; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 18px 18px; max-height: calc(100vh - 102px); overflow-y: auto; }
  .grid-trg, .p-trg { display: none; }
  .f-head { justify-content: center; position: static; }
  .f-close, .f-apply { display: none !important; }
  .cat-tools { position: static; display: flex; justify-content: flex-end; padding: 0 0 12px; border: 0; background: none; }
  .cat-tools button { display: none; }
  .cat-tools select { width: 230px; }
  .cat-tags { padding: 0 0 14px; }
  .cat-wrap .grid { grid-template-columns: repeat(3, 1fr); }

  /* товар ПК */
  .crumbs { display: block; }
  .p-title { text-align: left; font-size: 32px; margin: 6px 0 22px; }
  .p-layout { display: grid; grid-template-columns: 1fr 195px 320px; gap: 0 26px; align-items: start; }
  .p-media { order: 0; }
  .p-gallery-track { overflow: hidden; scroll-snap-type: none; scroll-behavior: auto; }
  .p-dots { display: none; }
  .thumbs { display: flex; }
  .p-feats { order: 0; grid-template-columns: 1fr; margin: 0; padding: 16px 14px; gap: 18px; }
  .p-feats li { font-size: 13px; gap: 10px; }
  .p-buy { order: 0; padding: 0; }
  .p-price b { font-size: 46px; }
  .p-info { grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 40px; }
  .p-sticky { display: none; }
  .product-body { padding-bottom: 0; }

  /* корзина ПК */
  .c-layout { grid-template-columns: 1fr 390px; gap: 36px; align-items: start; }
  .c-row { grid-template-columns: 110px 1fr 125px 120px 36px; grid-template-areas: "img info qty sum del"; }
  .c-sum { text-align: right; }
  .c-del { align-self: center; }
  .c-form { position: sticky; top: 82px; }

  .contacts-wrap { display: grid; grid-template-columns: 420px 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin: 20px auto 10px; }
  .contacts-top { display: grid; align-content: center; }
  .map { height: 460px; }
  .colors-grid { grid-template-columns: repeat(5, 1fr); }

  .quick-inner { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .quick h2 { font-size: 34px; }

  .benefits-strip { display: block; border-top: 1px solid var(--line); padding: 14px 0; background: var(--white); }
  .footer { padding: 26px 0 0; font-size: 14px; }
  .footer .wrap:first-child { grid-template-columns: 1.25fr .9fr .9fr 1.35fr; gap: 24px; }
  .f-brand, .f-store { grid-column: auto; border-top: 0; padding-top: 0; }
  .f-col h4 { font-size: 16px; margin-bottom: 8px; }
  .f-bottom { display: grid; grid-template-columns: auto auto 1fr; column-gap: 28px; margin-top: 20px; padding: 14px 24px 22px; }
  .f-bottom span:last-child { text-align: right; }
  .toast { bottom: 30px; }

  /* 21st.dev плавающий док быстрой связи на ПК */
  .desk-dock {
    position: fixed; right: 22px; bottom: 22px; z-index: 50;
    display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
    background: rgba(35, 27, 21, .90); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 12px 30px rgba(20, 14, 10, .28);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s .22s;
  }
  .desk-dock.shown { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease, transform .22s ease; }
  .dock-item {
    position: relative; width: 42px; height: 42px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.08); color: var(--white); display: grid; place-items: center;
    text-decoration: none; transition: transform .16s ease, background-color .16s ease, color .16s ease;
  }
  .dock-item svg { width: 19px; height: 19px; }
  .dock-item:hover { transform: translateY(-4px) scale(1.1); background: var(--wheat); color: var(--bark); }
  .dock-wa svg { color: #3ddc84; }
  .dock-tg svg { color: #4cb8ee; }
  .dock-wa:hover svg, .dock-tg:hover svg { color: var(--bark); }
  .dock-item::after {
    content: attr(data-tip); position: absolute; bottom: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(4px);
    padding: 5px 9px; border-radius: 6px; background: var(--bark); color: var(--white);
    font: 500 12px/1.2 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.22); transition: opacity .15s, transform .15s;
  }
  .dock-item:is(:hover, :focus-visible)::after { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 1023px) {
  html { scroll-padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  html:has(body[data-page="catalog"]) { scroll-padding-top: 126px; }
  .m-quicksearch input, .m-search input, .cat-tools select { font-size: 16px; }
  .hero-tabs button { min-height: 40px; }
  .hero-offer-btns .btn, .cat-tools :is(button, select) { min-height: 44px; }
  .cat-tools { padding-inline: 0; grid-template-columns: minmax(0, 1fr) auto; }
  .cat-tools select { min-width: 0; }
  .cat-quicknav .cat-stories { scroll-padding-inline: 4px; }
  .p-buy { padding-top: 6px; }
}

@media (min-width: 1024px) and (max-width: 1189px) {
  body.scrolled .nav-phone-mini { display: none; }
  body.scrolled .navbar .d-search input { width: clamp(110px, 12vw, 150px); }
}

@media (max-width: 639px) {
  .card:not(.card-all) { padding: 8px 8px 10px; }
  .card-actions { grid-template-columns: minmax(0, 1fr) 44px; }
  .card-actions .btn { min-height: 44px; }
  .card-actions .btn-add { width: 44px; }
  .card .badge { top: 5px; right: 5px; padding: 4px 6px; }
  .hero-text h1 { font-size: clamp(26px, 7.6vw, 37px); letter-spacing: -.025em; }
  .hero-timer { margin-bottom: 0; }
  .hero-tabs button { font-size: 13px; }
}

/* Каталожные снимки, на которых носок в исходнике смотрит влево.
   Индивидуальный scale сохраняет поворот и увеличение при наведении. */
img:is(
  [src$="/10061-black-fur-1400.webp"],
  [src$="/10061-black-w-2-1400.webp"],
  [src$="/10061-blue-fur-w-1400.webp"],
  [src$="/10061-blue-fur-w-2-1400.webp"],
  [src$="/10061-blue-fur-w-700.webp"],
  [src$="/10061-green-2-1400.webp"],
  [src$="/10061-green-3-1400.webp"],
  [src$="/10061-pink-w-1400.webp"],
  [src$="/10061-pink-w-2-1400.webp"],
  [src$="/10061-pink-w-700.webp"],
  [src$="/10061-rust-1400.webp"],
  [src$="/10061-wheat-fur-2-1400.webp"],
  [src$="/10061-white-w-1400.webp"],
  [src$="/10061-white-w-2-1400.webp"],
  [src$="/10061-white-w-700.webp"],
  [src$="/10061-yellow-3-1400.webp"],
  [src$="/10061-yellow-w-2-1400.webp"],
  [src$="/17061-black-fur-1400.webp"],
  [src$="/17061-black-fur-2-1400.webp"],
  [src$="/17061-black-fur-700.webp"],
  [src$="/17061-brown-fur-1400.webp"],
  [src$="/17061-brown-fur-2-1400.webp"],
  [src$="/17061-brown-fur-700.webp"],
  [src$="/17061-khaki-fur-1400.webp"],
  [src$="/17061-khaki-fur-2-1400.webp"],
  [src$="/17061-khaki-fur-700.webp"],
  [src$="/earthkeepers-black-fur-1400.webp"],
  [src$="/earthkeepers-black-fur-2-1400.webp"],
  [src$="/earthkeepers-black-fur-700.webp"],
  [src$="/euro-sprint-black-fur-2-1400.webp"],
  [src$="/euro-sprint-blue-fur-1400.webp"],
  [src$="/euro-sprint-brown-2-1400.webp"],
  [src$="/euro-sprint-grey-w-1400.webp"],
  [src$="/euro-sprint-navy-fur-2-1400.webp"],
  [src$="/euro-sprint-rust-1400.webp"],
  [src$="/euro-sprint-rust-3-1400.webp"],
  [src$="/euro-sprint-rust-fur-2-1400.webp"],
  [src$="/motion-black-3-1400.webp"],
  [src$="/motion-olive-3-1400.webp"],
  [src$="/nellie-black-w-3-1400.webp"],
  [src$="/nellie-yellow-w-3-1400.webp"],
  [src$="/oxford-wheat-3-1400.webp"],
  [src$="/roll-top-black-fur-1400.webp"],
  [src$="/roll-top-black-fur-700.webp"],
  [src$="/roll-top-brown-fur-1400.webp"],
  [src$="/teddy-pink-fur-w-1400.webp"],
  [src$="/teddy-pink-fur-w-2-1400.webp"],
  [src$="/teddy-pink-fur-w-700.webp"]
) {
  scale: -1 1;
}
