/*
Theme Name: Chromium Theme Child
Theme URI: http://chromium.themes.zone
Author: Themes Zone
Author URI: http://themes.zone
Description: Multi purpose Theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: child-theme
Text Domain: chromium-child
Template: chromium
*/

/* Add your custom CSS below */

.sc-dropdown-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    top: -8px;
}

        .nm-main-social {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nm-main-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.2s;
            width: 24px;
            height: 24px;
        }

        .nm-main-social a svg {
            width: 24px;
            height: 24px;
        }

        .nm-main-social a:hover {
            transform: scale(1.1);
        }

        .sc-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 18px;
            border: none;
            cursor: pointer;
            font-weight: 600;
            font-size: 16px;
            color: #000;
            transition: background 0.3s;
            top: 0px;
            position: relative;
            text-align: left;
        }

        .chromium-icon-telephone-call-receiver {
            transform: rotate(90deg);
            font-size: 18px;
        }

        .sc-dropdown-box:hover .sc-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .sc-dropdown-inner {
            background: #fff;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            text-align: left;
        }

        .sc-dropdown-inner-title {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            font-weight: 500;
            color: #333;
            text-align: left;
        }

        .sc-dropdown-inner-title i {
            width: 24px;
            margin-right: 8px;
            font-size: 20px;
        }

        .schedule-info {
            margin-bottom: 20px;
            text-align: left;
        }

        .schedule-info ul {
            list-style: none;
            padding-left: 0;
            margin-top: 8px;
            text-align: left;
        }

        .schedule-info li {
            font-size: 14px;
            color: #666;
            margin-bottom: 4px;
        }

        .contact-section {
            margin-bottom: 16px;
            text-align: left;
        }

        .contact-section h5 {
            font-weight: 500;
            font-size: 14px;
            margin-bottom: 8px;
            color: #333;
        }

        .contact-section ul {
            list-style: none;
            padding-left: 0;
        }

        .contact-section li {
            margin-bottom: 6px;
            font-size: 14px;
        }

        .contact-section a {
            color: #2196F3;
            text-decoration: none;
            transition: color 0.2s;
        }

        .contact-section a:hover {
            color: #1976D2;
            text-decoration: underline;
        }

        .contact-section .name {
            font-size: 12px;
            font-weight: 500;
            color: #666;
        }

        .sc-btn {
            display: block;
            width: 100%;
            padding: 12px;
            background: #2196F3;
            color: #fff;
            text-align: center;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            margin-top: 16px;
            transition: background 0.3s;
        }

        .sc-btn:hover {
            background: #1976D2;
        }

        /* FLEX POSITIONING */
.sc-dropdown-box {
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .sc-dropdown-toggle {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 4px 18px 0 24px;
            border: none;
            cursor: pointer;
            font-weight: 700;
            font-size: 18px;
            color: #000;
            transition: background 0.3s;
        }

        .chromium-icon-telephone-call-receiver {
            font-size: 26px;
            display: inline-block;
            margin-right: 8px;
        }

        /* Icons always visible */
        .nm-main-social {
            display: flex;
            align-items: center;
            gap: 14px;
        }

        .nm-main-social a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            transition: transform 0.2s;
        }

        .nm-main-social a svg {
            width: 40px;
            height: 40px;
        }

        .nm-main-social a:hover {
            transform: scale(1.1);
        }

        /* Chevron arrow */
        .dropdown-arrow {
            width: 14px;
            height: 14px;
            display: block;
            transition: transform 0.3s ease;
            fill: #fff;
        }

        .sc-dropdown-box:hover .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* DROPDOWN POPUP */
        .sc-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: 0.3s;
            z-index: 9999 !important;
            min-width: 275px;
            border: 1px solid #fff;
            border-radius: 4px;
        }

        /* Show popup on hover */
        .sc-dropdown-box:hover .sc-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        /* Popup background */
        .sc-dropdown-inner {
            background: #fff;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,.15);
            z-index: 9999 !important;
            text-align: left;
        }

        /* TRIANGLE POINTER ABOVE POPUP */
        .sc-dropdown::before {
            content: "";
            position: absolute;
            top: -10px;
            left: 20px;
            width: 0;
            height: 0;
            border-left: 8px solid transparent;
            border-right: 8px solid transparent;
            border-bottom: 10px solid #fff;
        }

        .sc-dropdown-inner-title {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            font-weight: 500;
            color: #333;
            text-align: left;
        }

        .elementor-icon-list-icon {
            width: 24px;
            margin-right: 8px;
            font-size: 18px;
        }

        .schedule-info {
            margin-bottom: 20px;
            text-align: left;
        }

        .schedule-info ul {
            list-style: none;
            padding-left: 0;
            margin-top: 8px;
            text-align: left;
        }

        .schedule-info li {
            font-size: 14px;
            color: #666;
            margin-bottom: 4px;
        }

        .contact-section {
            margin-bottom: 16px;
            text-align: left;
        }

        .contact-section h5 {
            font-weight: 500;
            font-size: 14px;
            margin-bottom: 8px;
            color: #333;
        }

        .contact-section ul {
            list-style: none;
            padding-left: 0;
        }

        .contact-section li {
            margin-bottom: 6px;
            font-size: 14px;
        }

        .contact-section a {
            color: #2196F3;
            text-decoration: none;
            transition: color 0.2s;
        }

        .contact-section a:hover {
            color: #1976D2;
            text-decoration: underline;
        }

        .contact-section .name {
            font-size: 12px;
            font-weight: 500;
            color: #666;
        }

.custom-create-account .custom-checkbox {
    position: relative !important;
    z-index: 1 !important;
    overflow: visible !important;
    clip: auto !important;
    height: auto !important;
    width: auto !important;
    margin: 0 10px 0 0 !important;
}

.custom-checkout-tabs-wrapper {
    margin-bottom: 30px;
    border: 1px solid #ddd;
    overflow: hidden;
    border-radius: 4px;
}
        
        .checkout-tabs {
            display: flex;
            background: #f7f7f7;
            color: #212121;
            align-items: center;
        }
        
        .tab-button {
            flex: 1;
            padding: 25px 20px;
            background: #f7f7f7;
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            position: relative;
            
            /* Add these for vertical centering */
            display: flex;
            align-items: center;
            justify-content: center;
            border-top: 2px solid #f7f7f7;
            }
        
        .tab-button:hover {
            background-color: #fff !important;
            color: #212121;
            border-bottom: 0 !important;
            border-radius: 0 !important;
            border-top: 2px solid #fff;
        }
        
        .tab-button.active {
            background: #fff;
            border-top: 2px solid #fdb819;
            border-radius: 0;
            color: #212121;
            border-bottom: 0;
        }
        
        .tab-content {
            padding: 30px;
            background: #fff;
        }
        
        .tab-content.active {
            display: block;
        }
        
        /* Hide the show password button */
        #returning-customer-tab .show-password-input {
            display: none !important;
        }

        @media (min-width: 768px) {
                .shipping-payment-wrapper {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 20px;
                    margin-top: 20px;
                }
                
                .shipping-wrapper,
                .payment-wrapper {
                    flex: 1;
                    min-width: calc(50% - 10px);
                }
                
                .shipping-wrapper,
                .payment-wrapper {
                    background: #f7f7f7;
                    padding: 20px;
                    border-radius: 4px;
                }
                
                .shipping-wrapper h3,
                .payment-wrapper h3.payments-title {
                    margin-top: 0;
                    margin-bottom: 15px;
                }
                
                .payment-wrapper #payment {
                    background: transparent;
                    padding: 0;
                }
                
                /* Place order button wrapper */
                .place-order-wrapper {
                    width: 100%;
                    margin-top: 10px;
                }
                
                .place-order-wrapper #place_order {
                    width: 100%;
                    padding: 15px 30px;
                    font-size: 18px;
                }
                
                /* Ensure shipping method styles apply */
                .shipping-wrapper ul#shipping_method {
                    list-style: none;
                    padding: 0;
                    margin: 0;
                }
                
                .shipping-wrapper ul#shipping_method li {
                    margin-bottom: 10px;
                }
                
                /* Hide the actual radio button */
                .shipping-wrapper ul#shipping_method li input[type="radio"] {
                    position: absolute;
                    opacity: 0;
                    pointer-events: none;
                }
                
                /* Ensure labels have the pseudo-element for custom radio */
                .shipping-wrapper ul#shipping_method li label {
                    position: relative;
                    cursor: pointer;
                    padding-left: 0;
                }
                
            }
            
            @media (max-width: 767px) {
                .shipping-payment-wrapper {
                    display: block;
                }
                
                .shipping-wrapper,
                .payment-wrapper {
                    width: 100%;
                    margin-bottom: 20px;
                }

                .sc-dropdown-toggle {
                    margin-top: 20px;
                }

            }

            #billing_country_field {
                display: none;
            }

            /* Style for login messages */
            .tab-content#returning-customer-tab .woocommerce-error,
            .tab-content#returning-customer-tab .woocommerce-message {
                padding: 1em;
                margin-bottom: 1em;
                background-color: #f7f6f7;
                color: #515151;
                border-top: 3px solid #a46497;
                list-style: none;
            }
            
            .tab-content#returning-customer-tab .woocommerce-error {
                border-top-color: #e2401c;
            }
            
            .tab-content#returning-customer-tab .woocommerce-message {
                border-top-color: #8fae1b;
            }

            #billing_phone {
                width: 100%;
                max-width: 100%;
            }

            /* Remember me label styling */
.login-wrapper label.woocommerce-form-login__rememberme span,
label.woocommerce-form-login__rememberme span {
    height: 16px;
    line-height: 16px;
    position: relative;
    padding-left: 22px;
}

/* Hide the default checkbox */
.login-wrapper label.woocommerce-form-login__rememberme input[type="checkbox"],
label.woocommerce-form-login__rememberme input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

/* Custom checkbox (unchecked) */
.login-wrapper label.woocommerce-form-login__rememberme span::before,
label.woocommerce-form-login__rememberme span::before {
    position: absolute;
    left: 0;
    bottom: 0;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #fff;
    box-shadow: inset 0 0 0 1px #dbdbdb;
    transition: box-shadow 0.3s ease-out;
    content: '';
    font-size: 13px;
    padding: 1px 0 0 2px;
    user-select: none;
}

/* Custom checkbox (checked) */
.login-wrapper input[name="rememberme"]:checked + span::before,
input[name="rememberme"]:checked + span::before {
    color: #fff;
    content: '\e917';
    font-family: 'chromium';
    box-shadow: inset 0 0 0 10px #fdb819;
}

.woocommerce-form-login__submit {
    margin-top: 18px;
}

.wcus-checkout-np-fields > div > p.form-row:first-child {
    margin-bottom: 20px !important;
    margin-top: 10px;
}

.wcus-checkout-np-fields {
    margin-top: 10px;
}

#order_comments_field {
    margin-top: 10px;
}

.shipping-payment-wrapper td {
    border: 0;
    padding-top: 28px;
}

/* Modified: Changed from ::after to ::before */
ul#shipping_method li input+label::before {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
    margin: 0 12px 1px 0;
    background-color: #fff;
    border: 0;
    box-shadow: inset 0 0 0 1px #dbdbdb;
    border-radius: 50%;
    content: '';
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: box-shadow 0.3s ease-out;
}

ul#shipping_method li input:checked+label::before {
    -webkit-box-shadow: inset 0 0 0 6px #fdb819;
    box-shadow: inset 0 0 0 6px #fdb819;
}

/* Remove ::after styles from the other file */
ul#shipping_method li input+label::after {
    content: none !important;
    display: none !important; 
}

/* Keep this rule as is */
*, *:before, *:after {
    box-sizing: inherit;
}

/* Base style for all labels - add icon on the left */
/*
ul#shipping_method li label span {
    display: inline-flex;
    align-items: center;
    padding-left: 30px !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
} */

/* Nova Poshta delivery icon */
label[for="shipping_method_0_nova_poshta_shipping1"] span {
    background-image: url('assets/img/novaposhta.svg');
    display: inline-flex;
    align-items: center;
    padding-left: 30px !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
}

/* Local pickup icon 
label[for="shipping_method_0_local_pickup2"] span {
    /* background-image: url('assets/img/delivery-truck.svg'); 
} */

.payments-title {
    background-image: url('assets/img/credit-card.svg');
    display: inline-flex;
    align-items: center;
    padding-left: 30px !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
}

.wcus-checkout-np-fields h3 {
    background-image: url('assets/img/map-pin-house.svg');
    display: inline-flex;
    align-items: center;
    padding-left: 30px !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
}

.shipping-wrapper h3 {
    background-image: url('assets/img/truck-electric.svg');
    display: inline-flex;
    align-items: center;
    padding-left: 30px !important;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 24px 24px;
}

@media (max-width: 768px) {
    aside {
        width: 100% !important;
        margin-top: 20px;
        display: block;
    }
}

@media only screen and (max-width: 768px) {
    #mega-menu-wrap-primary-nav .mega-menu-toggle.mega-menu-open + #mega-menu-primary-nav {
        display: inline-block;
        visibility: visible;
        z-index: 999;
        width: 100%;
        background: white;
    }

    .primary-nav-wrapper {
        height: 20px !important;
    }

    .primary-nav.with-widgets .nav-sidebar {
        position: absolute;
        right: -130px;
        top: -15px;
    }
}


/* Alternative method using fixed height only */
.woocommerce-loop-product__title {
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: 2.8em; /* Exactly 2 lines */
    display: block;
}

.tz-product-tabs.style-2 .tab-pane .slider-navi, .tz-categories-grid.with-slider .tab-pane .slider-navi {
    top: -122px;
}

.zen-ui-select__value {
    max-width: 636px;
}

.woocommerce-shipping-fields {
    display: none;
}