.simplecheckout-cart-total {
    background: rgb(255 255 255) !important;
}

.simple-content .table-responsive>table,
.simplecheckout-cart {
    background: rgb(255 255 255) !important;
}

.simplecheckout-block-content {
    background: rgb(255 255 255) !important;
}

.simple-content .checkbox input[type=checkbox],
.simple-content .checkbox-inline input[type=checkbox],
.simple-content .radio input[type=radio],
.simple-content .radio-inline input[type=radio] {
    position: relative;
}

#content {
    padding-top: 20px;
}


/* кнопки в корзине начало */

#simplecheckout_shipping .radio,
#simplecheckout_payment .radio {
    width: auto;
    /*width: 200px;*/
    text-align: center;
    height: 37px;
    line-height: 25px;
    margin-bottom: 10px;
}

.radio {
    margin-right: 10px;
    /*  width: 325px;*/
    text-align: center;
}


/*.radio-checkout-button-shipping {
  width: 350px;
}
.radio-checkout-button-payment {
 width: 315px;
}*/

input[type=radio] {
    display: none !important;
} 
.simplecheckout-button-right {
    display: none !important;
}

.section-shipping .radio label span {
    /* width: 100%; */
    text-align: left;
}

/* кнопки да и нет начало */
/* Стили для родительского контейнера радиокнопки */
.simplecheckout-block-content .radio label {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    margin-right: 5px;
    min-width: 50px;
}

/* Стиль для ВЫБРАННОЙ радиокнопки (когда input внутри отмечен) */
.simplecheckout-block-content .radio label:has(input:checked) {
    background-color: #6a9d04; /* Зеленый цвет */
    color: white;
    border-color: #6a9d04;
}

/* Скрываем стандартный кружочек (опционально, если хотите вид кнопок) */
.simplecheckout-block-content .radio input[type="radio"] {
    margin-right: 10px;
}

.row-customer_register .radio {
    margin-bottom: 10px;
}

.form-group label.control-label {
    display: flex !important;
    align-items: center; /* Центрирует звездочку по высоте текста */
    flex-wrap: nowrap;   /* Запрещает перенос на новую строку */
}

.form-group label.control-label::after {
    display: inline-block !important;
    margin-left: 5px;    /* Отступ звездочки от текста */
   /* content: "*";   */     /* Если вдруг контент пропадает */
}
/* кнопки да и нет конец */

#simplecheckout_shipping label,
#simplecheckout_payment label {
    display: inline-block;
    cursor: pointer;
    padding: 0px 15px;
    line-height: 34px;
    border: 1px solid #999;
    border-radius: 6px;
    user-select: none;
}


/* Checked */

#simplecheckout_shipping input[type=radio]:checked+label,
#simplecheckout_payment input[type=radio]:checked+label {
    background: #699d04;
    color: white;
}


/* Hover */

#simplecheckout_shipping label:hover {
    color: #666;
}


/* Disabled */

#simplecheckout_shipping input[type=radio]:disabled+label {
    background: #efefef;
    color: #111;
}


/* кнопки в корзине конец */

@media only screen and (max-width: 640px) {
    .simplecheckout-cart col.price,
    .simplecheckout-cart th.price,
    .simplecheckout-cart td.price {
        display: none !important;
    }
}


/* карточка товара начало */

.product-info .product-manufacturer.brand-image a {
    align-self: center;
}


/* карточка товара конец */

.image-card>span {
    display: none;
}


/* кнопка избранное к категориях на товарах */

.btn-wishlist-card-product {
    position: absolute;
    z-index: 999;
    right: 0;
    color: rgba(106, 157, 4, 1);
    background: none !important;
}


/* кнопка избранное к категориях на товарах */


/* положение бесплатной доставки начало */

.product-info .product-details>div {
    order: 2;
}
.product-info .button-group-page .btn-cart.btn {
    max-width: 100vh !important;
    max-height: 300px;
}

/* положение бесплатной доставки конец */


/*склады в карточке товара начало */

.warehouse {
    display: grid;
    grid-template-columns: repeat(3, 33%);
    row-gap: 50px;
}

@media only screen and (max-width: 1024px) {
    .warehouse {
        display: grid;
        grid-template-columns: 100%;
        row-gap: 50px;
    }
}


/*склады в карточке товара конец*/


/* бонусы  в карточке товара начало */

.product-reward-top {
    background: #6a9d04;
    width: fit-content;
    padding: 5px 15px;
    color: white;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-reward-top-label {
    background: #6a9d04;
    width: fit-content;
    padding: 5px 15px;
    color: white;
    border-radius: 4px;
    margin-bottom: 15px;
    z-index: 999999;
    position: absolute;
    top: 5%;
    left: 5%;
}


/* бонусы в карточке товара конец */


/* оформление заказа начало  */

.simple-content .buttons {
    padding: 25px 0;
}

.simplecheckout-cart-total {
    border-top: 1px solid #DDDDDD !important;
}

#agreement_checkbox {
    display: block !important;
    margin-right: 20px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0;
}

.buttons>div {
    margin: 0;
    padding: 0;
    width: -webkit-fill-available !important;
}

.register-grid {
    display: grid;
    grid-template-columns: 50% 50%;
}

.register-label {
    padding-left: 0 !important;
}

.cart_register {
    cursor: pointer;
    padding: 5px 15px;
    line-height: 34px;
    border: 1px solid #999;
    border-radius: 6px;
    user-select: none;
}

#simplecheckout_customer input[type=radio]:checked+span {
    background: #699d04;
    color: white;
}


/* оформление заказа конец  */

/* правки начало */

@media (max-width: 780px) {
#simplecheckout_shipping .radio, #simplecheckout_payment .radio {
    width: 100%;
    /* width: 200px; */
    text-align: center;
    height: 44px;
    line-height: 25px;
    margin-bottom: 10px;
    padding: 0;
}
#simplecheckout_shipping label, #simplecheckout_payment label {
    width: 100%;
}
#simplecheckout_button_cart {
width: 100%
}
  
.simplecheckout-cart-total span.inputs {
    margin: 0 3px 0 0 !important;
    display: inline-block !important;
    width: 100%;
}
.simplecheckout-cart-total span.inputs input[type=text] {
    margin: 0px;
    min-width: 225px !important;
}
.cart_register {
    cursor: pointer;
    padding: 10px 50px;
    line-height: 34px;
    border: 1px solid #999;
    border-radius: 6px;
    user-select: none;
    width: 100px;
    height: 50px;
    font-size: 18px;
    /* color: rgba(255, 255, 255, 1); */
    font-weight: 400;
    text-transform: uppercase;
    /* margin-top: 10px; */
}
    .simplecheckout-cart col.price, .simplecheckout-cart th.price, .simplecheckout-cart td.price {
        display: none !important;
    }
.register-grid {
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 15px auto;
}
#simplecheckout_shipping label, #simplecheckout_payment label {
display: inline-block;
        cursor: pointer;
        padding: 0px 15px;
        line-height: 42px;
        border: 1px solid #999;
        border-radius: 6px;
        user-select: none;
        font-size: 17px;
        /* color: rgba(255, 255, 255, 1); */
        font-weight: 400;
        text-transform: uppercase;
        height: 44px;
}
.simplecheckout-block-content {
    padding: 10px 5px !important;;
}
.mobile input:not([type=button]):not([type=submit]), .mobile textarea {
    font-size: 16px !important;
    height: 44px;
}
.simplecheckout-cart td.total {
    text-align: right;
    white-space: nowrap;
    display: table-cell !important;
    margin-top: 15px;
    padding-top: 20px !important;
    color: black;
}
}
.name a{
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.main-products.product-grid .product-thumb .btn-wishlist.btn {
    width: 100%;
    justify-content: end;
}
 .product-grid .product-thumb .btn-wishlist.btn {
    background: none;
    border-style: none;
    padding: 3px;
    box-shadow: none;
    width: 100%;
    justify-content: end;
}
.checkout-same-address,
.checkout-payment-details {
display: none;
}
.image-card {
    justify-content: center;
}
@media (max-width: 780px) {
.main-products-style.product-grid .product-thumb .stats-group {
    display: none;
}
}

/*.site-wrapper {
    max-width: 1920px;
    margin: auto;
}*/

.route-product-manufacturer #content a img {
    display: block;
}

/* фильтр */
.title {
text-align: left !important;
}
/*фильтр*/

/* фильтр */

/* ============================================
   МОБИЛЬНЫЙ ФИЛЬТР - ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ
   Блоки закрыты по умолчанию
   ============================================ */

@media (max-width: 768px) {
    
    /* --- 1. КОНТЕЙНЕР ФИЛЬТРА --- */
    #fv_module.fv-mobile-left .fv-body {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: 10px !important;
        padding: 8px 6px 16px 6px !important;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    #fv_module.fv-mobile-left .fv-body::-webkit-scrollbar {
        display: none;
    }

    /* --- 2. КАРТОЧКИ БЛОКОВ --- */
    #fv_module.fv-mobile-left .fv-items {
        flex: 0 0 auto !important;
        min-width: 170px !important;
        max-width: 220px !important;
        width: auto !important;
        background: #f8f9fa !important;
        border-radius: 14px !important;
        border: 1px solid #e8eaed !important;
        scroll-snap-align: start;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
        position: relative !important;
        user-select: none !important;
    }

    /* --- 3. ЗАГОЛОВОК БЛОКА --- */
    #fv_module.fv-mobile-left .fv-items .fv-items_title {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        pointer-events: none !important;
    }

    #fv_module.fv-mobile-left .fv-items .fv-items_head {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 16px !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        color: #1a1a1a !important;
        background: transparent !important;
        border: none !important;
        border-radius: 14px 14px 0 0 !important;
        pointer-events: none !important;
        margin: 0 !important;
        gap: 6px !important;
    }

    #fv_module.fv-mobile-left .fv-items .fv-items_name {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        flex: 1 !important;
    }

    /* --- 4. СТРЕЛКА-ИНДИКАТОР --- */
    #fv_module.fv-mobile-left .fv-items .fv-items_head::after {
        content: "▾" !important;
        font-size: 12px !important;
        color: #bbb !important;
        transition: transform 0.3s ease !important;
        flex-shrink: 0 !important;
        display: inline-block !important;
    }

    /* Стрелка вверх, когда блок открыт */
    #fv_module.fv-mobile-left .fv-items.fv-active .fv-items_head::after {
        transform: rotate(180deg) !important;
        color: #6a9d04 !important;
    }

    /* --- 5. СКРЫВАЕМ СТАНДАРТНЫЕ ИКОНКИ --- */
    #fv_module.fv-mobile-left .fv-items .fv-icon_items,
    #fv_module.fv-mobile-left .fv-items .fv-icon_items_action {
        display: none !important;
    }

    #fv_module.fv-mobile-left .fv-items .fv_clear_filter {
        display: none !important;
    }

    /* --- 6. СОДЕРЖИМОЕ БЛОКА (СКРЫТО) --- */
    #fv_module.fv-mobile-left .fv-items .fv-items_list {
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        padding: 0 16px !important;
        margin: 0 !important;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.25s ease,
                    padding 0.3s ease !important;
        display: block !important;
        visibility: visible !important;
        pointer-events: none !important;
    }

    /* Содержимое открыто */
    #fv_module.fv-mobile-left .fv-items.fv-active .fv-items_list {
        max-height: 280px !important;
        opacity: 1 !important;
        padding: 0 16px 16px 16px !important;
        overflow-y: auto !important;
        pointer-events: auto !important;
    }

    /* --- 7. СТИЛИ ДЛЯ ЭЛЕМЕНТОВ ВНУТРИ БЛОКА --- */
    #fv_module.fv-mobile-left .fv-items_list_body {
        padding: 0 !important;
        margin: 0 !important;
    }

    #fv_module.fv-mobile-left .fv-item_body {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        padding: 0 !important;
    }

    #fv_module.fv-mobile-left .fv-box_item {
        padding: 0 !important;
        margin: 0 !important;
    }

    #fv_module.fv-mobile-left .fv-item_label {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 6px 0 !important;
        font-size: 13px !important;
        color: #333 !important;
        cursor: pointer !important;
        transition: color 0.15s ease !important;
        border: none !important;
        background: transparent !important;
    }

    /* Кастомный чекбокс */
    #fv_module.fv-mobile-left .fv-checkbox {
        flex-shrink: 0 !important;
        width: 18px !important;
        height: 18px !important;
        border: 2px solid #d0d0d0 !important;
        border-radius: 4px !important;
        background: #ffffff !important;
        transition: all 0.2s ease !important;
        position: relative !important;
        display: inline-block !important;
    }

    /* Состояние "выбрано" */
    #fv_module.fv-mobile-left .fv-item_label.fv-active .fv-checkbox {
        background: #6a9d04 !important;
        border-color: #6a9d04 !important;
    }

    #fv_module.fv-mobile-left .fv-item_label.fv-active .fv-checkbox::after {
        content: "✓" !important;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        color: #fff !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    #fv_module.fv-mobile-left .fv-item_text {
        font-size: 13px !important;
        color: #333 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    #fv_module.fv-mobile-left .fv-item_label.fv-active .fv-item_text {
        color: #6a9d04 !important;
    }

    /* --- 8. БЛОК "ЦЕНА" --- */
    #fv_module.fv-mobile-left .fv-item_slider {
        min-width: 170px !important;
    }

    #fv_module.fv-mobile-left .fv-box_input_slider {
        display: flex !important;
        align-items: center !important;
        gap: 4px !important;
        padding: 4px 0 8px 0 !important;
    }

    #fv_module.fv-mobile-left .fv-box_input_slider .fv-flex_cell {
        flex: 1 !important;
        min-width: 0 !important;
    }

    #fv_module.fv-mobile-left .fv-input_slider {
        width: 100% !important;
        padding: 6px 4px !important;
        border: 1.5px solid #ddd !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        text-align: center !important;
        background: #fff !important;
        outline: none !important;
        transition: border-color 0.2s ease !important;
        min-width: 50px !important;
    }

    #fv_module.fv-mobile-left .fv-input_slider:focus {
        border-color: #6a9d04 !important;
    }

    #fv_module.fv-mobile-left .fv-symbol_separat {
        color: #999 !important;
        font-size: 14px !important;
        padding: 0 2px !important;
        flex: 0 0 auto !important;
    }

    #fv_module.fv-mobile-left .fv-symbol_currenc {
        display: none !important;
    }

    #fv_module.fv-mobile-left .fv-box_grid_slider {
        display: none !important;
    }

    /* --- 9. СКРЫВАЕМ ЛИШНИЕ ЭЛЕМЕНТЫ --- */
    #fv_module.fv-mobile-left .fv-box_list_more_switch {
        display: none !important;
    }

    #fv_module.fv-mobile-left .fv-load_block {
        display: none !important;
    }

    #fv_module.fv-mobile-left .fv-footer {
        display: none !important;
    }

    /* --- 10. АКТИВНЫЙ БЛОК (ПОДСВЕТКА) --- */
    #fv_module.fv-mobile-left .fv-items.fv-active {
        border-color: #6a9d04 !important;
        box-shadow: 0 2px 12px rgba(74, 144, 217, 0.15) !important;
    }

    /* --- 11. КОМПАКТНОЕ ОТОБРАЖЕНИЕ --- */
    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_2"] .fv-items_list_body {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px 6px !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_2"] .fv-box_item {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_2"] .fv-item_label {
        padding: 3px 0 !important;
        white-space: nowrap !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="manufs_1"] .fv-item_body {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 2px 6px !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="manufs_1"] .fv-box_item {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="manufs_1"] .fv-item_label {
        padding: 3px 0 !important;
        white-space: nowrap !important;
    }

    /* Размеры - в виде кнопок */
    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_1"] .fv-item_body {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_1"] .fv-box_item {
        flex: 0 0 auto !important;
        width: auto !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_1"] .fv-item_label {
        padding: 4px 8px !important;
        font-size: 12px !important;
        background: #f0f0f0 !important;
        border-radius: 6px !important;
        white-space: nowrap !important;
        gap: 0 !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_1"] .fv-checkbox {
        display: none !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_1"] .fv-item_label.fv-active {
        background: #6a9d04 !important;
        color: #fff !important;
    }

    #fv_module.fv-mobile-left .fv-items[data-block_items="optv_1"] .fv-item_label.fv-active .fv-item_text {
        color: #fff !important;
    }

    /* --- 12. ПОДСКАЗКА --- */
 /*   #fv_module.fv-mobile-left .fv-body::before {
        content: "← Листайте →";
        position: sticky;
        left: 0;
        top: -4px;
        z-index: 5;
        display: block;
        font-size: 10px;
        color: #bbb;
        text-align: center;
        padding: 2px 0 6px 0;
        background: transparent;
        letter-spacing: 0.5px;
        width: 100%;
        animation: filterHintPulse 2.5s ease-in-out infinite;
        pointer-events: none;
    }*/
  
      .fv-item_label .fv-checkbox:before {
        display:none;
    }

    @keyframes filterHintPulse {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }

    #fv_module.fv-mobile-left .fv-body:active::before {
        opacity: 0 !important;
        animation: none !important;
        transition: opacity 0.5s ease !important;
    }

    @media (max-width: 420px) {
        #fv_module.fv-mobile-left .fv-items {
            min-width: 145px !important;
            max-width: 185px !important;
        }

        #fv_module.fv-mobile-left .fv-items .fv-items_head {
            padding: 10px 12px !important;
            font-size: 13px !important;
        }

        #fv_module.fv-mobile-left .fv-items .fv-items_name {
            font-size: 13px !important;
        }

        #fv_module.fv-mobile-left .fv-item_label {
            font-size: 12px !important;
            padding: 5px 0 !important;
        }

        #fv_module.fv-mobile-left .fv-item_text {
            font-size: 12px !important;
        }

        #fv_module.fv-mobile-left .fv-checkbox {
            width: 16px !important;
            height: 16px !important;
        }

        #fv_module.fv-mobile-left .fv-input_slider {
            font-size: 12px !important;
            padding: 4px 2px !important;
            min-width: 40px !important;
        }
    }
  .fv-item_label.fv-item_action .fv-checkbox:after {
    color: #383838;
    top: 1px;
    content: "";
    display: inline-block;
    position: absolute;
    border-bottom: 2px solid;
    border-right: 2px solid;
    transform-origin: center bottom;
    transform: rotateZ(45deg);
    margin: auto;
    left: 0.1em;
    top: 0;
    width: 0.4em;
    height: 0.8em;
}
  .refine-categories {
    order: initial;
    display: none;
}
  .fv-button_slider.fv-item_ignore, .fv-item_ignore:not(.fv-items):not(.fv-item_slider) {
    cursor: default;
    opacity: 0.1 !important;
    margin-top: 15px;
}
}
