.cart-section {
    padding: 80px 0;
    min-height: 60vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 30px;
    padding: 30px;
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cart-item-price {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.quantity-label {
    font-size: 14px;
    color: var(--text-light);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background: var(--white);
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.quantity-value {
    width: 50px;
    text-align: center;
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.cart-item-remove:hover {
    color: #d32f2f;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.cart-item-total {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', serif;
}

.cart-summary {
    position: sticky;
    top: 120px;
    background: var(--white);
    padding: 40px;
    border: 2px solid var(--primary-color);
    height: fit-content;
}

.cart-summary h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
}

.summary-line.total {
    border-bottom: none;
    border-top: 2px solid var(--primary-color);
    margin-top: 10px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.btn-checkout {
    width: 100%;
    margin: 30px 0 15px;
    padding: 18px;
}

.btn-continue {
    display: block;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.btn-continue:hover {
    color: var(--primary-color);
}

.cart-empty {
    text-align: center;
    padding: 100px 20px;
}

.cart-empty i {
    font-size: 80px;
    color: var(--secondary-color);
    margin-bottom: 30px;
    opacity: 0.3;
}

.cart-empty h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cart-empty p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item-image {
        width: 100%;
        height: 250px;
    }
    
    .cart-item-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
