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

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}



/* =========================================
   GLV CHECKOUT PAYMENT OPTION
========================================= */

.glv-checkout-payment-option {
    margin: 30px 0;
}

.glv-checkout-payment-option__title {
    margin: 0 0 14px;
    color: var(--color-text-primary);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.glv-checkout-payment-option__list {
    display: grid;
    gap: 16px;
}

.glv-checkout-payment-option__item {
    display: flex;
    align-items: flex-start;
    width: 100%;
    border: 1px solid var(--border-color-primary);
    border-radius: var(--border-radius-three);
    cursor: pointer;
    transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    gap: 13px;
    margin: 0;
    padding: 14px 16px;
}

.glv-checkout-payment-option__item:hover {
    border-color: rgba(81, 143, 64, 0.55);
    background: #fbfdf9;
}

.glv-checkout-payment-option__item:has(input[type="radio"]:checked) {
    border-color: var(--fs-color-primary);
    background: #fff;
    box-shadow: none;
}

.glv-checkout-payment-option__item input[type="radio"] {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid var(--border-color-primary);
    border-radius: 50%;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.glv-checkout-payment-option__item input[type="radio"]::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--fs-color-primary);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.2s ease, transform 0.2s ease;
}


.glv-checkout-payment-option__item input[type="radio"]:checked {
    border-color: var(--fs-color-primary);
    box-shadow: 0 0 0 1px var(--fs-color-primary);
}

.glv-checkout-payment-option__item input[type="radio"]:checked::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.glv-checkout-payment-option__content {
    flex: 1;
    min-width: 0;
}

.glv-checkout-payment-option__content strong {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
}

.glv-checkout-payment-option__content small {
    display: block;
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.glv-checkout-payment-option__content small span.amount {
    font-weight: 500;
}

.glv-checkout-payment-option__item:has(input[type="radio"]:checked) .glv-checkout-payment-option__content strong {
    color: var(--fs-color-primary);
}

@media (max-width: 549px) {
    .glv-checkout-payment-option__list {
        gap: 12px;
    }


    .glv-checkout-payment-option__content strong {
        font-size: 15.5px;
    }

    .glv-checkout-payment-option__content small {
        font-size: 13px;
    }
}