.checkout-container {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr;
    gap: 35px;
    max-width: 1280px;
    margin: 40px auto;
    padding: 35px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    font-family: "Outfit", sans-serif;
    position: relative;
    overflow: hidden;
}


@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.checkout-container .shipping-section,
.checkout-container .order-section {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.checkout-container .shipping-section {
    grid-column: 1 / 2;
  
}

.shipping-section .new-address{
      background-color: #f2fdf2;
}

.checkout-container .order-section {
    grid-column: 2 / 3;
}

.checkout-container .shipping-section h2 {
    color: #fff;
    background: #0a4c36;
    padding: 5px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 5px;
    font-size: 18px;
    margin-bottom: 20px;
}

.checkout-container .order-section h2 {
    color: #fff;
    background: #40A944;
    padding: 5px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 5px;
    font-size: 18px;
    margin-bottom: 20px;
}

.checkout-container .saved-address {
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 5px;
    background: #effbed;
    transition: all 0.3s ease;
    width: 50%;
}

.checkout-container .saved-address p {
    margin: 10px 0;
    color: #34495e;
    font-size: 1em;
}


.checkout-container .new-address input,
.checkout-container .new-address select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: 0.3s;
}


.checkout-container .new-address button {
    width: 100%;
    padding: 10px;
    background: #eb5a07;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.checkout-container .order-details table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.checkout-container .order-details th,
.checkout-container .order-details td {
    padding: 10px;
    text-align: left;
}

.checkout-container .order-details .checkout-totals {
    border-radius: 5px;
}

.checkout-container .order-details .total-row {
    font-weight: 700;
}

.checkout-container .coupon-section {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.checkout-container .coupon-section input {
    flex: 1;
    padding: 14px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    background: #fafafa;
}

.checkout-container .coupon-section button {
    padding: 14px 25px;
    background: #eb5a07;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.checkout-container .proceed-btn {
    width: 100%;
    padding: 12px;
    background: #eb5a07;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
    margin-top: 30px;
    transition: 0.3s ease;
}

@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .checkout-container .shipping-section,
    .checkout-container .order-section {
        grid-column: auto;
    }

    .checkout-container .coupon-section {
        flex-direction: column;
    }
}

.checkout-container .checkout-address {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

@media (max-width: 520px) {
    .checkout-container .checkout-address {
        display: block;

    }
    .checkout-container .checkout-address .saved-address {
        width: 100%;
    }
}

.checkout-container .payment-options {
    margin-top: 25px;

}

.checkout-container .payment-options input {
    margin-right: 12px;
    accent-color: #ff6f61;
    transform: scale(1.2);
    margin-left: 10px;

}

.checkout-container .payment-options label {
    color: #34495e;
    font-size: 1.1em;
    font-weight: 400;
}