.cart-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 10px;
    border-top: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.cart-heading {
    text-align: center;
    font-size: 3rem;
    font-weight: lighter;
}

.cart-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}


/* General container for the cart */
.cart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding: 20px;
    align-items: center;

}

/* Table styles */
.cart-table-wrapper {
    width: 73%;
    border: 1px solid #ddd; /* Add a light border for distinction */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
    padding: 20px;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th,
.cart-table td {
    text-align: left;
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #ddd;
    font-size: 1.5rem;
}
.cart-table tbody tr:last-child td {
    border-bottom: none; /* No border below the last row */
}

.cart-table th {
    font-size: 1.5rem;
    font-weight: normal;
}

.cart-table td img {
    width: 80px;
    height: auto;
    margin-right: 10px;
}
.title-input {
    border: none; /* Remove input borders for a clean look */
    background-color: transparent; /* Transparent background */
    font-size: 1.2rem; /* Adjust font size */
    font-family: 'Georgia', serif; /* Example: Use a custom font */
    color: #333; /* Font color */
    width: 100%; /* Stretch to fit the available space */
    padding: 5px;
    text-align: left;
}
.quantity-input {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
}

.remove-button {
    background: none;
    border: none;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
}

.remove-button:hover {
    color: lightgrey;
}


/* Cart Summary */
.cart-summary-container{
    width: 25%; /* Increase the cart summary width */
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
    background-color: white;
    text-align: right; /* Align text to the right */
}
.cart-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}


.cart-summary h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.summary-row:nth-child(3) { /* Add line below Shipping */
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.proceed-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.proceed-button:hover {
    background-color: #444;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cart-container {
        flex-direction: column;
    }

    .cart-table-wrapper,
    .cart-summary-container {
        width: 100%; /* Stack both containers */
    }
}




