/* --- Cart Page Modern Card Layout --- */

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: flex-start;
}

.cart-items-list .product-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px #0001;
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.cart-items-list .product-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-items-list .product-card p {
    margin: 0 0.5rem 0 0;
    font-size: 1rem;
    flex: 1;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    background: #f4f4f4;
    margin-right: 1.5rem;
}

.cart-product-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.cart-product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #23272d;
    margin-bottom: 0.2rem;
}

.cart-product-qty, .cart-product-price {
    font-size: 1.08rem;
    color: #444;
}

.remove-cart-btn {
    margin-top: 0.7rem;
    background: #e76f51;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.15s;
}
.remove-cart-btn:hover {
    background: #ff9800;
}


.cart-container {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    gap: 2.2rem;
    max-width: 1150px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}
.cart-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(44,62,80,0.11);
    padding: 3.2rem 2.2rem 2.6rem 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}
.cart-card h2 {
    font-size: 2.1rem;
    font-weight: 900;
    color: #23272d;
    margin-bottom: 1.2rem;
    text-align: center;
}
.cart-card p {
    color: #444;
    font-size: 1.18rem;
    margin-bottom: 2.2rem;
    text-align: center;
}
.cart-card .cart-empty-btn {
    background: #ff6a00;
    color: #fff;
    font-size: 1.13rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 0.95rem 2.2rem;
    cursor: pointer;
    transition: background 0.15s;
}
.cart-card .cart-empty-btn:hover {
    background: #ff9800;
}
.cart-summary {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(44,62,80,0.11);
    padding: 2.5rem 2.2rem 2.2rem 2.2rem;
    margin-bottom: 2rem;
    min-width: 320px;
}
.cart-summary h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #23272d;
    margin-bottom: 1.2rem;
}
.cart-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.4rem;
}
.cart-summary-table td {
    font-size: 1.09rem;
    padding: 0.5rem 0;
    color: #222;
}
.cart-summary-table td:last-child {
    text-align: right;
    font-weight: 700;
}
.cart-summary-total-row td {
    font-size: 1.15rem;
    font-weight: 900;
    color: #23272d;
    padding-top: 0.8rem;
}
.cart-summary .cart-summary-btn,
.cart-summary .cart-summary-btn-secondary {
    width: 100%;
    padding: 1.1rem 0;
    border-radius: 12px;
    font-size: 1.12rem;
    font-weight: 700;
    border: none;
    margin-top: 0.8rem;
    margin-bottom: 0.7rem;
    cursor: pointer;
    transition: background 0.16s;
}
.cart-summary .cart-summary-btn {
    background: #ff6a00;
    color: #fff;
}
.cart-summary .cart-summary-btn:hover {
    background: #009688;
}
.cart-summary .cart-summary-btn-secondary {
    background: #fff;
    color: #ff6600;
    border: 2px solid #ff6600;
}
.cart-summary .cart-summary-btn-secondary:hover {
    background: #ff6600;
    color: #fff;
}
@media (max-width: 900px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cart-summary {
        max-width: 540px;
        margin: 0 auto 2rem auto;
        min-width: unset;
    }
}
@media (max-width: 600px) {
    .cart-card, .cart-summary {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
    .cart-container {
        padding: 0 0.2rem;
    }
}
/* --- End Cart Page Modern Card Layout --- */
