/* Pentagon Forces — вітрина. Метафора «усе промарковано»: бирки розмірів, латки-позначки,
   трафаретні номери розділів, мотив «— ★ —» з лого. Кольори зняті з лого. */
:root {
  --olive: #4b4a2e;
  --olive-d: #34331f;
  --olive-l: #6c6a46;
  --sand: #b8b088;
  --sand-l: #ece8d3;
  --sand-m: #d9d3b4;
  --sand-xl: #f5f3e8;
  --paper: #f6f5f0;
  --white: #ffffff;
  --ink: #1c1c16;
  --ink-2: #4c4b42;
  --ink-3: #6b6957;
  --line: #dcd8c6;
  --bad: #9c3b26;
  --ok: #3f5a26;
  --r: 6px;
  --gut: 16px;
  --max: 1200px;
  --font-h: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-b: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(28, 28, 22, .06), 0 4px 14px rgba(28, 28, 22, .06);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .72  0 0 0 0 .69  0 0 0 0 .53  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 16px/1.5 var(--font-b); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--olive-l); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--r); }
.skip:focus { top: 8px; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: .01em; }
.muted { color: var(--ink-3); }
[hidden] { display: none !important; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r); border: 2px solid var(--olive);
  background: var(--olive); color: var(--sand-xl); font: 500 17px/1 var(--font-h);
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: background .15s, transform .08s;
}
.btn:hover { background: var(--olive-d); border-color: var(--olive-d); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--ghost:hover { background: var(--sand-l); color: var(--olive-d); }
.btn--block { width: 100%; }
.link { color: var(--olive); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 3px 0; }

/* ---------- Шапка ---------- */
.hdr-slot { min-height: 65px; }
@media (min-width: 900px) { .hdr-slot { min-height: 114px; } }
.hdr { position: sticky; top: 0; z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.hdr__row { display: flex; align-items: center; gap: 10px; min-height: 64px; }
.hdr__burger, .hdr__icon {
  width: 44px; height: 44px; border: 0; background: none; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center; position: relative; color: var(--ink); text-decoration: none;
}
.hdr__burger:hover, .hdr__icon:hover { background: var(--sand-xl); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font: 600 19px/1 var(--font-h); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand__sub { display: block; font: 400 12px/1.2 var(--font-b); color: var(--ink-3); letter-spacing: 0; text-transform: none; margin-top: 3px; }
.hdr__search { display: none; flex: 1; max-width: 420px; position: relative; }
.search-input {
  width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 0 14px 0 40px; background: var(--paper);
}
.search-input:focus { border-color: var(--olive-l); outline: none; background: #fff; }
.hdr__search svg, .msearch svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.hdr__phone { display: none; font: 500 17px/1 var(--font-h); letter-spacing: .03em; text-decoration: none; white-space: nowrap; }
.cart-patch {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--olive); color: var(--sand-xl); font: 600 12px/20px var(--font-h); border-radius: 3px;
  outline: 1px dashed rgba(236, 232, 211, .7); outline-offset: -3px; text-align: center;
}
.cart-patch.pop { animation: patch .22s ease-out; }
@keyframes patch { 0% { transform: scale(1.5) rotate(-8deg); } 100% { transform: none; } }
.msearch { padding-bottom: 12px; position: relative; }
.nav { display: none; border-top: 1px solid var(--line); }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: block; padding: 12px 14px; text-decoration: none; font: 500 15px/1 var(--font-h);
  text-transform: uppercase; letter-spacing: .06em; border-radius: var(--r);
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--sand-xl); }
.nav__sub {
  position: absolute; left: 0; top: 100%; min-width: 230px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; display: none; z-index: 5;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { display: block; }
.nav__sub a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 4px; }
.nav__sub a:hover { background: var(--sand-xl); }

/* мобільне меню */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.open { display: block; }
.drawer__bg { position: absolute; inset: 0; background: rgba(28, 28, 22, .45); }
.drawer__panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: #fff;
  overflow-y: auto; padding: 12px 16px 24px; box-shadow: var(--shadow);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.drawer__title { font: 600 18px/1 var(--font-h); text-transform: uppercase; letter-spacing: .06em; }
.drawer__group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.drawer__top { display: block; padding: 12px 4px; font: 500 17px/1.2 var(--font-h); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.drawer__subs { list-style: none; margin: 0 0 6px; padding: 0 0 0 14px; }
.drawer__subs a { display: block; padding: 9px 4px; text-decoration: none; color: var(--ink-2); }
.drawer__links { list-style: none; margin: 14px 0 0; padding: 0; }
.drawer__links a { display: block; padding: 10px 4px; text-decoration: none; color: var(--ink-2); }

/* ---------- Смуга-обіцянка ---------- */
.band {
  background: var(--olive) var(--grain); color: var(--sand-l);
}
.promise { padding-top: 22px; padding-bottom: 20px; }
.promise h1 { font-size: clamp(26px, 6.4vw, 44px); text-transform: uppercase; letter-spacing: .03em; color: var(--sand-l); }
.promise p { margin: 8px 0 0; font-size: 16px; color: var(--sand-m); max-width: 60ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 16px 0 0; padding: 0; }
.facts li {
  font: 500 14px/1 var(--font-h); text-transform: uppercase; letter-spacing: .05em;
  padding: 9px 12px; border: 1px solid rgba(184, 176, 136, .55); border-radius: 3px; color: var(--sand-l);
}

/* ---------- Банер головної: фото + затемнення кольору бренду ---------- */
.hero { position: relative; overflow: hidden; background: var(--olive-d); color: var(--sand-l); display: flex; flex-direction: column; justify-content: flex-end; min-height: min(158vw, 660px); }
.hero__pic { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(22, 22, 14, .9) 0%, rgba(22, 22, 14, .72) 34%, rgba(22, 22, 14, .15) 60%, rgba(22, 22, 14, 0) 78%); }
.hero__body { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 24px; }
.hero h1 { font-size: clamp(30px, 8vw, 58px); text-transform: uppercase; letter-spacing: .03em; color: var(--sand-xl); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); max-width: 14ch; }
.hero p { margin: 10px 0 0; font-size: 16px; color: var(--sand-l); max-width: 46ch; }
.hero__cta { margin-top: 18px; background: var(--sand-l); color: var(--olive-d); border-color: var(--sand-l); }
.hero__cta:hover { background: #fff; border-color: #fff; color: var(--olive-d); }
.hero .facts li { background: rgba(22, 22, 14, .5); }
@media (min-width: 700px) {
  .hero { justify-content: center; min-height: clamp(440px, 40vw, 720px); }
  .hero__img { object-position: 50% 30%; }
  .hero::after { background:
    linear-gradient(90deg, rgba(22, 22, 14, .74) 0%, rgba(22, 22, 14, .5) 32%, rgba(22, 22, 14, .08) 58%, rgba(22, 22, 14, 0) 75%),
    linear-gradient(0deg, rgba(22, 22, 14, .5) 0%, rgba(22, 22, 14, 0) 30%); }
  .hero__body { padding-top: 56px; padding-bottom: 56px; }
  .hero h1 { font-size: clamp(32px, 4.6vw, 60px); }
  .hero p { font-size: clamp(16px, 1.6vw, 18px); max-width: 40ch; }
}

/* ---------- Заголовки розділів «— ★ —» ---------- */
.sec { padding: 28px 0 8px; }
.sec__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sec__head h2 { font-size: clamp(20px, 4.6vw, 28px); text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
.sec__head::before, .sec__head::after { content: ""; height: 2px; background: var(--ink); width: 18px; flex: none; }
.sec__head::after { flex: 1; width: auto; background: linear-gradient(90deg, var(--line), transparent); height: 1px; }
.star { width: 12px; height: 12px; flex: none; color: var(--olive); }
.sec__more { margin-left: auto; white-space: nowrap; font-weight: 600; color: var(--olive); text-decoration: none; padding: 9px 0; }

/* ---------- Плитки розділів («полиці») ---------- */
.shelves { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.shelf {
  position: relative; display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; overflow: hidden; transition: border-color .15s, box-shadow .15s;
}
.shelf:hover { border-color: var(--olive-l); box-shadow: var(--shadow); }
.shelf__img { aspect-ratio: 1; background: #fff; }
.shelf__img img { width: 100%; height: 100%; object-fit: contain; }
.shelf__no {
  position: absolute; top: 8px; left: 8px; font: 600 13px/1 var(--font-h); letter-spacing: .08em;
  background: var(--ink); color: var(--sand-l); padding: 4px 6px; border-radius: 2px;
}
.shelf__body { padding: 10px 12px 12px; border-top: 1px solid var(--line); }
.shelf__name { font: 600 16px/1.2 var(--font-h); text-transform: uppercase; letter-spacing: .04em; display: block; }
.shelf__count { font-size: 13px; color: var(--ink-3); }

/* ---------- Картки товарів ---------- */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; overflow: hidden; position: relative; transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--olive-l); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 1; background: #fff; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.card__name { font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; }
.card__price { font: 600 19px/1 var(--font-h); letter-spacing: .02em; margin-top: auto; }
.card__price s { font: 400 14px/1 var(--font-b); color: var(--ink-3); margin-left: 6px; }
.card__sizes { display: flex; flex-wrap: wrap; gap: 4px; }
.card__out { font-size: 13px; color: var(--bad); font-weight: 600; }
.patches { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.patch {
  font: 600 12px/1 var(--font-h); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px;
  background: var(--olive); color: var(--sand-l); border-radius: 3px; outline: 1px dashed rgba(236, 232, 211, .75); outline-offset: -3px;
}
.patch--sale { background: var(--bad); }

/* ---------- Бирки розмірів ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  position: relative; min-width: 56px; min-height: 46px; padding: 6px 12px 6px 22px; border: 1.5px solid var(--ink);
  border-radius: 4px; background: #fff; font: 500 16px/1 var(--font-h); letter-spacing: .03em;
  display: inline-flex; align-items: center; justify-content: center;
}
.tag::before {
  content: ""; position: absolute; left: 8px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; border: 1.5px solid currentColor; background: var(--paper);
}
.tag:hover { background: var(--sand-xl); }
.tag[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--sand-xl); }
.tag[aria-pressed="true"]::before { background: var(--olive-d); }
.tag.is-out { color: var(--ink-3); border-color: var(--line); background: repeating-linear-gradient(135deg, #fff 0 6px, var(--sand-xl) 6px 8px); text-decoration: line-through; cursor: not-allowed; }
.tag--mini { min-width: 0; min-height: 26px; padding: 3px 7px 3px 15px; font-size: 13px; border-width: 1px; border-radius: 3px; }
.tag--mini::before { left: 5px; width: 5px; height: 5px; margin-top: -2.5px; border-width: 1px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
  min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 4px; background: #fff;
  font-size: 15px; text-decoration: none; display: inline-flex; align-items: center;
}
.swatch[aria-pressed="true"], .swatch.is-current { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); font-weight: 600; }

/* ---------- Каталог ---------- */
.crumbs { font-size: 14px; color: var(--ink-3); padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); }
.page-title { font-size: clamp(24px, 5.5vw, 36px); text-transform: uppercase; letter-spacing: .03em; margin: 8px 0 4px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 20px; background: #fff;
  display: inline-flex; align-items: center; text-decoration: none; font-size: 15px; white-space: nowrap;
}
.chip[aria-current="true"], .chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: var(--sand-xl); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0 14px; }
.toolbar select, .field select, .field input, .field textarea {
  min-height: 44px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; padding: 0 12px;
}
.check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--olive); }
.filters { border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 10px 12px; margin-bottom: 14px; }
.filters summary { cursor: pointer; font: 500 16px/1 var(--font-h); text-transform: uppercase; letter-spacing: .05em; padding: 6px 0; min-height: 32px; }
.filters__group { padding: 8px 0; }
.filters__label { font-size: 14px; color: var(--ink-3); margin-bottom: 6px; }
.empty { padding: 30px 0; text-align: center; color: var(--ink-2); }

/* ---------- Сторінка товару ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 10px 0 24px; }
.pdp > * { min-width: 0; }
.gallery { position: relative; }
.gallery__main {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border: 1px solid var(--line);
  border-radius: var(--r); background: #fff; scrollbar-width: none;
}
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: none; width: 100%; scroll-snap-align: center; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery__count { position: absolute; right: 10px; top: 10px; background: rgba(28, 28, 22, .7); color: #fff; font: 500 13px/1 var(--font-h); padding: 5px 8px; border-radius: 3px; }
.gallery__thumbs { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; scrollbar-width: thin; }
.gallery__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border: 1.5px solid var(--line); border-radius: 4px; background: #fff; overflow: hidden; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--olive); box-shadow: inset 0 0 0 1px var(--olive); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__brand { font: 500 14px/1 var(--font-h); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.pdp__name { font-size: clamp(22px, 5vw, 32px); margin: 6px 0 10px; letter-spacing: .01em; overflow-wrap: anywhere; }
.pdp__price { font: 600 30px/1 var(--font-h); letter-spacing: .02em; }
.pdp__price s { font: 400 18px/1 var(--font-b); color: var(--ink-3); margin-left: 8px; }
.pdp__stock { margin: 8px 0 0; font-size: 15px; font-weight: 600; color: var(--ok); }
.pdp__stock.is-out { color: var(--bad); }
.pdp__block { margin-top: 18px; }
.pdp__label { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; font-weight: 600; }
.pdp__label a { font-weight: 500; }
.pdp__buy { display: grid; gap: 10px; margin-top: 20px; }
.pdp__hint { font-size: 14px; color: var(--bad); min-height: 20px; margin: 0; }
.pdp__desc { white-space: pre-line; line-height: 1.6; color: var(--ink-2); max-width: 70ch; }
.terms { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.terms li { padding: 12px 14px; border-top: 1px solid var(--line); font-size: 15px; }
.terms li:first-child { border-top: 0; }
.terms b { display: block; font: 500 15px/1.3 var(--font-h); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }

/* ---------- Кошик і оформлення ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 6px 0 30px; }
.cart > * { min-width: 0; }
.cart-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.cart-item { display: grid; grid-template-columns: 76px 1fr; gap: 12px; padding: 12px; border-top: 1px solid var(--line); }
.cart-item:first-child { border-top: 0; }
.cart-item img { width: 76px; height: 76px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.cart-item__name { font-size: 15px; line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.cart-item__meta { font-size: 14px; color: var(--ink-3); margin: 3px 0 8px; }
.cart-item__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--r); }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 20px; }
.qty span { min-width: 30px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.cart-item__price { font: 600 18px/1 var(--font-h); margin-left: auto; }
.cart-item__del { border: 0; background: none; color: var(--ink-3); text-decoration: underline; min-height: 40px; padding: 0 4px; font-size: 14px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px; background: var(--sand-xl); border-radius: var(--r); font-size: 17px; }
.total b { font: 600 26px/1 var(--font-h); }
.form { display: grid; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.form h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .05em; }
.field { display: grid; gap: 6px; position: relative; }
.field label, .field .field__label { font-weight: 600; font-size: 15px; }
.field input, .field textarea, .field select { width: 100%; font-size: 16px; }
.field textarea { min-height: 80px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--olive-l); outline: none; }
.field__err { color: var(--bad); font-size: 14px; min-height: 0; }
.field.is-bad input { border-color: var(--bad); }
.radios { display: grid; gap: 8px; }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r); cursor: pointer; background: #fff; }
.radio input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--olive); flex: none; }
.radio:has(input:checked) { border-color: var(--olive); background: var(--sand-xl); }
.radio small { display: block; color: var(--ink-3); font-size: 14px; margin-top: 2px; }
.ac { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); max-height: 280px; overflow-y: auto; margin: 4px 0 0; padding: 4px; list-style: none; }
.ac li { padding: 10px 10px; border-radius: 4px; cursor: pointer; font-size: 15px; }
.ac li:hover, .ac li[aria-selected="true"] { background: var(--sand-xl); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.done { text-align: center; padding: 30px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.done__no { font: 600 34px/1 var(--font-h); letter-spacing: .06em; margin: 10px 0; color: var(--olive); }

/* модалка «в 1 клік» */
.modal { position: fixed; inset: 0; z-index: 70; display: flex; align-items: flex-end; justify-content: center; }
.modal__bg { position: absolute; inset: 0; background: rgba(28, 28, 22, .5); }
.modal__card { position: relative; width: 100%; max-width: 440px; background: #fff; border-radius: 10px 10px 0 0; padding: 18px 16px 22px; max-height: 92vh; overflow-y: auto; }
.modal__x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--ink-2); }
.modal__card h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .04em; padding-right: 40px; }

/* ---------- Як замовити / про нас / інфо-сторінки ---------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: 10px; margin: 0; padding: 0; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 14px 14px 58px; position: relative; min-height: 60px; }
.steps li::before {
  content: counter(s, decimal-leading-zero); position: absolute; left: 12px; top: 12px; font: 600 22px/1 var(--font-h);
  color: var(--sand-l); background: var(--olive); padding: 6px 6px; border-radius: 3px; letter-spacing: .04em;
}
.steps b { display: block; font: 500 16px/1.3 var(--font-h); text-transform: uppercase; letter-spacing: .04em; }
.about { display: grid; gap: 14px; }
.about p { margin: 0; color: var(--ink-2); max-width: 70ch; }
.prose { max-width: 760px; padding: 4px 0 30px; }
.prose h2 { font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.65; }
.prose ul { padding-left: 20px; }
.note { background: var(--sand-xl); border-left: 4px solid var(--olive); padding: 12px 14px; border-radius: 0 var(--r) var(--r) 0; }
.contacts { display: grid; gap: 10px; }
.contact { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; min-height: 56px; }
.contact svg { flex: none; color: var(--olive); }
.contact span { display: block; }
.contact small { color: var(--ink-3); font-size: 13px; display: block; }

/* ---------- Підвал ---------- */
.ftr { background: var(--olive-d) var(--grain); color: var(--sand-l); margin-top: 36px; padding: 28px 0 18px; }
.ftr a { color: var(--sand-l); text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr__cols { display: grid; gap: 22px; }
.ftr h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--sand); margin-bottom: 10px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr ul a, .ftr ul span { display: inline-block; padding: 7px 0; }
.ftr__brand { display: flex; align-items: center; gap: 10px; }
.ftr__brand .brand__name { color: var(--sand-l); }
.ftr__about { color: var(--sand); font-size: 14px; margin: 10px 0 0; max-width: 40ch; }
.ftr__bottom { border-top: 1px solid rgba(184, 176, 136, .3); margin-top: 22px; padding-top: 14px; font-size: 13px; color: var(--sand); display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between; }

/* тост */
.toast { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 90; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); font-size: 15px; transition: .2s; max-width: calc(100vw - 32px); pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast a { color: var(--sand-l); font-weight: 600; pointer-events: auto; }

/* липка панель «в кошик» на телефоні */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px var(--gut); display: none; gap: 10px; align-items: center; box-shadow: 0 -4px 14px rgba(28, 28, 22, .08); }
.buybar.show { display: flex; }
.buybar__price { font: 600 22px/1 var(--font-h); white-space: nowrap; }
.buybar .btn { flex: 1; }

@media (max-width: 699px) {
  .hero__body { padding-top: 24px; padding-bottom: 20px; }
  .hero h1 { font-size: clamp(28px, 8.4vw, 40px); }
  .hero p { font-size: 15px; margin-top: 8px; }
  .hero__cta { margin-top: 14px; }
  .hero .facts { margin-top: 12px; }
}
@media (max-width: 599px) {
  .brand__sub { display: none; }
  .hdr__row { gap: 4px; }
  .brand { gap: 8px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 15.5px; letter-spacing: .04em; }
  .promise { padding-top: 16px; padding-bottom: 16px; }
  .promise p { font-size: 15px; }
  .facts { gap: 6px; margin-top: 12px; }
  .facts li { font-size: 12.5px; padding: 7px 9px; }
}

@media (max-width: 420px) {
  .sec__head h2 { white-space: normal; font-size: 21px; min-width: 0; }
  .sec__head::after { display: none; }
  .sec__more { font-size: 14px; }
}
@media (max-width: 374px) {
  .brand__name { font-size: 14px; line-height: 1.05; white-space: normal; width: 5.4em; }
  .brand__mark { width: 32px; height: 32px; }
}

/* ---------- Ширші екрани ---------- */
@media (min-width: 600px) {
  .shelves { grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .modal { align-items: center; }
  .modal__card { border-radius: 10px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  :root { --gut: 24px; }
  .hdr__search { display: block; }
  .hdr__phone { display: inline-block; }
  .hdr__burger, .msearch, .hdr__icon--search { display: none !important; }
  .nav { display: block; }
  .shelves { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
  .pdp__info { position: sticky; top: 140px; }
  .cart { grid-template-columns: minmax(0, 1fr) 420px; align-items: start; }
  .ftr__cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .buybar { display: none !important; }
  .about { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (min-width: 1200px) {
  .shelves { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
