/* Кирпичный двор — redesign 2026. Built from the approved mockups (dev/mockups/src/*.css) plus the WordPress layer at the end. */

/* ===== base.css ===== */
:root {
  --ink: #161514;
  --paper: #F2F1EE;
  --concrete: #E6E6E6;
  --soft: #E4E1DC;
  --muted: #6A6660;
  --red: #D13D39;
  --ink-2: #242220;
  --ink-muted: #A8A39C;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-width: 1440px;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
img { display: block; }

.wrap { width: 1320px; margin: 0 auto; }
.label { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--muted); }
.display { font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
.arrow::after { content: "→"; font-weight: 500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  height: 60px; padding: 0 26px;
  font-weight: 600; font-size: 16px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-soft { background: var(--soft); color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }

/* Header */
.hdr-top { background: var(--ink); color: var(--ink-muted); font-size: 13px; }
.hdr-top .wrap { display: flex; align-items: center; gap: 32px; height: 40px; }
.hdr-top .push { margin-left: auto; color: #fff; }
.hdr-top .dot { display: inline-block; width: 6px; height: 6px; background: var(--red); margin-right: 10px; vertical-align: 2px; }
.hdr-main { background: #fff; }
.hdr-main .wrap { display: flex; align-items: center; gap: 8px; height: 84px; }
.logo { display: flex; align-items: center; margin-right: 40px; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 10px 14px; font-weight: 500; font-size: 16px; white-space: nowrap; }
.hdr-calc { display: flex; align-items: center; gap: 10px; margin-left: auto; padding: 10px 16px; font-weight: 500; font-size: 16px; white-space: nowrap; }
.hdr-calc .key { display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; }
.hdr-calc .key i { width: 7px; height: 7px; background: var(--ink); }
.hdr-calc .key i:last-child { background: var(--red); }
.hdr-phone { display: flex; flex-direction: column; padding: 0 20px 0 12px; white-space: nowrap; }
.hdr-phone small { font-size: 12px; color: var(--muted); }
.hdr-phone b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.hdr-cta { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px; background: var(--red); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; }

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 56px; }
.hero-left { display: flex; flex-direction: column; }
.hero-meta { display: flex; align-items: center; gap: 18px; }
.tag { display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; background: var(--red); color: #fff; font-size: 13px; font-weight: 600; }
.hero h1 { margin-top: 32px; font-size: 92px; line-height: 1.0; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero-sub { display: flex; flex-direction: column; gap: 30px; margin-top: auto; }
.hero-sub p { font-size: 20px; line-height: 1.55; max-width: 560px; color: #3A3734; }
.hero-sub .btns { display: flex; gap: 10px; }

.hero-card { display: flex; flex-direction: column; background: #fff; align-self: stretch; }
.hc-photo { position: relative; display: block; height: 250px; background: var(--concrete); overflow: hidden; }
.hc-photo img { position: absolute; left: 50%; top: 3px; width: 300px; height: 300px; transform: translateX(-50%); }
.hc-chip { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; font-size: 14px; font-weight: 600; }
.hc-chip .makers { font-weight: 400; color: var(--muted); }
.hc-chip .makers::before { content: "· "; }
.hc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--paper); border-bottom: 1px solid var(--paper); flex-grow: 1; }
.hc-stats div { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: #fff; }
.hc-stats b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.hc-stats span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.hc-call { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--ink); color: #fff; }
.hc-call span { font-size: 14px; color: var(--ink-muted); }
.hc-call b { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }

/* Ticker */
.ticker { background: var(--red); color: #fff; height: 56px; overflow: hidden; white-space: nowrap; display: flex; align-items: center; }
.ticker-track { display: flex; animation: ticker 40s linear infinite; }
.ticker-group { display: flex; flex-shrink: 0; }
.ticker span { font-size: 18px; font-weight: 600; letter-spacing: 0.01em; padding: 0 40px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Section heads */
.sec { padding: 112px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.sec-head .label { display: block; margin-bottom: 12px; }
.sec-head h2 { font-size: 48px; }

/* Brick-bond catalog */
.bond { display: flex; flex-direction: column; gap: 8px; }
.bond-row { display: grid; gap: 8px; height: 280px; }
.bond-row.a { grid-template-columns: 1fr 1fr; }
.bond-row.b { grid-template-columns: 324px 1fr 324px; }
.brick { position: relative; overflow: hidden; background: var(--concrete); padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.brick img { position: absolute; right: 12px; bottom: 0; width: 280px; height: 280px; object-fit: contain; }
.brick.half img { right: 14px; top: 50%; bottom: auto; width: 160px; height: 160px; transform: translateY(-50%); }
.brick .label { position: relative; }
.brick h3 { position: relative; font-size: 26px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; max-width: 320px; }
.brick.half h3 { max-width: 124px; }
.brick .go { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.brick-cta { background: var(--red); color: #fff; padding: 28px 30px; display: flex; flex-direction: column; justify-content: space-between; }
.brick-cta .label { color: #FFD3CF; }
.brick-cta p { font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; max-width: 520px; }
.brick-cta .btn { align-self: flex-start; }

/* About */
.about { display: grid; grid-template-columns: 500px minmax(0, 1fr); gap: 80px; }
.about-l h2 { margin-top: 14px; font-size: 52px; line-height: 1.05; }
.about-l h2 span { display: block; }
.about-l h2 span:last-child { color: var(--red); }
.about-r { padding-top: 32px; }
.about-r h3 { font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.about-r p { margin-top: 18px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.facts { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fact { display: flex; flex-direction: column; gap: 8px; }
.fact .bar { width: 28px; height: 4px; background: var(--red); margin-bottom: 8px; }
.fact b { font-size: 18px; font-weight: 600; }
.fact span:last-child { color: var(--muted); line-height: 1.5; }

/* Help */
.help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.help-col { display: flex; flex-direction: column; min-height: 250px; background: #fff; padding: 32px; }
.help-col .n { font-size: 15px; font-weight: 600; color: var(--red); }
.help-col h3 { margin-top: 40px; font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.help-col p { margin-top: 12px; font-size: 17px; color: var(--muted); max-width: 300px; }
.help-col .link { margin-top: auto; padding-top: 28px; }
.help-col.accent { background: var(--red); color: #fff; }
.help-col.accent .n { color: #FFD3CF; }
.help-col.accent p { color: #FFE9E6; }

/* Delivery */
.dlv { margin-top: 112px; background: var(--ink); color: #fff; padding: 96px 0; }
.dlv .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 540px; gap: 96px; }
.dlv .label { color: var(--ink-muted); }
.dlv h2 { margin-top: 14px; font-size: 54px; line-height: 1.05; }
.dlv p { margin-top: 26px; font-size: 18px; line-height: 1.65; color: #CFCAC3; max-width: 560px; }
.dlv .btn { margin-top: 40px; }
.days { display: flex; align-items: center; gap: 22px; padding: 24px 26px; background: var(--ink-2); }
.days b { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--red); }
.days span { font-size: 16px; line-height: 1.45; color: #CFCAC3; }
.days span strong { display: block; color: #fff; font-size: 20px; font-weight: 600; margin-bottom: 2px; }
.fleet-cap { margin-top: 56px; color: var(--ink-muted); font-size: 14px; }
.fleet { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.fleet > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; column-gap: 26px; padding: 14px 22px; background: var(--ink-2); }
.fleet .pic { grid-row: span 2; display: flex; align-items: center; height: 80px; }
.fleet svg { width: 100%; height: 80px; fill: none; stroke: #E9E4DD; stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.fleet svg .w { fill: #3A3633; }
.fleet svg .acc { stroke: var(--red); }
.fleet svg .load { fill: rgba(209, 61, 57, 0.25); stroke: var(--red); }
.fleet svg .boom { stroke-width: 5; }
.fleet svg .boom2 { stroke-width: 3.5; }
.fleet svg .wh { fill: var(--ink-2); stroke-width: 3; }
.fleet svg .hub { fill: #E9E4DD; stroke: none; }
.fleet svg .gr { stroke: #4A4642; stroke-width: 2; }
.fleet .nm { font-size: 18px; font-weight: 600; }
.fleet .nm { align-self: end; }
.fleet .mark { font-size: 13px; font-weight: 600; color: #FF8A84; align-self: start; margin-top: 2px; }
.fleet > div:not(:has(.mark)) .nm { grid-row: span 2; align-self: center; }

/* Blog */
.post { display: grid; grid-template-columns: 160px minmax(0, 1fr) 420px 40px; align-items: center; gap: 32px; padding: 30px 0; border-bottom: 1px solid var(--soft); }
.post:first-child { padding-top: 6px; }
.post .label { align-self: start; padding-top: 6px; }
.post h3 { font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.post p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.post .go { font-size: 24px; color: var(--red); text-align: right; }

/* Question form */
.ask { margin-top: 120px; background: var(--red); color: #fff; padding: 96px 0; }
.ask .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 640px; gap: 80px; }
.ask .label { color: #FFD3CF; }
.ask h2 { margin-top: 14px; font-size: 64px; line-height: 1.02; }
.ask p { margin-top: 24px; font-size: 19px; line-height: 1.6; max-width: 460px; color: #FFE9E6; }
.ask .call { margin-top: 48px; }
.ask .call b { display: block; margin-top: 6px; font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.ask .call span { display: block; margin-top: 4px; font-size: 15px; color: #FFE9E6; }
.form { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: #FFE3DF; }
.form input[type=text], .form input[type=tel], .form textarea {
  height: 58px; padding: 0 18px; border: none; border-radius: 0; background: #fff;
  font-family: 'Onest', sans-serif; font-size: 16px; color: var(--ink);
}
.form input::placeholder, .form textarea::placeholder { color: #9A958E; }
.form textarea { height: 124px; padding: 16px 18px; resize: none; }
.form .agree { flex-direction: row; align-items: center; gap: 12px; font-size: 14px; font-weight: 400; color: #FFE3DF; }
.form .agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.form button { height: 60px; border: none; border-radius: 0; background: var(--ink); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; }

/* Footer */
.ftr { background: var(--ink); color: #DDD8D1; padding-top: 88px; }
.ftr-slogan { font-size: 56px; font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; color: #fff; padding-bottom: 72px; }
.ftr-slogan span { color: var(--red); }
.ftr-grid { display: grid; grid-template-columns: 380px repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 64px; }
.ftr-col { display: flex; flex-direction: column; gap: 12px; }
.ftr-col .label { color: #8A857E; margin-bottom: 6px; }
.ftr-col a, .ftr-col span { font-size: 15px; }
.ftr-col .ph { font-size: 22px; font-weight: 600; color: #fff; white-space: nowrap; }
.ftr-col p { font-size: 14px; line-height: 1.6; color: #A8A39C; max-width: 290px; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; height: 64px; border-top: 1px solid #2E2C29; color: #8A857E; font-size: 13px; }
/* ===== pages.css ===== */
/* ---------- Inner pages ---------- */
.nav a.on { color: var(--red); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 28px; font-size: 14px; color: var(--muted); }
.crumbs .sep { color: #B5B0A9; }
.crumbs .cur { color: var(--ink); font-weight: 500; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 26px 0 40px; }
.page-head .label { display: block; margin-bottom: 14px; }
.page-title { margin: 0; font-size: 64px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.page-end { padding-bottom: 112px; }

/* ---------- Manufacturers ---------- */
.brands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.brand-tile { display: flex; flex-direction: column; background: #fff; }
.brand-logo { display: flex; align-items: center; justify-content: center; height: 190px; padding: 34px 40px 18px; background: #fff; }
.brand-logo img { max-width: 100%; max-height: 124px; object-fit: contain; mix-blend-mode: multiply; }
.brand-foot { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px 24px 24px; text-align: center; }
.brand-name { font-size: 20px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }

/* ---------- Product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pcard { display: flex; flex-direction: column; background: #fff; }
.pcard-img { display: block; height: 220px; padding: 20px; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; }
.pcard-body { display: flex; flex-direction: column; flex-grow: 1; padding: 0 20px 20px; }
.pcard-body .label { font-size: 12px; }
.pcard-name { margin: 6px 0 0; font-size: 17px; font-weight: 600; line-height: 1.3; min-height: 44px; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding: 14px 0 16px; }
.price { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.price .unit { font-size: 20px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price.sale { color: var(--red); }
.price.sale .unit { color: var(--red); opacity: 0.75; }
.price-old { font-size: 16px; color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.pcard-btn { height: 48px; border: none; border-radius: 0; background: var(--red); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; }

.back-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.back-link::before { content: "←"; }

/* ---------- Rich text (SEO texts from the WordPress editor, output as is) ---------- */
.seo { margin-top: 112px; padding: 96px 0; background: #fff; }
.seo .wrap { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 96px; }
.seo-aside { display: flex; flex-direction: column; gap: 24px; }
.seo-aside .help { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--paper); }
.seo-aside .help b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.seo-aside .help a.ph { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.seo-aside .help .link { margin-top: 6px; color: var(--red); }
.seo-aside .logo-box { display: flex; align-items: center; justify-content: center; height: 150px; padding: 16px 24px; background: var(--paper); }
.seo-aside .logo-box img { max-width: 100%; max-height: 118px; object-fit: contain; mix-blend-mode: multiply; }
.rich { max-width: 780px; font-size: 18px; line-height: 1.75; color: #3A3734; }
.rich > :first-child { margin-top: 0; }
.rich h2 { margin: 0 0 24px; font-size: 44px; font-weight: 600; line-height: 1.08; letter-spacing: -0.03em; color: var(--ink); }
.rich h3 { margin: 44px 0 14px; font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.rich p { margin: 0 0 18px; }
.rich strong { font-weight: 600; color: var(--ink); }
.rich * + h2 { margin-top: 48px; }
.rich a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rich ol, .rich ul { margin: 6px 0 22px; padding: 0; list-style: none; counter-reset: li; }
.rich li { position: relative; margin: 0 0 10px; padding-left: 40px; }
.rich ol li::before { counter-increment: li; content: counter(li, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-size: 14px; font-weight: 600; color: var(--red); }
.rich ul li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 8px; height: 8px; background: var(--red); }

/* ---------- Product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; align-items: start; }
.gallery { position: sticky; top: 24px; display: flex; align-items: center; justify-content: center; height: 620px; padding: 56px; background: #fff; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.p-info { display: flex; flex-direction: column; }
.p-cat { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.p-cat a { font-size: 14px; font-weight: 500; color: var(--muted); }
.p-cat a.brand { color: var(--ink); font-weight: 600; }
.p-name { margin: 14px 0 0; font-size: 56px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.buy { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; padding: 28px; background: #fff; }
.buy-price { display: flex; align-items: baseline; gap: 8px; }
.buy-price .price { font-size: 48px; letter-spacing: -0.03em; line-height: 1; }
.buy-price .price .unit { font-size: 34px; }
.buy-btn { height: 62px; border: none; border-radius: 0; background: var(--red); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; cursor: pointer; }
.buy-call { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15px; color: var(--muted); }
.buy-call a { font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.specs-title { margin-top: 40px; font-size: 16px; font-weight: 600; color: var(--ink); }
/* Product description from the editor: output as one block, exactly like on the current site */
.p-desc { margin-top: 12px; padding: 24px 28px; background: #fff; font-size: 16px; line-height: 1.6; color: #3A3734; }
.p-desc ul { margin: 0; padding: 0; list-style: none; }
.p-desc li { margin: 0 0 8px; }
.p-desc li:last-child { margin-bottom: 0; }
.p-desc p { margin: 0 0 14px; }
.related { padding-top: 112px; }

/* ===== search.css ===== */
/* ---------- Product search ---------- */
.search { position: relative; width: 480px; max-width: 100%; }
.search-box { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 10px 0 18px; background: #fff; }
.search-box:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.search-box svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.search-box input { flex-grow: 1; min-width: 0; height: 100%; border: none; outline: none; background: transparent; font-family: 'Onest', sans-serif; font-size: 16px; font-weight: 500; color: var(--ink); }
.search-box input::-webkit-search-cancel-button, .search-box input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.search-box input::placeholder { color: #9A958E; font-weight: 400; }
.search-clear { display: none; align-items: center; justify-content: center; flex-shrink: 0; width: 38px; height: 38px; border: none; background: var(--paper); color: var(--ink); font-size: 18px; cursor: pointer; }
.search.has-value .search-clear { display: flex; }
.search-drop { display: none; position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); background: #fff; box-shadow: 0 20px 48px rgba(22, 21, 20, 0.16); }
.search.open .search-drop { display: block; }
.sr-list { max-height: 456px; overflow-y: auto; }
.sr-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 16px; }
.sr-item:hover, .sr-item.active { background: var(--paper); }
.sr-item img { width: 60px; height: 60px; object-fit: contain; background: #fff; }
.sr-name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.sr-name mark { background: none; color: var(--red); font-weight: 600; }
.sr-meta { margin-top: 3px; font-size: 12px; color: var(--muted); }
.sr-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.sr-price b { font-size: 16px; font-weight: 600; }
.sr-price b.sale { color: var(--red); }
.sr-price s { font-size: 12px; color: var(--muted); }
.sr-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; background: var(--paper); font-size: 14px; color: var(--muted); }
.sr-foot a { font-weight: 600; color: var(--ink); }
.sr-empty { padding: 22px 18px; font-size: 15px; color: var(--muted); }
.sr-empty b { color: var(--ink); font-weight: 600; }

/* Filter mode (product list of a subcategory) */
.list-tools { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.list-count { font-size: 15px; color: var(--muted); }
.list-count b { color: var(--ink); font-weight: 600; }
.pcard[hidden] { display: none; }
.list-empty { display: none; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px; background: #fff; }
.list-empty.show { display: flex; }
.list-empty p { margin: 0; font-size: 18px; }
.list-empty button { height: 48px; padding: 0 22px; border: none; background: var(--ink); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; }

/* ===== pages2.css ===== */
/* ---------- Batch 3-6: blog, article, calculator, modals, info and service pages ---------- */
.head-note { font-size: 15px; color: var(--muted); white-space: nowrap; }

/* Blog list. The full article is in the markup (as on the current site), the card shows a clamped preview. */
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.post-card { display: flex; flex-direction: column; background: #fff; }
.post-card .cover { display: block; aspect-ratio: 896 / 500; background: var(--concrete); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .inner { display: flex; flex-direction: column; flex-grow: 1; gap: 14px; padding: 24px 26px 26px; }
.post-title { font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.post-body { position: relative; max-height: 76px; overflow: hidden; font-size: 15px; line-height: 1.6; color: var(--muted); }
.post-body::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 28px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.post-body h2, .post-body h3, .post-body p, .post-body ul, .post-body ol, .post-body li { margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.post-body a { color: inherit; text-decoration: none; }
.post-card { min-width: 0; }
.post-body * { max-width: 100%; }
.post-card .more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: 15px; color: var(--red); }
.post-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.post-card.featured { align-items: stretch; }
.post-card.featured .cover { aspect-ratio: 896 / 500; }
.post-card.featured .inner { justify-content: center; gap: 16px; padding: 36px 44px; }
.post-card.featured .post-title { font-size: 34px; line-height: 1.15; letter-spacing: -0.02em; }
.post-card.featured .post-body { max-height: 88px; font-size: 17px; }
.post-card.featured .label { color: var(--red); font-weight: 600; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pager a, .pager span { display: flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 16px; background: #fff; font-weight: 600; }
.pager .cur { background: var(--ink); color: #fff; }

/* Article */
.article-head { padding: 26px 0 36px; }
.article-head h1 { max-width: 1000px; margin: 14px 0 0; font-size: 56px; font-weight: 600; line-height: 1.06; letter-spacing: -0.03em; }
.article-cover { aspect-ratio: 896 / 500; margin-bottom: 48px; background: var(--concrete); overflow: hidden; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 96px; padding: 8px 0 112px; }
.article aside { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; gap: 24px; }
.article aside .help { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: #fff; }
.article aside .help b { font-size: 18px; font-weight: 600; line-height: 1.3; }
.article aside .help .link { margin-top: 6px; color: var(--red); }
.rich.article-text h2 { margin: 48px 0 16px; font-size: 32px; letter-spacing: -0.02em; }
.rich.article-text > h2:first-child { margin-top: 0; }
.rich.article-text u { text-decoration: none; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 10px; align-items: start; }
.calc-form { display: flex; flex-direction: column; gap: 36px; padding: 40px; background: #fff; }
.calc-step { display: flex; flex-direction: column; gap: 16px; }
.calc-step-title { display: flex; align-items: baseline; gap: 14px; font-size: 20px; font-weight: 600; }
.calc-step-title i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--red); }
.calc-step-title small { font-size: 14px; font-weight: 400; color: var(--muted); }
.seg { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; background: var(--paper); }
.seg label { display: flex; align-items: center; height: 46px; padding: 0 26px; font-weight: 600; font-size: 15px; color: var(--muted); cursor: pointer; }
.seg input { display: none; }
.seg input:checked + label { background: #fff; color: var(--ink); }
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.format { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--paper); cursor: pointer; box-shadow: inset 0 0 0 2px transparent; }
.format b { font-size: 16px; font-weight: 600; }
.format span { font-size: 13px; color: var(--muted); }
.format input { display: none; }
.format:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--red); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.field input, .field select { height: 56px; padding: 0 16px; border: none; border-radius: 0; background: var(--paper); font-family: 'Onest', sans-serif; font-size: 16px; color: var(--ink); appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.toggle { display: flex; flex-direction: column; background: var(--paper); }
.toggle summary { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 20px; font-weight: 600; cursor: pointer; list-style: none; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--red); }
.toggle[open] summary::after { content: "−"; }
.toggle .fields { padding: 0 20px 20px; }
.toggle .field input { background: #fff; }
.calc-go { height: 62px; border: none; border-radius: 0; background: var(--red); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 17px; cursor: pointer; }
.result { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; padding: 32px; background: var(--ink); color: #fff; }
.result .label { color: var(--ink-muted); }
.result-main b { display: block; margin-top: 4px; font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -0.03em; }
.result-main span { font-size: 15px; color: #CFCAC3; }
.result-cost { padding: 18px 20px; background: var(--red); }
.result-cost span { font-size: 14px; color: #FFE3DE; }
.result-cost b { display: block; margin-top: 2px; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.result-rows { display: flex; flex-direction: column; gap: 12px; }
.result-rows div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.result-rows span { color: #CFCAC3; }
.result-rows b { font-weight: 600; white-space: nowrap; }
.result .order { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 24px; background: #fff; color: var(--ink); font-weight: 600; }
.result small { font-size: 13px; line-height: 1.5; color: var(--ink-muted); }

/* Info pages */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.intro-main { display: flex; flex-direction: column; gap: 20px; padding: 44px; background: var(--red); color: #fff; }
.intro-main .lead { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.intro-main p { margin: 0; font-size: 17px; line-height: 1.65; color: #FFEDEA; }
.intro-main .btn { align-self: flex-start; margin-top: 8px; }
.intro-side { display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.stat { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 28px 32px; background: #fff; }
.stat b { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.stat span { font-size: 15px; color: var(--muted); }
.block-title { margin: 96px 0 10px; font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
.block-sub { margin: 0 0 32px; font-size: 17px; color: var(--muted); }
.fleet-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fleet-card { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--ink); color: #fff; }
.fleet-card .pic svg { width: 100%; height: 110px; fill: none; stroke: #E9E4DD; stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.fleet-card .pic svg .w { fill: #3A3633; }
.fleet-card .pic svg .acc { stroke: var(--red); }
.fleet-card .pic svg .load { fill: rgba(209, 61, 57, 0.25); stroke: var(--red); }
.fleet-card .pic svg .boom { stroke-width: 5; }
.fleet-card .pic svg .boom2 { stroke-width: 3.5; }
.fleet-card .pic svg .wh { fill: var(--ink); stroke-width: 3; }
.fleet-card .pic svg .hub { fill: #E9E4DD; stroke: none; }
.fleet-card .pic svg .gr { stroke: #4A4642; stroke-width: 2; }
.fleet-card h3 { margin: 0; font-size: 24px; font-weight: 600; }
.fleet-card .mark { font-size: 14px; font-weight: 600; color: #FF8A84; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.value { display: flex; flex-direction: column; gap: 10px; min-height: 230px; padding: 32px; background: #fff; }
.value .bar { width: 32px; height: 4px; margin-bottom: 22px; background: var(--red); }
.value h3 { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.2; }
.value p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 10px; padding: 40px 44px; background: var(--ink); color: #fff; }
.cta-band b { font-size: 26px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; max-width: 720px; }
.contacts { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 10px; }
.contact-list { display: flex; flex-direction: column; gap: 10px; }
.contact { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; background: #fff; }
.contact span { font-size: 14px; color: var(--muted); }
.contact b { font-size: 20px; font-weight: 600; line-height: 1.35; }
.contact a.big { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; }
.map { position: relative; min-height: 560px; overflow: hidden; background: #E8E5DF; }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.doc { max-width: 880px; padding: 56px 64px; background: #fff; }
.rich.doc-text { max-width: none; font-size: 16px; line-height: 1.7; }
.rich.doc-text h3 { margin: 40px 0 12px; font-size: 22px; }
.rich.doc-text h3:first-child { margin-top: 0; }
.rich.doc-text ul li::before { top: 11px; }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 40px; }
.nf-main { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px; background: #fff; }
.nf-main h1 { margin: 0; font-size: 52px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.nf-main p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.nf-main .btn { align-self: flex-start; }
.nf-code { display: flex; align-items: center; justify-content: center; min-height: 420px; background: var(--concrete); font-size: 220px; font-weight: 700; letter-spacing: -0.06em; color: #fff; }
.nf-search { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; padding: 32px 36px; background: #fff; }
.nf-search b { font-size: 20px; font-weight: 600; }

/* Search results */
.sr-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 26px 0 32px; }
.sr-head h1 { margin: 0; font-size: 56px; font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.sr-head h1 span { color: var(--red); }
.query { display: flex; width: 560px; }
.query .search-box { flex-grow: 1; }
.query button { height: 58px; padding: 0 26px; border: none; background: var(--ink); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; }
.sr-section { margin-top: 40px; }
.sr-section-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; font-size: 26px; font-weight: 600; }
.sr-section-title span { font-size: 16px; font-weight: 500; color: var(--muted); }
.pgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard-specs { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.pcard-more { display: flex; align-items: center; justify-content: center; height: 48px; margin-top: auto; background: var(--paper); font-weight: 600; font-size: 15px; }
.art-list { display: flex; flex-direction: column; gap: 10px; }
.art-row { display: grid; grid-template-columns: minmax(0, 1fr) 160px; align-items: center; gap: 40px; padding: 26px 30px; background: #fff; }
.art-row b { font-size: 20px; font-weight: 600; line-height: 1.3; }
.art-row p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.art-row .link { justify-self: end; color: var(--red); }
a.pcard-btn { display: flex; align-items: center; justify-content: center; }
.hdr-calc.on { color: var(--red); }
.nf-search .search-box { background: var(--paper); }
.nf-search .search { width: 100%; }
.about-lead { color: var(--ink) !important; }
.fleet-card { --well: var(--ink); }
.hours { display: grid; grid-template-columns: 64px auto; align-items: baseline; gap: 8px 10px; margin-top: 4px; }
.hours span { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--red); }
.hours b { font-size: 20px; font-weight: 600; }
.hours b.off { color: var(--muted); font-weight: 500; }

/* ===== modal.css ===== */
/* Modals */
.modal-page { position: relative; }
.overlay[hidden] { display: none; }
.overlay { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 40px; background: rgba(22, 21, 20, 0.62); }
.modal { position: relative; width: 600px; max-height: calc(100vh - 80px); overflow-y: auto; background: #fff; padding: 44px; }
.modal h2 { margin: 0; font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.modal .sub { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: none; background: var(--paper); font-size: 22px; cursor: pointer; }
.modal-product[hidden] { display: none; }
.modal-product { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 24px; padding: 12px 16px 12px 12px; background: var(--paper); }
.modal-product img { width: 64px; height: 64px; object-fit: contain; background: #fff; }
.modal-product b { font-size: 16px; font-weight: 600; }
.modal-product .price { font-size: 18px; }
.modal-product .price .unit { font-size: 15px; }
.modal form { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.modal .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.modal label.f { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.modal input[type=text], .modal input[type=tel], .modal input[type=email], .modal textarea { height: 56px; padding: 0 16px; border: none; border-radius: 0; background: var(--paper); font-family: 'Onest', sans-serif; font-size: 16px; color: var(--ink); }
.modal textarea { height: 110px; padding: 14px 16px; resize: none; }
.modal .agree { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.modal .agree input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.modal .send { height: 60px; border: none; border-radius: 0; background: var(--red); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; padding: 0 26px; cursor: pointer; }
.modal .done { display: none; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
.modal.sent form, .modal.sent .modal-product, .modal.sent .sub { display: none; }
.modal.sent .done { display: flex; }
.done .tick { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--red); color: #fff; font-size: 30px; }
.done p { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; }
.done button { height: 52px; padding: 0 24px; border: none; background: var(--ink); color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; }
.demo-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.modal input:focus, .modal textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.modal input:invalid:not(:placeholder-shown):not(:focus) { box-shadow: inset 0 0 0 2px var(--red); }

/* =====================================================================
   WordPress theme layer (on top of the approved mockup styles above).
   Heading tags follow the live templates (SEO), so some mockup styles
   are applied by class here instead of by tag.
   ===================================================================== */
h4, figure { margin: 0; }
body { min-width: 1280px; }
.wrap { width: calc(100% - 64px); max-width: 1320px; }
button { font-family: 'Onest', sans-serif; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header: active section */
.nav a.on, .hdr-calc.on { color: var(--red); }
.hdr-cta, .pcard-btn, .buy-btn, .calc-go, .result .order { cursor: pointer; border: none; }

/* Main page: tags differ from the mockup */
.hero .hero-title { margin-top: 32px; font-size: 92px; line-height: 1.0; }
.hero .hero-title em { font-style: normal; color: var(--red); }
.hc-photo img { object-fit: contain; }
.sec-head .sec-title { font-size: 48px; }
.brick .brick-name { position: relative; font-size: 26px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; max-width: 320px; }
.brick.half .brick-name { max-width: 124px; }
.about-l h2 p, .about-r h3 p { margin: 0; }
.help-col p + p { margin-top: 0; }
.dlv h2.label { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.5; }
.dlv h3.display { margin-top: 14px; font-size: 48px; line-height: 1.06; }
.dlv .dlv-text p { margin-top: 26px; }
.post .post-h { font-size: 23px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.ask .ask-title { margin-top: 14px; font-size: 64px; line-height: 1.02; }
.ftr-slogan { margin: 0; }
.ftr-col a:hover, .ftr-bottom a:hover { color: #fff; }

/* Breadcrumbs (WooCommerce) */
.crumbs a:hover { color: var(--ink); }

/* Category tiles on /products/ and brand tiles: links */
.brand-tile:hover .brand-name, .brick:hover .go, .post:hover .post-h { color: var(--red); }

/* Product card: the whole name links to the product */
.pcard-name a:hover, .pcard-img:hover + .pcard-body .pcard-name { color: var(--red); }
.pcard-img img { mix-blend-mode: multiply; }

/* Pagination of product lists */
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span { display: flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 16px; background: #fff; font-weight: 600; }
.woocommerce-pagination .page-numbers .current { background: var(--ink); color: #fff; }
.woocommerce-pagination .page-numbers .prev::before { content: "←"; }
.woocommerce-pagination .page-numbers .next::before { content: "→"; }
.woocommerce-info, .woocommerce-no-products-found { padding: 32px; background: #fff; font-size: 18px; }

/* Product page gallery with several photos */
.gallery-wrap { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 10px; }
.gallery-wrap .gallery { position: static; }
.thumbs { display: flex; gap: 10px; }
.thumbs button { width: 96px; height: 96px; padding: 8px; border: none; background: #fff; cursor: pointer; box-shadow: inset 0 0 0 2px transparent; }
.thumbs button.on { box-shadow: inset 0 0 0 2px var(--red); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.related .sec-title { font-size: 48px; }
.p-desc > :last-child { margin-bottom: 0; }

/* Blog: extra photos of an article */
.article-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: -38px 0 48px; }
.article-photos img { width: 100%; aspect-ratio: 896 / 500; object-fit: cover; }

/* Calculator: tags and states */
.calc-step-title h3, h3.calc-step-title { margin: 0; font-size: 20px; font-weight: 600; }
.field.error input, .field.error select, .format-error .formats { box-shadow: inset 0 0 0 2px var(--red); }
.field[hidden] { display: none; }
.result .muted-row { display: none; }
.result .muted-row.show { display: flex; }
.calc-note { margin: 16px 0 0; font-size: 18px; color: var(--muted); }

/* Delivery / About: headings from the theme options */
.intro-main h3.lead { margin: 0; font-size: 30px; font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.intro-main h3.lead p, h3.block-title p, .block-sub p { margin: 0; }
h3.block-title { margin: 96px 0 10px; font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -0.03em; }
h3.block-title br { display: none; }
.dlv-columns { column-count: 2; column-gap: 56px; }
.dlv-columns p { break-inside: avoid; }
.intro-main.about-main { background: #fff; color: var(--ink); padding: 56px; }
.intro-main.about-main h3.lead { font-size: 36px; max-width: 1000px; }
.intro-main.about-main .about-text { color: var(--muted); font-size: 19px; max-width: 860px; }
.value p + p { margin-top: 0; }

/* Contacts: the live Yandex map from the theme options */
.map > ymaps, .map > ymaps > ymaps { width: 100% !important; height: 100% !important; }
.map { min-height: 637px; }
.map > [class*="ymaps"] { position: absolute; inset: 0; }
.contact b p { margin: 0; }

/* Policy and plain pages */
.doc { max-width: 960px; }
.page-plain .rich { max-width: none; }

/* Search results page (?s=), kept as a simple list */
.found-list { display: flex; flex-direction: column; gap: 10px; }
.found-item { display: block; padding: 24px 28px; background: #fff; }
.found-item b { font-size: 20px; font-weight: 600; }
.found-item p { margin: 8px 0 0; color: var(--muted); }

/* ---------- Contact Form 7 inside the modals and on the main page ---------- */
.wpcf7 { margin-top: 28px; }
.wpcf7-form, .modal form.wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 0; }
.wpcf7-form > * { grid-column: 1 / -1; }
.wpcf7-form > .main-form__row:nth-of-type(1), .wpcf7-form > .main-form__row:nth-of-type(2) { grid-column: auto; }
.wpcf7-form .hidden-fields-container { display: none; }
.wpcf7-form-control-wrap { display: block; }
.kd-flabel { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.wpcf7 .main-input { display: block; width: 100%; height: 56px; padding: 0 16px; border: none; border-radius: 0; background: var(--paper); font-family: 'Onest', sans-serif; font-size: 16px; color: var(--ink); }
.wpcf7 textarea.main-input { height: 110px; padding: 14px 16px; resize: none; }
.wpcf7 .main-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.wpcf7 .main-input::placeholder { color: #9A958E; }
.wpcf7 .wpcf7-not-valid { box-shadow: inset 0 0 0 2px var(--red); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: var(--red); }
.personal-data { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.personal-data .wpcf7-list-item { margin: 0; }
.personal-data input[type=checkbox] { display: block; width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.personal-data a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.wpcf7-submit { display: block; width: 100%; height: 60px; padding: 0 26px; border: none; border-radius: 0; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12' viewBox='0 0 16 12'%3E%3Cpath d='M0 6h14M9 1l5 5-5 5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 26px center; color: #fff; font-family: 'Onest', sans-serif; font-weight: 600; font-size: 17px; text-align: left; cursor: pointer; }
.wpcf7-submit:disabled { opacity: 0.5; cursor: default; }
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .wpcf7-submit { opacity: 0.6; }
.wpcf7-response-output { margin: 0 !important; padding: 12px 16px !important; border: none !important; background: var(--paper); font-size: 14px; }
.wpcf7 form.init .wpcf7-response-output, .wpcf7 form.sent .wpcf7-response-output { display: none; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { color: var(--red); }
.modal .wpcf7 + .done { margin-top: 28px; }
.modal.sent .wpcf7 { display: none; }

/* Main page form on the red band */
.ask .wpcf7 { margin-top: 0; padding-top: 8px; }
.ask .kd-flabel { color: #FFE3DF; }
.ask .wpcf7 .main-input { height: 58px; padding: 0 18px; background: #fff; }
.ask .wpcf7 textarea.main-input { height: 124px; padding: 16px 18px; }
.ask .personal-data { color: #FFE3DF; }
.ask .wpcf7-submit { background-color: var(--ink); }
.ask .wpcf7-not-valid-tip { color: #fff; }
.ask .wpcf7-response-output { background: rgba(255, 255, 255, 0.14); color: #fff !important; }
.ask .ask-done { display: none; flex-direction: column; align-items: flex-start; gap: 18px; padding: 40px; background: #fff; color: var(--ink); }
.ask .sent .wpcf7 { display: none; }
.ask .sent .ask-done { display: flex; }
.ask-done .tick { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; background: var(--red); color: #fff; font-size: 30px; }
.ask-done p { margin: 0 !important; font-size: 20px; font-weight: 600; color: var(--ink) !important; }

/* Product lists: WooCommerce loop wrapper and card extras */
ul.products { display: block; margin: 0; padding: 0; list-style: none; }
.pcard-specs { max-height: 62px; overflow: hidden; }
.pcard-specs p { margin: 0; }
.seo-aside .help button.link { padding: 0; border: none; background: none; cursor: pointer; font-family: 'Onest', sans-serif; }
.page-end + .seo, main > .wrap + .seo { margin-top: 112px; }
.formats[hidden] { display: none; }
.result-main .js-brick-amount, .result-cost .js-total { font-size: inherit; color: inherit; }
button.btn, button.link, button.hdr-cta { border: none; cursor: pointer; font-family: 'Onest', sans-serif; }

/* ---------- Selects and number fields in the site style (assets/kd/kd.js) ---------- */
.kd-select { position: relative; }
.kd-select select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.kd-select-btn { display: block; width: 100%; height: 56px; padding: 0 48px 0 16px; border: none; border-radius: 0; background: var(--paper); font-family: 'Onest', sans-serif; font-size: 16px; font-weight: 400; color: var(--ink); text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.kd-select-btn.placeholder { color: #9A958E; }
.kd-select-btn::after { content: ""; position: absolute; right: 20px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform 0.15s, margin-top 0.15s; }
.kd-select.open .kd-select-btn::after { margin-top: -1px; transform: rotate(-135deg); }
.kd-select-btn:focus-visible, .kd-select.open .kd-select-btn { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.kd-select-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; margin: 0; padding: 6px 0; overflow-y: auto; list-style: none; background: #fff; box-shadow: 0 20px 48px rgba(22, 21, 20, 0.16); }
.kd-select-list[hidden] { display: none; }
.kd-select-list li { position: relative; padding: 12px 16px 12px 40px; font-size: 15px; cursor: pointer; }
.kd-select-list li.active { background: var(--paper); }
.kd-select-list li[aria-selected="true"] { color: var(--red); font-weight: 600; }
.kd-select-list li[aria-selected="true"]::before { content: ""; position: absolute; left: 18px; top: 50%; width: 8px; height: 8px; margin-top: -4px; background: var(--red); }
.field.error .kd-select-btn { box-shadow: inset 0 0 0 2px var(--red); }
.toggle .kd-select-btn { background: #fff; }

input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.kd-num { position: relative; }
.kd-num input { width: 100%; padding-right: 96px !important; }
.kd-num-btns { position: absolute; top: 8px; right: 8px; bottom: 8px; display: flex; gap: 4px; }
.kd-num-btn { width: 40px; border: none; border-radius: 0; background: #fff; color: var(--ink); font-family: 'Onest', sans-serif; font-size: 20px; font-weight: 500; line-height: 1; cursor: pointer; }
.kd-num-btn:hover { background: var(--ink); color: #fff; }
.toggle .kd-num-btn { background: var(--paper); }
.toggle .kd-num-btn:hover { background: var(--ink); }
.field .kd-num input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field.error .kd-num input { box-shadow: inset 0 0 0 2px var(--red); }
.field select, .field input { width: 100%; }

/* =====================================================================
   Responsive layout. Desktop design 1440 px; steps: 1360, 1200, 1024 (tablet, burger menu),
   768, 560 and 400 (phones).
   ===================================================================== */
body { min-width: 0; }
.logo, .logo img { flex-shrink: 0; }
.hc-call b, .hdr-phone b { white-space: nowrap; }
img { max-width: 100%; }
.rich img { height: auto; }
.rich iframe, .rich video { max-width: 100%; }
.rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.rich td, .rich th { padding: 8px 12px; border: 1px solid var(--soft); }
.hdr-call, .burger { display: none; }

/* Mobile menu */
.mnav[hidden] { display: none; }
.mnav { position: fixed; z-index: 90; left: 0; right: 0; top: 68px; bottom: 0; display: flex; flex-direction: column; gap: 28px; padding: 16px 16px 32px; overflow-y: auto; background: #fff; }
.mnav-links { display: flex; flex-direction: column; }
.mnav-links a { padding: 14px 0; border-bottom: 1px solid var(--paper); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.mnav-links a.on { color: var(--red); }
.mnav-contacts { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.mnav-contacts .mnav-phone { font-size: 26px; font-weight: 600; color: var(--ink); }
.mnav .btn { justify-content: space-between; }
html.mnav-open { overflow: hidden; }

@media (max-width: 1360px) {
  .nav a { padding: 10px 10px; }
  .logo { margin-right: 24px; }
  .hdr-top .wrap { gap: 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; }
  .hero .hero-title { font-size: 78px; }
  .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .about { grid-template-columns: 420px minmax(0, 1fr); gap: 56px; }
  .dlv .wrap { gap: 64px; }
}

@media (max-width: 1200px) {
  .hdr-top .wrap > span:nth-child(2) { display: none; }
  .logo { margin-right: 16px; }
  .logo img { width: 140px; height: auto; }
  .nav a { padding: 10px 8px; font-size: 15px; }
  .hdr-calc { font-size: 15px; }
  .hdr-phone small { display: none; }
  .hdr-calc { padding: 10px; }
  .hdr-phone { padding: 0 12px 0 4px; }
  .hdr-phone b { font-size: 17px; }
  .hdr-cta { padding: 0 16px; }
  .help-col h3 { font-size: 26px; }
  .hero .hero-title { font-size: 66px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) 380px; }
  .bond-row.b { grid-template-columns: 1fr 1.3fr 1fr; }
  .brick img { width: 210px; height: 210px; }
  .brick.half img { width: 120px; height: 120px; }
  .brick .brick-name { max-width: 50%; }
  .brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product { grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; }
  .p-name { font-size: 46px; }
  .calc { grid-template-columns: minmax(0, 1fr) 380px; }
  .dlv .wrap { grid-template-columns: minmax(0, 1fr) 460px; gap: 48px; }
  .post { grid-template-columns: 120px minmax(0, 1fr) 340px 32px; gap: 24px; }
  .ask .wrap { grid-template-columns: minmax(0, 1fr) 560px; gap: 56px; }
  .ftr-grid { grid-template-columns: 300px repeat(3, minmax(0, 1fr)); }
}

/* ---------- Header with the burger menu (tablets and narrow laptops) ---------- */
@media (max-width: 1100px) {
  header { position: sticky; top: 0; z-index: 80; }
  .hdr-top { display: none; }
  .hdr-main .wrap { height: 68px; gap: 8px; }
  .logo { margin-right: auto; }
  .logo img { width: 132px; height: auto; }
  .nav, .hdr-calc, .hdr-phone, .hdr-cta { display: none; }
  .hdr-call { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--paper); }
  .hdr-call svg { width: 20px; height: 20px; fill: var(--ink); }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: none; background: var(--red); cursor: pointer; }
  .burger i { display: block; height: 2px; background: #fff; transition: transform 0.2s, opacity 0.2s; }
  .burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .hero { padding: 40px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .hero-title { font-size: 64px; }
  .hero-sub { margin-top: 36px; }
  .hero-card { display: grid; grid-template-columns: 1fr 1fr; }
  .hc-photo { height: auto; min-height: 260px; }
  .hc-call { grid-column: 1 / -1; }

  .sec { padding-top: 80px; }
  .sec-head .sec-title, .sec-head h2, .related .sec-title { font-size: 40px; }
  .bond { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .bond-row { display: contents; }
  .brick, .brick-cta { min-height: 240px; }
  .brick img, .brick.half img { right: 8px; top: auto; bottom: 0; width: 190px; height: 190px; transform: none; }
  .brick .brick-name, .brick.half .brick-name { max-width: 55%; }
  .brick-cta { grid-column: 1 / -1; min-height: 0; gap: 24px; }

  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-l h2 { font-size: 44px; }
  .about-l h2 span { display: inline; }
  .about-r { padding-top: 0; }
  .dlv { margin-top: 80px; padding: 72px 0; }
  .dlv .wrap { grid-template-columns: 1fr; gap: 48px; }
  .dlv h3.display { font-size: 40px; }
  .fleet-cap { margin-top: 32px; }
  .post { grid-template-columns: minmax(0, 1fr) 32px; gap: 8px 24px; padding: 24px 0; }
  .post .label, .post .post-h, .post p { grid-column: 1; }
  .post .go { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .ask { margin-top: 80px; padding: 72px 0; }
  .ask .wrap { grid-template-columns: 1fr; gap: 40px; }
  .ask .ask-title { font-size: 52px; }
  .ftr { padding-top: 64px; }
  .ftr-slogan { font-size: 42px; padding-bottom: 48px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding-bottom: 48px; }

  .page-title { font-size: 52px; }
  .page-head { padding: 22px 0 32px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo { margin-top: 72px; padding: 64px 0; }
  .seo .wrap { grid-template-columns: 1fr; gap: 32px; }
  .seo-aside .logo-box { max-width: 320px; }
  .rich h2 { font-size: 34px; }

  .product { grid-template-columns: 1fr; gap: 32px; }
  .gallery-wrap, .gallery { position: static; }
  .gallery { height: 480px; padding: 40px; }
  .related { padding-top: 72px; }

  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-card.featured .inner { padding: 28px 32px; }
  .post-card.featured .post-title { font-size: 28px; }
  .article { grid-template-columns: 1fr; gap: 40px; padding-bottom: 72px; }
  .article > div { order: 1; }
  .article aside { position: static; order: 2; }
  .article-head h1 { font-size: 44px; }

  .calc { grid-template-columns: 1fr; }
  .result { position: static; }

  .intro { grid-template-columns: 1fr; }
  .intro-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  h3.block-title { margin-top: 72px; font-size: 34px; }
  .contacts { grid-template-columns: 1fr; }
  .map { min-height: 460px; }
  .nf-code { font-size: 160px; min-height: 320px; }
  .overlay { padding: 24px; }
}

/* ---------- Phones (large) ---------- */
@media (max-width: 768px) {
  .wrap { width: calc(100% - 32px); }
  .hero .hero-title { font-size: 48px; }
  .hero-meta { flex-wrap: wrap; gap: 10px 14px; }
  .hero-sub p { font-size: 17px; }
  .hero-card { display: flex; }
  .hc-photo { height: 220px; min-height: 0; }
  .hc-photo img { width: 240px; height: 240px; }
  .hc-stats div { padding: 16px; }
  .hc-stats b { font-size: 19px; }
  .hc-call { flex-wrap: wrap; padding: 16px; }
  .ticker { height: 46px; }
  .ticker span { font-size: 15px; padding: 0 22px; }

  .sec { padding-top: 64px; }
  .sec-head { flex-direction: column; align-items: stretch; gap: 20px; margin-bottom: 28px; }
  .sec-head .sec-title, .sec-head h2, .related .sec-title { font-size: 32px; }
  .search { width: 100%; }
  .bond { grid-template-columns: 1fr; }
  .brick, .brick-cta { min-height: 200px; }
  .about-l h2 { font-size: 34px; }
  .about-r h3 { font-size: 21px; }
  .about-r p { font-size: 16px; }
  .facts { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .help { grid-template-columns: 1fr; }
  .help-col { min-height: 0; padding: 24px; }
  .help-col h3 { margin-top: 18px; font-size: 26px; }
  .dlv { margin-top: 64px; padding: 56px 0; }
  .dlv h3.display { font-size: 30px; }
  .dlv p { font-size: 16px; }
  .days { padding: 18px; gap: 16px; }
  .days b { font-size: 48px; }
  .fleet > div { grid-template-columns: 150px minmax(0, 1fr); column-gap: 16px; padding: 10px 14px; }
  .fleet .pic, .fleet svg { height: 64px; }
  .post .post-h { font-size: 19px; }
  .post p { font-size: 14px; }
  .ask { margin-top: 64px; padding: 56px 0; }
  .ask .ask-title { font-size: 38px; }
  .ask p { font-size: 16px; }
  .ask .call { margin-top: 28px; }
  .ask .call b { font-size: 28px; }
  .ftr-slogan { font-size: 30px; }

  .page-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 18px 0 24px; }
  .page-title { font-size: 36px; }
  .page-end { padding-bottom: 72px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .brand-logo { height: 130px; padding: 20px 20px 10px; }
  .brand-logo img { max-height: 90px; }
  .brand-foot { min-height: 72px; padding: 10px 12px 16px; }
  .brand-name { font-size: 16px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pcard-img { height: 170px; padding: 14px; }
  .pcard-body { padding: 0 14px 14px; }
  .pcard-name { font-size: 15px; min-height: 40px; }
  .price { font-size: 20px; }
  .price .unit { font-size: 16px; }
  .pcard-btn { height: 44px; }
  .list-tools { flex-direction: column; align-items: stretch; gap: 10px; }
  .seo { margin-top: 56px; padding: 48px 0; }
  .rich { font-size: 16px; }
  .rich h2 { font-size: 28px; }
  .rich h3 { margin-top: 32px; font-size: 21px; }

  .gallery { height: 340px; padding: 24px; }
  .thumbs { overflow-x: auto; }
  .thumbs button { flex-shrink: 0; width: 72px; height: 72px; }
  .p-name { font-size: 34px; }
  .buy { padding: 20px; }
  .buy-price .price { font-size: 38px; }
  .buy-price .price .unit { font-size: 26px; }
  .buy-call { flex-wrap: wrap; }
  .p-desc { padding: 18px 20px; }

  .posts-grid { grid-template-columns: minmax(0, 1fr); }
  .post-card.featured { grid-template-columns: minmax(0, 1fr); }
  .post-card.featured .post-title { font-size: 24px; }
  .post-card .inner { padding: 20px; }
  .article-head h1 { font-size: 32px; }
  .article-cover { margin-bottom: 28px; }
  .article-photos { grid-template-columns: 1fr; margin-top: -18px; }
  .rich.article-text h2 { font-size: 26px; }

  .calc-form { padding: 24px 18px; gap: 28px; }
  .formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fields { grid-template-columns: 1fr; }
  .result { padding: 24px; }
  .result-main b { font-size: 40px; }

  .intro-main, .intro-main.about-main { padding: 28px 22px; }
  .intro-main h3.lead, .intro-main.about-main h3.lead { font-size: 24px; }
  .intro-main.about-main .about-text { font-size: 16px; }
  .intro-main.about-main > div:last-child { flex-wrap: wrap; }
  .intro-side { grid-template-columns: 1fr; }
  .stat { padding: 22px; }
  .stat b { font-size: 24px; }
  h3.block-title { margin-top: 56px; font-size: 26px; }
  .fleet-cards { grid-template-columns: 1fr; }
  .doc { padding: 28px 20px; }
  .dlv-columns { column-count: 1; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; padding: 24px; }
  .value .bar { margin-bottom: 10px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .cta-band b { font-size: 21px; }
  .contact { padding: 20px; }
  .contact a.big { font-size: 22px; }
  .map { min-height: 380px; }
  .nf { grid-template-columns: 1fr; padding-top: 20px; }
  .nf-main { padding: 28px 22px; }
  .nf-main h1 { font-size: 34px; }
  .nf-code { min-height: 180px; font-size: 120px; }
  .nf-search { padding: 22px; }
  .found-item { padding: 18px 20px; }

  .overlay { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-height: calc(100vh - 24px); padding: 28px 18px 24px; }
  .modal h2 { font-size: 28px; padding-right: 48px; }
  .modal-close { top: 12px; right: 12px; }
}

/* ---------- Phones ---------- */
@media (max-width: 560px) {
  .hero .hero-title { font-size: 40px; }
  .hero-sub .btns .btn { width: 100%; }
  .bond { grid-template-columns: 1fr; }
  .brick, .brick-cta { min-height: 190px; padding: 22px; }
  .brick img, .brick.half img { width: 150px; height: 150px; }
  .brick .brick-name, .brick.half .brick-name { font-size: 23px; }
  .brick-cta p { font-size: 22px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .ftr-bottom { flex-direction: column; justify-content: center; gap: 6px; height: auto; padding: 18px 0; }
  .wpcf7-form, .modal form.wpcf7-form { grid-template-columns: 1fr; }
  .wpcf7-form > .main-form__row:nth-of-type(1), .wpcf7-form > .main-form__row:nth-of-type(2) { grid-column: 1 / -1; }
  .ask .ask-title { font-size: 32px; }
  .format { padding: 12px 14px; }
  .calc-step-title { flex-wrap: wrap; gap: 4px 12px; }
  .sr-item { grid-template-columns: 48px minmax(0, 1fr); }
  .sr-item img { width: 48px; height: 48px; }
  .sr-price { grid-column: 2; flex-direction: row; align-items: baseline; gap: 8px; }
  .modal-product { grid-template-columns: 56px minmax(0, 1fr); }
  .modal-product img { width: 56px; height: 56px; }
  .modal-product [data-f=price] { grid-column: 2; }
}

@media (max-width: 400px) {
  .hero .hero-title { font-size: 34px; }
  .hc-stats b { font-size: 17px; }
  .page-title { font-size: 30px; }
  .pcard-img { height: 140px; }
  .pcard-name { font-size: 14px; }
  .price { font-size: 18px; }
  .price .unit { font-size: 14px; }
  .brand-name { font-size: 14px; }
}

/* Blog: the featured card's photo fills its column (its height follows the text) instead of widening by aspect ratio */
.post-card.featured .cover { position: relative; width: 100%; min-width: 0; height: 100%; min-height: 410px; aspect-ratio: auto; }
.post-card.featured .cover img { position: absolute; inset: 0; }
.post-card.featured .inner { min-width: 0; }
@media (max-width: 1024px) { .post-card.featured .cover { min-height: 300px; } }
@media (max-width: 768px) { .post-card.featured .cover { height: auto; min-height: 0; aspect-ratio: 896 / 500; } }

/* ---------- Cookie banner (assets/kd/kd.js) ---------- */
.cookie-banner { position: fixed; z-index: 95; left: 24px; bottom: 24px; width: 440px; max-width: calc(100% - 32px); padding: 22px 24px; background: #fff; color: var(--ink); box-shadow: 0 20px 48px rgba(22, 21, 20, 0.18); }
.cookie-banner p { margin: 0; font-size: 14px; line-height: 1.55; color: #3A3734; }
.cookie-banner p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 8px; margin-top: 16px; }
.cookie-actions button { height: 46px; padding: 0 20px; border: none; border-radius: 0; font-family: 'Onest', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; }
.cookie-accept { background: var(--red); color: #fff; }
.cookie-necessary { background: var(--paper); color: var(--ink); }
.cookie-necessary:hover { background: var(--soft); }
.ftr-legal { display: flex; align-items: center; gap: 24px; }
.ftr-cookie { padding: 0; border: none; background: none; color: inherit; font: inherit; cursor: pointer; }
.ftr-cookie:hover { color: #fff; }
@media (max-width: 560px) {
  .cookie-banner { left: 0; right: 0; bottom: 0; width: auto; max-width: none; padding: 16px; box-shadow: 0 -12px 32px rgba(22, 21, 20, 0.16); }
  .cookie-actions button { flex: 1; padding: 0 10px; font-size: 14px; }
  .ftr-legal { flex-direction: column; gap: 6px; }
}

/* Contacts: picture of the map until the live Yandex map is loaded */
.map-static { position: absolute; inset: 0; }
.map-live .map-static { display: none; }
.map-actions { position: absolute; left: 24px; bottom: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.map-actions .btn { height: 52px; box-shadow: 0 8px 24px rgba(22, 21, 20, 0.16); border: none; cursor: pointer; }
.map-ext { padding: 8px 12px; background: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 8px 24px rgba(22, 21, 20, 0.12); }
.map-live > ymaps, .map-live > iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
@media (max-width: 560px) { .map-actions { left: 16px; right: 16px; bottom: 16px; } .map-actions .btn { width: 100%; justify-content: center; } }
@media (max-width: 560px) { .ftr-bottom > span:first-child { text-align: center; } }
