﻿/*OPC and checkout*/

.credit-card:has(input[type="radio"]:disabled) {
    opacity: 0.5;
}

#checkout-steps #opc-shipping-details {
    margin-top: 0;
}

#checkout-steps .active {
    margin-top: 20px;
    margin-bottom: 20px;
}

#checkout-steps li.tab-section {
    border-radius: 12px;
}

#checkout-steps .error.active {
    margin: 4px 0 0 0;
}

.store-payment-info h5 {
    font-size: 14px;
    color: #6e6e6e;
    width: 120px;
}

.store-payment-info p {
    font-size: 14px;
    color: #2c2c2c;
}

.shopping-cart-page .common-buttons .estimate-shipping-button {
    display: inline-block;
    border: none;
    font-size: 15px;
    text-align: center;
    color: #fff;
}

@media all and (min-width: 1400px) {

    .cart-footer .estimate-shipping .inputs label {
        display: inline-block;
        width: 35%;
    }

    .cart-footer .estimate-shipping .inputs input,
    .cart-footer .estimate-shipping .inputs select {
        width: 65%;
    }
}

@media all and (max-width: 1000px) {
    .address-item {
        width: 100%;
    }
}

@media all and (min-width: 811px) {

    #checkout-steps li.tab-section {
        border: 1px solid #E2E2E2;
        margin-bottom: 8px;
    }

    /*    #checkout-steps .active {
        border: 1px solid #E2E2E2;
    }

        #checkout-steps .active .step-title {
            border-bottom: 1px solid #E2E2E2;
        }*/

    #checkout-steps .step-title {
        border-bottom: transparent;
    }

    .checkout-page .selected-checkout-attributes {
        float: right;
        text-align: right;
    }

    .checkout-page .cart-footer .totals {
        max-width: 350px;
        margin: 0;
    }

    .checkout-page .address-grid {
        overflow: hidden;
    }

    .checkout-page .address-item {
        display: inline-block;
        vertical-align: top;
        zoom: 1;
        width: 48%;
        margin: 0 1% 40px;
    }
}

@media all and (min-width: 1001px) {

    .shopping-cart-page .checkout-attributes {
        float: left;
        max-width: 565px;
        margin: -30px 0 15px;
    }

        .shopping-cart-page .checkout-attributes li {
            margin: 5px 10px 5px 0;
        }

    .shopping-cart-page .selected-checkout-attributes {
        float: right;
        max-width: 395px;
        margin: 15px 0;
    }
}

#checkout-steps > li {
    opacity: 60%;
}

#checkout-steps li.allow {
    opacity: 100% !important;
}

#checkout-step-payment-method .payment-info {
    font-size: 14px;
    color: #4B4B4B !important;
}

    #checkout-step-payment-method .payment-info h3 {
        font-weight: 600;
        margin-bottom: 8px;
    }

#checkout-payment-info-load.slidedown, .checkout-payment-info-load.slidedown {
    max-height: 800px;
    overflow: hidden;
}

#checkout-payment-info-load.slideup, #checkout-payment-info-load.slidedown, .checkout-payment-info-load.slideup, .checkout-payment-info-load.slidedown {
    overflow-y: hidden;
    -webkit-transition: max-height 1.5s ease, opacity 1.5s ease;
    -moz-transition: max-height 1.5s ease, opacity 1.5s ease;
    -o-transition: max-height 1.5s ease, opacity 1.5s ease;
    transition: max-height 1.5s ease, opacity 1.5s ease;
}

.noUi-horizontal .noUi-handle {
    right: -10px !important;
}

.comment-section textarea {
    border: 1px solid #e2e2e2;
}

.comment-section.slidedown {
    overflow-y: visible;
}

input[type="checkbox"] {
    height: 16px !important;
    width: 16px !important;
}

.checkout-payment-info-load .checkout-data {
    background: #fafafa;
    /*font-size: 12px !important;*/
}

.payment-description a {
    pointer-events: auto;
}

.comment-section.slidedown {
    overflow-y: visible;
}

.ui-dialog-titlebar {
    padding: 8px 16px !important;
    border-radius: 13px 13px 0 0;
    border: none;
    border-bottom: 1px solid #eaeaea;
}

.ui-dialog .ui-dialog-content {
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
}

.ui-dialog {
    border-radius: 13px;
    padding: 0 !important;
}

.ui-dialog-content {
    padding: 12px 16px !important;
}

/*.mfp-content{
    max-width: 500px;
    max-height: 500px !important;
}*/

.mfp-bg {
    opacity: 0.6 !important;
}

.read-terms {
    overflow: hidden;
    margin: 12px;
    max-height: 80vh;
}

.terms-pop-up {
    scrollbar-width: thin;
}

@media all and (max-width: 400px) {
    .read-terms {
        width: 350px;
    }
}

@media all and (min-width: 811px) {
    .read-terms {
        max-width: 640px;
        max-height: 500px;
    }
}

.payment-group {
    cursor: pointer;
    pointer-events: auto;
}

.payment-group:has(input:checked) {
    color: #E15726;
    cursor: default;
    pointer-events: none;
}

.payment-method-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
}

.payment-group:has(input:checked) ~ .payment-method-container {
    display: block;
    opacity: 1;
}

.payment-method {
    border-color: #E2E2E2;
}

    .payment-method > label {
        color: #2C2C2C;
        cursor: pointer;
        pointer-events: auto;
    }

    .payment-method:has(input:checked) {
        color: #6E6E6E;
        border-color: #E15726;
    }

        .payment-method:has(input:checked) > label {
            color: #E15726;
            background: #fceee9;
            cursor: default;
            pointer-events: none;
        }

.address-inputs-container .icon-i-check {
    color: #36B37E;
}

.address-inputs-container .icon-alert-triangle {
    color: #E34850;
}

.address-inputs-container .icon-loading {
    color: #CACACA;
}