/* Витрина магазина: шапка с поиском, главная, каталог, страница товара.
   Токены и кнопки — из styles.css; здесь только то, чего там не было.

   Настроение — тёплый дом: кремовый фон, терракота как акцент, мягкие
   скругления и тени, живой огонь на фото, курсив Lora для тёплых слов.
   Шума нет: вместо точек, тире и стрелок — иконки из /icons.svg. */

:root {
  --panel: #f8f4ef;
  --card: #fff;
  --cream: #f3ebe1;
  --cream-2: #e9dfd2;
  --ember: #e39152;
  --ok: #5b7a4c;
  --ok-soft: #e8f0e2;
  --r-soft: 14px;
  --r-btn: 10px;
  --shadow-soft: 0 1px 2px rgba(58, 38, 24, .04), 0 10px 28px -16px rgba(88, 56, 32, .2);
  --shadow-pop: 0 2px 6px rgba(58, 38, 24, .06), 0 22px 44px -18px rgba(88, 56, 32, .3);
  --shadow-warm: 0 30px 60px -32px rgba(96, 52, 22, .5);
}
body { background: var(--panel); }
.ui-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
/* ссылка «к содержимому» видна только при навигации с клавиатуры */
.skip-link:not(:focus) { opacity: 0; pointer-events: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── иконки ── */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.accent { font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 500; letter-spacing: -.02em; color: var(--terra); }

/* ── кнопки ── */
.btn .ic { width: 18px; height: 18px; }
.btn-terra { box-shadow: 0 8px 18px -12px rgba(166, 79, 55, .9); }
.text-link { gap: 8px; }
.text-link .ic { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover .ic { transform: translateX(3px); }

/* ── логотип: двухцветный огонёк ── */
.brand { flex-direction: row; align-items: center; gap: 10px; }
.brand-flame { width: 38px; height: 38px; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 21px; letter-spacing: -.035em; font-weight: 800; line-height: 1.1; }
.brand-sub { margin-top: 3px; font-size: 11.5px; letter-spacing: 0; color: var(--ink-70); }

/* ── шапка ── */
.head { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 251, .94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(10px); }
.head-in { min-height: 72px; gap: 30px; padding-top: 10px; padding-bottom: 10px; }
.menu { gap: 28px; margin-left: 14px; }
.menu > a, .menu-drop > a { display: inline-flex; align-items: center; gap: 4px; padding: 12px 0; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; }
.menu-drop > a .ic { width: 16px; height: 16px; color: var(--ink-45); transition: transform .2s var(--ease); }
.menu-drop { position: relative; }
.menu-drop:hover > a .ic, .menu-drop:focus-within > a .ic { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 4px); left: -20px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 440px; padding: 10px;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .22s var(--ease), visibility .18s;
}
.drop::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu-drop:hover .drop, .menu-drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; align-items: center; gap: 11px; padding: 7px 9px; border-radius: 11px; font-size: 13.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.drop a:hover { background: var(--panel); color: var(--terra); }
.drop img { width: 38px; height: 38px; flex: none; border-radius: 9px; object-fit: cover; background: var(--cream); mix-blend-mode: multiply; }
.drop .drop-all { grid-column: 1 / -1; justify-content: center; margin-top: 4px; padding: 10px; background: var(--panel); color: var(--terra); font-weight: 600; }
.drop .drop-all .ic { width: 17px; height: 17px; }
.head-tools { display: flex; align-items: center; gap: 20px; margin-left: auto; flex: none; }
.head-search { position: relative; flex: 0 1 300px; display: flex; align-items: center; }
.head-search > .ic { position: absolute; right: 13px; color: var(--ink-45); pointer-events: none; }
.head-search input {
  width: 100%; min-height: 42px; padding: 9px 40px 9px 16px; font: inherit; font-size: 13px; color: var(--ink);
  background: var(--panel); border: 1px solid transparent; border-radius: 11px; transition: border-color .18s, box-shadow .18s, background-color .18s;
}
.head-search input:focus { outline: none; background: var(--card); border-color: var(--terra); box-shadow: 0 0 0 3px rgba(166, 79, 55, .12); }
.head-search input::-webkit-search-cancel-button { display: none; }
.head-search button { position: absolute; inset: 0 0 0 auto; width: 42px; border: 0; background: transparent; font-size: 0; color: transparent; }
.is-home .head-search { display: none; }
.head-ic { position: relative; display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .18s, color .18s; }
.head-ic:hover { background: var(--panel-2); color: var(--terra); }
.head-ic .ic { width: 22px; height: 22px; }
.head-ic .cnt { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--terra); color: #fff; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
.head-ic .cnt:empty { display: none; }
.head-city, .account-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; line-height: 1.2; }
.head-city > .ic, .account-link > .ic { width: 22px; height: 22px; color: var(--terra); }
.account-link > .ic { color: var(--ink); }
.head-city b, .account-link b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.head-city small, .account-link small { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-45); white-space: nowrap; }
.head-city:hover b, .account-link:hover b { color: var(--terra); }
.account-link { border-left: 0; padding-left: 0; font-size: inherit; }
.demo-link { min-height: 38px; white-space: nowrap; }

/* ── хлебные крошки: шеврон вместо слэша ── */
.crumbs .sep { width: 14px; height: 14px; color: var(--ink-45); }

/* ── главный экран: фото во всю ширину, текст на светлой стороне ── */
.shop-hero { position: relative; overflow: hidden; background: #efe5d9; isolation: isolate; }
.shop-hero-bg { position: absolute; inset: 0; z-index: -2; }
.shop-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.shop-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(248, 242, 235, .97) 0%, rgba(248, 242, 235, .9) 34%, rgba(248, 242, 235, .45) 52%, rgba(248, 242, 235, 0) 66%);
}
.shop-hero-in { position: relative; display: flex; align-items: center; min-height: 440px; padding-top: 44px; padding-bottom: 48px; }
.shop-hero-copy { max-width: 640px; }
.hero-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-70); }
.shop-hero h1 { font-family: var(--serif); font-size: clamp(40px, 4.3vw, 60px); line-height: 1.08; letter-spacing: -.02em; font-weight: 600; max-width: none; }
.shop-hero h1 .accent { display: block; font-style: normal; font-weight: 600; color: var(--terra); letter-spacing: -.02em; }
.hero-script { position: absolute; right: 48px; top: 36px; margin: 0; font-family: var(--script); font-size: 34px; line-height: 1.18; color: #fff; text-align: right; transform: rotate(-9deg); text-shadow: 0 2px 14px rgba(40, 22, 12, .35); pointer-events: none; }
.hero-script .ic { width: 26px; height: 26px; vertical-align: -3px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 14px 7px 11px;
  border-radius: 999px; background: rgba(255, 253, 250, .75); border: 1px solid var(--cream-2);
  font-size: 12px; font-weight: 600; color: var(--terra-deep);
}
.hero-badge .ic { width: 16px; height: 16px; color: var(--terra); }
.hero-badge.is-dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #f7d8c4; }
.hero-badge.is-dark .ic { color: #f0b89c; }
.shop-lead { font-size: 16px; line-height: 1.65; color: var(--ink-70); max-width: 50ch; margin: 18px 0 26px; }
.big-search {
  position: relative; display: flex; align-items: center; gap: 8px; max-width: 620px;
  padding: 6px 6px 6px 50px; background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-soft); transition: border-color .18s, box-shadow .18s;
}
.big-search:focus-within { border-color: var(--terra); box-shadow: 0 0 0 4px rgba(166, 79, 55, .12), var(--shadow-soft); }
.big-search > .ic { position: absolute; left: 19px; width: 20px; height: 20px; color: var(--ink-45); }
.big-search input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.big-search input::-webkit-search-cancel-button { display: none; }
.big-search .btn { border-radius: 999px; min-height: 48px; padding: 0 28px; font-size: 14px; }
.hot-queries { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--ink-70); }
.hot-queries > span { margin-right: 4px; }
.hot-queries a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); border: 1px solid rgba(233, 223, 210, .9); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(58, 38, 24, .05); transition: border-color .18s, color .18s, background-color .18s;
}
.hot-queries a:hover { border-color: var(--terra); color: var(--terra); background: #fff; }
.hero-float {
  position: absolute; z-index: 2; right: 48px; bottom: 26px; display: flex; align-items: center; gap: 14px; width: 340px;
  padding: 14px 16px 14px 14px; background: rgba(255, 255, 255, .96); border-radius: 14px; box-shadow: var(--shadow-pop);
  color: var(--ink); text-decoration: none; font-size: 13px; transition: transform .25s var(--ease);
}
.hero-float:hover { transform: translateY(-3px); }
.hero-float > span:nth-child(2) { flex: 1; min-width: 0; }
.hero-float b { display: block; font-size: 14px; }
.hero-float span span { color: var(--ink-70); font-size: 12px; }
.hero-float-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--terra-soft); color: var(--terra); flex: none; }
.hero-float-ic .ic { width: 21px; height: 21px; }
.hero-float-go { width: 18px; height: 18px; color: var(--ink-45); }

/* ── полоса доверия под главным экраном: живые цифры площадки ── */
.trust { background: #fcf9f6; border-bottom: 1px solid var(--line); }
.trust-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; }
.trust-in li { display: flex; align-items: center; gap: 14px; padding: 4px 22px; min-width: 0; }
.trust-in li:first-child { padding-left: 0; }
.trust-in li + li { border-left: 1px solid var(--line); }
.trust-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--terra-soft); color: var(--terra); }
.trust-ic .ic { width: 23px; height: 23px; }
.trust-in b { display: block; font-size: 14px; font-weight: 700; line-height: 1.3; }
.trust-in b [data-stat] { font-variant-numeric: tabular-nums; }
.trust-in b [data-stat]:empty::before { content: ''; display: inline-block; width: 26px; height: 13px; border-radius: 5px; background: var(--cream-2); vertical-align: -1px; }
.trust-in small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--ink-70); }

/* ── заголовки секций ── */
.sec { padding-top: 64px; }
.sec-head { margin-bottom: 26px; }
.sec-head h2 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 700; letter-spacing: -.03em; }
.sec-head .text-link { color: var(--terra); }
.home-first { padding-top: 30px; }

/* ── категории: плитки с фото + карточка подбора ── */
.cat-wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat {
  display: flex; flex-direction: column; overflow: hidden; min-height: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); text-decoration: none; transition: border-color .18s, box-shadow .25s, transform .25s var(--ease);
}
.cat:hover { border-color: #e2cfc1; box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.cat img { width: 100%; aspect-ratio: 1.12; height: auto; object-fit: cover; background: var(--cream); mix-blend-mode: multiply; }
.cat-photo img { mix-blend-mode: normal; }
.cat > span { display: block; padding: 10px 12px 12px; }
.cat b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.cat i { display: block; font-style: normal; font-size: 11.5px; color: var(--ink-45); margin-top: 2px; }
.cat:hover b { color: var(--terra); }
.cat.is-empty { opacity: .6; }
.promo {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft);
}
.promo-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 28px 22px 28px 28px; }
.promo-copy .hero-eyebrow { font-size: 11px; letter-spacing: .22em; margin-bottom: 12px; }
.promo-copy h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.promo-copy p:not(.hero-eyebrow) { font-size: 13.5px; line-height: 1.6; color: var(--ink-70); margin: 12px 0 22px; max-width: 34ch; }
.promo-copy .btn { margin-top: auto; }
.promo-photo { position: relative; min-height: 100%; }
.promo-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.promo-list {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 2px; list-style: none; margin: 0; padding: 12px;
  background: rgba(255, 255, 255, .95); border-radius: 13px; box-shadow: var(--shadow-pop);
}
.promo-list a { display: flex; align-items: center; gap: 9px; padding: 6px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.promo-list a:hover { background: var(--panel); color: var(--terra); }
.promo-list .ic { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--ink); color: #fff; }

/* ── карточки товаров ── */
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shop-card { border-radius: var(--r-soft); background: var(--card); border-color: var(--line); box-shadow: 0 1px 2px rgba(58, 38, 24, .03); transition: box-shadow .25s, transform .25s var(--ease), border-color .18s; }
.shop-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); border-color: #e2d3c6; }

/* ── лента популярных товаров ── */
.rail-head { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 22px; }
.rail-head h2 { font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.03em; }
.rail-head .text-link { margin-left: auto; color: var(--terra); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid #e2d8cd; border-radius: 999px;
  background: var(--card); color: var(--ink-70); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: all .18s;
}
.chip:hover { border-color: var(--terra); color: var(--terra); }
.chip.on, .chip[aria-pressed="true"] { background: var(--terra); border-color: var(--terra); color: #fff; font-weight: 600; }
.rail { position: relative; }
.rail-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 18px * 4) / 5); gap: 18px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; margin: -4px -2px 0;
}
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; min-width: 0; }
.rail-track .shop-empty { grid-column: 1 / -1; }
.rail-btn {
  position: absolute; top: 38%; z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--ink); box-shadow: var(--shadow-pop); cursor: pointer; transition: opacity .2s, color .18s;
}
.rail-btn:hover { color: var(--terra); }
.rail-btn .ic { width: 20px; height: 20px; }
.rail-btn.prev { left: -20px; }
.rail-btn.next { right: -20px; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail .shop-card .prod-ph { aspect-ratio: 1.3; }
.rail .shop-card .prod-b { padding: 14px 14px 16px; }
.rail .shop-card h3 { font-size: 14px; margin-bottom: 6px; }
.rail .shop-card .product-category, .rail .shop-card .prod-seller { display: none; }
.rail .card-meta { margin-bottom: 10px; font-size: 11.5px; }
.rail .shop-card .price { font-size: 18px; }
.rail .shop-card .prod-f { flex-direction: column; align-items: stretch; gap: 12px; }
.rail .shop-card .price-v { white-space: nowrap; }
.rail .shop-card .price > span { white-space: nowrap; }
.rail .shop-card .f-acts .btn { flex: 1; min-height: 38px; padding: 6px 12px; font-size: 13px; }
.rail .shop-card .fav-btn { width: 38px; height: 38px; }
.fav-btn {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 1px solid #e2d8cd; border-radius: 10px;
  background: var(--card); color: var(--ink-70); cursor: pointer; transition: all .18s;
}
.fav-btn .ic { width: 18px; height: 18px; }
.fav-btn:hover { border-color: var(--terra); color: var(--terra); }
.fav-btn[aria-pressed="true"] { border-color: var(--terra); background: var(--terra-soft); color: var(--terra); }
.fav-btn[aria-pressed="true"] .ic { fill: currentColor; }
.prod-f .f-acts { display: flex; gap: 6px; align-items: center; flex: none; }
/* серый фон студийных снимков на тёплой подложке становится тёплым */
.shop-card .prod-ph { position: relative; aspect-ratio: 1.25; background: var(--cream); border-bottom: 0; }
.shop-card .prod-ph img { padding: 0; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.9); }
.stock-tag {
  position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 7px; border-radius: 999px; background: rgba(255, 253, 250, .92); color: var(--ok); font-size: 11px; font-weight: 600;
}
.stock-tag .ic { width: 14px; height: 14px; }
.stock-tag.is-order { color: #8a5a1c; }
.shop-card h3 { font-size: 15px; line-height: 1.4; margin-bottom: 8px; }
.shop-card .product-category { text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--ink-45); margin-bottom: 6px; }
.customer-product-controls { border-top-color: var(--cream-2); }
.customer-product-controls select, .customer-favorite { border-radius: 10px; }
.customer-favorite { display: inline-flex; align-items: center; gap: 7px; }
.customer-favorite .ic { width: 16px; height: 16px; color: var(--terra); }
.customer-favorite[aria-pressed="true"] .ic { fill: currentColor; }
.card-title { color: var(--ink); text-decoration: none; }
.card-title:hover { color: var(--terra); }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-70); margin-bottom: 14px; }
.card-meta span, .price-sub, .prod-seller { display: inline-flex; align-items: center; gap: 6px; }
.card-meta .ic, .price-sub .ic, .prod-seller .ic { width: 15px; height: 15px; color: var(--ink-45); }
.prod-seller .ic { color: var(--terra); }
.shop-card .prod-f { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 10px; }
.shop-card .prod-f .btn { width: auto; flex: none; }
.shop-card .price { font-size: 18px; }
.shop-card .price > span { margin-top: 3px; }
.sk-card { min-height: 360px; border-radius: var(--r-soft); background: linear-gradient(100deg, var(--cream) 30%, #fbf5ec 50%, var(--cream) 70%); background-size: 300% 100%; animation: sk 1.4s ease-in-out infinite; }
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.shop-empty { grid-column: 1 / -1; padding: 30px; border: 1px dashed var(--cream-2); border-radius: var(--r-soft); color: var(--ink-70); font-size: 14px; background: var(--card); }
.shop-empty .btn { margin-top: 14px; }

/* ── сцены: для какого тепла ── */
.scenes { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; }
.scene {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; padding: 24px;
  border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; isolation: isolate;
}
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.scene::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(40, 22, 12, 0) 38%, rgba(40, 22, 12, .78) 100%); }
.scene:hover img { transform: scale(1.04); }
.scene-t b { display: block; font-family: 'Lora', Georgia, serif; font-style: italic; font-weight: 500; font-size: 26px; letter-spacing: -.01em; line-height: 1.15; }
.scene-t span { display: block; font-size: 13px; color: rgba(255, 255, 255, .85); margin-top: 6px; }
.scene-go {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 8px 12px 8px 16px;
  border-radius: 999px; background: rgba(255, 253, 250, .16); border: 1px solid rgba(255, 255, 255, .3);
  font-size: 13px; font-weight: 600; backdrop-filter: blur(6px); transition: background-color .2s;
}
.scene:hover .scene-go { background: rgba(255, 253, 250, .28); }
.scene-go .ic { width: 16px; height: 16px; }

/* ── карта на главной ── */
.map-teaser {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-soft);
}
.mt-copy { padding: 40px 40px 36px; }
.mt-copy h2 { margin-bottom: 14px; }
.mt-copy > p:not(.eyebrow) { font-size: 14px; color: var(--ink-70); max-width: 46ch; }
.mt-stores { list-style: none; margin: 22px 0 24px; padding: 0; }
.mt-stores li + li { border-top: 1px solid var(--line); }
.mt-stores a { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--ink); text-decoration: none; }
.mt-stores a:hover b { color: var(--terra); }
.mt-stores .st-ic { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: var(--cream); color: var(--terra); }
.mt-stores .st-ic .ic { width: 19px; height: 19px; }
.mt-stores .st-t { flex: 1; min-width: 0; }
.mt-stores b { display: block; font-size: 14px; font-weight: 600; }
.mt-stores .st-t span { display: block; font-size: 12px; color: var(--ink-70); }
.mt-stores em { flex: none; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 12px; color: var(--ok); background: var(--ok-soft); padding: 3px 10px 3px 7px; border-radius: 999px; }
.mt-stores em .ic { width: 14px; height: 14px; }
.mt-say { font-size: 12px; color: var(--ink-70); margin-top: 12px; min-height: 18px; }
.mt-map { position: relative; min-height: 460px; background: var(--cream); }
.mt-canvas { position: absolute; inset: 0; z-index: 0; isolation: isolate; }
.mt-canvas.leaflet-container { font-family: var(--sans); background: var(--cream); }
/* «+» и «−» на маленьких картах Яндекса (у Leaflet свои) */
.mm-zoom { position: absolute; right: 12px; bottom: 14px; z-index: 5; display: grid; overflow: hidden; border-radius: 12px; background: var(--card); box-shadow: 0 2px 6px rgba(58, 38, 24, .12), 0 10px 22px -12px rgba(88, 56, 32, .35); }
.mm-zoom button { width: 40px; height: 40px; border: 0; background: none; color: var(--ink); font: 500 22px/1 var(--sans); cursor: pointer; }
.mm-zoom button + button { border-top: 1px solid var(--line); }
.mm-zoom button:hover { color: var(--terra); background: var(--panel); }
.leaflet-control-attribution { font-size: 10px !important; }

/* ── метки на картах: иконка магазина вместо точки ── */
.mk-host { background: none; border: 0; }
.mk {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 13px 6px 9px;
  border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  background: var(--card); color: var(--ink); font-family: var(--sans); font-weight: 700; font-size: 12.5px; line-height: 1.2;
  box-shadow: 0 8px 20px rgba(43, 31, 24, .28); transition: transform .3s var(--ease), background-color .2s;
}
.mk::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 11px; height: 11px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.mk:hover { transform: translate(-50%, -100%) scale(1.07); }
.mk .ic { width: 16px; height: 16px; color: var(--terra); }
.mk-bare { padding: 7px; }
.mk-bare .ic { width: 18px; height: 18px; }
.mk.is-off { background: rgba(250, 247, 242, .82); color: var(--ink-45); box-shadow: 0 3px 10px rgba(43, 31, 24, .2); }
.mk.is-off .ic { color: var(--ink-45); }
.mk.is-sel, .mk.is-full { background: var(--terra); color: #fff; }
.mk.is-sel .ic, .mk.is-full .ic { color: #fff; }
.mk-me { position: absolute; transform: translate(-50%, -50%); width: 18px; height: 18px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 5px rgba(166, 79, 55, .22), 0 2px 8px rgba(43, 31, 24, .4); }

/* ── конструктор в том же мягком стиле ── */
.cfg-card { border-radius: var(--r-soft); border-color: var(--line); }
.cfg-scheme { background: var(--cream); border-radius: var(--r-soft); overflow: hidden; }
.scheme-status { border-radius: 0 0 16px 16px; }
.seg-i { border-radius: 10px; }
.part { border-radius: 14px; background: var(--card); }
.part-ph { border-radius: 10px; background: var(--cream); }
.part-ph img { mix-blend-mode: multiply; }
.part-tab { border-radius: 999px; padding: 8px 13px; }
.sum-total, .cfg-hint { border-radius: 14px; }
.stp .n { background: var(--cream-2); }

/* ── как купить ── */
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.how li { padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-soft); }
.how-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--terra-soft); color: var(--terra); margin-bottom: 18px; }
.how-ic .ic { width: 24px; height: 24px; }
.how h3 { font-size: 17px; margin-bottom: 8px; }
.how p { font-size: 13px; color: var(--ink-70); line-height: 1.65; }

/* ── продавцам ── */
.seller-band { margin-top: 86px; }
.seller-band-in {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 48px 50px;
  border-radius: 18px; color: #fff;
  background:
    linear-gradient(100deg, rgba(36, 22, 15, .93) 0%, rgba(58, 34, 22, .84) 55%, rgba(58, 34, 22, .5) 100%),
    url('ph/w-banya.webp') center / cover;
}
.seller-band h2 { color: #fff; margin-bottom: 14px; }
.seller-band p:not(.hero-badge) { color: rgba(255, 255, 255, .82); font-size: 14px; max-width: 52ch; margin-bottom: 24px; }
.seller-band .btn-line { color: #fff; border-color: rgba(255, 255, 255, .45); }
.seller-band .btn-line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.seller-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.seller-points li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.seller-points .ic { width: 22px; height: 22px; color: #f0b89c; margin-top: 1px; }
.seller-points b { display: block; font-size: 14px; }
.seller-points li span span { display: block; font-size: 12px; color: rgba(255, 255, 255, .75); margin-top: 3px; }

/* ── заявка на подбор ── */
.contact-band { border-top: 0; }
.contact-band .form-card { border-radius: var(--r-soft); box-shadow: var(--shadow-soft); border-color: var(--cream-2); }
.contact-links a, .contact-links > span { display: inline-flex; align-items: center; gap: 10px; }
.contact-links .ic { width: 18px; height: 18px; color: var(--terra); }
.contact-links .contact-phone .ic { width: 22px; height: 22px; }

/* ── подвал ── */
.site-footer { margin-top: 70px; padding: 46px 0 26px; background: #f3ece3; border-top: 1px solid var(--cream-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.foot-grid .footer-brand .brand-flame { width: 30px; height: 30px; }
.foot-about p { font-size: 12px; color: var(--ink-70); margin-top: 12px; max-width: 34ch; line-height: 1.6; }
.foot-grid nav, .foot-contacts { display: flex; flex-direction: column; gap: 9px; font-size: 13px; }
.foot-grid nav b, .foot-contacts b { font-size: 12px; font-weight: 700; color: var(--ink-45); margin-bottom: 4px; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--terra); }
.foot-contacts a, .foot-contacts span { display: inline-flex; align-items: center; gap: 8px; }
.foot-contacts .ic { width: 16px; height: 16px; color: var(--terra); }
.foot-contacts span { color: var(--ink-70); font-size: 12px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--cream-2); font-size: 11px; color: var(--ink-70); }
.foot-bottom a { color: var(--ink-70); }
.foot-bottom > span:first-child { flex: none; }
.foot-req { flex: 1; }
.foot-docs { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-docs a:hover, .foot-bottom a:hover { color: var(--terra); }

/* ── каталог ── */
.cat-search { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.cat-search .big-search { flex: 1 1 420px; max-width: none; box-shadow: none; }
.cat-sort { min-height: 50px; padding: 0 38px 0 16px; font: inherit; font-size: 13px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23837b70' stroke-width='1.8'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.cat-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; min-height: 44px; cursor: pointer; }
.cat-check input { width: 18px; height: 18px; accent-color: var(--terra); }
.cat-result { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 22px; border-radius: 14px; background: var(--terra-soft); font-size: 13px; }
.cat-result b { font-weight: 700; }
.cat-result a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.cat-result a .ic { width: 17px; height: 17px; }
.catalog-main .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fchip { border-radius: 10px; }
.catalog-aside { position: static; }   /* с фильтрами колонка длиннее экрана — не липнет */
.aside-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.aside-title .ic, .side h3 .ic { width: 18px; height: 18px; color: var(--terra); }
.side h3 { display: flex; align-items: center; gap: 8px; }
.cat-top h1 { font-size: clamp(34px, 3.6vw, 48px); }
.catalog-note { border-radius: 14px; }
.empty-note { border-top: 0; margin-top: 44px; padding: 28px; border-radius: var(--r-soft); background: var(--card); border: 1px solid var(--line); }
.empty-note .hero-cta { margin-top: 4px; }
.fchip .n { margin-left: auto; font-size: 11px; color: var(--ink-45); font-weight: 400; }
.fchip.on .n { color: var(--terra); }
.side .text-link { gap: 6px; }

/* ── страница товара ── */
.pp-main { padding-top: 25px; padding-bottom: 20px; }
.pp-top { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
.pp-photo { position: sticky; top: 100px; background: var(--cream); border: 1px solid var(--cream-2); border-radius: 16px; overflow: hidden; aspect-ratio: 1.1; display: grid; place-items: center; }
.pp-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: saturate(.9); }
.pp-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--terra); text-decoration: none; }
.pp-cat .ic { width: 16px; height: 16px; }
.pp-info h1 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 10px 0 10px; }
.pp-seller { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; color: var(--terra); margin-bottom: 10px; }
.pp-seller .ic { width: 16px; height: 16px; }
.pp-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 18px 0 8px; }
.pp-price b { font-size: 34px; font-weight: 700; letter-spacing: -.04em; }
.pp-price span { font-size: 14px; color: var(--ink-70); }
.pp-avail { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pill-ok, .pill-wait, .pill-no { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pill-ok .ic, .pill-wait .ic, .pill-no .ic { width: 15px; height: 15px; }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.pill-wait { background: #f6ece0; color: #8a5a1c; }
.pill-no { background: var(--cream); color: var(--ink-70); }
.pp-variants { margin: 18px 0 22px; }
.pp-variants > span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-70); margin-bottom: 8px; }
.pp-variants > span .ic { width: 15px; height: 15px; }
.pp-var { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-var a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; font-size: 13px; background: var(--card); }
.pp-var a:hover { border-color: var(--terra); }
.pp-var a[aria-current] { background: var(--terra); border-color: var(--terra); color: #fff; font-weight: 600; }
.pp-var a.is-none { color: var(--ink-45); }
.pp-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pp-acts .btn { min-width: 170px; }
.pp-acts .btn[aria-pressed="true"] { color: var(--terra); border-color: var(--terra); background: var(--terra-soft); }
.pp-specs { margin: 0; border-top: 1px solid var(--line); }
.pp-specs div { display: flex; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pp-specs dt { display: flex; align-items: center; gap: 8px; width: 170px; flex: none; color: var(--ink-70); }
.pp-specs dt .ic { width: 16px; height: 16px; color: var(--ink-45); }
.pp-specs dd { margin: 0; }
.pp-descr { font-size: 14px; line-height: 1.75; color: var(--ink-70); margin-top: 22px; white-space: pre-line; max-width: 70ch; }

.pp-where { margin-top: 64px; }
.pp-where-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.pp-where-head h2 { font-size: clamp(26px, 2.6vw, 34px); }
.pp-where-head p { font-size: 13px; color: var(--ink-70); margin-top: 8px; }
.pp-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pp-place { min-width: 0; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pp-offers { display: grid; gap: 12px; }
.offer {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 18px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-soft); transition: border-color .18s, box-shadow .25s;
}
.offer.is-sel { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(166, 79, 55, .12); }
.offer.is-out { background: var(--panel); }
.offer h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.offer h3 .ic { width: 18px; height: 18px; color: var(--terra); }
.offer .o-seller { font-size: 12px; color: var(--ink-70); margin-left: 26px; }
.offer .o-addr { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-70); margin-top: 6px; }
.offer .o-addr .ic { width: 15px; height: 15px; color: var(--ink-45); }
.offer .o-right { text-align: right; }
.offer .o-price { font-size: 22px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.offer .o-km { font-size: 12px; color: var(--ink-45); margin-top: 2px; }
.offer .o-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 12px; color: var(--ink-70); }
.offer .o-meta > span:not([class^="pill"]) { display: inline-flex; align-items: center; gap: 6px; }
.offer .o-meta > span .ic { width: 15px; height: 15px; color: var(--ink-45); }
.offer .o-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.offer .o-acts .btn { min-height: 38px; padding: 8px 14px; font-size: 12px; gap: 7px; }
.offer .o-acts .btn .ic { width: 16px; height: 16px; }
.pp-map { position: sticky; top: 100px; height: 560px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.pp-map .mt-canvas { position: absolute; inset: 0; }
.pp-none { padding: 26px; border: 1px dashed var(--cream-2); border-radius: var(--r-soft); background: var(--card); }
.pp-none h3 { margin-bottom: 8px; }
.pp-none p { font-size: 13px; color: var(--ink-70); margin-bottom: 14px; }
.pp-loading { padding: 50px 0; font-size: 14px; color: var(--ink-70); }

/* ── адаптив ── */
.head-ic.search-ic { display: none; }
@media (max-width: 1300px) {
  .head-in { gap: 22px; }
  .menu { gap: 20px; margin-left: 4px; }
  .head-tools { gap: 14px; }
  .account-link small, .head-city small { display: none; }
}
@media (max-width: 1150px) {
  .head-search { display: none; }
  .head-ic.search-ic { display: grid; }
  .head-city { display: none; }
  .cat-wrap { grid-template-columns: 1fr; }
  .promo { min-height: 300px; }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-main .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail-track { grid-auto-columns: calc((100% - 18px * 2) / 3.2); }
  .trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .trust-in li:nth-child(3) { border-left: 0; padding-left: 0; }
  .scenes { grid-template-columns: 1fr 1fr; }
  .scenes .scene:first-child { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  .head { position: static; }
  .head-in { flex-wrap: wrap; row-gap: 4px; padding-top: 12px; padding-bottom: 4px; }
  .menu { order: 5; width: 100%; margin: 0; gap: 24px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); }
  .menu::-webkit-scrollbar { display: none; }
  .menu-drop > a .ic, .drop { display: none; }
  .shop-hero-bg { position: relative; height: 250px; }
  .shop-hero::before { display: none; }
  .shop-hero-in { min-height: 0; padding-top: 28px; padding-bottom: 30px; flex-direction: column; align-items: stretch; }
  .hero-script { right: 20px; top: 22px; font-size: 26px; }
  .hero-float { position: static; width: auto; margin-top: 24px; box-shadow: var(--shadow-soft); }
  .rail-btn { display: none; }
  .map-teaser { grid-template-columns: 1fr; }
  .mt-map { min-height: 360px; }
  .seller-band-in { grid-template-columns: 1fr; gap: 26px; padding: 34px 28px; }
  .pp-top { grid-template-columns: 1fr; gap: 28px; }
  .pp-photo { position: static; aspect-ratio: 1.4; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-map { position: relative; top: 0; height: 380px; order: -1; }
}
@media (max-width: 680px) {
  .brand-flame { width: 30px; height: 30px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 10.5px; }
  .head-tools { gap: 2px; }
  .account-link b { display: none; }
  .account-link { width: 42px; height: 42px; justify-content: center; }
  .demo-link { display: none; }
  .shop-hero h1 { font-size: 36px; }
  .shop-lead { font-size: 14px; }
  .hero-eyebrow { font-size: 10.5px; letter-spacing: .2em; }
  .big-search { padding-left: 44px; }
  .big-search > .ic { left: 16px; }
  .big-search .btn { padding: 0 18px; }
  .trust-in { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-top: 18px; padding-bottom: 18px; }
  .trust-in li { padding: 0; border-left: 0 !important; gap: 10px; align-items: flex-start; }
  .trust-ic { width: 40px; height: 40px; border-radius: 11px; }
  .trust-in b { font-size: 13px; }
  .trust-in small { font-size: 11px; }
  .sec { padding-top: 48px; }
  .home-first { padding-top: 26px; }
  .cats { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 38%; overflow-x: auto; scrollbar-width: none; gap: 10px; padding-bottom: 4px; }
  .cats::-webkit-scrollbar { display: none; }
  .cat b { font-size: 13px; }
  .promo { grid-template-columns: 1fr; }
  .promo-photo { min-height: 210px; order: -1; }
  .promo-copy { padding: 22px; }
  .rail-head .chips { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .rail-track { grid-auto-columns: 62%; gap: 12px; }
  .shop-grid, .catalog-main .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-card .prod-f { flex-direction: column; align-items: stretch; }
  .shop-card .prod-f .btn { width: 100%; }
  .shop-card h3 { font-size: 13px; }
  .scenes { grid-template-columns: 1fr; }
  .scene { min-height: 260px; }
  .how { grid-template-columns: 1fr; }
  .mt-copy { padding: 28px 22px; }
  .seller-band { margin-top: 56px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-bottom { flex-direction: column; gap: 6px; }
  .offer { grid-template-columns: 1fr; }
  .offer .o-right { text-align: left; }
  .pp-specs dt { width: 130px; }
}
@media (max-width: 380px) {
  .shop-grid, .catalog-main .shop-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sk-card { animation: none; }
  .cat:hover, .shop-card:hover, .hero-float:hover { transform: none; }
  .scene:hover img { transform: none; }
}
/* Стыки плиток карты. Если карта стоит на странице с дробным сдвигом
   (а в текучей вёрстке так почти всегда), Chrome сглаживает края плиток
   и между рядами проступают светлые полоски. Плитка на полпикселя больше
   перекрывает стык; смешивание plus-lighter из leaflet.css здесь только мешает. */
.leaflet-container .leaflet-tile-pane img.leaflet-tile { width: 256.5px !important; height: 256.5px !important; mix-blend-mode: normal; }

/* ── «Рядом с»: моё местоположение или адрес (place.js) ── */
.place-lbl { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--ink); }
.place-cur { display: flex; align-items: center; gap: 10px; padding: 9px 8px 9px 10px; border-radius: 12px; background: var(--terra-soft); }
.place-cur[hidden] { display: none; }
.place-cur-ic { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--card); color: var(--terra); }
.place-cur-ic .ic { width: 17px; height: 17px; }
.place-cur-t { flex: 1; min-width: 0; line-height: 1.25; }
.place-cur-t b { display: block; font-size: 13.5px; font-weight: 700; color: var(--terra-deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.place-cur-t small { display: block; margin-top: 1px; font-size: 11.5px; color: var(--ink-70); }
.place-change { flex: none; padding: 4px 2px; border: 0; background: none; color: var(--terra); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.place-change:hover { text-decoration: underline; }
.place-x { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 0; border-radius: 8px; background: none; color: var(--terra-deep); cursor: pointer; }
.place-x:hover { background: rgba(166, 79, 55, .12); }
.place-x .ic { width: 16px; height: 16px; }
.place-alt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.place-alt[hidden] { display: none; }
.place-alt-t { width: 100%; font-size: 12px; color: var(--ink-70); }
.place-alt-b { min-height: 30px; padding: 0 10px; border: 1px solid #e2d8cd; border-radius: 999px; background: var(--card); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; text-align: left; }
.place-alt-b:hover { border-color: var(--terra); color: var(--terra); }
.place.is-compact .place-alt { flex-basis: 100%; }
.place-pick { display: grid; gap: 8px; }
.place-cur:not([hidden]) + .place-pick:not([hidden]) { margin-top: 8px; }
.place-pick[hidden] { display: none; }
.place-geo { width: 100%; justify-content: flex-start; }
.place-addr { display: flex; gap: 6px; }
.place-addr .inp { flex: 1; min-width: 0; min-height: 40px; margin: 0; padding: 8px 12px; font-size: 13px; }
.place-addr .btn { flex: none; min-height: 40px; }
.place-say { margin: 6px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-70); }
.place-say:empty { display: none; }
.place.is-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.place.is-compact .place-lbl { margin: 0; }
.place.is-compact .place-pick { display: flex; flex-wrap: wrap; align-items: center; }
.place.is-compact .place-pick[hidden] { display: none; }
.place.is-compact .place-geo { width: auto; }
.place.is-compact .place-addr .inp { width: 240px; }
.place.is-compact .place-cur + .place-pick { margin-top: 0; }
.place.is-compact .place-say { flex-basis: 100%; }

/* ── фильтры каталога ── */
.flt-box { margin-top: 22px; }
.flt { border-top: 1px solid var(--line); padding-top: 16px; }
.flt-sum { display: flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.flt-sum::-webkit-details-marker { display: none; }
.flt-sum .ic { width: 18px; height: 18px; color: var(--terra); }
.flt-sum-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--terra); color: #fff; font-size: 11px; }
.flt-sum-n:empty { display: none; }
.flt-sec { padding: 14px 0; border-top: 1px dashed var(--line); }
.flt-place { border-top: 0; padding-top: 0; }
.flt-t { margin: 0 0 9px; font-size: 13px; font-weight: 700; color: var(--ink); }
.fc-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fc {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 11px; border: 1px solid #e2d8cd; border-radius: 999px;
  background: var(--card); color: var(--ink); font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color .18s, color .18s, background-color .18s;
}
.fc .n { font-size: 11px; color: var(--ink-45); }
.fc:hover { border-color: var(--terra); color: var(--terra); }
.fc.on { background: var(--terra); border-color: var(--terra); color: #fff; font-weight: 600; }
.fc.on .n { color: rgba(255, 255, 255, .8); }
.fc.is-off, .fc:disabled { opacity: .45; cursor: default; }
.fc:disabled:hover { border-color: #e2d8cd; color: var(--ink); }
.flt-price { display: flex; align-items: center; gap: 6px; }
.flt-price .inp { width: 0; flex: 1; min-height: 38px; margin: 0; padding: 7px 10px; font-size: 13px; }
.flt-dash { color: var(--ink-45); }
.flt-price .btn { flex: none; min-height: 38px; padding: 6px 10px; }
.flt-rad { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--ink-70); }
.flt-rad[hidden] { display: none; }
.flt-rad .cat-sort { min-height: 38px; padding: 0 34px 0 12px; font-size: 13px; }
.flt-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 22px; }
.flt-active[hidden] { display: none; }
.fa {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 10px 0 14px; border: 0; border-radius: 999px;
  background: var(--terra-soft); color: var(--terra-deep); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; max-width: 100%;
}
.fa .ic { width: 15px; height: 15px; }
.fa:hover { background: #f1d9cc; }
.fa-reset { border: 0; background: none; padding: 6px 4px; color: var(--ink-70); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fa-reset:hover { color: var(--terra); }
.card-near { display: flex; align-items: center; gap: 6px; margin: -4px 0 12px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.card-near .ic { width: 15px; height: 15px; }
@media (max-width: 680px) {
  .flt-box { margin-top: 12px; }
  .flt { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .flt-sum { margin: 0; min-height: 28px; }
  .flt[open] .flt-sum { margin-bottom: 12px; }
  .catalog-aside .flt-box { display: block; }
}

/* Разделы каталога — ссылки на свои адреса (/catalog/truby) */
a.fchip { text-decoration: none; }
.fchip.is-off { opacity: .45; cursor: default; }
.side h2 { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0; margin-bottom: 9px; }
.side h2 .ic { width: 18px; height: 18px; color: var(--terra); }
.cat-group__head h2 a { color: inherit; text-decoration: none; }
.cat-group__head h2 a:hover { color: var(--terra); }

/* Список магазинов, собранный сервером, пока карта не ожила */
.mp-pt-static { cursor: default; }

/* Страница 404 */
.nf-main { padding-top: 56px; padding-bottom: 72px; max-width: 760px; }
.nf-code { font: 800 64px/1 var(--sans, inherit); color: var(--terra); margin: 0 0 10px; letter-spacing: -.02em; }
.nf-main h1 { font-size: 40px; margin: 0 0 14px; }
.nf-lead { font-size: 16px; line-height: 1.6; color: var(--ink-70); margin: 0 0 24px; max-width: 60ch; }
.nf-search { margin-bottom: 20px; }
.nf-h2 { font-size: 20px; margin: 40px 0 14px; }
.nf-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.nf-cats a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; background: var(--card); }
.nf-cats a:hover { border-color: var(--terra); color: var(--terra); }
@media (max-width: 560px) { .nf-code { font-size: 48px; } .nf-main h1 { font-size: 30px; } }

/* Плашка про cookie */
.cookie-note { position: fixed; left: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 16px;
  max-width: 560px; padding: 14px 16px 14px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); box-shadow: 0 18px 40px -20px rgba(42, 37, 33, .45); }
.cookie-note p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--ink-70); }
.cookie-note a { color: var(--terra); }
.cookie-note .btn { flex: none; }
@media (max-width: 560px) {
  .cookie-note { left: 10px; right: 10px; bottom: 10px; max-width: none; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px; }
}

/* Документы: политика, соглашение, согласие, cookie */
.legal-main { padding-top: 8px; padding-bottom: 40px; }
.legal { max-width: 820px; }
.legal h1 { font-size: 36px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.legal .legal-date { font-size: 13px; color: var(--ink-70); margin: 0 0 28px; }
.legal h2 { font-size: 20px; margin: 34px 0 12px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink); }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--terra); }
.legal .legal-op { padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); margin: 0 0 24px; }
.legal .legal-op p { margin: 0 0 4px; font-size: 14px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; max-width: 820px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; background: var(--card); }
.legal-nav a:hover, .legal-nav a[aria-current] { border-color: var(--terra); color: var(--terra); }
@media (max-width: 560px) { .legal h1 { font-size: 28px; } .legal p, .legal li { font-size: 14.5px; } }