

/* Start:/local/templates/Egroup/components/bitrix/search.title/custom_search/style.css?17656355294192*/
/* Уникальные стили для компонента поиска */
.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?17656355292149*/
.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?1765635557884*/
.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/breadcrumb/universal/style.min.css?1767281460647*/
.bx-breadcrumb{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0 0 15px 0;width:100%}.bx-breadcrumb-item{height:22px;white-space:nowrap}.bx-breadcrumb-item-angle{margin:0 10px;color:#b5bdc2;vertical-align:top;font-size:12px}.bx-breadcrumb-item-link{border-bottom:0;vertical-align:top;line-height:21px}.bx-breadcrumb-item-text{vertical-align:top;white-space:normal;font:400 13px/21px "Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;transition:250ms linear all}
/* End */


/* Start:/local/templates/Egroup/components/bitrix/sale.basket.basket/custom/style.css?17676369497445*/
/* Базовые стили остаются без изменений */
.basket-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.basket-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.basket-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}
.basket-summary {
    display: flex;
    justify-content: space-between;
}
.basket-items-list {
    margin-bottom: 30px;
}
.basket-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.basket-item-image {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}
.basket-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.basket-item-info {
    flex-grow: 1;
    margin-right: 20px;
}
.basket-item-name {
    font-weight: bold;
    margin-bottom: 5px;
}
.basket-item-code {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}
.product-properties {
    margin-bottom: 8px;
}
.friendly-prices, .installation {
    display: inline-block;
    padding: 2px 8px;
    margin-right: 5px;
    font-size: 12px;
    border-radius: 3px;
    background-color: #f0f0f0;
    color: #333;
}
.friendly-prices {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.installation {
    background-color: #e3f2fd;
    color: #1565c0;
}
.availability {
    font-size: 14px;
    margin-bottom: 8px;
}
.availability.not-available {
    color: #FF3333;
}
.basket-item-price {
    min-width: 120px;
    text-align: right;
    margin-right: 20px;
}
.price-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}
.price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}
.price-current {
    font-weight: bold;
    margin-bottom: 5px;
}
.price-total {
    font-weight: bold;
}
.basket-item-quantity {
    display: flex;
    align-items: center;
    margin-right: 20px;
}
.quantity-btn {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.2s;
}
.quantity-btn:hover {
    background: #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;
}
.basket-item-actions button {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}
.basket-item-actions button:hover {
    color: #f00;
}
.basket-item-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.basket-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.basket-total {
    width: 300px;
    padding: 20px;
    background: #f9f9f9;
}
.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.grand-total {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}
.basket-actions {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.continue-shopping {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    text-align: center;
    transition: all 0.2s;
}
.continue-shopping:hover {
    background: #f5f5f5;
}
.checkout-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ff6600;
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    transition: background 0.2s;
}
.checkout-btn:hover {
    background: #e55a00;
}
.empty-basket {
    text-align: center;
    padding: 50px 0;
}
.empty-basket-icon {
    margin-bottom: 20px;
    color: #ccc;
}
.empty-basket h2 {
    font-size: 24px;
    margin-bottom: 10px;
}
.btn-to-catalog {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 20px;
    background: #ff6600;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}
.btn-to-catalog:hover {
    background: #e55a00;
}
/* Мобильная оптимизация */
@media (max-width: 768px) {
    .basket-container {
        padding: 10px;
    }
    
    .basket-header {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .basket-header h1 {
        font-size: 20px;
    }
    
    .basket-summary {
        flex-direction: column;
        gap: 5px;
    }
    
    .basket-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    
    .basket-item-image {
        width: 80px;
        height: 80px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .basket-item-info {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .basket-item-price {
        width: 100%;
        text-align: left;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .basket-item-quantity {
        width: 100%;
        justify-content: space-between;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .quantity-input {
        width: 60px;
        height: 40px;
        font-size: 16px;
    }
    
    .basket-item-actions {
        align-self: flex-end;
    }
    
    .basket-item-actions button {
        padding: 10px;
    }
    
    .basket-footer {
        flex-direction: column;
        gap: 20px;
    }
    
    .basket-total {
        width: 100%;
    }
    
    .basket-actions {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .continue-shopping, .checkout-btn {
        width: 48%;
        padding: 15px;
        text-align: center;
        box-sizing: border-box;
    }
    
    .empty-basket {
        padding: 30px 0;
    }
    
    .empty-basket h2 {
        font-size: 20px;
    }
    
    .btn-to-catalog {
        width: 100%;
        padding: 15px;
        text-align: center;
    }
}
/* Дополнительная оптимизация для очень маленьких экранов */
@media (max-width: 480px) {
    .basket-container {
        padding: 5px;
    }
    
    .basket-header h1 {
        font-size: 18px;
    }
    
    .basket-item {
        padding: 10px 0;
    }
    
    .basket-item-image {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }
    
    .basket-item-name {
        font-size: 14px;
    }
    
    .basket-item-code, .availability, .price-label, .price-old {
        font-size: 12px;
    }
    
    .price-current, .price-total {
        font-size: 14px;
    }
    
    .quantity-btn {
        width: 35px;
        height: 35px;
    }
    
    .quantity-input {
        width: 50px;
        height: 35px;
    }
    
    .basket-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .continue-shopping, .checkout-btn {
        width: 100%;
    }
}
/* End */
/* /local/templates/Egroup/components/bitrix/search.title/custom_search/style.css?17656355294192 */
/* /local/templates/Egroup/components/bitrix/system.auth.form/custom_auth_form/style.css?17656355292149 */
/* /local/templates/Egroup/components/bitrix/menu/top_menu/style.css?1765635557884 */
/* /local/templates/Egroup/components/bitrix/breadcrumb/universal/style.min.css?1767281460647 */
/* /local/templates/Egroup/components/bitrix/sale.basket.basket/custom/style.css?17676369497445 */
