/* ==========================================================================
   Catalog empty state — zero risultati
   ========================================================================== */

@keyframes catalog-empty-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.catalog-empty {
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    padding: 3rem 2rem 3.5rem;
    background: linear-gradient(160deg, #ffffff 0%, #f8fafc 55%, #fff5f5 100%);
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    animation: catalog-empty-float 0.5s ease-out;
}

.catalog-empty__illustration {
    width: min(280px, 72vw);
    margin: 0 auto 1.75rem;
    animation: catalog-empty-float 4s ease-in-out infinite;
}

.catalog-empty__illustration svg {
    width: 100%;
    height: auto;
    display: block;
}

.catalog-empty__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.75rem;
    letter-spacing: -0.02em;
}

.catalog-empty__text {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0 auto 2rem;
    max-width: 520px;
    line-height: 1.65;
}

.catalog-empty__text strong {
    color: #374151;
    font-weight: 700;
}

.catalog-empty__suggestions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.catalog-empty__suggestion {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.15rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.catalog-empty__suggestion:hover {
    border-color: #fecaca;
    box-shadow: 0 8px 24px rgba(224, 32, 32, 0.08);
    transform: translateY(-2px);
}

.catalog-empty__suggestion-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 1.1rem;
}

.catalog-empty__suggestion-body {
    flex: 1;
    min-width: 0;
}

.catalog-empty__suggestion-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.catalog-empty__suggestion-desc {
    display: block;
    font-size: 0.82rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.65rem;
}

.catalog-empty__suggestion-action {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #dc2626;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.catalog-empty__suggestion-action:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.catalog-empty__support {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.catalog-empty__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.catalog-empty__cta--whatsapp {
    background: #25d366;
    color: #fff !important;
}

.catalog-empty__cta--whatsapp:hover {
    background: #1ebe57;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.catalog-empty__cta--ghost {
    background: #fff;
    color: #374151 !important;
    border: 1px solid #d1d5db;
}

.catalog-empty__cta--ghost:hover {
    border-color: #dc2626;
    color: #dc2626 !important;
}

.catalog-empty-row > td {
    padding: 0 !important;
    border: none !important;
}

.catalog-empty-row .catalog-empty {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

@media (max-width: 768px) {
    .catalog-empty {
        padding: 2.25rem 1.25rem 2.5rem;
    }

    .catalog-empty__suggestions {
        grid-template-columns: 1fr;
    }

    .catalog-empty__support {
        flex-direction: column;
        align-items: stretch;
    }

    .catalog-empty__cta {
        justify-content: center;
    }
}