﻿.checkout-container {
    padding: 20px;
    font-family: Arial, sans-serif;
    background: #f9f9f9;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
}

    .breadcrumb a {
        color: #007bff;
        text-decoration: none;
    }

.checkout-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    /* grid-template-columns: 1fr 350px;  <-- removed grid to avoid conflict */
    /* gap: 20px; */
}

.checkout-form,
.order-card,
.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

    .checkout-form h2,
    .order-card h2 {
        margin-bottom: 15px;
    }

    .checkout-form form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .checkout-form input,
    .checkout-form textarea {
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 14px;
        width: 100%;
    }

    .checkout-form textarea {
        min-height: 80px;
    }

.checkbox,
.radio {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.order-card .item,
.order-card .total-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

    .order-card .total-row.total {
        font-size: 16px;
        border-top: 2px solid #eee;
        margin-top: 8px;
        padding-top: 8px;
        color: #ff4081;
    }

.btn-primary {
    width: auto;
    background: #ff4081 !important;
    color: white;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    margin-top: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn-primary:hover {
        background: #e73370;
    }

/* Order items */
.order-card .item span:last-child {
    font-weight: bold;
    font-size: 14px;
    margin-left: auto;
    display: inline-block;
    text-align: right;
}

.order-card .item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-card .product-img {
    width: 50px;
    height: 50px;
    padding-right: 10px;
}

/* Cards */
.billing-card,
.order-card {
    flex: 1 1 400px;
    min-width: 300px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .checkout-grid {
        flex-direction: column;
    }
}
.checkout-form form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 equal columns for better spacing */
    gap: 15px 20px; /* row and column gaps */
    align-items: start;
}

/* Make textarea span 2 columns to the right */
.checkout-form textarea {
    grid-column: 3 / 4; /* place the notes textarea in the third column */
    min-height: 80px;
    resize: vertical;
}

/* For inputs that should span 1 or 2 columns, add utility classes or target by name */
.checkout-form input[name="firstName"],
.checkout-form input[name="lastName"],
.checkout-form input[name="email"],
.checkout-form input[name="address"],
.checkout-form input[name="city"],
.checkout-form input[name="country"],
.checkout-form input[name="zip"],
.checkout-form input[name="telephone"] {
    width: 100%;
}

/* You can adjust the grid-column for specific inputs if needed, e.g. */
.checkout-form input[name="zip"] {
    grid-column: 1 / 2;
}

.checkout-form input[name="telephone"] {
    grid-column: 2 / 3;
}

label {
    display: flex;
    align-items: center; /* Aligns checkbox and text vertically */
    gap: 6px; /* Space between checkbox and text */
    font-size: 14px; /* Adjust as needed */
}

.checkout-form input[type="checkbox"] {
    margin: 0; /* Removes default top margin misalignment */
    transform: translateY(1px); /* Fine-tune vertical alignment */
    width: 30px;
}
.shp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}