:root {
    --yellow: #e6cf6f;
    --red: #b31921;
    --green: #8bc440;
    --black: #000;
    --white: #fff;
}


.checkout-section {
    margin-top: 200px;
}

@media (max-width:991px) {
    .checkout-section {
        margin-top: 120px !important;
    }
}

.checkout-form-area,
.order-summary-area {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
    /* Optional subtle shadow */
    border: 1px solid var(--green);

}

.checkout-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #253D4E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.form-group-custom label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #7E7E7E;
    margin-bottom: 6px;
    display: block;
}

.form-group-custom .form-control,
.form-group-custom .form-select {
    background-color: #F9F9F9;
    /* Light background for inputs */
    border: 1px solid var(--green);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    color: #253D4E;
    box-shadow: none;
}

.form-group-custom .form-control:focus,
.form-group-custom .form-select:focus {
    border-color: #3BB77E;
    /* Green border on focus */
    /* box-shadow: 0 0 0 0.2rem rgba(59, 183, 126, 0.25); */
    /* Optional glow */
}

.form-group-custom .form-control.highlighted {
    /* For email in example */
    border-left: 3px solid #3BB77E;
}

.form-group-custom .input-group .form-control {
    /* For date picker */
    border-right: none;
}

.form-group-custom .input-group .input-group-text {
    background-color: #F9F9F9;
    border-left: none;
    color: #7E7E7E;
}

/* Schedule Delivery Toggle */
.schedule-delivery-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.schedule-delivery-toggle .form-check-input {
    width: 2.8em;
    /* Wider toggle */
    height: 1.4em;
    background-color: #ccc;
    border-color: #ccc;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.schedule-delivery-toggle .form-check-input:checked {
    background-color: #253D4E;
    /* Dark blue/grey when on */
    border-color: #253D4E;
}

/* Payment Method Radios */
.payment-method-options .form-check {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    /* For stacked layout on mobile */
    transition: border-color 0.2s ease;
}

.payment-method-options .form-check:hover {
    border-color: #bbb;
}

.payment-method-options .form-check-input {
    border-color: #aaa;
}

.payment-method-options .form-check-input:checked {
    background-color: #253D4E;
    border-color: #253D4E;
}

.payment-method-options .form-check-input:checked+.form-check-label {
    color: #253D4E;
    font-weight: 600;
}

.payment-method-options .form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}


/* Order Summary Styles */
.order-summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f3f3f3;
}

.order-summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.order-summary-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #eee;
    margin-right: 15px;
}

.order-item-details .item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #253D4E;
    display: block;
}

.order-item-details .item-sku {
    font-size: 0.75rem;
    color: #aaa;
    display: block;
}

.order-item-details .item-price-summary {
    font-size: 0.85rem;
    color: #555;
    font-weight: 500;
}

.quantity-selector-summary {
    display: flex;
    align-items: center;
    margin-left: auto;
    /* Push to right */
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.quantity-selector-summary .btn-qty {
    background: transparent;
    border: none;
    color: #7E7E7E;
    padding: 0.3rem 0.5rem;
    font-size: 0.7rem;
    
}

.quantity-selector-summary .qty-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #253D4E;
    padding: 0 0.3rem;
}

.order-totals .total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.order-totals .total-row .label {
    color: #7E7E7E;
}

.order-totals .total-row .value {
    color: #253D4E;
    font-weight: 500;
}

.order-totals .grand-total .value {
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-confirm-order {
    background-color: #1A3A32 !important;
    /* Dark green from image */
    color: white !important;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    width: 100%;
    margin-top: 20px;
}

.btn-confirm-order:hover {
    background-color: #112722;
    color: white;
}

/* Responsive */
@media (max-width: 991.98px) {

    /* Tablet */
    .order-summary-area {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {

    /* Small Mobile */
    .payment-method-options {
        flex-direction: column;
    }

    .payment-method-options .form-check {
        width: 100%;
    }

    .checkout-section-title {
        font-size: 0.8rem;
    }

    .checkout-form-area,
    .order-summary-area {
        padding: 20px;
    }
}