:root {
    --checkout-banner-border: #23a1d1;

    --checkout-account-active-background-color: #d5e4f1;
    --checkout-account-active-text-color: #333;
    
    --checkout-primary-background-color: #edf3f8;
    --checkout-secondary-background-color: #fafbfd;
    
}

.quick-checkout-banner {
    position: relative;
    padding: 22px 25px;
    margin-bottom: 25px;
    background: var(--checkout-secondary-background-color);
    border: 1px solid #f3f4f8;
    border-radius: 6px;
    overflow: hidden;
}
.quick-checkout-banner:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--checkout-banner-border);
}
.quick-checkout-content {
    margin-bottom: 18px;
}
.quick-checkout-content h3 {
    margin: 0 0 7px;
    color: #222;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}
.quick-checkout-content p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 21px;
}
.quick-checkout-benefits {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e4eaed;
}
.quick-benefit {
    display: flex;
    align-items: center;
    flex: 1;
    color: #444;
    font-size: 13px;
    font-weight: 600;
}
.quick-benefit + .quick-benefit {
    padding-left: 25px;
    border-left: 1px solid #e0e5e7;
}
.quick-benefit-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin-right: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e7f5fa;
    color: #23a1d1;
    font-size: 13px;
}

#cicheckout .account_type .btn-group {
    display: flex;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: none !important;
    background: var(--checkout-secondary-background-color);
    border-color: #f3f4f8;
}
#cicheckout .account_type .btn-group .btn {
    flex: 1;
    min-height: 57px;
    margin: 0 !important;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0 !important;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    box-shadow: none !important;
}
#cicheckout .account_type .btn input[type="radio"] {
    opacity: 0;
}
#cicheckout .account_type .btn i {
    margin: 0 !important;
    font-size: 18px;
}
#cicheckout .account_type .btn span {
    display: inline-block;
    text-transform: uppercase;
}
#cicheckout .account_type .btn.active {
    background: var(--checkout-account-active-background-color);
    color: var(--checkout-account-active-text-color);
    font-weight: 600;
    border-radius: 4px;
}
#cicheckout .account_type .btn + .btn {
    border-left: 0 !important;
}



#cicheckout .panel {
    margin-bottom: 20px;    
    padding: 8px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #f7f7f7 !important;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

#cicheckout .panel > .panel-heading {
    background: var(--checkout-primary-background-color);
    padding: 12px 15px !important;
    min-height: auto;
    border-radius: 6px;
    border: 0px !important;
    transition: background-color .2s ease;
}

#cicheckout .panel > .panel-heading .panel-title {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 26px;
    text-transform: uppercase;
}

#cicheckout .panel-group .panel > .panel-heading .panel-title {
    font-weight: normal;
}

#cicheckout .panel .panel {
    box-shadow: none;
    border: 1px solid #edf3f8 !important;
    margin-bottom: 10px;
    padding: 0px;
}

#cicheckout .panel .panel .panel-heading {
    border-radius: 6px 6px 0px 0px;
}

#cicheckout .panel > .panel-heading .panel-title {
    font-weight: 600 !important;
}

#cicheckout .panel-group .panel-heading+.panel-collapse>.list-group, #cicheckout .panel-group .panel-heading+.panel-collapse>.panel-body {
    border-top: 0px;
}

#cicheckout .panel > .panel-body {
    min-height: 60px;
    padding: 10px;
}

#cicheckout .panel-group {
    margin-bottom: 0px;
}

#cicheckout .panel-group .panel > .panel-heading .panel-title a {
    display: block
}

#shopping_cart_panel table thead td {
    padding: 13px 12px;
    border-top: 0;
    border-bottom: 1px solid #e1e6eb;
    background: var(--checkout-secondary-background-color);
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.4;
}

#cicheckout .form-control {
    height: 40px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

#cicheckout #quantity_box .button-qty {
    padding: 8px;
}

#cicheckout .input-group .input-group-btn .btn {
    height: 40px;
    padding: 10px 14px;
    font-size: 14px;
}

#cicheckout textarea.form-control {
    height: auto;
}

#cicheckout .ci-row {
    margin-left: -8px;
    margin-right: -8px;
    display: flex;
    flex-wrap: wrap;
}
#cicheckout .ci-col {
    padding-left: 8px;
    padding-right: 8px;
}

#cicheckout fieldset legend {
    font-size: 15px;
}

#cicheckout #accordion .col-sm-12.control-label {
    text-align: left;
    margin-bottom: 3px;
}


.cart-totals {
    width: 100%;
    margin-top: 18px;
    padding: 6px;
    overflow: hidden;
}
.cart-total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border: 0 !important;
}
.cart-total-label {
    flex: 1;
    padding-right: 20px;
    font-weight: 500;
    text-align: right;
}
.cart-total-value {
    min-width: 120px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}
.cart-total-row:last-child {
    min-height: 60px;
    margin: 7px 0;
    padding: 13px 14px;
    border: 0 !important;
    border-radius: 9px;
    background: var(--checkout-primary-background-color);
}
.cart-total-row:last-child .cart-total-label {
    font-weight: 700;
}
.cart-total-row:last-child .cart-total-value {
    font-size: 18px;
    font-weight: 700;
}
.confirm-total {
    font-size: 20px;
    padding: 12px 0;
    font-weight: 600;
    color: #4c4c4c;
}

.cart_loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart_loader .loader {
    width: 30px;
    height: 30px;
    border: 3px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: checkout-spin 0.7s linear infinite;
}
@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

.checkout_loader {
    position: fixed;
    height: 100%;
    width: 100%;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 9999;
}
.checkout_loader .loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
}
.checkout_loader .loader span {
    display: block;
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: #333;
    animation: loader-pulse 0.9s ease-in-out infinite;
}
.checkout_loader .loader span:nth-child(1) {
    animation-delay: 0s;
}
.checkout_loader .loader span:nth-child(2) {
    animation-delay: 0.15s;
}
.checkout_loader .loader span:nth-child(3) {
    animation-delay: 0.3s;
}
@keyframes loader-pulse {
    0%,
    100% {
        height: 10px;
        opacity: 0.35;
    }
    50% {
        height: 28px;
        opacity: 1;
    }
}

.pos_rel {
    position: relative;
}

.confirm_backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.72);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#button-login.btn.btn-primary {
    padding: 12px;
    font-size: 14px;
    width: 175px;
}

.btn-validate {
    padding: 12px;
    font-size: 14px;
    width: 175px;
    background: rgb(255, 194, 0);
    background-repeat: repeat-x;
    border-color: rgb(255, 194, 0);
    color: rgb(32, 34, 36);
}
.btn-validate:hover, .btn-validate:active, .btn-validate.active, .btn-validate.disabled, .btn-validate[disabled] {
    background-position: 0 -15px;
    background: rgb(255, 194, 0);
    border-color: rgb(255, 194, 0);
    color: rgb(32, 34, 36);
    text-decoration: none;
}
.btn-validate.focus, .btn-validate:focus {
    background: rgb(255, 194, 0);
    border-color: rgb(255, 194, 0);
    color: rgb(32, 34, 36);
}

.final_confirm_panel .btn.btn-primary {
    padding: 12px;
    font-size: 14px;
    width: 175px;
    background: rgba(224, 71, 71, 0.9) !important;
    border-color: rgba(224, 71, 71, 0.9) !important;
    color: rgb(255, 255, 255) !important;
    background-image: none !important;
    text-shadow: none !important;
}
.final_confirm_panel .btn-primary:hover, .final_confirm_panel .btn-primary:active, .final_confirm_panel .btn-primary.active, .final_confirm_panel .btn-primary.disabled, .final_confirm_panel .btn-primary[disabled] {
    background-position: 0 -15px !important;
    background: rgba(224, 71, 71, 0.9) !important;
    border-color: rgba(224, 71, 71, 0.9) !important;
    color: rgb(255, 255, 255) !important;
    text-decoration: none !important;
}
.final_confirm_panel .btn-primary.focus, .final_confirm_panel .btn-primary:focus {
    background: rgba(224, 71, 71, 0.9) !important;
    border-color: rgba(224, 71, 71, 0.9) !important;
    color: rgb(255, 255, 255) !important;
}

.final_confirm_panel {
    margin-top: 10px;
}

.final_confirm_panel .buttons {
    margin: 1em 0 0 0;
}

.alert-message {
    padding: 10px 15px;
}
.warning-color {
    background: #fcf8e3 !important;
}
.warning-color.quick-checkout-banner:before {
    background: #c6b249 !important;
}

.floating-textarea {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}
.floating-textarea label {
    position: absolute;
    top: -9px;
    left: 15px;
    z-index: 2;
    padding: 0 5px;
    margin: 0;
    background: #fff;
    font-size: 14px;
}

#cicheckout a:focus {
    outline: thin dotted;
    outline: none;
    outline-offset: 0px;
    text-decoration: none;
}
#cicheckout .form-control {
    border: 1px solid #dfe4ea;
    box-shadow: none;
    outline: none;
    transition: all 0.2s ease;
}

#cicheckout .has-error .form-control {
  border-color: #a94442 !important;
}

#cicheckout .ci-col .radio {
    display: inline-block;
    margin: 0px 12px 0 0;
    margin-bottom: 8px;
}
#shipping_method_panel p {
    margin-bottom: 2px;
}
#shipping_method_panel p {
    margin-bottom: 2px;
}

#cicheckout .ci-col .radio label, #cicheckout .ci-col .checkbox label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    min-width: 110px;
    border: 1px solid #efefef;
    border-radius: 6px;
    background: #fff;
    color: #4b5563;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

#cicheckout .ci-col .radio label:hover, #cicheckout .ci-col .checkbox label:hover {
    border-color: #2196d2;
    background: #f7fbfe;
}

#cicheckout .ci-col .radio input[type="radio"], #cicheckout .ci-col .checkbox input[type="checkbox"] {
    margin: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2196d2;
    position: relative
}
.address_id {
    margin-top: 5px;
}
#payment-new, #shipping-new {
    margin-top: 15px;
}

#cicheckout .ci-col .radio label:hover, #cicheckout .ci-col .checkbox label:hover {
    border-color: #2196d2;
    background: #f7fbfe;
}

#cicheckout .ci-col .radio input[type="radio"], #cicheckout .ci-col .checkbox input[type="checkbox"] {
    margin: 0;
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #2196d2;
}
#cicheckout .ci-col .radio input[type="radio"]:checked + span {
    color: #2196d2;
    font-weight: 500;
}
#cicheckout #shopping_cart_panel .btn-danger {
    width: 36px;
    height: 36px;
    padding: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #e54848;
    background: #fff1f1;
    background-image: none;

    border: 1px solid #ffd1d1;
    border-radius: 5px;

    text-shadow: none;
    box-shadow: none;

    font-size: 13px;
    line-height: 30px;

    transition: all 0.2s ease;
}

#cicheckout #shopping_cart_panel .btn-danger:hover {
    color: #fff;
    background: #e54848;
    border-color: #e54848;
    box-shadow: 0 3px 8px rgba(229, 72, 72, 0.20);
}

#cicheckout #shopping_cart_panel .btn-danger:focus,
#cicheckout #shopping_cart_panel .btn-danger:active {
    color: #e54848;
    background: #fff1f1;
    border-color: #ffd1d1;
    outline: none;
    box-shadow: none;
}

#cicheckout .button-qty {
    height: 30px;
    padding: 5px 7px;
}
#shopping_cart_panel table thead td, #shopping_cart_panel .table-bordered, #shopping_cart_panel .table-bordered>tbody>tr>td, #shopping_cart_panel .table-bordered>tbody>tr>th, #shopping_cart_panel .table-bordered>tfoot>tr>td, #shopping_cart_panel .table-bordered>tfoot>tr>th, #shopping_cart_panel .table-bordered>thead>tr>td, #shopping_cart_panel .table-bordered>thead>tr>th {
    border-color: #ededed
}
#cicheckout label.control-label {
    font-size: 12px;
    font-weight: normal;
    font-weight: 600;
}

#cicheckout .form-group-radio-inline {
    display: inline-flex !important;
    align-items: center;
}
#cicheckout  .form-group-radio-inline .control-label {
    margin-bottom: 0px !important;
    margin-right: 10px;
}
#cicheckout fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 6px;
}

#cicheckout fieldset legend {
    position: relative;
    width: 100%;
    margin: 0 0 18px;
    padding: 0 0 10px;

    color: #26384a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    border: 0;
    border-bottom: 1px solid #e6eaee;
}

#cicheckout fieldset legend:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 42px;
    height: 3px;

    background: #2196d2;
    border-radius: 3px;
}
#cicheckout .checkbox, #cicheckout.radio {
    margin: 0px !important;
    padding: 3px 0px;
}


#cicheckout #quantity_box .button-qty {
    background: #f3f3f5 !important;
    border-color: #d9dde4 !important;
    color: #606060 !important;
    text-shadow: none;
    transition: all 0.2s ease;
}

#cicheckout #quantity_box .button-qty:hover {
    background: #e8f4fb;
    border-color: #2196d2;
    color: #2196d2;
}

#cicheckout #quantity_box .button-qty:focus,
#cicheckout #quantity_box .button-qty:active {
    outline: none;
    box-shadow: none;
}

#cicheckout #quantity_box .button-qty, #cicheckout #quantity_box .form-control {
    height: 30px !important;
    min-height: auto !important;
    padding: 5px 9px !important;
    text-align: center;
}

#cicheckout #quantity_box .form-control {
    border-left: 0px;
    border-right: 0px;
}
#cicheckout #quantity_box .input-group-btn:first-child>.btn, #cicheckout #quantity_box .input-group-btn:first-child>.btn-group {
    margin-right: 0px;
}


@media (max-width: 480px) {    
    #cicheckout .account_type .btn-group-justified {
        padding: 3px;
    }
    #cicheckout .account_type .btn-group-justified > .btn {
        min-height: 44px;
        padding: 9px 5px;
        font-size: 12px;
    }
    #cicheckout .account_type .btn > i {
        font-size: 16px;
    }
    #cicheckout .account_type .btn {
        padding-left: 5px;
        padding-right: 5px;
    }


    .quick-checkout-benefits .quick-benefit, #cicheckout .form-group-radio-inline .control-label {
        width: 100%;
    }


    #cicheckout .form-group-radio-inline {
        flex-wrap: wrap;
    }
}


@media (max-width: 767px) {
    .quick-checkout-content h3 {
        font-size: 18px;
    }

    .quick-checkout-banner {
        padding: 18px;
    }
    .quick-checkout-benefits {
        flex-wrap: wrap;
    }
    .quick-checkout-benefits .quick-benefit {
        width: 50%;
        flex: auto;
    }
    .quick-benefit {
        padding: 8px 0 !important;
        border-left: 0 !important;
    }

    #cicheckout .ci-col {
        width: 100%;
    }

    #cicheckout .account_type .btn-group {
        padding: 3px;
        border-radius: 8px;
    }
    #cicheckout .account_type .btn-group .btn {
        min-height: 52px;
        padding: 10px 8px;
        gap: 7px;
        font-size: 15px;
    }
    #cicheckout .account_type .btn i {
        font-size: 17px;
    }
    #cicheckout .account_type .btn-group-justified {
        padding: 3px;
    }
    #cicheckout .account_type .btn-group-justified > .btn {
        min-height: 62px;
        padding: 10px 8px;
        font-size: 13px;
    }
    #cicheckout .account_type .btn > i {
        font-size: 17px;
        margin-bottom: 5px;
    }


    #cicheckout .panel {
        margin-bottom: 15px;
        border-radius: 8px;
    }
    #cicheckout .panel > .panel-heading {
        padding: 13px 15px;
        min-height: 52px;
    }
    #cicheckout .panel > .panel-heading .panel-title {
        font-size: 14px;
        line-height: 26px;
    }
    #cicheckout .panel > .panel-heading .panel-title > i {
        width: 28px;
        height: 28px;
        margin-right: 7px;
        line-height: 28px;
    }
    #cicheckout .panel > .panel-body {
        padding: 15px;
    }


    .cart-totals {
        margin-top: 14px;
        padding: 5px;
        border-radius: 4px;
    }
    .cart-total-row {
        min-height: 43px;
        padding: 9px 11px;
    }
    .cart-total-label {
        padding-right: 12px;
    }
    .cart-total-value {
        min-width: 100px;
    }
    .cart-total-row:last-child {
        min-height: 56px;
        margin: 6px 0;
        padding: 12px;
    }
}