/*
!**
 *!

!* Checkout container *!
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 991.98px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
}

!* Checkout steps *!
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.checkout-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    transition: color 0.3s ease;
}

.step.active .step-number {
    background-color: #3D7A67;
    border-color: #3D7A67;
    color: white;
}

.step.active .step-title {
    color: #3D7A67;
    font-weight: 600;
}

.step.completed .step-number {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.step.completed .step-title {
    color: #28a745;
}

!* Form sections *!
.checkout-section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.checkout-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.checkout-section-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.checkout-section-header .step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #3D7A67;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
}

!* Payment options *!
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-option {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-option:hover {
    background-color: #f8f9fa;
}

.payment-option.selected {
    border-color: #3D7A67;
    background-color: rgba(61, 122, 103, 0.05);
}

.payment-option-header {
    display: flex;
    align-items: center;
}

.payment-option-radio {
    margin-right: 1rem;
}

.payment-option-title {
    font-weight: 600;
    margin: 0;
}

.payment-option-icon {
    margin-left: auto;
    font-size: 1.5rem;
    color: #6c757d;
}

.payment-option-content {
    margin-top: 1rem;
    padding-left: 2rem;
    color: #6c757d;
}

!* Order summary *!
.order-summary {
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    position: sticky;
    top: 2rem;
}

.order-summary-header {
    padding: 1.5rem;
    background-color: #3D7A67;
    color: white;
}

.order-summary-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.order-summary-body {
    padding: 1.5rem;
}

.order-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #555;
}

.order-products {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.order-product {
    display: flex;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.order-product-image {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.order-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-product-details {
    flex: 1;
}

.order-product-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.order-product-price {
    color: #6c757d;
    font-size: 0.9rem;
}

.order-product-quantity {
    padding: 0 0.5rem;
    min-width: 24px;
    height: 24px;
    border-radius: 12px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.order-total-divider {
    height: 1px;
    background-color: #ddd;
    margin: 1rem 0;
}

.order-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: #3D7A67;
    border-color: #3D7A67;
    font-weight: 600;
    transition: all 0.3s;
}

.checkout-btn:hover {
    background-color: #356a59;
    border-color: #356a59;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

!* Shipping address same as billing checkbox *!
.same-address-checkbox {
    margin: 1rem 0 2rem;
}

!* Form validation *!
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

!* Order confirmation button *!
.btn-confirm-order {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

!* Breadcrumb navigation *!
.checkout-breadcrumb {
    margin-bottom: 2rem;
}

.checkout-breadcrumb .breadcrumb {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.checkout-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

!* Mobile responsive adjustments *!
@media (max-width: 768px) {
    .checkout-section {
        padding: 1.5rem;
    }

    .checkout-steps {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 1rem;
    }

    .checkout-steps::before {
        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;
        width: 2px;
        height: 100%;
    }

    .step {
        flex-direction: row;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .step-number {
        margin-bottom: 0;
        margin-right: 1rem;
    }
}*/
