

/* Start:/local/templates/zavodlga/components/bitrix/search.title/header/style.css?17809921372936*/
/* === Выпадающий список поиска (товары с картинкой и ценой) === */
.form__search {
    position: relative; /* обязательно для позиционирования выпадашки */
}

.search-suggest {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--color-whte);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-height: 500px;
    overflow-y: auto;
    z-index: var(--index-3);
    padding: 8px 0;
}

.search-suggest__item {
    border-bottom: 1px solid var(--color-bg-secondary);
    transition: background 0.2s;
}
.search-suggest__item:last-child {
    border-bottom: none;
}

.search-suggest__link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    text-decoration: none;
    transition: background 0.2s;
}
.search-suggest__link:hover {
    background: var(--color-bg-secondary);
}

/* Изображение товара */
.search-suggest__image {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}
.search-suggest__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Блок с названием и ценой */
.search-suggest__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
}

.search-suggest__name {
    font-weight: 500;
    font-size: 14px;
    color: var(--color-blck);
    line-height: 1.3;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-suggest__link:hover .search-suggest__name {
    color: var(--color-alt);
}
.search-suggest__name b {
    color: var(--color-alt);
    font-weight: 700;
}

/* Цены */
.search-suggest__price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}
.search-suggest__price-current {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-blck);
}
.search-suggest__price-old {
    font-size: 13px;
    color: #b0b0b0;
    text-decoration: line-through;
}

/* Скролл для длинного списка */
.search-suggest::-webkit-scrollbar {
    width: 4px;
}
.search-suggest::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.search-suggest::-webkit-scrollbar-thumb {
    background: var(--color-alt);
    border-radius: 10px;
}

/* Адаптация для мобильных */
@media (max-width: 767.98px) {
    .search-suggest {
        max-height: 400px;
        margin-top: 0;
        border-radius: 12px;
    }
    .search-suggest__link {
        padding: 10px 15px;
        gap: 10px;
    }
    .search-suggest__image {
        width: 40px;
        height: 40px;
    }
    .search-suggest__price-current {
        font-size: 14px;
    }
}
/* End */


/* Start:/local/templates/zavodlga/template_styles.css?17817809143844*/
.preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: #fff;
	z-index: 1400;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease-in 0s;
}

.loader,
.loader:before,
.loader:after {
	border-radius: 50%;
	width: 2.5em;
	height: 2.5em;
	animation-fill-mode: both;
	animation: bblFadInOut 1.8s infinite ease-in-out;
}

.loader {
	color: #2053a8;
	font-size: 7px;
	position: relative;
	text-indent: -9999em;
	transform: translateZ(0);
	animation-delay: -0.16s;
}

.loader:before,
.loader:after {
	content: '';
	position: absolute;
	top: 0;
}

.loader:before {
	left: -3.5em;
	animation-delay: -0.32s;
}

.loader:after {
	left: 3.5em;
}

@keyframes bblFadInOut {
	0% {
		box-shadow: 0 2.5em 0 -1.3em;
	}

	40% {
		box-shadow: 0 2.5em 0 0;
	}

	80% {
		box-shadow: 0 2.5em 0 -1.3em;
	}

	100% {
		box-shadow: 0 2.5em 0 -1.3em;
	}
}

.totop {
  position: fixed;
  bottom: 80px;
  right: 50px;
  width: 50px;
  height: 50px;
  background: #fff url("/local/templates/zavodlga/img/ico-chevron-up.svg") no-repeat center;
  border-radius: 500px;
  opacity: 0;
  z-index: 1000;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
          box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  -webkit-transition-property: all;
       -o-transition-property: all;
          transition-property: all;
  -webkit-transition-duration: .3s;
       -o-transition-duration: .3s;
          transition-duration: .3s;
}

.totop_active {
  bottom: 50px !important;
  opacity: 1 !important;
}

@media (max-width: 1199.98px) {
  .totop {
    bottom: 50px;
    right: 20px;
    width: 40px;
    height: 40px;
  }

  .totop_active {
    bottom: 20px !important;
  }
}

#cookieBanner {
    display: none;
    gap: 5px;
    align-items: center;
    justify-content: center;
    position: fixed;
    max-width: 900px;
    z-index: 10;
    bottom: 15px;
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
    padding: 10px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
}

#cookieBanner.show {
    display: flex;
}

#cookieBanner p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.2;
    text-align: left;
    color: black;
}

#cookieBanner > button {
    width: 270px;
    font-size: 10px;
    line-height: 25px;
    color: white;
    background: var(--color-alt);
    padding: 5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: none;
	border-radius: 8px;
}

#cookieBanner > button:hover {
    background-color: #FF3D00;
}

#favorite-popup .popup__wrapper {
    width: max-content;
}

#favorite-popup.popup_show {
	display: flex;
    flex-direction: column;
    align-items: center;
}

.popup_show .popup__content {
    display: flex;
}

.popup_show .popup__text {
	padding: 1rem;
}

.popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

/* Создаём две линии крестика через псевдоэлементы */
.popup__close::before,
.popup__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #333;
    transition: background-color 0.2s;
}

.popup__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Эффекты при наведении/клике */
.popup__close:hover::before,
.popup__close:hover::after {
    background-color: #ff0000;
}

.popup__close:active {
    transform: scale(0.95);
}
/* Перекрашивание текущей иконки Избранное */
.production__constructor-btn.active:before {
	background: #e74c3c !important;
}
/* End */
/* /local/templates/zavodlga/components/bitrix/search.title/header/style.css?17809921372936 */
/* /local/templates/zavodlga/template_styles.css?17817809143844 */
