.cart-main {
    padding: 60px 0;
    min-height: 500px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.empty-cart i {
    color: #bdc3c7;
    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.empty-cart p {
    margin-bottom: 30px;
    color: #7f8c8d;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    background: #f8f9fa;
    padding: 15px;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    align-items: center;
    padding: 20px 15px;
    border-bottom: 1px solid #ecf0f1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-product h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: #ecf0f1;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: #bdc3c7;
}

.qty-input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 18px;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #c0392b;
}

.cart-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 0;
}

.summary-line.total {
    border-top: 2px solid #ddd;
    margin-top: 10px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
}

.btn-checkout, .btn-continue {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn-checkout {
    background: #27ae60;
    color: white;
}

.btn-checkout:hover {
    background: #229954;
}

.btn-continue {
    background: #3498db;
    color: white;
}

.btn-continue:hover {
    background: #2980b9;
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cart-product {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    
    .cart-quantity {
        justify-content: center;
    }
    
    .cart-price, .cart-subtotal {
        text-align: center;
    }
    
    .cart-remove {
        text-align: center;
    }
}