/*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;  }*/

@font-face { 
    font-family: "nbrb"; 
    src: url("/fonts/nbrb.woff2") format("woff2"), 
         url("/fonts/nbrb.ttf") format("truetype"), 
         url("/fonts/nbrb.woff") format("woff"); 
    unicode-range: U+E901, U+42, U+59, U+4E; 
}
li {
    list-style-type: initial;
}
ul.tabs_content li.tab {
    list-style-type: none;
}
.nbrb-currency { 
    font-family: "nbrb" !important; 
    font-style: normal;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale; 
    -webkit-font-variant-ligatures: discretionary-ligatures; 
    font-variant-ligatures: discretionary-ligatures; 
    display: inline-block;
}
/* 1. Скрываем текст "р." внутри контейнера валюты Аспро */
.price_currency {
    font-size: 0 !important; 
    display: inline-block;
}

/* 2. Настройки знака по умолчанию (для ПК версии, 18px) */
.price_currency:before {
    content: "\e901" !important; 
    font-family: "nbrb" !important;
    font-size: 18px !important; /* Соответствует размеру цены на ПК */
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-left: 4px; /* Небольшой отступ от цифр */
    display: inline-block;
    vertical-align: baseline;
}

/* 3. Настройки знака для мобильной версии сайта (экраны меньше 768px) */
@media (max-width: 767px) {
    .price_currency:before {
        font-size: 14px !important; /* Автоматически уменьшаем до 14px на смартфонах */
    }
}


.city_chooser_small_frame.popup .close {
    display: none;
}
.product-review-success {
    display: none;
}

.product-review .for-error {
    display: none;
    color: #cf1c1c;
}

.catalog_detail .not-in-stock {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
}

.politic-warning {
    line-height: 15px;
    color: orange;
    margin-top: -20px;
}

.f-carousel__slide img {
    max-width: 100%;
    height: auto;
}

.fancy-product-list-gallery {
    min-width: 70px;
    height: 170px;
}

.f-carousel__dot.is-selected:after,
.segment-slider__dots-dot.active {
    background: #258b37;
    opacity: 1;
}

.f-carousel__dots {
    gap: 5px;
    margin: 5px 0 0;
}

.f-carousel__dot {
    height: 8px;
    width: 8px;
}

.segment-slider {
    min-width: 75px;
    height: 170px;
}

.segment-slider__items {
    background-size: contain!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.segment-slider__dots {
    display: flex;
    flex-direction: row;
    gap: 5px;
    margin: 5px 0 0;
    justify-content: center;
}

.segment-slider__dots-dot {
    width: 8px;
    height: 8px;
    opacity: var(--f-carousel-dot-opacity);
    background-color: #000;
    transition: var(--f-carousel-dot-transition);
    border-radius: 50%;
}

.fancy-product-list-gallery {
    display: none;
}

/* === Специальная цена — зелёный стиль (как у Акции) === */
.menu-row.middle-block .mega-menu table td.green .wrap > a > div {
    background: #4CAF50;        /* Зелёный фон */
    padding: 8px 15px;
    border-radius: 4px;
    margin-top: -10px;
    color: #fff !important;     /* Белый текст */
}

/* Опционально: эффект при наведении */
.menu-row.middle-block .mega-menu table td.green .wrap > a:hover > div {
    background: #43A047;        /* Чуть темнее при наведении */
}

@media (max-width: 1280px) {
    .fancy-product-list-gallery {
        display: flex;
    }
    
    .segment-slider {
        display: none;
    }
}
@media (max-width: 990px) {
    a[href="/uspey_kupit/"] span {
    background: #4CAF50 !important;
    border: 1px solid #4CAF50 !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 8px 15px;
    display: inline-block;
    }
    a[href="/aktsiya/"] span {
    background: #f00 !important;
    border: 1px solid #f00 !important;
    color: #fff !important;
    border-radius: 4px;
    padding: 8px 15px;
    display: inline-block;
    }
}
@media (max-width: 500px) {
    .fancy-product-list-gallery {
        height: 155px;
    }
    
    .f-carousel.fancy-product-gallery .f-button.is-arrow {
        display: none;
    }
}
.mobile_regions.gl span {
    padding-left: 35px;
    padding-right: 35px;
    margin: 35px 0 0 0;
    font-size: 1.866em;
    line-height: 28px;
    font-weight: bold;
    color: #383838;
}
@media (max-width: 600px) {
    .mobile_regions.gl span {
        padding-left: 15px;
        padding-right: 15px;
        margin: 20px 0 0 0;
        font-size: 1.866em;
        line-height: 28px;
        font-weight: bold;
        color: #383838;
    }
}

.breadcrumbs a {
    text-decoration: none;
    display: inline-block;
}
body .ajax_load.block .view_sale_block {
    margin: 0 auto;
    width: fit-content;
}
.right_block ul li:before, .right_block ol li:before {
    display: none;
}
.image_wrapper_block, .image_wrapper_block a {   
    height: 200px;
}
.module-pagination .nums {
    font-size: 16px;
}
.module-pagination .flex-direction-nav .flex-nav-prev {
    position: absolute;
}
.module-pagination .flex-direction-nav .flex-nav-next {
    position: absolute;
}
@media (max-width: 500px) {
    .fancy-product-list-gallery {
        height: 200px;
    }
    .wrapper_inner .catalog_block .image_wrapper_block {
        margin: 20px;
    }
}
.stickers .sticker_belye_nochi {
background-color: #fff;
color: #000;
border: 1px solid #000;
}

.info_item .middle_info .prices .discount * {
    margin-top: 0;
}