.checkout_wrapper textarea {
    resize: vertical;
}
/* Hide the div if it has no children */
.billing_address_wrapper:empty {
  display: none;
}

/* .checkout_wrapper{
    display: flex;
    justify-content: center;
    gap: 40px;
    @media screen and (max-width: 972px) {
        flex-direction: column;
        align-items: center;
    }
} */
.checkout_wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    max-width: 1050px;
    width: 100%;
    gap: 30px;
    margin: 0 auto;
    align-items: start;
    @media(min-width:972px){
        grid-template-columns: repeat(12, 1fr);
        gap: 50px;
    }
}
/* .checkout_left_column{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    gap: 30px;
} */
.checkout_wrapper textarea {
    font-family: inherit;
}
.checkout_left_column {
    @media(min-width:972px){
        grid-column: span 6/ span 6;
    }
}
.checkout_left_column_form{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}


/* .checkout_right_column{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;

} */
.checkout_right_column {
    display: block;        
    align-self: start;  
    position: sticky;
    top: 120px;
    @media(min-width:972px){
        grid-column: span 6/ span 6;
    }
}
.checkout_right_column_card{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_subscription_wrapper,.shipping_address_save_wrapper,.seperate_billing_wrapper{
    display: flex;
    align-items: center;
    gap: 6px;
}

.segment_wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}
.contact_form{
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}
.cp_title{
    font-size: 26px;
}

._input{
    width: 100%;
    padding: 15px 10px;
    border-radius: 8px;
}

.option_wrapper{
    display: flex;
    border: 1px solid black;
    padding: 10px 10px;
    gap: 10px;
}
.option_main{
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.delivery_details_wrapper{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout_adress_row_group{
    display: flex;
    gap: 10px;
}

.address_wrapper{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary_wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.lineitems_wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    @media screen and (min-width: 972px) {
        max-height: 351px;
        overflow-x: auto;
        padding-top: 10px;
    }
}
.lineitem{
    display: flex;
    gap: 20px;
    width: 100%;
}

.lineitem_view{
    position: relative;
   
}
.lineitem_view p {
    position: absolute;
    padding: 5px;
    border-radius: 50px;
    height: 18px;
    top: -7px;
    right: -5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.lineitem_image{
    width: 60px;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.lineitem_info{
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.summary_breakdown_wrapper{
    display: flex;
    justify-content: space-between;
    width: 100%;
}


/* css by hiday */
.option_wrapper:not(:first-child) {
    margin-top: -1px;
}
.charge_info {
    display: flex;
    gap: 5px;
    align-items: center;
}
.charge_content .details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.digital_payment-info {
    display: flex;
    align-items: center;
    gap: 5px;
}
.order_now_button {
    border: none;
    outline: none;
    width: 100%;
    text-align: center;
    padding: 15px 10px;
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
    border-radius: 8px;
}
.desktop_submit_wrapper {
    display: block;
    @media screen and (max-width: 972px) {
        display: none;
    }
}

.cp_sum_total_label {
    font-size: 14px;
}

.summary_breakdown_wrapper:last-child .cp_sum_total_price_or_text {
    font-weight: 600;
}
.contact_title-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.summary_breakdown_wrapper:last-child {
    margin-top: 15px;
}
/* css by hiday */

.manual_payment_wrapper{
    display: flex;
    width: 100%;
    flex-direction: column;
}

.payment_wrapper{
    align-items: center;
}

.option_wrapper:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.option_wrapper:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* ============= Radio button custom css==================== */
.options_wrapper .option_wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  @media screen and (min-width: 1024px) {
    cursor: pointer;
  }
}

.options_wrapper .option_wrapper input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.options_wrapper .option_wrapper label.option_main {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 28px;
  transition: background-color 0.2s ease;
  @media screen and (min-width: 1024px) {
    cursor: pointer;
  }
}

.options_wrapper .option_wrapper label.option_main::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset 0 0 0 2px #e7e7e7;
  transition: all 0.25s ease;
}

.options_wrapper .option_wrapper label.option_main::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.options_wrapper .option_wrapper input[type="radio"]:checked + label.option_main::before {
  background-color: #fff;
}

.options_wrapper .option_wrapper input[type="radio"]:checked + label.option_main::after {
  transform: translateY(-50%) scale(1);
}

.payment_wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  @media screen and (min-width: 1024px) {
    cursor: pointer;
  }
}

.payment_wrapper input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment_wrapper label.manual_payment_wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 28px;
  transition: background-color 0.2s ease;
  @media screen and (min-width: 1024px) {
    cursor: pointer;
  }
}

.payment_wrapper label.manual_payment_wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: inset 0 0 0 2px #e7e7e7;
  transition: all 0.25s ease;
}

.payment_wrapper label.manual_payment_wrapper::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.25s ease;
}

.payment_wrapper input[type="radio"]:checked + label.manual_payment_wrapper::before {
  background-color: #fff;
}

.payment_wrapper input[type="radio"]:checked + label.manual_payment_wrapper::after {
  transform: scale(1);
}

.payment_wrapper label.manual_payment_wrapper:hover::before {
  transform: scale(1.05);
}
/* ============= Radio button custom css==================== */


/* ============= Checkbox button custom css==================== */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    transition: all 0.25s ease;
    vertical-align: middle;
    @media screen and (min-width: 1024px) {
        cursor: pointer;
    }
}

input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 3px;
    height: 8px;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.25s ease;
}
/* ============= Checkbox button custom css==================== */
.line_items_title {
    max-width: 150px;
}
.price__wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    @media screen and (min-width: 972px) {
        flex-direction: row;
        gap: 10px;
    }
}
.shipping_method_label {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 3px;
}
.shipping_rates_info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
