:root {
    --primary: #4f46e5;
    --secondary: #0f172a;
    --surface: #f8fafc;
}

body {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: #0f172a;
    min-height: 100vh;
}

.hero {
    background: radial-gradient(circle at top center, rgba(79, 70, 229, 0.18), transparent 40%),
                linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.8));
}

.hero h1,
.hero p {
    animation: fadeInUp 1s ease both;
}

.product-card {
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 45px rgba(15, 23, 42, 0.16);
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.section-title {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    letter-spacing: -0.03em;
}

.btn-outline-primary {
    border-width: 2px;
}

.offcanvas {
    background: #ffffff;
}

#cart-items .list-group-item {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

#cart-items .item-meta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}

.cart-badge {
    background: var(--primary);
    color: #fff;
}

.toast-notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    transform: translateY(-20px);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 220px;
    }
}
