/*************** checkout page ***************/

.returning-box {
    padding: 18px 30px;
    position: relative;
    .checkout-login-form {
        background-color: var(--white-color);
        padding: 24px;
        margin-top: 24px;
        display: none;
        .theme-input {
            background-color: transparent; 
            border: 1px solid var(--light-stroke);
            margin-bottom: 20px;
        }
    }
}

.checkout-coupon-box {
    padding: 18px 30px;
    border: 1px solid var(--light-stroke);
    .checkout-coupon-form {
        margin-top: 24px;
        max-width: 400px;
        display: none;
        input {
            margin-bottom: 20px;
        }

    }
}

.checkout-form {
    .input-field {
        label {
            margin-bottom: 10px;
        }
        .nice-select {
            height: 54px;
            line-height: 54px;
            &.open {
                .list {
                    width: 100%;
                }
            }
        }
    }
    .theme-input {
        border: 1px solid var(--light-stroke);
        font-weight: 300;
    }
} 

.order-table {
    width: 100%;
    padding: 40px;
    border: 1px solid var(--light-stroke);
    table {
        width: 100%;
        tr {
            border-bottom: 1px solid var(--light-stroke);
        }
        th {
            text-transform: uppercase;
            font-weight: 500;
            padding: 24px 0;
        }
        td {
            padding: 24px 0;
            vertical-align: middle;
            .product-box {
                min-width: 340px;
            }
            .pp-price {
                min-width: 100px;
            }
        }
        .feature-image {
            width: 80px;
            padding: 10px;
        }
    }
}

.checkout-payment-methods {
    label {
        display: block;
        position: relative;
        input {
            opacity: 0;
            &:checked {
                & ~ span {
                    &::after {
                        opacity: 1;
                    }
                }
            }
        }
        span.radio {
            position: relative;
            padding-left: 15px;
            &::before {
                content: ''; 
                position: absolute;
                left: -20px;
                top: 3px;
                width: 18px;
                height: 18px;
                border: 1px solid var(--primary-color);
                background-color: transparent;
                border-radius: 50%;
            }
            &::after {
                content: ''; 
                position: absolute;
                left: -15px; 
                top: 8px; 
                width: 8px;
                height: 8px;
                background-color: var(--primary-color);
                border-radius: 50%;
                opacity: 0;
            }
        }
        p {
            margin-top: 4px;
        }
        + label {
            margin-top: 12px;
        }
        input {
            &:checked {
                ~ .description {
                    display: block;
                }
                ~ span.checkbox {
                    &::before {
                        background-color: var(--primary-color);
                        border-color: var(--primary-color);
                    }
                }
            }
        }
        .description {
            display: none;
            margin-top: 10px;
        }
        span.checkbox {
            position: relative; 
            padding-left: 10px;
            &::before {
                content: '\f00c'; 
                font-family: 'FontAwesome';
                font-size: 10px;
                text-align: center;
                line-height: 12px;
                position: absolute; 
                left: -15px; 
                top: 3px; 
                width: 15px;
                height: 15px;
                border: 1px solid var(--border-gray);
                color: var(--white-color);
            }
        }
    }
}