@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//test.neomedrem.kz/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.4.1") format("woff2");
}

@font-face {
	font-family: "star";
	font-weight: 400;
	font-style: normal;
	src: url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/star.eot?#iefix") format("embedded-opentype"), url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/star.woff") format("woff"), url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/star.ttf") format("truetype"), url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/star.svg#star") format("svg");
}

@font-face {
	font-family: "WooCommerce";
	font-weight: 400;
	font-style: normal;
	src: url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.eot?#iefix") format("embedded-opentype"), url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.woff") format("woff"), url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.ttf") format("truetype"), url("//test.neomedrem.kz/wp-content/plugins/woocommerce/assets/fonts/WooCommerce.svg#WooCommerce") format("svg");
}

:root {
	--wd-text-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 400;
	--wd-title-transform: none;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Manrope", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Open Sans", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 400;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 14px;
	--wd-brd-radius: 8px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,135,209);
	--wd-alternative-color: rgb(28,161,179);
	--btn-default-font-family: "Manrope", Arial, Helvetica, sans-serif;
	--btn-default-font-weight: 500;
	--btn-default-transform: none;
	--btn-default-bgcolor: rgb(0,135,209);
	--btn-default-bgcolor-hover: rgb(0,160,222);
	--btn-default-color: rgb(255,255,255);
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-font-family: "Manrope", Arial, Helvetica, sans-serif;
	--btn-accented-font-weight: 500;
	--btn-accented-transform: none;
	--btn-accented-bgcolor: rgb(0,135,209);
	--btn-accented-bgcolor-hover: #00A0DE;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(0,135,209);
	--wd-link-decor-color: rgb(51,51,51);
	--wd-link-decor-color-hover: rgb(0,135,209);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav-mobile > li > a {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 13px;
	text-transform: none;
}
html .post.wd-post:not(.blog-design-small) .wd-entities-title {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 18px;
	text-transform: none;
}
html .wd-nav.wd-nav-main > li > a, html .wd-dropdown-menu.wd-design-sized .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-full-width .wd-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu > li > a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu > li > a, html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-default .wd-sub-menu li a {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 14px;
	text-transform: none;
}
.whb-top-bar .wd-nav.wd-nav-secondary > li > a, .whb-general-header .wd-nav.wd-nav-secondary > li > a, .whb-header-bottom .wd-nav.wd-nav-secondary > li > a, html .wd-dropdown-cats .wd-nav.wd-nav-vertical > li > a, html .wd-dropdown-menu.wd-design-aside .wd-sub-menu-wrapp > .wd-sub-menu > li > a {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 13px;
	text-transform: none;
}
html .wd-dropdown-menu.wd-design-sized .sub-sub-menu li a, html .wd-dropdown-menu.wd-design-full-width .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-wp-menu > .sub-sub-menu .sub-sub-menu li a, body .wd-dropdown-menu.wd-design-aside .wd-sub-menu .wd-sub-menu .sub-sub-menu li a {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 13px;
	text-transform: none;
}
html .wd-product .price {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 18px;
	color: rgb(0,0,0);
}
html .wd-product .wd-entities-title a {
	font-size: 13px;
}
html .product-image-summary-wrap .summary-inner > .price, html .wd-single-price .price, html .product-image-summary-wrap .summary-inner > .price del, html .wd-single-price .price del, html .product-image-summary-wrap .variations_form .woocommerce-variation-price .price, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price, html .product-image-summary-wrap .variations_form .woocommerce-variation-price > .price del, html .wd-single-add-cart .variations_form .woocommerce-variation-price .price del, html .wd-product-nav-desc .price, html .product-quick-view .summary-inner > .price {
	font-weight: 600;
	font-size: 14px;
}
html .btn.wd-buy-now-btn, html .woocommerce-mini-cart__buttons .btn-cart, html .woocommerce-mini-cart__buttons .checkout, html .wd-empty-mini-cart .btn {
	font-family: "Manrope", Arial, Helvetica, sans-serif;
	font-weight: 500;
	text-transform: none;
	color: rgb(255,255,255);
	background: rgb(0,135,209);
}
html .btn.wd-buy-now-btn:hover, html .woocommerce-mini-cart__buttons .btn-cart:hover, html .woocommerce-mini-cart__buttons .checkout:hover, html .wd-empty-mini-cart .btn:hover {
	background: rgb(0,160,222);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 640px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1230px;
--wd-form-brd-radius: 5px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-cat-brd-radius: 12px;
}

@media (min-width: 1230px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(28,97,231);
}

@font-face {
	font-family: "Manrope";
	src: url("//test.neomedrem.kz/wp-content/uploads/2025/07/Manrope.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

/* HEADER */

/* =========================
   NEOMEDREM: ОТСТУПЫ В ВЕРХНЕЙ ПАНЕЛИ
   ========================= */

.whb-top-bar-inner {
  padding-top: 5px;
}

.whb-col-right,
.whb-mobile-right {
  margin-right: 0 !important;
}

/* =========================================================
   ТЕНЬ ШАПКИ
   Мобилка — как сейчас, не трогаем
   ПК — тень только у липкой шапки
   ========================================================= */

/* 1. ПК: обычная шапка без тени */
@media (min-width: 1025px) {
  .whb-header_648594 .whb-main-header .whb-row.whb-general-header {
    box-shadow: none !important;
  }

  .whb-header_648594 .whb-main-header .whb-general-header,
  .whb-header_648594 .whb-main-header .whb-sticky-row,
  .whb-header_648594 .whb-main-header .whb-row.whb-general-header.whb-sticky-row {
    box-shadow: none !important;
  }


  .whb-header_648594.whb-sticked .whb-main-header .whb-row.whb-general-header.whb-sticky-row,
  .whb-header_648594.whb-sticked .whb-main-header .whb-sticky-row,
  .whb-header_648594.whb-sticked .whb-main-header .whb-general-header {
    box-shadow: 0 6px 18px rgba(12, 26, 46, 0.14) !important;
    position: relative !important;
    z-index: 20 !important;
  }
}

/* 2. Мобилка/планшет — ничего не меняем */
@media (max-width: 1024px) {
  .whb-header_648594 > .whb-main-header > .whb-row.whb-general-header {
    box-shadow: 0 1px 6px -2px rgba(0, 0, 0, .18) !important;
  }

  .whb-clone.whb-sticked {
    box-shadow: 0 1px 10px -2px rgba(0, 0, 0, .28) !important;
  }
}

/* ПК: убрать только правый отступ у телефона в правой колонке верхней полосы */
@media (min-width: 1025px) {
  .whb-top-bar .whb-col-right .wd-header-text {
    padding-right: 0 !important;
  }
}

/* =========================
   NEOMEDREM: КОНТАКТНЫЙ БЛОК В ДЕСКТОПНОМ ХЕДЕРЕ
   ========================= */

.nm-header-contact-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 6px 16px;
  background: #ffffff;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(12, 26, 46, 0.08);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nm_headphone {
  display: flex;
  align-items: center;
}

.nm_headphone a {
  font-size: 14px;
  font-weight: 600;
  color: #0c1a2e;
  text-decoration: none;
  line-height: 1;
  transition: color 0.25s ease;
}

.nm_headphone a:hover {
  color: #0087d1;
  text-decoration: none;
}

.nm-header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  transition: all 0.25s ease;
}

.nm-header-call-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.nm-header-call-text {
  font-size: 14px;
  font-weight: 700;
  color: #0087d1;
  line-height: 1;
  transition: color 0.25s ease;
}

.nm-header-call-btn:hover .nm-header-call-text {
  color: #0a6ea8;
}

.nm-header-call-btn::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url('/wp-content/uploads/2026/03/nm_phone.svg') no-repeat center / contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nm-header-call-btn:hover::after {
  transform: rotate(-8deg);
}

@media (max-width: 1360px) {
  .nm-header-contact-box {
    gap: 14px;
    padding: 9px 14px;
  }

  .nm_headphone a {
    font-size: 14px;
  }

  .nm-header-call-text {
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  .nm-header-contact-box {
    padding: 8px 12px;
  }
}

/* =========================
   NEOMEDREM: КОНТАКТНЫЙ БЛОК В ДЕСКТОПНОМ ХЕДЕРЕ
   2 ТЕЛЕФОНА + WHATSAPP + ЗАКАЗАТЬ ЗВОНОК
   ========================= */

.nm-header-contact-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(12, 26, 46, 0.08);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.nm-header-phones {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
  line-height: 1;
  white-space: nowrap;
  min-width: 0;
}

.nm-header-phones .nm_headphone,
.nm-header-phones .nm-headphone-mobile {
  display: inline-flex;
  align-items: center;
  width: auto !important;
  flex: 0 0 auto;
  margin: 0;
}

.nm_headphone a,
.nm-headphone-mobile a {
  font-size: 14px;
  font-weight: 600;
  color: #0c1a2e;
  text-decoration: none;
  line-height: 1;
  transition: color 0.25s ease;
}

.nm_headphone a:hover,
.nm-headphone-mobile a:hover {
  color: #0087d1;
  text-decoration: none;
}

.nm-headphone-mobile {
  position: relative;
  padding-left: 12px;
}

.nm-headphone-mobile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: #dbe7f3;
  transform: translateY(-50%);
}

.nm-header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nm-header-whatsapp img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nm-header-whatsapp:hover {
  transform: translateY(-1px) scale(1.06);
  opacity: 0.9;
}

.nm-header-call-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  transition: all 0.25s ease;
}

.nm-header-call-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.nm-header-call-text {
  font-size: 14px;
  font-weight: 700;
  color: #0087d1;
  line-height: 1;
  transition: color 0.25s ease;
}

.nm-header-call-btn:hover .nm-header-call-text {
  color: #0a6ea8;
}

.nm-header-call-btn::after {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url('/wp-content/uploads/2026/03/nm_phone.svg') no-repeat center / contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nm-header-call-btn:hover::after {
  transform: rotate(-8deg);
}

@media (max-width: 1360px) {
  .nm-header-contact-box {
    gap: 12px;
    padding: 9px 14px;
  }

  .nm-header-phones {
    gap: 10px;
  }

  .nm-headphone-mobile {
    padding-left: 10px;
  }

  .nm_headphone a,
  .nm-headphone-mobile a {
    font-size: 13px;
  }

  .nm-header-call-text {
    font-size: 13px;
  }

  .nm-header-whatsapp {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .nm-header-whatsapp img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1199px) {
  .nm-header-contact-box {
    padding: 8px 12px;
    gap: 10px;
  }

  .nm-header-phones {
    gap: 8px;
  }

  .nm-headphone-mobile {
    padding-left: 8px;
  }

  .nm-headphone-mobile::before {
    height: 12px;
  }

  .nm_headphone a,
  .nm-headphone-mobile a,
  .nm-header-call-text {
    font-size: 12px;
  }

  .nm-header-call-btn {
    gap: 8px;
  }
}

/* =========================
   NEOMEDREM: TOP BAR ПК — МЕНЮ СЛЕВА, КОНТАКТЫ СПРАВА, БЕЗ ПРИЛИПАНИЯ
   ========================= */

@media (min-width: 1025px) {

  /* Внутренняя строка top bar */
  .whb-header_648594 .whb-top-bar .whb-top-bar-inner,
  .whb-header_648594 .whb-top-bar .whb-flex-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Левая колонка */
  .whb-header_648594 .whb-top-bar .whb-col-left {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  /* Центральная пустая колонка — не показываем, чтобы не жрала место */
  .whb-header_648594 .whb-top-bar .whb-col-center.whb-empty-column,
  .whb-header_648594 .whb-top-bar .whb-column.whb-col-center.whb-empty-column,
  .whb-header_648594 .whb-top-bar .whb-column6.whb-empty-column {
    display: none !important;
  }

  /* Правая колонка */
  .whb-header_648594 .whb-top-bar .whb-col-right {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
  }

  /* Сам html-блок справа */
  .whb-header_648594 .whb-top-bar .wd-header-text,
  .whb-header_648594 .whb-top-bar .wd-header-text.reset-last-child,
  .whb-header_648594 .whb-top-bar .wd-header-text.reset-last-child.whb-qt5sc1mgyixlesqxwkar {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  /* Контактный блок */
  .nm-header-contact-box {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
  }

  /* Блок с телефонами */
  .nm-header-phones {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 12px !important;
    width: auto !important;
  }

  .nm_headphone,
  .nm_headphone a,
  .nm-headphone-mobile,
  .nm-headphone-mobile a {
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
  }
}

/* =========================
   NEOMEDREM: МОБИЛЬНЫЙ ХЕДЕР — ПЛИТКИ И ИКОНКИ
   ========================= */

@media (max-width: 1024px) {
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-header-text.reset-last-child.wb-inline {
    margin: 0 !important;
    padding: 0 !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .15);
    border-radius: 4px;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    transition: box-shadow .25s ease, background-color .25s ease;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a:hover,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a:focus,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a:active {
    background: #ffffff !important;
    box-shadow: 0 0 4px rgba(0, 0, 0, .15) !important;
    transform: none !important;
    outline: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-icon .wd-custom-icon {
    display: block;
    width: 22px;
    height: 22px;
    max-width: 22px;
    max-height: 22px;
    filter: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-count,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-cart-number {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 17px;
    height: 17px;
    background: #0087d1;
    font-size: 10px;
    font-weight: 500;
    line-height: 17px;
    text-align: center;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-header-cart .wd-tools-text {
    display: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-cart-number span {
    display: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a::before,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a::after {
    display: none !important;
  }

  .wd-search-opened .wd-header-search .wd-tools-element,
  .wd-search-opened .wd-header-search,
  .wd-search-opened .wd-header-search a,
  .wd-search-opened .wd-header-search .wd-tools-icon {
    --wd-header-el-color: #0087d1 !important;
    --wd-header-el-color-hover: #00a0de !important;
  }

  .wd-search-opened .wd-header-search .wd-tools-element > a::before,
  .wd-search-opened .wd-header-search .wd-tools-element > a::after {
    border-color: #0087d1 !important;
  }

  .wd-search-opened .wd-header-search .wd-tools-element > a:hover::before,
  .wd-search-opened .wd-header-search .wd-tools-element > a:hover::after {
    border-color: #00a0de !important;
  }
}

/* =========================
   NEOMEDREM: МОБИЛЬНАЯ КНОПКА ЗВОНКА
   ========================= */

@media (max-width: 1024px) {
  .nm-mobile-call-dropdown {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
  }

  .nm-mobile-call-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .15);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: box-shadow .25s ease, transform .25s ease;
  }

  .nm-mobile-call-toggle:hover,
  .nm-mobile-call-toggle:focus,
  .nm-mobile-call-toggle:active {
    background: #ffffff;
    box-shadow: 0 0 4px rgba(0, 0, 0, .15);
    outline: none;
    transform: none;
  }

  .nm-mobile-call-toggle-icon {
    width: 22px;
    height: 22px;
    display: block;
  }
}

/* =========================
   NEOMEDREM: МОБИЛЬНАЯ ШАПКА — ОДИНАКОВЫЕ ПЛИТКИ БЕЗ ВЫТЯГИВАНИЯ
   ========================= */

@media (max-width: 1024px) {
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg {
    --nm-tile-size: 38px;
    --nm-icon-size: 20px;
    --nm-gap: 8px;
    --nm-radius: 4px;
    --nm-shadow: 0 0 4px rgba(0, 0, 0, .15);

    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: var(--nm-gap) !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg > * {
    margin: 0 !important;
    padding: 0 !important;
    width: var(--nm-tile-size) !important;
    min-width: var(--nm-tile-size) !important;
    max-width: var(--nm-tile-size) !important;
    height: var(--nm-tile-size) !important;
    min-height: var(--nm-tile-size) !important;
    max-height: var(--nm-tile-size) !important;
    flex: 0 0 var(--nm-tile-size) !important;
    align-self: center !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--nm-radius) !important;
    background: #fff !important;
    box-shadow: var(--nm-shadow) !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-header-text {
    display: block !important;
    width: var(--nm-tile-size) !important;
    min-width: var(--nm-tile-size) !important;
    max-width: var(--nm-tile-size) !important;
    height: var(--nm-tile-size) !important;
    min-height: var(--nm-tile-size) !important;
    max-height: var(--nm-tile-size) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .nm-mobile-call-dropdown {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .nm-mobile-call-toggle {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: var(--nm-radius) !important;
    background: #fff !important;
    box-shadow: var(--nm-shadow) !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 1 !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-icon .wd-custom-icon,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .nm-mobile-call-toggle-icon {
    display: block !important;
    width: var(--nm-icon-size) !important;
    height: var(--nm-icon-size) !important;
    min-width: var(--nm-icon-size) !important;
    min-height: var(--nm-icon-size) !important;
    max-width: var(--nm-icon-size) !important;
    max-height: var(--nm-icon-size) !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-header-cart .wd-tools-text {
    display: none !important;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-count,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-cart-number {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    font-size: 10px;
    text-align: center;
  }

  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a::before,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .wd-tools-element > a::after,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .nm-mobile-call-toggle::before,
  .whb-column.whb-mobile-right.whb-column_mobile4.whb-hidden-lg .nm-mobile-call-toggle::after {
    display: none !important;
  }
}

/* =========================
   NEOMEDREM: МОБИЛЬНАЯ ВЫПАДАЮЩАЯ ПАНЕЛЬ ЗВОНКА
   ЧИСТЫЙ ВАРИАНТ БЕЗ КОНФЛИКТА LEFT/RIGHT/TRANSFORM
   ========================= */

@media (max-width: 1024px) {
  .nm-mobile-call-panel {
    position: fixed !important;
    top: 110px !important; /* подстрой при необходимости */
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;

    height: auto !important;
    min-height: unset !important;

    background: #ffffff !important;
    border: 1px solid #dbe7f3 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(12, 26, 46, 0.12) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 99999 !important;
    overflow: visible !important;
    white-space: normal !important;
  }

  .nm-mobile-call-dropdown.is-open .nm-mobile-call-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .nm-mobile-call-panel-inner {
    padding: 20px 14px !important;
    gap: 10px !important;
    justify-content: space-between !important;
    white-space: nowrap !important;
  }

  .nm-mobile-call-phone {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: #0c1a2e !important;
    text-decoration: none !important;
  }

  .nm-mobile-call-phone:hover {
    color: #0087d1 !important;
    text-decoration: none !important;
  }

  .nm-mobile-call-popup {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: 0 !important;
    text-decoration: none !important;
    background: transparent !important;
  }

  .nm-mobile-call-popup:hover {
    text-decoration: none !important;
  }

  .nm-mobile-call-popup-text {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #0087d1 !important;
    transition: color .25s ease !important;
  }

  .nm-mobile-call-popup:hover .nm-mobile-call-popup-text {
    color: #00a0de !important;
  }

  .nm-mobile-call-popup-icon {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    transition: transform .25s ease !important;
  }

  .nm-mobile-call-popup:hover .nm-mobile-call-popup-icon {
    transform: rotate(-8deg) !important;
  }
}

@media (max-width: 767px) {
  .nm-mobile-call-panel {
    top: 120px !important; /* если шапка чуть ниже/выше */
    left: 12px !important;
    right: 12px !important;
    transform: none !important;
    width: calc(100vw - 24px) !important;
    min-width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }

  .nm-mobile-call-panel-inner {
    padding: 20px 14px !important;
    gap: 10px !important;
    justify-content: space-between !important;
    white-space: nowrap !important;
  }

  .nm-mobile-call-phone {
    font-size: 15px !important;
  }

  .nm-mobile-call-popup-text {
    font-size: 13px !important;
  }

  .nm-mobile-call-popup-icon {
    width: 15px !important;
    height: 15px !important;
  }
}

/* =========================
   NEOMEDREM: ДОПОЛНЕНИЕ КОНТАКТНОГО БЛОКА ПК
   ========================= */

.nm-header-contact-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nm-header-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.nm-headphone-mobile a {
  font-size: 14px;
  font-weight: 600;
  color: #0c1a2e;
  text-decoration: none;
  line-height: 1;
  transition: color 0.25s ease;
}

.nm-headphone-mobile a:hover {
  color: #0087d1;
  text-decoration: none;
}

.nm-header-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nm-header-whatsapp img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nm-header-whatsapp:hover {
  transform: translateY(-1px) scale(1.06);
  opacity: 0.9;
}

/* =========================
   NEOMEDREM: ДОПОЛНЕНИЕ МОБИЛЬНОЙ ПАНЕЛИ ЗВОНКА
   ========================= */

@media (max-width: 1024px) {
  .nm-mobile-call-panel-inner {
    display: flex !important;
    align-items: center !important;
  }

  .nm-mobile-call-phone {
    flex: 0 1 auto !important;
  }

  .nm-mobile-call-wa {
    flex: 0 0 auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    margin-left: auto !important;
    margin-right: 10px !important;
    text-decoration: none !important;
  }

  .nm-mobile-call-wa img {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
    object-fit: contain !important;
  }

  .nm-mobile-call-popup {
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }
}

@media (max-width: 767px) {
  .nm-mobile-call-wa {
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
  }

  .nm-mobile-call-wa img {
    width: 20px !important;
    height: 20px !important;
  }
}

/* =========================
   NEOMEDREM: КРЕСТИК POPUP CALLBACK
   ========================= */

body .wd-mfp-popup-wrap-33556 .wd-popup-wrap {
  position: relative !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close {
  position: absolute !important;
  top: 10px !important;
  right: 25px !important;
  left: auto !important;
  z-index: 100001 !important;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close a {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  box-shadow: 0 0 4px rgba(0, 0, 0, .15) !important;
  text-decoration: none !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close .wd-action-icon,
body .wd-mfp-popup-wrap-33556 .wd-popup-close .wd-action-icon::before,
body .wd-mfp-popup-wrap-33556 .wd-popup-close .wd-action-icon::after {
  display: none !important;
  content: none !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close a::before,
body .wd-mfp-popup-wrap-33556 .wd-popup-close a::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 18px !important;
  height: 2px !important;
  margin-left: -9px !important;
  margin-top: -1px !important;
  background: #5c5a54 !important;
  transform-origin: center center !important;
  transition: transform .25s ease, background-color .25s ease !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close a::before {
  transform: rotate(45deg) !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close a::after {
  transform: rotate(-45deg) !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close:hover a::before,
body .wd-mfp-popup-wrap-33556 .wd-popup-close:hover a::after {
  background: #0087d1 !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close:hover a::before {
  transform: rotate(0deg) !important;
}

body .wd-mfp-popup-wrap-33556 .wd-popup-close:hover a::after {
  transform: rotate(0deg) !important;
}

/* =====================================================
   NM: Страница — Коммерческое предложение
   /kommercheskoe-predlozhenie/
===================================================== */
.nm-kp__title {
    font-size: 22px;
	  font-weight: 600;
}

/* ===== ШАГИ ===== */

.nm-kp__steps {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nm-kp__step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
	  font-weight: 500;
    line-height: 1.2;
    color: #0C1A2E;
}

.nm-kp__step--note {
    padding-left: 50px;
    font-size: 13px;
    color: #718096;
	  font-weight: 500;
}

.nm-about-img-left img {
    border-radius: 12px 0 0 12px;
}

.nm-about-img-right img {
    border-radius: 0 12px 12px 0;
}

/* ===== SVG ТРЕУГОЛЬНИК ===== */

.nm-kp__step-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nm-kp__step-icon img {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
    display: block;
}

/* ===== ИКОНКА ПРИМЕЧАНИЯ ===== */

.nm-kp__step-note-icon {
    color: #0087D1;
    font-weight: 600;
    flex-shrink: 0;
    font-size: 15px;
    margin-top: -3px;
}

/* ===== ТЕКСТ ===== */

.nm-kp__step-text strong {
    font-weight: 700;
    color: #0C1A2E;
}

.nm-kp__step--note .nm-kp__step-text strong {
    color: #718096;
}

/* ===== КНОПКА ===== */

.nm-kp__btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: #0087D1;
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
}

.nm-kp__btn:hover {
    background: #00a0de;
    color: #fff;
}

/* ===== КОНТАКТЫ ===== */

.nm-kp__contacts {
    background: #f8fafc;
    border: 1px solid #e2eaf3;
    border-radius: 10px;
    padding: 20px 24px;
    max-width: 400px;
	  margin-top: 30px;
}

.nm-kp__contacts-title {
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #0C1A2E;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 14px;
}

.nm-kp__contacts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nm-kp__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
	  font-weight: 500;
}

.nm-kp__contact-label {
    color: #718096;
    min-width: 72px;
}

.nm-kp__contact-value {
    color: #0087D1;
    font-weight: 600;
    text-decoration: none;
}

.nm-kp__contact-value:hover {
    color: #005f9e;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 768px) {
    .nm-kp__btn {
        width: 100%;
        justify-content: center;
    }
    .nm-kp__contacts {
        max-width: 100%;
    }
    .nm-kp__step {
        padding-left: 10px;
    }
    .nm-kp__step--note {
        padding-left: 20px;
    }
}

/* =====================================================
   NM: Страница — О компании /about/
===================================================== */

.nm-about {
    max-width: 100%;
    padding: 0;
}

/* ===== HERO ===== */

.nm-about__hero {
    padding: 40px 0 48px;
    max-width: 800px;
}

#nm-about-hero-banner .promo-banner {
    position: relative;
}

#nm-about-hero-banner .promo-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(26 163 239 / 20%) 0%, #00000000 40%, rgb(30 50 80 / 88%) 100%);
    z-index: 2;
    pointer-events: none;
}

#nm-about-hero-banner .promo-banner .wrapper-content-banner {
    z-index: 3;
}

#nm-about-hero-banner .banner-border .wrapper-content-banner {
    border: 5px solid #5295bd8a;
}

/* ===== СЧЁТЧИКИ ===== */

.nm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 56px;
	  min-height: 148px;
}
.nm-stat {
  text-align: center;
  padding: 40px 16px;
}
.nm-stat:nth-child(1) { background: #00A0DE; }
.nm-stat:nth-child(2) { background: #0099DC; }
.nm-stat:nth-child(3) { background: #0091D8; }
.nm-stat:nth-child(4) { background: #0087D1; }
.nm-stat-num {
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.nm-stat-label {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,.85);
    line-height: 1.4;
}
@media (max-width: 768px) {
  .nm-stats {
    grid-template-columns: repeat(2, 1fr);
  }
	 .nm-stat {
    padding: 32px 16px;
  }
}

/* ===== КЛИЕНТЫ ===== */

.nm-about-achievements {
  position: relative;
  background-image: url('/wp-content/uploads/2026/04/about-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
	border-radius: 8px;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto 28px;
}

.nm-about-achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(12, 26, 46, 0.88) 0%,
    rgba(12, 26, 46, 0.75) 45%,
    rgba(12, 26, 46, 0.15) 100%
  );
}

.nm-about-achievements__inner {
  position: relative;
  max-width: 580px;
  padding: 72px 48px;
}

.nm-about-achievements__title {
  font-family: Manrope, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 36px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.nm-about-achievements__list {
  display: grid;
  gap: 28px;
}

.nm-about-achievements__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 18px;
  align-items: flex-start;
}

.nm-about-achievements__num {
  font-family: Manrope, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #0087D1;
  line-height: 1;
  margin-top: 2px;
}

.nm-about-achievements__text {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 767px) {
  .nm-about-achievements__inner {
    padding: 48px 20px;
    max-width: 100%;
  }

  .nm-about-achievements__title {
    font-size: 22px;
  }
}

.nm-about__clients-section {
    margin-bottom: 56px;
}

.nm-about__clients-head {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 28px;
}

.nm-about__clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.nm-about__client {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid #e2eaf3;
    border-radius: 10px;
    padding: 16px 18px;
    transition: border-color .2s, box-shadow .2s;
}

.nm-about__client:hover {
    border-color: #0087D1;
    box-shadow: 0 4px 12px rgba(0,135,209,.1);
}

.nm-about__client-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}

.nm-about__client-name {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0C1A2E;
    line-height: 1.4;
}

.nm-about__client-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

/* ===== МИССИЯ ===== */

.nm-about__mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 0;
    padding: 48px 0;
}

.nm-about__mission-title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0C1A2E;
    margin: 0 0 20px;
}

.nm-about__mission-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 14px;
}

.nm-about__mission-aside {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nm-about__mission-quote {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0087D1;
    line-height: 1.5;
    text-align: center;
    padding: 32px;
    background: #EBF5FC;
    border-radius: 12px;
    border-left: 4px solid #0087D1;
    font-style: italic;
}

/* ===== ПРЕИМУЩЕСТВА ===== */

.nm-about__benefits {
    background: #0C1A2E;
    margin: 0 calc(-50vw + 50%);
    padding: 56px calc(50vw - 50%);
    margin-bottom: 56px;
}

.nm-about__benefits-title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 36px;
    text-align: center;
}

.nm-about__benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.nm-about__benefit {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
}

.nm-about__benefit-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 8px;
    margin-top: 2px;
}

.nm-about__benefit-icon img {
    display: block;
    width: 20px;
    height: 20px;
    transform: rotate(90deg);
    filter: brightness(0) invert(1);
    opacity: .7;
}

.nm-about__benefit-head {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    flex: 1;
}

.nm-about__benefit-text {
    width: 100%;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin: 8px 0 0;
    padding-left: 28px;
}

/* ===== БРЕНДЫ ===== */

.nm-about__brands-section {
    margin-bottom: 56px;
}

.nm-about__brands-title {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0C1A2E;
    margin: 0 0 24px;
}

.nm-about__brands {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nm-about__brand {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    background: #f8fafc;
    border: 1px solid #e2eaf3;
    padding: 6px 16px;
    border-radius: 20px;
    transition: border-color .2s, color .2s;
}

.nm-about__brand:hover {
    border-color: #0087D1;
    color: #0087D1;
}

/* ===== CTA ===== */

.nm-about__cta {
    background: linear-gradient(135deg, #0C1A2E 0%, #0d2748 100%);
    border-radius: 14px;
    padding: 48px;
    text-align: center;
    margin-bottom: 40px;
}

.nm-about__cta-text {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.4;
}

.nm-about__cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nm-about__cta-btn {
    display: inline-flex;
    align-items: center;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s;
}

.nm-about__cta-btn:hover {
    transform: translateY(-1px);
}

.nm-about__cta-btn--light {
    background: #fff;
    color: #0087D1;
}

.nm-about__cta-btn--light:hover {
    background: #EBF5FC;
    color: #005f9e;
}

.nm-about__cta-btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.nm-about__cta-btn--whatsapp:hover {
    background: #1dab52;
    color: #fff;
}

.nm-about__cta-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,.5);
}

.nm-about__cta-contacts a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.nm-about__cta-contacts a:hover {
    color: #fff;
}


/* ===== АДАПТИВ ===== */

@media (max-width: 1024px) {
    .nm-about__benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nm-about__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .nm-about__stat:nth-child(2) {
        border-right: none;
    }
    .nm-about__stat:nth-child(1),
    .nm-about__stat:nth-child(2) {
        border-bottom: 1px solid #e2eaf3;
    }
    .nm-about__clients-grid {
        grid-template-columns: 1fr;
    }
    .nm-about__mission {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .nm-about__benefits-grid {
        grid-template-columns: 1fr;
    }
    .nm-about__cta {
        padding: 32px 20px;
    }
    .nm-about__cta-actions {
        flex-direction: column;
    }
    .nm-about__cta-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nm-about__stat-num {
        font-size: 32px;
    }
    .nm-about__hero-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
  .nm-about-img-left,
  .nm-about-img-right {
    display: none !important;
  }
}

/* =====================================================
   СТРАНИЦА: Контакты | neomedrem.kz
   Префикс: nm-ct
===================================================== */

.nm-ct {
    font-family: 'Manrope', sans-serif;
    color: #0C1A2E;
    max-width: 1200px;
    margin: 0 auto;
}

.nm-ct__title {
    font-size: 22px;
    font-weight: 600;
    color: #0C1A2E;
    margin: 0 0 16px;
    line-height: 1.2;
}

.nm-ct__sub {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 760px;
}

.nm-ct__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 640px);
    gap: 40px;
    align-items: start;
}

/* ===== CTA-КНОПКИ ===== */

.nm-ct__cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.nm-ct__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity .2s, transform .15s, box-shadow .2s;
}

.nm-ct__btn:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.nm-ct__btn--blue {
    background: #0087D1;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,135,209,.18);
}

.nm-ct__btn--blue:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,135,209,.24);
}

.nm-ct__btn--wa {
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37,211,102,.18);
}

.nm-ct__btn--wa:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,211,102,.24);
}

/* ===== КОНТАКТНАЯ КАРТОЧКА ===== */

.nm-ct__info-card {
    background: #fff;
    border: 1px solid #e2eaf3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,135,209,.06);
    margin-bottom: 24px;
}

.nm-ct__info-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f4f8;
}

.nm-ct__info-row--last {
    border-bottom: none;
}

.nm-ct__info-ico {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #e8f4fc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0087D1;
    margin-top: 1px;
}

.nm-ct__info-lbl {
    display: block;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #718096;
    margin-bottom: 4px;
}

.nm-ct__info-val {
    font-size: 13px;
    color: #0C1A2E;
    line-height: 1.55;
}

.nm-ct__muted {
    color: #718096;
    font-size: 12px;
}

.nm-ct__info-link {
    font-size: 13px;
    font-weight: 500;
    color: #0087D1;
    text-decoration: none;
    transition: color .2s;
}

.nm-ct__info-link:hover {
    color: #005f9e;
}

/* ===== МЕССЕНДЖЕРЫ ===== */

.nm-ct__mess-title {
    font-size: 16px;
    font-weight: 700;
    color: #0C1A2E;
    margin: 0 0 14px;
}

.nm-ct__mess-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nm-ct__mess-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.nm-ct__mess-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.14);
    opacity: .98;
    color: #fff;
}

.nm-ct__mess-card--wa {
    background: #25D366;
}

.nm-ct__mess-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nm-ct__mess-card strong {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
}

.nm-ct__mess-card span {
    font-size: 13px;
    opacity: .88;
    margin-top: 2px;
}

.nm-ct__mess-arrow {
    font-size: 18px;
    opacity: .72;
    flex: none !important;
    margin: 0 !important;
}

/* ===== КАРТА ===== */

.nm-ct__right {
    position: sticky;
    top: 100px;
}

.nm-ct__map-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2eaf3;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    margin-bottom: 12px;
    background: #f8fafc;
    height: 460px;
}

.nm-ct__map-wrap iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

.nm-ct__map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, transform .15s, background .2s, border-color .2s;
    border: 1px solid #e2eaf3;
    background: #fff;
    color: #0087D1;
}

.nm-ct__map-btn:hover {
    color: #005f9e;
    transform: translateY(-1px);
    border-color: #cfe4f6;
    background: #f8fbff;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 1024px) {
    .nm-ct__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nm-ct__right {
        position: static;
    }

    .nm-ct__map-wrap {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .nm-ct__cta-row {
        flex-direction: column;
    }

    .nm-ct__btn {
        width: 100%;
    }

    .nm-ct__map-btn {
        width: 100%;
    }

    .nm-ct__map-wrap {
        height: 360px;
    }
}

@media (max-width: 480px) {
    .nm-ct__title {
        font-size: 22px;
    }

    .nm-ct__sub {
        font-size: 13px;
    }

    .nm-ct__info-row {
        padding: 14px 16px;
    }

    .nm-ct__map-wrap {
        height: 320px;
    }
}

/* =====================================================
   СТРАНИЦА: Оплата | neomedrem.kz
   Префикс: nm-pay
===================================================== */
.nm-pay__h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0C1A2E;
    margin: 0 0 24px;
    line-height: 1.2;
}

/* ===== NOTICE ===== */

.nm-pay__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e8f4fc;
    border-left: 4px solid #0087D1;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 32px;
	  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

.nm-pay__notice-icon {
    color: #0087D1;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.nm-pay__notice p {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0C1A2E;
    line-height: 1.6;
    margin: 0;
}

/* ===== ЗАГОЛОВКИ H2 С ТРЕУГОЛЬНИКОМ ===== */

.nm-pay__h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0C1A2E;
    margin: 32px 0 12px;
}

.nm-pay__triangle {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nm-pay__triangle img {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
    display: block;
}

/* ===== ТЕКСТ ===== */

.nm-pay__p {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    color: #0C1A2E;
    line-height: 1.65;
    margin: 0 0 12px;
    padding-left: 30px;
}

/* ===== СПИСОК ===== */

.nm-pay__list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-direction: column;
    padding-left: 30px;
}

.nm-pay__list li {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #0C1A2E;
    line-height: 1.55;
    padding-left: 16px;
    position: relative;
	  margin-bottom: 6px;
}

.nm-pay__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0087D1;
    font-weight: 700;
}

.nm-pay__list li.nm-pay__li--info {
    padding-left: 13px;
    color: #0C1A2E;
    font-weight: 500;
}

.nm-pay__list li.nm-pay__li--info::before {
    content: '!';
    font-size: 14px;
    font-weight: 700;
    color: #0087D1;
}

.nm-pay__list ul {
    list-style: none;
    padding-left: 0px;
    margin: 6px 0 0;
    line-height: 1.55;
}

.nm-pay__list ul li::before {
    content: '—';
    position: absolute;
    color: #333;
    font-weight: 500;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 768px) {
    .nm-pay__h1 {font-size: 22px; font-weight: 600px; }
	  .nm-pay__h2 {font-size: 13px; font-weight: 700px; }
    .nm-pay__p { padding-left: 30px; font-size: 13px; font-weight: 500px;}
    .nm-pay__list { padding-left: 30px; font-size: 13px; font-weight: 500px;}
}

/* =====================================================
   NM: Страница — Статус доставки груза
   /dostavka/status-dostavki/
===================================================== */

.nm-track {
    font-family: 'Manrope', sans-serif;
    color: #0C1A2E;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

.nm-track__h1 {
    font-size: 28px;
    font-weight: 800;
    color: #0C1A2E;
    margin: 0 0 10px;
}

.nm-track__sub {
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* ===== ВИДЖЕТ ===== */

.nm-track__widget {
    background: #f8fafc;
    border: 1px solid #e2eaf3;
    border-radius: 14px;
    padding: 28px 32px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nm-track__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.nm-track__select-wrap {
    position: relative;
}

.nm-track__select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2eaf3;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0C1A2E;
    background: #fff;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color .2s;
}

.nm-track__select:focus {
    border-color: #0087D1;
}

.nm-track__input-wrap {
    display: flex;
    gap: 10px;
}

.nm-track__input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2eaf3;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #0C1A2E;
    background: #fff;
    outline: none;
    transition: border-color .2s;
}

.nm-track__input:focus {
    border-color: #0087D1;
}

.nm-track__btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #0087D1;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}

.nm-track__btn:hover {
    background: #006fb3;
}

.nm-track__error {
    font-size: 12px;
    color: #e53e3e;
    margin: 6px 0 0;
    min-height: 16px;
}

.nm-track__jet-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #e8f4fc;
    border-left: 3px solid #0087D1;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 13px;
    color: #0C1A2E;
    line-height: 1.5;
}

.nm-track__jet-notice svg {
    flex-shrink: 0;
    color: #0087D1;
    margin-top: 1px;
}

/* ===== INFO ===== */

.nm-track__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.nm-track__info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.nm-track__tri {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
    flex-shrink: 0;
    margin-top: 2px;
}

.nm-track__info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0C1A2E;
    margin-bottom: 2px;
}

.nm-track__info-item span {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.5;
}

/* ===== АДАПТИВ ===== */

@media (max-width: 480px) {
    .nm-track__widget { padding: 20px; }
    .nm-track__h1 { font-size: 22px; }
}

/* ===== РЕЗУЛЬТАТ ===== */

.nm-track__result {
    border-top: 1px solid #e2eaf3;
    padding-top: 20px;
    margin-top: 4px;
}

.nm-track__result-inner {
    font-size: 14px;
    color: #0C1A2E;
    line-height: 1.6;
}

.nm-track__loading {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.nm-track__result-empty,
.nm-track__result-cors {
    font-size: 14px;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.nm-track__result-empty a,
.nm-track__result-cors a {
    color: #0087D1;
    font-weight: 600;
    text-decoration: none;
}

.nm-track__result-empty a:hover,
.nm-track__result-cors a:hover {
    color: #005f9e;
}

/* =====================================================
   СТРАНИЦА: Документы | neomedrem.kz
   Префикс: nm-docs
===================================================== */

.nm-docs {
    font-family: 'Manrope', sans-serif;
    color: #0C1A2E;
    max-width: 1200px;
    margin: 0 auto;
}

.nm-docs__h1 {
    font-size: 22px;
    font-weight: 600;
    color: #0C1A2E;
    margin: 0 0 18px;
    line-height: 1.2;
}

.nm-docs__lead {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.7;
    margin: 0 0 28px;
}

.nm-docs__notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #e8f4fc;
    border-left: 4px solid #0087D1;
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 32px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
}

.nm-docs__notice-icon {
    color: #0087D1;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

.nm-docs__notice p {
    font-size: 13px;
    font-weight: 600;
    color: #0C1A2E;
    line-height: 1.6;
    margin: 0;
}

.nm-docs__h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #0C1A2E;
    margin: 32px 0 16px;
}

.nm-docs__triangle {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nm-docs__triangle img {
    width: 18px;
    height: 18px;
    transform: rotate(90deg);
    display: block;
}

.nm-docs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.nm-docs__grid--small {
    margin-bottom: 28px;
}

.nm-docs__card {
    --doc-accent: #0087D1;
    --doc-accent-dark: #005f9e;
    --doc-accent-glow: rgba(0, 135, 209, 0.22);
    --doc-gradient: linear-gradient(135deg, #00A0DE 0%, #0087D1 100%);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 190px;
    background: #fff;
    border: 1px solid #e2eaf3;
    border-radius: 12px;
    padding: 18px;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .18s;
    box-shadow: 0 2px 16px rgba(0,135,209,.05);
    position: relative;
    overflow: hidden;
}

.nm-docs__card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--doc-accent);
    opacity: .95;
}

.nm-docs__card:hover {
    border-color: var(--doc-accent);
    box-shadow: 0 0 15px var(--doc-accent-glow);
    transform: translateY(-2px);
}

.nm-docs__card-top {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.nm-docs__icon {
    flex-shrink: 0;
    min-width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--doc-gradient);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px var(--doc-accent-glow);
}

.nm-docs__card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0C1A2E;
    line-height: 1.35;
}

.nm-docs__card-text {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 18px;
}

.nm-docs__card-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--doc-accent);
    transition: color .2s;
}

.nm-docs__card:hover .nm-docs__card-link {
    color: var(--doc-accent-dark);
}

.nm-docs__note {
    background: #f8fafc;
    border: 1px solid #e2eaf3;
    border-radius: 12px;
    padding: 20px 22px;
    margin: 8px 0 36px;
}

.nm-docs__note-title {
    font-size: 15px;
    font-weight: 700;
    color: #0C1A2E;
    margin-bottom: 8px;
}

.nm-docs__note-text {
    font-size: 13px;
    color: #4a5568;
    line-height: 1.65;
}

.nm-docs__cta {
    background: linear-gradient(135deg, #0C1A2E 0%, #0d2748 100%);
    border-radius: 14px;
    padding: 42px 28px;
    text-align: center;
    margin-top: 8px;
}

.nm-docs__cta-text {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    line-height: 1.4;
}

.nm-docs__cta-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.nm-docs__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s;
}

.nm-docs__cta-btn:hover {
    transform: translateY(-1px);
}

.nm-docs__cta-btn--light {
    background: #fff;
    color: #0087D1;
}

.nm-docs__cta-btn--light:hover {
    background: #EBF5FC;
    color: #005f9e;
}

.nm-docs__cta-btn--whatsapp {
    background: #25D366;
    color: #fff;
}

.nm-docs__cta-btn--whatsapp:hover {
    background: #1dab52;
    color: #fff;
}

.nm-docs__cta-contacts {
    font-size: 14px;
    color: rgba(255,255,255,.5);
}

.nm-docs__cta-contacts a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.nm-docs__cta-contacts a:hover {
    color: #fff;
}

/* ===== ФОРМАТЫ ДОКУМЕНТОВ ===== */

/* PDF */
.nm-docs__card--pdf {
    --doc-accent: #E53935;
    --doc-accent-dark: #C62828;
    --doc-accent-glow: rgba(229, 57, 53, 0.22);
    --doc-gradient: linear-gradient(135deg, #FF7A7A 0%, #E53935 58%, #C62828 100%);
}

/* DOC / Word */
.nm-docs__card--doc {
    --doc-accent: #0087D1;
    --doc-accent-dark: #005f9e;
    --doc-accent-glow: rgba(0, 135, 209, 0.22);
    --doc-gradient: linear-gradient(135deg, #00A0DE 0%, #0087D1 100%);
}

/* JPG / Письмо о компании */
.nm-docs__card--jpg {
    --doc-accent: #B10B7E;
    --doc-accent-dark: #8F0966;
    --doc-accent-glow: rgba(177, 11, 126, 0.22);
    --doc-gradient: linear-gradient(135deg, #D946EF 0%, #B10B7E 58%, #8F0966 100%);
}

/* XLSX / Excel */
.nm-docs__card--xlsx {
  --doc-accent: #1D6F42;
  --doc-accent-dark: #155232;
  --doc-accent-glow: rgba(29, 111, 66, 0.22);
  --doc-gradient: linear-gradient(135deg, #2E9E5E 0%, #1D6F42 58%, #155232 100%);
}

@media (max-width: 1024px) {
    .nm-docs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nm-docs__grid {
        grid-template-columns: 1fr;
    }

    .nm-docs__cta {
        padding: 32px 20px;
    }

    .nm-docs__cta-actions {
        flex-direction: column;
    }

    .nm-docs__cta-btn {
        width: 100%;
    }
}

/* =====================================================
   NM: Страница "Доставка" — фирменный стиль НЕОМЕДРЕМ
   Префикс: nm-delivery
   Версия: 2.0 финал
===================================================== */

/* ===== БАЗОВЫЕ СТИЛИ ===== */

.nm-delivery {
  font-family: Manrope, sans-serif;
  color: #22324a;
  font-size: 14px;
  line-height: 1.7;
}

.nm-delivery a {
  color: #0087D1;
  text-decoration: none;
  transition: color .2s ease;
}

.nm-delivery a:hover {
  color: #0C1A2E;
}

.nm-delivery h1,
.nm-delivery h2,
.nm-delivery h3 {
  margin-top: 0;
  letter-spacing: -0.01em;
}

.nm-delivery h1 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #0C1A2E;
}

.nm-delivery h2 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #0C1A2E;
}

.nm-delivery p {
  margin: 0 0 14px;
}

.nm-delivery p:last-child {
  margin-bottom: 0;
}

/* ===== HERO ===== */

.nm-delivery__hero {
  margin-bottom: 22px;
}

.nm-delivery__hero-inner {
  padding: 26px 28px;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(12, 26, 46, 0.06);
}

.nm-delivery__lead {
  max-width: 900px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4a5568;
}

/* ===== NOTICE ===== */

.nm-delivery__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: #e8f4fc;
  border-left: 4px solid #0087D1;
  border-radius: 0 8px 8px 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
}

.nm-delivery__notice-icon {
  flex-shrink: 0;
  color: #0087D1;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}

.nm-delivery__notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
  color: #0C1A2E;
}

/* ===== СЕКЦИИ ===== */

.nm-delivery__section {
  margin-bottom: 28px;
}

/* ===== ФИРМЕННЫЙ ЗАГОЛОВОК С ТРЕУГОЛЬНИКОМ ===== */

.nm-delivery__h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0C1A2E;
  line-height: 1.4;
}

.nm-delivery__triangle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nm-delivery__triangle img {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  display: block;
}

/* ===== КАРТОЧКИ И БОКСЫ ===== */

.nm-delivery__card,
.nm-delivery__soft-box {
  background: #ffffff;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(12, 26, 46, 0.06);
  padding: 24px;
}

.nm-delivery__soft-box--light {
  background: #f8fbfe;
}

/* ===== ДВУХКОЛОНОЧНЫЙ ГРИД ===== */

.nm-delivery__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

/* ===== СПИСКИ ===== */

.nm-delivery__list {
  list-style: none;
  margin: 0;
  padding-left: 30px;
}

.nm-delivery__listing {
	list-style: none;
  margin: 0;
  padding-left: 30px;
}

.nm-delivery__list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 16px;
  color: #0C1A2E;
  line-height: 1.6;
}

.nm-delivery__listing li {
    position: relative;
    padding-left: 16px;
    color: #4a5568;
    line-height: 1.6;
}

.nm-delivery__list li:last-child {
  margin-bottom: 0;
}

.nm-delivery__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #0087D1;
  font-weight: 700;
}

.nm-delivery__listing li:last-child {
  margin-bottom: 0;
}

.nm-delivery__listing li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #0087D1;
  font-weight: 700;
}

/* Список с крупными пунктами (иконка + заголовок + текст) */

.nm-delivery__feature-list {
  list-style: none;
  margin: 0;
  padding-left: 30px;
  display: grid;
  gap: 14px;
}

.nm-delivery__feature-list li {
  position: relative;
  padding-left: 16px;
  color: #4a5568;
  line-height: 1.6;
}

.nm-delivery__feature-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #0087D1;
  font-weight: 700;
}

.nm-delivery__feature-list strong {
  display: block;
  margin-bottom: 2px;
  color: #0C1A2E;
  font-size: 14px;
}

/* ===== STEPS ===== */

.nm-delivery__steps {
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(12, 26, 46, 0.06);
}

.nm-delivery__steps-list {
  display: grid;
  gap: 0;
}

.nm-delivery__step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid #eef3f8;
}

.nm-delivery__step:first-child {
  padding-top: 4px;
  border-top: 0;
}

.nm-delivery__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #00A0DE 0%, #0087D1 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 135, 209, 0.18);
}

.nm-delivery__step-body strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.45;
  color: #0C1A2E;
}

.nm-delivery__step-body p {
  margin: 0;
  color: #4a5568;
}

/* ===== КНОПКИ ===== */

.nm-delivery__actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.nm-delivery__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid #d8e3ee;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 26, 46, 0.05);
  color: #0C1A2E;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition: border-color .2s, color .2s, box-shadow .2s, transform .15s;
}

.nm-delivery__btn:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.15), 0 0 4px rgba(255, 255, 255, 0.08);
}

.nm-delivery__btn--primary {
  background: #0087D1;
  border-color: #0087D1;
  color: #ffffff;
  box-shadow: none;
}

.nm-delivery__btn--primary:hover {
  background: #00A0DE;
  border-color: #00A0DE;
  color: #ffffff;
  box-shadow: none;
  transform: none;
}

.nm-delivery__btn--primary,
.nm-delivery__btn--primary:hover,
.nm-delivery__btn--primary:visited,
.nm-delivery__btn--primary:focus {
  color: #ffffff !important;
}

/* ===== ACCORDION ===== */

.nm-delivery__accordion {
  display: grid;
  gap: 10px;
}

.nm-delivery__item {
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(12, 26, 46, 0.05);
  overflow: hidden;
}

.nm-delivery__summary {
  position: relative;
  display: block;
  padding: 17px 52px 17px 20px;
  cursor: pointer;
  list-style: none;
  background: #fff;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  color: #0C1A2E;
  transition: background .15s;
}

.nm-delivery__summary::-webkit-details-marker {
  display: none;
}

.nm-delivery__summary::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid #0C1A2E;
  border-bottom: 2px solid #0C1A2E;
  transform: rotate(45deg);
  transition: transform .2s ease, margin-top .2s ease;
}

.nm-delivery__item[open] {
  box-shadow: 0 8px 22px rgba(12, 26, 46, 0.08);
  border-color: #ccdff0;
}

.nm-delivery__item[open] .nm-delivery__summary {
  background: #f4f9fd;
}

.nm-delivery__item[open] .nm-delivery__summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.nm-delivery__content {
  padding: 18px 20px 20px;
  border-top: 1px solid #edf2f7;
  color: #4a5568;
}

/* ===== CTA ===== */

.nm-delivery__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0C1A2E 0%, #0d2748 100%);
  box-shadow: 0 10px 28px rgba(12, 26, 46, 0.18);
}

.nm-delivery__cta h2 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 18px;
}

.nm-delivery__cta p {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.65;
}

.nm-delivery__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991px) {
  .nm-delivery__grid-2 {
    grid-template-columns: 1fr;
  }

  .nm-delivery__cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .nm-delivery__cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .nm-delivery {
    font-size: 13px;
  }

  .nm-delivery h1 {
    font-size: 20px;
  }

  .nm-delivery h2 {
    font-size: 16px;
  }

  .nm-delivery__hero-inner,
  .nm-delivery__steps,
  .nm-delivery__card,
  .nm-delivery__soft-box,
  .nm-delivery__content {
    padding: 16px;
  }

  .nm-delivery__cta {
    padding: 20px 16px;
  }

  .nm-delivery__step {
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .nm-delivery__step-num {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .nm-delivery__summary {
    padding: 15px 44px 15px 16px;
    font-size: 14px;
  }

  .nm-delivery__btn {
    min-height: 44px;
    font-size: 13px;
  }

  .nm-delivery__cta-actions {
    flex-direction: column;
  }

  .nm-delivery__h2 {
    gap: 10px;
  }

  .nm-delivery__triangle img {
    width: 16px;
    height: 16px;
  }
}

/* =====================================================
   NM: Страница "Акционные предложения"
   Префикс: nm-sale
===================================================== */

/* ===== БАЗОВЫЕ СТИЛИ ===== */

.nm-sale {
  font-family: Manrope, sans-serif;
  color: #22324a;
  font-size: 14px;
  line-height: 1.7;
}

.nm-sale a {
  color: #0087D1;
  text-decoration: none;
  transition: color .2s ease;
}

.nm-sale a:hover {
  color: #0C1A2E;
}

.nm-sale h1 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #0C1A2E;
  letter-spacing: -0.01em;
}

.nm-sale h2 {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  color: #0C1A2E;
  letter-spacing: -0.01em;
}

.nm-sale p {
  margin: 0 0 14px;
}

.nm-sale p:last-child {
  margin-bottom: 0;
}

/* ===== СЕКЦИИ ===== */

.nm-sale__section {
  margin-bottom: 28px;
}

/* ===== HERO ===== */

.nm-sale__hero {
  margin-bottom: 22px;
}

.nm-sale__hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid #e2eaf3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(12, 26, 46, 0.06);
}

.nm-sale__hero-text {
  flex: 1;
}

.nm-sale__lead {
  max-width: 680px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4a5568;
}

.nm-sale__hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00A0DE 0%, #0087D1 100%);
  box-shadow: 0 8px 24px rgba(0, 135, 209, 0.3);
  text-align: center;
  gap: 2px;
}

.nm-sale__badge-icon {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.nm-sale__badge-text {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  line-height: 1.3;
}

/* ===== NOTICE ===== */

.nm-sale__notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  padding: 16px 20px;
  background: #e8f4fc;
  border-left: 4px solid #0087D1;
  border-radius: 0 8px 8px 0;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.12);
}

.nm-sale__notice-icon {
  flex-shrink: 0;
  color: #0087D1;
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
}

.nm-sale__notice p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
  color: #0C1A2E;
}

/* ===== ПЕРКИ ===== */

.nm-sale__perks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}

.nm-sale__perk {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e2eaf3;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(12, 26, 46, 0.04);
}

.nm-sale__perk-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00A0DE 0%, #0087D1 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 135, 209, 0.2);
}

.nm-sale__perk-text {
  font-size: 13px;
  color: #0C1A2E;
  line-height: 1.5;
  font-weight: 500;
}

/* ===== ФИРМЕННЫЙ ЗАГОЛОВОК ===== */

.nm-sale__h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: #0C1A2E;
  line-height: 1.4;
}

.nm-sale__triangle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nm-sale__triangle img {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  display: block;
}

/* ===== КОНТЕЙНЕР ТОВАРОВ ===== */

.nm-sale__products {
  min-height: 200px;
}

/* ===== КНОПКИ ===== */

.nm-sale__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid #d8e3ee;
  background: #ffffff;
  color: #0C1A2E;
  font-family: Manrope, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: border-color .2s, color .2s, box-shadow .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(12, 26, 46, 0.05);
}

.nm-sale__btn:hover {
  border-color: #0087D1;
  color: #0087D1;
  box-shadow: 0 10px 24px rgba(0, 135, 209, 0.12);
  transform: translateY(-1px);
}

.nm-sale__btn--primary {
  background: #0087D1;
  border-color: #0087D1;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(0, 135, 209, 0.22);
}

.nm-sale__btn--primary:hover {
  background: #00A0DE;
  border-color: #00A0DE;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(0, 135, 209, 0.3);
  transform: translateY(-1px);
}

/* ===== CTA ===== */

.nm-sale__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0C1A2E 0%, #0d2748 100%);
  box-shadow: 0 10px 28px rgba(12, 26, 46, 0.18);
}

.nm-sale__cta h2 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 18px;
}

.nm-sale__cta p {
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.65;
}

.nm-sale__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.nm-sale__cta .nm-sale__btn {
  color: rgba(255, 255, 255, .85);
  border-color: rgba(255, 255, 255, .25);
  background: transparent;
  box-shadow: none;
}

.nm-sale__cta .nm-sale__btn:hover {
  border-color: rgba(255, 255, 255, .5);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, .15);
  transform: none;
}

.nm-sale__products .wd-product-wrapper {
  background: #ffffff;
  border: 1px solid #e9eef5;
  border-radius: 8px;
  padding: 22px 18px 20px;
  overflow: hidden;
  height: 100%;
  gap: 10px;
  box-shadow:
    3px 4px 10px rgba(15, 23, 42, 0.10),
    0 1px 3px rgba(15, 23, 42, 0.06);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.nm-sale__products .wd-product-wrapper:hover {
  border-color: #0087d1;
  box-shadow:
    0 12px 18px rgba(15, 23, 42, 0.18),
    0 6px 8px rgba(15, 23, 42, 0.10);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 991px) {
  .nm-sale__perks {
    grid-template-columns: repeat(2, 1fr);
  }

  .nm-sale__cta {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .nm-sale__cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .nm-sale {
    font-size: 13px;
  }

  .nm-sale h1 {
    font-size: 20px;
  }

  .nm-sale h2 {
    font-size: 16px;
  }

  .nm-sale__hero-inner {
    padding: 20px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nm-sale__hero-badge {
    display: none;
  }

  .nm-sale__perks {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .nm-sale__cta {
    padding: 20px 16px;
  }

  .nm-sale__cta-actions {
    flex-direction: column;
  }

  .nm-sale__btn {
    min-height: 44px;
    font-size: 13px;
  }
}












/* === СРЕДНЯЯ ПОЛОСА: скрываем sticky-меню только в ОБЫЧНОЙ шапке, липкую не трогаем === */
@media (min-width: 1025px) {
  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .whb-col-center.whb-column9 {
    display: none !important;
  }

  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .whb-general-header-inner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
  }

  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .whb-col-left.whb-column8 {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }

  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .whb-col-right.whb-column10 {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 28px !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
  }

  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .wd-search-form.wd-header-search-form {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: 760px !important;
    min-width: 520px !important;
  }

  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .wd-search-form.wd-header-search-form form.searchform {
    width: 100% !important;
  }

  .whb-header:not(.whb-clone):not(.whb-sticked) .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .wd-search-form.wd-header-search-form input.s {
    width: 100% !important;
  }

  .whb-header.whb-clone.whb-sticked .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .whb-col-center.whb-column9 {
    display: block !important;
  }

  .whb-header.whb-clone.whb-sticked .whb-main-header > .whb-row.whb-general-header.whb-sticky-row .whb-col-right.whb-column10 {
    flex: initial !important;
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  .whb-header.whb-clone.whb-sticked .wd-search-form.wd-header-search-form {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: initial !important;
  }
}

/* === ПОПУЛЯРНЫЕ ЗАПРОСЫ В ПОИСКЕ: заголовок и кнопки === */

.wd-search-title.title {
  margin-bottom: 0;
  text-transform: none !important;
  font-size: 14px !important;
  line-height: 1 !important;
  width: 500px;
  max-width: 100%;
}

.wd-search-title.title::first-letter {
  text-transform: uppercase;
}

.wd-search-requests ul a {
  display: block;
  padding: var(--wd-requests-pd);
  border-radius: calc(var(--wd-brd-radius) / 1.5);
  background-color: var(--color-gray-200);
  color: var(--color-gray-600);
  text-transform: none !important;
  font-weight: 600;
  font-size: 12px !important;
  line-height: 1;
  text-decoration: none;
  width: auto;
  max-width: 100%;
}

.wd-search-requests ul a::first-letter {
  text-transform: uppercase;
}









/* Стили для блока меню в шапке (whb-header-bottom): ширина, скругление */
.whb-header-bottom {
  max-width: 1200px;
  margin: 0 auto !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #006fb5, #009BF0) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 4px 6px rgba(255, 255, 255, 0.4),
    inset 0 -4px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease-in-out;  
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.whb-header-bottom .menu > li > a {
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.whb-header-bottom .menu > li > a:hover {
  transform: translateY(-1px);
}

.nm_headphone {color:#0097b2 !important;}

/* Сброс скругления у всплывающего меню  */
.wd-dropdown-menu {
  border-radius: 0 !important;
}

.wd-nav-vertical.wd-design-default {
    border: 0px;
}

/* Отключаем тень (по желанию можно оставить лёгкую) */
.wd-dropdown-menu,
.wd-dropdown-menu::before {
  box-shadow: none !important;
}

/* Вертикальная линия между левым меню и контентом */
.wd-dropdown-menu.wd-design-full-width {
  display: flex !important;
  gap: 30px;
  padding: 30px !important;
  border-left: 1px solid #4C4C4C; /* линия между блоками */
}

.wd-header-cats {
  border-radius: 0 !important;
	top: 1px !important;
}

/* Поднимаем выпадающее меню вверх на 1px */
.wd-dropdown-cats .wd-dropdown-menu {
  top: -1px !important;
}

/* Опционально — можно назначить стиль для колонок в мега-меню */
ul.wd-sub-menu.wd-sub-accented.mega-menu-list li > a {
  margin: 5px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Убираем скругление у всех пунктов вертикального меню, включая при наведении */
.wd-dropdown-cats .wd-nav-vertical li,
.wd-dropdown-cats .wd-nav-vertical li > a,
.wd-dropdown-cats .wd-nav-vertical li:hover,
.wd-dropdown-cats .wd-nav-vertical li:hover > a {
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* Настройка глобальной переменной и базовый стиль */
:root {
	--wd-brd-radius: 0px !important; /* Углы меню */
}

/* Основной стиль заголовка меню */
.wd-header-cats .menu-opener {
	font-size: var(--wd-brd-radius) !important;
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 6px; /* Расстояние между иконкой и текстом */
  cursor: pointer !important;
  transition: color 0.3s ease;
}

/* Иконка (папка) — фиксируем, чтобы не анимировалась */
.menu-opener-icon {
  transition: none !important;
  transform: translateY(0px) !important;
}

/* Текст "Каталог по направлениям" — анимируем отдельно */
.menu-open-label {
  font-size: var(--wd-header-el-font-size) !important;
  line-height: 1.2;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Эффект при наведении: только текст приподнимается */
.wd-header-cats:hover .menu-open-label {
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Компактные строки в выпадающем меню (левая колонка и правые списки) */
/* Компактные строки в выпадающем меню (лево + правые колонки) */
.wd-dropdown-cats .wd-nav-vertical > li > a,
.wd-dropdown-cats .wd-sub-menu li > a,
.wd-dropdown-cats .sub-sub-menu li > a,
.wd-dropdown-menu .mega-menu-list li > a {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}

/* На всякий случай убираем зазор между LI */
.wd-dropdown-menu .mega-menu-list li { margin: 0 !important; }

/* ===== Подменю справа: компактные строки, без лишнего интервала ===== */
.wd-dropdown-menu .mega-menu-list li,
.wd-dropdown-menu .mega-menu-list li > a {
  margin: 0 !important;                 /* убираем вертикальный зазор */
}

.wd-dropdown-menu .mega-menu-list li > a {
  padding: 4px 10px !important;         /* компактные отступы по вертикали */
  line-height: 1.15 !important;         /* плотнее текст */
  min-height: 0 !important;             /* на случай min-height из темы */
}

.whb-sticked .whb-general-header .wd-dropdown:not(.sub-sub-menu) {
	margin-top: 26px;
}

  .nm-more-item > ul li a {
  color: #fff !important;
  padding: 8px 16px !important;
  display: block !important;
  font-size: 13px !important;
  white-space: nowrap !important;
}

.nm-more-item > ul li a:hover {
  background: rgba(255,255,255,0.15) !important;
}

.nm-more-item > a {
  letter-spacing: 3px;
}

/* 1280-1195px — только запрет переноса */
@media (min-width: 1195px) and (max-width: 1280px) {
  #menu-main-navigation.wd-nav-main {
    flex-wrap: nowrap !important;
  }
}

/* 1195-1130px — уменьшаем gap и padding */
@media (min-width: 1130px) and (max-width: 1195px) {
  #menu-main-navigation.wd-nav-main {
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  #menu-main-navigation.wd-nav-main > li > a {
    padding-left: clamp(2px, 0.4vw, 6px) !important;
    padding-right: clamp(2px, 0.4vw, 6px) !important;
  }
  #menu-main-navigation.wd-nav-main > li > a .nav-link-text {
    white-space: nowrap !important;
  }
  .whb-header-bottom .menu-open-label {
    white-space: nowrap !important;
  }
  .whb-header-bottom .wd-header-cats .menu-opener {
    padding-left: clamp(4px, 0.5vw, 8px) !important;
    padding-right: clamp(4px, 0.5vw, 8px) !important;
  }
}

/* 1130-1075px — шрифт 13px */
@media (min-width: 1075px) and (max-width: 1130px) {
  #menu-main-navigation.wd-nav-main {
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  #menu-main-navigation.wd-nav-main > li > a {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  #menu-main-navigation.wd-nav-main > li > a .nav-link-text {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  .whb-header-bottom .menu-open-label {
    font-size: 13px !important;
    white-space: nowrap !important;
  }
  .whb-header-bottom .wd-header-cats .menu-opener {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* 1025-1075px — шрифт 12px */
@media (min-width: 1025px) and (max-width: 1075px) {
  #menu-main-navigation.wd-nav-main {
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }
  #menu-main-navigation.wd-nav-main > li > a {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
  #menu-main-navigation.wd-nav-main > li > a .nav-link-text {
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  .whb-header-bottom .menu-open-label {
    font-size: 12px !important;
    white-space: nowrap !important;
  }
  .whb-header-bottom .wd-header-cats .menu-opener {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}

/* =========================================================
   ЛИПКАЯ ШАПКА: hover и active только для sticky-меню
   Обычное меню не трогаем
   ========================================================= */

@media (min-width: 1025px) {

  /* текст верхних пунктов sticky-меню */
  #menu-main-navigation-sticky > li > a,
  #menu-main-navigation-sticky > li > a .nav-link-text {
    transition: color .25s ease !important;
  }

  /* стрелка у пунктов sticky-меню */
  #menu-main-navigation-sticky > li.menu-item-has-children > a::after {
    transition: color .25s ease, opacity .25s ease !important;
  }

  /* hover — текст */
  #menu-main-navigation-sticky > li:hover > a,
  #menu-main-navigation-sticky > li:hover > a .nav-link-text,
  #menu-main-navigation-sticky > li > a:hover,
  #menu-main-navigation-sticky > li > a:hover .nav-link-text {
    color: #0087d1 !important;
  }

  /* hover — стрелка */
  #menu-main-navigation-sticky > li.menu-item-has-children:hover > a::after,
  #menu-main-navigation-sticky > li.menu-item-has-children > a:hover::after {
    color: #0087d1 !important;
    opacity: 1 !important;
  }

  /* active / current — текст */
  #menu-main-navigation-sticky > li.current-menu-item > a,
  #menu-main-navigation-sticky > li.current-menu-item > a .nav-link-text,
  #menu-main-navigation-sticky > li.current-menu-ancestor > a,
  #menu-main-navigation-sticky > li.current-menu-ancestor > a .nav-link-text,
  #menu-main-navigation-sticky > li.current-menu-parent > a,
  #menu-main-navigation-sticky > li.current-menu-parent > a .nav-link-text,
  #menu-main-navigation-sticky > li.current-page-ancestor > a,
  #menu-main-navigation-sticky > li.current-page-ancestor > a .nav-link-text {
    color: #0087d1 !important;
  }

  /* active / current — стрелка */
  #menu-main-navigation-sticky > li.current-menu-item.menu-item-has-children > a::after,
  #menu-main-navigation-sticky > li.current-menu-ancestor.menu-item-has-children > a::after,
  #menu-main-navigation-sticky > li.current-menu-parent.menu-item-has-children > a::after,
  #menu-main-navigation-sticky > li.current-page-ancestor.menu-item-has-children > a::after {
    color: #0087d1 !important;
    opacity: 1 !important;
  }
}


/* =========================================================
   НИЖНЯЯ СИНЯЯ ПОЛОСА ШАПКИ (whb-header-bottom)
   ========================================================= */

.whb-header-bottom {
  max-width: 1200px;
  margin: 0 auto !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #006fb5, #009bf0) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.25),
    inset 0 4px 6px rgba(255, 255, 255, 0.4),
    inset 0 -4px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease-in-out;
}

.whb-header-bottom .menu > li > a {
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.whb-header-bottom .menu > li > a:hover {
  transform: translateY(-1px);
}

.nm_headphone {
  color: #0097b2 !important;
}

/* =========================================================
   ОБЩИЕ НАСТРОЙКИ DROPDOWN / КАТАЛОГА
   ========================================================= */

:root {
  --wd-brd-radius: 0px !important;
  --nm-icon-size: 20px;
}

.wd-dropdown-menu {
  border-radius: 0 !important;
}

.wd-dropdown-menu,
.wd-dropdown-menu::before {
  box-shadow: none !important;
}

.wd-nav-vertical.wd-design-default {
  border: 0 !important;
}

/* =========================================================
   ЛЕВЫЙ КАТАЛОГ (wd-header-cats)
   ========================================================= */

.wd-header-cats {
  border-radius: 0 !important;
  top: 1px !important;
}

.wd-header-cats .menu-opener {
  font-size: var(--wd-brd-radius) !important;
  color: #ffffff !important;
  background: transparent !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer !important;
  transition: color 0.3s ease;
}

.menu-opener-icon {
  transition: none !important;
  transform: translateY(0) !important;
}

.menu-open-label {
  font-size: var(--wd-header-el-font-size) !important;
  line-height: 1.2;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.wd-header-cats:hover .menu-open-label {
  transform: translateY(-1px);
  color: rgba(255, 255, 255, 0.8) !important;
}

.wd-dropdown-cats .wd-dropdown-menu {
  top: -1px !important;
}

.wd-dropdown-cats .wd-nav-vertical li,
.wd-dropdown-cats .wd-nav-vertical li > a,
.wd-dropdown-cats .wd-nav-vertical li:hover,
.wd-dropdown-cats .wd-nav-vertical li:hover > a {
  border-radius: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}


/* =========================================================
   FULL-WIDTH DROPDOWN КАТАЛОГА
   ========================================================= */

.wd-dropdown-menu.wd-design-full-width {
  display: flex !important;
  gap: 30px;
  padding: 30px !important;
  border-left: 1px solid #4c4c4c;
}


/* =========================================================
   ВЫПАДАШКИ ВЕРХНЕГО СИНЕГО МЕНЮ (HTML-блоки)
   ФИКС СМЕЩЕНИЯ И ЗАЗОРА 1px
   ========================================================= */

.whb-header-bottom .container {
  position: relative;
}

.whb-header-bottom .wd-header-nav,
.whb-header-bottom .wd-header-nav .menu,
.whb-header-bottom .wd-header-nav .menu > li {
  position: static !important;
}

.whb-header-bottom .wd-header-nav .menu > li.menu-mega-dropdown > .wd-dropdown-menu {
  left: 12px !important;
  right: 12px !important;
  width: auto !important;
  top: calc(100% + 1px) !important;
  margin-top: 0 !important;
  box-shadow: none !important;
}

.whb-header-bottom .wd-header-nav .menu > li.menu-mega-dropdown > .wd-dropdown-menu[style] {
  left: 25px !important;
  right: 12px !important;
  width: auto !important;
}

/* Фон внутренностей выпадашки */
.whb-header-bottom .wd-header-nav .menu > li.menu-mega-dropdown > .wd-dropdown-menu .wd-dropdown-inner,
.whb-header-bottom .wd-header-nav .menu > li.menu-mega-dropdown > .wd-dropdown-menu .wd-entry-content {
  background: #fff;
}


/* =========================================================
   СПИСКИ В МЕГА-МЕНЮ: КОМПАКТНОСТЬ И АККУРАТНОСТЬ
   ========================================================= */

ul.wd-sub-menu.wd-sub-accented.mega-menu-list li > a {
  margin: 5px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.wd-dropdown-cats .wd-nav-vertical > li > a,
.wd-dropdown-cats .wd-sub-menu li > a,
.wd-dropdown-cats .sub-sub-menu li > a,
.wd-dropdown-menu .mega-menu-list li > a {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  line-height: 1.2 !important;
  min-height: 0 !important;
}

.wd-dropdown-menu .mega-menu-list li {
  margin: 0 !important;
}

.wd-dropdown-menu .mega-menu-list li,
.wd-dropdown-menu .mega-menu-list li > a {
  margin: 0 !important;
}

.wd-dropdown-menu .mega-menu-list li > a {
  padding: 4px 10px !important;
  line-height: 1.15 !important;
  min-height: 0 !important;
}


/* =========================================================
   БЛОК "ВСЕ КАТЕГОРИИ" ТОЛЬКО ДЛЯ .nm-equip-menu
   ========================================================= */

/* скрытые дополнительные пункты */
.nm-equip-menu .sub-sub-menu > li.nm-extra {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    height 0.25s ease,
    opacity 0.2s ease,
    transform 0.25s ease;
  pointer-events: none;
}

/* раскрытое состояние */
.nm-equip-menu .sub-sub-menu.nm-open > li.nm-extra {
  height: var(--nm-h);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ссылка-триггер */
.nm-equip-menu .sub-sub-menu > li.nm-toggle > a {
  color: #0097b2 !important;
  font-weight: 500;
  display: block;
  padding: 2px 0;
  text-decoration: none;
}

/* иконка-треугольник */
.nm-equip-menu .sub-sub-menu > li.nm-toggle > a .nm-caret {
  font-size: var(--nm-icon-size);
  line-height: 1;
  margin-left: 6px;
}

/* убираем подчёркивание */
.nm-equip-menu .sub-sub-menu > li > a {
  text-decoration: none;
}

/* hover обычных пунктов */
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a:hover {
  color: #0097b2 !important;
  text-decoration: none !important;
}

/* hover триггера */
.nm-equip-menu .sub-sub-menu > li.nm-toggle > a:hover {
  color: #000 !important;
  text-decoration: none !important;
}


/* =========================================================
   HOVER-АНИМАЦИЯ ДЛЯ ПУНКТОВ МЕНЮ
   ========================================================= */

.nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a,
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.18s ease, color 0.18s ease;
  will-change: transform;
}

.nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a:hover,
.nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a:focus-visible,
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a:hover,
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a:focus-visible {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a,
  .nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a {
    transition: none;
  }
}


/* =========================================================
   МОБИЛКА: НИЧЕГО НЕ СКРЫВАЕМ
   ========================================================= */

@media (max-width: 1024px) {
  .nm-equip-menu .sub-sub-menu > li.nm-extra {
    height: auto !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  .nm-equip-menu .sub-sub-menu > li.nm-toggle {
    display: none !important;
  }
}

/* =========================================================
   FLUENT FORMS — ЛИНИЯ ПРОГРЕССА
   ========================================================= */

.fluentform .ff-step-titles li:before {
  background-color: #e0e0e0;
}

.fluentform .ff-step-titles li.ff-completed:before {
  background-color: #c30 !important;
}


/* ============================
   NM: Слайдер на главной
   ============================ */

#slider-290 .wd-carousel-inner,
#slider-290 .wd-slide {
  border-radius: 8px;
  overflow: hidden;
}

#slider-290 {
  border-radius: 8px;
  box-shadow: 18px 18px 40px rgba(0, 0, 0, 0.35);
}

/* ===== NM: Slide 1 — Операционная ===== */

/* NM: Slide 1 — оверлей смещён влево */
#slide-33713 .wd-slide-bg {
  box-shadow: inset 500px 0 300px -50px rgba(12,26,46,0.88);
}
#slide-33713 .wd-slide-container {
  position: relative;
  z-index: 2;
}

/* NM: Slide 1 — стили текстовых элементов */
#slide-33713 .tag.tag-blue {
  display: inline-block;
  background: rgba(0,135,209,0.15);
  color: #66BCF0;
  border: 1px solid rgba(0,135,209,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  line-height: 1.4;
}

#slide-33713 .title.t-blue {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}
#slide-33713 .title.t-blue em {
  font-style: normal;
  color: #66BCF0;
}

#slide-33713 .desc {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

#slide-33713 .st-n {
  font-family: 'Manrope', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}
#slide-33713 .st-n span {
  color: #0087D1;
}
#slide-33713 .st-l {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

/* NM: Slide 2 — оснащение под ключ */
#slide-33796 .wd-slide-bg {
  box-shadow: inset 500px 0 300px -50px rgba(12,26,46,0.88);
}
#slide-33796 .wd-slide-container {
  position: relative;
  z-index: 2;
}

#slide-33796 .tag.tag-blue {
  display: inline-block;
  background: rgba(0,135,209,0.15);
  color: #66BCF0;
  border: 1px solid rgba(0,135,209,0.25);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  line-height: 1.4;
}

#slide-33796 .title.t-blue {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}
#slide-33796 .title.t-blue em {
  font-style: normal;
  color: #66BCF0;
}

#slide-33796 .desc {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

#slide-33796 .elementor-element-29badef {
  display: flex !important;
  gap: 12px;
}
#slide-33796 .nm-s1-btn1 .elementor-button,
#slide-33796 .nm-s1-btn2 .elementor-button {
  white-space: nowrap;
  padding: 12px 28px;
}

/* NM: Slide 3 — КП для закупщиков */
#slide-33797 .wd-slide-bg {
  box-shadow: inset 500px 0 300px -50px rgba(12,26,46,0.88);
}
#slide-33797 .wd-slide-container {
  position: relative;
  z-index: 2;
}

#slide-33797 .tag.tag-gold {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  line-height: 1.4;
}

#slide-33797 .title.t-gold {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin: 0;
}
#slide-33797 .title.t-gold em {
  font-style: normal;
  color: #F59E0B;
}

#slide-33797 .desc {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

/* ============================
   NM: Промо слайдер справа
   ============================ */

#slider-2479 .wd-carousel-inner,
#slider-2479 .wd-slide {
  border-radius: 8px;
  overflow: hidden;
}

#slider-2479 {
  border-radius: 8px;
  box-shadow: 18px 18px 40px rgba(0, 0, 0, 0.35);
}

#slider-2479 .wd-carousel-wrap {
  height: 300px !important;
}

#slider-2479 .wd-slide,
#slider-2479 .wd-carousel-item {
  height: 300px !important;
}

/* NM: Мобильная адаптация промо-слайдера */
@media (max-width: 1024px) {
  #slider-2479 .wd-carousel-wrap,
  #slider-2479 .wd-slide,
  #slider-2479 .wd-carousel-item {
    height: auto !important;
    min-height: 280px;
  }

  #slide-34053 .wd-slide-bg,
  #slide-34070 .wd-slide-bg,
  #slide-34106 .wd-slide-bg {
    box-shadow: inset 0 -140px 90px -20px rgba(12,26,46,0.90);
  }
}

@media (max-width: 768px) {
  #slider-2479 .wd-carousel-wrap,
  #slider-2479 .wd-slide,
  #slider-2479 .wd-carousel-item {
    height: auto !important;
    min-height: 260px;
  }

  #slider-2479 {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  }

  #slide-34053 .wd-slide-bg,
  #slide-34070 .wd-slide-bg,
  #slide-34106 .wd-slide-bg {
    box-shadow: inset 0 -120px 80px -20px rgba(12,26,46,0.90);
  }
}

@media (max-width: 480px) {
  #slider-2479 .wd-carousel-wrap,
  #slider-2479 .wd-slide,
  #slider-2479 .wd-carousel-item {
    min-height: 220px;
  }
}

/* ============================
   NM: Промо-слайд 1 — МедТеКо
   ============================ */

/* Оверлей промо-слайд */

#slide-34053 .wd-slide-bg {
  box-shadow: inset 340px 0 230px -20px rgba(12,26,46,0.82);
	background-color: transparent !important;
}

#slide-34053 .wd-slide-container {
  position: relative;
  z-index: 2;
}

.nm-promo-s1-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0;
}
.nm-promo-s1-tag {
  display: inline-block;
  background: rgba(0,145,173,0.15);
  color: #0091AD;
  border: 1px solid rgba(0,145,173,0.25);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
}

h3.nm-promo-s1-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

h3.nm-promo-s1-title em {
  font-style: normal;
  color: #0091AD;
}

.nm-promo-s1-list {
  list-style: none;
  padding-left: 12px;
  border-left: 2px solid #0091AD;
  margin: 0;
}

.nm-promo-s1-list li {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 0.5;
  padding: 2px 0;
}

.nm-promo-s1-btn {
  display: inline-block;
  background: #0087D1;
  color: #fff;
  padding: 9px 22px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}
.nm-promo-s1-btn:hover {
  background: #006BAA;
	color: #fff;
}

@media (max-width: 1024px)  {
	.nm-promo-s1-content {
  gap: 18px;
  }
	.nm-promo-s1-tag {
    font-size: 12px;
  }
		h3.nm-promo-s1-title {
    font-size: 24px;
  }
		.nm-promo-s1-btn {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
  }
	.nm-promo-s1-list li {
    font-size: 18px;
		line-height: 0.8;
  }
}


@media (max-width: 768px) {
	.nm-promo-s1-tag {
    font-size: 11px;
  }
		h3.nm-promo-s1-title {
    font-size: 22px;
  }
	.nm-promo-s1-list li {
    font-size: 16px;
		line-height: 0.8;
  }
	.nm-promo-s1-btn {
    font-size: 13px;
    font-weight: 600;
		margin-top: 12px;
}
	.nm-promo-s1-content {
    gap: 18px;
  }
}

/* NM: Промо-слайд 2 — Аксион */

#slide-34070 .wd-slide-bg {
  box-shadow: inset 340px 0 230px -20px rgba(12,26,46,0.82);
	background-color: transparent !important;
}

#slide-34070 .wd-slide-container {
  position: relative;
  z-index: 2;
}

.nm-promo-s2-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0;
}

.nm-promo-s2-tag {
  display: inline-block;
  background: rgba(245,158,11,0.2);
  color: #F59E0B;
  border: 1px solid rgba(245,158,11,0.4);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
}

h3.nm-promo-s2-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

h3.nm-promo-s2-title em {
  font-style: normal;
  color: #F59E0B;
}

.nm-promo-s2-desc {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0;
}

.nm-promo-s2-btn {
  display: inline-block;
  background: #F59E0B;
  color: #0C1A2E;
  padding: 9px 22px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}

.nm-promo-s2-btn:hover {
  background: #D97706;
  color: #0C1A2E;
}

.nm-promo-s2-list {
  list-style: none;
  padding-left: 12px;
  border-left: 2px solid #F59E0B;
  margin: 0;
}

.nm-promo-s2-list li {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 0.5;
  padding: 2px 0;
}

@media (max-width: 1024px)  {
	.nm-promo-s2-content {
  gap: 18px;
  }
	.nm-promo-s2-tag {
    font-size: 12px;
  }
		h3.nm-promo-s2-title {
    font-size: 24px;
  }
		.nm-promo-s2-btn {
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
  }
	.nm-promo-s2-list li {
    font-size: 18px;
		line-height: 0.8;
  }
}


@media (max-width: 768px) {
	.nm-promo-s2-tag {
    font-size: 11px;
  }
		h3.nm-promo-s2-title {
    font-size: 22px;
  }
	.nm-promo-s1-list li {
    font-size: 16px;
		line-height: 0.8;
  }
	.nm-promo-s2-btn {
    font-size: 13px;
    font-weight: 600;
		margin-top: 12px;
}
	.nm-promo-s2-content {
    gap: 18px;
  }
}

/* NM: Промо-слайд 3 — НИЦ Матрикс */

#slide-34106 .wd-slide-bg {
  box-shadow: inset 340px 0 230px -20px rgba(12,26,46,0.82);
}

.nm-promo-s3-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 0;
}

.nm-promo-s3-tag {
  display: inline-block;
  background: rgba(192,57,43,0.2);
  color: #e74c3c;
  border: 1px solid rgba(192,57,43,0.35);
  padding: 5px 14px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  width: fit-content;
}

h3.nm-promo-s3-title {
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}

h3.nm-promo-s3-title em {
  font-style: normal;
  color: #e74c3c;
}

.nm-promo-s3-list {
  list-style: none;
  padding-left: 12px;
  border-left: 2px solid #c0392b;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nm-promo-s3-list li {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 0.5;
}

.nm-promo-s3-btn {
  display: inline-block;
  background: #c0392b;
  color: #fff;
  padding: 9px 22px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}

.nm-promo-s3-btn:hover {
  background: #922b21;
  color: #fff;
}

@media (max-width: 1024px) {
  .nm-promo-s3-content { gap: 18px; }
  h3.nm-promo-s3-title { font-size: 24px; }
  .nm-promo-s3-list li { font-size: 18px; }
  .nm-promo-s3-btn { font-size: 14px; margin-top: 12px; }
}

@media (max-width: 768px) {
  h3.nm-promo-s3-title { font-size: 22px; }
  .nm-promo-s3-list li { font-size: 16px; }
  .nm-promo-s3-btn { font-size: 13px; margin-top: 12px; }
  .nm-promo-s3-content { gap: 18px; }
}


/* NM: Small banners */

/* ==== Тень для баннера ==== */
.promo-banner-wrapper .promo-banner {
  overflow: hidden;              /* чтобы содержимое не вылазило за скругление */
  box-shadow: 18px 18px 40px rgba(0, 0, 0, 0.35);
}


/* NM: Small banners backgrounds */
.elementor-element-7a4a616.e-con {
  background: linear-gradient(135deg, #0087D1 60%, #00aeff 100%) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: rgba(0, 0, 0, 0.35) 18px 18px 40px 0px !important;
}

.elementor-element-100bc7c.e-con {
  background: linear-gradient(135deg, #0E7490 60%, #1a9eb8 100%) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: rgba(0, 0, 0, 0.35) 18px 18px 40px 0px !important;
}

/* NM: Small banners */

.elementor-element-7a4a616.e-con {
  background: linear-gradient(135deg, #0C1A2E 0%, #1565c0 60%, #0087D1 100%) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: rgba(0,0,0,0.35) 18px 18px 40px 0px !important;
}

.elementor-element-100bc7c.e-con {
  background: linear-gradient(135deg, #1E7F8C 0%, #63C9D6 100%) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: rgba(0,0,0,0.35) 18px 18px 40px 0px !important;
}

/* Общая обёртка — flex строка: текст слева, иконка справа */
.nm-banner-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
}

/* Колонка с текстом */
.nm-banner-delivery-content,
.nm-banner-brands-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* Теги */
.nm-banner-delivery-tag,
.nm-banner-brands-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 4px 10px;
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  width: fit-content;
  white-space: nowrap;
}

/* Заголовки */
h3.nm-banner-delivery-title,
h3.nm-banner-brands-title {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* Кнопки */
.nm-banner-delivery-btn,
.nm-banner-brands-btn {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.2s;
}

.nm-banner-delivery-btn:hover,
.nm-banner-brands-btn:hover {
  background: rgba(255,255,255,0.3);
  color: #fff;
}

/* Иконка — в потоке flex, не перекрывает текст */
.nm-banner-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  opacity: 0.88;
}

@media (max-width: 1024px) {
  h3.nm-banner-delivery-title,
  h3.nm-banner-brands-title { font-size: 15px; }
  .nm-banner-icon { width: 44px; height: 44px; }
}

@media (max-width: 768px) {
  h3.nm-banner-delivery-title,
  h3.nm-banner-brands-title { font-size: 14px; }
  
  .nm-banner-icon {
    width: 60px;
    height: 60px;
    opacity: 0.75;
  }
  
  .nm-banner-delivery-tag,
  .nm-banner-brands-tag {
    font-size: 8px;
    padding: 3px 8px;
  }
}

/* ============================
   NM: USP блок — карточки
   ============================ */

.nm-qa-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #0087d1;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  min-height: 88px;
  transition: background .18s, box-shadow .18s, border-color .18s;
}

.nm-qa-item:hover {
  background: #f8fbff;
  border-color: #0087D1;
  box-shadow: 0 4px 20px rgba(0, 135, 209, .10);
}

.nm-qa-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nm-qa-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.nm-qa-icon-blue  { background: #EBF5FC; }
.nm-qa-icon-teal  { background: #E0F5FA; }
.nm-qa-icon-navy  { background: #E8EDF4; }
.nm-qa-icon-green { background: #E8F5EE; }

.nm-qa-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #0C1A2E;
  line-height: 1.25;
  margin-bottom: 3px;
}

.nm-qa-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.4;
}

/* ============================
   NM: USP сетка — Elementor
   ============================ */

.nm-usp-grid.e-grid > .e-con {
  padding: 0 !important;
}

.nm-usp-grid .elementor-widget-html,
.nm-usp-grid .elementor-widget-container {
  height: 100%;
  display: flex;
}

/* NM: Направления — выравнивание сетки 6 колонок */
.nm-napravleniya-grid.e-grid > .e-con {
  padding: 0 !important;
  align-self: stretch;
}

.nm-napravleniya-grid .elementor-widget-container,
.nm-napravleniya-grid .wd-cats-element,
.nm-napravleniya-grid .wd-grid-g,
.nm-napravleniya-grid .wd-col,
.nm-napravleniya-grid .wd-cat-inner.wrapp-category {
  height: 100%;
}

/* Картинка — уменьшаем под 6 колонок */
.nm-napravleniya-grid a.wd-cat-image.category-image {
  height: 130px !important;
}

.nm-napravleniya-grid a.wd-cat-image.category-image img {
  max-width: 130px !important;
  max-height: 130px !important;
  width: auto !important;
  height: auto !important;
}

/* HTML-карточка Все направления */

.nm-napravleniya-grid .elementor-widget-html,
.nm-napravleniya-grid .elementor-widget-html .elementor-widget-container {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nm-dir-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 22px 18px 20px;
  background: #0C1A2E;
  border: 1px solid #0C1A2E;
  border-radius: 8px;
  height: 100%;
  min-height: unset;
  text-decoration: none;
  box-shadow:
    3px 4px 10px rgba(15,23,42,.10),
    0 1px 3px rgba(15,23,42,.06);
  transition: box-shadow .25s ease, background .25s ease;
  box-sizing: border-box;
}
.nm-dir-more:hover {
  background: #0087D1;
  box-shadow:
    0 12px 18px rgba(15,23,42,.18),
    0 6px 8px rgba(15,23,42,.10);
}
.nm-dir-more-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s ease;
}
.nm-dir-more:hover .nm-dir-more-icon {
  background: rgba(255,255,255,.18);
}
.nm-dir-more-icon svg {
  width: 26px;
  height: 26px;
}
.nm-dir-more-label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.nm-dir-more-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .nm-napravleniya-grid .elementor-element-3336e81,
  .nm-napravleniya-grid .elementor-element-3336e81 .elementor-widget-container {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .nm-dir-more {
    min-height: 229px !important;
    height: 229px !important;
  }
}

/* ============================
   NM: Бренды — стилизация WoodMart карусели под пилюли
   ============================ */

/* ============================
   NM: Бренды — пилюли
   ============================ */
.nm-brands-wd .wd-col {
  width: auto !important;
  flex: none !important;
  padding: 0 !important;
}

.nm-brands-wd .wd-grid-g {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  grid-template-columns: unset !important;
}

.nm-brands-wd .wd-brand-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin: 0 !important;
  transition: border-color .18s, background .18s, box-shadow .18s;
	padding: 0 !important;
}
.nm-brands-wd .wd-brand-item:hover {
  border-color: #0087D1;
  background: #EBF5FC;
  box-shadow: 0 2px 10px rgba(0,135,209,.10);
}
.nm-brands-wd .wd-brand-item a {
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #0C1A2E;
	padding: 9px 18px;

  display: block;
  text-decoration: none;
  white-space: nowrap;
}
.nm-brands-wd .wd-brand-item:hover a {
  color: #0087D1;
}

.nm-brands-link {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0087D1;
    text-decoration: none;
    border: 1.5px solid #0087D1;
    padding: 8px 18px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .18s, color .18s;
}

.nm-brands-link:hover {
  background: #0087D1 !important;
  color: #fff !important;
}

/* NM: Бренды — перенос шапки на мобиле */
@media (max-width: 768px) {
  .nm-brands-header.e-flex {
    flex-wrap: wrap !important;
  }
  
  .nm-brands-header.e-flex > .e-con,
  .nm-brands-header.e-flex > .elementor-widget {
    width: 100% !important;
    flex: none !important;
  }
}

/* ============================
   NM: Плитки товаров — блок "Новые поступления"
   ============================ */

.nm-new-arrivals .wd-product-wrapper {
  background: #ffffff;
  border: 1px solid #e9eef5;
  border-radius: 8px;
  padding: 22px 18px 20px;
  overflow: hidden;
  height: 100%;
  box-shadow:
    3px 4px 10px rgba(15, 23, 42, 0.10),
    0 1px 3px rgba(15, 23, 42, 0.06);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.nm-new-arrivals .wd-product:hover .wd-product-wrapper {
  border-color: #0087d1;
  box-shadow:
    0 12px 18px rgba(15, 23, 42, 0.18),
    0 6px 8px rgba(15, 23, 42, 0.10);
}

/* ============================
   NM: Блок статей — финальный
   ============================ */

/* Равная высота */
.nm-blog-grid .wd-carousel-wrap {
  align-items: stretch !important;
}
.nm-blog-grid .wd-carousel-item {
  height: auto !important;
  display: flex !important;
}
.nm-blog-grid .wd-post {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
}
.nm-blog-grid .wd-post-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}
.nm-blog-grid .wd-post-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  padding: 16px 18px 18px !important;
}

/* Карточка */
.nm-blog-grid .wd-post.blog-design-meta-image {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.nm-blog-grid .wd-post.blog-design-meta-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0087D1, #00C2E0);
  z-index: 2;
}
.nm-blog-grid .wd-post.blog-design-meta-image:hover {
  border-color: #0087D1;
  box-shadow: 0 6px 20px rgba(0,135,209,.12);
}

/* Картинка zoom */
.nm-blog-grid .wd-post-img img {
  transition: transform .4s ease;
}
.nm-blog-grid .wd-post.blog-design-meta-image:hover .wd-post-img img {
  transform: scale(1.04);
}

/* Шапка на картинке — шаринг справа */
.nm-blog-grid .wd-post-header {
  padding: 10px 14px;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}
.nm-blog-grid .wd-post-author.wd-meta-author,
.nm-blog-grid .wd-post-reply.wd-meta-reply {
  display: none !important;
}
.nm-blog-grid .wd-post-actions {
  display: flex !important;
  align-items: center !important;
}
.nm-blog-grid .wd-social-icon {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: background .18s !important;
}
.nm-blog-grid .wd-social-icon:hover {
  background: rgba(255,255,255,.5) !important;
}
/* Тултип всплывает вверх — не обрезается рамкой */
.nm-blog-grid .wd-post-share.wd-tltp .tooltip {
  bottom: 100% !important;
  top: auto !important;
  left: auto !important;
  right: 0 !important;
}

/* Мета — бейдж категории + дата */
.nm-blog-grid .wd-post-entry-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  margin-bottom: 10px !important;
}
.nm-blog-grid .wd-post-cat.wd-style-default {
  background: #EBF5FC !important;
  padding: 4px 10px !important;
  border-radius: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
}
.nm-blog-grid .wd-post-cat.wd-style-default a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  color: #0087D1 !important;
  text-decoration: none !important;
}
.nm-blog-grid .wd-post-date.wd-style-default {
  background: none !important;
  padding: 0 !important;
}
.nm-blog-grid .wd-post-date.wd-style-default::before {
  content: none !important;
}
.nm-blog-grid .wd-post-date.wd-style-default time {
  font-family: 'Manrope', sans-serif !important;
  font-size: 11px !important;
  color: #94a3b8 !important;
}
.nm-blog-grid .wd-modified-date {
  display: none !important;
}

/* Заголовок */
.nm-blog-grid .wd-post-title.wd-entities-title a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0C1A2E !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  transition: color .18s;
}
.nm-blog-grid .wd-post-title.wd-entities-title a:hover {
  color: #0087D1 !important;
}

/* Описание */
.nm-blog-grid .wd-post-excerpt {
  font-family: 'Manrope', sans-serif !important;
  font-size: 13px !important;
  color: #64748b !important;
  line-height: 1.6 !important;
  margin: 8px 0 0 !important;
  flex: 1 !important;
}

/* Продолжить чтение */
.nm-blog-grid .wd-post-read-more.wd-style-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 12px !important;
  margin-top: 14px !important;
  border-top: 1px solid #e2e8f0 !important;
  width: 100% !important;
}
.nm-blog-grid .wd-post-read-more.wd-style-link a {
  font-family: 'Manrope', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #0087D1 !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}
.nm-blog-grid .wd-post-read-more.wd-style-link a:hover {
  color: #0E7490 !important;
}
.nm-blog-grid .wd-post-read-more.wd-style-link a::after {
  content: '→' !important;
  font-size: 16px !important;
  color: #0087D1 !important;
}
.nm-blog-grid .wd-post-read-more.wd-style-link::after {
  display: none !important;
}

.nm-blog-grid .wd-post-cat.wd-style-default::after {
  display: none !important;
}

.nm-blog-grid .wd-post-thumb {
  border-radius: 0 !important;
}
.nm-blog-grid .wd-post-img img {
  border-radius: 0 !important;
}

/* Бейдж только вокруг категории */
.nm-blog-grid .wd-post-meta.wd-post-entry-meta {
  background: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* ============================
   NM: Новости
   ============================ */

/* =====================================================
   NM: Главная — блок новостей [nm_news_home]
   ВАЖНО: работает только внутри .nm-home-news-wrap
   ===================================================== */

.wd-negative-gap,
.wd-negative-gap > .e-con-inner,
.nm-home-news-wrap,
.nm-home-news-wrap .elementor-widget-shortcode,
.nm-home-news-wrap .elementor-widget-container,
.nm-home-news-wrap .nm-htl,
.nm-home-news-wrap .nm-htl-top {
	overflow: visible !important;
}

/* ===== ОБЩАЯ ОБЁРТКА ===== */
.nm-home-news-wrap .nm-htl {
	position: relative;
	padding-top: 60px;
	margin: 0 0 25px;
}

.nm-home-news-wrap .nm-htl-hline {
	position: absolute;
	top: 90px;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(
		to right,
		rgba(0,135,209,.12) 0%,
		#0087D1 16%,
		#00C2E0 50%,
		#0087D1 84%,
		rgba(0,135,209,.12) 100%
	);
	border-radius: 2px;
	z-index: 1;
}

.nm-home-news-wrap .nm-htl-outer {
	overflow-x: hidden;
	overflow-y: visible;
	padding: 0 12px 12px;
	margin: 0 -12px;
	position: relative;
	z-index: 2;
}

.nm-home-news-wrap .nm-htl-track {
	display: flex;
	gap: 20px;
	transition: transform .4s cubic-bezier(.4,0,.2,1);
	will-change: transform;
	align-items: stretch;
	padding-bottom: 6px;
}

.nm-home-news-wrap .nm-htl-col {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	padding-bottom: 8px;
	position: relative;
}

.nm-home-news-wrap .nm-htl--desk-3 .nm-htl-col {
	width: calc((100% - 40px) / 3);
}

.nm-home-news-wrap .nm-htl--desk-2 .nm-htl-col {
	width: calc((100% - 20px) / 2);
}

/* ===== ВЕРХ КОЛОНКИ: ДАТА + ТОЧКА ===== */
.nm-home-news-wrap .nm-htl-top {
	position: relative;
	height: 74px;
	margin-bottom: 24px;
	z-index: 5;
	overflow: visible;
}

.nm-home-news-wrap .nm-htl-dot {
	position: absolute;
	left: 50%;
	top: 24px;
	transform: translateX(-50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #0087D1;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #0087D1;
	z-index: 6;
}

.nm-home-news-wrap .nm-htl-date-label {
	position: absolute;
	left: 50%;
	top: 2px;
	transform: translateX(-50%);
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #0087D1;
	white-space: nowrap;
	line-height: 1;
	z-index: 7;
}

.nm-home-news-wrap .nm-htl-mob-dot,
.nm-home-news-wrap .nm-htl-mob-date {
	display: none;
}

/* ===== КАРТОЧКА ===== */
.nm-home-news-wrap .nm-htl-card {
	display: flex;
	flex-direction: row;
	background: #fff;
	border: 1px solid #e9eef5;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
	margin-bottom: 2px;
	box-shadow:
		3px 4px 10px rgba(15, 23, 42, 0.10),
		0 1px 3px rgba(15, 23, 42, 0.06);
	transition:
		box-shadow 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}

.nm-home-news-wrap .nm-htl-col:hover .nm-htl-card {
	border-color: #0087d1;
	box-shadow:
		0 12px 18px rgba(15, 23, 42, 0.18),
		0 6px 8px rgba(15, 23, 42, 0.10);
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.nm-home-news-wrap .nm-htl-img-link {
	display: flex;
	width: 180px;
	min-height: 100%;
	flex-shrink: 0;
	overflow: hidden;
	background: linear-gradient(135deg, #EBF5FC, #B5D4F4);
	align-items: center;
	justify-content: center;
	padding: 12px;
	box-sizing: border-box;
}

.nm-home-news-wrap .nm-htl-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
	transition: transform .3s ease;
}

.nm-home-news-wrap .nm-htl-col:hover .nm-htl-img {
	transform: scale(1.05);
}

.nm-home-news-wrap .nm-htl-noimg {
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, #EBF5FC, #B5D4F4);
}

/* ===== ТЕЛО ===== */
.nm-home-news-wrap .nm-htl-body {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.nm-home-news-wrap .nm-htl-cat {
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #0087D1;
	background: #EBF5FC;
	padding: 2px 9px;
	border-radius: 20px;
	display: inline-block;
	align-self: flex-start;
}

.nm-home-news-wrap .nm-htl-title {
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #0C1A2E;
	margin: 0;
	line-height: 1.35;
}

.nm-home-news-wrap .nm-htl-title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.nm-home-news-wrap .nm-htl-title a:hover {
	color: #0087D1;
}

.nm-home-news-wrap .nm-htl-excerpt {
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	color: #4a5568;
	line-height: 1.55;
	margin: 0;
	flex: 1;
}

/* ===== ПОДВАЛ ===== */
.nm-home-news-wrap .nm-htl-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 6px;
	gap: 8px;
}

.nm-home-news-wrap .nm-htl-more {
	font-family: 'Manrope', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #0087D1;
	text-decoration: none;
	transition: color .2s ease;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.nm-home-news-wrap .nm-htl-more:hover {
	color: #0E7490;
}

.nm-home-news-wrap .nm-htl-views {
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	color: #9aabb8;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	white-space: nowrap;
	flex-shrink: 0;
}

/* ===== НАВИГАЦИЯ ===== */
.nm-home-news-wrap .nm-htl-nav {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.nm-home-news-wrap .nm-htl-btn {
	width: 34px;
	height: 34px;
	border-radius: 20%;
	border: 1px solid #cbd5e0;
	background: #fff;
	cursor: pointer;
	font-size: 16px;
	color: #0C1A2E;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, color .2s, border-color .2s;
}

.nm-home-news-wrap .nm-htl-btn:hover {
	border-color: #0087D1;
}

.nm-home-news-wrap .nm-htl-btn:disabled {
	opacity: .35;
	cursor: default;
	pointer-events: none;
}

.nm-home-news-wrap .nm-htl-empty {
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	color: #4a5568;
	padding: 30px 0;
	text-align: center;
}

/* =========================
   ПЛАНШЕТ
   ========================= */
@media (max-width: 1024px) {
	.nm-home-news-wrap .nm-htl--tab-2 .nm-htl-col {
		width: calc((100% - 20px) / 2);
	}

	.nm-home-news-wrap .nm-htl--tab-1 .nm-htl-col {
		width: 100%;
	}

	.nm-home-news-wrap .nm-htl-img-link {
		width: 100px;
	}

	.nm-home-news-wrap .nm-htl-title {
		font-size: 13px;
	}

	.nm-home-news-wrap .nm-htl-excerpt {
		font-size: 12px;
	}
}

/* =========================
   МОБИЛКА
   ========================= */
@media (max-width: 768px) {
	.nm-home-news-wrap .nm-htl {
		padding-top: 0;
		padding-left: 54px;
	}

	.nm-home-news-wrap .nm-htl-hline,
	.nm-home-news-wrap .nm-htl-nav {
		display: none;
	}

	.nm-home-news-wrap .nm-htl::before {
		content: '';
		position: absolute;
		left: 20px;
		top: 8px;
		bottom: 8px;
		width: 2px;
		background: linear-gradient(
			to bottom,
			#0087D1 0%,
			#00C2E0 60%,
			rgba(0,135,209,.1) 100%
		);
		border-radius: 2px;
	}

	.nm-home-news-wrap .nm-htl-outer {
		overflow: visible;
	}

	.nm-home-news-wrap .nm-htl-track {
		flex-direction: column;
		gap: 14px;
		transform: none !important;
		transition: none;
	}

	.nm-home-news-wrap .nm-htl-col {
		width: 100% !important;
		position: relative;
	}

	.nm-home-news-wrap .nm-htl-top {
		display: none;
	}

	.nm-home-news-wrap .nm-htl-mob-dot {
		display: block;
		position: absolute;
		left: -39px;
		top: 16px;
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background: #0087D1;
		border: 2px solid #fff;
		box-shadow: 0 0 0 2px #0087D1;
		z-index: 1;
	}

	.nm-home-news-wrap .nm-htl-mob-date {
		display: block;
		position: absolute;
		left: -53px;
		top: 18px;
		font-family: 'Manrope', sans-serif;
		font-size: 10px;
		font-weight: 700;
		color: #0087D1;
		white-space: nowrap;
		transform: rotate(-90deg) translateX(-50%);
		transform-origin: left center;
	}

	.nm-home-news-wrap .nm-htl-card {
		flex-direction: row;
	}

	.nm-home-news-wrap .nm-htl-col:hover .nm-htl-card {
		transform: none;
	}

	.nm-home-news-wrap .nm-htl-img-link {
		width: 110px;
		min-height: 88px;
	}

	.nm-home-news-wrap .nm-htl-body {
		padding: 12px 14px;
	}

	.nm-home-news-wrap .nm-htl-title {
		font-size: 13px;
	}

	.nm-home-news-wrap .nm-htl-excerpt {
		display: none;
	}
}

/* =====================================================
   NM: Архив новостей [nm_news_grid]
   2 колонки × 4 строки = 8 карточек на страницу
   Горизонтальные карточки
===================================================== */

/* ===== СЕТКА ===== */
.nm-ng {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 40px;
}

@media (max-width: 768px) {
	.nm-ng {
		grid-template-columns: 1fr;
	}
}

/* ===== КАРТОЧКА ===== */
.nm-ng-card {
	display: flex;
	flex-direction: row;
	background: #fff;
	border: 1px solid #e2eaf3;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 2px 3px 8px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.04);
	transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
	min-height: 170px;
}

.nm-ng-card:hover {
	border-color: #0087D1;
	box-shadow: 0 8px 20px rgba(0,135,209,.13), 0 2px 6px rgba(15,23,42,.08);
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.nm-ng-card__img-link {
	display: block;
	width: 200px;
	padding: 25px 10px 10px 10px;
	flex-shrink: 0;
	overflow: hidden;
	background: linear-gradient(135deg, #daeeff 0%, #b8dcf5 100%);
	align-self: stretch;
}

.nm-ng-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform .3s ease;
}

.nm-ng-card:hover .nm-ng-card__img {
	transform: scale(1.05);
}

.nm-ng-card__noimg {
	width: 100%;
	height: 100%;
	min-height: 120px;
	background: linear-gradient(135deg, #daeeff 0%, #b8dcf5 100%);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ===== ТЕЛО ===== */
.nm-ng-card__body {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex: 1;
	min-width: 0;
}

.nm-ng-card__top-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.nm-ng-card__cat {
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #0087D1;
	background: #EBF5FC;
	padding: 2px 8px;
	border-radius: 20px;
	display: inline-block;
	line-height: 1.6;
	text-decoration: none;
	white-space: nowrap;
	max-width: 72%;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nm-ng-card__cat:hover {
	background: #0087D1;
	color: #fff;
}

.nm-ng-card__cat--empty {
	cursor: default;
}

.nm-ng-card__views {
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	color: #9aabb8;
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
	flex-shrink: 0;
}

.nm-ng-card__date {
	font-family: 'Manrope', sans-serif;
	font-size: 11px;
	color: #9aabb8;
	line-height: 1.4;
}

.nm-ng-card__title {
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #0C1A2E;
	margin: 0;
	line-height: 1.35;
	flex: 1;
}

.nm-ng-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color .2s ease;
}

.nm-ng-card__title a:hover {
	color: #0087D1;
}

.nm-ng-card__excerpt {
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	color: #6b7a8d;
	line-height: 1.5;
	margin: 0;
}

.nm-ng-card__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: auto;
	padding-top: 4px;
}

.nm-ng-card__more {
	font-family: 'Manrope', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #0087D1;
	text-decoration: none;
	transition: color .2s ease;
}

.nm-ng-card__more:hover {
	color: #0E7490;
}

/* ===== ПУСТО ===== */
.nm-ng-empty {
	font-family: 'Manrope', sans-serif;
	font-size: 15px;
	color: #4a5568;
	padding: 40px 0;
	text-align: center;
}

/* ===== ПАГИНАЦИЯ ===== */
.nm-ng-pagination {
	margin: 32px 0 0;
	display: flex;
	justify-content: center;
}

.nm-ng-pagination ul {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nm-ng-pagination ul li a,
.nm-ng-pagination ul li span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	font-family: 'Manrope', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #0C1A2E;
	background: #f0f4f8;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.nm-ng-pagination ul li a:hover {
	background: #0087D1;
	color: #fff;
}

.nm-ng-pagination ul li span.current {
	background: #0087D1;
	color: #fff;
}

.nm-ng-pagination ul li span.dots {
	background: transparent;
	color: #4a5568;
	cursor: default;
}

/* ===== МОБИЛКА ===== */
@media (max-width: 768px) {
	.nm-ng-card {
		flex-direction: column;
	}

	.nm-ng-card__img-link {
		width: 100%;
		height: 190px;
	}

	.nm-ng-card__body {
		padding: 12px 14px;
	}
}

/* =========================================
   NM: SINGLE NEWS — FINAL CSS
   Ссылка "Все новости" у левого края,
   дата + H1 + текст в контейнере 90%
   ========================================= */

/* =========================================
   1) HEADER / META / TITLE
   ========================================= */

/* Скрываем стандартную мету и большую картинку темы */
.single-nm_news .wd-post-meta,
.single-nm_news .post-date,
.single-nm_news .meta-post-categories,
.single-nm_news .wd-single-post-header .wd-post-image {
	display: none !important;
}

/* Header на всю ширину */
.single-nm_news .wd-single-post-header {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0 0 26px;
	box-sizing: border-box;
}

/* Показываем только первый meta-блок */
.single-nm_news .wd-single-post-header > .nm-news-meta:first-of-type {
	display: flex !important;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 18px;
	width: 100%;
	font-family: Manrope, sans-serif;
	font-size: 13px;
	line-height: 1.4;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}

/* Все остальные дубли скрываем */
.single-nm_news .wd-single-post-header > .nm-news-meta:not(:first-of-type) {
	display: none !important;
}

/* Ссылка у самого левого края */
.single-nm_news .nm-news-meta__back {
	display: inline-block;
	color: #0087D1;
	text-decoration: none;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
	padding-left: 0;
}

.single-nm_news .nm-news-meta__back:hover {
	color: #0E7490;
	text-decoration: none;
}

/* Дата — ниже ссылки, но по левому краю контентного блока */
.single-nm_news .nm-news-meta__date {
	 display: block;
   color: #7f7f7f;
   font-size: 13px;
   line-height: 1.2;
   white-space: nowrap;
   margin: 0;
   width: 90%;
   max-width: 1320px;
   margin-left: 70px;
   margin-right: auto;
   box-sizing: border-box;
   text-align: left;
   margin-top: 20px;
}

/* Заголовок — в том же контейнере 90% */
.single-nm_news .wd-single-post-header .wd-entities-title,
.single-nm_news .wd-single-post-header .wd-post-title,
.single-nm_news .wd-single-post-header h1 {
	width: 90%;
	max-width: 1320px;
	margin: 0 70px !important;
	font-size: 32px;
	line-height: 1.15;
	font-weight: 400;
	color: #111;
	box-sizing: border-box;
	text-align: left;
}

/* Контент статьи — 90% по центру */
.single-nm_news .wd-entry-content {
	width: 90%;
	max-width: 1320px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* =========================================
   2) TEXT BLOCK
   ========================================= */

.nm-news-text {
	color: #111;
	font-size: 13px;
	line-height: 1.55;
	padding: 18px;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
	margin: 0 auto 30px;
}

/* Заголовки внутри текста */
.nm-news-text h2 {
	color: #111;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 10px 0;
}

/* Абзацы */
.nm-news-text p {
	color: #111;
	font-size: 13px;
	line-height: 1.55;
	margin: 0 0 10px 0;
}

/* Списки */
.nm-news-text ul {
	margin: 8px 0 14px 0;
	padding-left: 18px;
}

.nm-news-text li {
	color: #111;
	font-size: 13px;
	line-height: 1.35;
	margin: 6px 0;
}

/* Маркеры */
.nm-news-text li::marker {
	color: #0087D1;
	font-size: 10px;
}

/* Ссылки */
.nm-news-text a {
	color: #0087D1;
	text-decoration: none;
}

.nm-news-text a:hover {
	color: #000;
	text-decoration: none;
}

/* Убираем лишние дыры от br */
.nm-news-text ul li br {
	display: none !important;
}

/* Сброс лишних стилей темы */
.nm-news-text * {
	letter-spacing: normal;
}

/* =========================================
   3) LEAD BLOCK: TEXT + IMAGE
   ========================================= */

.nm-news-lead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 28px;
	align-items: start;
	margin-bottom: 12px;
}

.nm-news-lead__content {
	min-width: 0;
}

.nm-news-lead__media {
	width: 360px;
	max-width: 100%;
	justify-self: end;
}

.nm-news-lead__img {
	display: block;
	width: 85%;
	height: auto;
	border-radius: 8px;
}

/* Старый float отключаем */
.nm-news-text .nm-news-float-img {
	float: none !important;
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	border-radius: 8px;
}

.nm-news-text .nm-news-clear,
.nm-news-text::after {
	display: none !important;
	content: none !important;
}

/* =========================================
   4) RELATED BLOCKS UNDER ARTICLE
   ========================================= */

.single-nm_news .wd-products-element {
	width: 90%;
	max-width: 1320px;
	margin: 0 auto 30px;
}

/* =========================================
   5) RESPONSIVE
   ========================================= */

@media (max-width: 1200px) {
	.single-nm_news .wd-single-post-header .wd-entities-title,
	.single-nm_news .wd-single-post-header .wd-post-title,
	.single-nm_news .wd-single-post-header h1 {
		font-size: 44px;
	}
}

@media (max-width: 1024px) {
	.single-nm_news .wd-single-post-header .wd-entities-title,
	.single-nm_news .wd-single-post-header .wd-post-title,
	.single-nm_news .wd-single-post-header h1 {
		font-size: 38px;
		margin-left: 50px !important;
	}

	.nm-news-lead {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 22px;
	}

	.nm-news-lead__media {
		width: 300px;
	}

	.single-nm_news .nm-news-meta__date {
		width: 90%;
		max-width: 1320px;
		margin-left: 50px !important;
	}
}

@media (max-width: 767px) {
	.single-nm_news .wd-single-post-header .wd-entities-title,
	.single-nm_news .wd-single-post-header .wd-post-title,
	.single-nm_news .wd-single-post-header h1,
	.single-nm_news .wd-entry-content,
	.single-nm_news .wd-products-element,
	.single-nm_news .nm-news-meta__date {
		width: calc(100% - 32px);
		max-width: none;
	}

	.single-nm_news .wd-single-post-header > .nm-news-meta:first-of-type {
		margin-bottom: 16px;
		gap: 6px;
	}

	.single-nm_news .nm-news-meta__date {
		font-size: 13px;
		margin-left: 30px !important;
		margin-right: auto;
	}

	.single-nm_news .wd-single-post-header .wd-entities-title,
	.single-nm_news .wd-single-post-header .wd-post-title,
	.single-nm_news .wd-single-post-header h1 {
		font-size: 30px;
		line-height: 1.18;
		margin-left: 30px !important;
		margin-right: auto;
	}

	.nm-news-text {
		padding: 14px;
	}

	.nm-news-lead {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.nm-news-lead__media {
		width: 100%;
		justify-self: stretch;
	}
}

/* =========================================
   NM: Товар под текстом новости
   Класс блока: nm-news-related-product
   ========================================= */

/* Колонка товара */
.single-nm_news .nm-news-related-product .wd-product {
	display: flex;
	height: 100%;
}

/* Карточка */
.single-nm_news .nm-news-related-product .wd-product-wrapper {
	background: #ffffff;
	border: 1px solid #e9eef5;
	border-radius: 8px;
	padding: 22px 18px 20px;
	overflow: hidden;
	height: 100%;
	gap: 10px;
	box-shadow:
		3px 4px 10px rgba(15, 23, 42, 0.10),
		0 1px 3px rgba(15, 23, 42, 0.06);
	transition:
		box-shadow 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;

	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
}

/* Ховер */
.single-nm_news .nm-news-related-product .wd-product-wrapper:hover {
	border-color: #0087D1;
	box-shadow:
		0 12px 18px rgba(15, 23, 42, 0.18),
		0 6px 8px rgba(15, 23, 42, 0.10);
}

/* Убираем лишние внутренние фоны темы */
.single-nm_news .nm-news-related-product .wd-product-thumb,
.single-nm_news .nm-news-related-product .product-element-bottom {
	background: transparent !important;
}

/* Верх карточки */
.single-nm_news .nm-news-related-product .wd-product-thumb {
	margin-bottom: 12px;
}

/* Низ карточки */
.single-nm_news .nm-news-related-product .product-element-bottom {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 0 !important;
}

/* Картинка */
.single-nm_news .nm-news-related-product .wd-product-img-link img {
	border-radius: 8px;
	display: block;
	width: 100%;
	height: auto;
}

/* Заголовок */
.single-nm_news .nm-news-related-product .wd-entities-title {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
}

.single-nm_news .nm-news-related-product .wd-entities-title a {
	color: #111;
	text-decoration: none;
}

.single-nm_news .nm-news-related-product .wd-entities-title a:hover {
	color: #0087D1;
}

/* SKU / наличие / цена */
.single-nm_news .nm-news-related-product .wd-product-detail,
.single-nm_news .nm-news-related-product .wd-product-stock,
.single-nm_news .nm-news-related-product .price {
	margin: 0;
}

/* Кнопка вниз */
.single-nm_news .nm-news-related-product .wd-add-btn {
	margin-top: auto;
}

/* Если в новости 1 товар — не даём ему выглядеть слишком узким/ломаным */
.single-nm_news .nm-news-related-product .wd-products {
	align-items: stretch;
}

/* Блок пролистывания статей */
.wd-page-nav-icon {
    border-radius: 8px !important;
}

.wd-page-nav-icon:hover {
    border-color: #0087D1;
}

.wd-page-nav-btn .wd-label {
    color: #000000 !important;
}

/* =========================================
   NM HOME — БЛОК ОТЗЫВОВ
   Актуальная структура:
   .nm-home-reviews-wrap
   .nm-review-row
   .nm-review-media
   .nm-review-content
   ========================================= */

.nm-home-reviews-wrap {
  position: relative;
}

/* Одна карточка */
.nm-home-reviews-wrap .nm-review-row {
   display: flex;
   flex-direction: row;
   align-items: stretch;
   background: #ffffff;
   border: 1px solid #dbdbdb;
   border-radius: 8px;
   padding: 24px;
   border-left: 3px solid #0087D1;
   gap: 16px;
}

.nm-home-reviews-wrap .nm-review-row:hover {
  border-color: #0087D1;
  box-shadow: 0 6px 20px rgba(0,135,209,.12);
}

/* Левая колонка */
.nm-home-reviews-wrap .nm-review-media {
  flex: 0 0 96px;
  max-width: 96px;
  min-width: 96px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.nm-home-reviews-wrap .nm-review-media .wd-image {
  width: 100%;
}

.nm-home-reviews-wrap .nm-review-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e7edf5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(36, 55, 70, 0.08);
}

/* Правая колонка */
.nm-home-reviews-wrap .nm-review-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

/* Организация */
.nm-home-reviews-wrap .nm-review-org {
  margin-bottom: 10px;
}

.nm-home-reviews-wrap .nm-review-org .elementor-heading-title {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 700;
  color: #333;
}

/* Текст */
.nm-home-reviews-wrap .nm-review-text,
.nm-home-reviews-wrap .nm-review-text .wd-text-block,
.nm-home-reviews-wrap .nm-review-text p {
  margin: 0;
}

.nm-home-reviews-wrap .nm-review-text {
  margin-bottom: 16px;
}

.nm-home-reviews-wrap .nm-review-text .wd-text-block,
.nm-home-reviews-wrap .nm-review-text p {
  font-size: 12px;
  line-height: 1.5;
	font-weight: 500;
  color: #333;
}

/* Кнопка вниз справа */
.nm-home-reviews-wrap .nm-review-btn {
  margin-top: auto;
}

.nm-home-reviews-wrap .nm-review-btn .wd-button-wrapper {
  text-align: right;
}

.nm-home-reviews-wrap .nm-review-btn .btn {
  display: inline-block;
  min-height: 30px;
  padding: 0 16px;
  background: #ffffff;
  color: #666;
  border: 1px solid #d9e5f0;
  width: 100px;
  line-height: 30px;
  text-align: center;
  box-shadow: 0 0 5px rgb(0 0 0 / 17%);
  border-radius: 4px !important;
  font-size: 13px;
  text-transform: none;
  position: static; 
}

.nm-home-reviews-wrap .nm-review-btn .btn:hover {
  background: #0087d1;
  color: #ffffff;
  border-color: #0087d1;
}

/* Карусель: одинаковая высота слайда */
.nm-home-reviews-wrap .wd-carousel-item {
  height: auto;
}

.nm-home-reviews-wrap .wd-carousel-item > .elementor-element,
.nm-home-reviews-wrap .wd-carousel-item > .elementor-element > .elementor-element {
  height: 100%;
}

/* ПЛАНШЕТ */
@media (max-width: 1024px) {
  .nm-home-reviews-wrap .nm-review-row {
    padding: 18px !important;
    gap: 16px !important;
  }

  .nm-home-reviews-wrap .nm-review-media {
    flex: 0 0 88px !important;
    max-width: 88px !important;
    min-width: 88px !important;
  }

  .nm-home-reviews-wrap .nm-review-media .wd-image {
    width: 88px;
  }

  .nm-home-reviews-wrap .nm-review-media img {
    width: 88px !important;
    height: auto !important;
    display: block;
  }

  .nm-home-reviews-wrap .nm-review-org .elementor-heading-title {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .nm-home-reviews-wrap .nm-review-text .wd-text-block,
  .nm-home-reviews-wrap .nm-review-text p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .nm-home-reviews-wrap .nm-review-btn .btn {
    min-height: 34px !important;
    line-height: 34px !important;
    font-size: 12px !important;
  }
}

/* МОБИЛКА */

@media (max-width: 767px) {
  .nm-home-reviews-wrap .wd-carousel-item,
  .nm-home-reviews-wrap .wd-carousel-item > .elementor-element,
  .nm-home-reviews-wrap .wd-carousel-item > .elementor-element > .elementor-element {
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-home-reviews-wrap .nm-review-row {
    display: block !important;
    padding: 16px !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nm-home-reviews-wrap .nm-review-media {
    display: none !important;
  }

  .nm-home-reviews-wrap .nm-review-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .nm-home-reviews-wrap .nm-review-org {
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  .nm-home-reviews-wrap .nm-review-org .elementor-heading-title {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .nm-home-reviews-wrap .nm-review-text {
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .nm-home-reviews-wrap .nm-review-text .wd-text-block,
  .nm-home-reviews-wrap .nm-review-text p {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .nm-home-reviews-wrap .nm-review-btn {
    width: 100% !important;
    margin: 0 !important;
  }

  .nm-home-reviews-wrap .nm-review-btn .wd-button-wrapper {
    text-align: right;
  }

  .nm-home-reviews-wrap .nm-review-btn .btn {
    position: static !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 96px !important;
    min-height: 34px !important;
    line-height: 34px !important;
    margin: 0 !important;
  }

  .nm-home-reviews-wrap .wd-btn-arrow {
    width: 34px !important;
    height: 34px !important;
  }

	.nm-home-reviews-wrap .wd-btn-arrow.wd-prev {
    left: -28px !important;
  }
}








/* ====== Пункт оборудование и подменю ====== */

/* ====== "Оборудование" + кнопка "Все категории" (только для .nm-equip-menu) ====== */

:root{ --nm-icon-size:20px; }

/* прячем «лишние» пункты по умолчанию */
.nm-equip-menu .sub-sub-menu > li.nm-extra{
  overflow:hidden;
  height:0;
  opacity:.0;
  transform:translateY(-6px);
  transition:height .25s ease, opacity .2s ease, transform .25s ease;
  pointer-events:none;
}

/* когда раскрыто */
.nm-equip-menu .sub-sub-menu.nm-open > li.nm-extra{
  height:var(--nm-h);
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* ссылка-триггер «Все категории» */
.nm-equip-menu .sub-sub-menu > li.nm-toggle > a{
  color:#0097b2 !important;
  font-weight:500;
  display:block;
  padding:2px 0;
  text-decoration:none;
}

/* треугольничек */
.nm-equip-menu .sub-sub-menu > li.nm-toggle > a .nm-caret{
  font-size:var(--nm-icon-size);
  line-height:1;
  margin-left:6px;
}

/* убираем подчёркивание у всех пунктов */
.nm-equip-menu .sub-sub-menu > li > a{ text-decoration:none; }

/* ховер обычных пунктов – синий */
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a:hover{
  color:#0097b2 !important;
  text-decoration:none !important;
}

/* ховер триггера – чёрный */
.nm-equip-menu .sub-sub-menu > li.nm-toggle > a:hover{
  color:#000 !important;
  text-decoration:none !important;
}

/* На мобилке ничего не скрываем, кнопку прячем */
@media (max-width:1024px){
  .nm-equip-menu .sub-sub-menu > li.nm-extra{
    height:auto !important;
    opacity:1 !important;
    transform:none !important;
    overflow:visible !important;
    pointer-events:auto !important;
  }
  .nm-equip-menu .sub-sub-menu > li.nm-toggle{ display:none !important; }
}

/* ====== Hover-анимация «приподнятие» только для категорий и подкатегорий ====== */

/* базовое состояние */
.nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a,
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a{
  display: inline-block;
  transform: translateY(0);
  transition: transform .18s ease, color .18s ease;
  will-change: transform;
}

/* эффект при наведении/фокусе */
.nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a:hover,
.nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a:focus-visible,
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a:hover,
.nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a:focus-visible{
  transform: translateY(-1px);
}

/* уважение prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .nm-equip-menu .wd-sub-menu li:not(.nm-toggle) > a,
  .nm-equip-menu .sub-sub-menu > li:not(.nm-toggle) > a{
    transition: none;
  }
}



/* Линия прогресса */
.fluentform .ff-step-titles li:before {
    background-color: #e0e0e0;
}
.fluentform .ff-step-titles li.ff-completed:before {
    background-color: #c30 !important;
}



/* =========================================
   NM: CART MODE (STORE vs KP)
   - body.woocommerce-cart.nm-cart-mode-kp
   - body.woocommerce-cart.nm-cart-mode-store
========================================= */

/* Default safety */
body.woocommerce-cart #cart-store-container{ display:block !important; }
body.woocommerce-cart #cart-kp-container{ display:none !important; }

/* KP mode */
body.woocommerce-cart.nm-cart-mode-kp #cart-store-container{ display:none !important; }
body.woocommerce-cart.nm-cart-mode-kp #cart-kp-container{ display:block !important; }

/* STORE mode */
body.woocommerce-cart.nm-cart-mode-store #cart-store-container{ display:block !important; }
body.woocommerce-cart.nm-cart-mode-store #cart-kp-container{ display:none !important; }

/* Hide price/subtotal columns in KP mode */
body.woocommerce-cart.nm-cart-mode-kp th.product-price,
body.woocommerce-cart.nm-cart-mode-kp td.product-price,
body.woocommerce-cart.nm-cart-mode-kp th.product-subtotal,
body.woocommerce-cart.nm-cart-mode-kp td.product-subtotal{
  display:none !important;
}

/* =========================================
   NM: MINI-CART — enlarge thumbnail area
   ========================================= */
.wd-dropdown-cart .cart-item-image img{
  width:64px !important;
  height:auto !important;
  max-width:64px !important;
}

.wd-dropdown-cart .cart-item-image{
  width:72px !important;
  min-width:72px !important;
  max-width:72px !important;
}

/* =========================================
   NM: MINI-CART (KP mode) — hide View Cart + style KP button
   Requires body class: .nm-intent-kp
========================================= */

/* 1) В режиме KP скрываем кнопку "Просмотр корзины" (wc-forward), оставляем только нашу .nm-mini-kp-btn */
body.nm-intent-kp .wd-dropdown-cart a.wc-forward:not(.nm-mini-kp-btn){
  display:none !important;
}

/* 2) На всякий случай: если WoodMart рисует view-cart как обычную кнопку без nm-mini-kp-btn */
body.nm-intent-kp .wd-dropdown-cart .woocommerce-mini-cart__buttons a.button:not(.nm-mini-kp-btn){
  display:none !important;
}





/* =========================================================
   NM: Category chips
   Scope: .nm-cat-chips-source (WoodMart wd_product_categories)
   - Flush-left chips
   - Fade edges like (right only at start; left appears after scroll)
   - Small arrows, no circles, no offsets
   - Hover/current: vertical gradient + white text
   - Toggle "Показать все/Скрыть все" below, right aligned (12px)
   ========================================================= */

.nm-cat-chips-source{
  --nm-brand-1:#0087d1;   /* bottom (darker) */
  --nm-brand-2:#00a0de;   /* top (lighter) */
  --nm-border:#dfe6ee;
  --nm-text:#111;
  --nm-muted:#6b7280;

  --nm-fade-w: 60px;      /* fade width */
  --nm-arrow-hit: 24px;   /* clickable width for arrow area */
}

/* Always keep the widget wrapper stable */
.nm-cat-chips-source .wd-cats-element{
  position: relative;
}

/* Hide original thumbs */
.nm-cat-chips-source .wd-cat-thumb,
.nm-cat-chips-source .wd-cat-image,
.nm-cat-chips-source .wd-cat-thumb img{
  display:none !important;
}

/* ===== Bar wrapper (created by JS) ===== */
.nm-cat-chips-source .nm-chip-bar{
  position: relative;
  display:block;
}

/* Track: ONE LINE scroll, FLUSH-LEFT */
.nm-cat-chips-source .nm-chip-bar .wd-cats.products{
  display:flex !important;
  flex-wrap:nowrap !important;
  gap:10px !important;

  overflow-x:auto !important;
  overflow-y:hidden !important;

  padding: 6px 0 !important;          /* IMPORTANT: no side padding */
  margin: 0 !important;

  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.nm-cat-chips-source .nm-chip-bar .wd-cats.products::-webkit-scrollbar{ display:none; }

/* Neutralize WoodMart grid columns */
.nm-cat-chips-source .nm-chip-bar .wd-cats.products > .wd-col{
  width:auto !important;
  flex:0 0 auto !important;
  max-width:none !important;
}

/* Chip */
.nm-cat-chips-source .wd-cat{ margin:0 !important; }
.nm-cat-chips-source .wd-cat .wd-cat-inner{
  border:1px solid var(--nm-border) !important;
  border-radius:3px !important;
  background:#fff !important;
  padding:1px 7px 5px 7px!important;
  box-shadow:none !important;
  min-height:auto !important;
  display:flex !important;
  align-items:center !important;
}
.nm-cat-chips-source .wd-cat .wd-cat-content{ padding:0 !important; }
.nm-cat-chips-source .wd-cat .wd-cat-header{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
}

/* Title */
.nm-cat-chips-source .wd-cat .wd-entities-title{
  font-size:12px !important;
  line-height:1.1 !important;
  margin:0 !important;
  white-space:nowrap !important;
}
.nm-cat-chips-source .wd-cat .wd-entities-title a{
  color:var(--nm-text) !important;
  text-decoration:none !important;
}

/* Count: plain number (no oval) */
.nm-cat-chips-source .wd-cat .wd-cat-count{
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  padding:0 !important;
  font-size:13px !important;
  line-height:1 !important;
  font-weight:600 !important;
  color:var(--nm-brand-1) !important;
}

/* Hover (gradient + white text) */
.nm-cat-chips-source .wd-cat:hover .wd-cat-inner{
  border-color:transparent !important;
  color:#fff !important;
  background: linear-gradient(to bottom,var(--nm-brand-2) 0%, var(--nm-brand-1) 100%) !important;
}
.nm-cat-chips-source .wd-cat:hover .wd-entities-title a,
.nm-cat-chips-source .wd-cat:hover .wd-cat-count{
  color:#fff !important;
}

/* Current: same as hover */
.nm-cat-chips-source .wd-cat.current-cat .wd-cat-inner,
.nm-cat-chips-source .wd-cat.current-cat-parent .wd-cat-inner,
.nm-cat-chips-source .wd-cat.current-cat-ancestor .wd-cat-inner{
  border-color:transparent !important;
  background: linear-gradient(to bottom,var(--nm-brand-2) 0%, var(--nm-brand-1) 100%) !important;
}
.nm-cat-chips-source .wd-cat.current-cat .wd-entities-title a,
.nm-cat-chips-source .wd-cat.current-cat-parent .wd-entities-title a,
.nm-cat-chips-source .wd-cat.current-cat-ancestor .wd-entities-title a,
.nm-cat-chips-source .wd-cat.current-cat .wd-cat-count,
.nm-cat-chips-source .wd-cat.current-cat-parent .wd-cat-count,
.nm-cat-chips-source .wd-cat.current-cat-ancestor .wd-cat-count{
  color:#fff !important;
}

/* =========================================================
   NM: FIX hover text delay (disable transitions inside chips)
   Scope: only .nm-cat-chips-source
   ========================================================= */

.nm-cat-chips-source .wd-cat .wd-entities-title a,
.nm-cat-chips-source .wd-cat .wd-cat-count{
  transition: none !important;
}

/* На всякий случай: все состояния ссылки внутри чипа */
.nm-cat-chips-source .wd-cat:hover .wd-entities-title a,
.nm-cat-chips-source .wd-cat:hover .wd-entities-title a:hover,
.nm-cat-chips-source .wd-cat:hover .wd-entities-title a:focus,
.nm-cat-chips-source .wd-cat:hover .wd-entities-title a:active{
  color:#fff !important;
}

/* ===== Arrows (inside bar), no margins, no circles ===== */
.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:16px;
  height:16px;
  padding:0;
  margin:0;                 /* IMPORTANT: no weird margins */
  border:0;
  background:transparent;
  color:var(--nm-muted);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  user-select:none;
  z-index:9;
}

/* Add a wider clickable corridor without pushing chips */
.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow::before{
  content:"";
  position:absolute;
  top:-12px;
  bottom:-12px;
  width:var(--nm-arrow-hit);
}
.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow.nm-left::before{ left:-8px; }
.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow.nm-right::before{ right:-8px; }

.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow:hover{ color:var(--nm-brand-1); }
.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow svg{ width:16px; height:16px; display:block; }

.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow.nm-left{ left:0; }
.nm-cat-chips-source .nm-chip-bar .nm-chip-arrow.nm-right{ right:0; }

/* ===== Fade edges ONLY on bar (not on toggle) ===== */
.nm-cat-chips-source.nm-has-overflow .nm-chip-bar::before,
.nm-cat-chips-source.nm-has-overflow .nm-chip-bar::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:var(--nm-fade-w);
  pointer-events:none;
  z-index:8;                /* under arrows, over chips */
  opacity:0;
  transition:opacity .15s ease;
}

/* left fade */
.nm-cat-chips-source.nm-has-overflow .nm-chip-bar::before{
  left:0;
  background:linear-gradient(to right,
    #fff 25%,
    rgba(255,255,255,0.55) 82%,
    rgba(255,255,255,0) 100%
  );
}
/* right fade */
.nm-cat-chips-source.nm-has-overflow .nm-chip-bar::after{
  right:0;
  background: linear-gradient(to left,
    #fff 25%,
    rgba(255,255,255,0.55) 82%,
    rgba(255,255,255,0) 100%
  );
}

/* start: only right fade */
.nm-cat-chips-source.nm-has-overflow.nm-at-start .nm-chip-bar::after{ opacity:1; }
.nm-cat-chips-source.nm-has-overflow.nm-at-start .nm-chip-bar::before{ opacity:0; }

/* middle: both */
.nm-cat-chips-source.nm-has-overflow:not(.nm-at-start):not(.nm-at-end) .nm-chip-bar::before,
.nm-cat-chips-source.nm-has-overflow:not(.nm-at-start):not(.nm-at-end) .nm-chip-bar::after{
  opacity:1;
}

/* end: only left fade */
.nm-cat-chips-source.nm-has-overflow.nm-at-end .nm-chip-bar::before{ opacity:1; }
.nm-cat-chips-source.nm-has-overflow.nm-at-end .nm-chip-bar::after{ opacity:0; }

/* Toggle below chips, right aligned */
.nm-cat-chips-source .nm-chip-toggle{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  text-align:right;
  margin: -10px 0;
  padding:0;
  border:0;
  background:transparent;
  font-size:12px;
  line-height:1.2;
  color:var(--nm-brand-1);
  cursor:pointer;
  white-space:nowrap;
	text-transform: none;
}
.nm-cat-chips-source .nm-chip-toggle:hover{
  color:var(--nm-brand-2);
  text-decoration:underline;
}

/* Show-all mode: wrap + no arrows + no fade */
.nm-cat-chips-source.nm-show-all .nm-chip-bar .wd-cats.products{
  flex-wrap:wrap !important;
  overflow:visible !important;
}
.nm-cat-chips-source.nm-show-all .nm-chip-bar::before,
.nm-cat-chips-source.nm-show-all .nm-chip-bar::after{
  display:none !important;
}
.nm-cat-chips-source.nm-show-all .nm-chip-bar .nm-chip-arrow{
  display:none !important;
}

/* =========================================================
   NM: Count as plain number (no pills/circles/frames)
   ========================================================= */

.nm-cat-chips-source .wd-cat .wd-cat-header{
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.nm-cat-chips-source .wd-cat .wd-cat-count{
  /* убираем всё оформление */
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  /* убираем “плашку” по размерам */
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  height: auto !important;

  /* делаем именно цифру в одну строку */
  display: inline !important;
  white-space: nowrap !important;

  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 600 !important;

  /* цвет как у тебя */
  color: var(--nm-brand-1) !important;
}

/* На всякий: если WoodMart рисует “кружки” через псевдоэлементы */
.nm-cat-chips-source .wd-cat .wd-cat-count::before,
.nm-cat-chips-source .wd-cat .wd-cat-count::after{
  content: none !important;
  display: none !important;
}

/* Hover: цифра белая */
.nm-cat-chips-source .wd-cat:hover .wd-cat-count{
  color: #fff !important;
}

/* =========================================
   NM: SEO block (category bottom description)
   Scope: .wd-shop-desc .wd-term-desc only
   - H2 18px/600
   - Text 13px, black
   - Lists compact + brand bullets
   - Optional framed box
   ========================================= */

.wd-shop-desc .wd-term-desc{
  color: #111;
  font-size: 13px;
  line-height: 1.55;

  /* рамка как просили */
  border: 1px solid #0087D1;
  border-radius: 8px;
  padding: 18px 18px;
  background: #fff;
}

/* Заголовки */
.wd-shop-desc .wd-term-desc h2{
  color: #111;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

/* Абзацы */
.wd-shop-desc .wd-term-desc p{
  color: #111;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 10px 0;
}

/* Списки: нормальная плотность */
.wd-shop-desc .wd-term-desc ul{
  margin: 8px 0 14px 0;
  padding-left: 18px; /* контролируемая “полка” под маркер */
}

.wd-shop-desc .wd-term-desc li{
  color: #111;
  font-size: 13px;
  line-height: 1.2;
  margin: 6px 0;
}

/* Маркеры фирменным цветом */
.wd-shop-desc .wd-term-desc li::marker{
  color: #0087D1; /* ваш брендовый (можете заменить на #0087D1 если хотите в тон рамки) */
	font-size: 10px;
}

/* Ссылки внутри текста/списков */
.wd-shop-desc .wd-term-desc a{
  color: #0087D1;
  text-decoration: none;
}
.wd-shop-desc .wd-term-desc a:hover{
  color: black;
  text-decoration: none;
}

/* УБИРАЕМ “дыры” из-за <br> внутри li (у вас они стоят до/после ссылок) */
.wd-shop-desc .wd-term-desc ul li br{
  display: none !important;
}

/* Убираем лишние вертикальные зазоры от темных стилей темы внутри блока */
.wd-shop-desc .wd-term-desc *{
  letter-spacing: normal;
}

/* =========================================================
   NM: Product list cards (shop_view=list) — FINAL (CLEAN)
   Scope: ONLY list view (WoodMart)  .products.elements-list
   Markup: .product-wrapper > .product-element-top + .product-list-content.wd-scroll
   Layout (desktop):
     - Wrapper grid: [image] [content]
     - Content grid-areas:
         title | stock
         short | price
         short | actions (qty+button)
   ========================================================= */

.products.elements-list .wd-product.product-list-item{
  position: relative;
}

/* --- Card base --- */
.products.elements-list .wd-product.product-list-item .product-wrapper{
  position: relative;

  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  overflow:hidden;

  padding: 16px 16px 16px 16px;
  display:grid;
  grid-template-columns: 200px minmax(0, 1fr); /* image | content */
  column-gap:16px;
  align-items:start;

  transition:border-color .18s ease, box-shadow .18s ease;
}

/* Hover (no translate to avoid subpixel jitter) */
.products.elements-list .wd-product.product-list-item .product-wrapper:hover{
  border-color:#0087D1;
  box-shadow:0 12px 34px rgba(0,0,0,.10);
}

/* Critical shrink */
.products.elements-list .wd-product.product-list-item .product-wrapper > *{
  min-width:0;
}

/* --- LEFT: image --- */
.products.elements-list .wd-product.product-list-item .product-element-top{
  grid-column:1;
  padding:0 !important;
}

.products.elements-list .wd-product.product-list-item .product-image-link{
  display:block;
}

.products.elements-list .wd-product.product-list-item .product-image-link img{
  width:100% !important;
  height:auto !important;
  object-fit:contain;
  border-radius:8px;
}

/* keep action icons above */
.products.elements-list .wd-product.product-list-item .wd-buttons.wd-pos-r-t{
  z-index:6;
}

/* --- CONTENT: kill wd-scroll behavior + layout grid areas --- */
.products.elements-list .wd-product.product-list-item .product-list-content.wd-scroll{
  grid-column:2;

  overflow:visible !important;
  max-height:none !important;
  height:auto !important;

  display:grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important; /* center | right */
  grid-template-areas:
    "title  stock"
    "short  price"
    "short  actions";
  column-gap:16px !important;
  row-gap:6px !important;

  align-content:start !important;
  align-items:start !important;

  padding:0 !important;
  min-width:0 !important;
}

/* --- CENTER: title --- */
.products.elements-list .wd-product.product-list-item .wd-entities-title{
  grid-area:title !important;
  margin:10px 0 6px 0 !important;
  text-align: justify;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.10 !important;
}

.products.elements-list .wd-product.product-list-item .wd-entities-title a{
  color:#111 !important;
  text-decoration:none !important;
}

.products.elements-list .wd-product.product-list-item .wd-entities-title a:hover{
  color:#0097b2 !important;
}

/* --- CENTER: short description --- */ 
.products.elements-list .wd-product.product-list-item .woocommerce-product-details__short-description{ 
  grid-area:short !important; 
  margin:6px 0 0 0 !important; 
  font-size:12px !important; 
  font-weight:500 !important; 
  line-height:1.5 !important; 
  color:#111 !important; 
  display:-webkit-box; 
  -webkit-box-orient:vertical; 
  -webkit-line-clamp:6; 
  overflow:hidden; 
} 

.products.elements-list .wd-product.product-list-item .woocommerce-product-details__short-description ul{ 
  list-style:none !important; 
  margin:0 !important; 
  padding:0 !important; 
} 

.products.elements-list .wd-product.product-list-item .woocommerce-product-details__short-description li{ 
  margin:0 0 3px 0 !important; 
  padding:0 !important; 
  line-height:1.25 !important; 
} 

.products.elements-list .wd-product.product-list-item .woocommerce-product-details__short-description li:last-child{ 
  margin-bottom:0 !important; 
}

/* =========================================
   NM: list-view shortdesc -> comma (NO layout changes)
   - Specs: inline + comma
   - Last line (cert): separate line below
   IMPORTANT: does NOT touch container display/clamp/grid
   ========================================= */

/* 1) Все li делаем inline (пойдут в одну строку с переносами) */
.products.elements-list .wd-product.product-list-item
.woocommerce-product-details__short-description ul li{
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
}

/* 2) Запятая после каждого li */
.products.elements-list .wd-product.product-list-item
.woocommerce-product-details__short-description ul li::after{
  content:", ";
}

/* 3) УБРАТЬ запятую у "последней характеристики" (это предпоследний li) */
.products.elements-list .wd-product.product-list-item
.woocommerce-product-details__short-description ul li:nth-last-child(2)::after{
  content:"";
}


/* NM: CERT line — stable */
.products.elements-list .wd-product.product-list-item
.woocommerce-product-details__short-description ul li:last-child{
  display:block !important;
  margin-top:12px !important;     /* ниже строки характеристик */
  padding-top:0 !important;
  font-weight:500 !important;
  font-size:12px !important;
  line-height:1.25 !important;
  color:#0087d1 !important;
}

/* без запятой */
.products.elements-list .wd-product.product-list-item
.woocommerce-product-details__short-description ul li:last-child::after{
  content:"" !important;
}

/**
 * =========================================
 * NM: LIST VIEW shortdesc — allow full height (no clamp)
 * Fix: do not cut text + always show last li (РУ)
 * Scope: ONLY .products.elements-list (list view)
 * =========================================
 */

/* WoodMart иногда ограничивает контент в list view через wd-scroll */
.products.elements-list .wd-product.product-list-item .product-list-content.wd-scroll{
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

/* Убираем line-clamp, чтобы краткое описание растягивалось и РУ всегда попадало */
.products.elements-list .wd-product.product-list-item .woocommerce-product-details__short-description{
  display: block !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  overflow: visible !important;
	text-align: justify;
}

/* --- RIGHT: stock --- */
.products.elements-list .wd-product.product-list-item .wd-product-stock{
  grid-area:stock !important;

  justify-self:end !important;
  margin:10px 0 0 0 !important;

  display:flex !important;
  justify-content:flex-end !important;
  text-align:right !important;
}

/* --- RIGHT: price --- */
.products.elements-list .wd-product.product-list-item .price{
  grid-area:price !important;
  justify-self:end !important;
  margin:0 !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.1 !important;
  color:#111 !important;
  text-align:right !important;
}

/* --- RIGHT: actions (qty + button) --- */
.products.elements-list .wd-product.product-list-item .wd-add-btn{
  grid-area:actions !important;

  justify-self:end !important;
  align-self:start !important;
  text-align:right !important;

  margin:0 !important;
  padding:0 !important;
  height:auto !important;
  min-height:0 !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  gap:6px !important;
}

/* qty */
.products.elements-list .wd-product.product-list-item .wd-add-btn .quantity{
  display:inline-flex !important;
  justify-content:flex-end !important;
  margin:0 !important;
}

/* button (move up by 5px as requested) */
.products.elements-list .wd-product.product-list-item .wd-add-btn .add-to-cart-loop{
  display:inline-flex !important;
  justify-content:center !important;

  width:140px !important;
  min-width:140px !important;
  max-width:140px !important;

  margin:0 !important;
  white-space:nowrap !important;

}

/* remove "added_to_cart" visual noise */
.products.elements-list .wd-product.product-list-item .wd-add-btn .added_to_cart{
  display:none !important;
}

/* --- SKU badge top-left (real markup: .wd-product-detail.wd-product-sku) --- */
.products.elements-list .wd-product.product-list-item .wd-product-detail.wd-product-sku{
  position:absolute !important;
  top:14px !important;
  left:14px !important;
  z-index:9 !important;

  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;

  margin:0 !important;
  padding:10px 6px !important;
  border-radius:8px !important;

  background:rgba(255,255,255,.85) !important;
  border:1px solid transparent !important;
  line-height:1.1 !important;
}

.products.elements-list .wd-product.product-list-item .wd-product-detail.wd-product-sku .wd-label{
  color:#6b7280 !important;
  margin:0 !important;
  line-height:1.1 !important;
}

.products.elements-list .wd-product.product-list-item .wd-product-detail.wd-product-sku span:last-child{
  color:#111 !important;
  font-weight:700 !important;
  line-height:1.1 !important;
}

/* --- Prevent list card background from theme --- */
.products.elements-list.wd-products-with-bg .wd-product.product-list-item{
  background:transparent !important;
}

/* =========================================================
   NM: Responsive (base) — <=1024px
   (you said: mobile will be a separate stage; here is safe base)
   ========================================================= */
@media (max-width: 1024px){

  /* Stack: image on top, content below */
  .products.elements-list .wd-product.product-list-item .product-wrapper{
    grid-template-columns: 1fr !important;
    row-gap: 12px !important;
  }

  .products.elements-list .wd-product.product-list-item .product-element-top{
    grid-column: 1 !important;
  }

  .products.elements-list .wd-product.product-list-item .product-list-content.wd-scroll{
    grid-column: 1 !important;

    grid-template-columns: 1fr !important;
    grid-template-areas:
      "title"
      "stock"
      "price"
      "actions"
      "short" !important;

    row-gap: 8px !important;
  }

  .products.elements-list .wd-product.product-list-item .wd-product-stock,
  .products.elements-list .wd-product.product-list-item .price,
  .products.elements-list .wd-product.product-list-item .wd-add-btn{
    justify-self: start !important;
    text-align: left !important;
  }

  .products.elements-list .wd-product.product-list-item .wd-add-btn{
    align-items: flex-start !important;
  }

  .products.elements-list .wd-product.product-list-item .wd-add-btn .add-to-cart-loop{
    width:auto !important;
    min-width:170px !important;
    max-width:none !important;
    transform: none !important; /* на мобилке лучше без “подъёма” */
  }
}

/* =========================================
   NM: LIST view — FIX extra bottom space + stable image box
========================================= */

/* Убираем искусственный “лишний низ” */
.products.elements-list .wd-product.product-list-item .product-wrapper{
  padding: 16px !important;          /* вместо 16px 16px 30px 16px */
  grid-template-columns: 260px minmax(0, 1fr) !important;  /* ровно под картинку */
  grid-auto-rows: min-content !important; /* чтобы строки не растягивались */
}

/* Фиксируем левый блок под картинку */
.products.elements-list .wd-product.product-list-item .product-element-top{
  align-self: start !important;
}

/* Делаем “окно” для картинки фиксированной высоты */
/* NM: image box — bigger but doesn't force extra blank space */
.products.elements-list .wd-product.product-list-item .product-image-link{
  max-height:220px !important;
  height:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Картинка вписывается в окно и не раздувает карточку */
.products.elements-list .wd-product.product-list-item .product-image-link img{
  width:100% !important;
  height:auto !important;
  max-height:220px !important;
  object-fit:contain !important;
  border-radius:8px !important;
}

.products.elements-list .wd-product.product-list-item 
.woocommerce-product-details__short-description{
  padding-right: 0 !important;
}

/* =========================================
   NM: Product tabs (strict B2B tiles)
   Назначение (серые плитки, активная белая, рамка контента)
   ========================================= */

body.single-product .woocommerce-tabs {
  --nm-border: #fff;
  --nm-bg-tab: #f2f2f2;
  --nm-bg-active: #ffffff;
  --nm-text: #1f2937;
  --nm-muted: #4b5563;
  --nm-accent: #0087d1;
  --nm-border-active: #dddddd;
  --nm-border-tabs: #dddddd;
}

/* 1) Убираем “woodmart underline/лишние эффекты”, оставляем чистый таб-UI */
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-tabs .wd-nav-tabs-wrapper,
body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 2) Список вкладок — в линию, с переносом при нехватке */
body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 0 0 0 !important;
  padding: 0 !important;
}

/* 3) Плитка вкладки */
body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs > li {
  margin: 0 !important;
}

/* Между плитками – тонкий разделитель */
body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs > li + li {
  margin-left: -1px; /* чтобы бордеры “склеились” как в B2B UI */
}

/* 4) Внешний вид вкладок (неактивные) */
body.single-product .woocommerce-tabs .wd-nav-link {
  display: inline-flex !important;
  align-items: center;
  padding: 12px 18px !important;
  color: var(--nm-text) !important;
  text-decoration: none !important;
  background: var(--nm-bg-tab) !important;
  border: 1px solid var(--nm-border) !important;
  border-bottom: 1px solid var(--nm-border-tabs) !important; /* вкладки “сидят” на контенте */
  border-radius: 0 !important;

  line-height: 1.2;
  transition: background-color .12s ease, color .12s ease;
}

/* Hover — лёгкое высветление */
body.single-product .woocommerce-tabs .wd-nav-link:hover {
  background: #dddddd !important;
}

/* 5) Активная вкладка — белая */
body.single-product .woocommerce-tabs li.active > .wd-nav-link {
  background: var(--nm-bg-active) !important;
  position: relative;
  z-index: 5;
  border-left: 1.7px solid var(--nm-border-active) !important;
  border-right: 1.7px solid var(--nm-border-active) !important;
  border-top: 2px solid var (--nm-accent) !important;
  border-bottom: none !important;
}

/* Тонкая акцентная линия сверху активной (не обязательно, но выглядит “дороже”) */
body.single-product .woocommerce-tabs li.active > .wd-nav-link:before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 3px;
  background: var(--nm-accent);
}

/* 6) Контентный блок: рамка, белый фон */
body.single-product .woocommerce-tabs .wc-tab {
  background: #fff !important;
  box-shadow: none !important;
}

/* Важно: контент “подхватывает” вкладки — убираем верхнюю границу,
   чтобы активная вкладка выглядела частью блока */
body.single-product .woocommerce-tabs .wc-tab {
  border-top: 0 !important;
}

/* 7) Типографика/списки — ближе к B2B */
body.single-product .woocommerce-tabs .wc-tab p {
  line-height: 1.7;
  color: #111827;
}

body.single-product .woocommerce-tabs .wc-tab ul {
  margin: 0;
  padding-left: 22px;
}

body.single-product .woocommerce-tabs .wc-tab li {
  margin: 10px 0;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text {
  padding-bottom: 10px;
}

.wd-nav[class*="wd-style-underline"] .nav-link-text:after {
  height: 2.8px;
}

/* уменьшаем шрифт ссылки бренда */
.wd-product-brands {
  font-size: 13px !important;
	font-weight: 500;
}

.wd-product-brands a:hover {
  color: #0087d1;
	font-size: 13px !important;
	font-weight: 500;
}

/* 8) Мобилка: делаем горизонтальный скролл табов как “ряд плиток” */
@media (max-width: 768px) {
  body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs::-webkit-scrollbar {
    height: 0;
  }

  body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs > li {
    flex: 0 0 auto !important;
  }

  body.single-product .woocommerce-tabs .wd-nav-link {
    padding: 11px 14px !important;
    font-size: 14px;
    white-space: nowrap;
  }

  body.single-product .woocommerce-tabs .wc-tab {
    padding: 18px 16px 20px !important;
  }
}

/* =========================================
   NM: Tabs behavior
   - fill row without empty space
   - tab width respects text (no wrap, no cut)
   - keeps your current visuals
   ========================================= */

@media (min-width: 769px){

  /* 1) Ряд вкладок на 100% ширины */
  body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs{
    width: 100% !important;
    flex-wrap: nowrap !important;   /* одна строка как у тебя по задумке */
  }

  /* 2) Ключ: flex: 1 0 auto
        - auto: базовая ширина от текста
        - grow: растягивается и убирает пустоту справа */
  body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs > li{
    flex: 1 0 auto !important;
    min-width: 0 !important;        /* важно для flex-элементов */
  }

  /* 3) Текст: не переносить и не обрезать */
  body.single-product .woocommerce-tabs .wd-nav.wd-nav-tabs > li > a.wd-nav-link{
    width: 100% !important;
    justify-content: center !important;

    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }

  /* 4) Чтобы нижняя линия под вкладками НЕ была видна под активной вкладкой
        (active:after “закрывает” линию) */
  body.single-product .woocommerce-tabs li.active > .wd-nav-link{
    position: relative;
  }
  body.single-product .woocommerce-tabs li.active > .wd-nav-link:after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--nm-bg-active);
  }
}

/* =========================================
   NM: SEO block (single description)
    - H2 18px/600
   - Text 13px, black
   - Lists compact + brand bullets
   - Optional framed box
   ========================================= */

body.single-product .woocommerce-tabs .wc-tab {
  color: #111;
  font-size: 13px;
  line-height: 1.55;
	margin-top: 30px;
}

/* Заголовки */
body.single-product .woocommerce-tabs .wc-tab h2{
  color: #111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

/* Абзацы */
body.single-product .woocommerce-tabs .wc-tab p{
  color: #111;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 10px 0;
}

/* Списки: нормальная плотность */
body.single-product .woocommerce-tabs .wc-tab ul{
  margin: 8px 0 14px 0;
  padding-left: 18px; /* контролируемая “полка” под маркер */
}

body.single-product .woocommerce-tabs .wc-tab li{
  color: #111;
  font-size: 13px;
  line-height: 1.25;
  margin: 6px 0;
}

/* Маркеры фирменным цветом */
body.single-product .woocommerce-tabs .wc-tab li::marker{
  color: #0087D1; /* ваш брендовый (можете заменить на #0087D1 если хотите в тон рамки) */
	font-size: 10px;
}

/* Ссылки внутри текста/списков */
body.single-product .woocommerce-tabs .wc-tab a{
  color: #0087D1;
  text-decoration: none;
}
body.single-product .woocommerce-tabs .wc-tab a:hover{
  color: black;
  text-decoration: none;
}

/* УБИРАЕМ “дыры” из-за <br> внутри li (у вас они стоят до/после ссылок) */
body.single-product .woocommerce-tabs .wc-tab ul li br{
  display: none !important;
}

/* Убираем лишние вертикальные зазоры от темных стилей темы внутри блока */
body.single-product .woocommerce-tabs .wc-tab *{
  letter-spacing: normal;
}

/* =========================================
   NM: specs rows (.nm-specs)
   ========================================= */

body.single-product .nm-specs{
  width: 100%;
}

body.single-product .nm-specs-item{
  border-bottom: 1px solid #eee;
  padding: 14px 0;
}

body.single-product .nm-specs-row{
  display: flex;
  gap: 18px;
}

body.single-product .nm-specs-col1{
  flex: 0 0 42%;
  color: #111827;
  font-weight: 500;
}

body.single-product .nm-specs-col2{
  flex: 1 1 auto;
  color: #111827;
  overflow-wrap: anywhere;
}

/* Base */
/* =========================================
NM: Category tiles — Clean B2B (NO BLUR)
Applies to:
- nm-napravleniya-cats
- nm-oborudovanie-cats
- nm-mebel-cats
- nm-instrumenty-cats
========================================= */

/* ===== Base ===== */
.nm-napravleniya-cats .wd-cat,
.nm-oborudovanie-cats .wd-cat,
.nm-mebel-cats .wd-cat,
.nm-instrumenty-cats .wd-cat{
  height: 100%;
}

/* ===== HARD FIX: kill ANY transforms (SVG blur prevention) ===== */
.nm-napravleniya-cats .wd-cat,
.nm-napravleniya-cats .wd-cat-inner,
.nm-napravleniya-cats .wd-cat-thumb,
.nm-napravleniya-cats .wd-cat-image,
.nm-napravleniya-cats .wd-cat-thumb a,
.nm-napravleniya-cats .wd-cat-thumb img,

.nm-oborudovanie-cats .wd-cat,
.nm-oborudovanie-cats .wd-cat-inner,
.nm-oborudovanie-cats .wd-cat-thumb,
.nm-oborudovanie-cats .wd-cat-image,
.nm-oborudovanie-cats .wd-cat-thumb a,
.nm-oborudovanie-cats .wd-cat-thumb img,

.nm-mebel-cats .wd-cat,
.nm-mebel-cats .wd-cat-inner,
.nm-mebel-cats .wd-cat-thumb,
.nm-mebel-cats .wd-cat-image,
.nm-mebel-cats .wd-cat-thumb a,
.nm-mebel-cats .wd-cat-thumb img,

.nm-instrumenty-cats .wd-cat,
.nm-instrumenty-cats .wd-cat-inner,
.nm-instrumenty-cats .wd-cat-thumb,
.nm-instrumenty-cats .wd-cat-image,
.nm-instrumenty-cats .wd-cat-thumb a,
.nm-instrumenty-cats .wd-cat-thumb img{
  transform: none !important;
  will-change: auto !important;
}

/* ===== Card ===== */
.nm-napravleniya-cats .wd-cat-inner.wrapp-category,
.nm-oborudovanie-cats .wd-cat-inner.wrapp-category,
.nm-mebel-cats .wd-cat-inner.wrapp-category,
.nm-instrumenty-cats .wd-cat-inner.wrapp-category{
  background: #ffffff;
  border: 1px solid #e9eef5;
  border-radius: 8px;
  padding: 22px 18px 20px;
  overflow: hidden;
  height: 100%;
  box-shadow:
    3px 4px 10px rgba(15, 23, 42, 0.10),
    0 1px 3px rgba(15, 23, 42, 0.06);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.nm-napravleniya-cats .wd-cat-inner.wrapp-category:hover,
.nm-oborudovanie-cats .wd-cat-inner.wrapp-category:hover,
.nm-mebel-cats .wd-cat-inner.wrapp-category:hover,
.nm-instrumenty-cats .wd-cat-inner.wrapp-category:hover{
  border-color: #0087d1;
  box-shadow:
    0 12px 18px rgba(15, 23, 42, 0.18),
    0 6px 8px rgba(15, 23, 42, 0.10);
}

/* ===== Image wrapper ===== */
.nm-napravleniya-cats .wd-cat-thumb.category-image-wrapp,
.nm-oborudovanie-cats .wd-cat-thumb.category-image-wrapp,
.nm-mebel-cats .wd-cat-thumb.category-image-wrapp,
.nm-instrumenty-cats .wd-cat-thumb.category-image-wrapp{
  margin-bottom: 14px;
}

/* ===== Image box ===== */
.nm-napravleniya-cats a.wd-cat-image.category-image,
.nm-oborudovanie-cats a.wd-cat-image.category-image,
.nm-mebel-cats a.wd-cat-image.category-image,
.nm-instrumenty-cats a.wd-cat-image.category-image{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}

/* ===== Image sizing ===== */
.nm-napravleniya-cats a.wd-cat-image.category-image img,
.nm-oborudovanie-cats a.wd-cat-image.category-image img,
.nm-mebel-cats a.wd-cat-image.category-image img,
.nm-instrumenty-cats a.wd-cat-image.category-image img{
  width: auto !important;
  height: auto !important;
  max-width: 160px;
  max-height: 160px;
  object-fit: contain;
  filter: none !important;
  backface-visibility: hidden;
}

/* SVG crispness */
.nm-napravleniya-cats img[src$=".svg"],
.nm-oborudovanie-cats img[src$=".svg"],
.nm-mebel-cats img[src$=".svg"],
.nm-instrumenty-cats img[src$=".svg"]{
  image-rendering: crisp-edges;
}

/* ===== Content ===== */
.nm-napravleniya-cats .wd-cat-content.hover-mask,
.nm-oborudovanie-cats .wd-cat-content.hover-mask,
.nm-mebel-cats .wd-cat-content.hover-mask,
.nm-instrumenty-cats .wd-cat-content.hover-mask{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  gap: 6px;
  padding: 0 4px;
}

/* Title */
.nm-napravleniya-cats .wd-cat-content .wd-entities-title,
.nm-oborudovanie-cats .wd-cat-content .wd-entities-title,
.nm-mebel-cats .wd-cat-content .wd-entities-title,
.nm-instrumenty-cats .wd-cat-content .wd-entities-title{
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: #0f172a;
}

/* Count */
.nm-napravleniya-cats .wd-cat-count.more-products,
.nm-oborudovanie-cats .wd-cat-count.more-products,
.nm-mebel-cats .wd-cat-count.more-products,
.nm-instrumenty-cats .wd-cat-count.more-products{
  margin: 0;
  font-size: 13px;
  opacity: .75;
}

.nm-napravleniya-cats .wd-cat-count.more-products a,
.nm-oborudovanie-cats .wd-cat-count.more-products a,
.nm-mebel-cats .wd-cat-count.more-products a,
.nm-instrumenty-cats .wd-cat-count.more-products a{
  color: inherit;
  text-decoration: none;
}

/* Disable overlays */
.nm-napravleniya-cats .wd-cat-content.hover-mask:before,
.nm-napravleniya-cats .wd-cat-content.hover-mask:after,
.nm-oborudovanie-cats .wd-cat-content.hover-mask:before,
.nm-oborudovanie-cats .wd-cat-content.hover-mask:after,
.nm-mebel-cats .wd-cat-content.hover-mask:before,
.nm-mebel-cats .wd-cat-content.hover-mask:after,
.nm-instrumenty-cats .wd-cat-content.hover-mask:before,
.nm-instrumenty-cats .wd-cat-content.hover-mask:after{
  opacity: 0 !important;
}


/* =========================================
NM: count next to section headings
========================================= */
.nm-title-count{
  display: inline-block;
  margin-left: 14px;
  font-size: 15px;
  font-weight: 500;
  color: #9aa6b2;
  white-space: nowrap;
  vertical-align: middle;
}

/* =========================================
NM: Total counter — force visible spacing
========================================= */
.nm-total__word{
  margin-left: 6px; /* можешь 4-8px подобрать */
}

/* =========================================
   NM: Specs tab (wd_custom_tab_2) — rows from <table>
   Назначение: превратить таблицу характеристик в “строки” с разделителями,
   как на 2 колонки, значение справа, тонкие линии.
   ========================================= */

body.single-product #tab-wd_custom_tab_2 table{
  width: 100% !important;
  border: 0 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  table-layout: fixed !important; /* стабильная сетка, как у медкомп */
}

body.single-product #tab-wd_custom_tab_2 tbody,
body.single-product #tab-wd_custom_tab_2 tr,
body.single-product #tab-wd_custom_tab_2 td{
  border: 0 !important;
}

/* Строка как единый “item” с разделителем снизу */
body.single-product #tab-wd_custom_tab_2 tr{
  border-bottom: 1px solid #eee !important;
}

/* Ячейки */
body.single-product #tab-wd_custom_tab_2 td{
  padding: 14px 0 !important;
  vertical-align: middle !important;
  font-size: 13px;
  line-height: 1.35;
  color: #111;
  /* перебиваем твои inline width/height */
  height: auto !important;
}

/* Левая колонка (название) */
body.single-product #tab-wd_custom_tab_2 td:first-child{
  width: 68% !important;
  padding-right: 18px !important;
  text-align: left !important;
  font-weight: 400;
}

/* Правая колонка (значение) */
body.single-product #tab-wd_custom_tab_2 td:last-child{
  width: 32% !important;
  text-align: right !important;
  color: #111827;
  font-weight: 400;
  word-break: break-word;
}

/* Если в таблице где-то остались <p> — убираем лишние отступы */
body.single-product #tab-wd_custom_tab_2 td p{
  margin: 0 !important;
  padding: 0 !important;
}

/* На мобилке делаем чуть компактнее и не даём “слипаться” */
@media (max-width: 768px){
  body.single-product #tab-wd_custom_tab_2 td{
    padding: 12px 0 !important;
    font-size: 13px;
  }
  body.single-product #tab-wd_custom_tab_2 td:first-child{
    width: 62% !important;
    padding-right: 12px !important;
  }
  body.single-product #tab-wd_custom_tab_2 td:last-child{
    width: 38% !important;
  }
}

/* =========================================================
   NM: Related tabs (server-rendered)
   Scope: .nm-related-tabs only
   ========================================================= */

.nm-related-tabs .nm-tabs__caption{
  display:flex;
  gap:0;
  list-style:none;
  margin:0 0 12px 0;
  padding:0;
  position:relative;
}

.nm-related-tabs .nm-tabs__caption > li{
  flex:1 1 0;
  text-align:center;
  margin:0;
  padding:10px 8px 12px;
  cursor:pointer;
  user-select:none;
  font-size:13px;
  font-weight:600;
  color:#111;
  position:relative;
  white-space:nowrap;
}

.nm-related-tabs .nm-tabs__caption::before{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:1.6px;
  background:#ddd;
}

.nm-related-tabs .nm-tabs__caption > li::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2.8px;
  background:#0087d1;
  transition:width .22s ease;
}

.nm-related-tabs .nm-tabs__caption > li.is-active::after{
  width:100%;
}

.nm-related-tabs .nm-tabs__caption > li:not(.is-active):hover::after{
  width:100%;
}

/* hover фон — только для НЕактивной вкладки */
.nm-related-tabs .nm-tabs__caption > li:not(.is-active):hover{
  background:#F2F2F2;
}

/* чтобы не было “скачка” — плавность */
.nm-related-tabs .nm-tabs__caption > li{
  transition: background-color .18s ease;
}


.nm-related-tabs .nm-tab-panel{ display:none; }
.nm-related-tabs .nm-tab-panel.is-active{ display:block; }

/* =========================================================
   NM: Related list cards (no WoodMart loop)
   ========================================================= */

.nm-ajax-related .nm-rel-list{
  display:flex;
  flex-direction:column;
  gap:12px;
	margin-top: 35px;
}

.nm-ajax-related .nm-rel-item{
  display:flex;
  flex-wrap: wrap;
  gap:5px;
  align-items:flex-start;
  padding:12px 12px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:8px;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  transition:border-color .18s ease, box-shadow .18s ease;
}

.nm-ajax-related .nm-rel-item:hover{
	border-color:#0087D1;
  box-shadow:0 12px 34px rgba(0,0,0,.10);
}

.nm-ajax-related .nm-rel-left{
  flex:0 0 90px;
  max-width:90px;
  display:block;
}

.nm-ajax-related .nm-rel-img{
  width:90px;
  height:80px;
  object-fit:contain;
  display:block;
}

.nm-ajax-related .nm-rel-mid{
  flex: 1 1 calc(100% - 102px);
  max-width: calc(100% - 102px);
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.nm-ajax-related .nm-rel-title{
  color:#111;
  font-size:13px;
  font-weight:500;
  line-height:1.55;
  text-decoration:none;
  overflow-wrap:anywhere;
}

.nm-ajax-related .nm-rel-title:hover{ color:#0087d1; }

.nm-ajax-related .nm-rel-stock{
  font-size:13px;
  font-weight:500;
  line-height:1.3;
  color:#0087d1;
}

.nm-ajax-related .nm-rel-stock.out-stock{ color:#999; }
.nm-ajax-related .nm-rel-stock.backorder{ color:#0087d1; }

.nm-ajax-related .nm-rel-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 0 0 100%;
  justify-content: flex-end;
}

.nm-ajax-related .nm-rel-price .amount{
  color:#243746;
  font-size:16px;
  line-height:16px;
  font-weight:700;
  white-space:nowrap;
}

.nm-ajax-related .nm-rel-cart{
  width:17px;
  height:17px;
  display:inline-block;
  background:#545454;
  -webkit-mask-image:url('/wp-content/uploads/2026/02/cart-nm-ajax.svg');
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  -webkit-mask-position:center;
          mask-image:url('/wp-content/uploads/2026/02/cart-nm-ajax.svg');
          mask-repeat:no-repeat;
          mask-size:contain;
          mask-position:center;
}

.nm-ajax-related .nm-rel-price ins .amount{
  color:#0087d1;
}

/* цвет цифр старой цены */
.nm-ajax-related .nm-rel-price del .amount{
  color:#9a9ba5;
}

/* цвет линии перечёркивания */
.nm-ajax-related .nm-rel-price del{
  text-decoration-color:#9a9ba5;
}

.nm-ajax-related .nm-rel-cart:hover{ background:#0087d1; }

/* Toggle show-X (same logic as раньше) */
.nm-ajax-related.nm-show-1 .nm-rel-item:nth-child(n+2){ display:none; }
.nm-ajax-related.nm-show-2 .nm-rel-item:nth-child(n+3){ display:none; }
.nm-ajax-related.nm-show-3 .nm-rel-item:nth-child(n+4){ display:none; }
.nm-ajax-related.nm-show-4 .nm-rel-item:nth-child(n+5){ display:none; }

/* FIX: Expanded must override show-X nth-child hiding */
.nm-ajax-related.nm-expanded.nm-show-1 .nm-rel-item:nth-child(n+2),
.nm-ajax-related.nm-expanded.nm-show-2 .nm-rel-item:nth-child(n+3),
.nm-ajax-related.nm-expanded.nm-show-3 .nm-rel-item:nth-child(n+4),
.nm-ajax-related.nm-expanded.nm-show-4 .nm-rel-item:nth-child(n+5){
  display:flex !important;
}


.nm-ajax-related.nm-expanded .nm-rel-item{ display:flex; }

.nm-ajax-related .nm-chip-toggle{
  margin-top:8px;
  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;
  color:#0087d1;
  font-weight:500;
  float:right;
  text-transform:none;
}

/* Mobile keep PC layout */
@media (max-width:1024px){
  .nm-ajax-related .nm-rel-left{ flex:0 0 86px; max-width:86px; }
  .nm-ajax-related .nm-rel-img{ width:86px; height:64px; }
}

@media (max-width:1024px){

  /* Без переноса строк */
  .nm-ajax-related .nm-rel-item{
    flex-wrap: wrap;
  }

  /* Текст — обычная ширина */
  .nm-ajax-related .nm-rel-mid{
		flex: 1 1 calc(100% - 98px);     /* 86 + 12 */
    max-width: calc(100% - 98px);
  }

  /* Цена и корзина — справа, в строке */
  .nm-ajax-related .nm-rel-right{
    flex: 0 0 100%;
    justify-content: flex-end;
    margin-top: 0;		
  }
	
	.nm-ajax-related .nm-rel-img{
  width:90px;
  height:80px;
  }
}

/* =========================================================
   NM: Product notice block (legal recommendation text)
   Цвет текста + нижняя пунктирная граница
   ========================================================= */

.nm-product-notice {
    border-bottom: 1px dotted #e5e5e5;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.nm-product-notice p {
    color: #9a9ba5 !important;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
	  text-align: justify;
}



/* =========================================================
   NEOMEDREM: SIDEBAR FILTERS — UNIFIED STYLE (WoodMart)
   Scope: ONLY inside .nm-sidebar
   ========================================================= */

/* ---------- 0) Sidebar base ---------- */
.nm-sidebar{
  background:#fff;
  box-shadow:3px 4px 10px rgba(0,0,0,.10);
  border:none;
  position:relative;
}

.nm-sidebar .nm-sidebar-top,
.nm-sidebar .nm-sidebar-widgets{
  background:#fff;
}

/* Убираем лишние паддинги Elementor внутри сайдбара */
.nm-sidebar .elementor-widget-container{
  padding:0 !important;
}

/* ---------- 1) TOP BAR: переключатель вида + зона под "Фильтры" ---------- */
.nm-sidebar .nm-sidebar-top{
  margin:0;
  padding:0;
	border-bottom:1px solid #ededed;
}

.nm-sidebar .nm-sidebar-top .wd-products-shop-view{
  display:flex;
  align-items:center;
  gap:6px;
  padding:11px 16px;
  margin:0 !important;
  width:100%;
  background:#fff;
}

/* гасим старые псевдо-элементы */
.nm-sidebar .nm-sidebar-top .wd-products-shop-view::before,
.nm-sidebar .nm-sidebar-top .wd-products-shop-view::after{
  content:none !important;
}

/* Иконки list/grid */
.nm-sidebar .nm-sidebar-top .wd-products-shop-view a.shop-view{
  width:20px;
  height:20px;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  opacity:.6;
  position:relative;
}

.nm-sidebar .nm-sidebar-top .wd-products-shop-view a.shop-view.active,
.nm-sidebar .nm-sidebar-top .wd-products-shop-view a.shop-view[aria-current="page"]{
  opacity:1;
}

/* ---------- 2) Widgets wrapper ---------- */
.nm-sidebar .nm-sidebar-widgets{
  padding:0 15px;
  font-size:13px;
}

/* ВАЖНО: у WoodMart виджеты = .widget, не .sidebar-widget */
.nm-sidebar .nm-sidebar-widgets .widget{
  margin:0 !important;
  padding:0;
  border-top:0 !important;
  border-bottom:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  background:#fff !important;
}

.nm-sidebar .nm-sidebar-widgets .widget + .widget{
  border-top:1px solid #e8e8e8 !important; /* добавили только начиная со второго виджета */
}

/* ---------- 3) Widget titles (h5.widget-title) ---------- */
.nm-sidebar .nm-sidebar-widgets .widget-title{
  margin:15px 0 !important;
  font-size:13px !important;
  font-weight:600 !important;
  color:#243746 !important;
  line-height:1.1 !important;
  cursor:pointer;
  position:relative;
  text-transform:none !important;
  letter-spacing:0 !important;
}

/* У WoodMart стрелка часто через :after — оставляем родную, но приводим к виду */
.nm-sidebar .nm-sidebar-widgets .wd-widget-collapse .widget-title:after{
  font-size:13px !important;
  color:#243746 !important;
  opacity:.7;
}

.nm-filters-icon{
  width:14px;
  height:14px;
  background:#0087d1;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18l-7 8v5l-4 2v-7z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18l-7 8v5l-4 2v-7z'/%3E%3C/svg%3E") no-repeat center;
}

/* ---------- 4) Widget content spacing ---------- */
.nm-sidebar .nm-sidebar-widgets .widget .widget-content,
.nm-sidebar .nm-sidebar-widgets .widget form,
.nm-sidebar .nm-sidebar-widgets .widget ul{
  margin:0 0 15px 0;
}

/* ---------- 5) Links / list rows (унификация) ---------- */
.nm-sidebar .nm-sidebar-widgets .widget a{
  color:#243746;
  font-size:13px;
  line-height:18px;
}

.nm-sidebar .nm-sidebar-widgets .widget a:hover{
  text-decoration:none;
}

/* Убираем “лишние подчеркивания/линии” если тема добавляет */
.nm-sidebar .nm-sidebar-widgets .widget a,
.nm-sidebar .nm-sidebar-widgets .widget a:before,
.nm-sidebar .nm-sidebar-widgets .widget a:after{
  box-shadow:none !important;
}

/* ---------- 6) Layered nav (обычные фильтры списком) ---------- */
.nm-sidebar .nm-sidebar-widgets .widget_layered_nav ul,
.nm-sidebar .nm-sidebar-widgets .woodmart-woocommerce-layered-nav ul{
  margin:0 0 15px 0;
  padding:0;
}

.nm-sidebar .nm-sidebar-widgets .widget_layered_nav li,
.nm-sidebar .nm-sidebar-widgets .woodmart-woocommerce-layered-nav li{
  list-style:none;
  margin: 0;
}

/* count справа */
.nm-sidebar .nm-sidebar-widgets .widget_layered_nav .count,
.nm-sidebar .nm-sidebar-widgets .woodmart-woocommerce-layered-nav .count{
  margin-left:auto;
  color:#9aa3aa;
  font-size:13px;
  padding-left:6px;
  flex-shrink:0;
}

/* ---------- 7) Stock status widget ---------- */
.nm-sidebar .nm-sidebar-widgets .wd-widget-stock-status ul{
  margin:0 0 15px 0;
  padding:0;
}

.nm-sidebar .nm-sidebar-widgets .wd-widget-stock-status li{
  list-style:none;
  margin:6px 0;
}

.nm-sidebar .nm-sidebar-widgets .wd-widget-stock-status li a{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* ---------- 8) Disabled items ---------- */
.nm-sidebar .nm-sidebar-widgets li.disabled a,
.nm-sidebar .nm-sidebar-widgets li.disabled{
  color:#c9cacf !important;
}

/* ---------- 9) “Всегда развернуты” (только внутри nm-sidebar!) ---------- */
.nm-sidebar .widget.wd-widget-collapsed .widget-content{
  display:block !important;
}
.nm-sidebar .widget.wd-widget-collapsed{
  overflow:visible;
}

/* =========================================================
   NEOMEDREM: DROPDOWN / SELECT2 (WoodMart layered nav dropdown)
   ========================================================= */

.nm-sidebar .wd-widget-layered-nav-dropdown-form{
  margin:0 0 15px 0;
}

.nm-sidebar .select2-container{
  width:100% !important;
}

.nm-sidebar .select2-container--default .select2-selection--multiple,
.nm-sidebar .select2-container--default .select2-selection--single{
  min-height: 30px;
  border: 1px solid #e8e8e8 !important;
  border-radius: 4px !important;
  background: #fff !important;
  padding: 6px 8px !important;
  box-shadow: none !important;
}

/* placeholder/текст выбранного */
.nm-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered{
  padding:0 !important;
  line-height:28px !important;
  font-size:13px !important;
  color:#243746 !important;
	text-transform:none; /* Первая заглавная */
}

/* мультиселект */
.nm-sidebar .select2-container--default .select2-selection--multiple .select2-selection__rendered{
  margin:0 !important;
  padding:0 !important;
}

.nm-sidebar .select2-container--default .select2-selection--multiple .select2-selection__choice{
  border:0 !important;
  border-radius:999px !important;
  background:#f3f5f7 !important;
  color:#243746 !important;
  font-size:13px !important;
  line-height:18px !important;
  padding:3px 8px !important;
  margin:4px 6px 0 0 !important;
}

.nm-sidebar .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
  margin-right:6px;
  color:#9aa3aa !important;
}

/* поле поиска внутри select2 */
.nm-sidebar .select2-container--default .select2-search--inline .select2-search__field{
  font-size:13px !important;
  line-height:18px !important;
}

body .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-search--inline {
    margin-top: 0 !important; 
}

/* КНОПКА "Применить" */
.nm-sidebar .wd-widget-layered-nav-dropdown__submit{
  width:100%;
  height:38px;
  border-radius:4px;
  font-size:13px;
  font-weight:500;
  border:0;
  cursor:pointer;
}

/* Выпадающий список select2 (options) */
.nm-sidebar .select2-dropdown{
  border:1px solid #e8e8e8 !important;
  border-radius:4px !important;
  overflow:hidden;
	font-size:13px;
}

.nm-sidebar .select2-results__option{
  font-size:13px !important;
  line-height:18px !important;
  padding:10px 12px !important;
  color:#243746 !important;
  text-transform:none; /* Первая буква заглавная */
}

/* hover/active option */
.nm-sidebar .select2-container--default .select2-results__option--highlighted[aria-selected]{
	background:#0087d1;
  color:#fff;
}

/* =========================================================
   NM PATCH: dropdown align + remove jump
   ========================================================= */

/* 1) Убрать border-top у первого виджета (у тебя top уже рисует линию) */
.nm-sidebar .nm-sidebar-widgets .widget:first-child{
  border-top:0 !important;
}

/* 2) NM: убираем дерганье только у контейнеров раскрытия */
.nm-sidebar .wd-widget-collapse,
.nm-sidebar .wd-widget-collapse .widget-content{
  transition:none !important;
  animation:none !important;
}

/* 3) Если где-то тема дергает transform (часто из-за sticky/opt) — гасим для select2 */
.nm-sidebar .select2-container,
.nm-sidebar .select2-dropdown{
  transform:none !important;
}

/* 4) Поле select2: фиксируем высоту и убираем изменение геометрии при open */
.nm-sidebar .select2-container--default .select2-selection--single,
.nm-sidebar .select2-container--default .select2-selection--multiple{
  min-height:30px !important;
}

.nm-sidebar .select2-container--default .select2-selection--single{
  padding:0 8px !important;
}

.nm-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height:30px !important;
  font-size:13px !important;
  font-weight:500 !important;
}

/* 5) Подтянуть кнопку к полю + фирменные цвета */
.nm-sidebar .wd-widget-layered-nav-dropdown-form{
  display:flex;
  flex-direction:column;
  gap:8px;              /* компактнее */
  margin:0 0 15px 0;
}

/* 6) Dropdown: прижать к полю, убрать лишний отступ сверху */
.nm-sidebar .select2-container--open .select2-dropdown{
  margin-top:2px !important;     /* "подтянуть" */
}

/* 7) Dropdown: единый стиль, компактнее gap/высота строк */
.nm-sidebar .select2-dropdown{
  border-radius:4px !important;
  border:1px solid #e8e8e8 !important;
  overflow:hidden !important;
}

.nm-sidebar .select2-results__option{
  padding:8px 10px !important;   /* компактнее */
  font-size:13px !important;
  font-weight:500 !important;
  line-height:18px !important;
}

/* 8) Активный/hover option: фирменный цвет */
.nm-sidebar .select2-container--default .select2-results__option--highlighted[aria-selected]{
  background:#0087d1 !important;
  color:#fff !important;
}

/* 9) Селект “above/open” иногда добавляет лишние отступы/границы — стабилизируем */
.nm-sidebar .select2-container--default.select2-container--open
.select2-selection--single,
.nm-sidebar .select2-container--default.select2-container--open
.select2-selection--multiple{
  border-color:#e8e8e8 !important;
  box-shadow:none !important;
}

/* 10) Если список "прыгает" из-за overflow у контейнера виджета */
.nm-sidebar .widget-content{
  overflow:visible !important;
}

/* =========================================================
   NEOMEDREM: TOP "Фильтры" BAR (если вставляешь HTML рядом)
   ========================================================= */

.nm-sidebar .nm-filters-bar{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  padding:11px 16px;
}

/* Текст "Фильтры" */
.nm-sidebar .nm-filters-title{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:600;
  color:#243746;
  white-space:nowrap;
}

/* Иконка (если будет) */
.nm-sidebar .nm-filters-icon{
  width:14px;
  height:14px;
  display:inline-block;
}

/* Кнопки на будущее — ПОКА скрыть */
.nm-sidebar .nm-filters-actions{
  display:none; /* включишь потом */
}

/* =========================================================
   NM — Сортировка каталога (nm-cat-sort)
   13px / 500 / без underline / ровное выравнивание
   ========================================================= */

/* Контейнер */
.nm-cat-sort select.orderby{
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333;

    height: 30px;
    line-height: 30px;
    padding: 0 20px 0 2px !important;

    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent;

    /* убираем нативный вид */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* кастомная стрелка */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0 L5 6 L10 0' fill='%23666'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 10px 6px;
}

/* Текст "Сортировать:" */
.nm-cat-sort p{
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* Форма сортировки */
.nm-cat-sort .woocommerce-ordering{
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
}

/* Select сортировки */
.nm-cat-sort select.orderby{
    font-size: 13px !important;
    font-weight: 500 !important;

    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent;

    height: 30px;
    line-height: 30px;
    padding: 0 18px 0 2px !important;
}

/* Убираем underline-стиль WoodMart полностью */
.nm-cat-sort .wd-style-underline,
.nm-cat-sort .wd-style-underline:before,
.nm-cat-sort .wd-style-underline:after{
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    display: block;
    content: none;
}

/* ===== NM: стрелка у сортировки ===== */
.nm-cat-sort select.orderby{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0 L5 6 L10 0' fill='%23666'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px 6px;

    padding-right: 20px !important;
}


/* =========================================================
   NM — Сортировка каталога (nm-catalog-sort)
   13px / 500 / без underline / ровное выравнивание
   ========================================================= */

/* Контейнер */
.nm-catalog-sort select.orderby{
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333;

    height: 30px;
    line-height: 30px;
    padding: 0 20px 0 2px !important;

    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: transparent;

    /* убираем нативный вид */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* кастомная стрелка */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0 L5 6 L10 0' fill='%23666'/></svg>");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 10px 6px;
}

/* Текст "Сортировать:" */
.nm-catalog-sort p{
    margin: 0;
    font-size: 13px;
    font-weight: 500;
}

/* Форма сортировки */
.nm-catalog-sort .woocommerce-ordering{
    margin: 0;
    border: 0 !important;
    box-shadow: none !important;
}

/* Select сортировки */
.nm-catalog-sort select.orderby{
    font-size: 13px !important;
    font-weight: 500 !important;

    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent;

    height: 30px;
    line-height: 30px;
    padding: 0 18px 0 2px !important;
}

/* Убираем underline-стиль WoodMart полностью */
.nm-catalog-sort .wd-style-underline,
.nm-catalog-sort .wd-style-underline:before,
.nm-catalog-sort .wd-style-underline:after{
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
    display: block;
    content: none;
}

/* ===== NM: стрелка у сортировки ===== */
.nm-catalog-sort select.orderby{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0 L5 6 L10 0' fill='%23666'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    background-size: 10px 6px;

    padding-right: 20px !important;
}

/* КОМПАКТНЫЙ БЛОК КОЛИЧЕСТВА ДЛЯ КАРТОЧЕК ТОВАРА */
.products .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.products .quantity input[type="button"] {
    width: 15px;
    min-width: 15px;
    max-width: 15px;
    padding: 0;
}

.products .quantity input[type="number"] {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
    padding: 0;
    text-align: center;
}

.product-delivery-link {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

.product-delivery-link-li {
    display: block;
    padding: 0;
	  text-transform: none !important;
}

.product-delivery-link-li a {
    display: inline-block;
    border-bottom: 1px dashed #0087d1;
    font-size: 14px;
	  font-weight: 500;
    color: #0087d1;
    cursor: pointer;
	  text-transform: none !important;
}

.woocommerce-product-details__short-description li::marker {
    color: #0087D1;
    font-size: 11px;
}

/* SINGLE PRODUCT — вернуть архивный стиль loop-карточек */ 
.single-product .elementor-widget-wd_products .wd-product-wrapper { box-shadow: var(--wd-prod-shadow); } 

.single-product .elementor-widget-wd_products .wd-product-wrap, .single-product .elementor-widget-wd_products .wd-cat-wrap { background-color: var(--wd-prod-bg); }

.elementor-widget-wd_archive_products .wd-product-wrapper {
  background: #ffffff;
  border: 1px solid #e9eef5;
  border-radius: 8px;
  padding: 22px 18px 20px;
  overflow: hidden;
  height: 100%;
	gap: 10px;
  box-shadow:
    3px 4px 10px rgba(15, 23, 42, 0.10),
    0 1px 3px rgba(15, 23, 42, 0.06);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.elementor-widget-wd_archive_products .wd-product:hover .wd-product-wrapper {
  border-color: #0087d1;
  box-shadow:
    0 12px 18px rgba(15, 23, 42, 0.18),
    0 6px 8px rgba(15, 23, 42, 0.10);
}

/* ============================
   NM: Кнопка Загрузить ещё
   ============================ */
.wd-load-more.wd-products-load-more {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #0087D1 !important;
  background: transparent !important;
  border: 1.5px solid #0087D1 !important;
  border-radius: 8px !important;
  padding: 12px 32px !important;
  letter-spacing: .02em !important;
  transition: background .2s, color .2s, box-shadow .2s !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.wd-load-more.wd-products-load-more:hover {
  background: #0087D1 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 135, 209, .25) !important;
}

/* Состояние загрузки */
.wd-load-more.wd-load-more-loader {
  font-family: 'Manrope', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  background: transparent !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 12px 32px !important;
  box-shadow: none !important;
	text-transform: capitalize !important;
}