/* MAIN */
:root {
    --up-bg-main: #f9f9f9!important;
}
html {
    scroll-behavior: smooth;
    /* если есть липкий хедер, добавь отступ: */
    scroll-padding-top: 72px;        /* подстрой высоту */
}
body {
    font-size: 16px;
    line-height: 24px;
}
.h1, h1 {
    font-size: 22px;
}
.h2, h2 {
    font-size: 20px;
}
.h3, h3 {
    font-size: 18px;
}
.h4, h4 {
    font-size: 16px;
}
hr {width: 100%;}
.btn-primary {
    color: var(--up-color-mod-add-to-cart);
    background: var(--up-bg-mod-add-to-cart);
    border: 1px solid var(--up-bc-mod-add-to-cart);
}
.btn-primary:hover, .btn-primary:active {
    color: var(--up-color-mod-add-to-cart-hover) !important;
    background-color: var(--up-bg-mod-add-to-cart-hover) !important;
    border: 1px solid var(--up-bc-mod-add-to-cart-hover) !important;
}
#menu-vertical .cat-label {
    top: 15px!important;
}
.up-header .btn-open-contact, .up-header .btn-open-search,
.box-account .btn-account,
.btn-wishlist-top, .btn-compare-top,
#cart > .btn,
#login-popup, #wishlist-total i,
.btn-open-contact i, .btn-open-search i,
.up-header__btn-mobile-menu i,
.btn-search i, .header-search .categories i,
.light-theme .up-header-phones__top {
    color: var(--up-border-color-menu-hover);
}
@media (min-width:767px) {
    .up-icon-cart {color: #fff;}
}
@media (max-width:767px) {#cart i {color: var(--up-border-color-menu-hover)!important;}}
#login-popup:hover, #wishlist-total:hover {background-color: var(--up-bg-pp-wishlist-hover);}
.opc-loader-circle::before,
.opc-loader-circle::after,
.switch input:checked + .slider {
    border-top-color: #ffffff !important;
}
.switch input:focus + .slider {
    box-shadow: 0 0 1px #5f6a52!important;
}
.smsclub-enroute {
    background: #5f6a52!important;
}
.opc-loader-circle::after {
    border-bottom-color: #cec5b7!important;
}
#demoBasic, #demoBasic2 {display: none;}
.feedback_widget_button, #fm-fixed-mobile-bottom.fm_type_design_bottom_2, #fm-fixed-mobile-bottom.fm_type_design_bottom_3 {
    background-color:var(--up-bg-btn-primary)!important;
}
.light-theme .swiper-scrollbar-drag {
    background: #d6cbc7;
}
.light-theme .product-thumb .product-name a:hover, .light-theme .subcategory:hover .sc-name {
    color: var(--up-color-link);
}
.light-theme .btn-general.is-active {
    background: #9DAE9C !important;
}
.checkbox-input[type="radio"]:checked, .chm-radio label input[type="radio"]:checked {
    background-color: var(--up-bg-mod-dop-btn-hover)!important;
    border-color: var(--up-border-color-menu)!important;
}



/* HOME */
.type-btn-stories.light a, .type-btn-stories.dark a {
    height: auto!important;
    line-height: 22px!important;
    padding: 5px 15px!important;
}
.type-btn-stories.dark a {
    background-color: rgb(0 0 0 / 50%)!important;
    color: #ffffff!important;
}
.articles__title a:hover,
.module-articles__title a:hover {
    color: var(--up-color-link);
}
/* Slider */
.megasliderpro__content-title, .megasliderpro__content-price,
.small-slider__content-title, .small-slider__content-price {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.5rem;
}
.megasliderpro__content-price, .small-slider__content-price {
    padding: 0.5rem;
    border-radius: 12px;
}
.megasliderpro__content-price {
    left: 25px!important;
    top: 15px;
    bottom: initial !important;
}
.megasliderpro__content-title {
    top: initial !important;
    left: 25px !important;
    bottom: 15px;
    padding: 1rem;
    border-radius: 12px;
}
.small-slider__content-title {
    top: 0!important;
    left: 0!important;
    width: 100%;
}
.small-slider__content-price {
    left: 25px !important;
    bottom: 15px !important;
}
.megasliderpro__title {
    font-weight: 500!important;
}
.megasliderpro__sub-title {
	font-weight: 400!important;
}
@media (min-width: 992px) {
    .megasliderpro__sub-title {
        font-size: 26px!important;
    }
}

/* CATALOG */
.product-thumb .price {
    min-height: 25px;
    flex-direction: row;
}
.product-thumb .price-new {
    margin-left: 1em;
}
.light-theme .btn-general.is-active:focus, .light-theme .btn-general.is-active:hover, .light-theme .btn-general.is-active:active {
    background-color: #9DAE9C !important;
}
.container-module .product-thumb .cart, .product-grid .product-thumb .cart {margin-bottom: 15px;}
.mod-categories .mc-item.is-active-item > span > a, .mod-categories .mc-child-item.is-active-item > span > a, .mod-categories .mc-child-item.is-active-item > .mc-children > .mc-child-item.is-active-item > a {
    color: var(--up-color-link)!important;
}
.ocf-noUi-connect:before, .ocf-noUi-handle {
    background-color: var(--up-bg-btn-primary)!important;
}
.light-theme .product-thumb .image, .subcategory.bg_item .sc-image, .subcategory.bg_image .sc-image {
    padding: 0;
}
@media (max-width: 767px) {
    .ocf-page-list-top .ocf-category-page-list {
        max-height: 150px;!important;
    }
}
.product-thumb .product-name {
    margin-bottom: 0px!important;
}
.product-thumb__attribute {
    margin: 0 0 10px;
    font-size: .95em;
    word-wrap: break-word;
}
.product-thumb__attribute span {
    display: block;
    text-align: center;
    color: #788a57;
    position: relative;
    padding: 3px 3px 8px;
}
.product-thumb__attribute span:after {
    content: '';
    width: 30px;
    height: 2px;
    display: block;
    margin: 0 auto 0;
    background: var(--up-bg-btn-primary);
}
@media (max-width: 767px) {
    .ocf-btn-mobile-fixed .ocf-btn {
        background-color: var(--up-color-status-in-stock)!important;
    }
}
.sticker-ns.jan {
    color: #ffffff;
    background: #85756fd9;
}

/* затенение для товаров, которых нет в наличии */
.product-thumb:has(button.btn-general[disabled]) {
    position: relative;
}

/* Светлый полупрозрачный слой */
.product-thumb:has(button.btn-general[disabled])::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3); /* белый оверлей с ~60% непрозрачности */
    pointer-events: none;
}

/* Черно-белый и размытый контент */
.product-thumb:has(button.btn-general[disabled]) {
    filter: grayscale(80%);
}
.product-thumb:has(.btn-general[disabled]) .stickers-ns { display: none !important; } /* Скрыть стикеры когда кнопка отключена (например, “Продано”) */
/* END затенение для товаров, которых нет в наличии */


/* PRODUCT */
/* Start Product page -> menu */
.light-theme .tab-white-bg {
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(27px) saturate(106%);
    background: rgb(255 255 255 / 0%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 10px;
}
@media (max-width: 991px) {
    .light-theme .tab-white-bg {
        background: rgb(255 255 255 / 0.067);

    }
}
.tabs__header {
    filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.28));
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
}
.tabs__header .nav-tabs .tabs__active_line {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transition: background 0.2s, transform 0.2s;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.067);
}
.tabs__header__scroll {
    padding-bottom: 0px;
}
.my-tabs {
    background: none;
    border-radius: 0px;
}

.tabs__header.active-tab-sticky:before, .light-theme .tabs__header.tabs_top.active-tab-sticky:before {
    background: none;
    box-shadow: none;
}

/* END Product page -> menu */

#popup-quickview .quantity-adder .add-action, #product .quantity-adder .add-action { width: 20px;}
#product .text_short_description {
    font-size: 1em;
}
#product div.short-attribute > .attr-text {
    max-width: 100%; !important;
    text-align: left !important;
}
@media (max-width: 992px) {
    #fm-fixed-mobile-bottom:not(.fm_type_design_bottom_3) .btn-go-home .up-icon-home,
    #fm-fixed-mobile-bottom:not(.fm_type_design_bottom_3) .btn-go-home .text-a-icon,
    #fm-fixed-mobile-bottom .icon-chats, #fm-fixed-mobile-bottom .icon-close-chats,
    #fm-fixed-mobile-bottom .text-a-icon,
    #fm-fixed-mobile-bottom .btn-fm-bottom [class^="up-icon-"] {
        color: #FFFFFF;
    }
}
.container-module .product-description {
    height: 68px;
}
.product-timer {
    border: none!important;
}
.info-manufacturer a {
    color: var(--up-color-link);
}
#product .btn-wishlist, #popup-quickview .btn-wishlist {
    background-color: var(--up-bg-main)!important;
}
#product .btn-wishlist:hover, #popup-quickview .btn-wishlist:hover {
    background-color: var(--up-bg-pp-wishlist-hover)!important;
}
@media (max-width:991px) {
    .product-delivery {
        margin-top: 30px;
    }
}

/* NEWS PAGE */
.image-atricle img, .description-article img {
    max-width: 35%!important;
    float: left;
    margin: 0 10px 10px 0!important;
    border-radius: 10px;
}
@media (max-width:768px) {
    .image-atricle img, .description-article img {
        max-width: 100%!important;
        width:100%!important;
    }
}
.image-atricle img, .description-article img,
.description-article p:has(img),
.description-article h2:has(img),
.description-article h3:has(img),
.description-article h4:has(img),
.description-article li {
    clear: both;
}
.info-article {
    clear: both;
}
/* Скрыть "поделиться в статьях" */
.a2a_kit.a2a_kit_size_32.a2a_default_style {
    display: none!important;
}

/* CART */
/* Страница checkout/cart, скрыть блок с расчетом стоимости доставки (возможно в будущем пригодится для списания ББ */
.checkout-cart-accordion#accordion{display: none;}

/* CHECKOUT */
#opc-shipping-address .form-group:has(> #input-payment-zone) {
    display: none;
}
.checkout-address-info-container {
    margin: 0.5em 0 0.5em 2em;
}
#onepcheckout .form-group .opc-text-error {
    position: relative!important;
    top: 0!important;
}

.prmn-cmngr-cities__search-item_selected {
    background-color: #aea4a0!important;
    background-image: linear-gradient(to bottom, #cbbfba, #aea4a0)!important;
}

/* ACCOUNT */
.ch-alert-success, .ch-alert-danger, .option-danger {
    max-height: none;
    height: inherit;
}
.compare-product__name a:hover {color: var(--up-color-link);}
.chm-account-button {
    background: var(--up-border-color-menu-hover);
}
.chm-btn-outline-primary {
    background: transparent;
    border: 1px solid var(--up-color-mod-dop-btn);
    color: var(--up-color-mod-dop-btn);
}
.chm-btn-outline-primary:hover {
    background: var(--up-bg-btn-primary-hover);
    border: 1px solid var(--up-color-mod-dop-btn);
    color: var(--up-color-btn-primary);
}
.chm-list-group-item.active::before {background: var(--bestseller-bg-color)!important;}

/* Start CART — разделение сохранённой и гостевой корзины */
.cart-group-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    padding: 10px 0 6px;
    border-top: 1px solid var(--up-gray-color-1, #eee);
    margin-top: 4px;
}
.cart-group-label:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}
.cart-group-label--new {
    color: #14854c;
}
.cart-item--from-guest {
    position: relative;
}
/* END CART — разделение сохранённой и гостевой корзины */

/* HEADER */


/* FOOTER */
.description_store_footer {
    padding-bottom: 0px!important;
}
.copyright__payments {
    padding-top: 0px;
}
footer .ch-socials i, footer .ch-socials img {
    width: 19px;
    font-size: 20px;
}
footer .ch-socials .fa-instagram {
    color: #fd00af;
}
footer .ch-socials .fa-youtube-play {
    color: #ff0133;
}
footer .newsletter-info, .footer-top {
    display: none!important;
}

