/* Тема «Дровишкин» — вариант 3 «Бочонок» (выбор владельца 17.11.2026; макет design/gorod/v3-bochonok.html): весёлый, со знаком Дровишкина (бочонок с глазами) на видном месте. Белая берёза, красно-рыжий бочонок,
   свежий зелёный лист. Заголовки и текст — Nunito (округлые концы букв, как сам бочонок; жирность 900 у заголовков). Цены — «наклейками». */
:root {
  --bg: #ffffff; --birch: #fbf5ea; --ink: #2b2220; --muted: #6f6460; --line: #eee3d3;
  --barrel: #d24f2a; --barrel-d: #a93a1a; --leaf: #4f9a35; --leaf-d: #3a7826; --leaf-soft: #ebf6e3; --sticker: #ffe7cf;
  --r: 22px;
  --card: #fff; --paper: var(--birch); --terra: var(--barrel); --terra-d: var(--barrel-d); --bark: var(--ink); --ring: var(--line); --head: "Nunito", Arial, sans-serif; --body: "Nunito", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--barrel-d); }
h1, h2, h3 { font-family: var(--head); font-weight: 900; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.015em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }

.hdr { background: #fff; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 0 var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo { gap: 8px; min-width: 0; text-decoration: none; color: var(--ink); }
.logo img { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; }
.logo-text { font-family: var(--head); font-weight: 900; font-size: 21px; letter-spacing: -.02em; white-space: nowrap; }
.city { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf-d); text-decoration: none; font-weight: 900; font-size: 15px; }
.city::before { content: "📍"; font-size: 13px; }
.nav { display: none; gap: 6px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-weight: 700; }
.nav a:hover { background: var(--birch); }
.hdr-phone { display: none; font-weight: 900; font-size: 18px; color: #fff; background: var(--barrel); padding: 9px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.hdr-call { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--barrel); color: #fff; align-items: center; justify-content: center; }
@media (min-width: 900px) { .nav, .hdr-phone { display: inline-flex; } .hdr-call { display: none; } }

.crumbs { font-size: 14px; color: var(--muted); padding: 14px 0 0; }
.crumbs a { color: var(--muted); }
.hero { position: relative; display: grid; gap: 18px; padding: 14px 0 34px; }
.hero-card { position: relative; background: var(--birch); border-radius: var(--r); padding: 22px 18px 20px; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(210,79,42,.08); }
.hero h1 { font-size: clamp(28px, 6.4vw, 48px); color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--barrel); }
.hero-from { margin: 14px 0 0; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-weight: 700; }
.hero-from b { display: inline-block; font-family: var(--head); font-weight: 900; font-size: 28px; padding: 2px 12px; background: var(--sticker); color: var(--barrel-d); border-radius: 12px; transform: rotate(-2deg); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; position: relative; z-index: 1; }
.btn-call { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 24px; border-radius: 999px; background: var(--barrel); color: #fff; font-weight: 900; font-size: 18px; text-decoration: none; box-shadow: 0 6px 16px rgba(210,79,42,.3); }
.btn-call:hover { background: var(--barrel-d); }
.btn-ghost { display: inline-flex; align-items: center; min-height: 54px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; text-decoration: none; box-shadow: inset 0 0 0 2px var(--line); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.facts li { padding: 6px 12px 6px 30px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 15px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--leaf); box-shadow: inset 0 0 0 3px #a6d68f; }
.hero-photo { position: relative; margin: 0; border-radius: var(--r); overflow: visible; }
.hero-photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; border-radius: var(--r); }
.badge { float: right; position: relative; width: 92px; height: 92px; margin: -6px -4px 8px 12px; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.15); background: #eee; transform: rotate(8deg); }
.badge img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo figcaption { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; align-items: stretch; } .hero-card { padding: 40px 190px 40px 36px; display: flex; flex-direction: column; justify-content: center; } .hero-photo > img { height: 100%; aspect-ratio: auto; } .badge { position: absolute; float: none; right: 28px; top: 28px; width: 132px; height: 132px; margin: 0; } }

.sec { padding-block: 36px; }
.sec-h { font-size: clamp(25px, 4.6vw, 34px); margin-bottom: 18px; }
.sec-lead { margin: -8px 0 18px; color: var(--muted); }

/* ---------- Прайс Зилкина ---------- */
.dv-prices { background: var(--birch); border-radius: var(--r); padding: 20px 12px 16px; }
.dv-title { font-size: clamp(23px, 4.4vw, 32px); margin: 0 4px 14px; }
.dv-zone { display: grid; gap: 6px; margin: 0 4px 18px; max-width: 440px; }
.dv-zone label { font-weight: 900; font-size: 15px; color: var(--leaf-d); text-transform: uppercase; letter-spacing: .04em; }
.dv-zone select { font: inherit; font-weight: 800; font-size: 17px; min-height: 52px; padding: 0 16px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--leaf); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--leaf) 50%), linear-gradient(135deg, var(--leaf) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.dv-cubes { display: grid; gap: 16px; }
.dv-cube { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 0 var(--line); }
.dv-cube-photo { position: relative; }
.dv-cube-photo a, .dv-cube-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.dv-cube-main { padding: 14px 14px 16px; display: grid; gap: 8px; }
.dv-cube-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.dv-cube-name { font-size: 22px; }
.dv-cube-name a { color: var(--ink); text-decoration: none; }
.dv-cube-name a::after { content: " →"; color: var(--barrel); font-family: var(--body); }
.dv-cube-from { margin: 0; display: inline-grid; justify-items: center; padding: 6px 14px; background: var(--sticker); border-radius: 14px; transform: rotate(-2deg); }
.dv-cube-from span { font-family: var(--head); font-weight: 900; font-size: 23px; color: var(--barrel-d); line-height: 1.1; }
.dv-cube-from small { font-size: 12px; font-weight: 800; color: var(--barrel-d); }
.dv-cube-hint { margin: 0; font-size: 15px; color: var(--muted); }
.dv-cube-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.dv-opt { font: inherit; text-align: left; display: grid; padding: 10px 12px; border: 0; border-radius: 14px; background: var(--birch); cursor: pointer; color: var(--ink); }
.dv-opt:hover { box-shadow: inset 0 0 0 2px var(--barrel); }
.dv-opt-q { font-weight: 900; }
.dv-opt-v { font-size: 13px; color: var(--muted); }
.dv-opt-p { font-family: var(--head); font-weight: 900; font-size: 18px; margin-top: 4px; }
.dv-opt-c { font-size: 13px; color: var(--muted); }
.dv-opt--best { background: var(--leaf-soft); box-shadow: inset 0 0 0 2px var(--leaf); }
.dv-opt--best .dv-opt-q::after { content: " ★"; color: var(--leaf); }
.dv-buy, .dv-call { grid-column: 1 / -1; font: inherit; font-weight: 900; font-size: 18px; min-height: 52px; border: 0; border-radius: 999px; background: var(--barrel); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; box-shadow: 0 6px 14px rgba(210,79,42,.25); }
.dv-call { background: var(--leaf); box-shadow: 0 6px 14px rgba(79,154,53,.25); }
.dv-cube--none .dv-cube-from { background: #f1ede7; transform: none; }
.dv-cube--none .dv-cube-from span { font-family: var(--body); font-weight: 800; font-size: 15px; color: var(--muted); }
.dv-note { font-size: 15px; color: var(--muted); margin: 16px 6px 4px; }
.dv-updated { font-size: 13px; color: var(--muted); margin: 0 6px; }
@media (min-width: 700px) {
  .dv-prices { padding: 26px; }
  .dv-cubes { grid-template-columns: 1fr; }
  .dv-cube { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
  .dv-cube-photo a, .dv-cube-photo img { height: 100%; aspect-ratio: auto; min-height: 220px; }
  .dv-cube-main { padding: 18px 20px; }
  .dv-cube-opts { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
  .dv-buy, .dv-call { grid-column: auto; padding: 0 26px; align-self: center; }
  .dv-cube--site .dv-cube-opts { grid-template-columns: auto; justify-content: start; }
}
.goods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.dv-good { display: grid; justify-items: start; gap: 2px; padding: 10px; background: var(--birch); border-radius: 18px; text-decoration: none; color: var(--ink); }
.dv-good img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; margin-bottom: 6px; }
.dv-good-name { font-weight: 800; line-height: 1.25; }
.dv-good-price { font-family: var(--head); color: var(--barrel-d); }
@media (min-width: 700px) { .goods { grid-template-columns: repeat(4, 1fr); } }

.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 18px; border-radius: var(--r); background: var(--leaf-soft); }
.steps li:nth-child(2) { background: var(--sticker); }
.steps li:nth-child(3) { background: var(--birch); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; font: 700 22px var(--head); color: #fff; background: var(--leaf); }
.steps li:nth-child(2)::before { background: var(--barrel); }
.steps li:nth-child(3)::before { background: #8a5a36; }
.steps b { display: block; font-family: var(--head); font-size: 19px; margin-bottom: 4px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.why { display: grid; gap: 18px; }
.why-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.why-list li { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.why-list svg { width: 52px; height: 52px; padding: 8px; border-radius: 50%; background: var(--birch); }
.why-list b { display: block; font-size: 18px; }
.why-badge { border-radius: var(--r); overflow: hidden; max-width: 340px; transform: rotate(1.5deg); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
@media (min-width: 860px) { .why { grid-template-columns: 1fr 320px; align-items: center; } .why-list { grid-template-columns: 1fr 1fr; gap: 20px; } }

.winter { display: grid; gap: 8px; padding: 22px; border-radius: var(--r); background: linear-gradient(135deg, #2f4f8a0d, transparent), var(--leaf-d); color: #f0f8ea; }
.winter h2 { color: #fff; }
.winter p { margin: 0; max-width: 72ch; }
.winter a { color: #fff; font-weight: 900; }

.trucks { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.truck { flex: 0 0 230px; scroll-snap-align: start; background: var(--birch); border-radius: 18px; padding: 12px; }
.truck img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #fff; border-radius: 12px; }
.truck b { display: block; font-family: var(--head); margin-top: 8px; }
.truck span { font-size: 14px; color: var(--muted); }
@media (min-width: 900px) { .trucks { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

.faq details { background: var(--birch); border-radius: 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 52px 16px 18px; font-weight: 900; font-size: 18px; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 14px; top: 11px; width: 30px; height: 30px; border-radius: 50%; background: var(--barrel); color: #fff; display: grid; place-items: center; font-size: 20px; }
.faq details[open] summary::after { content: "−"; background: var(--leaf); }
.faq details > div { padding: 0 18px 16px; }
.faq p { margin: 0 0 8px; }

.text { max-width: 76ch; }
.text p, .text li { margin: 0 0 10px; }
.text .more { max-height: 260px; overflow: hidden; position: relative; }
.text .more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.text .more.open { max-height: none; }
.text .more.open::after { display: none; }
.more-btn { font: inherit; font-weight: 900; color: var(--barrel-d); background: var(--sticker); border: 0; padding: 8px 16px; border-radius: 999px; cursor: pointer; }

.contacts { display: grid; gap: 16px; background: var(--birch); border-radius: var(--r); padding: 20px; }
.contacts h3 { font-size: 22px; }
.contacts p { margin: 0 0 6px; }
.contacts .ph { font-weight: 900; font-size: 21px; color: var(--ink); text-decoration: none; display: block; }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.messengers a { padding: 7px 14px; border-radius: 999px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 15px; }
.map { min-height: 220px; border-radius: 16px; background: repeating-linear-gradient(45deg, #f1e7d6 0 12px, #f8f0e3 12px 24px); display: grid; place-items: center; color: var(--muted); font-weight: 800; }
@media (min-width: 860px) { .contacts { grid-template-columns: 1fr 1.2fr; } }

.ftr { margin-top: 30px; background: #2b2220; color: #e2d6cf; padding: 34px 0 96px; font-size: 15px; border-radius: 28px 28px 0 0; }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr h4 { margin: 0 0 6px; font-family: var(--head); color: #ffb08c; font-size: 15px; }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid #4a3b37; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; color: #b3a39b; }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: repeat(4, 1fr) 1.3fr; } .ftr { padding-bottom: 34px; } }

.callbar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 8px; }
.callbar a { flex: 1; min-height: 56px; border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 900; font-size: 19px; text-decoration: none; background: var(--barrel); color: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.callbar a.msg { flex: 0 0 56px; background: #fff; color: var(--ink); }
@media (min-width: 900px) { .callbar { display: none; } }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* Окно заявки Зилкина (вид формы «окно по кнопке»; в карточке сайта в Зилкине «Оформление» — «Как у темы сайта»:
   Зилкин сам ставит окно поверх страницы и прячет ловушку для роботов, поля и кнопки оформляет тема) */
.dv-prices .dv-modal { background: rgba(42,29,20,.55); }
.dv-prices .dv-modal-box { background: var(--card); color: var(--ink); border-radius: 16px; padding: 22px 20px; }
.dv-prices .dv-modal-x { color: var(--muted); }
.dv-prices .dv-form { display: grid; gap: 12px; }
.dv-prices .dv-form-title { margin: 0; font-family: var(--head); font-weight: 800; font-size: 22px; padding-right: 30px; color: var(--bark); }
.dv-prices .dv-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.dv-prices .dv-group legend { font-weight: 700; color: var(--muted); font-size: 14px; padding: 0; margin-bottom: 6px; }
.dv-prices .dv-field { display: grid; gap: 4px; font-weight: 700; }
.dv-prices .dv-label { font-size: 15px; }
.dv-prices .dv-form .form-control { font: inherit; width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid var(--bark); border-radius: 10px; background: #fff; color: var(--ink); }
.dv-prices .dv-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); font-weight: 400; }
.dv-prices .dv-submit { font: inherit; font-weight: 700; font-size: 18px; min-height: 52px; border: 0; border-radius: 12px; background: var(--terra); color: #fff; cursor: pointer; box-shadow: 0 3px 0 var(--terra-d); }
.dv-prices .dv-submit:disabled { opacity: .6; }
.dv-prices .dv-form-msg { margin: 0; color: var(--terra-d); font-weight: 700; }
.dv-prices .dv-form-msg--ok { color: var(--leaf); }
.dv-prices .dv-thanks { margin: 0; font-family: var(--head); font-size: 20px; color: var(--leaf); }
.dv-prices .dv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dv-prices .dv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; }

/* ---------- сверх макета: выбор города, страница товара, главная, тексты и модули владельца ---------- */
.city-pick { position: relative; }
.city-pick summary { list-style: none; cursor: pointer; }
.city-pick:not([open]) .city-list { display: none; }
.city-pick summary::-webkit-details-marker { display: none; }
.city-pick summary::after { content: "▾"; font-size: 11px; margin-left: 2px; color: var(--muted); }
.city-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; width: min(560px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px 18px; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(47,33,24,.18); }
.city-list b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.city-list a { display: block; padding: 3px 0; color: var(--ink); text-decoration: none; font-weight: 700; }
.city-list a[aria-current] { color: var(--terra-d); }
@media (max-width: 899px) { .city-pick { position: static; } .city-list { left: 16px; right: 16px; width: auto; top: 64px; } }
.hdr .wrap { position: relative; }
.crumbs span { color: var(--ink); }
.hero-photo { margin: 0; }
.zk-none { margin: 0; font-size: 18px; }
.zk-none a { font-weight: 700; white-space: nowrap; }
.dv-cubes--site { margin-top: 14px; }
.dv-prices + .dv-prices { margin-top: 16px; }
.dv-cta { display: none; }
.dv-prices .btn { font: inherit; }
.dv-table, .dv-cube-zones { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15px; background: #fff; }
.dv-cube-zones th, .dv-cube-zones td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.dv-cube-zones th { font-weight: 700; color: var(--muted); font-size: 13px; }
.dv-cube-zones .text-right { text-align: right; }
.dv-zrow--sel td { background: var(--leaf-soft); font-weight: 700; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dv-cube--site .dv-cube-hint { color: var(--muted); }

/* страница товара */
.prod { display: grid; gap: 20px; padding: 8px 0 26px; }
.gallery-main { display: block; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 6px var(--card), 0 0 0 7px var(--line); }
.gallery-main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 14px; overflow-x: auto; }
.gallery-thumbs a { flex: 0 0 64px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; }
.gallery-thumbs a[aria-current] { border-color: var(--terra); }
.gallery-thumbs img { width: 64px; height: 85px; object-fit: cover; }
.prod h1 { font-size: clamp(28px, 5.4vw, 42px); font-weight: 800; color: var(--bark); }
.prod-city { margin: 6px 0 0; color: var(--muted); font-weight: 700; }
.prod-price { margin: 14px 0 0; font-family: var(--head); font-weight: 800; font-size: 30px; color: var(--terra-d); }
.prod-price--none { font-family: var(--body); font-style: italic; font-weight: 400; font-size: 21px; color: var(--muted); }
.prod-text { margin-top: 18px; max-width: 70ch; }
.prod-text p { margin: 0 0 10px; }
.prod-back a { font-weight: 700; }
@media (min-width: 860px) { .prod { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; padding-top: 16px; } .gallery { position: sticky; top: 84px; } }
.r-product-product .dv-cube-photo { display: none; }
.r-product-product .dv-cube { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .r-product-product .dv-cube { grid-template-columns: minmax(0, 1fr); } }

/* главная */
.hero--home { padding-bottom: 10px; }
.hero-lead { margin: 12px 0 0; font-size: 19px; max-width: 60ch; }
.regions { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.region { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.region h2 { font-size: 18px; color: var(--muted); margin-bottom: 8px; }
.region ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.region a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 10px; padding: 8px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.region a:hover { border-color: var(--terra); }
.region b { font-family: var(--head); font-size: 19px; }
.region span { color: var(--muted); font-size: 15px; }

/* страницы-тексты (статья, «О нас») */
.page { padding-bottom: 30px; }
.page h1 { font-size: clamp(28px, 5vw, 40px); color: var(--bark); margin: 8px 0 18px; }
.text img { max-width: 100%; height: auto; border-radius: 10px; }
.text h2, .text h3, .text h4 { margin: 18px 0 8px; color: var(--bark); }
.text iframe { max-width: 100%; border: 0; border-radius: 12px; }
.text table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 15px; }
.text td, .text th { padding: 6px 8px; border-bottom: 1px solid var(--line); }

/* текст города и модули владельца: разметка старого сайта (Bootstrap 3) — без Bootstrap */
.text .row, .mods .row { display: flex; flex-wrap: wrap; gap: 14px; margin: 14px 0; }
.text .row > [class*="col-"], .mods .row > [class*="col-"] { flex: 1 1 260px; min-width: 0; }
.text .row[style*="background"] { padding: 16px; border-radius: var(--r); }
.text .hidden-xs { display: none; }
@media (min-width: 768px) { .text .hidden-xs { display: block; } }
.img-responsive { max-width: 100%; height: auto; }
.mywhatsappicon { display: flex; gap: 8px; align-items: center; }
.mywhatsappicon img { width: 32px; height: 32px; }
.mods .mod { margin-bottom: 26px; }
.mods h3 { font-family: var(--head); font-size: clamp(22px, 4vw, 30px); color: var(--bark); margin: 0 0 12px; }
.mods h4 { font-family: var(--head); margin: 14px 0 6px; }
.mods p { max-width: 76ch; }
.mods .row > [class*="col-"] { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; flex: 1 1 220px; }
.mods .row > [class*="col-"] img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.mods .row[style*="background"] { padding: 16px; border-radius: var(--r); align-items: center; }
.mods .row[style*="background"] > [class*="col-"] { background: transparent; border: 0; }
.mods .table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.mods .table td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mods iframe { max-width: 100%; border: 0; border-radius: 12px; margin: 0 8px 8px 0; aspect-ratio: 3 / 2; height: auto; }
.mods hr, .text hr { border: 0; border-top: 1px dashed var(--line); margin: 18px 0; }

/* служебные страницы LiveStore (корзина, поиск, кабинет) — со стилями Bootstrap */
.dv-std .hdr, .dv-std .ftr { font-family: var(--body); }
.dv-std .container { max-width: 1120px; }
/* широкие таблицы владельца (таблицы горения) — листаются пальцем, страница не шире экрана */
.mods table, .text table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 600px) { .mods table, .text table { font-size: 14px; } }
/* список статей блога */
.articles { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 10px; }
.articles a { display: block; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.articles a:hover { border-color: var(--terra); }

/* ---------- «Бочонок» поверх общих правил: товар, главная, тексты, окно заявки ---------- */
/* шапка на телефоне: длинное название города («Симферополь») не выталкивает кнопку звонка */
.hdr .wrap { gap: 10px; }
.city-pick { min-width: 0; flex: 0 1 auto; }
.city { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.hdr-call { flex: 0 0 46px; }
@media (max-width: 420px) { .logo-text { font-size: 18px; } .city { padding: 6px 10px; font-size: 14px; } .city::before { display: none; } }
@media (max-width: 340px) { .logo-text { display: none; } }
.city-pick summary::after { display: none; }
.city-list { border-radius: 22px; border: 0; box-shadow: 0 16px 40px rgba(43,34,32,.2); }
.hero-photo figcaption { z-index: 1; }
.dv-prices .dv-modal { background: rgba(43,34,32,.55); }
.dv-prices .dv-modal-box { border-radius: 26px; padding: 24px 20px; }
.dv-prices .dv-form-title { font-weight: 900; color: var(--ink); }
.dv-prices .dv-form .form-control { border: 0; border-radius: 999px; padding: 0 16px; box-shadow: inset 0 0 0 2px var(--line); }
.dv-prices .dv-form .form-control:focus { box-shadow: inset 0 0 0 2px var(--leaf); outline: none; }
.dv-prices .dv-submit { border-radius: 999px; font-weight: 900; box-shadow: 0 6px 14px rgba(210,79,42,.25); }
.dv-prices .dv-thanks { font-weight: 900; }
.zk-none { margin: 0 4px; }
.dv-cubes--site .dv-cube-hint { color: var(--muted); }
.dv-cube-zones { border-radius: 14px; overflow: hidden; }
.dv-zrow--sel td { background: var(--leaf-soft); }
.gallery-main { box-shadow: none; border-radius: var(--r); }
.gallery-thumbs a { border-radius: 12px; }
.gallery-thumbs a[aria-current] { border-color: var(--barrel); }
.prod h1, .page h1 { font-weight: 900; color: var(--ink); }
.prod-price { display: inline-block; font-weight: 900; padding: 4px 14px; background: var(--sticker); color: var(--barrel-d); border-radius: 14px; transform: rotate(-2deg); }
.prod-price--none { transform: none; background: #f1ede7; color: var(--muted); font-style: normal; font-weight: 800; font-size: 18px; }
.prod-city { color: var(--leaf-d); font-weight: 900; }
.region { background: var(--birch); border: 0; border-radius: var(--r); }
.region h2 { color: var(--leaf-d); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.region a { border: 0; border-radius: 14px; box-shadow: 0 2px 0 var(--line); }
.region a:hover { box-shadow: inset 0 0 0 2px var(--barrel); }
.region b { font-weight: 900; }
.hero--home .hero-card { padding-bottom: 24px; }
.mods .row > [class*="col-"] { background: var(--birch); border: 0; border-radius: 18px; }
.mods .row > [class*="col-"] img { background: #fff; border-radius: 12px; }
.mods h3, .text h2, .text h3, .text h4 { color: var(--ink); font-weight: 900; }
.mods .table, .text table { border-radius: 14px; }
.text .row[style*="background"], .mods .row[style*="background"] { border-radius: var(--r); }
.articles a { border: 0; background: var(--birch); border-radius: 18px; font-weight: 900; }
.articles a:hover { box-shadow: inset 0 0 0 2px var(--barrel); }
.more-btn[hidden] { display: none; }
/* фото товаров — в их пропорции 5 : 7; номер телефона на кнопке — одной строкой */
.gallery-main img { aspect-ratio: 5 / 7; }
.gallery-thumbs img { width: 64px; height: 90px; }
.btn-call { white-space: nowrap; }
@media (max-width: 420px) { .btn-call { padding: 0 18px; font-size: 17px; } .hero-btns { gap: 8px; } }
.dv-prices .dv-buy { font-weight: 900; font-size: 18px; }
