

body.contact-page {
    position: relative;
    min-height: 100vh;
    background-color: transparent; /* base fallback */
    overflow-x: hidden;
    font-family: 'Questrial', sans-serif;
}

body.contact-page::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: -1;
}
/* ========== Shopping Cart Container Styles ========== */
.cart-container {
    max-width: 960px; /* Restrict maximum width */
    margin: 40px auto; /* Center the cart on the page */
    background-color: #ffffff; /* White background for readability */
    padding: 24px 32px; /* Add padding around the container */
    border-radius: 12px; /* Add rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    font-family: 'Questrial', sans-serif;

}

/* ========== Heading ========== */
.cart-container h1 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-align: center;
}

/* ========== Cart Table ========== */
.table {
    width: 100%; /* Enable full width for the table */
    border-collapse: collapse; /* Remove spacing between table cells */
    margin-bottom: 20px;
    background-color: #f9f9f9; /* Light gray background for the table rows */
}

/* Table Headers */
.table thead th {
    background-color: #343a40; /* Dark gray for headers */
    color: #fff; /* White text */
    padding: 0.8rem;
    text-align: left;
    font-size: 1.4rem;
    text-transform: uppercase;
}

/* Table Rows */
.table tbody tr {
    border-bottom: 2px solid #ddd; /* Subtle line between rows */
}

.table tbody td {
    padding: 0.8rem;
    font-size: 1.3rem;
}

/* Table Footer */
.table tfoot td {
    font-size: 1.4rem;
    font-weight: bold;
    padding: 1rem 0;
}

/* Subtotal Column Styling */
.table tbody td:nth-child(4),
.table tfoot td:nth-child(4) {
    text-align: right; /* Align price values to the right */
}

/* ========== Buttons and Form Inputs ========== */
.btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #000;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: black;
    color: #fff;
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    background-color: #bd2130;
}

/* Input Quantity Field */
.form-control-sm {
    font-size: 1rem;
    height: 30px;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    text-align: center;
    transition: border-color 0.3s ease-in-out;
}

.form-control-sm:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

/* ========== Button Layout ========== */
.d-flex {
    justify-content: flex-end;
}

.d-flex a {
    margin-left: 10px;
}

/* ========== Empty Cart Message ========== */
.text-center {
    font-size: 1.4rem;
    font-style: italic;
    color: #888;
}

/* ========== Responsive Design ========== */
@media (max-width: 768px) {
    .cart-container {
        padding: 20px 16px;
    }

    .table td,
    .table th {
        font-size: 1.2rem;
    }

    .d-flex {
        flex-direction: column;
        gap: 15px;
    }

    .d-flex a {
        width: 100%;
        text-align: center;
    }
}
