/* Румлес — главная. Вёрстка по макету Figma (1600 / 390). */
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(fonts/onest-cyrillic-400-normal.woff2) format('woff2'); unicode-range: U+0400-04FF; }
@font-face { font-family: Onest; font-weight: 400; font-display: swap; src: url(fonts/onest-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2010-2027, U+20BD; }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(fonts/onest-cyrillic-500-normal.woff2) format('woff2'); unicode-range: U+0400-04FF; }
@font-face { font-family: Onest; font-weight: 500; font-display: swap; src: url(fonts/onest-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2010-2027, U+20BD; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(fonts/onest-cyrillic-600-normal.woff2) format('woff2'); unicode-range: U+0400-04FF; }
@font-face { font-family: Onest; font-weight: 600; font-display: swap; src: url(fonts/onest-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+2010-2027, U+20BD; }

:root {
  --green: #148636; --green-2: #76af65; --green-3: #99c38b; --dark-green: #173a36;
  --mint: #c3dbcc; --blue: #3c90af; --blue-2: #6daec4;
  --orange: #f0571f; --orange-2: #ff8149;
  --bg: #f0f1f1; --white: #fff; --ink: #1e1e1e; --gray: #85889e; --line: #e2e4e6;
  --r: 6px; --wrap: 1360px; --pad: 120px;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font: 400 14px/1.4 Onest, Arial, sans-serif; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.wrap { max-width: calc(var(--wrap) + 2 * 24px); margin: 0 auto; padding: 0 24px; }
.h2 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.sec { margin-top: 72px; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 28px; }
.sec__more { font-size: 13px; color: var(--gray); }
.sec__more::after { content: ' ›'; }

/* ---------- Шапка ---------- */
.hdr { background: var(--white); }
.hdr__top { display: flex; align-items: center; gap: 40px; height: 82px; }
.hdr__logo img { height: 32px; width: auto; }
.hdr__nav { display: flex; gap: 20px; font-size: 13px; font-weight: 500; }
.hdr__nav a:hover { color: var(--green); }
.hdr__contacts { margin-left: auto; text-align: right; }
.hdr__phone { display: block; font-size: 15px; font-weight: 500; }
.hdr__hours { font-size: 12px; color: var(--green); }
.btn-dark { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 500; }
.hdr__row { display: flex; gap: 16px; height: 51px; }
.btn-catalog { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px; border-radius: var(--r); background: var(--green); color: #fff; font-weight: 600; font-size: 14px; }
.btn-catalog svg { width: 16px; height: 16px; }
.search { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 20px; border: 1px solid var(--line); border-radius: var(--r); color: var(--gray); }
.search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 14px; color: var(--ink); background: none; }
.search input::placeholder { color: #a5a8b8; }
.hbtn { display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); font-weight: 500; white-space: nowrap; }
.hbtn svg { width: 18px; height: 18px; }
.hdr__cats { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0 16px; font-size: 15px; color: var(--gray); white-space: nowrap; overflow: hidden; }
.hdr__cats a:hover { color: var(--ink); }
.hdr__cats .sale { color: var(--orange); font-weight: 500; }
.hdr__cats .sale::before { content: '%'; margin-right: 8px; font-weight: 600; }

/* ---------- Первый экран ---------- */
.hero { position: relative; max-width: 1600px; margin: 0 auto; height: 468px; overflow: hidden; color: #fff;
  background: #1c2a2c url(img/hero-pc.jpg) center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,30,30,.75) 0%, rgba(20,30,30,.35) 45%, rgba(20,30,30,0) 70%), linear-gradient(0deg, rgba(0,0,0,.35), transparent 35%); }
.hero .wrap { position: relative; height: 100%; display: flex; flex-direction: column; padding-top: 50px; padding-bottom: 50px; }
.hero__title { font-size: 34px; font-weight: 500; line-height: 1.12; max-width: 520px; min-height: 76px; transition: opacity .3s; }
.hero__tabs { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hero__tab { text-align: left; font-size: 15px; color: rgba(255,255,255,.55); padding-top: 18px; position: relative; transition: color .2s; }
.hero__tab::before { content: ''; position: absolute; left: 0; right: 24px; top: 0; height: 2px; background: rgba(255,255,255,.25); }
.hero__tab i { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: #fff; }
.hero__tab.on { color: #fff; }
.hero__tab.on i { animation: tabProg 6s linear forwards; }
@keyframes tabProg { to { width: calc(100% - 24px) } }

/* ---------- Инфо-карточки ---------- */
.info { display: grid; grid-template-columns: 328px 328px 1fr; gap: 16px; margin-top: 21px; }
.icard { position: relative; height: 336px; border-radius: var(--r); padding: 24px; overflow: hidden; }
.icard__t { font-size: 22px; font-weight: 500; line-height: 1.15; position: relative; z-index: 1; }
.icard__hours { position: absolute; left: 24px; bottom: 26px; z-index: 1; }
.icard__hours small { display: block; font-size: 14px; opacity: .6; margin-bottom: 4px; }
.icard__hours b { display: block; font-size: 38px; font-weight: 500; line-height: 1; letter-spacing: -.01em; margin-bottom: 18px; }
.icard__hours b:last-child { margin-bottom: 0; }
.icard--phone { background: linear-gradient(180deg, #7bb26a 0%, #6fb05c 55%, #48b84f 100%); color: #fff; }
.icard--phone::after { content: ''; position: absolute; left: -20px; right: -20px; bottom: -40px; height: 170px; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: rgba(80, 190, 80, .55); }
.icard--phone .icard__img { position: absolute; right: 0; top: 16px; width: 102px; z-index: 1; }
.icard--hours { background: var(--white); }
.icard--hours::after { content: ''; position: absolute; right: -60px; bottom: -40px; width: 330px; height: 240px; border-radius: 48% 52% 0 0; background: #ececec; }
.icard--low { background: var(--mint); padding: 28px; }
.icard--low .icard__t { font-size: 30px; font-weight: 500; line-height: 1.2; }
.mark { background: var(--orange); color: #fff; padding: 0 4px; }
.icard--low .icard__img { position: absolute; right: 0; bottom: 0; width: 288px; }
.icard--low .btn-dark { position: absolute; left: 28px; bottom: 28px; z-index: 1; height: 46px; font-size: 14px; }

/* ---------- Товары ---------- */
.promo { position: relative; display: grid; grid-template-columns: 300px 1fr; border-radius: var(--r); overflow: hidden; padding: 24px 0 24px 24px; min-height: 425px;
  background: linear-gradient(110deg, var(--blue) 0%, #3a88a8 40%, var(--blue-2) 100%); color: #fff; }
.promo::before { content: ''; position: absolute; left: 0; bottom: 0; width: 420px; height: 300px; background: url(img/snow.jpg) left bottom / cover no-repeat; opacity: .9; }
.promo__t { position: relative; font-size: 28px; font-weight: 500; line-height: 1.15; padding-right: 20px; }
.carousel { position: relative; min-width: 0; }
.products { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: 24px; }
.products::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 210px; scroll-snap-align: start; background: #fff; color: var(--ink); border-radius: var(--r); padding: 12px 12px 14px; display: flex; flex-direction: column; height: 370px; }
.pcard__tag { align-self: flex-start; font-size: 11px; font-weight: 500; color: #fff; padding: 4px 6px; border-radius: 3px; background: var(--orange); }
.pcard__tag--low { background: var(--green); }
.pcard__tag--sale { background: #e5533d; }
.pcard__img { margin: 16px -12px 0; height: 150px; object-fit: contain; width: calc(100% + 24px); }
.pcard__name { margin-top: auto; font-size: 13px; font-weight: 500; line-height: 1.25; }
.pcard__price-l { margin-top: 12px; font-size: 12px; color: var(--gray); }
.pcard__price-l span { color: var(--green); }
.pcard__price { font-size: 20px; font-weight: 600; margin-top: 2px; }
.pcard__price small { font-size: 13px; font-weight: 500; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.15); z-index: 2; }
.car-btn--prev { left: -16px; } .car-btn--next { right: 8px; }
.car-btn svg { width: 16px; height: 16px; }

/* ---------- Баннер ---------- */
.banner { display: block; border-radius: var(--r); overflow: hidden; }
.banner img { width: 100%; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: #c9cbd3; }
.dots i:first-child { width: 28px; background: var(--ink); }

/* ---------- Услуги ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.srv { position: relative; height: 415px; border-radius: var(--r); background: var(--green-2); color: #fff; overflow: hidden; }
.srv__txt { position: relative; z-index: 1; padding: 22px 24px; }
.srv__t { font-size: 22px; font-weight: 500; }
.srv__s { font-size: 14px; opacity: .65; margin-top: 6px; }
.srv img { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; }

/* ---------- Категории ---------- */
.cat { position: relative; height: 262px; border-radius: var(--r); background: #fff; padding: 22px 24px; overflow: hidden; display: flex; flex-direction: column; }
.cat__t { font-size: 22px; font-weight: 500; position: relative; z-index: 1; }
.cat__s { font-size: 14px; color: var(--gray); margin-top: 6px; max-width: 360px; position: relative; z-index: 1; }
.cat__go { margin-top: auto; font-size: 13px; font-weight: 500; position: relative; z-index: 1; }
.cat__go::after { content: ' ›'; }
.cat img { position: absolute; right: 0; bottom: 0; width: 243px; }

/* ---------- Блог ---------- */
.video { position: relative; display: block; border-radius: var(--r); overflow: hidden; }
.video img { width: 100%; }
.posts-wrap { position: relative; margin-top: 16px; }
.posts { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.posts::-webkit-scrollbar { display: none; }
.post { scroll-snap-align: start; background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.post img { width: 100%; aspect-ratio: 443 / 248; object-fit: cover; }
.post__body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 28px; flex: 1; }
.post__t { font-size: 17px; font-weight: 500; line-height: 1.3; }
.post .btn-dark { align-self: flex-start; height: 48px; padding: 0 22px; font-size: 13px; margin-top: auto; }
.posts-wrap .car-btn { background: var(--green-2); color: #fff; width: 52px; height: 52px; box-shadow: none; }
.posts-wrap .car-btn--prev { left: -84px; } .posts-wrap .car-btn--next { right: -84px; }
@media (max-width: 1599px) { .posts-wrap .car-btn--prev { left: -18px; } .posts-wrap .car-btn--next { right: -18px; } }

/* ---------- Адреса ---------- */
.stores { margin-top: 100px; background: var(--dark-green); color: #fff; padding: 80px 0 50px; }
.stores__t { font-size: 34px; font-weight: 500; line-height: 1.15; max-width: 560px; margin-bottom: 36px; }
.stores__grid { display: grid; grid-template-columns: 443px 1fr; gap: 16px; }
.addr { background: #fff; color: var(--ink); border-radius: var(--r); padding: 30px 32px 32px; }
.addr__t { font-size: 24px; font-weight: 500; margin-bottom: 22px; }
.shop + .shop { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 26px; }
.shop__city { font-size: 13px; color: var(--gray); }
.shop__street { font-size: 14px; margin-top: 10px; }
.shop__street small { display: block; font-size: 13px; }
.shop__hours { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; }
.shop__hours small { font-size: 13px; color: var(--gray); }
.shop__hours b { display: block; font-size: 20px; font-weight: 500; margin-top: 4px; }
.btn-green { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; margin-top: 30px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 500; }
.btn-green svg { width: 16px; height: 16px; }
.map { border-radius: var(--r); overflow: hidden; min-height: 420px; background: #e9e6df url(img/map.jpg) center / cover; }

/* ---------- Подвал ---------- */
.ftr { padding: 56px 0 60px; color: var(--gray); font-size: 13px; }
.ftr__grid { display: grid; grid-template-columns: 330px 220px 1fr; gap: 0 20px; }
.ftr__logo img { height: 30px; width: auto; margin-bottom: 26px; }
.ftr__addr { line-height: 1.5; }
.ftr__hours { margin-top: 20px; line-height: 1.5; }
.ftr__phone { display: block; margin-top: 18px; color: var(--ink); font-size: 16px; font-weight: 500; }
.ftr h4 { color: var(--ink); font-size: 15px; font-weight: 500; margin-bottom: 14px; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.ftr li a::after { content: ' ›'; }
.ftr a:hover { color: var(--ink); }
.ftr__cat ul { grid-template-columns: 1fr 1fr; column-gap: 40px; }
.ftr__soc { margin-top: 28px; }
.ftr__bottom { margin-top: 44px; }
.ftr__bottom a { text-decoration: underline; }

/* ---------- Порядок блоков (для мобильной перестановки) ---------- */
.flow { display: flex; flex-direction: column; }

/* ---------- Планшет ---------- */
@media (max-width: 1239px) {
  .hdr__nav { display: none; }
  .promo { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr 1fr; }
  .icard--low { grid-column: 1 / -1; }
  .promo { grid-template-columns: 1fr; padding-right: 0; }
  .promo__t { margin-bottom: 20px; max-width: none; }
  .promo .carousel { width: auto; }
  .stores__grid { grid-template-columns: 1fr 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .ftr__cat { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hbtn span { display: none; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .posts { grid-auto-columns: calc((100% - 16px) / 2); }
}

/* ---------- Телефон (макет 390) ---------- */
@media (max-width: 767px) {
  .wrap { padding: 0 12px; }
  .sec { margin-top: 48px; }
  .h2 { font-size: 22px; }
  .sec__head { margin-bottom: 18px; }
  .hdr__top { height: 50px; gap: 12px; }
  .hdr__logo img { height: 22px; }
  .hdr__hours, .hdr__top .btn-dark { display: none; }
  .hdr__phone { font-size: 14px; }
  .hdr__row { height: 44px; }
  .btn-catalog, .hbtn { display: none; }
  .search { padding: 0 14px; } .search input { font-size: 15px; }
  .hdr__cats { display: none; }
  .hdr { padding-bottom: 8px; }
  .hero { height: 324px; border-radius: 0; background-size: cover; background-position: 25% center; }
  .hero::before { background: linear-gradient(180deg, rgba(34,48,47,.75) 0%, rgba(34,48,47,.15) 45%, rgba(0,0,0,.45) 100%); }
  .hero .wrap { padding: 20px 12px 24px; }
  .hero__title { font-size: 22px; max-width: 340px; min-height: 0; }
  .hero__tabs { grid-template-columns: 1fr; }
  .hero__tab { display: none; font-size: 14px; }
  .hero__tab.on { display: block; }
  .hero__tab::before { right: 40%; } .hero__tab.on i { animation-name: tabProgM; }
  @keyframes tabProgM { to { width: 60% } }
  .flow > .sec-info { order: 1; } .flow > .sec-cats { order: 2; } .flow > .sec-low { order: 3; }
  .flow > .sec-banner { order: 4; } .flow > .sec-products { order: 5; } .flow > .sec-services { order: 6; } .flow > .sec-blog { order: 7; }
  .info { grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
  .icard { height: 130px; padding: 16px; }
  .icard__t { font-size: 16px; }
  .icard__hours { left: 16px; bottom: 16px; display: grid; grid-template-columns: auto auto; column-gap: 18px; }
  .icard__hours small { font-size: 11px; margin: 0; grid-row: 1; }
  .icard__hours b { font-size: 18px; margin: 4px 0 0; grid-row: 2; }
  .icard--phone .icard__img, .icard--phone::after { display: none; }
  .icard--hours::after { width: 120px; height: 90px; right: -30px; bottom: -30px; }
  .icard--low { display: none; }
  .sec-low .icard--low { display: block; height: 190px; padding: 16px; }
  .sec-low .icard--low .icard__t { font-size: 18px; }
  .sec-low .icard--low .icard__img { width: 150px; }
  .sec-low .icard--low .btn-dark { left: 16px; bottom: 16px; height: 44px; }
  .sec-cats .grid3 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat { height: 82px; padding: 10px; }
  .cat__t { font-size: 12px; } .cat__s { display: none; }
  .cat__go { font-size: 8px; }
  .cat img { width: 92px; }
  .banner img { content: url(img/m-sale.jpg); }
  .promo { padding: 16px 0 20px 16px; min-height: 0; border-radius: 0; margin: 0 -12px; }
  .promo::before { width: 260px; height: 220px; top: 0; bottom: auto; opacity: .5; }
  .promo__t { font-size: 20px; max-width: 240px; }
  .pcard { flex-basis: 196px; height: 320px; }
  .car-btn { display: none; }
  .sec-services .grid3 { grid-template-columns: 1fr; }
  .srv { height: 212px; }
  .srv__txt { max-width: 60%; padding: 16px; }
  .srv__t { font-size: 17px; } .srv__s { font-size: 13px; }
  .srv img { left: auto; width: 62%; }
  .srv { background: #76af65; }
  .posts { grid-auto-columns: 78%; gap: 12px; }
  .post__t { font-size: 15px; }
  .stores { margin-top: 0; padding: 20px 0 20px; }
  .stores__t { font-size: 20px; margin-bottom: 16px; }
  .stores__grid { grid-template-columns: 1fr; gap: 16px; }
  .addr { padding: 16px; } .addr__t { font-size: 18px; }
  .map { min-height: 340px; }
  .ftr { padding: 36px 0 40px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__logo img { height: 20px; margin-bottom: 14px; }
  .ftr__phone { margin-top: 0; font-size: 14px; }
  .ftr__cat ul { grid-template-columns: 1fr; }
  .ftr__cat { order: 2; grid-column: 1 / -1; } .ftr__nav { order: 3; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; } .ftr__soc { margin-top: 0; } .ftr__bottom { order: 4; grid-column: 1 / -1; }
  .sec-cats .cat:nth-child(1) { order: 1; } .sec-cats .cat:nth-child(2) { order: 2; } .sec-cats .cat:nth-child(3) { order: 4; } .sec-cats .cat:nth-child(4) { order: 3; } .sec-cats .cat:nth-child(5) { order: 5; } .sec-cats .cat:nth-child(6) { order: 6; }
  .ftr__info { order: 1; grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .ftr__info .ftr__phone { grid-column: 1; }
  .ftr__bottom { margin-top: 28px; }
}
.sec-low { display: none; }
@media (max-width: 767px) { .sec-low { display: block; } }

/* Первый экран: одно видео производства */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { z-index: 1; }
.hero .wrap { z-index: 2; }
.hero__tab { cursor: default; }
.hero__tab i { display: none; }
.icard--phone .icard__img { -webkit-mask: radial-gradient(ellipse 50% 50% at 55% 45%, #000 60%, transparent 100%); mask: radial-gradient(ellipse 50% 50% at 55% 45%, #000 60%, transparent 100%); }
@media (max-width: 767px) { .hero { background-image: url(img/hero-m.jpg); } }

/* Видео несёт свои надписи: поверх ничего не кладём */
.hero::before { display: none; }
.hero .wrap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; }
.hero__tabs { display: none; }

/* ================= Внутренние страницы ================= */
.page { padding: 24px 0 90px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--gray); margin-bottom: 18px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: '/'; margin-right: 8px; }
.page__h1 { font-size: 40px; font-weight: 500; line-height: 1.1; letter-spacing: -.015em; }
.page__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.page__lead { font-size: 16px; color: #4a4d5c; max-width: 720px; margin: -12px 0 24px; }
.page__note { margin-top: 48px; font-size: 13px; color: var(--gray); max-width: 820px; }
.page__note a { color: var(--green); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { height: 40px; padding: 0 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }

/* Акции */
.promo-hero { display: block; border-radius: var(--r); overflow: hidden; margin-bottom: 16px; }
.promo-hero img { width: 100%; }
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo-card { position: relative; min-height: 262px; border-radius: var(--r); padding: 22px 24px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; background: #fff; transition: transform .2s; }
.promo-card:hover { transform: translateY(-3px); }
.promo-card[hidden] { display: none; }
.promo-card__tag { align-self: flex-start; font-size: 12px; font-weight: 500; color: #fff; padding: 4px 8px; border-radius: 3px; background: var(--orange); position: relative; z-index: 1; }
.promo-card__t { font-size: 22px; font-weight: 500; line-height: 1.2; max-width: 300px; position: relative; z-index: 1; }
.promo-card__s { font-size: 14px; opacity: .7; max-width: 240px; position: relative; z-index: 1; }
.promo-card img { position: absolute; right: 0; bottom: 0; width: 55%; max-width: 260px; }
.promo-card--green { background: var(--green-2); color: #fff; }
.promo-card--green .promo-card__tag { background: #fff; color: var(--green); }
.promo-card--mint { background: var(--mint); }
.promo-card--blue { background: linear-gradient(120deg, var(--blue), var(--blue-2)); color: #fff; }
.promo-card--orange { background: var(--orange-2); color: #fff; }
.promo-card--orange .promo-card__tag { background: #fff; color: var(--orange); }
.promo-card--orange:not(:has(img))::after { content: '%'; position: absolute; right: 20px; bottom: -30px; font-size: 220px; font-weight: 600; line-height: 1; color: rgba(255,255,255,.22); }
.promo-card--white:not(:has(img))::after { content: '%'; position: absolute; right: 20px; bottom: -30px; font-size: 220px; font-weight: 600; line-height: 1; color: rgba(240,87,31,.1); }

/* Доставка */
.dl-hero { display: grid; grid-template-columns: 1fr 443px; align-items: end; background: var(--green-2); color: #fff; border-radius: var(--r); overflow: hidden; margin-top: 28px; }
.dl-hero__txt { padding: 40px; }
.dl-hero__t { font-size: 34px; font-weight: 500; line-height: 1.15; }
.dl-hero p { font-size: 16px; opacity: .85; margin-top: 14px; max-width: 520px; }
.dl-hero__facts { display: flex; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.dl-hero__facts b { display: block; font-size: 26px; font-weight: 500; }
.dl-hero__facts small { font-size: 13px; opacity: .75; }
.tariffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tariff { background: #fff; border-radius: var(--r); padding: 22px 24px; }
.tariff small { font-size: 13px; color: var(--gray); }
.tariff b { display: block; font-size: 30px; font-weight: 500; margin-top: 4px; }
.tariff__p { margin-top: 26px; font-size: 20px; font-weight: 600; color: var(--green); }
.dl-when { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.dl-when div { background: #fff; border-radius: var(--r); padding: 18px 24px; border-left: 4px solid var(--green); }
.dl-when b { display: block; font-size: 16px; font-weight: 500; }
.dl-when span { font-size: 14px; color: var(--gray); }
.speed { background: #fff; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.speed__name { font-size: 22px; font-weight: 500; }
.speed__w { font-size: 14px; color: var(--gray); }
.speed__p { font-size: 28px; font-weight: 600; margin-top: 18px; }
.speed__t { font-size: 14px; color: #4a4d5c; }
.speed--hot { background: var(--dark-green); color: #fff; }
.speed--hot .speed__w, .speed--hot .speed__t { color: rgba(255,255,255,.7); }
.srv__price { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 4px; background: #fff; color: var(--green); font-weight: 600; font-size: 16px; }
.page-dostavka .srv { height: 380px; }
.towns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.town { background: #fff; border-radius: var(--r); padding: 24px; }
.town small { font-size: 13px; color: var(--gray); }
.town__t { font-size: 20px; font-weight: 500; margin-top: 4px; }
.town__p { font-size: 28px; font-weight: 600; color: var(--green); margin-top: 18px; }
.town__d { font-size: 14px; color: #4a4d5c; margin-top: 10px; }
.town--note { background: var(--mint); }
.town--note p { font-size: 14px; margin-top: 10px; }

@media (max-width: 1100px) {
  .promos, .towns { grid-template-columns: 1fr 1fr; }
  .tariffs { grid-template-columns: 1fr 1fr; }
  .dl-hero { grid-template-columns: 1fr 340px; }
}
@media (max-width: 767px) {
  .page { padding: 12px 0 56px; }
  .page__h1 { font-size: 28px; }
  .page__head { margin-bottom: 18px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -12px; padding: 0 12px; scrollbar-width: none; }
  .chip { flex: none; height: 36px; font-size: 13px; }
  .promo-hero img { content: url(img/m-sale.jpg); }
  .promos, .towns, .dl-when { grid-template-columns: 1fr; gap: 12px; }
  .promo-card { min-height: 190px; padding: 16px; }
  .promo-card__t { font-size: 18px; max-width: 60%; }
  .promo-card__s { font-size: 13px; max-width: 55%; }
  .promo-card img { width: 45%; }
  .dl-hero { grid-template-columns: 1fr; margin-top: 18px; }
  .dl-hero__txt { padding: 20px 16px 0; }
  .dl-hero__t { font-size: 24px; }
  .dl-hero__facts { gap: 18px; margin-top: 20px; }
  .dl-hero__facts b { font-size: 18px; }
  .dl-hero img { width: 80%; margin-left: auto; }
  .tariffs { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tariff { padding: 14px 16px; } .tariff b { font-size: 22px; } .tariff__p { margin-top: 12px; font-size: 17px; }
  .page-dostavka .srv { height: 212px; }
  .page-dostavka .grid3 { grid-template-columns: 1fr; }
  .speed__p, .town__p { font-size: 22px; }
}

.promo-card--green:not(:has(img))::after, .promo-card--mint:not(:has(img))::after, .promo-card--blue:not(:has(img))::after { content: '%'; position: absolute; right: 20px; bottom: -30px; font-size: 220px; font-weight: 600; line-height: 1; color: rgba(255,255,255,.22); }
.promo-card--mint:not(:has(img))::after { color: rgba(20,134,54,.12); }

/* ================= Карточка товара и корзина ================= */
.crumbs.crumbs--dot > * + *::before { content: '•'; margin-right: 8px; color: #c4c6d0; }
.crumbs--dot span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box { background: #fff; border-radius: var(--r); padding: 24px; }
.box__t { font-size: 17px; font-weight: 500; margin-bottom: 16px; }
.pp__h1 { font-size: 32px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.pp__sku { color: var(--gray); margin: 4px 0 24px; font-weight: 500; }
.pp__top { display: grid; grid-template-columns: 515px 1fr 420px; gap: 16px; align-items: start; }
.pp__gallery { display: grid; grid-template-columns: 82px 1fr; gap: 16px; }
.pp__thumbs { display: grid; gap: 12px; align-content: start; }
.pp__thumbs button { width: 82px; height: 82px; border-radius: var(--r); background: #fff; overflow: hidden; border: 2px solid transparent; transition: border-color .15s; }
.pp__thumbs .pp__th.on { border-color: var(--green); }
.pp__th img { width: 100%; height: 100%; object-fit: cover; }
.pp__video { display: grid; place-items: center; align-content: center; gap: 6px; background: #cfe3f7 !important; color: #3d8fe0; font-size: 13px; font-weight: 500; }
.pp__video svg { width: 26px; height: 26px; }
.pp__more { height: 40px !important; background: #e6e8ea !important; display: grid; place-items: center; }
.pp__more svg { width: 16px; height: 16px; }
.pp__photo { position: relative; background: #fff; border-radius: var(--r); aspect-ratio: 1; overflow: hidden; }
.pp__photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.pp__badge { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--orange); color: #fff; font-size: 12px; font-weight: 500; padding: 5px 8px; border-radius: 4px; }
.pp__badge--green { top: 44px; background: var(--green); }
.pp__opts { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.opt { margin-bottom: 14px; }
.opt__l { color: var(--gray); font-size: 14px; margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { height: 40px; padding: 0 22px; border-radius: 4px; background: #eef0f1; font-weight: 500; transition: background .15s, color .15s; }
.seg button:hover { background: #e2e5e7; }
.seg button.on { background: var(--green); color: #fff; }
.svcs { margin-top: auto; position: relative; padding-top: 20px; }
.svcs__l { color: var(--gray); font-size: 14px; margin-bottom: 10px; }
.svcs__row { display: flex; gap: 14px; }
.svc-i { width: 30px; height: 30px; color: #6b6e7f; border-radius: 4px; transition: color .15s, background .15s; }
.svc-i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.svc-i:hover, .svc-i.on { color: var(--ink); background: #eef0f1; }
.tip { position: absolute; bottom: 52px; width: 310px; background: #fff; border-radius: 8px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.14); font-size: 12.5px; line-height: 1.45; z-index: 5; }
.tip b { display: block; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.tip::after { content: ''; position: absolute; left: var(--ax, 30px); bottom: -6px; width: 12px; height: 12px; background: #fff; transform: translateX(-50%) rotate(45deg); }
.pp__buy { display: grid; gap: 16px; }
.pp__bonus { display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 14px; margin-bottom: 18px; }
.pp__bonus svg { width: 18px; height: 18px; color: var(--green); }
.pp__bonus b { color: var(--ink); font-weight: 500; }
.pp__bonus i { width: 16px; height: 16px; border-radius: 50%; border: 1.3px solid var(--gray); font: 600 10px/13px Onest, sans-serif; font-style: normal; text-align: center; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.prices__l { font-size: 15px; margin-bottom: 6px; }
.prices__l span { color: var(--green); }
.prices__v b { font-size: 28px; font-weight: 500; letter-spacing: -.01em; }
.prices__v { font-size: 14px; }
.prices__m { font-size: 14px; margin-top: 4px; }
.prices--old { color: #9a9cad; }
.prices--old .prices__l { color: #9a9cad; }
.buy-row { display: grid; grid-template-columns: 130px 1fr; gap: 8px; }
.buy-row--2 { grid-template-columns: 48px 1fr; margin-top: 12px; }
.qty { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 48px; border-radius: 4px; background: #eef0f1; }
.qty button { height: 100%; font-size: 20px; color: #333; }
.qty button:hover { color: var(--green); }
.qty input { width: 100%; min-width: 0; text-align: center; border: 0; background: none; font: 500 15px Onest, sans-serif; outline: 0; }
.qty--sm { height: 36px; grid-template-columns: 32px 34px 32px; }
.btn-cart { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 500; transition: background .15s; }
.btn-cart:hover { background: #000; }
.btn-cart--sm { height: 36px; padding: 0 22px; font-size: 13px; }
.fav { height: 48px; border-radius: 4px; background: #eef0f1; display: grid; place-items: center; }
.fav svg { width: 20px; height: 20px; }
.fav.on { color: var(--orange); } .fav.on svg { fill: currentColor; }
.btn-calc { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 4px; background: #eef0f1; font-weight: 500; }
.btn-calc svg { width: 18px; height: 18px; }
.btn-calc:hover, .fav:hover { background: #e2e5e7; }
.box--del { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 24px; }
.del { text-align: left; border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; transition: border-color .15s; }
.del:hover { border-color: #b8bbc6; }
.del.on { border-color: var(--green); }
.del b { display: block; font-weight: 500; font-size: 16px; white-space: nowrap; }
@media (max-width: 1399px) { .del { padding: 14px; } .del b { font-size: 15px; } }
.del b span { color: var(--green); }
.del small { color: var(--gray); font-size: 14px; }
/* вкладки */
.tabs { display: flex; gap: 12px; margin: 80px 0 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 52px; padding: 0 24px; border-radius: 4px; background: #fff; font-weight: 500; transition: background .15s, color .15s; }
.tabs button:hover { color: var(--green); }
.tabs button.on { background: var(--green); color: #fff; }
.tabp { display: none; grid-template-columns: 1fr 420px; gap: 16px; align-items: start; }
.tabp.on { display: grid; animation: tabIn .25s ease; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } }
.txt { color: var(--gray); font-size: 14px; line-height: 1.5; }
.txt p { margin-bottom: 10px; } .txt ul { margin: 0 0 10px; padding-left: 18px; }
.hint { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: var(--r); padding: 20px; position: relative; }
.hint::before { content: ''; position: absolute; inset: 20px; border-radius: 4px; background: #eef4ef; z-index: 0; }
.hint > * { position: relative; z-index: 1; }
.hint { padding: 32px 36px; }
.hint__ic { width: 34px; height: 40px; display: grid; place-items: center; background: #5aa458; border-radius: 4px; color: #fff; margin-left: 4px; }
.hint__ic svg { width: 22px; height: 22px; }
.hint p { font-size: 16px; line-height: 1.3; }
.hint b { color: var(--green); font-weight: 500; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec td { padding: 8px 12px; }
.spec td:first-child { color: var(--gray); width: 46%; }
.spec tr:nth-child(odd) td { background: #f3f8f3; }
.store { display: flex; justify-content: space-between; align-items: center; gap: 20px; border: 1px solid var(--line); border-radius: 4px; padding: 20px; margin-bottom: 12px; }
.store b { display: block; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.store small { display: block; color: var(--gray); font-size: 13px; line-height: 1.45; max-width: 520px; }
.store small + small { margin-top: 10px; }
.store em { font-style: normal; color: var(--ink); }
.store > span { color: var(--green); font-weight: 500; white-space: nowrap; }
.li { display: grid; grid-template-columns: 58px 1fr auto auto; grid-template-areas: 'img n p o' 'img n buy buy'; gap: 8px 24px; border: 1px solid var(--line); border-radius: 4px; padding: 16px; margin-bottom: 12px; }
.li img { grid-area: img; width: 58px; height: 58px; object-fit: cover; border: 1px solid var(--line); border-radius: 4px; }
.li__n { grid-area: n; font-weight: 500; font-size: 14px; }
.li__n small { display: block; color: var(--gray); margin-top: 4px; }
.li__p { grid-area: p; font-size: 13px; }
.li__p--old { grid-area: o; color: #9a9cad; }
.li__p b { font-size: 18px; font-weight: 500; } .li__p b small { font-size: 12px; }
.li__buy { grid-area: buy; display: flex; gap: 8px; justify-content: flex-end; }
.qa { border: 1px solid var(--line); border-radius: 4px; padding: 0 18px; margin-bottom: 10px; }
.qa summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 500; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #e6e8ea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E") center/10px no-repeat; transition: transform .2s, background-color .2s; }
.qa[open] summary::after { transform: rotate(180deg); background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.qa p { color: var(--gray); font-size: 14px; padding-bottom: 18px; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; background: #eee; }
.srv--plain { height: auto; background: #fff; color: var(--ink); }
.srv--plain .srv__t { color: var(--green); font-size: 24px; }
.srv--plain .srv__s { color: var(--gray); opacity: 1; }
.srv__go { margin-top: 24px; font-weight: 500; }
.carousel--plain .products { padding-right: 0; }
.carousel--plain .car-btn--prev { left: -20px; } .carousel--plain .car-btn--next { right: -20px; }
.carousel--plain .car-btn { background: var(--green-2); color: #fff; }
.pcard { position: relative; }
.pcard__btn { margin-top: 12px; height: 38px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 500; font-size: 13px; transition: background .15s; }
.pcard__btn:hover { background: #0f6e2b; }
.carousel--plain .pcard { flex-basis: 270px; height: 400px; }
.mbuy { display: none; }
/* счётчик корзины */
.hbtn--cart { position: relative; }
.cnt { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--orange); color: #fff; font: 600 11px/20px Onest, sans-serif; font-style: normal; text-align: center; }
.cnt[hidden] { display: none; }
/* попапы и тост */
.rmodal { position: fixed; inset: 0; z-index: 80; background: rgba(20,22,28,.55); display: none; align-items: center; justify-content: center; padding: 16px; overflow-y: auto; }
.rmodal.open { display: flex; }
.rmodal__box { position: relative; background: #fff; border-radius: 10px; padding: 28px; width: 100%; max-width: 1200px; animation: tabIn .2s ease; margin: auto; }
.rmodal__box--sm { max-width: 420px; }
.rmodal__box h3 { font-size: 26px; font-weight: 500; line-height: 1.1; padding-right: 40px; margin-bottom: 16px; }
.rmodal__x { position: absolute; right: 18px; top: 16px; font-size: 30px; line-height: 1; color: #999; }
.rmodal__x:hover { color: var(--ink); }
.rmodal__lead { color: var(--gray); margin: -8px 0 18px; }
.bcard { background: #f4f5f6; border-radius: 6px; padding: 18px; margin-bottom: 10px; }
.bcard b { display: block; font-weight: 500; margin-bottom: 6px; }
.bcard em { font-style: normal; color: var(--green); }
.bcard span { color: var(--gray); }
.bcard--g { background: var(--green); color: #fff; } .bcard--g span { color: rgba(255,255,255,.75); }
.tariffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tariff { border: 1px solid var(--line); border-radius: 6px; padding: 18px; font-size: 13px; }
.tariff > b { display: block; font-size: 17px; font-weight: 500; }
.tariff > em { display: block; font-style: normal; color: var(--green); font-weight: 500; margin-bottom: 14px; }
.tariff small { display: block; font-weight: 500; margin-top: 10px; }
.tariff ul { padding-left: 16px; margin: 4px 0 0; color: var(--gray); }
.fld { display: grid; gap: 6px; margin-bottom: 12px; }
.fld span { font-size: 13px; color: var(--gray); }
.fld input, .disc input { height: 48px; border: 1px solid var(--line); border-radius: 4px; padding: 0 14px; font: inherit; font-size: 15px; outline: 0; width: 100%; min-width: 0; }
.fld input:focus, .disc input:focus { border-color: var(--green); }
input.err { border-color: #e2422b !important; }
.calc-res { background: #f3f8f3; border-radius: 4px; padding: 14px; margin-bottom: 14px; }
.calc-res b { color: var(--green); }
.rtoast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 150%); opacity: 0; background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 8px; font-size: 14px; transition: transform .3s, opacity .3s; max-width: calc(100% - 32px); text-align: center; pointer-events: none; }
.rtoast.on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.rtoast a { color: #9be39f; text-decoration: underline; }
.mtab { display: none; }
/* корзина */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; align-items: start; }
.cart__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.disc { display: grid; grid-template-columns: 1fr 470px; gap: 20px; align-items: center; padding: 20px; border-radius: var(--r); color: #fff; background: #4f7f4a radial-gradient(500px 220px at 85% 0, rgba(255,255,255,.08), transparent 70%); }
.disc__t b { display: block; font-size: 18px; font-weight: 500; line-height: 1.25; }
.disc__t small { color: rgba(255,255,255,.55); }
.disc__f { display: grid; grid-template-columns: 1fr 160px; gap: 12px; }
.disc input { border: 0; color: var(--ink); }
.disc__btn { height: 48px; border-radius: 4px; background: var(--ink); color: #fff; font-weight: 500; transition: background .2s; }
.disc.on .disc__btn { background: #1e1e1e; }
.cart__list { padding: 24px 20px 12px; }
.cart__head, .crow { display: grid; grid-template-columns: 80px 1fr 150px 150px; gap: 0 20px; align-items: center; }
.cart__head { color: var(--gray); font-size: 14px; padding: 0 0 12px 12px; }
.cart__head span:nth-child(2) { margin-left: -12px; }
.crow { padding: 16px 0; align-items: start; }
.crow img { width: 80px; height: 80px; border: 1px solid var(--line); border-radius: 4px; object-fit: cover; }
.crow__n { font-weight: 500; font-size: 14px; padding-top: 4px; }
.crow__n small { display: block; color: var(--gray); font-size: 14px; margin-top: 4px; font-weight: 400; }
.crow__q { display: grid; justify-items: center; gap: 6px; }
.crow__del { font-size: 12px; color: var(--gray); }
.crow__del:hover { color: var(--orange); }
.crow__s b { font-size: 24px; font-weight: 600; }
.crow__s s { display: block; color: var(--gray); font-size: 12px; }
.crow__s.is-disc b { color: var(--green); }
.crow__s i { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; border: 1.3px solid var(--green); color: var(--green); font: 600 9px Onest; vertical-align: 3px; }
.crow--gone { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 4px; padding: 14px 24px; margin: 8px 0; color: var(--gray); }
.crow--gone span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow--gone button { font-size: 12px; color: var(--gray); }
.crow--gone button:first-of-type { color: var(--green); }
.cart__empty { text-align: center; padding: 50px 20px; }
.cart__empty b { font-size: 20px; font-weight: 500; }
.cart__empty p { color: var(--gray); margin: 8px 0 20px; }
.cart__empty .btn-cart { display: inline-flex; padding: 0 28px; }
.cart__sum { position: sticky; top: 16px; }
.cart__sum-t { font-size: 20px; font-weight: 500; }
.cart__meta { color: var(--gray); margin: 16px 0 10px; }
.cart__total { display: flex; justify-content: space-between; align-items: flex-start; }
.cart__total > b { font-size: 26px; font-weight: 500; }
.cart__total > div { text-align: right; font-size: 26px; font-weight: 600; }
.cart__total sup { color: var(--green); font-size: 16px; }
.cart__total s { display: block; color: var(--gray); font-size: 12px; font-weight: 400; }
.btn-order { width: 100%; height: 48px; margin: 20px 0 16px; border-radius: 4px; background: var(--green); color: #fff; font-weight: 500; transition: background .15s; }
.btn-order:hover { background: #0f6e2b; }
.cart__sum.is-empty .btn-order { opacity: .4; pointer-events: none; }
.cart__note { color: #444; margin-bottom: 20px; } .cart__note b { color: var(--green); }
.cart__need { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #444; }
.cart__need b { font-size: 18px; font-weight: 600; white-space: nowrap; }
.cart__need[hidden] { display: none; }
.oform .seg { margin-bottom: 14px; } .oform .seg button { flex: 1; }
.oform small { display: block; color: var(--gray); margin-top: 10px; font-size: 12px; }
.oform .btn-cart { width: 100%; }

@media (max-width: 1399px) {
  .pp__top { grid-template-columns: 420px 1fr 380px; }
  .tabp { grid-template-columns: 1fr 340px; }
}
@media (max-width: 1239px) {
  .pp__top { grid-template-columns: 1fr 1fr; }
  .pp__buy { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .tabp, .cart { grid-template-columns: minmax(0, 1fr); }
  .hint { order: -1; }
  .disc { grid-template-columns: 1fr; }
  .tariffs { grid-template-columns: 1fr 1fr; }
  .cart__sum { position: static; }
}
@media (max-width: 767px) {
  body { padding-bottom: 68px; }
  .page--pp { padding-bottom: 150px; }
  .pp__h1 { font-size: 20px; }
  .pp__sku { font-size: 12px; margin-bottom: 16px; }
  .pp__top, .pp__buy { grid-template-columns: 1fr; }
  .pp__gallery { grid-template-columns: 1fr; }
  .pp__thumbs { grid-auto-flow: column; grid-auto-columns: 74px; order: 2; overflow-x: auto; scrollbar-width: none; }
  .pp__thumbs button { width: 74px; height: 74px; }
  .pp__more { display: none; }
  .box, .box--del { padding: 16px; }
  .prices__v b { font-size: 22px; }
  .buy-row { grid-template-columns: 116px 1fr; }
  .tip { width: 280px; }
  .tabs { margin: 40px -12px 12px; padding: 0 12px; gap: 8px; }
  .tabs button { height: 44px; padding: 0 16px; font-size: 13px; }
  .hint { padding: 26px 24px; }
  .hint p { font-size: 15px; }
  .store { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
  .store b { font-size: 16px; }
  .li { grid-template-columns: 58px 1fr; grid-template-areas: 'img n' 'p o' 'buy buy'; }
  .li__buy { justify-content: stretch; } .li__buy .btn-cart { flex: 1; }
  .ph-grid { grid-template-columns: 1fr; }
  .carousel--plain .pcard { flex-basis: 196px; height: 360px; }
  .mbuy { display: grid; grid-template-columns: 116px 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 68px; z-index: 40; padding: 10px 12px; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08); }
  .mtab { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; height: 68px; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mtab a { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; font-size: 11px; color: #8a8d9a; }
  .mtab a.on { color: var(--ink); font-weight: 500; }
  .mtab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
  .mtab .cnt { top: 6px; right: calc(50% - 22px); }
  .rtoast { bottom: 150px; }
  .tariffs { grid-template-columns: 1fr; }
  .rmodal__box { padding: 22px 18px; }
  .rmodal__box h3 { font-size: 22px; }
  .disc { padding: 16px; } .disc__t b { font-size: 16px; }
  .disc__f { grid-template-columns: 1fr; }
  .cart__list { padding: 8px 12px; }
  .cart__head { display: none; }
  .crow { grid-template-columns: 64px 1fr auto; grid-template-areas: 'img n n' 'img q s'; gap: 10px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .crow:last-child { border-bottom: 0; }
  .crow img { grid-area: img; width: 64px; height: 64px; }
  .crow__n { grid-area: n; font-size: 13px; padding: 0; }
  .crow__n small { font-size: 12px; }
  .crow__q { grid-area: q; justify-items: start; } .crow__s { grid-area: s; text-align: right; }
  .crow__s b { font-size: 18px; }
  .crow--gone { padding: 12px; gap: 10px; font-size: 13px; }
  .cart__total > b, .cart__total > div { font-size: 22px; }
}
