@import url(theme.css);

.checkout-boxes {
    display: flex;
}

.checkout-detail-box {
    width: 65%;
}

.checkout-sidebar {
    width: 33%;
}

.checkout-product-detail-box {
    padding: 20px;
    border: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.product-count {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    margin: 0px;
}

.checkout-form-tab:first-child {
    margin-top: 0px;
}

.checkout-cart-tab input,
.checkout-form-tab input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.checkout-cart-tab__content,
.checkout-form-tab__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    margin-top: 10px;
}

.checkout-form-tab__content {
    margin: 0px 35px;
}

.checkout-cart-tab__content.open,
.checkout-form-tab__content.open {
    max-height: 100%;
}

.checkout-cart-accordion {
    overflow: hidden;
    margin-top: 10px;
}

.checkout-tab-label {
    display: flex;
    color: #000;
    background: #f2f2f2;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
}

.checkout-tab-label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: transform 0.35s;
}

.checkout-cart-tab input:checked+.checkout-tab-label::after {
    transform: rotate(270deg);
}

.checkout-form-tab input:checked+.checkout-tab-label::after {
    transform: rotate(270deg);
}

.checkout-form-label {
    width: 100%;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.checkout-form-tab {
    border: 1px solid #e5e5e5;
    margin-top: 10px;
}



.checkout-product-boxes {
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.checkout-product-boxes:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

.checkout-product-img {
    width: 22%;
}

.checkout-product-img div {
    border: 1px solid #e5e5e5;
    text-align: center;
}

.checkout-product-detail {
    width: 75%;
}

.checkout-product-detail h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    margin: 0px;
    width: 95%;
}

.checkout-product-detail span {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0px;
}

.checkout-product-detail p {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: #ed1c24;
    margin: 0px;
}

.checkout-personal-information, .checkout-payment-box, .checkout-comment{
    width: 100%;
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 5px;
}

.checkout-payment-box, .checkout-comment{
    margin-top: 20px;
}

.personal-heading{
    font-size: 20px;
    font-weight: 600;
}

.personal-information-fields{
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

.personal-information-fields::placeholder{
    color: #000;
}

.personal-information-fields:focus-visible{
    outline: none;
}

.payment-buttons{
    width: 100%;
    padding: 10px 30px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-buttons.disabled{
    cursor: not-allowed;
}

.payment-buttons:hover{
    background-color: #ed1c24;
}

.direct-deposit-bank-detail{
    padding: 15px 0px;
    margin: 15px 0px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
}

.direct-deposit-bank-detail p{
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0px;
}

.direct-deposit-bank-detail p span, .bank-note span{
    font-weight: 600;
}

.bank-note{
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0px;
}

.payment-buttons.active{
    background-color: #ed1c24;
}

.checkout-comment textarea{
    width: 100%;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    height: 100px;
    margin-top: 10px;
}

.checkout-comment textarea::placeholder{
    color: #000;
}

.checkout-comment textarea:focus-visible{
    outline: none;
}

.order-place-btn{
    float: right;
    padding: 10px 30px;
    background-color: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
}

.order-place-btn:hover{
    background-color: #ed1c24;
}


@media only screen and (max-width: 1024px) {
    .checkout-product-img {
        width: 32%;
    }

    .checkout-product-detail {
        width: 65%;
    }
}

@media only screen and (max-width: 990px) {
    .checkout-boxes {
        display: block;
    }
    .checkout-detail-box, .checkout-sidebar{
        width: 100%;
    }

    .checkout-detail-box{
        margin-bottom: 90px;
    }
    .checkout-product-img {
        width: 14%;
    }
    .checkout-product-detail {
        width: 83%;
    }
    .checkout-field-box {
        width: 530px;
    }
}

@media only screen and (max-width: 480px) {
    .checkout-section{
        margin: 0px 10px;
    }
    .checkout-input-div p{
        padding: 6px 0px 0px;
    }
    .invoice-address{
        margin-bottom: 20px;
    }
    .shipping-detail{
        flex-wrap: wrap;
    }
    .shipping-detail p{
        width: 100%;
        margin: 10px 0px 10px;
    }
    .shipping-detail{
        width: 90%;
    }
    .checkout-product-img {
        width: 27%;
    }
    .checkout-product-detail {
        width: 68%;
    }
}


.payment-form-icon {
    line-height: 46px;
    margin-right: 10px;
    color: #dddddd !important;
  }

.error-text{
    margin: 0px;
    font-size: 14px;
    padding: 5px 0px 0px 10px;
    color: #ed1c24;
}




/* Checkout Sidebar  */

.sidebar-toggle-btn {
    background-color: #ed1c24;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.checkout-addresses-sidebar {
    position: fixed;
    top: 0;
    left: -350px;
    width: 350px;
    height: 100%;
    min-height: 100%;
    background-color: #f4f4f4;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.checkout-addresses-sidebar.open {
    left: 0;
}
.address-item:last-child{
    margin-top: 20px;
}



.plan-select{
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #000;
    border-radius: 5px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
}