/* =============================================
   PACCHETTI E OFFERTE – Stili dedicati
   ============================================= */

/* ===== LAYOUT PRINCIPALE ===== */
.pacchetti-main {
    max-width: 1100px;
    margin: 40px auto 60px;
    padding: 0 20px;
    min-height: 70vh;
}

/* ===== TITOLO PAGINA ===== */
.pacchetti-titolo {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 36px;
}

/* ===== SEZIONE GRIGLIA ===== */
.pacchetti-grid-section {
    width: 100%;
}

/* ===== GRIGLIA 3 COLONNE ===== */
.pacchetti-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== CARD PACCHETTO ===== */
.pacchetto-card {
    border: 2px solid #df4e8b;
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}

.pacchetto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(223, 78, 139, 0.18);
}

/* ===== IMMAGINE ===== */
.pacchetto-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f5f5f5;
}

.pacchetto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.pacchetto-card:hover .pacchetto-img {
    transform: scale(1.05);
}

/* ===== INFO INFERIORE ===== */
.pacchetto-info {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* ===== RIGA CATEGORIA + CARRELLO ===== */
.pacchetto-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.pacchetto-categoria {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pacchetto-carrello {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pacchetto-carrello:hover {
    transform: scale(1.18);
}

.pacchetto-carrello img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

/* ===== NOME PACCHETTO ===== */
.pacchetto-nome {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    line-height: 1.3;
}

/* ===== ORARIO RITIRO ===== */
.pacchetto-ritiro {
    font-size: 0.82rem;
    font-weight: 500;
    color: #888;
    line-height: 1.3;
}

/* ===== PREZZI ===== */
.pacchetto-prezzi {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.pacchetto-prezzo-nuovo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
}

.pacchetto-prezzo-vecchio {
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    text-decoration: line-through;
}

/* ===== NAV ACTIVE ===== */
.nav-active {
    color: #df4e8b !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ===== ANIMAZIONE INGRESSO ===== */
.pacchetto-card {
    animation: fadeInUp 0.4s ease both;
}

.pacchetto-card:nth-child(1) { animation-delay: 0.05s; }
.pacchetto-card:nth-child(2) { animation-delay: 0.10s; }
.pacchetto-card:nth-child(3) { animation-delay: 0.15s; }
.pacchetto-card:nth-child(4) { animation-delay: 0.20s; }
.pacchetto-card:nth-child(5) { animation-delay: 0.25s; }
.pacchetto-card:nth-child(6) { animation-delay: 0.30s; }

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .pacchetti-main {
        margin: 20px auto 40px;
        padding: 0 15px;
    }

    .pacchetti-titolo {
        font-size: 1.8rem;
        margin-bottom: 24px;
    }

    .pacchetti-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
