
/* ==========================================
   HEADER SANLOCK
   Изолированные стили шапки сайта
   ========================================== */
.container {
    max-width: 1366px;
}
.sl-header {
    --sl-header-text: #171717;
    --sl-header-muted: #555;
    --sl-header-line: #e7e7e7;
    --sl-header-top: #f5f5f5;
    --sl-header-yellow: #ffd43b;
    --sl-header-yellow-hover: #f3c522;

    position: relative;
    z-index: 10;
    width: 100%;
    color: var(--sl-header-text);
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.35;
}

.sl-header *,
.sl-header *::before,
.sl-header *::after {
    box-sizing: border-box;
}

.sl-header a {
    color: inherit;
    text-decoration: none;
}

.sl-header a:hover {
    color: inherit;
    text-decoration: none;
}

.sl-header button,
.sl-header input {
    font: inherit;
}

.sl-header button {
    color: inherit;
}

.sl-header svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Верхний ряд */

.sl-header__top {
    background: var(--sl-header-top);
    border-bottom: 1px solid #eee;
}

.sl-header__top-inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.5vw, 26px);
    width: 100%;
    max-width: 1600px;
    min-height: 48px;
    margin: 0 auto;
    padding: 8px 24px;
}

.sl-header__location,
.sl-header__info {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--sl-header-text);
    font-size: 13px;
    font-weight: 400;
}

.sl-header__top-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 23px;
}

.sl-header__top-icon svg {
    width: 22px;
    height: 22px;
}

.sl-header__top-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.8vw, 28px);
    margin-left: auto;
}

.sl-header__top-links a {
    font-size: 13px;
    white-space: nowrap;
    transition: opacity .2s ease;
}

.sl-header__top-links a:hover {
    opacity: .65;
}

/* Основной ряд */

.sl-header__main {
    background: #fff;
}

.sl-header__main-inner {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.3vw, 22px);
    width: 100%;
    max-width: 1600px;
    min-height: 80px;
    margin: 0 auto;
    padding: 10px 24px;
}

.sl-header__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    align-self: stretch;
	min-width:72px;
	margin:0 15px 0 0;
    /* flex: 0 0 clamp(155px, 14vw, 210px); */
    /* margin-right: clamp(4px, 1.1vw, 18px); */
}

.sl-header__logo img {
    display: block;
    width: 100%;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}

.sl-header__inforametion {
	display:flex;
	justify-content:space-between;
	width:100%;
	align-items:center;
}
.sl-header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(13px, 2vw, 32px);
    min-width: 0;
    margin:0 15px 0 0;
}

.sl-header__nav-link,
.sl-header__catalog-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    border: 0;
    background: transparent;
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 500 !important;
	font-size:16px !important;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity .2s ease;
}

.sl-header__nav-link:hover,
.sl-header__catalog-toggle:hover {
    opacity: .65;
}

.sl-header__catalog {
    position: relative;
    flex: 0 0 auto;
}

.sl-header__catalog-toggle svg {
    width: 17px;
    height: 17px;
    transition: transform .2s ease;
}

.sl-header__catalog.is-open .sl-header__catalog-toggle svg {
    transform: rotate(180deg);
}

.sl-header__catalog-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: -16px;
    z-index: 20;
    display: none;
    width: 280px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 10px 0;
    border: 1px solid var(--sl-header-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
}

.sl-header__catalog.is-open .sl-header__catalog-menu {
    display: block;
}

.sl-header__catalog-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    line-height: 1.4;
}

.sl-header__catalog-menu a:hover {
    background: #f6f6f6;
}

/* Поиск */

.sl-header__search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 35px;
    border-right: 1px solid var(--sl-header-line);
    padding-right: 14px;
	position:relative;
	z-index:2;
}

.sl-header__search-input {
    width: 0;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: none;
    opacity: 0;
    background: transparent;
    transition: width .25s ease, opacity .2s ease, padding .2s ease;
}

.sl-header__search.is-open .sl-header__search-input {
    width: 145px;
    padding: 8px;
    opacity: 1;
    border-bottom: 1px solid #bbb;
	background:#fff;
}

.sl-header__search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sl-header__search-button svg {
    width: 26px;
    height: 26px;
    stroke-width: 2;
}

.sl-header__catalog-menu .navbar-nav.mr-auto li a {
    color: #666;
    text-transform: uppercase;
    padding: 10px 12px;
    text-transform: none;
}



/* Телефон */

.sl-header__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 700;
    white-space: nowrap;
}

.sl-header__phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--sl-header-yellow);
}

.sl-header__phone-icon svg {
    width: 25px;
    height: 25px;
    fill: var(--sl-header-yellow);
    stroke: var(--sl-header-yellow);
}

/* Соцсети, корзина */

.sl-header__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.sl-header__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    overflow: hidden;
    border-radius: 50%;
    background: #171717;
    transition: transform .2s ease;
}

.sl-header__social:hover {
    transform: translateY(-2px);
}

.sl-header__social img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sl-header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 42px;
}

.sl-header__cart img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.sl-header__cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 50px;
    background: #df3030;
    color: #fff;
    font-size: 11px;
    line-height: 1;
}

/* Жёлтая кнопка */

.sl-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 0 0 auto;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid var(--sl-header-yellow);
    border-radius: 3px;
    background: var(--sl-header-yellow);
    color: #171717;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease;
}

.sl-header__cta:hover {
    background: var(--sl-header-yellow-hover);
    border-color: var(--sl-header-yellow-hover);
}

.sl-header__cta svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

/* Мобильная кнопка меню */

.sl-header__burger,
.sl-header .btn-menu {
    display: none;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid var(--sl-header-line);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
}
.sl-header .btn-menu {
	width: 38px;
    height: 32px;
	background:transparent;
}
.sl-header__burger span,
.sl-header .btn-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sl-header-text);
}
.hidden-menu li a {
	text-transform:none;
}
.hidden-menu li {
	margin:0 0 10px;
	list-style:none;
}
.hidden-menu ul {
	padding:0px;
	margin":0 0 15px;
}
.hidden-menu .sl-header__phone {
	margin:0 0 15px;
}
.hidden-menu .sl-header__socials {
	margin-left:0px !important;
	margin-bottom:15px;
}
.hidden-menu .sl-header__cta {
	display:none;
}

/* Планшеты и небольшие ноутбуки */

@media (max-width: 1320px) {
    .sl-header__top-inner {
        gap: 14px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .sl-header__production {
        display: none;
    }

    .sl-header__main-inner {
        gap: 12px;
        padding-right: 18px;
        padding-left: 18px;
    }

    .sl-header__logo {
        flex-basis: 72px;
        margin-right: 0;
    }

    .sl-header__nav {
        gap: 16px;
    }

    .sl-header__socials {
        gap: 7px;
    }

    .sl-header__social {
        width: 34px;
        height: 34px;
    }

    .sl-header__cta {
        min-height: 48px;
        padding: 0 12px;
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
	.sl-header__nav-link, .sl-header__catalog-toggle {
		font-size:14px !important;
	}
}

@media (max-width: 1080px) {
	.hidden-menu-ticker:checked~.btn-menu span.third {
		-webkit-transform: rotate(-45deg);
		top: -4px;
	}
	.hidden-menu-ticker:checked~.btn-menu span.first {
		-webkit-transform: rotate(45deg);
		top: 10px;
	}
    .sl-header__top-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        min-height: 42px;
        gap: 8px 18px;
		padding-right:70px;
    }

    .sl-header__top-links {
        margin-left: 0;
    }
	.sl-header__inforametion {
		justify-content:flex-end;
		padding-right:10px;
	}
	.sl-header__cta,
	.sl-header__socials,
	.sl-header__burger{
		margin-left:12px !important;
	}

	.sl-header .btn-menu {
		display:block;
	}
    /* .sl-header__burger { */
        /* display: flex; */
        /* margin-left: auto; */
    /* } */

    .sl-header__nav {
        order: 10;
        display: none;
        flex: 0 0 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        border-top: 1px solid var(--sl-header-line);
    }

    .sl-header__nav.is-open {
        display: flex;
    }

    .sl-header__nav-link,
    .sl-header__catalog-toggle {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding: 13px 4px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }

    .sl-header__catalog-menu {
        position: static;
        width: 100%;
        max-height: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        padding: 0 0 8px 12px;
    }

    .sl-header__catalog.is-open .sl-header__catalog-menu {
        display: block;
    }

    .sl-header__search {
        margin-left: auto;
    }
}

/* Телефоны */

@media (max-width: 680px) {
	/* .sl-header__main .sl-header__phone, */
	/* .sl-header__main .sl-header__socials	{ */
		/* display:none; */
	/* } */
	.sl-header__cta	{
		display:none;
	}
}
@media (max-width: 640px) {
    .sl-header {
        font-size: 13px;
    }

    .sl-header__top-inner {
        justify-content: flex-start;
        gap: 7px 14px;
        padding: 8px 14px;
    }

    .sl-header__location,
    .sl-header__info {
        gap: 6px;
        font-size: 12px;
    }

    .sl-header__top-icon {
        flex-basis: 18px;
    }

    .sl-header__top-icon svg {
        width: 18px;
        height: 18px;
    }

    .sl-header__top-links {
        display: none;
    }

    .sl-header__main-inner {
        gap: 10px;
        padding: 9px 14px;
    }

    .sl-header__burger,
	.sl-header .btn-menu	{
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .sl-header__search {
        border-right: 0;
        padding-right: 0;
    }

    .sl-header__search:focus-within .sl-header__search-input {
        position: absolute;
        top: calc(100% + 1px);
        right: 12px;
        z-index: 30;
        width: min(260px, calc(100vw - 24px));
        padding: 12px;
        border: 1px solid var(--sl-header-line);
        background: #fff;
        box-shadow: 0 6px 16px rgb(0 0 0 / 10%);
    }

    /* .sl-header__phone { */
        /* order: 5; */
        /* flex: 1 1 100%; */
        /* justify-content: center; */
        /* padding-top: 7px; */
        /* font-size: 16px; */
    /* } */

    .sl-header__socials {
        gap: 6px;
    }

    .sl-header__social {
        width: 32px;
        height: 32px;
    }



    .sl-header__cart img {
        width: 29px;
        height: 29px;
    }

    .sl-header__cta {

        min-height: 46px;
        margin-top: 2px;
        font-size: 14px;
    }
}


/* Кнопка поиска в строке меню */

.sl-header__search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    cursor: pointer;
    transition: opacity .2s ease;
}

.sl-header__search-trigger:hover {
    opacity: .6;
}

.sl-header__search-trigger svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Выезжающая панель поиска */

.sl-search-panel {
    position: absolute;
	position:fixed;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100%;
    padding: 0 24px;
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    box-shadow: 0 12px 28px rgb(0 0 0 / 10%);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition:
        transform .3s ease,
        opacity .25s ease,
        visibility .3s ease;
}

.sl-search-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sl-search-panel__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 0;
}

.sl-search-panel__form {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.sl-search-panel__input {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #dedede;
    border-radius: 3px;
    outline: none;
    background: #fff;
    color: #171717;
    font-size: 18px;
    box-shadow: none;
}

.sl-search-panel__input:focus {
    border-color: #aaa;
}

.sl-search-panel__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 135px;
    height: 58px;
    padding: 0 22px;
    border: 1px solid #ffd43b;
    border-radius: 3px;
    background: #ffd43b;
    color: #171717;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.sl-search-panel__submit:hover {
    background: #f3c522;
}

.sl-search-panel__submit svg,
.sl-search-panel__close svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sl-search-panel__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #171717;
    cursor: pointer;
}

.sl-search-panel__close:hover {
    opacity: .6;
}







@media (max-width: 640px) {
    .sl-search-panel {
        padding: 0 14px;
    }

    .sl-search-panel__inner {
        padding: 16px 0;
    }

    .sl-search-panel__form {
        flex-wrap: wrap;
        gap: 10px;
    }

    .sl-search-panel__input {
        flex: 1 1 calc(100% - 52px);
        height: 48px;
        font-size: 16px;
    }

    .sl-search-panel__close {
        flex-basis: 42px;
    }

    .sl-search-panel__submit {
        flex: 1 1 100%;
        height: 46px;
		max-width: 85%;
    }
	.sl-header__phone {
		margin-right:10%;
	}
}

@media (max-width: 520px) {
	.sl-header__social {
		width:22px;
		height:22px;
	}
	.sl-header__info {
		display:none;
	}
	.breadcrumb {
		padding: 20px 0;
	}
	.sl-header__top-inner .sl-header__info.schedule {
		display:flex;
	}
	.sl-header__top-inner {
		justify-content: space-between;
		padding-right: 50px;
	}
	
}

@media (max-width: 480px) {
	.hidden-menu .sl-header__cta {
		display:flex;
		white-space:wrap;
		min-height:0px;
		margin-left:0px !important;
		padding:5px 8px;
	}
	.sl-header__main-inner .sl-header__cta,
	.sl-header__phone-icon	{
		display:none;
	}
	.sl-header__logo {
		min-width:62px;
	}
	.sl-header__search-trigger {
		flex: 0 0 32px;
		width: 32px;
		height: 32px;
	}
	.sl-header__phone {
		margin-right:5%;
	}
}
@media (max-width: 380px) {
	.sl-header__phone {
		margin-right:0;
	}
}
@media (prefers-reduced-motion: reduce) {
    .sl-search-panel {
        transition: none;
    }
}



.toggle-categories-btn {
    display: none; /* Скрываем на десктопе */
    width: 100%;
    padding: 15px;
    background: #ffd43b;
    color:#000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.toggle-categories-btn:hover {
    background: #f3c522;
}

.btn-arrow {
    float: right;
    transition: transform 0.3s;
}

.categories-wrapper {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

/* Мобильная версия */
@media (max-width: 991px) {
    .toggle-categories-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
		padding:8px 10px !important;
    }
    
    .categories-wrapper {
        max-height: 0;
        opacity: 0;
    }
    
    .categories-wrapper.open {
        max-height: 2000px;
        opacity: 1;
    }
    
    .toggle-categories-btn.open .btn-arrow {
        transform: rotate(180deg);
    }
	.categories-wrapper li {
		margin:0px !important;
	}
	.categories-wrapper li a {
		padding:8px 10px !important;
		text-transform:none !important;
	}
	.asideSection {
		padding:0px 12px;
	}
}

.advant .col-lg-4 {
	transition:.5s;
}
.yellow {
    background: #ffcb08;
    padding: 40px 53px;
    position: relative;
}
/* #mainSolutions ul li { */
	/* margin-bottom: 10px; */
    /* list-style: none; */
    /* display: inline-block; */
    /* width: 49%; */
    /* vertical-align: top; */
/* } */
/* #mainSolutions ul li a { */
    /* font-size: 14px; */
    /* font-weight: 700; */
    /* color: #999; */
    /* text-transform: none; */
    /* padding-right: 35px; */
    /* line-height: 1.2; */
    /* display: inline-block; */
/* } */
#mainSolutions .container {
    background: url(../img/solutions_bg.png) right top no-repeat;
    padding-bottom: 100px;
	background-size: contain;
}
@media (max-width: 768px) {
	#mainSolutions .container {
		background:none;
	}
    #mainSolutions ul li a {
        font-size: 14px;
    }
	#mainSolutions ul li {
		margin:0 0 15px;
	}
}
@media (max-width: 520px) {
	#mainSolutions ul li {
		max-width:100%;
		width:100%;
	}
}

.mainCategory .elemCat:nth-child(5) {
	font-size: 80%;
    font-weight: 400;
    width: 40%;
    float: left;
}
.mainCategory .elemCat:nth-child(6) {
	font-size: 80%;
    font-weight: 400;
    width: 57%;
    float: right;
    margin-right: 0px !important;
}
@media (max-width: 600px) {
    .mainCategory .col-lg-12 .elemCat {
        width: 100%;
        display: block;
        height: 160px;
    }
}