

/* Start:/local/templates/Egroup/components/bitrix/search.title/custom_search/style.css?17580970054192*/
/* Уникальные стили для компонента поиска */
.custom-search-component {
    position: relative;
    z-index: 1000; /* Повышенный z-index для игнорирования других компонентов */
}
.custom-search-component__form {
    display: flex;
    width: 114%;
    position: relative;
}
.custom-search-component__input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 15px 0 45px;
    border: 2px solid rgba(255, 191, 4, 1) !important;
    border-radius: 5px 0 0 5px !important;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    width: 100%;
    background-color: #fff !important;
    color: #000 !important;
}
.custom-search-component__input:focus {
    border-color: rgba(255, 160, 0, 1) !important;
    box-shadow: 0 0 5px rgba(255, 191, 4, 0.5) !important;
}
.custom-search-component__btn {
    height: 40px;
    padding: 0 20px;
    border: 2px solid rgba(255, 191, 4, 1) !important;
    border-left: none !important;
    border-radius: 0 5px 5px 0 !important;
    background-color: rgba(255, 191, 4, 1) !important;
    color: black !important;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}
.custom-search-component__btn-mob {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    display: none;
    align-items: center;
    justify-content: center;
}
.custom-search-component__icon {
    width: 20px;
    height: 20px;
    fill: #181818;
}

/* Popover стили */
.custom-search-popover {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1001;
    display: none;
    margin-top: -1px;
}
.custom-search-popover.active {
    display: block !important;
}
.custom-search-popover__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}
.custom-search-popover__title {
    font-weight: 500;
    font-size: 14px;
}
.custom-search-popover__clear {
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}
.custom-search-popover__clear:hover {
    color: #000;
    text-decoration: underline;
}
.custom-search-popover__content {
    max-height: 250px;
    overflow-y: auto;
}
.custom-search-popover__history-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-search-popover__history-list li {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s;
}
.custom-search-popover__history-list li:hover {
    background: #f5f5f5;
}
.custom-search-popover__empty {
    padding: 15px;
    text-align: center;
    color: #888;
    font-style: italic;
}

/* Адаптация для мобильных */
@media (max-width: 767px) {
    .custom-search-component {
        width: calc(100% - 10px) !important;
        margin: 0 5px !important;
        max-width: none !important;
    }
    
    .custom-search-component__input {
        padding-left: 45px !important;
        border-radius: 20px !important;
        border-right: 2px solid rgba(255, 191, 4, 1) !important;
    }
    
    .custom-search-component__btn {
        display: none !important;
    }
    
    .custom-search-component__btn-mob {
        display: flex !important;
    }
    
    .custom-search-popover {
        border-radius: 5px;
        margin-top: 5px;
    }
    .custom-search-component__form {
    width: 100%;
}
}
/* Для планшетов и десктопов */
@media (min-width: 768px) {
    .custom-search-component {
        max-width: 700px;
        position: relative;
    }
    
    .custom-search-component__btn {
        min-width: 100px;
    }
}
/* End */


/* Start:/local/templates/Egroup/components/bitrix/system.auth.form/custom_auth_form/style.css?17580970052149*/
.profile-wrapper {
    position: relative;
    display: inline-block;
}
.profile-trigger {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: #333;
}
.profile-icon-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    position: relative;
    z-index: 1001;
}
.profile-icon-link:hover {
    text-decoration: none;
    color: #333;
}
.profile-popover {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    visibility: hidden;
}
.profile-trigger.active .profile-popover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.profile-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}
.profile-header span {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
.profile-email {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.profile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.profile-menu li {
    border-bottom: 1px solid #f0f0f0;
}
.profile-menu li:last-child {
    border-bottom: none;
}
.profile-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}
.profile-menu a:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}
.profile-menu i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}
.auth-link {
    text-decoration: none;
    color: #333;
    font-size: 20px;
    display: block;
}
.auth-link:hover {
    text-decoration: none;
    color: #333;
}

@media (max-width: 768px) {
    .profile-wrapper {
        display: none;
    }
}
/* End */


/* Start:/local/templates/Egroup/components/bitrix/menu/top_menu/style.css?1758097022884*/
.navtolog {
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
    padding: 0;
}
.navtolog-inner {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 0;
}
.navtolog-item {
    position: relative;
    margin: 0 15px;
    padding: 0;
}
.navtolog-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}
.navtolog-link:hover {
    color: #ff0000; /* Красный цвет при наведении */
}
.navtolog-active .navtolog-link {
    color: #FFBF04;
    font-weight: 600;
}
/* Скрываем меню на мобильных устройствах */
@media (max-width: 768px) {
    .navtolog {
        display: none;
    }
}
/* End */


/* Start:/local/templates/Egroup/components/bitrix/catalog.section/slider/style.css?17618355827955*/
/* Стили для слайдера */
.slider-container {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Скрываем скроллбар в Firefox */
    -ms-overflow-style: none; /* Скрываем скроллбар в IE/Edge */
    scroll-behavior: smooth; /* Плавная прокрутка */
}

.slider-wrapper::-webkit-scrollbar {
    display: none; /* Скрываем скроллбар в Chrome/Safari */
}

.products-list {
    display: flex;
    flex-wrap: nowrap; /* Запрещаем перенос товаров */
    padding: 10px 0;
}

.product-card {
    width: 260px;
    flex: 0 0 auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    text-decoration: none;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #f9f9f9;
    z-index: 2;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-color: #ffffff;
    border-radius: 4px;
    will-change: transform; /* Оптимизация для анимации */
    backface-visibility: hidden; /* Улучшение производительности */
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    color: #999;
    font-size: 14px;
}

.no-image svg {
    margin-bottom: 10px;
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 3;
    will-change: opacity; /* Оптимизация для анимации */
}

.product-image-container:hover .favorite-btn {
    opacity: 1;
}

.favorite-btn.active {
    opacity: 1;
    background: rgba(255, 102, 0, 0.9);
    color: white;
}

.favorite-btn:hover {
    background: rgba(255, 102, 0, 0.9);
    color: white;
}

.favorite-btn.active:hover {
    background: rgba(230, 90, 0, 0.9);
}

.product-header {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    position: relative;
    z-index: 2;
}

.friendly-prices, .installation {
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    background-color: #f0f0f0;
    color: #333;
}

.friendly-prices {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.installation {
    background-color: #e3f2fd;
    color: #1565c0;
}

.product-code {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.availability {
    font-size: 14px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.product-title {
    font-weight: bold;
    margin-bottom: 10px;
    min-height: 40px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.product-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    position: relative;
    z-index: 2;
}

.price-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.quantity-controls {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.quantity-btn:hover:not(:disabled) {
    background-color: #e0e0e0;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
    position: relative;
    z-index: 2;
}

.add-to-cart:hover:not(:disabled) {
    background: #e55a00;
}

.add-to-cart:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.cart-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
    will-change: transform; /* Оптимизация для анимации */
}

.cart-notification.error {
    background: #f44336;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Стили для кнопок слайдера */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background-color 0.2s;
}

.slider-btn:hover {
    background-color: #f0f0f0;
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Стили для счетчика избранного */
.favorites-counter {
    position: fixed;
    top: 15px;
    right: 15px;
    background-color: #FF3333;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .slider-container {
        max-width: 920px; /* 3 товара + отступы */
    }
}

@media (max-width: 992px) {
    .slider-container {
        max-width: 620px; /* 2 товара + отступы */
    }
}

@media (max-width: 768px) {
    .slider-container {
        max-width: 320px; /* 1 товар + отступы */
    }
    
    .product-card {
        width: 280px; /* Немного увеличиваем для мобильных */
    }
}
/* End */
/* /local/templates/Egroup/components/bitrix/search.title/custom_search/style.css?17580970054192 */
/* /local/templates/Egroup/components/bitrix/system.auth.form/custom_auth_form/style.css?17580970052149 */
/* /local/templates/Egroup/components/bitrix/menu/top_menu/style.css?1758097022884 */
/* /local/templates/Egroup/components/bitrix/catalog.section/slider/style.css?17618355827955 */
