/* AK BETON: responsive industrial identity for website and Telegram Mini App. */
:root {
  --bg:#f5f4f0;
  --card:#fff;
  --text:#202725;
  --muted:#69706d;
  --line:#dedfd8;
  --accent:#f47b35;
  --accent-dark:#b8470b;
  --accent-text:#191f1d;
  --accent-soft:#fff0e5;
  --head:#202825;
  --radius:12px;
  --shadow:none;
}
:root[data-theme="dark"] {
  --bg:#141a17;
  --card:#202824;
  --text:#f1f3ed;
  --muted:#afb8b1;
  --line:#3a443e;
  --accent:#ff8d49;
  --accent-dark:#ffab78;
  --accent-text:#18201b;
  --accent-soft:#38291e;
  --head:#111914;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px;
}
body {
  font-size:19px;
}
button,a,input,textarea {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid var(--accent);
  outline-offset:5px;
}
button {
  transition:background .18s,border-color .18s,transform .18s;
}
.top {
  padding:18px max(24px,calc((100% - 1200px)/2));
  gap:18px;
  background:var(--bg);
  color:var(--text);
  border-bottom:1px solid var(--line);
}
.brand {
  text-decoration:none;
  color:var(--text);
  font-size:26px;
  letter-spacing:-1px;
  gap:10px;
  flex:1;
}
.brand-mark {
  width:40px;
  height:40px;
}
.brand-mark rect {
  fill:var(--accent);
  rx:6px;
}
.brand span {
  color:var(--text);
}
.top button {
  border-radius:7px;
  min-height:48px;
  background:transparent;
  color:var(--text);
  font-size:14px;
  font-weight:700;
}
.top .top-call {
  background:var(--head);
  color:#fff;
  padding:0 19px;
  gap:10px;
}
.top .top-lang {
  border:1px solid var(--line);
}
.top-nav {
  display:flex;
  gap:4px;
  margin-right:22px;
}
.top-nav button:hover {
  color:var(--accent-dark);
}
main {
  max-width:660px;
  padding:34px 24px 80px;
}
main:not(.home-page) {
  min-height:calc(100vh - 86px);
}
main.home-page {
  max-width:1248px;
  padding:24px 24px 0;
}
h1,h2 {
  letter-spacing:-1.4px;
}
h2 {
  font-size:32px;
  margin-bottom:24px;
}
.home-page h2 {
  font-size:clamp(27px,3vw,38px);
  line-height:1.17;
  margin:0;
}
.hero {
  min-height:575px;
  margin:0;
  padding:64px 48px 40px;
  border-radius:12px;
  background:#202825;
  display:flex;
  align-items:center;
  isolation:isolate;
}
.hero .hero-image {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center 61%;
  z-index:-2;
}
.hero::before {
  z-index:-1;
  background:linear-gradient(90deg,rgba(17,25,21,.97),rgba(17,25,21,.85) 28%,rgba(17,25,21,.32) 58%,rgba(17,25,21,.03)),linear-gradient(0deg,rgba(17,25,21,.22),transparent 50%);
}
.hero-content {
  max-width:600px;
}
.hero-tag {
  padding:0;
  background:none;
  border-radius:0;
  color:#e3e8df;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.7px;
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:28px;
}
.hero-tag span {
  width:7px;
  height:7px;
  background:var(--accent);
  border-radius:50%;
}
.hero h1 {
  font-size:clamp(40px,5vw,64px);
  line-height:1.08;
  letter-spacing:-2.7px;
  margin-bottom:23px;
}
.hero h1 em {
  color:#ff914c;
  font-style:normal;
}
.hero p {
  font-size:17px;
  line-height:1.7;
  color:#d4d9d1;
  max-width:420px;
  margin-bottom:28px;
}
.hero-actions {
  display:flex;
  align-items:center;
  gap:22px;
  flex-wrap:wrap;
}
.hero .btn {
  width:auto;
  font-size:16px;
  min-height:60px;
  padding:15px 22px;
  border-radius:7px;
  box-shadow:none;
  gap:22px;
}
.hero-location {
  display:flex;
  align-items:center;
  gap:8px;
  color:#bdc7bd;
  font-size:12px;
  margin-top:44px;
}
.hero-location .ico {
  font-size:19px;
}
.hero-stamp {
  position:absolute;
  right:30px;
  bottom:28px;
  padding:14px 20px;
  color:white;
  background:rgba(26,34,28,.8);
  border:1px solid #ffffff33;
  border-radius:8px;
  font-size:11px;
  letter-spacing:1px;
  backdrop-filter:blur(10px);
}
.hero-stamp strong {
  display:block;
  font-size:21px;
  letter-spacing:-.5px;
}
.hero-stamp span {
  display:block;
  font-size:10px;
  color:#cbd3c9;
  letter-spacing:0;
  margin-top:4px;
}
.trust {
  margin:0;
  padding:25px 0;
  gap:0;
  border-bottom:1px solid var(--line);
}
.trust div {
  border-radius:0;
  background:transparent;
  flex-direction:row;
  justify-content:center;
  padding:0 12px;
  font-size:15px;
  gap:12px;
  min-height:30px;
}
.trust div+div {
  border-left:1px solid var(--line);
}
.trust .ico {
  font-size:25px;
  color:var(--accent-dark);
}
.home-section {
  margin:64px 0;
}
.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:28px;
}
.eyebrow {
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:1.7px;
  color:var(--accent-dark);
  margin:0 0 12px;
}
.section-heading>p {
  font-size:14px;
  max-width:290px;
  color:var(--muted);
  margin:0 0 4px;
}
.cats {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.cat {
  display:flex;
  flex-direction:column;
  border:1px solid var(--line);
  position:relative;
  transition:transform .2s,border-color .2s;
}
.cat:hover {
  transform:translateY(-4px);
  border-color:var(--accent);
}
.cat-image {
  position:relative;
  display:block;
  width:100%;
  overflow:hidden;
}
.cat img {
  width:100%;
  height:200px;
  min-height:0;
  object-fit:cover;
}
.cat-index {
  position:absolute;
  top:14px;
  left:14px;
  width:30px;
  height:30px;
  border-radius:4px;
  background:#ffffffeb;
  display:grid;
  place-items:center;
  font-size:11px;
  color:#263027;
  font-weight:800;
}
.cat .body {
  padding:23px;
  width:100%;
}
.cat .title {
  font-size:26px;
  letter-spacing:-.8px;
}
.cat .sub {
  margin-top:7px;
  font-size:14px;
}
.cat-link {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:24px;
  font-size:13px;
  font-weight:800;
}
.cat-link .ico {
  color:var(--accent-dark);
}
.calculator-promo {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:30px;
  background:#222c26;
  border-radius:12px;
  overflow:hidden;
  padding:44px 48px;
  color:#fff;
}
.calc-copy .eyebrow {
  color:#ff9f60;
}
.calc-copy>p:not(.eyebrow) {
  color:#bec8be;
  font-size:15px;
  max-width:440px;
  line-height:1.7;
  margin:20px 0;
}
.calc-copy .btn {
  width:max-content;
  max-width:100%;
  font-size:15px;
  border-radius:7px;
  gap:24px;
}
.calc-art {
  align-self:center;
  position:relative;
  padding:25px 20px;
  background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);
  background-size:28px 28px;
}
.foundation-art { padding:12px; background:none; pointer-events:none; }
.calculator-promo { position:relative; }
@media(min-width:701px) { .foundation-art { max-width:380px; justify-self:center; width:100%; } }
.calc-art svg {
  display:block;
  width:100%;
}
.art-dimension {
  position:absolute;
  color:#d1d8ce;
  font-size:13px;
}
.art-top {
  left:26%;
  top:8%;
}
.art-bottom {
  right:3%;
  bottom:11%;
}
.art-result {
  position:absolute;
  left:4%;
  bottom:0;
  font-size:38px;
  font-weight:800;
  letter-spacing:-1px;
}
.art-result small {
  font-size:19px;
}
.art-result>span {
  display:inline-block;
  padding:5px 9px;
  margin-left:10px;
  background:#ffffff10;
  color:#ff9f60;
  font-size:12px;
  letter-spacing:0;
  vertical-align:middle;
  border-radius:4px;
}
.steps {
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.steps li {
  flex-direction:column;
  align-items:start;
  border-top:1px solid var(--line);
  background:none;
  border-radius:0;
  padding:22px 10px 0 0;
  gap:18px;
  font-size:17px;
}
.steps .num {
  color:var(--accent-dark);
  background:none;
  width:auto;
  height:auto;
  font-size:30px;
  letter-spacing:-1px;
}
.delivery {
  display:grid;
  grid-template-columns:1.1fr 1fr;
  background:var(--card);
  border:1px solid var(--line);
  margin:0;
}
.delivery-photo {
  min-width:0;
}
.delivery img {
  width:100%;
  height:100%;
  min-height:340px;
  object-fit:cover;
  object-position:70% center;
}
.delivery-copy {
  padding:42px;
  align-self:center;
}
.delivery p {
  position:static;
  background:none;
  padding:0;
  margin:20px 0;
  font-size:16px;
  color:var(--muted);
  font-weight:400;
}
.delivery .eyebrow {
  color:var(--accent-dark);
  font-size:11px;
  font-weight:800;
  margin:0 0 14px;
}
.text-action {
  background:none;
  color:var(--text);
  padding:12px 0;
  border:none;
  font-size:15px;
  font-weight:800;
  display:flex;
  align-items:center;
  gap:20px;
}
.text-action .ico {
  color:var(--accent-dark);
}
.home-page .managers {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
}
.manager {
  padding:22px;
  border:1px solid var(--line);
  gap:18px;
}
.manager .ava {
  border-radius:8px;
  background:var(--bg);
  color:var(--text);
  width:56px;
  height:56px;
}
.manager small {
  font-size:13px;
}
.manager .num {
  font-size:20px;
  margin:4px 0;
}
.manager .call {
  background:#237a45;
  width:48px;
  height:48px;
  border-radius:8px;
  font-size:20px;
}
.manager:hover {
  border-color:#237a45;
}
.cert {
  background:none;
  border:1px solid var(--line);
  font-size:15px;
  margin-top:22px;
  padding:20px 24px;
}
.cert small {
  font-size:12px;
  overflow-wrap:anywhere;
}
.cert-open {
  margin-left:auto;
  font-size:24px;
}
.foot {
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:30px;
  justify-content:space-between;
  text-align:left;
  padding:32px 0;
  margin-top:0;
  font-size:11px;
}
.foot>strong {
  font-size:24px;
  letter-spacing:-1px;
  color:var(--text);
}
.foot>strong span {
  color:var(--accent-dark);
}
.foot>p {
  max-width:540px;
  margin:0;
}
.foot>span {
  white-space:nowrap;
}
.btn {
  border-radius:9px;
  color:var(--accent-text);
}
.btn:hover:not(:disabled) {
  filter:brightness(.96);
}
.choice,.summary,.stepper,.dia,.calc-items {
  border:1px solid var(--line);
}
.choice {
  min-height:80px;
}
.choice.selected {
  border:2px solid var(--accent);
}
.choice:hover {
  border-color:var(--accent);
}
.grade {
  border-radius:8px;
}
.step-label {
  font-size:12px;
  letter-spacing:1.3px;
  margin:12px 0 8px;
}
.progress {
  position:sticky;
  top:85px;
  z-index:4;
  height:4px;
}
.progress[hidden] {
  display:none;
}
.chips .chip {
  border-radius:8px;
}
.chip.selected {
  color:var(--accent-text);
}
.back {
  font-size:15px;
  min-height:44px;
}
@media(max-width:1050px) {
  .top-nav {
    margin-right:0;
    gap:0;
  }
  .top-nav button {
    padding:0 8px;
    font-size:12px;
  }
  .top {
    gap:12px;
  }
  .top .top-call {
    padding:0 14px;
  }
  #callText {
    display:none;
  }
  .hero {
    padding:48px 32px;
  }
  .hero h1 {
    font-size:54px;
  }
  .hero-content {
    max-width:540px;
  }
  .calculator-promo {
    padding:35px;
    gap:10px;
  }
  .cat .body {
    padding:18px;
  }
  .cat .title {
    font-size:23px;
  }
}
@media(max-width:700px) {
  .top {
    padding:12px 18px;
    gap:10px;
  }
  .brand {
    font-size:23px;
  }
  .brand-mark {
    width:34px;
    height:34px;
  }
  .top-nav {
    display:none;
  }
  .top button {
    min-height:44px;
    height:44px;
    min-width:44px;
    border-radius:7px;
  }
  main {
    padding:24px 18px 60px;
  }
  main.home-page {
    padding:14px 14px 0;
  }
  .hero {
    min-height:625px;
    padding:29px 24px;
    align-items:flex-start;
  }
  .hero .hero-image {
    object-position:67% bottom;
    height:60%;
    top:auto;
    bottom:0;
  }
  .hero::before {
    background:linear-gradient(180deg,#1b251f 0%,#1b251f 32%,rgba(27,37,31,.82) 47%,rgba(27,37,31,.08) 75%,rgba(27,37,31,.25));
  }
  .hero-content {
    max-width:100%;
  }
  .hero h1 {
    font-size:44px;
    line-height:1.07;
    letter-spacing:-1.8px;
  }
  .hero-tag {
    font-size:10px;
    letter-spacing:1px;
    margin-bottom:22px;
  }
  .hero p {
    font-size:15px;
    line-height:1.6;
    margin-bottom:19px;
    max-width:400px;
  }
  .hero .btn {
    min-height:60px;
    font-size:16px;
    padding:12px 18px;
  }
  .hero-location {
    margin-top:20px;
    font-size:10px;
  }
  .hero-stamp {
    right:16px;
    bottom:16px;
    padding:10px 14px;
  }
  .hero-stamp strong {
    font-size:16px;
  }
  .trust {
    padding:21px 0;
  }
  .trust div {
    flex-direction:column;
    font-size:11px;
    gap:8px;
    padding:0 6px;
  }
  .trust .ico {
    font-size:23px;
  }
  .home-section {
    margin:42px 4px;
  }
  .section-heading {
    display:block;
    margin-bottom:22px;
  }
  .section-heading>p {
    margin-top:12px;
    font-size:13px;
  }
  .home-page h2 {
    font-size:29px;
    letter-spacing:-1px;
  }
  .eyebrow {
    font-size:9px;
    letter-spacing:1.3px;
  }
  .cats {
    grid-template-columns:1fr;
    gap:14px;
  }
  .cat {
    flex-direction:row;
  }
  .cat-image {
    width:36%;
    flex:none;
  }
  .cat img {
    height:100%;
    min-height:175px;
  }
  .cat .body {
    padding:18px;
  }
  .cat .title {
    font-size:23px;
  }
  .cat .sub {
    font-size:13px;
  }
  .cat-link {
    margin-top:20px;
    font-size:12px;
    gap:8px;
  }
  .cat-index {
    top:10px;
    left:10px;
  }
  .calculator-promo {
    grid-template-columns:1fr;
    padding:28px 24px 24px;
    gap:10px;
  }
  .calc-copy .btn {
    width:100%;
    min-height:60px;
  }
  .calc-art {
    width:100%;
    max-width:350px;
    margin:auto;
  }
  .calc-copy>p:not(.eyebrow) {
    font-size:15px;
  }
  .steps {
    grid-template-columns:1fr;
    gap:19px;
  }
  .steps li {
    flex-direction:row;
    font-size:17px;
    gap:20px;
    padding-top:19px;
  }
  .steps .num {
    font-size:25px;
    min-width:36px;
  }
  .delivery {
    grid-template-columns:1fr;
  }
  .delivery img {
    height:235px;
    min-height:0;
  }
  .delivery-copy {
    padding:26px;
  }
  .home-page .managers {
    grid-template-columns:1fr;
    gap:14px;
  }
  .manager {
    padding:18px;
    gap:14px;
  }
  .manager .num {
    font-size:18px;
  }
  .manager .ava {
    width:44px;
    height:48px;
  }
  .cert {
    padding:17px 14px;
    gap:10px;
  }
  .cert .ico {
    font-size:26px;
  }
  .cert b {
    font-size:14px;
  }
  .cert small {
    font-size:10px;
  }
  .foot {
    flex-wrap:wrap;
    gap:17px;
    padding:26px 4px;
  }
  .foot>p {
    order:3;
    width:100%;
  }
  .foot>span {
    margin-left:auto;
  }
  .progress {
    top:69px;
  }
  h2 {
    font-size:28px;
  }
}
@media(max-width:370px) {
  .hero {
    padding:25px 20px;
    min-height:640px;
  }
  .hero h1 {
    font-size:38px;
  }
  .hero-location {
    font-size:9px;
  }
  .hero .btn {
    width:100%;
  }
  .cat .body {
    padding:13px;
  }
  .cat .title {
    font-size:21px;
  }
  .manager {
    padding:14px 10px;
    gap:9px;
  }
  .manager .num {
    font-size:16px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    transition:none!important;
  }
}
@media(max-width:700px) {
  .hero-location {
    width:max-content;
    max-width:100%;
    padding:6px 9px;
    border-radius:4px;
    background:rgba(20,30,23,.78);
    color:#e1e8df;
  }
  .cat .body {
    min-width:0;
  }
}

/* 0.7.0 — five material categories, admixtures and readable product details. */
.cats { grid-template-columns:repeat(6,minmax(0,1fr)); }
.cat { grid-column:span 2; min-width:0; }
.cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) { grid-column:span 3; flex-direction:row; }
.cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) .cat-image { width:40%; flex:none; }
.cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) img { height:100%; min-height:250px; }
.cat .body { min-width:0; }
.cat .title { overflow-wrap:anywhere; }
.cat .sub,.cat-link { font-size:17px; line-height:1.5; }
.cat-link { min-height:54px; margin-top:14px; gap:10px; }
.hero p,.calc-copy>p:not(.eyebrow),.delivery p:not(.eyebrow),.section-heading>p { font-size:18px; }
.hero .btn,.calc-copy .btn,.text-action,.back,.top button { font-size:17px; min-height:54px; }
.top button { height:auto; }
.top-nav { margin-right:0; gap:0; }
.top-nav button { padding:0 10px; }
.trust div { font-size:17px; line-height:1.4; }
.hero-location { font-size:14px; }
.manager small,.cert small { font-size:17px; line-height:1.5; }
.manager .call { width:54px; height:54px; }
.manager .num { font-size:19px; }
.admix-promo { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:0; margin:64px 0 0; background:var(--card); border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.admix-visual { display:flex; flex-direction:column; min-width:0; background:var(--bg); }
.admix-photo { flex:1; display:flex; align-items:center; overflow:hidden; }
.admix-photo img { width:100%; height:auto; aspect-ratio:3/2; object-fit:cover; }
.admix-pills { display:grid; gap:12px; padding:26px; border-top:1px solid var(--line); }
.admix-pills>span { display:flex; gap:12px; align-items:center; background:var(--card); padding:14px 16px; border:1px solid var(--line); border-radius:8px; font-size:17px; line-height:1.45; font-weight:700; }
.admix-pills .ico { font-size:23px; color:var(--accent-dark); }
.admix-copy { padding:36px; min-width:0; }
.admix-copy h2 { font-size:34px; }
.admix-copy>p:not(.eyebrow) { font-size:18px; line-height:1.6; color:var(--muted); margin:20px 0; }
.admix-benefits { list-style:none; padding:0; margin:24px 0; display:grid; gap:0; }
.admix-benefits li { display:flex; align-items:center; gap:14px; padding:13px 0; border-bottom:1px solid var(--line); font-size:19px; font-weight:700; line-height:1.45; }
.admix-benefits .ico { font-size:25px; color:var(--accent-dark); }
.admix-copy>p.admix-note { font-size:17px; }
.admix-copy .btn { width:100%; min-height:60px; font-size:19px; justify-content:space-between; }
.product-choice { align-items:flex-start; padding:20px; }
.product-choice .title { font-size:20px; line-height:1.4; overflow-wrap:anywhere; }
.product-choice .sub { font-size:18px; line-height:1.6; margin-top:10px; }
.product-choice .badge { font-size:14px; vertical-align:middle; margin:6px 0 2px 6px; white-space:nowrap; }
.material-grade { width:76px; height:76px; border:1px solid #ffffff14; }
.material-grade .ico { font-size:30px; }
.material-grade b { font-size:23px; }
.material-grade small { font-size:13px; }
.selected-product { display:flex; align-items:center; gap:16px; margin:20px 0; }
.selected-product strong { font-size:20px; line-height:1.4; overflow-wrap:anywhere; }
.product-delivery { display:flex; align-items:flex-start; gap:10px; font-size:17px; color:var(--muted); line-height:1.5; margin:0 0 24px; }
.product-delivery .ico { margin-top:3px; font-size:21px; color:var(--accent-dark); }
.stepper .value { min-width:0; }
.stepper .value span { font-size:17px; display:block; margin-top:7px; line-height:1.5; }
.specs { margin:26px 0 20px; padding:24px; border:1px solid var(--line); background:var(--card); border-radius:12px; }
.specs-title { display:flex; align-items:center; gap:10px; font-size:21px; margin:0 0 18px; }
.specs-title .ico { color:var(--accent-dark); }
.specs ul { list-style:none; padding:0; margin:0; }
.specs li { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); gap:12px 20px; padding:16px 0; border-top:1px solid var(--line); font-size:18px; line-height:1.6; overflow-wrap:anywhere; }
.specs li.spec-full { display:block; }
.spec-label { color:var(--muted); font-weight:600; }
.progress { top:91px; }
@media(max-width:1050px) {
 .top-nav { display:none; }
 .admix-copy { padding:28px; }
 .admix-copy h2 { font-size:30px; }
 .admix-pills { padding:20px; }
}
@media(max-width:700px) {
 .top { padding:10px 16px; }
 .top button { font-size:17px; min-width:54px; height:54px; }
 .progress { top:75px; }
 .hero { min-height:0; padding-bottom:310px; }
 .hero .hero-image { height:350px; }
 .hero::before { background:linear-gradient(0deg,rgba(27,37,31,.12),rgba(27,37,31,.05) 180px,#1b251f 355px); }
 .hero p { font-size:18px; line-height:1.6; }
 .hero .btn { font-size:19px; min-height:60px; }
 .hero-location { width:auto; font-size:14px; background:none; padding:0; margin-top:20px; }
 .hero-stamp { bottom:18px; }
 .trust div { font-size:14px; }
 .cats { grid-template-columns:1fr; }
 .cat,.cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) { grid-column:auto; flex-direction:row; }
 .cat-image,.cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) .cat-image { width:30%; }
 .cat img,.cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) img { height:100%; min-height:220px; }
 .cat .body { padding:16px; }
 .cat .title { font-size:23px; line-height:1.3; }
 .cat .sub,.cat-link { font-size:17px; }
 .cat-link { flex-wrap:wrap; }
 .admix-promo { grid-template-columns:1fr; margin-top:42px; }
 .admix-photo { flex:none; }
 .admix-pills { padding:20px; }
 .admix-copy { padding:28px 20px; }
 .admix-copy h2 { font-size:29px; overflow-wrap:anywhere; }
 .admix-copy h2 br { display:none; }
 .admix-benefits li { align-items:flex-start; font-size:19px; }
 .admix-benefits .ico { margin-top:3px; }
 .specs { padding:20px 16px; }
 .specs li { display:block; font-size:18px; }
 .spec-label { display:block; margin-bottom:6px; }
 .product-detailed { display:block; }
 .product-detailed .material-grade { margin-bottom:16px; }
 .product-detailed .body { display:block; }
 .product-detailed .badge { display:table; margin:8px 0 0; }
 .selected-product { align-items:flex-start; }
 .selected-product .material-grade { width:64px; height:64px; }
 .selected-product strong { font-size:19px; }
 .stepper { flex-wrap:wrap; gap:10px; padding:16px; }
 .stepper .value { order:-1; flex:1 0 100%; margin-bottom:6px; }
 .stepper button { width:calc(50% - 5px); height:58px; border-radius:9px; }
 .manager { flex-wrap:wrap; padding:18px 14px; gap:12px; }
 .manager .ava { display:none; }
 .manager .num { font-size:18px; white-space:normal; }
 .manager small { font-size:17px; }
 .manager .call { width:54px; height:54px; }
 .cert { align-items:flex-start; }
 .cert b,.cert small { font-size:17px; }
 .text-action,.back { font-size:17px; min-height:54px; }
 .calc-copy .btn { font-size:19px; }
 .section-heading>p,.calc-copy>p:not(.eyebrow) { font-size:18px; }
}

.calc-item .x { width:54px; height:54px; font-size:19px; }
.selfmix summary { min-height:54px; padding:12px 0; }
@media(max-width:700px) { .cat[data-val=drymix] img { object-position:38% center; } }

/* Компактные карточки каталога на телефоне (0.7.1, по просьбе заказчика: «слишком большие плашки»).
   Фото — квадрат ~104px, без номера 01–05 и надписи «Выбрать материал» (вся карточка — кнопка, стрелка остаётся). */
@media(max-width:700px) {
  .cats { gap:10px; }
  .cats .cat,
  .cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) {
    position:relative;
    flex-direction:row;
    align-items:stretch;
    min-height:0;
  }
  .cats .cat .cat-image,
  .cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) .cat-image {
    width:104px;
    flex:none;
  }
  .cats .cat img,
  .cats:has(> .cat:nth-child(5):last-child) > .cat:nth-child(n+4) img {
    width:104px;
    height:100%;
    min-height:104px;
  }
  .cats .cat-index { display:none; }
  .cats .cat .body {
    padding:12px 48px 12px 14px;
    justify-content:center;
  }
  .cats .cat .title { font-size:20px; line-height:1.2; }
  .cats .cat .sub { font-size:15px; line-height:1.35; margin-top:4px; }
  .cats .cat-link {
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    min-height:0;
    margin:0;
    font-size:0;          /* текст «Выбрать материал» скрыт, остаётся стрелка */
  }
  .cats .cat-link .ico { font-size:22px; }
}

/* Главный экран на телефоне (0.7.2): фото сверху обычной картинкой, под ним текст и кнопка.
   Раньше фото было фоном внизу блока — в невысоком окне Telegram его не было видно, только стена текста. */
@media(max-width:700px) {
  .hero {
    display:block;
    min-height:0;
    padding:0;
    overflow:hidden;
  }
  .hero::before { display:none; }
  .hero .hero-image {
    position:static;
    display:block;
    width:100%;
    height:clamp(170px, 30vh, 240px);
    object-fit:cover;
    object-position:62% 62%;
  }
  .hero-content { padding:18px 18px 22px; }
  .hero-tag { margin-bottom:10px; font-size:11px; }
  .hero h1 {
    font-size:clamp(28px, 8vw, 34px);
    line-height:1.12;
    letter-spacing:-1px;
    margin:0 0 10px;
  }
  .hero p {
    font-size:17px;
    line-height:1.5;
    margin:0 0 18px;
    max-width:none;
  }
  .hero-actions { display:block; }
  .hero .btn { width:100%; justify-content:space-between; }
  .hero-location { display:none; }
  .hero-stamp {
    top:12px;
    right:12px;
    bottom:auto;
    padding:8px 12px;
  }
  .hero-stamp strong { font-size:15px; }
}

/* Плотная мобильная вёрстка главной (0.7.2, «на телефоне всё слишком большое»).
   Кнопки не меньше 54px и основной текст 16–17px — ради пожилых клиентов; сжимаем отступы, заголовки и декор. */
@media(max-width:700px) {
  main.home-page { padding:12px 12px 0; }
  .home-page h2 { font-size:24px; line-height:1.2; letter-spacing:-.6px; }
  .home-page .eyebrow { font-size:11px; margin-bottom:6px; }
  .home-section, #catalog { margin-top:28px; padding-top:0; }
  .section-heading { margin-bottom:14px; gap:6px; }
  .section-heading>p { font-size:15px; margin:4px 0 0; }

  .trust { padding:12px 0; gap:0; }
  .trust div { font-size:14px; gap:6px; }
  .trust .ico { font-size:20px; }

  /* Компактный контур над текстом: отдельное место рядом с надписью. */
  .calculator-promo { margin-top:28px; padding:20px 18px; min-height:0; display:block; }
  .calc-art { display:none; }
  .foundation-art { display:block; position:absolute; top:12px; right:16px; width:64px; padding:0; }
  .foundation-art svg path { stroke-width:4; }
  .calc-copy .eyebrow { padding-right:72px; min-height:34px; display:flex; align-items:center; }
  .calc-copy>p:not(.eyebrow) { font-size:16px; line-height:1.5; margin:8px 0 16px; }
  .calc-copy .btn { width:100%; min-height:54px; }

  /* Добавки: фото ниже, плашки и преимущества компактной сеткой */
  .admix-promo { margin-top:28px; grid-template-columns:1fr; }
  .admix-photo img { aspect-ratio:auto; height:170px; width:100%; object-fit:cover; }
  .admix-pills { grid-template-columns:1fr 1fr; gap:8px; padding:10px 12px; }
  .admix-pills>span { padding:8px 10px; font-size:13px; line-height:1.3; gap:8px; }
  .admix-pills .ico { font-size:18px; }
  .admix-copy { padding:18px 16px 20px; }
  .admix-copy h2 { font-size:24px; margin:0 0 8px; }
  .admix-copy>p:not(.eyebrow):not(.admix-note) { font-size:15px; margin:0 0 12px; }
  .admix-benefits { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0 0 12px; padding:0; }
  .admix-benefits li { border:1px solid var(--line); border-radius:8px; padding:8px 10px; font-size:14px;
    line-height:1.3; gap:8px; align-items:flex-start; min-height:0; }
  .admix-benefits .ico { font-size:18px; flex:none; margin-top:1px; }
  .admix-note { font-size:13px; line-height:1.45; margin:0 0 14px; }

  /* Как заказать */
  .steps { gap:8px; }
  .steps li { padding:12px 14px; font-size:16px; gap:12px; min-height:0; }
  .steps .num { width:34px; height:34px; font-size:14px; }

  /* Доставка: низкое фото + короткий текст */
  .delivery { margin-top:28px; }
  .delivery img { height:150px; aspect-ratio:auto; }
  .delivery-copy { padding:16px 16px 18px; }
  .delivery-copy h2 { margin:0 0 6px; }
  .delivery p:not(.eyebrow) { font-size:15px; margin:0 0 8px; }

  /* Менеджеры и сертификат */
  .managers { gap:8px; }
  .manager { padding:12px 14px; min-height:0; gap:12px; }
  .manager .ava { width:40px; height:40px; font-size:17px; }
  .manager b { font-size:17px; }
  .manager .num { font-size:17px; }
  .manager small { font-size:14px; line-height:1.35; }
  .manager .call { width:54px; height:54px; }
  .cert { padding:12px 14px; margin-top:8px; }
  .cert small { font-size:13px; }
  .foot { padding:20px 0; margin-top:24px; font-size:13px; }
}

/* 0.7.2: блок добавок на телефоне — без разрыва слов в заголовке, преимущества списком в одну колонку */
@media(max-width:700px) {
  .admix-copy h2 { font-size:23px; overflow-wrap:normal; word-break:normal; hyphens:manual; }
  .admix-copy h2 br { display:inline; }
  .admix-benefits { grid-template-columns:1fr; gap:0; }
  .admix-benefits li { border:0; border-bottom:1px solid var(--line); border-radius:0; padding:9px 0;
    font-size:15px; align-items:center; }
  .admix-copy>p.admix-note { font-size:13px; line-height:1.45; margin:0 0 14px; }
}

/* 0.7.2: карточки товаров и «Характеристики» на телефоне — плашка слева, плотнее */
@media(max-width:700px) {
  .choices { gap:8px; }
  .product-choice, .product-detailed {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:12px;
    padding:12px 14px;
    min-height:0;
  }
  .product-choice .grade, .product-detailed .material-grade, .product-choice .thumb {
    width:56px; height:56px; margin:0; border-radius:10px;
  }
  .product-choice .grade b, .material-grade b { font-size:17px; }
  .product-choice .grade small, .material-grade small { font-size:11px; margin-top:2px; }
  .material-grade .ico { font-size:24px; }
  .product-choice .body { display:block; min-width:0; }
  .product-choice .title { font-size:17px; line-height:1.3; overflow-wrap:normal; }
  .product-choice .badge { display:inline-block; margin:0 0 0 6px; font-size:11px; padding:2px 7px; vertical-align:2px; }
  .product-choice .sub { font-size:15px; line-height:1.4; margin-top:4px; }
  .product-choice .price, .product-choice .sub:last-child { font-size:14px; margin-top:4px; }

  .specs { margin:16px 0 12px; padding:14px 14px 6px; }
  .specs li { display:block; font-size:15px; line-height:1.45; padding:10px 0; }
  .specs .spec-label { display:block; font-size:13px; color:var(--muted); margin-bottom:2px; }
}

/* 0.7.3: плашка ГОСТ на телефоне — слева сверху (на тёмном здании, не закрывает миксер) */
@media(max-width:700px) {
  .hero-stamp { left:12px; right:auto; top:12px; bottom:auto; }
}

/* 0.8.1: заметная кнопка «Назад» на всех экранах кроме главной — прилипает под шапкой при прокрутке.
   --top-h (высота шапки) выставляет app.js. */
.progress { top:var(--top-h, 75px); }
.back {
  position:sticky;
  top:calc(var(--top-h, 75px) + 4px);
  z-index:3;
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
  min-height:50px;
  margin:-6px 0 12px;
  padding:8px 0;
  background:var(--bg);
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  color:var(--text);
  font-size:17px;
  font-weight:800;
  text-align:left;
}
.back .ico { font-size:22px; color:var(--accent-dark); }


/* 0.8.1: блок партнёрской лаборатории на главной (базовая вёрстка Claude) */
.lab-promo {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:28px;
  margin:56px 0 0;
  padding:36px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
}
.lab-copy h2 { margin:0 0 12px; }
.lab-copy>p:not(.eyebrow) { color:var(--muted); margin:0 0 16px; }
.lab-list { list-style:none; margin:0 0 16px; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:8px 18px; }
.lab-list li { display:flex; align-items:center; gap:8px; font-weight:700; font-size:16px; }
.lab-list .ico { color:var(--accent-dark); font-size:18px; flex:none; }
.lab-accr { display:flex; align-items:center; gap:8px; margin:0; color:var(--muted); font-size:15px; }
.lab-accr .ico { color:var(--accent-dark); font-size:20px; flex:none; }
.lab-actions { display:flex; flex-direction:column; justify-content:center; gap:10px; }
.lab-actions .btn { margin:0; }
.lab-phone { text-align:center; color:var(--muted); font-weight:700; }
@media(max-width:700px) {
  .lab-promo { grid-template-columns:1fr; gap:14px; margin-top:28px; padding:18px 16px 20px; }
  .lab-copy h2 { font-size:23px; }
  .lab-copy h2 br { display:inline; }
  .lab-copy>p:not(.eyebrow) { font-size:15px; margin:0 0 12px; }
  .lab-list { grid-template-columns:1fr; gap:6px; }
  .lab-list li { font-size:15px; }
  .lab-accr { font-size:13px; }
}

/* 0.8.2: блок лаборатории — только описание (без кнопок и номера), на всю ширину */
.lab-promo { grid-template-columns:1fr; }
@media(min-width:701px) { .lab-list { grid-template-columns:repeat(3, minmax(0, 1fr)); } }

/* 0.9.0: сноска «*» к ценам и пометка «с НДС и доставкой» */
.footnote { color:var(--muted); font-size:13px; line-height:1.45; margin:8px 0 0; }
.choice .price small { font-weight:600; color:var(--muted); font-size:13px; }

/* 0.9.1: подзаголовки групп в списке бетона (товарный / мелкозернистый МЗБ) */
.choice-group { padding:14px 2px 2px; }
.choice-group:first-child { padding-top:0; }
.choice-group b { display:block; font-size:18px; font-weight:800; }
.choice-group span { display:block; color:var(--muted); font-size:14px; line-height:1.4; margin-top:2px; }

/* 0.9.1: длинные обозначения марок (МЗБ-100) в квадратике */
.grade.grade-long b, .product-choice .grade.grade-long b { font-size:12px; letter-spacing:-.2px; }

/* 0.9.3: пометка о цене бетононасоса на шаге «Нужен бетононасос?» */
.pump-price { display:flex; gap:10px; align-items:flex-start; margin:14px 0 0; padding:12px 14px;
  border:1px dashed var(--line); border-radius:12px; color:var(--muted); font-size:15px; line-height:1.45; }
.pump-price .ico { font-size:20px; color:var(--accent-dark); flex:none; margin-top:1px; }

/* 0.10.0: раздел «Стройматериалы» (бывш. «Сухие смеси») */
@media(max-width:700px) { .cat[data-val=materials] img { object-position:38% center; } }
.material-grade b { font-size:15px; }

/* 0.10.1: materials groups, consultation and price context */
.choice-group { position:relative; margin:24px 0 4px; padding:16px 0 4px 16px; border-top:1px solid var(--line); }
.choice-group:first-child { margin-top:0; padding-top:4px; border-top:0; }
.choice-group::before { content:""; position:absolute; left:0; top:18px; width:4px; height:22px; border-radius:2px; background:var(--accent); }
.choice-group:first-child::before { top:6px; }
.choice-group b { font-size:20px; line-height:1.35; color:var(--text); }
.choice-group span { font-size:14px; line-height:1.55; margin-top:5px; }
.material-grade b, .product-choice .material-grade b { font-size:19px; letter-spacing:-.5px; white-space:nowrap; }
.material-grade small:empty { display:none; }
.consultation-banner { display:flex; align-items:flex-start; gap:14px; padding:20px; margin:0 0 24px; background:var(--card); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:12px; color:var(--text); font-size:18px; line-height:1.55; }
.consultation-banner>.ico { flex:none; font-size:25px; margin-top:3px; color:var(--accent-dark); }
.consultation-banner>span { min-width:0; }
.footnote, .pump-price { font-size:15px; line-height:1.55; color:var(--muted); padding:14px 16px; margin:16px 0 0; background:var(--card); border:1px solid var(--line); border-radius:10px; }
.choice .price small { display:block; margin-top:5px; font-size:14px; line-height:1.5; font-weight:500; color:var(--muted); }
.summary dd small, .calc-price small { font-size:14px; line-height:1.5; color:var(--muted); }
.cat[data-val=materials] img { object-position:center; }
@media(max-width:700px) {
 .choice-group { margin-top:22px; }
 .choice-group b { font-size:19px; }
 .material-grade b, .product-choice .material-grade b { font-size:17px; letter-spacing:-.6px; }
 .consultation-banner { padding:16px 14px; gap:11px; font-size:17px; }
}

/* 0.10.1: фото товара (мешки WELCON) в карточке — целиком, на светлой подложке */
.product-photo { object-fit:contain; background:#fff; padding:3px; border-radius:10px; }
.product-choice .thumb.product-photo { width:56px; height:72px; }
.selected-product .product-photo { width:64px; height:80px; flex:none; }

/* ---------- 0.11.0: магазинная структура «Стройматериалов» ---------- */
/* Подразделы — плитки с картинкой */
.sub-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); gap:10px; margin-top:12px; }
.sub-tile { display:flex; flex-direction:column; padding:0; overflow:hidden; text-align:left; font:inherit; color:var(--text);
  background:var(--card); border:1px solid var(--line); border-radius:12px; }
.sub-tile img { width:100%; aspect-ratio:3 / 2; object-fit:cover; display:block; background:var(--line); }
.sub-body { display:flex; flex-direction:column; gap:2px; padding:10px 12px 12px; }
.sub-body b { font-size:17px; line-height:1.25; }
.sub-body small { color:var(--muted); font-size:13px; line-height:1.35; }
.sub-body em { font-style:normal; color:var(--accent-dark); font-weight:700; font-size:13px; margin-top:4px; }

/* Компактный список товаров: небольшая плашка/фото, название, 2 строки применения, цена */
.choices.compact { gap:8px; }
.choices.compact .product-choice { padding:10px 12px; gap:12px; min-height:0; align-items:center; }
.choices.compact .product-choice .grade, .choices.compact .product-choice .material-grade,
.choices.compact .product-choice .thumb { width:48px; height:48px; border-radius:9px; }
.choices.compact .product-choice .thumb.product-photo { width:44px; height:58px; }
.choices.compact .product-choice .grade b, .choices.compact .material-grade b { font-size:14px; }
.choices.compact .product-choice .grade small, .choices.compact .material-grade small { font-size:10px; }
.choices.compact .product-choice .title { font-size:16px; line-height:1.3; }
.choices.compact .product-choice .sub { font-size:14px; line-height:1.35; margin-top:2px;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.choices.compact .product-choice .price { font-size:14px; margin-top:3px; }
.choices.compact .product-choice .price small { font-size:12px; }

/* Цвет плашек гипсокартона — как лицевой картон в строймагазинах */
.material-grade.kind-gkl { background:#6b7580; }
.material-grade.kind-gklv { background:#2f7d4f; }
.material-grade.kind-gklo { background:#b04a57; }

/* Страница товара */
.pd { display:flex; gap:14px; align-items:flex-start; padding:14px; margin:4px 0 10px;
  background:var(--card); border:1px solid var(--line); border-radius:14px; }
.pd-photo { width:96px; height:124px; object-fit:contain; background:#fff; border-radius:10px; padding:4px; flex:none; }
.pd-photo.pd-cover { object-fit:cover; padding:0; height:96px; }
.pd .pd-grade { width:84px; height:84px; flex:none; border-radius:12px; }
.pd .pd-grade b { font-size:20px; }
.pd .pd-grade.grade-long b { font-size:14px; }
.pd-info { min-width:0; }
.pd-name { font-size:20px !important; line-height:1.25 !important; margin:0 0 6px !important; letter-spacing:-.3px !important; }
.pd-name .badge { vertical-align:3px; }
.pd-hint { color:var(--muted); font-size:15px; line-height:1.4; margin:0 0 6px; }
.pd .price { display:block; font-weight:800; color:var(--accent-dark); font-size:17px; }
.pd .price small { display:block; font-weight:600; color:var(--muted); font-size:13px; margin-top:2px; }
.pd .sub { color:var(--muted); font-size:15px; }
.pd-q { font-size:20px; margin:18px 0 8px; }
@media(max-width:700px) {
  .sub-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .sub-body { padding:8px 10px 10px; }
  .sub-body b { font-size:15px; }
  .pd { padding:12px; gap:12px; }
  .pd-photo { width:80px; height:104px; }
  .pd .pd-grade { width:72px; height:72px; }
  .pd-name { font-size:18px !important; }
}

/* ---------- 0.11.6: компактный выбор количества (заказчик: «большие, не к месту») ---------- */
.stepper {
  display:grid !important; grid-template-columns:52px 1fr 52px; align-items:center; gap:10px;
  padding:10px !important; margin:6px 0 10px; flex-wrap:nowrap !important;
}
.stepper button {
  width:52px !important; height:52px !important; border-radius:12px !important; padding:0;
  font-size:26px !important; line-height:1; display:grid; place-items:center;
}
.stepper .value { order:0 !important; flex:none !important; margin:0 !important; text-align:center; }
.stepper .value strong { font-size:30px !important; line-height:1.1; letter-spacing:-.5px; }
.stepper .value span { font-size:13px !important; line-height:1.35 !important; margin-top:2px !important; color:var(--muted); }
.stepper + .chips { gap:8px; margin:10px 0; }
.stepper + .chips .chip { min-width:0; min-height:44px; padding:0 14px; font-size:16px; border-radius:10px; flex:1 0 calc(25% - 8px); }
.result { display:flex; align-items:baseline; flex-wrap:wrap; gap:4px 8px; padding:12px 14px; margin:10px 0 6px; font-size:16px; }
.result strong { font-size:22px; }
.result br { display:none; }
.result .note { flex-basis:100%; margin:0; font-size:13px; }
.pd-q { font-size:18px !important; margin:16px 0 6px !important; }
.pump-price, .banner { font-size:15px; }
/* 0.11.6: сноска «*» — мелким текстом без плашки; «Не знаю — посчитать» ниже */
main .footnote { background:none !important; border:0 !important; box-shadow:none !important;
  padding:0 2px !important; margin:4px 0 12px !important; font-size:12.5px !important; line-height:1.45; color:var(--muted); }
.stepper ~ .btn.secondary.small { min-height:46px !important; font-size:16px !important; margin:6px 0 4px; }

/* 0.11.8: блок калькулятора — иконка у надписи; на телефоне мелкая схема не показывается (выглядела случайно) */
.calc-copy .eyebrow { display:flex; align-items:center; gap:10px; }
.calc-ico { width:34px; height:34px; border-radius:10px; display:grid; place-items:center; flex:none;
  background:var(--accent); color:#fff; font-size:18px; }
@media(max-width:700px) {
  .foundation-art { display:none !important; }
  .calc-copy .eyebrow { padding-right:0 !important; min-height:0 !important; margin-bottom:10px; }
}

/* 0.11.8: логотип — знак-блок + «AK BETON», «BETON» акцентом (без повтора «AK») */
.brand-word { font-weight:800; letter-spacing:-.3px; white-space:nowrap; }
.brand .brand-word span { color:var(--accent); font-weight:800; }

/* 0.12.0: адрес — «моё местоположение» + «выбрать на карте»; экран карты с булавкой по центру */
.loc-buttons { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:8px 0 0; }
.loc-buttons .btn { margin:0; min-height:52px !important; font-size:15px !important; padding:8px 10px; }
.loc-ok { display:flex; align-items:center; gap:8px; margin:6px 0 2px; color:var(--ok, #2f7d4f); font-weight:800; font-size:15px; }
.loc-ok .ico { font-size:20px; }
.map-wrap { position:relative; height:max(320px, calc(100vh - var(--top-h, 75px) - 260px)); border-radius:14px; overflow:hidden;
  border:1px solid var(--line); margin:6px 0 8px; }
#map { position:absolute; inset:0; background:#e8e4dc; }
.map-pin { position:absolute; left:50%; top:50%; transform:translate(-50%, -100%); z-index:500; pointer-events:none;
  font-size:44px; color:var(--accent); filter:drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.map-pin .ico { fill:var(--accent); stroke:#fff; stroke-width:1.2; }
.map-locate { position:absolute; right:10px; bottom:24px; z-index:500; width:48px; height:48px; border-radius:12px;
  border:1px solid var(--line); background:var(--card); color:var(--accent); font-size:22px; display:grid; place-items:center; }
@media(max-width:700px) { .map-wrap { height:max(300px, calc(100vh - var(--top-h, 70px) - 250px)); } }

/* 0.12.1: блок точки доставки — строки-варианты + превью карты */
.loc-card { border:1px solid var(--line); border-radius:14px; background:var(--card); overflow:hidden; margin:10px 0 4px; }
.loc-opt { display:flex; align-items:center; gap:12px; width:100%; padding:12px 14px; min-height:68px; background:none; border:0;
  color:var(--text); text-align:left; cursor:pointer; font:inherit; }
.loc-opt + .loc-opt { border-top:1px solid var(--line); }
.loc-opt:active { background:var(--accent-soft); }
.loc-ic { flex:none; width:44px; height:44px; border-radius:12px; background:var(--accent-soft); color:var(--accent);
  display:grid; place-items:center; font-size:22px; }
.loc-txt { flex:1; display:flex; flex-direction:column; gap:2px; min-width:0; }
.loc-txt b { font-size:17px; font-weight:800; line-height:1.2; }
.loc-txt small { font-size:14px; color:var(--muted); line-height:1.25; }
.loc-opt > .ico:last-child { flex:none; color:var(--muted); font-size:20px; }
.loc-preview { position:relative; height:150px; overflow:hidden; background:#e8e4dc; border-bottom:1px solid var(--line); cursor:pointer; }
.loc-preview img { position:absolute; width:256px; height:256px; max-width:none; }
.loc-preview .map-pin { font-size:40px; }
.loc-badge { position:absolute; left:8px; bottom:8px; display:flex; align-items:center; gap:6px; padding:6px 10px; border-radius:10px;
  background:#2f7d4f; color:#fff; font-weight:800; font-size:14px; box-shadow:0 1px 4px rgba(0,0,0,.25); }
.loc-attr { position:absolute; right:4px; bottom:2px; font-size:10px; color:#333; background:rgba(255,255,255,.75); padding:0 4px; border-radius:4px; }
:root[data-theme="dark"] .loc-preview img { filter:brightness(.82) contrast(1.05); }
.field .opt { font-style:normal; font-weight:500; color:var(--muted); }

/* ===================== 0.13.0 ===================== */
/* Server-rendered text (bot/site.py): read by crawlers / AI bots without JS; hidden while the app runs. */
.js .ssr { display:none; }
.js #app[data-loading]::before { content:attr(data-loading); display:block; text-align:center; color:var(--muted); margin-top:40px; }
html:not(.js) .top-nav, html:not(.js) #topCall, html:not(.js) #topLang { display:none; }
.ssr { max-width:960px; margin:0 auto; line-height:1.55; font-size:17px; }
.ssr h1 { font-size:clamp(28px, 4vw, 40px); line-height:1.15; margin:8px 0 16px; letter-spacing:-1px; }
.ssr h2 { font-size:26px; margin:40px 0 12px; }
.ssr h3 { font-size:21px; margin:26px 0 8px; }
.ssr h4 { font-size:16px; margin:16px 0 6px; color:var(--muted); }
.ssr-lead { font-size:19px; }
.ssr table { width:100%; border-collapse:collapse; background:var(--card); font-size:16px; margin:0 0 8px; border:1px solid var(--line); }
.ssr th, .ssr td { text-align:left; padding:9px 12px; border-bottom:1px solid var(--line); vertical-align:top; font-weight:500; }
.ssr tbody th { font-weight:700; }
.ssr thead th { font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; font-weight:800; }
.ssr table { table-layout:fixed; }
.ssr thead th:first-child { width:36%; }
.ssr thead th:last-child { width:30%; }
.ssr td:last-child { font-weight:800; }
.ssr small { font-weight:500; color:var(--muted); }
.ssr a { color:var(--accent-dark); font-weight:700; }
.ssr ul, .ssr ol { padding-left:22px; }
.ssr li { margin:6px 0; }
.ssr address { font-style:normal; margin-top:10px; }
.ssr details { border-bottom:1px solid var(--line); padding:12px 0; }
.ssr summary { font-weight:800; cursor:pointer; }
.ssr-note { font-size:14px; color:var(--muted); margin:6px 0; }
.ssr-foot { margin-top:48px; padding:16px 0 24px; border-top:1px solid var(--line); font-size:14px; color:var(--muted); }
@media(max-width:700px) {
  .ssr thead { display:none; }
  .ssr tr { display:block; padding:8px 0; border-bottom:1px solid var(--line); }
  .ssr th, .ssr td { display:block; border:0; padding:2px 10px; }
  .ssr td:last-child { white-space:normal; }
}

/* Site-only blocks on the home page (price list, FAQ): PC only — the phone home page stays as it was */
.desk-only { display:none; }

/* «Позвонить менеджеру» on a PC: Telegram / copy number */
.call-dlg { position:fixed; inset:0; z-index:50; display:grid; place-items:center; padding:16px; background:rgba(10, 14, 12, .55); }
.call-box { position:relative; width:min(460px, 100%); max-height:calc(100vh - 32px); overflow:auto; padding:28px 24px 24px;
  background:var(--card); color:var(--text); border:1px solid var(--line); border-radius:14px; box-shadow:0 20px 60px rgba(0,0,0,.3); }
.call-box h2 { font-size:26px; letter-spacing:-.6px; margin:0 40px 4px 0; }
.call-sells { color:var(--muted); font-size:16px; margin:0 0 12px; }
.call-note { font-size:16px; line-height:1.5; margin:0 0 6px; }
.call-x { position:absolute; right:12px; top:12px; width:44px; height:44px; border-radius:10px; border:1px solid var(--line);
  background:var(--bg); color:var(--text); font-size:18px; }
.call-tg { justify-content:flex-start; text-align:left; }
.call-tg > .ico { font-size:24px; }
.call-tg span { display:flex; flex-direction:column; }
.call-tg small { font-size:14px; font-weight:600; opacity:.8; }
.call-phone { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:16px; padding-top:16px; border-top:1px solid var(--line); }
.call-phone .num { display:flex; align-items:center; gap:8px; font-size:21px; font-weight:800; white-space:nowrap; }
.call-phone .num .ico { color:#237a45; }
.call-phone .btn { width:auto; margin:0; padding:8px 16px; flex:none; }
.call-phone .btn.done { border-color:#237a45; color:#237a45; }

/* ---------- Desktop layout ≥1024 px (phones and the Mini App on a phone are not affected) ---------- */
@media(min-width:1024px) {
  main:not(.home-page) { max-width:1248px; padding:28px 24px 96px; }
  main:not(.home-page) > h2, .desk-main > h2 { font-size:36px; }
  main:not(.home-page) > .lead, main:not(.home-page) > .note, .desk-main > .lead, .desk-main > .note,
  main:not(.home-page) > .footnote, main:not(.home-page) > .banner { max-width:760px; }

  /* product lists and choices: grids instead of one long column */
  main:not(.home-page) .choices.compact { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; align-items:stretch; }
  main:not(.home-page) .choices.compact > .choice-group { grid-column:1 / -1; }
  main:not(.home-page) .choices.compact > .choice.soft { grid-column:1 / -1; }
  main:not(.home-page) .choices.compact .product-choice { padding:14px 16px; gap:16px; }
  main:not(.home-page) .choices.compact .product-choice .grade, main:not(.home-page) .choices.compact .product-choice .material-grade,
  main:not(.home-page) .choices.compact .product-choice .thumb { width:60px; height:60px; }
  main:not(.home-page) .choices.compact .product-choice .thumb.product-photo { width:58px; height:76px; }
  main:not(.home-page) .choices.compact .product-choice .grade b, main:not(.home-page) .choices.compact .material-grade b { font-size:16px; }
  main:not(.home-page) .choices.compact .product-choice .title { font-size:17px; }
  main:not(.home-page) .choices.compact .product-choice .sub { font-size:15px; }
  main:not(.home-page) .choices.compact .product-choice .price { font-size:15px; }
  main:not(.home-page) > .choices:not(.compact) { grid-template-columns:repeat(3, minmax(0, 1fr)); }
  main:not(.home-page) .sub-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:20px; }
  main:not(.home-page) .sub-tile b { font-size:22px; }
  main:not(.home-page) > .managers { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px; }
  .done { max-width:560px; margin:0 auto; }

  /* two columns: content on the left, order card / summary on the right (sticky under the header) */
  .desk-2col { display:grid; grid-template-columns:minmax(0, 1fr) 400px; gap:40px; align-items:start; }
  .desk-side { position:sticky; top:calc(var(--top-h, 86px) + 20px); }
  .desk-main > .back { position:static; }
  .pd-desk { grid-template-columns:minmax(0, 1fr) 440px; }
  .pd-desk .pd { padding:24px; gap:24px; margin-top:0; }
  .pd-desk .pd-photo { width:200px; height:240px; }
  .pd-desk .pd-photo.pd-cover { height:200px; }
  .pd-desk .pd .pd-grade { width:150px; height:150px; border-radius:14px; }
  .pd-desk .pd .pd-grade b { font-size:36px; }
  .pd-desk .pd .pd-grade small { font-size:16px; }
  .pd-desk .pd .pd-grade.grade-long b { font-size:26px; }
  .pd-desk .pd-name { font-size:28px !important; }
  .pd-desk .pd-hint { font-size:17px; }
  .pd-desk .specs { margin-top:16px; }
  .order-card { padding:22px; background:var(--card); border:1px solid var(--line); border-radius:12px; }
  .order-card .pd-q { margin-top:0; }
  .order-card .chips .chip { flex:1 1 calc(25% - 10px); }
  .order-card .btn.secondary { margin-top:10px; }
  .order-card .lead { color:var(--text); }

  .flow-desk { grid-template-columns:minmax(0, 720px) 380px; justify-content:space-between; }
  .aside-card, .aside-help { padding:20px; background:var(--card); border:1px solid var(--line); border-radius:12px; }
  .aside-help { margin-top:16px; }
  .desk-side > .aside-help:first-child { margin-top:0; }
  .pd-desk .cert { margin-top:16px; }
  .aside-help .managers { gap:10px; }
  .aside-help .manager { padding:12px 14px; gap:12px; }
  .aside-help .manager .ava { width:42px; height:42px; }
  .aside-help .manager .num { font-size:17px; }
  .aside-name { font-size:20px; font-weight:800; line-height:1.3; margin:0 0 10px; }
  .aside-rows { margin:0; }
  .aside-rows div { display:flex; justify-content:space-between; gap:14px; padding:10px 0; border-top:1px solid var(--line); font-size:16px; }
  .aside-rows dt { color:var(--muted); }
  .aside-rows dd { margin:0; font-weight:700; text-align:right; overflow-wrap:anywhere; }
  .aside-rows dd small { font-size:13px; font-weight:500; color:var(--muted); }
  .aside-card .product-delivery { margin:10px 0 0; font-size:15px; }

  .calc-desk { grid-template-columns:minmax(0, 1fr) 460px; }
  .calc-desk .worktypes { grid-template-columns:repeat(4, minmax(0, 1fr)); }
  .calc-empty { display:flex; gap:14px; align-items:flex-start; padding:22px; border:1px dashed var(--line); border-radius:12px;
    color:var(--muted); background:var(--card); font-size:17px; line-height:1.5; }
  .calc-empty .ico { flex:none; font-size:28px; color:var(--accent-dark); }
  .calc-empty p { margin:0; }

  /* home page: price list and FAQ (browser only) */
  .desk-only { display:block; }
  .pl-cols { columns:3; column-gap:22px; }
  .pl-cat { break-inside:avoid; margin:0 0 22px; padding:18px 18px 10px; background:var(--card); border:1px solid var(--line); border-radius:12px; }
  .pl-cat h3 { font-size:21px; margin:0 0 6px; }
  .pl-cat h3 small { display:block; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--muted); margin-bottom:2px; }
  .pl-cat ul { list-style:none; margin:0; padding:0; }
  .pl-cat li.pl-group { padding:12px 0 4px; font-size:12px; font-weight:800; letter-spacing:1px; text-transform:uppercase; color:var(--accent-dark); }
  .pl-cat button { display:flex; justify-content:space-between; align-items:baseline; gap:14px; width:100%; padding:9px 0; background:none;
    border:0; border-top:1px solid var(--line); color:var(--text); font:inherit; font-size:15px; line-height:1.35; text-align:left; }
  .pl-cat li.pl-group + li button { border-top:0; }
  .pl-cat button:hover span { color:var(--accent-dark); }
  .pl-cat button b { flex:none; white-space:nowrap; font-weight:800; }
  .pl-cat button b small { font-weight:600; color:var(--muted); font-size:13px; }
  .pl-cat button i { font-weight:600; color:var(--muted); }
  .price-list .footnote { margin-top:0; }
  .faq-list { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px 22px; align-items:start; }
  .faq-list details { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:0 20px; }
  .faq-list summary { cursor:pointer; padding:18px 0; font-weight:800; font-size:17px; line-height:1.4; }
  .faq-list p { margin:0 0 18px; color:var(--muted); font-size:16px; line-height:1.6; }
}
@media(min-width:1440px) {
  main:not(.home-page) .choices.compact { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
/* 1024–1050 px: the old rules hid the header navigation — a PC keeps it (the call button shows the icon only) */
@media(min-width:1024px) and (max-width:1050px) {
  .top-nav { display:flex; }
  .top-nav button { font-size:14px; padding:0 10px; }
}
