/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* Чорний текст у кастомному select, в т.ч. блок доставки Нова Пошта
   Підходить тільки для світлого фону */
.zen-ui-select__value-text,
.zen-ui-select__option {
    color: #000;
}

/* Кнопка "Обрати" = як "Купити в 1 клік"*/

.box-text-products .add-to-cart-button a.button {
    display: block;
    width: 100%;
    box-sizing: border-box;

    /* КЛЮЧ */
    padding: 0 15px;
    height: 32px;
    line-height: 32px;

    text-align: center;
}

/* Картка товару – кнопка "У кошик" зеленого кольору*/

.single-product .single_add_to_cart_button:not(.clickBuyButton) {
    background-color: #1F3D2B;
    border-color: #1F3D2B;
    color: #fff;
}

.single-product .single_add_to_cart_button:not(.clickBuyButton):hover {
    background-color: #172E21;
    border-color: #172E21;
}

/* Кнопка "Купити в 1 клік" у блоці Upsell – опустити нижче */

.product-template-default .box-text .single_add_to_cart_button.clickBuyButton {
    margin-top: 10px !important;
}

/* Кнопка закриття popup швидкого замовлення */

html > body > #formOrderOneClick .popup .close_order {
    display: block;
    width: 2.6em !important;
    height: 2em;
    position: absolute;
    padding: 2px;
    top: 3px !important;
    right: 5px !important;
    cursor: pointer;
    color: #030303;
    -webkit-border-radius: 10%;
    -moz-border-radius: 10%;
    -o-border-radius: 10%;
    -ms-border-radius: 10%;
    border-radius: 10%;
    text-align: center;
    z-index: 999;
}

/* Десктопний міні-кошик: рамка навколо блоку - / qty / + */
@media (min-width: 850px) {
    .nav-dropdown .ux-mini-cart-qty .ux-quantity.quantity.buttons_added {
        display: inline-flex;
        align-items: center;
        border: 1px solid #393939;
        border-radius: 0;
        overflow: hidden;
        background: transparent;
    }

    .nav-dropdown .ux-mini-cart-qty .ux-quantity.quantity.buttons_added .input-text.qty,
    .nav-dropdown .ux-mini-cart-qty .ux-quantity.quantity.buttons_added .ux-quantity__button {
        border: 0;
        background: transparent;
        box-shadow: none;
    }
}

/* =========================
   Посилання в контентних зонах
   ========================= */

/* Колір посилань у контенті */
.page-wrapper a,
.product-short-description a,
.entry-content a {
    text-decoration: underline;
    color: #B8833B;
}

/* Hover / active для посилань у контенті */
.page-wrapper a:active,
.page-wrapper a:hover,
.product-short-description a:active,
.product-short-description a:hover,
.entry-content a:active,
.entry-content a:hover {
    text-decoration: none;
    color: #B8833B;
}

/* =========================
   Mobile fixes
   ========================= */

    /* Ringostat на мобільному ховаємо під меню */
@media (max-width: 849px) {
    .rngst_phone_button,
    .dropbtn {
        z-index: 1 !important;
    }

    .mobile-sidebar,
    .mfp-wrap,
    .mfp-bg {
        z-index: 999999 !important;
    }
}

@media (max-width: 849px) {
    /* Позиція кнопки Ringostat на мобільному */
    .rngst_phone_button {
        bottom: 25px !important;
        right: -36px !important;
    }
}

.page-id-4758 .nsl-container {
    margin-bottom: 20px;
}

/* FIX: компактна доставка + правильне вирівнювання */

.shipping.shipping--boxed .shipping__list_item {
    padding: 2px 0 !important;
    min-height: auto !important;
    margin-bottom: 4px !important;
    background: transparent !important;
    border: none !important;
}

/* вирівнювання вправо */
.shop_table .shipping__list_item,
.woocommerce-checkout-review-order-table .shipping__list_item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 6px;
}

/* текст */
.shipping__list_label {
    margin: 0 !important;
    line-height: 1.2 !important;
    text-align: right;
}

/* радіо */
.shipping_method {
    margin: 0 !important;
}