@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap');

/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif; /* Aggiornato a Montserrat per coerenza */
  background-color: #fff;
  color: #1a1a1a;
  line-height: 1.4;
}

@font-face {
  font-family: 'Agatho';
  src: url('/fonts/agatho/woff/Agatho_\ Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-007F;
}

/* --- NOTA: HO RIMOSSO TUTTA LA PARTE .header, .nav-container, .logo --- */
/* Ora userà le regole globali di style-navbar.css */

/* Filtri */
.nav-filtri {
    display: flex;
    justify-content: center;
    gap: 30px;
    /* Aumentato il margine per compensare la navbar fissa più alta (80px) */
    margin-top: 120px; 
    flex-wrap: wrap;
    padding-top: 20px;
}

.filtro {
    text-decoration: none;
    color: #999;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
}

.filtro:hover, .filtro.attivo {
    color: #111; 
}

.filtro.attivo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #111;
    bottom: -5px;
    left: 0;
}

/* CONTENUTO */
.contenuto { padding: 30px 20px; min-height: 80vh; }
.occasioni { margin-top: 1em; }

.titolo-sezione {
    font-size: 2.5em; /* Leggermente più grande per stile lusso */
    font-weight: 400;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #111;
}

.sottotitolo {
    font-size: 1rem;
    color: #666;
    margin-bottom: 4em;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 1px;
}

/* GRIGLIA PRODOTTI */
.griglia-prodotti {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* Più spazio tra i prodotti */
}

.prodotto {
    text-align: left;
    position: relative;
}

.badge-esaurito {
    position: absolute;
    top: 15px;
    left: 15px;
    right: auto !important;
    background-color: #fff !important;
    color: #111 !important;
    border: 1px solid #111;
    padding: 6px 12px !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 10;
}

.collegamento-prodotto {
    display: block;
    overflow: hidden;
    /* Rimosso border-radius per stile più netto/lusso */
}

.immagine {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease; /* Transizione più lenta e morbida */
    background-color: #f9f9f9;
}

.collegamento-prodotto:hover .immagine {
    transform: scale(1.03); /* Zoom più leggero ed elegante */
}

.titolo-prodotto {
    font-size: 1rem;
    margin-top: 15px;
    font-weight: 400;
    font-family: 'Playfair Display', serif; /* Font lusso per i titoli */
    color: #111;
    letter-spacing: 0.5px;
}

.prezzo-scontato {
    font-weight: 500;
    color: #555 !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    margin-top: 5px;
    display: block;
}

/* FOOTER */
.footer {
    background: #1a1a1a; /* Nero carbone */
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 60px;
}

.footer-content { max-width: 1200px; margin: 0 auto; }
.footer h3 { margin-bottom: 1rem; color: #fff; font-family: 'Playfair Display', serif; }


.btn-container {
    text-align: center;
    margin: 60px 0;
    width: 100%;
    grid-column: 1 / -1;
}

.btn-load-more {
    background-color: transparent;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    border: 1px solid #111;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.btn-load-more:hover {
    background-color: #111;
    color: #fff;
}

.btn-load-more.loading {
    opacity: 0.7;
    cursor: wait;
}

/* MEDIA QUERIES */
@media (min-width: 768px) {
    .griglia-prodotti {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .griglia-prodotti {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}