/* =========================================
    MAIN CONTAINER
========================================= */
.container {
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.shop-section-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 3em;
    text-align: center;
    color: var(--blue-primary);
    margin-bottom: 2rem;
    animation: fadeUpAnim 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* =========================================
    IMPAGINAZIONE DEI PRODOTTI
========================================= */
.shop-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.shop-grid > * {
    flex: 0 1 360px;
    max-width: 100%;
}

.shop-item {
    animation: shop-enter 600ms ease-out both;
    animation-delay: calc(var(--item-index, 0) * 100ms);
}

@keyframes shop-enter {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .shop-item {
        animation: none;
    }
}

/* =========================================
    TAG PER CORSO
========================================= */
.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}
.course-tag-badge {
    display: inline-flex;
    align-items: center;
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(79, 147, 224, 0.25);
    border: 1px solid var(--blue-primary);
    padding: 4px 12px;
    border-radius: 20px;
    line-height: 1.3;
}

/* =========================================
    STYLING DEL SINGOLO PRODOTTO
========================================= */
.shop-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 32px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.shop-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(79, 147, 224, 0.4) 0px 15px 40px, rgba(255, 255, 255, 0.15) 0px 0px 15px inset;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(50, 80, 115, 0.7);
}
.shop-card__title { font-family: 'Exo 2', sans-serif; font-size: 26px; color: white; }
.shop-card__features { list-style: none;  color: var(--text-muted);  margin-bottom: 20px;  padding-left: 0; }
.shop-card__price-label { font-size: 0.75rem; color: var(--warning); letter-spacing: 1px; font-weight: 600; text-transform: uppercase; }
.shop-card__price-text { font-size: 2rem; font-weight: 700; color: #fff; }