body{
     background:#fff;
}
#UPI img {
    display: block !important;
    width: 100%; /* Adjust size if needed */
    max-width: 300px;
}
.collapse-content {
            display: none;
            padding: 10px;
           
            border-radius: 5px;
        }

.checkout-steps {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0px;
    max-width: 1240px;
     align-items: center;
      margin: 0 auto;
}

.steps {
    display: flex;
    justify-content: center;  
    align-items: center;
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto; 
    position: relative;
     flex-wrap: nowrap;
     list-style:none;
      padding: 0;
}
.step {
    flex: 1;
     align-items: center;
    text-align: center;
    position: relative;
    font-size: 16px;
    font-weight: bold;
    color: #6c757d;
     padding: 0;
    transition: 0.3s;
    cursor: pointer;
}

/* Circle Number */
.circle {
    display: inline-flex;
    width: 45px;
    height: 45px;
    background-color: #e9ecef;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    z-index: 2;
     margin: 0 auto;
}

/* Label (Step Name) */
.label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: normal;
    color: #333;
}

/* Connecting Line */
/*.line {*/
/*    position: absolute;*/
/*    height: 12px;*/
/*    background-color: #e9ecef;*/
/*    width: calc(100% - 0px); */
/*    top: 25px;*/
/*    left: 60%;*/
/*    transform: translateX(-50%) ;*/
/*    z-index: 1;*/
/*    justify-content: center;*/
/*    align-items: center;*/

/*}*/

.line {
    position: absolute;
    height: 12px; 
    background-color: #e9ecef;
    width: 100%; 
    top: 30%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1;
     padding: 0;
}


.step.active {
    color: #007bff;
}

.step.active .circle {
    background-color: #007bff;
    color: white;
}

.step.active .line {
    background-color: #007bff;
}

.step.viewed {
    color: #ff9800 !important;
}

.step.viewed .circle {
    background-color: #ff9800;
    color: white;
}

.step.viewed .line {
    background-color: #ff9800;
}

.step.disabled {
    pointer-events: none;
    color: #adb5bd;
}

/* Content Box */
.tab-content {
    margin-top: 20px;
    padding: 20px;
   
    border-radius: 8px;
    /*text-align: center;*/
}
/*Address tab*/
.address-container {
    max-width: 1000px; /* Increase the max width */
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    /*border-radius: 10px;*/
    /*box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);*/
}
/*your order*/
.yourorder-container{
     max-width: 1240px; 
    width: 100%;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
}
@media (max-width: 768px) {
    .steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
  
        text-align: center;
        width: 85%;
        position: relative;
    }

    .step {
        position: relative;
        text-align: center;
    }

    .circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 0 auto;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: gray; /* Default gray */
        color: white;
        transition: background 0.3s ease-in-out;
    }

    .label {
        font-size: 12px;
        text-align: center;
        display: block;
        margin-top: 5px;
    }

    /* Lines between steps */
    .line {
        position: absolute;
        width: 100%;
        height: 5px;
        background-color: gray; /* Default gray */
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        transition: background 0.3s ease-in-out;
        
    }

    .line-vertical {
        position: absolute;
        width: 3px;
        height: 30px;
        background-color: gray; /* Default gray */
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
        transition: background 0.3s ease-in-out;
    }

   
    .address-container {
   
    margin: 0 auto;
    padding: 0;
   
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    
}

}

/*Address container*/

.checkoutbtn {
   width: fit-content !important; 
    padding: 8px 16px; /* Adds spacing */
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-group .row .checkoutbtn  {
    margin-top: 0 !important; 
    margin-bottom: 0 !important; 
}

/*order summary address*/
.address-card {
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease-in-out;
}

.address-card:hover {
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
    transform: scale(1);
}

.address-radio {
    transform: scale(1.3);
    margin-right: 10px;
}

.edit-btn {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.form-check-label {
    cursor: pointer;
}

/*left side product css*/

.order-summary-wrapper { 
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Trending View Styling */
.trending-view {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease-in-out;
}

.trending-view:hover {
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.08);
}

/* Order Table Styling */
.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table th, 
.order-table td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    vertical-align: middle;
}

.order-table th {
    font-weight: bold;
    /*text-transform: uppercase;*/
}

/* Product Thumbnail */
.product-thumbnail img {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.product-thumbnail img:hover {
    transform: scale(1.05);
}

.product-name span {
    font-weight: 500;
    font-size: 16px;
}

.product-quantity {
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
}

.product-total {
    font-weight: bold;
    font-size: 16px;
}

.cart-subtotal td, 
.order-total td, 
.order-total th {
    /*text-align: right !important;*/
    /*font-size: 18px;*/
    font-weight: bold;
    padding: 12px;
}

.btn-primary.checkoutbtn {
    padding: 10px 20px;
    font-size: 16px;
    background: #ed711b;
    color: white;
    border: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.btn-primary.checkoutbtn:hover {
    background:#007bff;
}

.btn-dark:hover {
    background: #444;
}

@media (max-width: 768px) {
    .order-summary-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 5px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .table.order-table thead th {
        position: sticky;
        top: 0;
        background: #f8f9fa;
        z-index: 2;
        padding: 10px;
        text-align: left;
    }

    .table-responsive:first-child {
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100%;
    }

    .table-responsive:last-child {
        overflow: hidden;
    }

    .table-responsive:first-child::-webkit-scrollbar {
        height: 8px;
    }

    .table-responsive:first-child::-webkit-scrollbar-thumb {
        background: #b0b0b0;
        border-radius: 10px;
    }

    .table-responsive:first-child::-webkit-scrollbar-thumb:hover {
        background: #888;
    }

    .table.order-table {
        width: 100%;
        border-collapse: collapse;
    }

    .table.order-table tbody tr {
        border-bottom: 1px solid #ddd;
    }

    .product-item td {
        vertical-align: middle;
        padding: 10px;
        white-space: nowrap;
    }

    .product-thumbnail img {
        border-radius: 5px;
        max-width: 60px;
    }

    .order-total,
    .cart-subtotal {
        font-weight: bold;
        padding: 10px;
        text-align: right;
        overflow: hidden;
    }
}

    /* Checkout Button */
    .checkoutbtn {
        background: #28a745;
        color: white;
        font-weight: bold;
        padding: 12px;
        width: 100%;
        border: none;
        border-radius: 5px;
        transition: 0.3s;
    }

    .checkoutbtn:hover {
        background: #218838;
    }

/* Ensure first address is visible on load */
.address-card.default-selected-address .card-body {
    opacity: 1;
    max-height: 300px;
    padding: 15px;
}

/* Address card */
.address-card {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.address-card:hover {
    max-width: 100%;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Card header */
.card-header {
    background: #f8f9fa;
    font-weight: bold;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

.card-header:hover {
    background: #ed711b;
    color: #fff;
}

/* Hidden by default */
/* Hidden by default */
.card-body {
    background: #fff;
    padding: 0 15px;
    border-top: 1px solid #e0e0e0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.5s ease-in-out, padding 0.5s ease-in-out;
}

/* Show when active */
.address-card.active .card-body {
    opacity: 1;
    max-height: 300px;
    padding: 15px;
}

/* Ensure first address is always visible */
.address-card.default-selected-address {
    border: 2px solid #ed711b;
    box-shadow: 0px 4px 6px rgba(237, 113, 27, 0.3);
}

.address-card.default-selected-address .card-body {
    opacity: 1;
    max-height: 300px;
    padding: 15px;
}

/* Radio buttons */
.address-radio {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ed711b;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-right: 10px;
}

.address-radio:checked {
    background-color: #ed711b;
    color: white;
}

.address-radio:checked::after {
    content: "";
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.address-radio:checked + label {
    font-weight: bold;
}


/* Payment Method Links */
.payment-container {
    max-width: 900px; 
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    background: #fff;
  overflow-y: auto; 
}
@media (max-width: 768px) {
    .payment-container {
        width: 100%;
        /*padding: 0 15px;*/
        
    }
}
.payment-accordion .card-header a {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    padding: 12px;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
    border: 2px solid transparent;
}

.payment-accordion .card-header a i {
    color: #ED711B;
    margin: 0 15px;
    font-size: 18px;
}

.payment-accordion .card-header {
    border-radius: 8px;
    transition: border-color 0.3s ease-in-out;
    border: 2px solid transparent;
}

.payment-accordion .card-header:hover {
    border-color: #ED711B;
    background-color:fff !important;
}

.payment-accordion .card-body {
    padding: 15px;
    /*background-color: #ED711B;*/
    border-left: 3px solid #ED711B;
    display: none;
}
.payment-accordion .card-body img {
    width: 150px;
    margin-top: 10px;
}



#apply_coupon_code {
    border: none;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

#apply_coupon_code:hover {
    background-color: #d86017;
}
.payment-card-head:hover {
     border-color: #ED711B;
    background-color: #fff !important;
}
.fa-shopping-cart {
    margin-right: 8px; /* Adjust spacing as needed */
}
@media (max-width: 768px) {
 

    .payment-accordion .card-header a {
        font-size: 14px;
        padding: 10px;
    }

    .payment-accordion .card-header a i {
        font-size: 16px;
        margin: 10px 10px;
    }

    .payment-accordion .card-body img {
        width: 120px;
    }

    .form-select, .form-control {
        font-size: 14px;
        padding: 8px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .payment-accordion .card-header a {
        font-size: 13px;
        padding: 8px;
    }

    .payment-accordion .card-header a i {
        font-size: 14px;
        margin: 0 20px;
    }

    .payment-accordion .card-body img {
        width: 100px;
    }

    .btn {
        font-size: 14px;
    }
}
/*Coupon code*/
#coupon_code1 {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid  #e8eaec ;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease-in-out;
}

#coupon_code1:focus {
    border-color: #d86017;
    outline: none;
}

#coupon_code1 option {
    padding: 10px;
    font-size: 14px;
}

@media (max-width: 768px) {
    #coupon_code {
        font-size: 14px;
        padding: 8px;
    }
}

.button-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 10px;
    flex-wrap: nowrap;
}

.btn-apply {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    background-color: #ED711B;
    color: #fff;
    border: 2px solid #ED711B;
}

.btn-apply:hover {
    background-color: #007bff !important;
   color:white !important;
}

.btn-cancel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-align: center;
    background-color: #ccc;
    color: #333;
    border: 2px solid #aaa;
}

.btn-cancel:hover {
    background-color: #999;
    border-color: #777;
}

@media (max-width: 576px) {
    .button-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .btn-apply, .btn-cancel {
        width: auto;
        min-width: 120px;
    }
}

.payment-card-head {
    background-color: #fff;
    border: 2px solid  #f8f9fa !important;
    padding: 12px 15px;
    border-radius: 8px;
    /*box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);*/
    margin:5px;
}

@media (max-width: 576px) {
    .payment-card-head {
        padding: 10px;
        border-radius: 5px;
    }
}
/* Payment Container */
.payment-container {
    width: 100%;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-tab {
    flex: 1;
    background:  #ED711B;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color:#fff;
    transition: 0.3s;
    border: 2px solid transparent;
    text-align: center;
}

.payment-tab i {
    margin-right: 5px;
}

.payment-tab.active {
    background: #007bff;
    color: #fff;
    border: 2px solid #0056b3;
}

/* Payment Content */
.payment-body {
    display: none;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Show Selected Content */
.payment-body.show {
    display: block;
}

/* Input Fields */
.payment-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Apply Button */
.payment-btn {
    background: #ED711B;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    
}

.payment-btn:hover {
    background:  #007bff;
}

/* Image Styling */
.payment-body img {
    width: 250px;
    margin-top: 10px;
    height:auto;
}
@media screen and (max-width: 768px) {
    .payment-body img {
        width: 250px;
    }
}

@media screen and (max-width: 480px) {
    .payment-body img {
        width: 250px;
    }
}

.payclose-btn {
        background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    padding: 5px;
    transition: color 0.3s ease-in-out;
    }
.first-address {
    background-color: #f8f9fa; /* Light grey background */
    border: 2px solid #ff6600; /* Highlight with orange border */
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}


.default-selected-address {
    border: 2px solid #ff6600 !important;  /* Highlighted border */
    box-shadow: 0px 2px 6px rgba(255, 102, 0, 0.2); /* Light shadow for effect */
    border-radius: 8px; /* Soft edges */
    padding: 10px;
}

.default-selected-address .badge {
    background-color: transparent !important;  /* No background */
   /* color: #ED711B !important;   Just an orange text */
    font-size: 12px;
    padding: 4px 8px;
    /*border: 1px solid  #ED711B;*/
    border-radius: 4px;
    font-weight: bold;
}

.default-selected-address strong {
    font-weight: bold;
}

.default-selected-address .card-header {
    border-bottom: none !important; /* Remove extra lines */
}

.default-selected-address .card-body {
    padding: 8px;
}




