/* 25.09.2026. Лёгкая подгонка текущей темы UniShop2 под брендбук НДМ ТРЕЙД v2.1.
   Подключается в common/header.twig ПОСЛЕ основных стилей. Откат — убрать строку подключения.
   Цвета: индиго #1B2559, синий #2A34A5, оранжевый #FF6600 (акцент), фон #F4F5F9, линии #E4E6F0, второй текст #5B6284.
   Шрифты: заголовки — Onest, текст — Golos Text (свои файлы, без Google). */
/* Golos Text cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/brand/golostext-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Golos Text latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/brand/golostext-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Onest cyrillic */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/brand/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Onest latin */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/brand/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root{
	--body-font: 'Golos Text', 'Roboto', Arial, sans-serif;
	--h1-c: #1b2559;
	--h2-c: #1b2559;
	--h3-c: #1b2559;
	--h4-c: #1b2559;
	--h5-c: #1b2559;
	--heading-c: #1b2559;
	--a-c: #2a34a5;
	--a-c-hover: #1b2559;
	--btn-default-c: #5b6284;
	--btn-default-bg: #f4f5f9;
	--btn-default-c-hover: #5b6284;
	--btn-default-bg-hover: #e4e6f0;
	--btn-primary-bg: #2a34a5;
	--btn-primary-bg-hover: #1b2559;
	--input-checked-bg: #2a34a5;
	--top-menu-bg: #f4f5f9;
	--top-menu-btn-c: #5b6284;
	--top-menu-btn-c-hover: #2a34a5;
	--header-search-cat-btn-c: #2a34a5;
	--header-search-cat-btn-bg: #e9ebf6;
	--header-search-input-c: #5b6284;
	--header-search-input-bg: #f4f5f9;
	--header-phones-m-c: #5b6284;
	--header-phones-m-c-hover: #2a34a5;
	--header-phones-a-c: #5b6284;
	--header-icon-c: #2a34a5;
	--header-icon-total-bg: #5b6284;
	--header-block-caption-c: #1b2559;
	--menu-main-c: #1b2559;
	--menu-main-header-bg: #2a34a5;
	--menu-main-level-1-c: #1b2559;
	--menu-main-level-1-c-hover: #5b6284;
	--menu-main-level-2-c: #1b2559;
	--menu-main-level-2-c-hover: #2a34a5;
	--menu-main-level-2-bg: #f4f5f9;
	--menu-main-level-3-c: #1b2559;
	--menu-main-level-3-c-hover: #5b6284;
	--menu-main-before: #e9ebf6;
	--menu-right-bg: #e9ebf6;
	--menu-right-level-1-c: #5b6284;
	--menu-right-level-1-c-hover: #2a34a5;
	--menu-right-level-2-c: #2a34a5;
	--menu-right-level-2-c-hover: #5b6284;
	--menu-right-level-3-c: #5b6284;
	--menu-right-level-3-c-hover: #5b6284;
	--menu-module-bg: #e9ebf6;
	--menu-module-c1: #5b6284;
	--menu-module-c1-hover: #2a34a5;
	--menu-module-c2-hover: #2a34a5;
	--menu-module-c3: #1b2559;
	--menu-module-c3-hover: #2a34a5;
	--slideshow-title-c: #2a34a5;
	--slideshow-text-c: #5b6284;
	--slideshow-btn-bg: #2a34a5;
	--slideshow-nav-btn-c: #2a34a5;
	--slideshow-dot-bg: #e4e6f0;
	--slideshow-dot-bg-active: #2a34a5;
	--swiper-pagination-bg: #2a34a5;
	--swiper-pagination-bg-active: #ff6600;
	--home-banner-bg: #f4f5f9;
	--home-banner-icon-c: #2a34a5;
	--home-banner-text-c: #5b6284;
	--timer-bg: #e9ebf6;
	--timer-text-c: #5b6284;
	--timer-digit-c: #5b6284;
	--prod-thumb-name: #1b2559;
	--prod-thumb-name-hover: #2a34a5;
	--option-select-c: #5b6284;
	--option-name-c: #5b6284;
	--option-name-bg: #e9ebf6;
	--option-name-c-hover: solid 1px #ff6600;
	--option-name-bg-checked: #ff6600;
	--option-img-hover: #ff6600;
	--price-c: #1b2559;
	--price-old-c: #5b6284;
	--price-new-c: #2a34a5;
	--add-to-cart-btn-bg: #2a34a5;
	--add-to-cart-btn-bg-hover: #1b2559;
	--add-to-cart-btn-bg-incart: #1b2559;
	--add-to-cart-btn-c-qty0: #1b2559;
	--add-to-cart-btn-bg-qty0: #e4e6f0;
	--add-to-cart-btn-c-disabled: #1b2559;
	--add-to-cart-btn-bg-disabled: #e4e6f0;
	--quick-order-btn-c: #1b2559;
	--quick-order-btn-bg: #e4e6f0;
	--quick-order-btn-bg-hover: #ff6600;
	--wishlist-btn-c: #2a34a5;
	--wishlist-btn-bg: #f4f5f9;
	--wishlist-btn-bg-hover: #2a34a5;
	--compare-btn-c: #2a34a5;
	--compare-btn-bg: #f4f5f9;
	--compare-btn-bg-hover: #2a34a5;
	--sticker-reward-b: #2a34a5;
	--sticker-new-b: #2a34a5;
	--sticker-ean-b: #2a34a5;
	--product-banner-bg: #f4f5f9;
	--product-banner-icon: #2a34a5;
	--product-banner-text: #5b6284;
	--nav-tabs-bg: #f4f5f9;
	--nav-tabs-c: #1b2559;
	--nav-tabs-c-active: #2a34a5;
	--carousel-dot-bg: #e4e6f0;
	--carousel-dot-bg-active: #2a34a5;
	--carousel-nav-btn-c: #2a34a5;
	--pagination-c: #2a34a5;
	--pagination-bg: #f4f5f9;
	--pagination-bg-active: #2a34a5;
	--footer-bg: #1b2559;
	--fly-menu-icon-c: #2a34a5;
	--fly-menu-icon-total-bg: #5b6284;
	--fly-menu-search-cat-btn-bg: #e9ebf6;
	--fly-menu-search-cat-btn-color: #2a34a5;
	--fly-menu-search-input-bg: #f4f5f9;
	--fly-menu-search-input-color: #5b6284;
	--fly-menu-phone-color: #1b2559;
	--fly-menu-caption-c: #1b2559;
	--fly-menu-level-1-bg-hover: #f4f5f9;
	--fly-contacts-btn-bg: #2a34a5;
	--fly-contacts-item-c: #2a34a5;
	--fly-contacts-item-bg: #e9ebf6;
	--fly-callback-bg: #ff6600;
	--notification-body-bg: #1b2559;
	--preloader-border-c: #2a34a5 #2a34a5 #2a34a5 transparent;
	--tooltip-bg: #5b6284;
}

h1, h2, h3, h4, h5, .heading, .h1, .h2, .h3, .h4,
.home-banner__text-1, .product-thumb__name, .uni-slideshow_v2 .title, .footer__column-heading {
	font-family: 'Onest', 'Golos Text', 'Roboto', Arial, sans-serif;
	letter-spacing: -0.01em;
}
h1, .h1 { font-weight: 700; }
/* плашка cookie: ссылка читаемая на тёмном фоне; тень — чтобы не сливалась с подвалом того же цвета */
#uni-notification a { color: #fff; text-decoration: underline; }
#uni-notification { box-shadow: 0 -6px 24px rgba(27, 37, 89, .35); }

/* Раскрытое меню каталога (главная, разделы): в CSS темы отступ для заголовка/крошек есть только от 1600 px
   (.col-xxl-offset-4), на 992–1599 px заголовок уходил под меню. Меню занимает 3 колонки из 12 → 25 %. */
@media (min-width: 992px) and (max-width: 1599px) {
	.breadcrumb-h1.col-md-offset-3 { margin-left: 25%; }
}

/* Разделы каталога и верхнее меню: в теме 13,3 px — мелко (просьба Екатерины 25.09.2026). */
.menu__level-1-a { font-size: 16px; }

/* Оформление заказа (Simple): количество «− 1 +» и удаление — в теме кнопки ужаты до 15 px (25.09.2026). */
.simplecheckout-cart td.quantity { min-width: 150px; white-space: nowrap; }
.simplecheckout-cart td.quantity .input-group { display: inline-flex; align-items: center; width: auto; max-width: none !important; }
.simplecheckout-cart td.quantity .input-group-btn { display: contents; }
.simplecheckout-cart td.quantity .btn {
	float: none; width: 32px; height: 34px; padding: 0; margin: 0; font-size: 12px; line-height: 32px;
	box-shadow: none; border-radius: 0; transition: background .15s, color .15s;
}
.simplecheckout-cart td.quantity .btn i { color: inherit !important; }
.simplecheckout-cart td.quantity .btn-primary { background: #F4F5F9 !important; color: #1B2559 !important; border: 1px solid #E4E6F0 !important; }
.simplecheckout-cart td.quantity .btn-primary:hover { background: #E4E6F0 !important; color: #2A34A5 !important; }
.simplecheckout-cart td.quantity [data-onclick="decreaseProductQuantity"] { border-radius: 10px 0 0 10px; }
.simplecheckout-cart td.quantity [data-onclick="increaseProductQuantity"] { border-radius: 0 10px 10px 0; }
.simplecheckout-cart td.quantity .form-control {
	float: none; width: 42px; height: 34px; padding: 0; text-align: center; font-size: 15px; color: #1B2559;
	border: 1px solid #E4E6F0; border-left: 0; border-right: 0; border-radius: 0; box-shadow: none; background: #fff;
}
.simplecheckout-cart td.quantity .btn-danger { background: transparent !important; border: 0 !important; color: #5B6284 !important; font-size: 18px; margin-left: 6px; }
.simplecheckout-cart td.quantity .btn-danger:hover { background: transparent !important; color: #D9534F !important; }

/* Текст по всему сайту: в теме основной 14 px, остальные размеры заданы в em от него — поднимаем основной,
   всё растёт пропорционально (просьба Екатерины «мелковато все шрифты», 25.09.2026). */
body { font-size: 15px; }

/* Оформление заказа: текст крупнее, заголовки блоков — как заголовки (25.09.2026). */
.simplecheckout { font-size: 16px; }
.simplecheckout .checkout-heading { font-family: "Onest", "Golos Text", Arial, sans-serif; font-size: 18px; font-weight: 600; color: #1B2559; }
.simplecheckout .checkout-heading a { font-family: "Golos Text", Arial, sans-serif; font-size: 15px; font-weight: 400; }
.simplecheckout-cart th { font-size: 14px; color: #5B6284; }
.simplecheckout-cart-total { font-size: 16px; }
#total_total { font-size: 18px; font-weight: 700; }
/* Уточнение: поле и кнопки одной высоты, «+» скруглён как «−» (Bootstrap перебивал радиус). */
.simplecheckout-cart td.quantity .btn-primary,
.simplecheckout-cart td.quantity .form-control { box-sizing: border-box !important; height: 34px !important; margin: 0 !important; vertical-align: middle; }
.simplecheckout-cart td.quantity .form-control { line-height: 32px !important; }
.simplecheckout-cart td.quantity [data-onclick="decreaseProductQuantity"] { border-radius: 10px 0 0 10px !important; }
.simplecheckout-cart td.quantity [data-onclick="increaseProductQuantity"] { border-radius: 0 10px 10px 0 !important; }

/* Оформление заказа: способы доставки/оплаты — вторая строка с отступом под текстом, а не под кружком (25.09.2026).
   Висячий отступ: радиокнопка на месте первой строки, перенос начинается там же, где текст. */
#simplecheckout_shipping .radio label, #simplecheckout_payment .radio label { display: block !important; padding-left: 28px; text-indent: -28px; line-height: 1.5; }
#simplecheckout_shipping .radio input[type="radio"], #simplecheckout_payment .radio input[type="radio"] { position: static !important; width: 16px; margin: 0 8px 0 0 !important; vertical-align: -2px; } /* 16 + 8 + пробел перед текстом ≈ 28 = висячий отступ */
#simplecheckout_shipping .radio + .radio, #simplecheckout_payment .radio + .radio { margin-top: 10px; }
/* Счётчик по центру колонки «Кол-во» и на одной линии с ценой (текст строки ~24 px, счётчик 34 px). */
.simplecheckout-cart td.quantity { text-align: center; }
.simplecheckout-cart td.quantity .input-group { position: relative; top: -6px; }
/* Крестик удаления — вне центровки, чтобы по центру колонки стоял сам счётчик «− 1 +». */
.simplecheckout-cart td.quantity .btn-danger { position: absolute !important; left: 100%; top: 0; margin-left: 8px !important; }
.simplecheckout-cart td.quantity .btn-danger { width: 22px !important; }
/* Цена и Итого — по центру колонок, как Модель и Кол-во (просьба Екатерины). */
.simplecheckout-cart th.price, .simplecheckout-cart td.price,
.simplecheckout-cart th.total, .simplecheckout-cart td.total { text-align: center !important; }

/* Оформление заказа темы (замена Simple под PHP 8): блок «Покупаете как» (25.09.2026). */
.ndm-buyer { margin: 5px 0 20px; }
.ndm-buyer__label { display: block; margin: 0 0 8px; color: #5B6284; }
.ndm-buyer__item { display: inline-flex; align-items: center; gap: 8px; margin: 0 24px 8px 0; cursor: pointer; font-weight: 400; }
.ndm-buyer__item input { margin: 0; }
.ndm-buyer__yur { margin-top: 10px; }
.ndm-buyer__yur .form-control { margin-bottom: 10px; }
.ndm-buyer__yur textarea.form-control { height: auto; min-height: 84px; resize: vertical; }
