/* Дополнения нового сайта к собранной вёрстке (index.css не трогаем). */

/* заголовок блока на странице «Продукция» */
.catalog-block-title { margin: 48px 0 16px; }

/* список компаний в разделе «Важная информация» */
.info-companies { margin: 32px 0; }
.info-companies h3 { margin-bottom: 12px; }
.info-companies__intro { margin: 0 0 16px; opacity: .8; }
.info-companies__search { width: 100%; max-width: 420px; padding: 12px 16px; margin-bottom: 16px; border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 12px; font: inherit; }
.info-companies__table { width: 100%; border-collapse: collapse; }
.info-companies__table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid rgba(0, 0, 0, .2); font-weight: 600; }
.info-companies__table td { padding: 10px 12px; border-bottom: 1px solid rgba(0, 0, 0, .1); vertical-align: top; }
.info-companies__table td:nth-child(2) { white-space: nowrap; }
.info-companies__note { display: block; opacity: .65; font-size: .9em; margin-top: 2px; }
.info-companies__count { margin-top: 12px; opacity: .6; font-size: .9em; }
.info-report { margin: 40px 0; padding: 24px 28px; border-radius: 16px; background: #f2f3f7; }
.info-report__title { font-weight: 600; font-size: 1.15em; margin: 0 0 8px; }
.info-report p { margin: 6px 0; }

/* таблица технических параметров продукта (показывается по настройке) */
.product-specs { border-collapse: collapse; width: 100%; margin-top: 12px; }
.product-specs td { padding: 8px 12px; border-bottom: 1px solid rgba(0, 0, 0, .1); vertical-align: top; }
.product-specs td:first-child { width: 45%; opacity: .7; }

/* фотографии в ряд в разделе «Важная информация» */
.info-gallery { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.info-gallery__item { margin: 0; flex: 1 1 0; min-width: 200px; }
.info-gallery--1 .info-gallery__item { flex: 0 1 460px; }
.info-gallery__item img { width: 100%; height: auto; display: block; border-radius: 12px; }
.info-gallery figcaption { margin-top: 8px; font-size: .9em; opacity: .7; }

/* карточка продукта «название и значки» вместо фото: масштабируется вместе с карточкой */
.wordmark { position: absolute; inset: 0; display: grid; place-items: center; container-type: inline-size; }
.wordmark__content { display: flex; flex-direction: column; align-items: flex-end; font-size: 5.6cqw; line-height: 1; }
.wordmark__row { display: flex; align-items: center; gap: .5em; white-space: nowrap; }
.wordmark__prefix { font-weight: 300; color: #9aa0ad; }
.wordmark__line { width: max(1px, .05em); height: 1.7em; background: #b3b8c4; }
.wordmark__name { font-weight: 500; color: #1e1e1f; }
.wordmark__icons { display: flex; gap: .45em; margin-top: .45em; color: #1e1e1f; }
.wordmark__icons svg { width: 1em; height: 1em; display: block; }

/* страница группы: под заголовком фотографии показываются почти целиком, а не узкой полосой */
@media (min-width: 768px) {
  .products-detail-page__main { height: 500px; }
  .products-detail-main .products-detail-main__images { transform: translate(-50%, 0); }
  .products-detail-main .products-detail-main__img--left,
  .products-detail-main .products-detail-main__img--right { transform: translateY(14%); }
  .products-detail-main .products-detail-main__img--center { transform: translateY(5%); }
}

/* широкая фотография в карточке группы закрывает карточку целиком */
.product-item__img .product-item__img-image--cover { width: 100%; height: 100%; left: 0; bottom: 0; transform: none; object-fit: cover; }

/* «Другие группы»: если групп много, ряд прокручивается по горизонтали (на экране шире 500px) */
@media (min-width: 501px) {
  .other-series.swiper { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; padding-bottom: 0;
    scrollbar-width: none; }
  .other-series .other-series__inner { width: max-content; min-width: 100%; gap: 24px; }
  .other-series .other-series__item { flex: 0 0 auto; width: 300px !important; margin-right: 0 !important; scroll-snap-align: start; }
  .other-series::-webkit-scrollbar { display: none; }
}

/* стрелки у ряда «Другие группы» */
.other-series-wrap { position: relative; }
.other-series-arrow { display: none; }
@media (min-width: 501px) {
  .other-series-arrow { position: absolute; top: 115px; z-index: 5; width: 52px; height: 52px; margin-top: -26px; padding: 0;
    border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 14px rgba(30, 30, 31, .18); cursor: pointer;
    align-items: center; justify-content: center; transition: transform .2s, box-shadow .2s; }
  .other-series-arrow:not([hidden]) { display: flex; }
  .other-series-arrow:hover { transform: scale(1.06); box-shadow: 0 4px 18px rgba(30, 30, 31, .26); }
  .other-series-arrow--prev { left: 12px; }
  .other-series-arrow--prev svg { transform: rotate(180deg); }
  .other-series-arrow--next { right: 12px; }
}

/* ===== страница продукта с банкой и инфографикой (pp-) ===== */
.pp { width: 100%; }
.pp-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; width: 100%; background: #f3f4f8;
  border-radius: 20px; padding: 48px 56px; margin-top: 8px; overflow: hidden; }
.pp-title { display: flex; align-items: center; gap: .45em; margin: 0; font-size: clamp(34px, 4.4vw, 64px); line-height: 1.05; font-weight: 500; }
.pp-title__prefix { font-weight: 300; color: #9aa0ad; }
.pp-title__line { width: 1.5px; height: 1.15em; background: #b3b8c4; }
.pp-title__name { color: #1e1e1f; }
.pp-subtitle { margin: 22px 0 0; max-width: 560px; font-size: 18px; line-height: 150%; color: #4a4e57; }
.pp-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 28px 0 0; padding: 0; }
.pp-badges li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #1e1e1f; }
.pp-badges svg { width: 26px; height: 26px; flex: none; }
.pp-hero__pack { margin: 0; text-align: center; }
.pp-hero__pack img { display: block; width: 100%; max-width: 440px; height: auto; margin: 0 auto; }
.pp-section { width: 100%; margin-top: 72px; }
.pp-h2 { margin: 0 0 28px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; }
.pp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pp-tile { background: #f3f4f8; border-radius: 20px; padding: 26px 28px; min-width: 0; }
.pp-tile--wide { grid-column: span 2; }
.pp-tile__title { margin: 0 0 14px; font-size: 14px; letter-spacing: .02em; color: #6b7590; }
.pp-tile__big { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 600; color: #1e1e1f; }
.pp-tile__big small { font-size: 18px; font-weight: 500; color: #6b7590; }
.pp-tile__big span { margin-left: 8px; font-size: 14px; font-weight: 400; color: #6b7590; }
.pp-tile__big--text { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.pp-tile__big--text svg { width: 28px; height: 28px; flex: none; }
.pp-tile__note { margin: 10px 0 0; font-size: 14px; line-height: 145%; color: #6b7590; }
.pp-ring { position: relative; width: 120px; height: 120px; }
.pp-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pp-ring circle { fill: none; stroke-width: 11; }
.pp-ring__bg { stroke: #e0e3ec; }
.pp-ring__fg { stroke: #6b7590; stroke-linecap: round; }
.pp-ring__value { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 600; }
.pp-ring__value small { font-size: 15px; margin-left: 1px; color: #6b7590; }
.pp-range { margin: 26px 0 0; }
.pp-range__track { position: relative; height: 12px; background: #e0e3ec; border-radius: 6px; }
.pp-range__fill { position: absolute; top: 0; bottom: 0; background: #9199a9; border-radius: 6px; }
.pp-range__mark { position: absolute; top: -6px; width: 24px; height: 24px; margin-left: -12px; background: #fff; border: 5px solid #313c5f;
  border-radius: 50%; box-sizing: border-box; }
.pp-range__labels { position: relative; height: 26px; margin-top: 12px; font-size: 14px; color: #1e1e1f; }
.pp-range__labels span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.pp-range__labels span:first-child { transform: translateX(-30%); }
.pp-range__labels small { color: #6b7590; font-size: 13px; }
.pp-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pp-pair__item svg { width: 32px; height: 32px; margin-bottom: 8px; color: #313c5f; }
.pp-colors { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 18px; }
.pp-colors li { display: flex; align-items: center; gap: 12px; }
.pp-colors i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(30, 30, 31, .15); flex: none; }
.pp-colors .pp-colors__clear { background: repeating-linear-gradient(45deg, #fff 0 4px, #e3e5ec 4px 8px) !important; }
.pp-adv { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pp-adv__item { background: #f3f4f8; border-radius: 20px; padding: 24px 26px; }
.pp-adv-group + .pp-adv-group { margin-top: 28px; }
.pp-adv-group__label { display: inline-block; margin: 0 0 14px; padding: 5px 14px; border-radius: 20px; background: #313c5f; color: #fff; font-size: 14px; }
.pp-adv__item p { margin: 0; font-size: 17px; line-height: 150%; }
.pp-text__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.pp-text__col p, .pp-text__col li { font-size: 17px; line-height: 160%; }
.pp-text__col ul { padding-left: 20px; list-style: disc; }
.pp-text__col li { display: list-item; margin-top: 8px; }
.pp .products-detail-dop__products { margin-top: 72px; }
.products-detail-dop__products { margin-bottom: 90px; }
.pp-details { border-top: 1px solid rgba(30, 30, 31, .12); padding: 16px 0; }
.pp-details summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.pp-details summary::after { content: "+"; font-size: 24px; line-height: 1; color: #6b7590; }
.pp-details[open] summary::after { content: "−"; }
.pp-details p, .pp-details li { font-size: 16px; line-height: 160%; }
@media (max-width: 1100px) {
  .pp-tiles { grid-template-columns: repeat(2, 1fr); }
  .pp-adv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .pp-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .pp-hero__pack img { max-width: 280px; }
  .pp-section { margin-top: 48px; }
  .pp-tiles, .pp-adv, .pp-text__cols { grid-template-columns: 1fr; }
  .pp-tile--wide { grid-column: auto; }
  .pp-tile__big { font-size: 30px; }
}

/* ===== плашки на главной, отраслевые решения, калькулятор ===== */
.catalog-block-title { scroll-margin-top: 110px; }
.home-products { width: 100%; margin: 90px 0 40px; }
.home-products h2 { margin: 0 0 32px; }
.home-products__grid, .ind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; width: 100%; }
.ind-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.ind-grid--small { margin-top: 0; }
.home-products__card, .ind-card { position: relative; display: block; overflow: hidden; border-radius: 24px; background: #313c5f; color: #fff; }
.home-products__card { height: 420px; }
.ind-card { height: 300px; }
.ind-grid--small .ind-card { height: 220px; }
.home-products__card picture, .ind-card picture, .ind-hero picture { position: absolute; inset: 0; display: block; }
.home-products__img, .ind-card__img, .ind-hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.home-products__card:hover .home-products__img, .ind-card:hover .ind-card__img { transform: scale(1.05); }
.ind-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 24, 40, .05) 30%, rgba(20, 24, 40, .72) 100%); }
.home-products__text { position: absolute; left: 32px; right: 90px; bottom: 30px; display: flex; flex-direction: column; gap: 8px; }
.home-products__title { font-size: clamp(24px, 2.6vw, 38px); font-weight: 600; line-height: 1.1; }
.home-products__sub { font-size: 16px; line-height: 140%; opacity: .9; }
.ind-card__title { position: absolute; left: 24px; right: 70px; bottom: 22px; font-size: clamp(20px, 1.9vw, 28px); font-weight: 600; line-height: 1.15; }
.ind-card__arrow { position: absolute; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: grid; place-items: center; transition: transform .3s; }
.ind-card__arrow svg { width: 24px; height: 24px; }
.home-products__card:hover .ind-card__arrow, .ind-card:hover .ind-card__arrow { transform: translateX(4px); }
.ind-hero { position: relative; width: 100%; height: 360px; border-radius: 24px; overflow: hidden; background: #313c5f; color: #fff; margin-top: 8px; }
.ind-hero__text { position: absolute; left: 44px; right: 44px; bottom: 36px; }
.ind-hero__text h1 { margin: 0; color: #fff; font-size: clamp(30px, 3.6vw, 52px); }
.ind-hero__text p { margin: 14px 0 0; max-width: 760px; font-size: 18px; line-height: 150%; opacity: .92; }
.ind-empty { padding: 34px 38px; border-radius: 20px; background: #f3f4f8; font-size: 18px; line-height: 155%; }
.ind-system { margin-bottom: 34px; padding: 30px 34px; border-radius: 20px; background: #f3f4f8; }
.ind-system h3 { margin: 0 0 12px; font-size: 24px; }
.ind-layers { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.ind-layers__item { display: flex; gap: 14px; align-items: flex-start; min-width: 220px; padding: 16px 20px; border-radius: 16px; background: #fff; }
.ind-layers__num { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #313c5f; color: #fff; font-size: 15px; flex: none; }
.ind-layers__kind { margin: 0; font-size: 13px; color: #6b7590; }
.ind-layers__product { font-weight: 600; font-size: 18px; }
.ind-layers__dft { margin: 4px 0 0; font-size: 14px; color: #6b7590; }
.pp-cta { display: inline-block; margin-top: 26px; padding: 14px 26px; border-radius: 30px; background: #313c5f; color: #fff; font-size: 16px; font-weight: 500; transition: background .2s; }
.pp-cta:hover { background: #1e1e1f; }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .home-products__grid, .ind-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-products__card { height: 300px; }
  .home-products__text { left: 22px; right: 76px; bottom: 22px; }
  .ind-hero { height: 300px; } .ind-hero__text { left: 22px; right: 22px; bottom: 22px; }
}

/* калькулятор */
.calc { width: 100%; margin-top: 32px; }
.calc-box { background: #f3f4f8; border-radius: 20px; padding: 28px 32px; margin-bottom: 18px; }
.calc-settings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; align-items: end; }
.calc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc-field > span { font-size: 14px; color: #6b7590; }
.calc-field input, .calc-field select { width: 100%; padding: 13px 16px; border: 1px solid rgba(30, 30, 31, .15); border-radius: 12px; background: #fff;
  font: inherit; font-size: 17px; color: #1e1e1f; box-sizing: border-box; }
.calc-field input:focus, .calc-field select:focus { outline: 2px solid #313c5f; outline-offset: 1px; }
.calc-seg { display: flex; border: 1px solid rgba(30, 30, 31, .15); border-radius: 12px; overflow: hidden; background: #fff; }
.calc-seg button { flex: 1; padding: 13px 10px; border: 0; background: transparent; font: inherit; font-size: 16px; cursor: pointer; }
.calc-seg button.is-active { background: #313c5f; color: #fff; }
.calc-hint { margin: 0; font-size: 14px; line-height: 150%; color: #6b7590; }
.calc-settings .calc-hint { grid-column: 1 / -1; }
.calc-warn { display: block; margin-top: 4px; color: #b3402f; }
.calc-layer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.calc-layer__head h3 { margin: 0; font-size: 22px; }
.calc-remove { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: #6b7590; }
.calc-layer__fields { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.calc-layer .calc-hint { margin-top: 12px; }
.calc-layer__thinner { margin-top: 16px; max-width: 420px; }
.calc-out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.calc-out__cell { background: #fff; border-radius: 14px; padding: 14px 18px; }
.calc-out__cell span { font-size: 13px; color: #6b7590; }
.calc-out__cell p { margin: 6px 0 0; font-size: 18px; }
.calc-total { background: #313c5f; color: #fff; }
.calc-total h3 { margin: 0; font-size: 24px; }
.calc-total .calc-out__cell { background: rgba(255, 255, 255, .1); }
.calc-total .calc-out__cell span { color: rgba(255, 255, 255, .75); }
.calc-add { margin-bottom: 24px; }
.calc-add, .calc-print { padding: 14px 26px; border: 1.5px solid #313c5f; border-radius: 30px; background: transparent; color: #313c5f; font: inherit; font-size: 16px; cursor: pointer; }
.calc-add:hover, .calc-print:hover { background: #313c5f; color: #fff; }
.calc-actions { margin-top: 18px; }
.calc-note { margin-top: 28px; max-width: 880px; font-size: 14px; line-height: 155%; color: #6b7590; }
@media (max-width: 900px) {
  .calc-settings, .calc-layer__fields { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-box { padding: 22px 20px; }
}
@media print {
  header, footer, .hint, .calc-add, .calc-actions, .calc-remove, .products-page__crumbs { display: none !important; }
  .calc-box { break-inside: avoid; }
}

/* заголовок блока «Продукция» на главной — как у «Последних новостей»; белый текст на фото плашек */
.home-products h2 { font-family: "TT Travels", sans-serif; font-weight: 600; line-height: 110%; }
.home-products__card, .home-products__card:hover, .ind-card, .ind-hero { color: #fff; }
.home-products__title, .home-products__sub, .ind-card__title { color: #fff !important; text-shadow: 0 1px 14px rgba(10, 14, 28, .45); }

/* калькулятор: свой выпадающий список, строка цен */
.cselect { position: relative; }
.cselect__btn { position: relative; width: 100%; padding: 13px 44px 13px 16px; border: 1px solid rgba(30, 30, 31, .15); border-radius: 12px;
  background: #fff; font: inherit; font-size: 17px; color: #1e1e1f; text-align: left; cursor: pointer; box-sizing: border-box; }
.cselect__btn::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid #6b7590;
  border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.cselect.is-open .cselect__btn::after { transform: rotate(-135deg); margin-top: -2px; }
.cselect__btn.is-empty { color: #8b90a0; }
.cselect__btn:focus-visible, .cselect.is-open .cselect__btn { outline: 2px solid #313c5f; outline-offset: 1px; }
.cselect__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 340px; overflow-y: auto; margin: 0; padding: 8px;
  list-style: none; background: #fff; border: 1px solid rgba(30, 30, 31, .1); border-radius: 16px; box-shadow: 0 14px 40px rgba(30, 30, 31, .18);
  scrollbar-width: thin; scrollbar-color: #c5c9d6 transparent; }
.cselect__list[hidden] { display: none; }
.cselect__list::-webkit-scrollbar { width: 8px; }
.cselect__list::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.cselect__list::-webkit-scrollbar-thumb { background: #c5c9d6; border-radius: 8px; border: 2px solid #fff; }
.cselect__list::-webkit-scrollbar-thumb:hover { background: #9aa0b4; }
.cselect__group { padding: 12px 12px 6px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #1e1e1f; }
.cselect__list li[data-value] { padding: 10px 12px; border-radius: 10px; font-size: 16px; line-height: 1.3; cursor: pointer; }
.cselect__list li[data-value]:hover { background: #f3f4f8; }
.cselect__list li[aria-selected] { background: #313c5f; color: #fff; }
.calc-layer__fields { grid-template-columns: 2fr 1fr; }
.calc-prices { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(30, 30, 31, .1); }
.calc-prices__title { margin: 0 0 12px; font-size: 15px; color: #1e1e1f; }
.calc-prices__title span { color: #6b7590; }
.calc-prices__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc-prices .calc-field > span { font-size: 13px; }
.calc-field input:disabled { background: #eceef3; cursor: not-allowed; }
.calc-settings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .calc-layer__fields, .calc-prices__row { grid-template-columns: 1fr; } }

/* заголовки разделов — фирменным шрифтом сайта, как остальные h1–h3 */
.catalog-block-title, .pp-h2, .ind-system h3, .calc-layer__head h3, .calc-total h3, .news-detail__body h3, .info-companies h3 {
  font-family: "TT Travels", sans-serif; font-weight: 600; }

/* калькулятор: компактная раскладка — слой в одну строку, итоги закреплены внизу экрана */
.calc-box { padding: 16px 20px; margin-bottom: 12px; border-radius: 16px; }
.calc-settings { grid-template-columns: 1fr 1fr 1.3fr; gap: 12px 20px; }
.calc-field { gap: 4px; }
.calc-field > span { font-size: 12px; }
.calc-field > span b { font-weight: inherit; }
.calc-field input { padding: 9px 12px; font-size: 15px; border-radius: 10px; }
.calc-field input.is-warn { border-color: #b3402f; outline: 1px solid #b3402f; }
.calc-seg { border-radius: 10px; }
.calc-seg button { padding: 9px 8px; font-size: 15px; }
.cselect__btn { padding: 9px 38px 9px 12px; font-size: 15px; border-radius: 10px; }
.cselect__btn::after { right: 14px; }
.calc-link { margin-left: 6px; color: #313c5f; text-decoration: underline; }
.calc-link[hidden] { display: none; }
.calc-layer__row { display: grid; grid-template-columns: 28px minmax(0, 3fr) minmax(0, 3.6fr) 32px; gap: 12px; align-items: end; }
.calc-layer__nums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.calc-layer__num { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 5px; border-radius: 50%;
  background: #313c5f; color: #fff; font-size: 14px; font-weight: 600; }
.calc-remove { width: 32px; height: 32px; margin-bottom: 3px; font-size: 20px; }
.calc-remove[hidden] { display: block; visibility: hidden; }
.calc-out { margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.calc-out:empty { display: none; }
.calc-out__cell { padding: 8px 12px; border-radius: 10px; }
.calc-out__cell span { font-size: 12px; }
.calc-out__cell p { margin: 2px 0 0; font-size: 15px; }
.calc-out__cell small { font-size: 12px; opacity: .7; }
.calc-out__cell--accent { outline: 2px solid #313c5f; outline-offset: -2px; }
.calc-out__cell--warn { background: #fbeae6; }
.calc-out__cell--warn span, .calc-out__cell--warn p { color: #b3402f; }
.calc-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0 0 16px; }
.calc-add { margin: 0; }
.calc-add, .calc-print { padding: 10px 22px; font-size: 15px; }
.calc-total { position: sticky; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 18px; margin-bottom: 0;
  box-shadow: 0 12px 34px rgba(30, 30, 31, .3); }
.calc-total[hidden] { display: none; }
.calc-total h3 { flex: none; margin: 0; font-size: 18px; white-space: nowrap; }
.calc-total .calc-out { flex: 1; min-width: 0; margin: 0; }
.calc-note { margin-top: 20px; }
.calc-note p { margin: 0 0 8px; }
@media (max-width: 1100px) {
  .calc-layer__row { grid-template-columns: 28px minmax(0, 1fr) 32px; }
  .calc-layer__row .calc-field--mat { grid-column: 2; grid-row: 1; }
  .calc-layer__row .calc-remove { grid-column: 3; grid-row: 1; }
  .calc-layer__nums { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 760px) {
  .calc-settings { grid-template-columns: 1fr; }
  .calc-layer__nums { grid-template-columns: 1fr 1fr; }
  .calc-layer__nums .calc-field:first-child { grid-column: 1 / -1; }
  .calc-total { position: static; flex-direction: column; align-items: stretch; gap: 10px; }
}
@media print { .calc-total { position: static; box-shadow: none; } }

/* калькулятор: поля слоя на одной линии, подписи не переносятся */
.calc-layer__nums { align-items: end; }
.calc-layer__row .calc-field { justify-content: flex-end; }
.calc-layer__row .calc-field > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cselect__list { overscroll-behavior: contain; }
