/* ---------------------------------------------------------------- */
/* 01.Checkout Section                      
/* ---------------------------------------------------------------- */

.checkout-section{
    position: relative;
  }
  
  .checkout-section .checkout-container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .checkout-section .checkout-container .checkout-left-content{
    flex-basis: 70%;
    max-width: 70%;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-top-item{
    border-radius: 4px;
    border: 1px solid var(--gray);
    background: var(--white);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-address-title{
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-d-address{
    padding: 20px;
    display: flex;
    align-items: center;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-d-address .delivery-check form{
    display: flex;
    align-items: center;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-d-address .delivery-check input{
    width: 15px;
    height: 15px;
    margin-left: 15px;
    cursor: pointer;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-d-address .delivery-check label{
    font-size: 16px;
    margin-left: 6px;
    cursor: pointer;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-address-title h1,
  .checkout-section .checkout-container .checkout-left-content .checkout-address-title h2{
    font-size: 18px;
    font-weight: var(--weight-600);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-address-title p{
    margin-left: 10px;
    color: var(--dark-gray);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-form{
    padding: 0 20px 20px;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-form input:nth-child(1){
    flex-basis: 49%;
    max-width: 49%;
    padding: 14px 24px;
    outline: none;
    border-radius: 4px;
    border: 1px solid var(--dark-gray);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-form input{
    flex-basis: 49%;
    max-width: 49%;
    font-size: 16px;
    padding: 14px 24px;
    outline: none;
    border-radius: 4px;
    border: 1px solid var(--dark-gray);
    margin-top: 15px;
    transition: all 0.5s ease;
  }
  .checkout-section .checkout-container .checkout-left-content .checkout-form select{
    flex-basis: 49%;
    max-width: 49%;
    font-size: 16px;
    padding: 14px 24px;
    outline: none;
    border-radius: 4px;
    border: 1px solid var(--dark-gray);
    margin-top: 15px;
    transition: all 0.5s ease;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-form input:focus,
  .checkout-section .checkout-container .checkout-left-content .checkout-form textarea:focus{
    outline: 1px solid var(--theme-color);
    border: 1px solid var(--theme-color);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-form textarea{
    flex-basis: 100%;
    max-width: 100%;
    min-height: 120px;
    margin-top: 15px;
    padding: 14px 24px;
    font-size: 16px;
    outline: none;
    border-radius: 4px;
    border: 1px solid var(--dark-gray);
    resize: none;
    transition: all 0.5s ease;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom{
    margin-top: 20px;
    border-radius: 4px;
    border: 1px solid var(--gray);
    background: var(--white);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form{
    margin-top: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 15px;
    border-bottom: 1px solid var(--gray);
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .cash-payment,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .nagad-payment,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bank-payment,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bkash-payment,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .rocket-payment{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 4px;
    border: 1px solid var(--dark-gray);
    background: #f9f9f9;
    cursor: pointer;
    width: 100%;
    max-width: 48%;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .cash-payment input,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .nagad-payment input,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bank-payment input,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bkash-payment input,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .rocket-payment input{
    width: 15px;
    height: 15px;
    cursor: pointer;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .cash-payment img{
    width: 24px;
    margin: 0 8px;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .nagad-payment img{
    width: 60px;
    margin-left: 10px;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bank-payment img{
    width: 170px;
    margin-left: 10px;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bkash-payment img{
    width: 60px;
    margin-left: 10px;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .rocket-payment img{
    width: 60px;
    margin-left: 10px;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .cash-payment label,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .nagad-payment label,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bank-payment label,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bkash-payment label,
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .rocket-payment label{
    font-size: 18px;
    font-weight: var(--weight-400);
    cursor: pointer;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .checkout-f-btn{
    padding: 14px 30px;
    margin: 20px;
    font-size: 16px;
    border: 1px solid var(--theme-color);
    border-radius: 4px;
    color: var(--white);
    background: var(--theme-color);
    transition: all 0.5s ease;
  }
  
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .checkout-f-btn:hover{
    border: 1px solid var(--black);
    background: var(--black);
  }
  
  .checkout-section .checkout-container .checkout-summery{
    padding: 20px;
    border-radius: 6px;
    border: 1px solid var(--gray);
    background: var(--white);
    flex-basis: 28%;
    max-width: 28%;
    position: sticky;
    top: 95px;
    left: 0;
    z-index: 1;
  }
  
  .checkout-section .checkout-container .checkout-summery h2{
    font-size: 18px;
    font-weight: var(--weight-600);
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
  }
  
  .checkout-section .checkout-container .checkout-summery .payment-breakdown{
    margin-top: 30px;
  }
  
  .checkout-section .checkout-container .checkout-summery .payment-breakdown .payment-data{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
  }
  
  .checkout-section .checkout-container .checkout-summery .continue-btn-box button{
    display: block;
    padding: 14px 14px;
    color: var(--white);
    background: var(--theme-color);
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    transition: all 0.5s ease;
    width: 100%;
    border: none;
  }
  
  .checkout-section .checkout-container .checkout-summery .continue-btn-box button:hover{
    background: var(--black);
  }

/* --------------------------------------------------------------------------------- */
/* --------------------- Checkout Page Section Responsive ------------------------- */
/* --------------------------------------------------------------------------------- */
/* ---- Min-Widht: 1400px To Max-Width: 1499px ---- */
@media only screen and (min-width: 1400px) and (max-width: 1499px){
  .checkout-section .checkout-container{
    max-width: 1080px;
  }
  .checkout-section .checkout-container .checkout-left-content {
    flex-basis: 68%;
    max-width: 68%;
}
  .checkout-section .checkout-container .checkout-summery {
   flex-basis: 30%;
   max-width: 30%;
}
}

/* ---- Min-Widht: 1200px To Max-Width: 1399px ---- */
@media only screen and (min-width: 1200px) and (max-width: 1399px){
  .checkout-section .checkout-container{
    max-width: 890px;
  }
  .checkout-section .checkout-container .checkout-left-content {
    flex-basis: 62%;
    max-width: 62%;
}
  .checkout-section .checkout-container .checkout-summery {
   flex-basis: 35%;
   max-width: 35%;
}
.checkout-section .checkout-container .checkout-left-content .checkout-address-title h1, .checkout-section .checkout-container .checkout-left-content .checkout-address-title h2{
  font-size: 16px;
}
.checkout-section .checkout-container .checkout-summery h2{
  font-size: 16px;
}
}

/* ---- Min-Widht: 992px To Max-Width: 1199px ---- */
@media only screen and (min-width: 992px) and (max-width: 1199px){
  .checkout-section .checkout-container{
    max-width: 728px;
  }
  .checkout-section .checkout-container .checkout-left-content {
    flex-basis: 62%;
    max-width: 62%;
}
  .checkout-section .checkout-container .checkout-summery {
   flex-basis: 36%;
   max-width: 36%;
}
.checkout-section .checkout-container .checkout-summery h2{
  font-size: 16px;
}
.checkout-section .checkout-container .checkout-left-content .checkout-address-title h1, .checkout-section .checkout-container .checkout-left-content .checkout-address-title h2{
  font-size: 16px;
}
.checkout-section .checkout-container .checkout-left-content .checkout-form input{
  flex-basis: 100%;
  max-width: 100%;
}
.checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .cash-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .nagad-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bank-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bkash-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .rocket-payment{
  flex-basis: 100%;
  max-width: 100%;
}
}

/* ---- Max-Width: 991px ---- */
@media only screen and (max-width: 991px){
  .checkout-section .checkout-container{
    padding: 0 4%;
    row-gap: 40px;
  }
  .checkout-section .checkout-container .checkout-left-content {
    flex-basis: 100%;
    max-width: 100%;
}
  .checkout-section .checkout-container .checkout-summery {
   flex-basis: 100%;
   max-width: 100%;
}
.checkout-section .checkout-container .checkout-left-content .checkout-address-title h1, .checkout-section .checkout-container .checkout-left-content .checkout-address-title h2{
  font-size: 16px;
}
.checkout-section .checkout-container .checkout-summery h2{
  font-size: 16px;
}
}

/* ---- Max-Width: 767px ---- */
@media only screen and (max-width: 767px){
  .checkout-section .checkout-container .checkout-left-content .checkout-form input{
    flex-basis: 100%;
    max-width: 100%;
  }
  .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .cash-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .nagad-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bank-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .bkash-payment, .checkout-section .checkout-container .checkout-left-content .checkout-left-bottom .payment-form .rocket-payment{
    flex-basis: 100%;
    max-width: 100%;
  }
  .checkout-section .checkout-container .checkout-left-content .checkout-address-title p{
    max-width: 145px;
  }
}