/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/
/* Examples (uncomment to use):*/
/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */
/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }
/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

.logo > svg {
    width: 100%;
    height: 100%;
}

#mobileheader {
    height: 154px;
    position: static !important;
}

@media (min-width: 1200px){
    .right_block.wide_N .items .item_block.col-lg-20 {
        width: 12.5% !important;
    }
}

@media (min-width: 401px) {
    .catalog_section_list .item_block.lg .section_item {
        padding-bottom: 15px;
        padding-top: 30px;
    }
    .catalog_section_list .section_item {
        padding: 20px 20px 20px;
    }
    .top_slider_wrapp  {
        height: 250px;
    }
    .col-lg-3 {
        height: 50px;
    }
    .swiper-button-prev{
        top: 30%;
    }
    .swiper-button-next{
        top: 30%;
    }
    .top_block {
        padding: 0 auto;
        margin-bottom: 14px;
    }
    .muted{
        margin-right: 10px;
    }
}
@media (max-width: 450px) {
 .top_slider_wrapp .main-slider, .top_slider_wrapp .main-slider__item, .top_slider_wrapp .main-slider__item td, .top_slider_wrapp .main-slider__item tr
{
        height: 80px;
    }
}
@media screen and (max-width: 991px), projection and (max-width: 991px), tv and (max-width: 991px), handheld and (max-width: 991px) {
    .top_slider_wrapp .main-slider, .top_slider_wrapp .main-slider__item, .top_slider_wrapp .main-slider__item td {
        height: 200px !important; 
    }
}    
@media (max-width: 450px) {
    .top_slider_wrapp .main-slider, .top_slider_wrapp .main-slider__item, .top_slider_wrapp .main-slider__item td, .top_slider_wrapp .main-slider__item tr {
        height: 280px;
    }
}
/* === КРАСНАЯ ЦЕНА ДЛЯ КОНКРЕТНОЙ АКЦИИ === */
/* .price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .price_value,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .price,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 [data-value],
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .total-price {
    color: #e74c3c !important;
    font-weight: bold !important;
}

.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .price_currency,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .currency {
    color: #e74c3c !important;
} */

/* === КРАСНАЯ НАДПИСЬ АКЦИЯ === */
/*.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .price_name,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .muted.font_xs {
    color: #e74c3c !important;
    font-weight: bold !important;
}

/* === КРАСНОЕ НАЗВАНИЕ ТОВАРА === */
/*.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 ~ .item-title a,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 ~ .title a,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 ~ .catalog-item__title a,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .item-title a,
.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .title a {
    color: #e74c3c !important;
}

/* === ТУЛТИП === */
/*.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548 .promo-tooltip,
.promo-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    z-index: 10000;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    pointer-events: none;
    margin-bottom: 8px;
    
    max-width: 250px;
    text-align: center;
    white-space: normal;
}

.price_group.8ea8382a-5026-11f1-8eb3-fdc8aac4b548:hover .promo-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Хвостик */
.promo-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
}

/* Ссылка */
.full-price-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
    position: relative;
    z-index: 2;
}

/* Адаптив */
@media (max-width: 768px) {
    .promo-tooltip {
        max-width: 180px;
        font-size: 11px;
        padding: 6px 10px;
    }
}

.inline-search-block.custom-header-search {
    --search-accent: #83b81d;
    --search-accent-hover: #83b81d;

    display: none;
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    max-height: 100dvh;
    overflow-y: auto;
    padding: 32px 24px 36px;
    box-sizing: border-box;
    background: #fff;
    color: #182230;
    border-bottom: 1px solid #e7ecf3;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 60px rgb(15 23 42 / 16%);
    z-index: 10000;
    font-family: inherit;
}

.custom-header-search,
.custom-header-search * {
    box-sizing: border-box;
}

.inline-search-block.custom-header-search.show {
    display: block;
    animation: custom-search-enter 180ms ease-out both;
}

.custom-header-search .custom-header-search__inner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.custom-header-search .custom-header-search__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.custom-header-search .custom-header-search__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.custom-header-search .custom-header-search__subtitle {
    margin-top: 8px;
    color: #697586;
    font-size: 14px;
    line-height: 1.5;
}

.custom-header-search .custom-header-search__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f4f7;
    color: #475467;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}

.custom-header-search .custom-header-search__close:hover {
    background: #e8ecf2;
    color: #182230;
}

.custom-header-search .custom-header-search__form {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    margin: 0;
}

.custom-header-search .custom-header-search__field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    min-height: 60px;
    padding: 0 18px;
    border: 1px solid #dce3ec;
    border-radius: 14px;
    background: #f8fafc;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.custom-header-search .custom-header-search__field:focus-within {
    border-color: var(--search-accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgb(37 99 235 / 12%);
}

.custom-header-search .custom-header-search__icon {
    flex-shrink: 0;
    margin-right: 12px;
    color: #8290a3;
}

.custom-header-search .custom-header-search__field .search-input {
    display: block;
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #182230;
    font-family: inherit;
    font-size: 16px;
    line-height: normal;
}

.custom-header-search .search-input::placeholder {
    color: #8995a5;
    opacity: 1;
}

.custom-header-search .custom-header-search__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-shrink: 0;
    min-height: 60px;
    margin: 0;
    padding: 0 28px;
    border: 0;
    border-radius: 14px;
    background: var(--search-accent);
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background 150ms ease;
}

.custom-header-search .custom-header-search__submit:hover {
    background: var(--search-accent-hover);
}

.custom-header-search .custom-header-search__submit span {
    font-size: 22px;
}

.custom-header-search button:focus-visible {
    outline: 3px solid var(--search-accent);
    outline-offset: 4px;
}

@keyframes custom-search-enter {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .inline-search-block.custom-header-search {
        padding: 22px 16px 24px;
        border-radius: 0 0 20px 20px;
    }

    .custom-header-search .custom-header-search__heading {
        gap: 12px;
        margin-bottom: 20px;
    }

    .custom-header-search .custom-header-search__title {
        font-size: 22px;
    }

    .custom-header-search .custom-header-search__form {
        flex-direction: column;
    }

    .custom-header-search .custom-header-search__submit {
        min-height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inline-search-block.custom-header-search.show {
        animation: none;
    }

    .custom-header-search * {
        transition: none;
    }
}

.maxwidth-theme-custom {
    padding-top: 0 !important;
}