/* Пуховый Платок — черновик редизайна.
   Концепция: светлая «пуховая» витрина, тёплые нейтральные тона,
   акцент — один фирменный цвет (меняется в --accent), декор — ромбовый узор платка.
   Фирменные цвета подставить из брендбука: --accent, --accent-dark. */
:root {
  --bg: #fbf8f4;          /* молочный фон */
  --surface: #ffffff;
  --line: #e7dfd5;
  --ink: #2a2522;         /* основной текст */
  --muted: #7a6f66;
  --accent: #1c7f9e;      /* фирменный голубой из логотипа (затемнён для читаемости текста на кнопках) */
  --accent-dark: #156580;
  --accent-soft: #e5f2f6;
  --sale: #a1473a;
  --display: "Prata", "Georgia", "Times New Roman", serif;
  --body: "Onest", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --r: 6px;
  --w: 1240px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--body); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
.wrap { max-width: var(--w); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: var(--r); border: 1px solid var(--accent); background: var(--accent); color: #fff; font-weight: 600; font-size: 15px; transition: background .2s; }
.btn:hover { background: var(--accent-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }

/* Узор платка — ромбовая сетка как разделитель */
.lace { height: 14px; background-image:
  linear-gradient(135deg, transparent 45%, var(--line) 45% 55%, transparent 55%),
  linear-gradient(45deg, transparent 45%, var(--line) 45% 55%, transparent 55%);
  background-size: 14px 14px; opacity: .9; }

/* Верхняя строка */
.topbar { background: var(--ink); color: #e9e2da; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar b { color: #fff; font-weight: 600; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 30; background: rgba(251,248,244,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo img { height: 44px; width: auto; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 14px; height: 44px; max-width: 460px; }
.search svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
.search input { border: 0; outline: 0; background: transparent; font: inherit; flex: 1; min-width: 0; }
.h-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.h-phone { font-weight: 600; white-space: nowrap; }
.h-phone small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--accent); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 4px; }
.burger { display: none; }
.nav { border-top: 1px solid var(--line); }
.nav ul { list-style: none; margin: 0 auto; display: flex; gap: 28px; padding-block: 12px; overflow-x: auto; scrollbar-width: none; }
.nav a { font-size: 15px; white-space: nowrap; padding-block: 4px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { border-color: var(--ink); }
.nav a.sale { color: var(--sale); font-weight: 600; }

/* Мобильное меню */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(42,37,34,.4); display: none; }
.drawer.open { display: block; }
.drawer-panel { width: min(360px, 88vw); height: 100%; background: var(--bg); padding: 20px; padding-left: max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
.drawer-panel ul { list-style: none; padding: 0; margin: 20px 0; }
.drawer-panel li a { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #d9d2c8; }
.hero img { width: 100%; height: clamp(420px, 62vw, 640px); object-fit: cover; object-position: center 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,26,24,.62) 0%, rgba(30,26,24,.25) 55%, transparent 80%); }
.hero-text { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; }
.hero-text .box { max-width: 560px; color: #fff; display: grid; gap: 20px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); }
.hero p { font-size: 18px; margin: 0; color: #f1ebe4; max-width: 46ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .eyebrow { color: #f1ebe4; }

/* Полоса доверия */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 14px; padding: 24px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: none; width: 30px; height: 30px; color: var(--accent); }
.trust-item b { display: block; font-size: 15px; }
.trust-item span { font-size: 13px; color: var(--muted); }

/* Секции */
.section { padding-block: 72px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 8px; }
.link-more { font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Категории */
.cats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 16px; }
.cat { position: relative; overflow: hidden; border-radius: var(--r); background: #e9e3dc; }
.cat:first-child { grid-row: span 2; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,26,24,.6), transparent 55%); }
.cat .cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.cat .cap h3 { font-size: 26px; }
.cat .cap span { font-size: 14px; color: #ece5dd; }
.cat-small { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 16px; }
.cat-small a { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-align: center; font-size: 14px; font-weight: 500; transition: border-color .2s; }
.cat-small a:hover { border-color: var(--accent); }
.cat-small a.sale { color: var(--sale); }

/* Гид по размерам */
.sizes { background: var(--accent-soft); }
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.size-card { background: var(--surface); border-radius: var(--r); padding: 28px; display: grid; gap: 14px; align-content: start; }
.size-card .sq { display: flex; align-items: end; gap: 14px; height: 96px; }
.size-card .sq i { display: block; border: 1.5px solid var(--accent); background:
  repeating-linear-gradient(45deg, transparent 0 5px, var(--accent-soft) 5px 6px),
  repeating-linear-gradient(-45deg, transparent 0 5px, var(--accent-soft) 5px 6px); }
.size-card h3 { font-size: 24px; }
.size-card .range { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--accent-dark); }
.size-card p { margin: 0; color: var(--muted); font-size: 15px; }
.size-card a { font-weight: 600; font-size: 14px; color: var(--accent-dark); }

/* Карточки товаров */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.p-card { display: grid; gap: 10px; align-content: start; min-width: 0; }
.p-img { position: relative; aspect-ratio: 4/5; max-width: 100%; border-radius: var(--r); overflow: hidden; background: #efe9e2; }
.p-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-img img { transform: scale(1.04); }
.p-tag { position: absolute; top: 12px; left: 12px; background: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 3px; }
.p-tag.sale { background: var(--sale); color: #fff; }
.p-fav { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; }
.p-fav svg { width: 18px; height: 18px; }
.p-add { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 42px; border: 0; border-radius: var(--r); background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: .25s; }
.p-card:hover .p-add, .p-add:focus-visible { opacity: 1; transform: none; }
.p-meta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-name { font-size: 15px; font-weight: 500; line-height: 1.35; }
.p-price { display: flex; gap: 10px; align-items: baseline; font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; }
.p-price s { font-weight: 400; font-size: 14px; color: var(--muted); }
.swatches { display: flex; gap: 6px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }

/* Цвета ниток */
.c-magnolia { background: #ecd6d2; } .c-black { background: #262321; } .c-blue { background: #b9cfe0; }
.c-white { background: #fbfbf8; } .c-ecru { background: #efe4cf; } .c-grey { background: #a9a5a0; } .c-beige { background: #b59c80; }

/* Блок подлинности */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.auth-img { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; max-width: 100%; position: relative; background: #e9e3dc; }
.auth-img img { width: 100%; height: 100%; object-fit: cover; }
.ring { position: absolute; right: 24px; bottom: 24px; background: #fff; border-radius: var(--r); padding: 14px 18px; display: flex; gap: 12px; align-items: center; font-size: 14px; max-width: 280px; }
.ring svg { flex: none; width: 36px; height: 36px; color: var(--accent); }
.checks { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 18px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.checks li svg { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }

/* Подарок */
.gift { background: var(--ink); color: #f1ebe4; border-radius: var(--r); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.gift .txt { padding: 56px; display: grid; gap: 18px; align-content: center; }
.gift h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.gift .eyebrow { color: #a9d9e8; }
.gift ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.gift img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* Магазин */
.store { display: grid; grid-template-columns: 1fr 1.1fr; gap: 16px; }
.store-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 40px; display: grid; gap: 18px; align-content: start; }
.store-info h2 { font-size: 34px; }
.store-info dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; }
.store-info dt { color: var(--muted); }
.store-info dd { margin: 0; font-weight: 500; }
.map-ph { border-radius: var(--r); min-height: 340px; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0/40px 40px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/40px 40px, #f3eee8;
  display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; }

/* Отзывы — заглушка */
.placeholder { border: 1.5px dashed var(--line); border-radius: var(--r); padding: 36px; text-align: center; color: var(--muted); background: var(--surface); }

/* Журнал */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.j-card { display: grid; gap: 12px; align-content: start; min-width: 0; }
.j-card .p-img { aspect-ratio: 3/2; }
.j-card h3 { font-size: 21px; }
.j-card span { font-size: 13px; color: var(--muted); }

/* Подписка + футер */
.subscribe { background: var(--accent); color: #fff; }
.subscribe .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 40px; flex-wrap: wrap; }
.subscribe h2 { font-size: 30px; }
.subscribe form { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe input { height: 48px; border: 0; border-radius: var(--r); padding: 0 16px; min-width: 0; width: 280px; max-width: 100%; font: inherit; }
.footer { background: var(--ink); color: #cfc6bc; font-size: 15px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer .logo-f { background: #fff; display: inline-block; padding: 10px 14px; border-radius: var(--r); }
.footer .logo-f img { height: 38px; }
.footer .big { color: #fff; font-size: 20px; font-weight: 600; }
.copy { border-top: 1px solid #443d38; }
.copy .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 18px; font-size: 13px; flex-wrap: wrap; }
.messengers { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.messengers a { border: 1px solid #5a514b; border-radius: 20px; padding: 6px 14px; font-size: 13px; }

/* Плавающая кнопка связи */
.fab { position: fixed; right: max(18px, calc(env(safe-area-inset-right, 0px) + 12px)); bottom: max(18px, calc(env(safe-area-inset-bottom, 0px) + 12px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: #fff; border: 0; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.fab svg { width: 26px; height: 26px; }

/* Демо-уведомление */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r); font-size: 14px; opacity: 0; transition: .3s; z-index: 80; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.draft-note { background: #fff3cd; color: #5c4a12; font-size: 13px; text-align: center; padding: 6px 16px; }

/* ===== Каталог ===== */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.cat-head { display: grid; gap: 12px; padding-bottom: 24px; }
.cat-head h1 { font-size: clamp(32px, 4vw, 48px); }
.cat-head p { margin: 0; max-width: 70ch; color: var(--muted); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: 8px 16px; font-size: 14px; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-bottom: 72px; }
.filters { display: grid; gap: 0; align-content: start; position: sticky; top: 140px; }
.f-group { border-bottom: 1px solid var(--line); padding-block: 18px; }
.f-group h4 { margin: 0 0 12px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.f-group label { display: flex; align-items: center; gap: 10px; font-size: 15px; padding: 4px 0; cursor: pointer; }
.f-group label small { margin-left: auto; color: var(--muted); }
.f-group input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.f-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.f-colors button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); padding: 0; }
.f-colors button.on { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-price { display: flex; gap: 8px; }
.f-price input { width: 100%; min-width: 0; height: 40px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px; font: inherit; background: var(--surface); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar select { height: 40px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 12px; font: inherit; background: var(--surface); }
.f-open { display: none; }
.catalog .products { grid-template-columns: repeat(3, 1fr); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pager a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.seo { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); max-width: 75ch; color: var(--muted); font-size: 15px; }
.seo h2 { font-size: 24px; color: var(--ink); margin-bottom: 12px; }

/* ===== Карточка товара ===== */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; padding-bottom: 64px; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-content: start; position: sticky; top: 140px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; aspect-ratio: 4/5; background: #efe9e2; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.main-img { aspect-ratio: 4/5; max-width: 100%; border-radius: var(--r); overflow: hidden; background: #efe9e2; }
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.buy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.buy h1 { font-size: clamp(28px, 3vw, 38px); }
.sku { font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.sku .ok { color: #2e7d4f; font-weight: 600; }
.price-big { font-size: 32px; font-weight: 700; font-variant-numeric: tabular-nums; }
.split { font-size: 14px; color: var(--muted); }
.split b { color: var(--ink); }
.opt h4 { margin: 0 0 10px; font-size: 14px; font-weight: 600; }
.opt h4 span { font-weight: 400; color: var(--muted); }
.opt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-color { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); padding: 0; }
.opt-color.on { outline: 2px solid var(--ink); outline-offset: 3px; }
.opt-size { min-width: 64px; height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); font-variant-numeric: tabular-nums; }
.opt-size.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt-size:disabled { color: #bbb; text-decoration: line-through; cursor: not-allowed; }
.size-hint { font-size: 14px; background: var(--accent-soft); border-radius: var(--r); padding: 12px 14px; margin-top: 10px; }
.buy-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fact { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; font-size: 13px; color: var(--muted); background: var(--surface); }
.fact b { display: block; color: var(--ink); font-size: 18px; font-family: var(--display); font-weight: 400; }
.deliv { border-top: 1px solid var(--line); }
.deliv div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.deliv span { color: var(--muted); text-align: right; }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 28px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 14px 0; font-size: 16px; border-bottom: 2px solid transparent; white-space: nowrap; color: var(--muted); }
.tabs button.on { border-color: var(--ink); color: var(--ink); font-weight: 600; }
.tab-body { max-width: 760px; }
.specs { width: 100%; border-collapse: collapse; }
.specs td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs td:first-child { color: var(--muted); width: 40%; }

/* ===== Адаптив ===== */
@media (max-width: 1080px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .catalog .products { grid-template-columns: repeat(2, 1fr); }
  .cat-small { grid-template-columns: repeat(3, 1fr); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .h-phone { display: none; }
}
@media (max-width: 860px) {
  .nav, .search { display: none; }
  .burger { display: grid; }
  .header .wrap { gap: 8px; padding-block: 10px; }
  .logo img { height: 36px; }
  .h-actions { gap: 2px; }
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 8px; }
  .cats { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px 200px; }
  .cat:first-child { grid-column: span 2; grid-row: auto; }
  .size-grid, .journal { grid-template-columns: 1fr; }
  .auth, .gift, .store { grid-template-columns: 1fr; }
  .auth { gap: 28px; }
  .gift .txt { padding: 32px 24px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0; z-index: 70; background: var(--bg); padding: 20px max(16px, env(safe-area-inset-right, 0px)) 100px max(16px, env(safe-area-inset-left, 0px)); overflow-y: auto; display: none; top: 0; }
  .filters.open { display: grid; }
  .f-open { display: inline-flex; }
  .pdp { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; overflow-x: auto; order: 2; }
  .section { padding-block: 48px; }
  .topbar .hide-m { display: none; }
}
@media (max-width: 560px) {
  .products, .catalog .products { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .p-add { opacity: 1; transform: none; min-height: 36px; font-size: 13px; left: 8px; right: 8px; bottom: 8px; }
  .p-name { font-size: 14px; }
  .trust .wrap { grid-template-columns: 1fr; }
  .cat-small { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .cat:first-child { grid-column: auto; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .buy-btns { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; }
  .hero-text { align-items: end; padding-bottom: 32px; }
  .hero::after { background: linear-gradient(0deg, rgba(30,26,24,.72) 0%, rgba(30,26,24,.2) 70%); }
  .ring { left: 16px; right: 16px; bottom: 16px; max-width: none; }
  .store-info { padding: 24px; }
  .store-info dl { grid-template-columns: 1fr; gap: 2px; }
  .store-info dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
