

/* Start:/brands/style.css?179300838610715*/
.search-block-wrap {
    display: grid;
    grid-template-columns: 5fr 1fr;
    gap: 20px;
}
.search-block {
	position: relative;
	margin-bottom: 20px;
}
.search-input-container {
	position: relative;
}
#brand-search {
	padding-left: 40px;
}
.search-input-container .fa-search {
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
}
#search-result {
	display: none;
	position: absolute;
	top: 105%;
	background: #ffffff;
	width: 100%;
	padding: 10px;
	border: 1px solid #dddddd;
	border-radius: 3px;
}
#search-result .result-item a {
	display: block;
	padding: 10px;
	font-weight: 500;
	color: #333333;
	text-decoration: none;
}
#search-result .result-item a:hover {
	background: #f0f0f0;
}
.letters-list {
	display: flex;
	flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    -webkit-box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
}
.letters-list-item a {
	display: block;
	padding: 5px 10px;
	font-weight: 500;
	color: #333333;
	border: 1px solid #b2b2b2;
	border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.letters-list-item.active a {
	border: 1px solid var(--brand-1);
	background: var(--brand-1);
	color: #fff;
}

.letters-list-item:hover a {
	border: 1px solid var(--brand-1);
	background: var(--brand-1);
	color: #fff;
}
.brands {
	padding: 0 10px;
}

.brands-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
	margin-bottom: 20px;
}
.brands-list-item {
    border-radius: 10px;
    overflow: hidden;
	-webkit-box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
}
.brands-list-item-top {
	width: 100%;
    background: #fff;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.brands-list-item-top img {
	max-width: calc(90% - 20px);
    max-height: calc(90% - 20px);
}
.brands-list-item-title {
	margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}
.brands-list-item-bottom {
	padding: 10px;
}
.brands-list-item-btns {
	display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.brands-list-item-btn {
	padding: 10px;
    text-align: center;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
	opacity: 1;
	text-decoration: none;
}
.brands-list-item-btn.catalog-brand {
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    color: #fff;
	transition: all .2s ease-in-out;
}
.brands-list-item-btn.catalog-brand:hover {
	opacity: 0.8;
	text-decoration: none;
}
.brands-list-item-btn.open-modal-brand {
    background: #E0FFE7;
    color: var(--brand-1);
	transition: all .2s ease-in-out;
}
.brands-list-item-btn.open-modal-brand:hover {
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    color: #fff;
}
.brands-list-item-labels {
    display: flex;
	flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}
.brands-list-item-labels-item {
	padding: 2px 10px;
    background: #fff;
    border-radius: 20px;
    font-size: 12px;
}
.brands-list-item-labels-item.garant {
	background: #F14635;
    color: #fff;
}

.brands-list-item-props {

}
.brands-list-item-props-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.brands-list-item-props-item-name {
    font-size: 12px;
    color: #999;
}
.brands-list-item-props-item-value {
    font-size: 12px;
    color: #000;
}

.brand-description {
	background: #fff;
    padding: 20px;
    border-radius: 15px;
}
.brand-description-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}
.brand-description-text span {

}


@media (max-width: 824px) {
	.brands-list {
		grid-template-columns: repeat(2, 1fr);
	}
	.search-block-wrap {
		grid-template-columns: 3fr 1fr;
	}
}
@media (max-width: 575px) {
	.search-block-wrap {
		grid-template-columns: 1fr;
		gap: 0;
        margin-bottom: 20px;
	}
	.letters-list {
		justify-content: start;
	}
	.brands-list {
		grid-template-columns: 1fr 1fr;
	    gap: 10px;
	}

	.brands-list-item-btns {
		grid-template-columns: 1fr;
	}
	.brands-list-item-btn.open-modal-brand {
		display: none;
	}
}

/*-----------------MODAL BRANDS---------------------*/

.brand-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.brand-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.brand-modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    margin: 60px auto;
    background: #f7f8f8;
    z-index: 2;
	display: flex;
    flex-wrap: wrap;
	border-radius: 15px;
    overflow: hidden;
}

.brand-modal-close {
	font-size: 36px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-modal-top {
	width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: solid 1px #ccc;
    padding: 10px;
}
.brand-modal-title {
	font-size: 18px;
    font-weight: 600;
}
.brand-modal-left {
	width: 40%;
    padding: 20px;
    background: #fff;
	display: flex;
    justify-content: center;
    align-items: center;
}
.brand-modal-image {
    max-width: 200px;
    margin-bottom: 20px;
}
.brand-modal-right {
	width: 60%;
	padding: 20px;
}
.brand-modal-description {
	margin-bottom: 10px;
}
.brand-modal-catalog-btn {
    display: block;
    width: max-content;
    text-decoration: none;
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    color: #fff;
    transition: all .2s ease-in-out;
    padding: 10px 20px;
    border-radius: 10px;
}
.brand-modal-catalog-btn:hover {
	opacity: 0.8;
    color: #fff;
	text-decoration: none;
}

@media (max-width: 575px) {
	.brand-modal-left {
		width: 100%;
	}
	.brand-modal-right {
		width: 100%;
	}
}

/*----------------------------------------------*/
.sort-block-wrap {
	height: max-content;
}
.sort-select {
    position: relative;
    width: 220px;
    cursor: pointer;
}

.sort-select-checked {
    padding: 6px 15px;
    border: 1px solid #ced4da;
    border-radius: 25px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.sort-select-checked i {
    transition: transform 0.3s ease;
}

.sort-select.active .sort-select-checked i {
    transform: rotate(180deg);
}

.sort-select-list {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #fff;
    border-radius: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 10;
	-webkit-box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 4px 5px 8px 0px rgba(34, 60, 80, 0.2);
}

.sort-select.active .sort-select-list {
    max-height: 500px;
}

.sort-select-list-item {
    padding: 5px 15px;
}

.sort-select-list-item:hover {
    background: #f5f5f5;
}

/* 056 (visual-qa 25.10): кнопки карточек на одной линии в ряду и при названии в две строки (iLedex Technical) — низ карточки колонкой, кнопки прижаты вниз */
@media (max-width:767px){.brands-list-item{display:flex;flex-direction:column}.brands-list-item-bottom{flex:1 1 auto;display:flex;flex-direction:column}.brands-list-item-bottom>.brands-list-item-btns{margin-top:auto}}
/* 056 (visual-qa 25.10, круг 2): на телефоне названия в одну строку («iLedex Technical», «Schneider Electric») — метки и кнопки ряда на одной высоте */
@media (max-width:767px){.brands-list-item-title{font-size:16px}}

/* 058 ч. 3 (26.10.2026): на телефоне кнопка «О бренде» показывается (было display:none на ≤575 px — описание бренда на телефоне было недоступно);
   окно бренда на телефоне — по высоте экрана с прокруткой */
@media (max-width:575px){
.brands-list-item-btn.open-modal-brand{display:block}
.brand-modal-content{margin:16px auto;max-height:calc(100vh - 32px);overflow-y:auto;-webkit-overflow-scrolling:touch}
.brand-modal-left{padding:16px 16px 0}
.brand-modal-image{margin-bottom:8px}
}
/* 058 (visual-qa /brands/ 26.10): окно бренда — по высоте экрана на всех ширинах (на ноутбуке 1280×560 и телефоне в ландшафте низ обрезался),
   шапка окна прилипает, прокрутка не уходит в страницу (фон фиксируется скриптом); кнопки на 825–1099 px без переноса; «О бренде» — контрастнее;
   пустой результат фильтров и буквы без брендов в выбранной стране */
.brand-modal-content{max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;margin:min(60px,4vh) auto}
.brand-modal-top{position:sticky;top:0;z-index:3;background:#f7f8f8}
html.brand-modal-lock body{position:fixed;left:0;right:0;width:100%}
.brands-list-item-btn.open-modal-brand{color:#2E7D45}
@media (min-width:825px) and (max-width:1099px){.brands-list-item-btn{white-space:nowrap;padding:10px 6px;font-size:14px}}
.letters-list-item.is-empty a{opacity:.35;pointer-events:none}
.brands-empty{margin:4px 0 24px;padding:16px 18px;background:#f6f7f6;border-radius:10px;color:#212529}
.brands-empty-reset{margin-left:8px;border:0;background:none;color:#2E7D45;text-decoration:underline;font:inherit;cursor:pointer;padding:0}
.result-item.is-none{color:#6b6b6b}
/* 058, круг 2 visual-qa /brands/ (9 / 9): 825–899 px — кнопки карточки в одну колонку (на 4 колонках «О бренде» упиралась в край); без скачка ширины
   при фиксации фона (полоса прокрутки Windows); плашка «брендов нет» — белая, как нижний текстовый блок */
@media (min-width:825px) and (max-width:899px){.brands-list-item-btns{grid-template-columns:1fr}}
html.brand-modal-lock{overflow-y:scroll}
.brands-empty{background:#fff}
.brand-modal-content:focus{outline:none}

/* End */
/* /brands/style.css?179300838610715 */
