

.checkout-form-title {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-form-title h3 {
    font-size: 16px;
    color: var(--sec-txt-color);
    font-weight: 400;
}

.checkout-form-title h3 span {
    color: var(--normal-txt-color);
    cursor: pointer;
}

.checkout-form-title h3 span:hover {
    color: var(--sec-txt-color);
}

.checkout-form-title .k_underline_transition_2:hover::before {
    transform: scaleX(1);
    width: 100%;
    border: none;
}

.checkout-form-title h2 {
    font-size: 24px;
    font-family: var(--font-fm2);
    font-weight: 400;
}

.checkout-main-container {
    display: flex;
    width: 100%;
    margin-inline: auto;
    padding-inline: 2%;
    gap: 20px;
    justify-content: center;
    height: max-content;
}

.checkout-form {
    width: calc(55% - 20px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* margin: 15px; */
}

label .required {
    text-decoration: none;
}

.checkout_form_row {
    display: flex;

}

.close-btn-deliver-modal{
    font-size: 32px;
    position: absolute;
    right: 5%;
    top: 4px;
    cursor: pointer;
}

.billing_country_text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.billing_country_text h3 {
    font-size: 16px;
    font-weight: 400;
}

.billing_country_text strong {
    font-size: 16px;
    color: var(--sec-txt-color);
        width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.creat-account-dropdown-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-checkbox-input {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.different-address-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input[type='number']::-webkit-inner-spin-button {
    appearance: none;
}



/*  = > > > > > > > > */


.right-checkout-content {
    width: 40%;
}

.checkout-right-title {

    padding-block: 10px;
        padding-inline: 3%;
        width: 100%;
}

.checkout-right-title h2 {
    font-size: 18px;
    font-family: var(--font-fm2);
    font-weight: 400;
}

.order-product-wrapper {
 display: flex;
    align-items: center;
    height: 90px;
 
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(31, 136, 226, 1);

}

#order-product-wrapper{
     display: flex;
    gap: 10px;
    flex-direction: column;
    padding-inline: 2%;
    margin-bottom: 5%;
    overflow: scroll;
    height: 20%;
    scrollbar-width: 6px;
    scroll-behavior: smooth;
    scrollbar-color: black;
    scrollbar-width: thin;
}

.order-img-box {
    height: 100%;
    margin-right: 10px;
}

.order-img-box img {
        height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    object-fit: cover;
    object-position: top;
}

.order-product-name {
    flex: 2;
}

.order-product-name h3 {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.order-product-name h3 span {
    color: #9b9b9b;

}

.order-product-price h3 {
    font-size: 16px;
    color: var(--normal-txt-color);
    font-weight: 400;
}

.right-checkout-content .k-cart-row {
  border-top: 1px solid #eee;
    border-bottom: none;
    padding-inline: 3%;
    display: flex;
    justify-content: space-between;
    /* margin-top: 14px; */
    padding-block: 2%;
}

.right-checkout-content .k-cart-total-price {
    padding-top: 15px;
}

.right-checkout-content .k-cart-total-price h3 {
    font-size: 16px;
}

.right-checkout-content .k-cart-total-price h2 {
    font-size: 23px;
}

.checkout-payment-info-heading h3 {
    font-size: 18px;
    font-family: var(--font-fm2);
    font-weight: 400;
    color: rgba(0, 0, 0, 1);
    padding-inline: 2%;
   
}
.k_form_col_order_track_input_content_k_gap_8{
  width: 100%;
}
.input_select{
  padding-inline: 2%;
}

.checkout-payment-info-heading{
   border-top: 1px solid rgba(212, 212, 212, 1);
    border-bottom: 1px solid rgba(212, 212, 212, 1);
    padding-block: 2%;
}

.payment-method-box {
    width: 100%;
    padding: 0 10px;
    height: 45px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f7f7f7;
}

.payment-method-name h3 {
    font-size: 16px;
    font-weight: 500;
}

.payment-method-text p {
    font-size: 16px;
    color: var(--sec-txt-color);
}

.paytment-info-box {
    display: flex;
    gap: 20px;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    /* padding-bottom: 105px; */
    width: 100%;
    justify-content: center;
    align-items: center;
   
}

.place-order-privacy-policy-text p {
    font-size: 16px;
    color: var(--sec-txt-color);
}

.place-order-privacy-policy-text a {
    color: var(--normal-txt-color);
}


.place-order-footer {
    padding-block: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.place-order-submit-btn button {
    width: 100%;
    background-color: #000;
    padding-inline: 5%;
  

}

.order_track_submit_btn{
 display: flex;
    justify-content: center;
    /* position: fixed; */
width: 100%;
    bottom: 0%;
    background-color: white;
    padding-block: 2%;
    padding-inline: 2%;
}
  .location_section{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-inline: 3%;
      border-top: 1px solid rgba(212, 212, 212, 1);
           border-bottom: 1px solid rgba(212, 212, 212, 1);
    }

    .l_box{
      display: flex;
      align-items: center;
      padding-block: 2%;
      gap: 10px;
    }
.l_box:hover{
    cursor: pointer;}
    .l_box p{
      color: rgba(31, 136, 226, 1);
      font-size: 14px;
      font-weight: 700;
      font-family: var(--font-fm2);
    }




    #currentLocationBtn{

            color: rgba(31, 136, 226, 1);
        font-size: 14px;
        font-weight: 700;
        font-family: var(--font-fm2);
    }
    .l_line{
      height: 49px;
        width: 1px;
        background-color: rgba(212, 212, 212, 1);
    }

    .checkout-container {
    max-width: 900px;
    width: 33%;
    padding: 20px;
    font-family: "Poppins", sans-serif;
    color: #333;
    border: 1px solid rgba(31, 136, 226, 1);
    height: 249px;
    border-radius: 12px;
}

#finalAmount:hover{
    cursor: pointer;
  }
  .coupon-popup {
        top: 50%;
        left: 50% !important;
        bottom: auto;
        transform: translate(-50%, -50%);
        width: 400px;
        height: fit-content;
        max-width: 400px;
        border-radius: 16px !important;
        transition: all 0.3s ease;
        opacity: 0;
        
    }
     .coupon-popup.active {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
@media (max-width:1080px) {
    .checkout-main-container {
        padding-inline: 0%;
        height: unset;
    }

    .dv{
      padding-block: 4%;
      width: 100%;
 

    }

    .dv h5{
      font-size: 18px;
      font-weight: 400;
      color: rgba(0, 0, 0, 1);
      font-family: var(--font-fm2);
      padding-inline: 3%;
      line-height: 30px;
      width: 100%;
         border-bottom: 1px solid rgba(212, 212, 212, 1);
    }

    .location_section{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding-inline: 3%;
      border-top: 1px solid rgba(212, 212, 212, 1);
           border-bottom: 1px solid rgba(212, 212, 212, 1);
    }

    .l_box{
      display: flex;
      align-items: center;
      padding-block: 4%;
      gap: 10px;
    }

    .l_box p{
      color: rgba(31, 136, 226, 1);
      font-size: 14px;
      font-weight: 700;
      font-family: var(--font-fm2);
    }


    #currentLocationBtn{

            color: rgba(31, 136, 226, 1);
        font-size: 14px;
        font-weight: 700;
        font-family: var(--font-fm2);
    }
    .l_line{
      height: 49px;
        width: 1px;
        background-color: rgba(212, 212, 212, 1);
    }
}

@media (max-width:500px) {
    .checkout-main-container {
        flex-direction: column;
        gap: 0px !important;
    }

    .paytment-info-box {
    display: flex;
    gap: 20px;
    flex-direction: column;
    border-bottom: 1px solid #eee;
    padding-bottom: 105px !important;
    width: 100%;
    justify-content: center;
    align-items: center;
   
}

    .right-checkout-content,
    .checkout-form {
        width: 100%;
   
    }


    .checkout-form{
           padding-inline: 2%;
                   padding-top: 10px;
    }

    .coupon-popup.active {
    transform: translate(-50%, 0%);
    opacity: 1;
}
}







.dv h5{
      position: absolute;
    top: 18%;
    font-size: 18px;
    font-family: var(--font-fm2);
    font-weight: 400;
}
 /*====== BASE STYLES ====== */
.checkout-container {
  max-width: 900px;
  width: 70%;
    margin-top: 42px;
  padding: 20px;
  font-family: "Poppins", sans-serif;
  color: #333;
}

.checkout-container h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #222;
}

 /*====== ADDRESS CARD ====== */
.address-cards {
padding: 13px;
border-radius: 13px;
  transition: 0.3s ease;
 
}

.address-cards:hover {
  border: 1px solid #000;
}

#addressListModal{
  /* display: none; */
position: fixed;
    z-index: 1305;
    top: 25%;
}


 /*====== ADDRESS CONTENT ====== */
.address-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.address-info h4 {
  margin: 0 0 4px 0;
  color: #222;
  font-size: 16px;
}

.address-info p {
  margin: 2px 0;
  font-size: 14px;
  color: #555;
}

.address-actions {
  display: flex;
  gap: 8px;
  align-items: start;
}

 /*====== BUTTON STYLES ====== */
.btn-outline {
  border: 1px solid rgba(31, 136, 226, 1);
  background: transparent;
  color: rgba(31, 136, 226, 1);
  border-radius: 6px;
  font-size: 13px;
  padding: 5px 12px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background: rgba(31, 136, 226, 1);
  color: #fff;
}

.add-address-btn {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  padding: 12px;
  color: #333;
  text-align: center;
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 500;
}

.add-address-btn:hover {
  border-color: #ff3f6c;
  color: #ff3f6c;
}

 /*====== RADIO STYLING ====== */
.address-bottom {
  margin-top: 10px;
  font-size: 14px;
}

.address-bottom input {
  accent-color: #ff3f6c;
  margin-right: 6px;
}

 /*====== RESPONSIVE DESIGN ====== */
@media (max-width: 768px) {
  .checkout-container {
            padding: unset;
        width: 100%;
        border-bottom: 1px solid rgba(212, 212, 212, 1);
        border: none;
        margin: unset;
  }
.dv h5{
      position: relative;
    top: 18%;
    font-size: 18px;
    font-family: var(--font-fm2);
    font-weight: 400;
    margin: unset !important;
}
  

  .address-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .address-actions {
    width: 100%;
           justify-content: space-between;
  }

  .btn-outline {
    font-size: 12px;
 
  }

  .add-address-btn {
    font-size: 14px;
    padding: 10px;
  }

  .order_track_submit_btn{
 display: flex;
    justify-content: center;
    /*position: fixed;*/
width: 100%;
    bottom: 0%;
    background-color: white;
    padding-block: 4%;
    padding-inline: 2%;
}
}

@media (max-width: 500px) {
  .checkout-container h2 {
    font-size: 18px;
  }

  .address-info p {
    font-size: 13px;
  }

  .address-card {
    border-radius: 8px;
            padding-inline: 3%;
  }

  .btn-outline {
    padding: 4px 8px;
    width: 40%;
  }
}

.payment-wrapper {
     display: flex;
    flex-direction: column;
    gap: 15px;
    /* max-width: 350px; */
    font-family: 'Poppins', sans-serif;
    width: 100%;
    padding: 0px 2%;
}

.custom-radio input {
  display: none; /* Original radio button hide */
}

.radio-card {
  display: flex;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Icon Container Styling */
.icon-box {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
}

/* Color Variation for Icons */
.icon-cash {
  background-color: #e8f5e9;
  color: #2e7d32; /* Green color for Cash */
}

.icon-prepaid {
  background-color: #e3f2fd;
  color: #1565c0; /* Blue color for Prepaid */
}

.icon-wallet{
      background-color: #efe7d3;
    color: saddlebrown;
    width: 55px;
}

.label-text {
  font-weight: 600;
  color: #333;
  flex-grow: 1;
}

.check-mark {
  color: #fff;
    opacity: 1;
    transition: 0.3s;
    border: 1.4px solid black;
    border-radius: 34px;
    padding: 1px;
}

/* Selection Effect */
.custom-radio input:checked + .radio-card {
  border-color: #007bff;
  
  background-color: #f0f7ff;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.custom-radio input:checked + .radio-card .check-mark {
  opacity: 1;
  color: #007bff;
  border: none;
  font-size: 19px;
}

.wallet_box{
  width: 100%;
display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn button{
padding: 5px;
    border: none;
    color: #fff;
    background: #000;
    border-radius: 3px;
    height: 34px;
    width: 94px;
}

.wallet_txtbox{
      display: flex;
    justify-content: space-between;
    width: 100%;
        align-items: center;
}

.wallet_txt{
  display: flex;
  flex-direction: column;
}

.wallet{
width: 100%;
padding-inline: 2%;
}

.radio-card:hover {
  transform: translateY(-2px);
  border-color: #ccc;
}

 /*===== MODAL STYLES ===== */
.deliver-modal{
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  padding-top: 60px;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px 25px;
  border-radius: 10px;
  width: 500px;
  max-height: 80vh;       /* 👈 scroll ke liye */
    overflow-y: auto;       /* 👈 enable scroll */

    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: black #f1f1f1;
  max-width: 90%;
  position: relative;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: #000;
}

.modal-content label {
  display: block;
  margin: 10px 0 5px;
  font-size: 14px;
}

.modal-content input,
.modal-content textarea,
.modal-content select,
.billing_country_text select {
  width: 100%;
  padding: 8px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  background: #fff;
}

.btn-save {
  background-color: #000;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.btn-save:hover {
  background-color: #e0325c;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.close-btn:hover {
  color: #ff3f6c;
}

@media (min-width: 768px) {
  /* body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: #f4f6fb;
    padding: 0 20px 40px;
  } */

  /* .header_section {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  } */

  .k_checkout_main_container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    min-height: calc(100vh - 80px);
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
  }

  .k_gpt_checkout_top_container {
    width: 100%;
  }

  .k_gpt_thank-you {
    width: 100%;
    min-height: 180px;
    padding: 46px 36px;
    border-radius: 28px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  }

  .k_gpt_thank-you p {
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.04em;
  }

  .k_gpt_checkout-container {
    width: 100%;
    max-width: 640px;
    padding: 46px 42px 36px;
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
    margin-top: -20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    position: relative;
    height: auto;
  }

  .k_gpt_checkout-container svg {
    width: 100px;
    height: 100px;
  }

  .k_gpt_checkout-container h3 {
    font-size: 28px;
    text-align: center;
    margin: 0;
  }

  .k_gpt_checkout-container p {
    font-size: 18px;
    text-align: center;
    color: #5a5a5a;
    margin: 0;
  }

  .k_gpt_checkout-container button,
  .k_gpt_checkout-container a {
    width: 100%;
    max-width: 360px;
    border-radius: 999px;
    padding: 16px 0;
    font-size: 16px;
    letter-spacing: 0.06em;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .k_gpt_checkout-container button {
    background: #000;
    color: #fff;
    border: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
  }

  .k_gpt_checkout-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
  }

  .k_gpt_checkout-container a {
    background: #f4f4f4;
    color: #111;
    border: none !important;
    text-decoration: none;
  }

  .k_gpt_checkout-container a:hover {
    background: #e1e1e1;
  }
}

 /*===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .modal-content {
          width: -webkit-fill-available;
        position: fixed;
        bottom: 0%;
  }

  .btn-save {
    width: 100%;
  }
}

/* Button Styles */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary {
   font-size: 13px;
    background: black;
    color: white;
    padding: 5px 13px;
    border: 1px solid white;
}

 .selected-address{
  border: 1px solid black;

}

.btn-secondary {
  background: #f1f1f1;
  color: #333;
}
.btn-secondary:hover {
  background: #e0e0e0;
}

/* Modal Styles */
.addressmodal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center; align-items: center;
}
.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.close-btn {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 22px;
  cursor: pointer;
  color: #555;
}
.close-btn:hover {
  color: #000;
}

/* Address Cards */
.address-list {
      margin: 15px 0;
    max-height: 250px;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    gap: 10px;
}

.address-card h4 {
  margin: 0 0 5px;
  font-size: 16px;
  color: #333;
}
.address-card p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* Form */
form label {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}
form input, form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
form textarea {
  resize: none;
  height: 70px;
}

#couponCards{
      display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 34px;
}

 .coupon_code button{
       background-color: #000;
    color: white;
    border: none;
    font-family: var(--font-fm2);
    padding: 2px 20px;
    border-radius: 12px;
    width: 43%;
    }

    .coupon_code input{
    height: 45px;
    color:#000
    }

    .coupon_code{
          display: flex;
    padding-inline: 2%;
    gap: 5px;
    padding-block: 3%;
    }

@media (max-width: 767px) {
    .prev-page-link-container{
        display: none;
    }
    
    .marginTop{
        margin-top: 100px;
    }

    .modal-content{
           width: -webkit-fill-available;
        padding: 15px 20px;
        bottom: 0%;
        position: fixed;
        height: 90%;
        z-index: 90;
        overflow: scroll;
     max-width: unset;
        animation: slideUp 0.5s ease-out forwards;
    }


    @keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}



}

@media (min-width: 767px) {
    .btn-primary {
        position: absolute;
        /* margin-right: 400px; */
    }


   
}


/* Overlay */
.coupon-overlay {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
}

/* Popup */
.coupon-popup {
       position: fixed;
    /* left: 0; */
    bottom: -100% !important;
    width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 13px;
    z-index: 1000;
    height: fit-content;
    max-width: 500px;
    display: none;
    overflow: scroll;
    transition: bottom 0.4s ease;
}

/* Active popup */
.coupon-popup.active {
    bottom: 0;
    display: block;
}

/* Header */
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.popup-header span {
    cursor: pointer;
    font-size: 20px;
}

/* Select */
#couponSelect {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
}

/* Buttons */
.open-coupon{
        width: 38%;
    padding: 12px 20px;
    background: #000;
    border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    position: relative;
    cursor: pointer;
    display: flex;
    justify-content: center;
    left: 60%;
    right: 0%;
    margin-bottom: 12px;
}

.apply-btn {
    background: #000;
    padding: 12px 20px;
    width: 100%;
      border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
}

#couponMsg{
  display: flex;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 5px;
      padding-inline: 3%;
}


 /* Variables for Easy Customization */
        :root {
            --bg-color: #f3f4f6;
            --card-bg: #ffffff;
            --text-main: #1f2937;
            --text-muted: #6b7280;
            --primary-color: #000;
            --accent-bg: #f0fdfa;
            --border-color: #e5e7eb;
            --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        /* Dark Mode Colors */
        .dark-mode {
            --bg-color: #111827;
            --card-bg: #1f2937;
            --text-main: #f9fafb;
            --text-muted: #9ca3af;
            --accent-bg: #134e4a;
            --border-color: #374151;
            --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        /* --- Theme Toggle Button --- */
        .theme-switch {
            position: absolute;
            top: 20px;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 30px;
            border: 2px solid var(--primary-color);
            background: transparent;
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 20px;
        }

        /* --- Coupon Card Main --- */
        .coupon-card {
               background: var(--card-bg);
    width: 100%;
    max-width: 480px;
    display: flex;
    height: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
      max-height: calc(100% - 34px);
        flex-direction: row-reverse;
        }

        @keyframes slideUp {
            from { transform: translateY(20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* --- Left Side Content --- */
        .coupon-left {
             padding: 9px 2%;
            flex: 1;
        }

        .coupon-title {
            text-transform: uppercase;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 1.5px;
            color: var(--primary-color);
            margin-bottom: 8px;
            display: block;
            width: 94%;
        }

        .coupon-code-wrapper {
            display: flex;
            align-items: center;
            gap: 12px;
            margin: 0px 0;
        }

        .coupon-code {
               font-family: 'Monaco', monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--accent-bg);
    padding: 1px 16px;
    border: 2px dashed var(--primary-color);
    border-radius: 7px;
        }

        .copy-btn {
            font-size: 13px;
            color: var(--primary-color);
            cursor: pointer;
            background: none;
            border: none;
            font-weight: 700;
            text-decoration: underline;
        }

        .coupon-desc {
            color: var(--text-muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 9px;
    margin-top: 5px;
        }

        .coupon-info-grid {
         display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 3px dashed var(--border-color);
    padding-top: 10px;
        }

        .info-item label {
            display: block;
            font-size: 11px;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        .info-item span {
            font-weight: 700;
            color: var(--text-main);
            font-size: 13px;
        }

        /* --- Right Side (The "Ticket" Look) --- */
        .coupon-right {
            background: var(--primary-color);
            width: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        /* Cut-out circles for ticket effect */
        .coupon-right::before {
            content: "";
            position: absolute;
            left: -8px;
            top: 0;
            bottom: 0;
            width: 16px;
            background-image: radial-gradient(circle, var(--bg-color) 8px, transparent 8px);
            background-size: 16px 32px;
        }

        .discount-label {
            transform: rotate(-90deg);
            color: white;
            white-space: nowrap;
            text-align: center;
        }

        .discount-label .amount {
            font-size: 17px;
            font-weight: 900;
            display: block;
        }

        .discount-label .text {
            font-size: 14px;
            letter-spacing: 4px;
            font-weight: 300;
        }

        .order_track_submit_btn button {
    min-height: 45px;
    padding-inline: 35px;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 16px;
    color: #fff;
    border: none;
    border-radius: var(--normal-border-radius);
    transition: transform 0.25s ease-in-out;
    cursor: pointer;
    font-family: var(--main-font-family);
}

@media (min-width: 769px) {
    .order_track_submit_btn {
        position: static;
        bottom: auto;
        margin-top: 12px;
        margin-bottom: 13%;
        padding: 0 2%;
        background: transparent;
        z-index: auto;
    }
}

        .close-btn {
    position: absolute;
    top: 7px;
    right: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    /* color: white; */
    width: 29px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
        }

        .close-btn:hover { background: rgba(255,255,255,0.3); } 
