/* Cart Page Styles */
.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cart-header h1 {
    color: #2d3748;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cart-header p {
    color: #718096;
    font-size: 1.1rem;
}

.cart-items {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.cart-item-price {
    color: #c9a961;
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.2s;
}

.quantity-btn:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

.quantity-input {
    width: 60px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.25rem;
    font-weight: 500;
}

.remove-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #e53e3e;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.remove-btn:hover {
    background-color: #fed7d7;
}

.cart-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: fit-content;
}

.cart-summary h3 {
    margin-bottom: 1.5rem;
    color: #2d3748;
    font-size: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.summary-row.summary-total {
    border-top: 2px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    color: #2d3748;
    font-size: 1.1rem;
}

.checkout-btn {
    width: 100%;
    background: #c9a961;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background-color 0.2s;
}

.checkout-btn:hover {
    background: #b89452;
}

.empty-cart {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}

.empty-cart h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.continue-shopping {
    display: inline-block;
    background: #c9a961;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    margin-top: 1rem;
    transition: background-color 0.2s;
}

.continue-shopping:hover {
    background: #b89452;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cart-item {
        grid-template-columns: 60px 1fr auto;
        gap: 0.75rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}
