:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc;
}

.navbar-brand { font-size: 1.25rem; }

.cart-btn { border-radius: 50px; padding: 0.5rem 1rem; }
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
}

.product-card {
    border: none;
    border-radius: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1) !important;
}

.product-img, .product-img-placeholder {
    height: 200px;
    object-fit: cover;
}

.add-to-cart-btn {
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
}

.add-to-cart-btn:active { transform: scale(0.98); }

.success-animation {
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}