#basket {
  overflow: hidden;
}
.modals_basket .basket-empty {
  min-height: initial;
}
.modals_basket .basket-empty__wrap {
  padding-right: 0;
  padding-left: 0;
}

.css-no-image-placehoder::before {
  background-image: url(../img/no-image-placehoder.svg);
}

/* archive-product.php */
@media (max-width: 757px) {
  .news-card_hover .news-card__img {
    display: block;
    visibility: initial;
    opacity: 1;
	filter: brightness(30%);
  }
  .news-card_hover .news-card__caption,
  .news-card_hover .news-card__text {
    color: #ffffff;
  }
  .news-card_hover .news-card__date {
    color: #f5f8fd;
    opacity: 0.6;
  }
}

/* footer.php burger */
.header__phone--burger {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}
.header__phone--burger .header__phone {
  margin-right: 17px;
  width: 24px;
  height: 24px;
}

.header__phone-number--burger {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 100%;
}

.header__cart--burger {
  display: flex;
  align-items: center;
  margin-left: 0;
}
.header__cart--burger .header__cart-icon {
  margin-right: 17px;
  width: 24px;
  height: 24px;
}
.header__cart--burger::after {
  content: attr(data-cart-items);
  display: block;
  padding: 1px 4px 0px;
  margin-left: 12px;
  background: #d3383b;
  color: #fff;
  font-weight: 600;
  font-size: 8px;
}
.header__cart-caption {
  font-weight: 600;
  font-size: 17px;
  line-height: 100%;
  color: #26272e;
}

.modals__nav {
  padding-top: 40px;
  padding-bottom: 47px;
  margin-bottom: 30px;
  border-bottom: 1px solid #f2f3f4;
}

.modals__nav .header__nav-item {
  margin-bottom: 35px;
  font-size: 15px;
  line-height: 100%;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #26272e;
}
.modals__nav .header__nav-item:last-child {
  margin-bottom: 0;
}

.modals__nav .header__nav-link {
  font-size: inherit;
  line-height: inherit;
}

.card_black .checkbox_default .checkbox__icon {
  border-color: #6d7b88;
}
.card_black .checkbox_default {
  color: #6d7b88;
}
.card_black
  .checkbox_default
  .checkbox__input:checked
  + .checkbox__icon
  + .checkbox__text {
  color: #fff;
}
.card_black .checkbox_default .checkbox__icon svg {
  stroke: #fff;
}
.card_black .checkbox_default .checkbox__input:checked + .checkbox__icon {
  border-color: #fff;
}

/* modals */
.js-modal-open-fallback {
  position: absolute;
  display: none;
  visibility: hidden;
  pointer-events: none;
}
.search-form__item {
  display: block;
}

/* @media (max-width: 992px) {
  .modal--burger {
    height: auto;
    padding-bottom: 40px;
    padding-left: 0;
    padding-right: 0;
  }
  .modal--burger .icon-close {
    width: 100%;
    height: 100%;
  }
  .modal--burger .modal-filter {
    padding-bottom: 0;
    height: auto;
  }
  .modal--burger .modal-filter__close {
		margin-right: 0;
  }
}
	 */

/* Правки от 06.05.2025 */

.category_desc h2 {
font-size: 60rem;	
margin: 20px auto;
}

.category_desc p, .category_desc ul li {
	font-size: 20rem;
	margin-bottom: 10px;
	line-height: 1.5;
    color: #6d7b88;
}

/* Меню перед футером */
.footer .header__column.header__column_center {
	 display: flex;
    justify-content: center;
    padding: 25px 0px;
    background: #fff;
    border: 1px solid grey;
}

.footer .header__column.header__column_center .header__nav.flex {
	    justify-content: center;
}

.footer .header__column.header__column_center .header__nav.flex .header__nav-item:last-child {
        margin-right: 25rem;
        padding-right: 25rem;
}
.footer .header__column.header__column_center .header__nav.flex .header__nav-item:hover > .sub-menu {
        z-index: 10;
    }


/* Правки от 27.01 */

@media(max-width: 810px) {
	.product-preview__desc {
    padding: 20rem 10rem 70rem 10rem;
}
	.catalog__item .card__btn {
    bottom: 10rem;
}
}
@media only screen and (max-width: 580px) {
    .product-preview__name {
        display: block;
        width: 100%;
		padding: 0rem 50rem 0rem 10rem;
		line-height: 110%;
    }
	.jv-chrome .button__zwjmx {
    margin-bottom: 110px !important;

}
	.category_desc h2 {
    font-size: 45rem;
	line-height: normal;
}
}

.reward-body {
    flex-direction: column;
}

	.reward-body img {
    height: 55%;
}
.modal-filter {
    height: 615rem;
}

/* Emergency: не даём absolute-элементам раздувать страницу влево */
html, body {
	overflow-x: hidden !important;
}

/* Десктоп: логотипы футера прижаты влево к колонке меню, не к контактам */
@media screen and (min-width: 1121px) {
	.footer__box {
		position: relative !important;
	}
	.footer__column.footer__column_right {
		position: static !important;
	}
	.footer__contact-item.footer__contact-item_logo,
	.footer__contact-item_logo {
		left: 0 !important;
		right: auto !important;
		width: auto !important;
		max-width: 600px !important;
		justify-content: flex-start !important;
		align-items: flex-start !important;
	}
	.footer__contact-item_logo-inner {
		justify-content: flex-start !important;
		width: auto !important;
		max-width: 100% !important;
	}
	.footer__contact-item_logo-inner > *:first-child,
	.footer__contact-item_logo .footer__contact-logo:first-child {
		margin-left: 0 !important;
	}
}

@media only screen and (max-width: 580px) {
	/* На мобилке/планшете логотипы футера скрыты — absolute уезжал за экран */
	.footer__contact-item.footer__contact-item_logo,
	.footer__contact-item_logo {
		display: none !important;
	}
}

/* ===== Mobile fixes 07.08.2026 ===== */

/* 1. Главная: подчёркивание в баннере не пересекает текст (320–472) */
@media only screen and (max-width: 472px) {
	.main-slider__more-btn {
		line-height: 1.45;
		margin-top: 22rem;
	}
	.main-slider__more-btn.more_first {
		margin-top: 30rem;
	}
	.main-slider__more-btn + .main-slider__more-btn {
		margin-top: 18rem;
	}
	.main-slider__more-btn .more-btn__text {
		display: inline;
		border-bottom: none;
		padding-bottom: 0;
		text-decoration: underline;
		text-underline-offset: 0.28em;
		text-decoration-thickness: 1px;
		line-height: inherit;
		box-decoration-break: clone;
		-webkit-box-decoration-break: clone;
	}
}

/* 2. Главная: текст преимуществ в цифрах (320–441) */
@media only screen and (max-width: 441px) {
	.about__center > * {
		width: 50%;
		padding: 0 6rem;
		padding-top: 20px;
		box-sizing: border-box;
	}
	.about__item-inner {
		max-width: 100%;
	}
	.about__item-text {
		font-size: 11rem;
		line-height: 1.25;
		word-break: break-word;
		overflow-wrap: anywhere;
		hyphens: auto;
		max-width: 100%;
	}
	.about__item-number {
		font-size: 42rem;
	}
}

/* 3–4. Футер: скрыть логотипы на ≤1120px (без left:-9999 — ломало вёрстку) */
@media screen and (max-width: 1120px) {
	.footer__contact-item.footer__contact-item_logo,
	.footer__contact-item_logo {
		display: none !important;
	}
}

/* 5. FAQ: кнопка «Смотреть все» только если есть скрытый текст */
@media only screen and (max-width: 580px) {
	.item-faq.is-active .item-faq__more {
		display: none !important;
	}
	.item-faq.has-faq-more.is-active .item-faq__more {
		display: -webkit-inline-box !important;
		display: -ms-inline-flexbox !important;
		display: inline-flex !important;
	}
}

/* 7. /leasing/: заголовок не обрезается + чуть меньше шрифт */
@media only screen and (max-width: 580px) {
	.details__title {
		font-size: 32rem !important;
		line-height: 1.15 !important;
		overflow: visible;
		padding-top: 0.05em;
	}
	.details__description,
	.details__wrap {
		overflow: visible;
	}
}

/* 29.04 */
.filter__row .wpfFilterWrapper .wpfVisibilityHidden {
	display: none!important;
}

.filter__row .wpfFilterWrapper .wpfPriceInputs {
	display: flex!important;
    flex-direction: column!important;
    align-items: center!important;
}

.new-archive-product .wpfFilterWrapper .ui-slider-horizontal {
    height: 6px;
    margin-bottom: 10px;
    display: none;
}

.wpfFilterButtons {
    margin-bottom: 25px;
}

.new-archive-product .wpfHidden .woobewoo-filter-loader.spinner {
    background-size: contain;
    height: 150px;
}

/* ===== Webmaster mobile 17.08.2026 / 18.08.2026 ===== */

/* Не уменьшать базовый rem на узких экранах (иначе 10–12rem < 12px) */
@media only screen and (max-width: 440px) {
	html {
		font-size: 1px !important;
	}
}

.description__according-head.js-accordion-head {
	display: flex !important;
	/* flex-direction: column !important; */
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* Extra CSS кастомайзера перекрывает — повышаем специфичность */
@media only screen and (max-width: 820px) {
	#tablenewdiv .description__according-head.js-accordion-head {
		display: flex !important;
		/*flex-direction: column !important; */
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 16px !important;
		line-height: 1.3 !important;
		box-sizing: border-box !important;
	}
	#tablenewdiv .description__according-head.js-accordion-head::before {
		width: 72px !important;
		height: 72px !important;
		margin: 0 0 12px 0 !important;
	}
	#tablenewdiv .description__according-head.js-accordion-head .description__according-label {
		line-height: 1.3 !important;
		font-size: 16rem !important;
		width: 100% !important;
	}
	#tablenewdiv .description__according-head.js-accordion-head .description__according-arrow {
		margin-left: 0 !important;
		margin-top: 8px !important;
	}
}

@media only screen and (max-width: 580px) {
	/* 110% на body давал line-height: 17.6px всем заголовкам — текст наезжал */
	body {
		font-size: 16rem !important;
		line-height: 1.45 !important;
	}
	h1, h2, h3, h4, h5, h6,
	.h1, .h2, .h3, .h4, .h5, .h6 {
		line-height: 1.25 !important;
	}

	/* Минимум 14rem везде, кроме шапки и подвала */
	.site-main p,
	.site-main span,
	.site-main a,
	.site-main li,
	.site-main td,
	.site-main th,
	.site-main label,
	.content-area p,
	.content-area span,
	.content-area a,
	.content-area li,
	.content-area td,
	.content-area th,
	.breadcrumbs,
	.breadcrumbs a,
	.breadcrumbs li,
	.breadcrumbs__item,
	.breadcrumbs__link,
	.promo__breadcrumbs {
		font-size: max(14rem, 1em) !important;
		line-height: 1.35 !important;
	}

	.news-promo__tag,
	.news-promo__date,
	.news-card__text,
	.news-card__date,
	.news-current .news-card__text,
	.news-current .news-card__date {
		font-size: 14rem !important;
		line-height: 1.4 !important;
	}
	.news-current .news-card__caption,
	.news-card__caption,
	.news-card__caption.p25 {
		font-size: 18rem !important;
		line-height: 1.3 !important;
	}
	.news-promo__subtitle {
		max-width: 100% !important;
	}

	/* Блок «Обновлённая модель» на карточке товара */
	.description__according-head.js-accordion-head {
		display: flex !important;
		/*flex-direction: column !important; */
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}
	#tablenewdiv {
		padding: 16px !important;
		margin-top: 16px !important;
		box-sizing: border-box !important;
		max-width: 100% !important;
		overflow: hidden !important;
	}
	#tablenewdiv h2 {
		font-size: 28px !important;
		line-height: 34px !important;
		letter-spacing: 0 !important;
		word-break: break-word;
		margin-bottom: 30px !important;
	}
	#tablenewdiv .description__according-head,
	#tablenewdiv .description__according-head.js-accordion-head {
		display: flex !important;
		/*flex-direction: column !important; */
		align-items: center !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: 0 !important;
		padding: 16px !important;
		line-height: 1.3 !important;
		box-sizing: border-box !important;
	}
	#tablenewdiv .description__according-head.js-accordion-head::before {
		width: 72px !important;
		height: 72px !important;
		margin: 0 0 12px 0 !important;
	}
	#tablenewdiv .description__according-item,
	#tablenewdiv .description__according-content,
	#tablenewdiv .description__according-content table,
	#tablenewdiv .description__according-content tbody,
	#tablenewdiv .description__according-content tr,
	#tablenewdiv .description__according-content td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	#tablenewdiv table,
	#tablenewdiv td,
	#tablenewdiv th {
		width: 100% !important;
		max-width: 100% !important;
		table-layout: auto !important;
		word-break: break-word;
	}
	#tablenewdiv td[width],
	#tablenewdiv td[width="120"],
	#tablenewdiv td[width="25"] {
		display: block !important;
		width: 100% !important;
	}
	#tablenewdiv img {
		max-width: 72px !important;
		height: auto !important;
	}

	/* Горизонтальная прокрутка */
	img,
	video,
	embed,
	object,
	svg {
		max-width: 100% !important;
		height: auto;
	}
	iframe,
	.wp-video,
	.fluid-width-video-wrapper,
	.news-promo iframe,
	.news-current iframe,
	.content iframe,
	.single-news iframe {
		max-width: 100% !important;
		width: 100% !important;
	}
	iframe[width],
	iframe[src*="youtube"],
	iframe[src*="youtu"],
	iframe[src*="rutube"],
	iframe[src*="vk.com"],
	iframe[src*="player"] {
		height: auto !important;
		aspect-ratio: 16 / 9;
	}
	table {
		max-width: 100% !important;
	}
	td, th {
		word-break: break-word;
	}
	pre,
	code {
		max-width: 100%;
		overflow-x: auto;
		word-break: break-word;
	}

	.similar-products,
	.similar-products__slider,
	.similar-products .swiper,
	.card__wrap-new,
	.card__wrap,
	.card__row,
	.characteristic,
	.characteristic__table,
	.table,
	.table__wrap,
	.description,
	.description__wrap,
	.description__row,
	.description__column,
	.description__column_left,
	.description__column_right,
	.catalog,
	.catalog__wrap,
	.new-archive-product,
	.news-promo,
	.news-sections,
	.news-current {
		max-width: 100% !important;
		overflow-x: hidden;
	}
	.description__row {
		flex-wrap: wrap !important;
	}
	.description__column,
	.description__column_left,
	.description__column_right {
		width: 100% !important;
		padding-right: 0 !important;
	}
	.similar-products__slider,
	.news-current__slider {
		margin-right: 0 !important;
	}
	.card__wrap-new .card__column_left,
	.card__wrap-new .card__column_right {
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Вебмастер: перекрыть wpfc-minified (app.css) на мобиле */
@media only screen and (max-width: 580px) {
	html body .news-promo__tag,
	html body .news-promo__date,
	html body .news-card__text,
	html body .news-card__date {
		font-size: 14rem !important;
		line-height: 1.4 !important;
	}
	html body .news-card__caption,
	html body .news-card__caption.p25 {
		font-size: 18rem !important;
		line-height: 1.3 !important;
	}
}
