/* fonts.css removed - file does not exist */

*,
*::after,
*::before {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

.page {
	position: relative;
	overflow: hidden;
}

a:hover{
	text-decoration: none !important;
}

.header {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.container {
	padding: 0 20px;
	max-width: 1440px;
	width: 100%;
}

.header__container{
	display: flex;
	flex-direction: column;
	width: 100%;
}

.header__head{
	width: 100%;
	background: #fafafc;
	display: flex;
	justify-content: center;
}

.header__head__content{
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
}

.header__geo-place{
	display: flex;
	gap: 10px;
	align-items: center;
	cursor: default;
	transition: 0.2s;
	position: relative;
}



.header__geo-place:hover .header__geo-name{
	border-color: #797979;
}

.header__geo-img{
	width: 16px;
	height: 16px;
}

.header__geo-img img{
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.header__geo-name{
	font-size: 12px;
    line-height: 20px;
    color: #797979;
	border-bottom: 1px solid transparent;
	transition: 0.2s;
}
.header__geo-mail{
	font-size: 12px;
    line-height: 20px;
    color: red;
	border-bottom: 1px solid transparent;
	transition: 0.2s;
}
.header__geo-mail:hover{
	border-color: red;
}

.header__geo-separator{
	font-size: 12px;
	color: #ccc;
	user-select: none;
}

.header__geo-address{
	font-size: 12px;
	line-height: 20px;
	color: #797979;
}

.header__geo-phone{
	font-size: 12px;
	line-height: 20px;
	color: #333;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}
.header__geo-phone:hover{
	color: #da0916;
}

.header__geo-arrow{
	width: 10px;
	height: 6px;
}

.header__geo-arrow-img{
	width: 10px;
	height: 7px;
}

.header__geo-arrow-img img{
	height: 100%;
	width: 100%;
	object-fit: contain;
	transform: translateY(-100%);
}

.header__head-links{
	display: flex;
	gap: 48px;
	align-items: center;
}

.header__head__link{
	font-size: 12px;
    line-height: 20px;
    color: #797979;
	text-decoration: none;
	transition: 0.2s;
}

.header__head__link:hover{
	color: #000;
}

.header__main-block{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px 40px;
	padding: 20px 0;
}

.header__logo-img{
	height: 40px;
	aspect-ratio: 118 / 32;
}
.header__logo-img img{
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.header__catalog__btn {
	width: fit-content;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f1f1f1;
	border-radius: 28px;
	overflow: hidden;
}

.header__catalog__btn__item {
	display: flex;
	justify-content: center;
	align-items: center;
	display: flex;
	align-items: center;
	padding: 8px 20px;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: #000;
	cursor: pointer;
	background-color: transparent;
	border: 0;
	border-radius: 28px;
	outline: none;
	transition: .2s;
	gap: 12px;
	text-wrap: nowrap;
}

.header__catalog__btn__item:hover {
	color: #da0916;
}

.header__catalog__btn__item>p {
	color: inherit;
	margin: 0;
	font-size: inherit;
}

.header__catalog__btn__item>span {
	display: flex;
	justify-content: center;
	align-items: center;
}

.header__catalog__btn__item img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	object-position: center;
}



.header__catalog__btn__item:last-child .header__burger {
	display: none;
}

.header__catalog__btn__item:last-child._open,
.header__catalog__btn__item:first-child._active {
	color: #FFFFFF;
	background: #da0916;
}

.header__catalog__btn__item._active{
	background: #da0916 !important;
	color:#fff !important;
}
.header__catalog__btn__item._active > p {
	color: #fff !important;
}

.header__catalog__btn__item:first-child._active:hover {
	background-color: #c7000d;
}

.header__catalog__btn__item:last-child._open img {
	display: none;
}

.header__catalog__btn__item:last-child._open .header__burger {
	display: block;
}

.header__catalog__btn__item:last-child .header__burger span,
.header__catalog__btn__item:first-child._active .header__burger span {
	background: #FFFFFF;
}

.header__catalog__btn__item._open .header__burger span:nth-child(1) {
	opacity: 0;
}

.header__catalog__btn__item._open .header__burger span:nth-child(2) {
	transform: rotate(45deg);
}

.header__catalog__btn__item._open .header__burger span:nth-child(3) {
	transform: rotate(-45deg);
}

.header__catalog__btn__item._open .header__burger span:nth-child(4) {
	opacity: 0;
}

.header__burger {
	width: 18px;
	height: 14px;
	position: relative;
}

.header__burger span {
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	height: 2px;
	background-color: #000;
}

.header__burger span:nth-child(1) {
	top: 0;
}

.header__burger span:nth-child(2),
.header__burger span:nth-child(3) {
	top: 0;
	bottom: 0;
	margin: auto 0;
}

.header__burger span:nth-child(4) {
	bottom: 0;
}

.header__main-block__links{
	display: flex;
	gap: 30px;
}

.header__main-link{
	font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #000;
	text-decoration: none;
	transition: 0.2s;
}

.header__main-link:hover{
	color: #da0916;
}

.header__searchbar{
	display: flex;
	justify-content: space-between;
	width: auto;
	border: 1px solid #797979;
	border-radius: 100px;
	flex-grow: 1;
	transition: 0.2s;
}

.header__searchbar__input{
	padding: 8px 10px;
	border-radius: 100px;
	border: none;
	font-size: 14px;
	width: 100%;
	min-width: 100px;
	outline: none;
	transition: 0.2s;
}

.header__searchbar:hover{
	background-color: #f9f9f9;
}

.header__searchbar:hover .header__searchbar__input{
	background-color: #f9f9f9;
}

.header__searchbar:has(.header__searchbar__input:focus){
	border-color: #da0916;
}


.header__search-btn{
	border: none;
	background: none;
	padding: 0 10px;
}

.header__search-icon{
	height: 22px;
	width: 22px;
}

.header__search-icon img{
	height: 100%;
	width: 100%;
	object-fit: contain;
}

.header__accounts-btns{
	display: flex;
	gap: 40px;
	align-items: center;
}

.header__account-btn{
	display: flex;
	flex-direction: column;
	align-items: center;
	border: none;
	background: none;
	cursor: pointer;
}

.header__account-btn:hover{
	color: #797979;
}

.header__account-btn:hover img{
	opacity: 0.5;
} 

.header__account-btn__img{
	position: relative;
	height: 32px;
	width: 32px;
}

.header__account-btn__img img{
	height: 100%;
	width: 100%;
	object-fit: contain;
	transition: 0.2s;
}

.header__count-value{
	position: absolute;
	top: -2px;
	right: -7px;
	z-index: 5;
	background: #da0916;
	font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    color: #fff;
	padding: 0 7px;
	border-radius: 50%;
}

a.header__account-btn{
	text-decoration: none;
	color: inherit;
}

.header__acc-btn-text{
	font-size: 13px;
    font-weight: 400;
	transition: 0.2s;
}


.header__line-slider{
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: scroll;
	scrollbar-width: none;
	gap: 15px;
	margin-bottom:20px;
}

.header__line-slider__link{
	padding: 2px 5px;
    font-size: 14px;
    line-height: 24px;
	color: #000;
	background: #f9f9f9;
	border-radius: 28px;
	text-decoration: none;
	user-select: none;
	text-wrap: nowrap;
	transition: 0.2s;
	
	padding:10px;
	padding-left:20px;
	padding-right:20px;
}

.header__line-slider__link:hover{
	background-color: #ececec;
}



@media (max-width:1280px) {
	.header__main-block{
		justify-content: flex-start;
		flex-wrap: wrap;
	}

	.header__main-block::after{
		content: '';
		width: 100%;
		order: 2;
	}

	.header__main-block > *:nth-child(n + 4){
		order: 1;
	}

	.header__accounts-btns{
		order: 1;
		margin-left: auto;
	}

	.header__searchbar{
		order: 3 !important;
	}
	
}

@media (max-width:1100px) {
	.header__head__content{
		flex-wrap: wrap;
		gap: 8px;
	}

	.header__head-links{
		gap: 20px;
	}

	.header__geo-address,
	.header__geo-separator{
		display: none;
	}

	.header__searchbar{
		order: 3;
	}

	.header__catalog__btn{
		order: 3;
		flex-basis: auto;
	}

	.header__catalog__btn p{
		display: none;
	}

	.header__catalog__btn > .header__catalog__btn__item:not(._active){
		display: none;
	}
}

@media (max-width:660px) {
	.header{
		display:none;
	}
	.header__main-block__links{
		display: none;
	}
	
}

@media (max-width:475px){
	.header{
		display:none;
	}
	.header__accounts-btns{
		gap: 15px;
	}

	.header__main-block{
		gap: 10px 20px;
	}

}

@media (max-width:375px){
	.header{
		display:none;
	}
	.header__accounts-btns{
		display:none
	}
}


.widget-view-desktop-1{
	display:none!important;/**/
}

.c-system-settings-default ~ header {
    padding-top: 39px;
}

header._absolute{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}
header._absolute .header__head{
  background: transparent;
}
.header__searchbar__input{
  background: transparent;
}

.intec-template-layout-content .header{
	display:none;
}

.sale-basket-small-content{
	display:none;
}

/* === Задача #13: Адаптив баннеров на главной (основной + узкий под ним) === */

/* --- Основной слайдер (верхний баннер sliderMain) --- */
/* Плавный ресайз: от 180px (на 320px экране) до 480px (на 1200px+ экране) */
.sliderMain {
    height: clamp(180px, 40vw, 480px);
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

/* Гарантируем правильное масштабирование картинок */
.sliderMain .swiper-slide {
    overflow: hidden;
    width: 100% !important;
}

.sliderMain__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Стрелки — центрируем по вертикали */
.sliderMain__arrows {
    bottom: auto !important;
    top: 50%;
    transform: translateY(-50%);
}

/* Планшет (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .sliderMain {
        height: clamp(200px, 35vw, 350px);
    }

    .sliderMain__arrows {
        width: calc(100% - 20px);
    }

    .sliderMain__arrow {
        width: 24px;
        height: 24px;
    }
}

/* Мобильный (до 767px) — скрываем стрелки, достаточно свайпа */
@media (max-width: 767px) {
    .sliderMain {
        height: clamp(150px, 45vw, 280px);
    }

    .sliderMain__arrows {
        display: none;
    }
}

/* Маленький мобильный (до 480px) */
@media (max-width: 480px) {
    .sliderMain {
        height: clamp(120px, 50vw, 220px);
    }
}

/* --- Второй баннер (узкий баннер под основным, categories template-17) --- */
/* Базовые стили */
.widget.c-categories.c-categories-template-17 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.widget.c-categories.c-categories-template-17 .widget-wrapper,
.widget.c-categories.c-categories-template-17 .widget-wrapper-2 {
    width: 100%;
    max-width: 100%;
}

.widget.c-categories.c-categories-template-17 .widget-items {
    width: 100%;
}

.widget.c-categories.c-categories-template-17 .widget-item {
    width: 100%;
}

.widget.c-categories.c-categories-template-17 .widget-item-block {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 15px;
}

/* Плавный ресайз баннера: от 80px (320px экран) до 200px (1200px+ экран) */
.widget.c-categories.c-categories-template-17 .widget-item-content-wrap {
    min-height: clamp(80px, 15vw, 200px);
    width: 100%;
}

/* Картинка баннера — полное покрытие контейнера */
.widget.c-categories.c-categories-template-17 .widget-item-picture {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 15px;
}

/* Планшет (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .widget.c-categories.c-categories-template-17 .widget-item-content-wrap {
        min-height: clamp(100px, 18vw, 180px);
        padding: 12px 20px;
    }

    .widget.c-categories.c-categories-template-17 .widget-item-block,
    .widget.c-categories.c-categories-template-17 .widget-item-picture {
        border-radius: 12px;
    }

    .widget.c-categories.c-categories-template-17 .widget-item-name {
        font-size: 18px;
        max-width: 100%;
    }
}

/* Мобильный (до 767px) — нижний баннер: сохраняем пропорции картинки */
@media (max-width: 767px) {
    .widget.c-categories.c-categories-template-17 .widget-item-block {
        border-radius: 10px;
        overflow: hidden;
    }

    .widget.c-categories.c-categories-template-17 .widget-item-content-wrap {
        min-height: 0 !important;
        height: auto !important;
        width: 100%;
        padding: 0;
        /* Пропорции баннера ~5:1 */
        aspect-ratio: 5 / 1;
    }

    /* Скрываем текстовый контент — показываем только баннер */
    .widget.c-categories.c-categories-template-17 .widget-item-left-text,
    .widget.c-categories.c-categories-template-17 .widget-item-right-text,
    .widget.c-categories.c-categories-template-17 .widget-item-name,
    .widget.c-categories.c-categories-template-17 .widget-item-sticker,
    .widget.c-categories.c-categories-template-17 .widget-item-preview-text,
    .widget.c-categories.c-categories-template-17 .widget-item-price {
        display: none !important;
    }

    /* Картинка баннера — cover для сохранения пропорций */
    .widget.c-categories.c-categories-template-17 .widget-item-picture {
        background-size: contain !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        border-radius: 10px;
        width: 100%;
        height: 100%;
    }
}

/* Маленький мобильный (до 480px) */
@media (max-width: 480px) {
    .widget.c-categories.c-categories-template-17 .widget-item-block {
        border-radius: 8px;
    }

    .widget.c-categories.c-categories-template-17 .widget-item-picture {
        border-radius: 8px;
    }
}

/* --- Отступы между секциями на мобильном --- */
@media (max-width: 767px) {
    .intec-template-layout-content[data-global-role="content"] > div[style*="margin-top: 50px"] {
        margin-top: 25px !important;
        margin-bottom: 25px !important;
    }
}

@media (max-width: 480px) {
    .intec-template-layout-content[data-global-role="content"] > div[style*="margin-top: 50px"] {
        margin-top: 16px !important;
        margin-bottom: 16px !important;
    }
}

/* === Задача #2: характеристики товара на мобильном === */
@media (max-width: 768px) {
    /* Показываем все вкладки вертикально (без JS-зависимости) */
    .intec-ui-part-tab,
    .catalog-element-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        overflow: visible !important;
    }
    .catalog-element-properties,
    .catalog-element-property,
    .ns-bitrix.c-catalog-element .catalog-element-properties-list {
        display: block !important;
    }
    .catalog-element-property {
        padding: 5px 0;
        font-size: 13px;
        border-bottom: 1px solid #f0f0f0;
    }
    /* База знаний — крупные картинки в списке и детальной */
    .ns-bitrix.c-news.c-news-news-1 .news-item-image,
    .ns-bitrix.c-news-list .news-list-item-image {
        width: 100% !important;
        height: auto !important;
        border-radius: 8px;
        overflow: hidden;
    }
    /* Акции — карточки на мобильном */
    .ns-bitrix.c-news-list.c-news-list-shares-list-1 .news-list-items {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}

/* === Задача #43: Красный тег "Весь каталог" (справа) === */
/* Задача #17: убран margin-left: auto для одинакового расстояния между всеми тегами */
.header__line-slider__link--red {
    background: #da0916 !important;
    color: #fff !important;
    font-weight: 500;
}
.header__line-slider__link--red:hover {
    background: #b5070f !important;
    color: #fff !important;
}

/* === Задача #43: База знаний — крупнее картинка, текст уже === */
.ns-bitrix.c-news-list.c-news-list-list-1 .news-list-item-picture[data-image-view=default] {
    width: 380px;
    height: 260px;
}
@media all and (max-width: 1024px) {
    .ns-bitrix.c-news-list.c-news-list-list-1 .news-list-item-picture[data-image-view=default] {
        width: 300px;
        height: 210px;
    }
}
@media all and (max-width: 768px) {
    .ns-bitrix.c-news-list.c-news-list-list-1 .news-list-item-picture[data-image-view=default] {
        width: 240px;
        height: 170px;
    }
}

/* === Задача #43: Логотип в popup-меню (гармошка) — корректное отображение === */
.ns-bitrix.c-menu .menu-panel-logotype {
    width: 200px !important;
    max-height: 60px;
}
.ns-bitrix.c-menu .menu-panel-logotype img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* === Задача #47: Скрыть кнопки Отложенные и Войти === */
.widget-authorization,
.widget-authorization-item-wrap {
    display: none !important;
}

/* === Задача #47: Оставить только ВК из соцсетей === */
.widget-social-item[href*="youtube"],
.widget-social-item[href*="ok.ru"],
.widget-social-item[href*="viber"],
.widget-social-item[href*="whatsapp"],
.widget-social-item[href*="zen.yandex"],
.widget-social-item[href*="mail.ru"],
.widget-social-item[href*="telegram"],
.widget-social-item[href*="pinterest"],
.widget-social-item[href*="tiktok"],
.widget-social-item[href*="snapchat"],
.widget-social-item[href*="linkedin"],
.widget-social-item[href*="instagram"],
.widget-social-item[href*="facebook"],
.widget-social-item[href*="twitter"] {
    display: none !important;
}

/* === Задача #47: Закруглённые углы картинок в Базе знаний === */
.ns-bitrix.c-news-list.c-news-list-list-1 .news-list-item-picture {
    border-radius: 10px;
    overflow: hidden;
}

/* === Задача #47: Закруглённые углы картинок в Услугах === */
.ns-bitrix.c-catalog-section.c-catalog-section-services-tile-2 .catalog-section-item-picture a {
    border-radius: 10px;
}
.ns-bitrix.c-catalog-section.c-catalog-section-services-tile-2 .catalog-section-item-wrapper {
    border-radius: 10px;
    overflow: hidden;
}

/* === Задача #43 + #5: Единый шрифт Montserrat на всём сайте === */
/* Универсальное правило для ВСЕХ элементов */
*,
*::before,
*::after,
html,
body,
.intec-template-layout,
.intec-template-layout-content,
.intec-content,
.intec-content-wrapper,
.ns-bitrix,
h1, h2, h3, h4, h5, h6,
p, a, span, div, li, ul, ol,
td, th, tr, table,
input, button, textarea, select, label, option,
blockquote, pre, code,
article, section, aside, header, footer, nav, main,
[class*="bx-"],
[class*="widget-"],
[class*="catalog-"],
[class*="news-"],
[class*="menu-"],
[class*="intec-"],
[class*="system-"],
[class*="sale-"],
.sale-basket-small-content,
.main-font-family-open-sans {
    font-family: 'Montserrat', sans-serif !important;
}

/* Исключение для иконок — указываем конкретные иконочные шрифты */
/* Font Awesome */
.fa, .fas, .far, .fab, .fal, .fad,
i.fa, i.fas, i.far, i.fab, i.fal, i.fad {
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Pro", "Font Awesome 5 Brands", FontAwesome !important;
}

/* Glyphter — иконки меню, поиска, корзины в мобильной версии */
.glyph-icon, [class^="glyph-icon-"], [class*=" glyph-icon-"],
i.glyph-icon, i[class^="glyph-icon-"], i[class*=" glyph-icon-"],
.menu-button-icon,
.menu-panel-button i {
    font-family: 'Glyphter' !important;
}

/* Themify Icons */
.ti, .ti-icon,
i[class^="ti-"], i[class*=" ti-"] {
    font-family: 'themify' !important;
}

/* Simple Line Icons */
[class^="sl-icon-"], [class*=" sl-icon-"] {
    font-family: 'simple-line-icons' !important;
}

/* Intec Icons */
[class^="intec-icon"], [class*=" intec-icon"],
.intec-cl-svg {
    font-family: 'intec-icons', 'intec' !important;
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons' !important;
}

/* Generic icon classes */
.icon, [class^="icon-"], [class*=" icon-"],
.lg-icon,
i[class^="icon-"], i[class*=" icon-"],
[data-icon] {
    font-family: inherit !important;
}

/* === Задача #5: Live search (AJAX-поиск) в кастомном хедере === */
.header__searchbar--live {
    position: relative;
}
.header__searchbar--live .ns-bitrix.c-search-title.c-search-title-input-1 {
    width: 100%;
    height: 100%;
}
.header__searchbar--live .search-title {
    background: transparent !important;
    border-radius: 0 !important;
    height: 100%;
}
.header__searchbar--live .search-title-form {
    height: 100%;
}
.header__searchbar--live .search-title-form-wrapper {
    height: 100%;
}
.header__searchbar--live .search-title-input {
    padding: 8px 10px !important;
    font-size: 14px !important;
    min-width: 100px;
    background: transparent !important;
    color: #000 !important;
    line-height: normal !important;
}
.header__searchbar--live .search-title-button {
    padding: 0 10px !important;
    color: #797979 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    background: transparent !important;
    border: none !important;
}
.header__searchbar--live .search-title-button:hover {
    color: #da0916 !important;
}
/* Dropdown результатов — адаптивная ширина */
.title-search-result .ns-bitrix.c-search-title.c-search-title-input-1.search-title-results {
    max-width: 90vw;
    border-radius: 8px;
}

/* === Задача #13: СКРЫТИЕ переключателей (dots/pagination) слайдеров на главной === */

/* 1. Секция «Нам доверяют» (brands) — OWL Carousel dots скрыты на ВСЕХ разрешениях.
      Причина: при 1025-1100px показывается 4 из 5 элементов → OWL генерирует dots.
      На десктопе (>1100px) dots тоже генерируются (1 dot), но визуально мешают. */
.widget.c-brands.c-brands-template-1 .owl-dots {
    display: none !important;
}

/* 2. Секция Акций (shares) — скрыть dots если когда-либо появятся */
.widget.c-shares.c-shares-template-1 .owl-dots {
    display: none !important;
}

/* 3. Скрываем swiper-pagination и widget-slider-dots на всей странице контента,
      чтобы ни один слайдер не показывал нежелательную пагинацию */
.intec-template-layout-content .swiper-pagination,
.intec-template-layout-content .widget-slider-dots {
    display: none !important;
}

/* 4. Swiper пагинация основного слайдера — на случай если Swiper добавит автоматически */
.sliderMain .swiper-pagination,
.sliderMain + .swiper-pagination {
    display: none !important;
}

/* === Задача #14: Детальная страница услуг — уменьшить картинку, убрать чёрный фон, обтекание текстом === */
/* Убираем чёрный фон и белый текст из bundle.css */
.c-catalog-element-services-default-1 .intec-area.intec-area-include.intec-area-include-description-1 {
    background-color: #fff !important;
    color: #333 !important;
}

/* Контейнер контента с clearfix */
.service-detail-content {
    overflow: hidden; /* clearfix для float */
}

/* Обёртка картинки — справа с обтеканием текстом */
.service-detail-image-wrap {
    float: right;
    width: 38%;
    margin: 0 0 20px 30px;
    background: transparent !important;
}

/* Картинка — уменьшенный размер, скруглённые углы, тень */
.service-detail-image {
    width: 100%;
    height: auto;
    max-height: 380px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Планшет (768px - 1024px) */
@media (max-width: 1024px) {
    .service-detail-image-wrap {
        width: 42%;
        margin-left: 25px;
    }
    .service-detail-image {
        max-height: 300px;
    }
}

/* Мобильный (до 768px) — отключаем обтекание, картинка по центру сверху */
@media (max-width: 768px) {
    .service-detail-image-wrap {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 20px auto;
    }
    .service-detail-image {
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .service-detail-image-wrap {
        max-width: 260px;
    }
    .service-detail-image {
        max-height: 200px;
    }
}

/* Задача: Левое меню каталога */
.catalog-content-left.intec-content-left {
    display: block !important;
    min-height: 100px;
}
.catalog-content-left .catalog-menu {
    display: block !important;
}

/* Характеристики в 2 колонки */
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-section-properties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}
.ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-section-property {
    padding: 10px 0;
    border-bottom: 1px dashed #e0e0e0;
}

/* Блок документации */
.custom-product-docs {
    margin-top: 30px;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 8px;
}
.custom-product-docs__title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}
.custom-product-docs__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.custom-product-docs__item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1976D2;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.custom-product-docs__item:hover {
    color: #1256a3;
}
.custom-product-docs__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #e3f2fd;
    border-radius: 6px;
    color: #1976D2;
    flex-shrink: 0;
}

/* Скрыть описание инфоблока «Товары 1С» на странице каталога */
.catalog-description.catalog-description-top {
    display: none !important;
}

/* Скрыть быстрый просмотр, сравнение и оценку в списке товаров каталога */
.catalog-section-item-quick-view,
.catalog-section-item-image-button-compare,
.catalog-section-item-image-button-compared,
.catalog-section-item-price-button-compare,
.catalog-section-item-price-button-compared,
.catalog-section-item-vote,
.catalog-section-item-vote-block {
    display: none !important;
}

/* Навигационное меню в подвале (два столбика) */
.custom-footer-nav {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 10px 0;
}
.custom-footer-nav__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.custom-footer-nav__link {
    color: #2d2d2d;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: color 0.3s;
    white-space: nowrap;
}
[data-theme="dark"] .custom-footer-nav__link {
    color: rgba(255, 255, 255, 0.85);
}
.custom-footer-nav__link:hover {
    color: #f80000;
    text-decoration: none;
}

/* Адаптив */
@media screen and (max-width: 768px) {
    .custom-footer-nav {
        gap: 50px;
        padding: 8px 0;
    }
    .custom-footer-nav__col {
        gap: 10px;
    }
    .custom-footer-nav__link {
        font-size: 14px;
    }
}

@media screen and (max-width: 660px) {
    .ns-bitrix.c-catalog-element.c-catalog-element-catalog-default-1 .catalog-element-section-properties {
        grid-template-columns: 1fr;
    }
    .custom-product-docs {
        padding: 16px;
    }
}

[data-no-price="true"].catalog-element-purchase-order-button-add {
    background: #999 !important;
    cursor: default;
}
[data-no-price="true"].catalog-element-purchase-order-button-add .intec-ui-part-icon {
    display: none;
}
[data-no-price="true"].catalog-element-purchase-order-button-add .intec-ui-part-content {
    font-size: 13px;
}

/* === Переключатель города в мобильном меню === */
.mobile-city-switcher {
    padding: 0 20px;
    border-bottom: 1px solid #f1f1f1;
    background: #fafafc;
    position: relative;
    z-index: 2;
}
.mobile-city-switcher__current {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mobile-city-switcher__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.mobile-city-switcher__name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    border-bottom: 1px dashed #999;
}
.mobile-city-switcher__arrow {
    flex-shrink: 0;
    transition: transform .25s ease;
}
.mobile-city-switcher._open .mobile-city-switcher__arrow {
    transform: rotate(180deg);
}
.mobile-city-switcher__list {
    display: none;
    padding-bottom: 8px;
}
.mobile-city-switcher._open .mobile-city-switcher__list {
    display: block;
}
.mobile-city-switcher__item {
    padding: 10px 0 10px 24px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: color .15s;
    position: relative;
}
.mobile-city-switcher__item:active {
    background: #f5f5f5;
}
.mobile-city-switcher__item._active {
    color: #da0916;
    font-weight: 500;
}
.mobile-city-switcher__item._active::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #da0916;
}
.mobile-city-switcher__contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0 12px;
    border-top: 1px solid #eee;
}
.mobile-city-switcher__phone,
.mobile-city-switcher__email {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    color: #333;
    font-weight: 500;
    transition: color .15s;
}
.mobile-city-switcher__phone:hover,
.mobile-city-switcher__email:hover {
    color: #da0916;
}
.mobile-city-switcher__phone svg,
.mobile-city-switcher__email svg,
.mobile-city-switcher__address svg {
    flex-shrink: 0;
}
.mobile-city-switcher__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #797979;
    line-height: 1.4;
}
.mobile-city-switcher__address svg {
    margin-top: 1px;
}

/* Страница дистрибьюторов */
.distributors-page {
    padding-bottom: 40px;
}
.distributors-intro {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}
.distributors-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.distributor-card {
    display: flex;
    gap: 30px;
    padding: 28px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}
.distributor-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.distributor-card__logo {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
}
.distributor-card__logo img {
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
}
.distributor-card__info {
    flex: 1;
    min-width: 0;
}
.distributor-card__name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #da0916;
    display: inline-block;
}
.distributor-card__description {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    margin-bottom: 18px;
}
.distributor-card__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.distributor-card__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}
.distributor-card__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #da0916;
}
.distributor-card__contact a {
    color: #da0916;
    text-decoration: none;
    transition: color 0.2s;
}
.distributor-card__contact a:hover {
    color: #a50712;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .distributor-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }
    .distributor-card__logo {
        width: 140px;
        height: 140px;
    }
    .distributor-card__logo img {
        max-width: 120px;
        max-height: 120px;
    }
    .distributor-card__name {
        font-size: 18px;
    }
    .distributor-card__contacts {
        align-items: center;
    }
    .distributor-card__contact {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .distributor-card {
        padding: 18px 16px;
    }
    .distributor-card__logo {
        width: 120px;
        height: 120px;
    }
    .distributor-card__name {
        font-size: 16px;
    }
    .distributor-card__description {
        font-size: 13px;
    }
    .distributor-card__contact {
        font-size: 13px;
    }
}
