.cart-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: none;
    max-width: 1000px;
    margin: 0 auto;
}

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

.brand-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.brand-icon i {
    font-size: 2rem;
    color: white;
}

.cart-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.cart-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #28a745;
}

.item-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.item-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.item-details h5 {
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    color: #333;
}

.item-type {
    margin: 0 0 0.5rem 0;
}

.type-badge {
    background: #e9ecef;
    color: #666;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.item-price {
    margin: 0;
    font-weight: 600;
    color: #28a745;
    font-size: 1.1rem;
}

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

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

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

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #28a745;
    background: white;
    color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.quantity-btn:hover:not(:disabled) {
    background: #28a745;
    color: white;
    transform: scale(1.1);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-display {
    font-weight: 600;
    color: #333;
    min-width: 30px;
    text-align: center;
}

.item-subtotal {
    font-weight: 600;
    color: #28a745;
    font-size: 1.1rem;
    margin: 0;
    min-width: 80px;
    text-align: right;
}

.remove-form {
    margin: 0;
}

.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.remove-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.order-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border: 2px solid #e9ecef;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.summary-header i {
    color: #28a745;
    font-size: 1.2rem;
}

.summary-header h5 {
    margin: 0;
    font-weight: 600;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.summary-row.total {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.summary-value {
    color: #28a745;
    font-weight: 600;
}

.summary-total {
    color: #28a745;
    font-weight: 700;
    font-size: 1.3rem;
}

.summary-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0.5rem 0;
}

.checkout-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 1.5rem;
}

.checkout-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.checkout-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.empty-cart {
    text-align: center;
    padding: 3rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.empty-icon i {
    font-size: 3rem;
    color: #6c757d;
}

.empty-title {
    color: #333;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid;
}

.action-btn.primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
}

.action-btn.primary:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    color: white;
    text-decoration: none;
}

.action-btn.secondary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: #28a745;
}

.action-btn.secondary:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.security-note i {
    color: #28a745;
}

@media (max-width: 768px) {
    .cart-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cart-item {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .item-controls {
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .cart-title {
        font-size: 2rem;
    }
    
    .brand-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cart-header {
        padding: 30px 20px;
    }
    
    .brand-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .cart-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .cart-card {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .cart-header {
        padding: 25px 15px;
    }
    
    .brand-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .cart-title {
        font-size: 1.8rem;
    }
    
    .cart-subtitle {
        font-size: 1rem;
    }
    
    .cart-item {
        padding: 12px;
    }
    
    .item-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .quantity-controls {
        justify-content: center;
    }
    
    .remove-btn {
        width: 100%;
        justify-content: center;
    }
    
    .item-subtotal {
        text-align: center;
        font-weight: bold;
        font-size: 1.1rem;
    }
    
    .summary-header {
        padding: 15px;
    }
    
    .summary-content {
        padding: 15px;
    }
}
