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

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
  line-height: 1.4;
}

            /* Roboto Regular */
            @font-face {
            font-family: 'Roboto';
            src: url('../fonts/roboto/Roboto-Regular.woff2') format('woff2'),
                url('../fonts/roboto/Roboto-Regular.woff') format('woff');
            font-weight: 400;
            font-style: normal;
            }

            /* Roboto Bold */
            @font-face {
            font-family: 'Roboto';
            src: url('../fonts/roboto/Roboto-Bold.woff2') format('woff2'),
                url('../fonts/roboto/Roboto-Bold.woff') format('woff');
            font-weight: 700;
            font-style: normal;
            }

/* ---------- INTESTAZIONE ---------- */
.intestazione {
  border-bottom: 2px solid #0070f3;
  padding: 15px 20px;
  text-align: center;
}


                /* Header */
        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            padding: 1rem 0;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            color: #2c2c2c;
            text-decoration: none;
            font-family: "Roboto";
            font-weight: 600;
        }

        #lista-header-home{
            display: flex;
            gap: 5vw;
            list-style: none;

        }

        .voci-lista-ordinata a{
                                text-decoration: none;
                                            color: black;
                                                        font-family: "Roboto-Regular";
            font-weight: 400;
            font-size: 1.2rem;
                }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-menu a {
            color: #666;
            font-family: "Roboto-Regular";
            font-weight: 400;
            transition: color 0.3s ease;
        }

        .nav-menu a:hover {
            color: #d4af37;
        }

        .gd-alternato{
            display: none;
        }

/* ---------- CONTENUTO ---------- */
.contenuto {
  padding: 30px 20px;
}

.occasioni{
  margin-top: 4em;
}

.titolo-sezione {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 600;
}

.sottotitolo {
  font-size: 15px;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
  margin-bottom: 3em;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}

/* ---------- GRIGLIA PRODOTTI ---------- */
.griglia-prodotti {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.prodotto {
  text-align: left;
}

.collegamento-prodotto {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.immagine {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.collegamento-prodotto:hover .immagine {
  transform: scale(1.05);
}

.titolo-prodotto {
  font-size: 14px;
  margin-top: 6px;
}

.prezzo-originale{
  color: #999999 !important; 
}

.prezzo-scontato{
  font-weight: bold;
  color: #20ba49 !important;
}

/* ---------- PIÈ DI PAGINA ---------- */
.piè-di-pagina {
  background-color: #2e2e2e;
  color: #fff;
  text-align: center;
  padding: 25px 15px;
  font-size: 13px;
}

.crediti {
  margin-top: 6px;
  opacity: 0.8;
}

                /* Footer */
        .footer {
            background: #3a3a3a;
            color: white;
            text-align: center;
            padding: 1.5rem 2rem;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer h3 {
            margin-bottom: 1rem;
            color: #d9d9d9;
        }


        @media (max-width: 767px){
            .logo{
                display: none;
            }

            .gd-alternato{
                display: flex;
                                text-decoration: none;
                color: black;
                font-family: 'Roboto', Arial, sans-serif;
                font-weight: 700;
            }

            .occasioni{
                margin-top: 6em !important;
            }

            .sottotitolo{
              margin-bottom: 2em;
            }
          
                .voci-lista-ordinata a{
                                text-decoration: none;
                                            color: black;
                                                        font-family: "Roboto";
            font-weight: 400;
            font-style: normal;
            font-size: 1.2rem;
                }
        }

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

  .titolo-sezione {
    font-size: 26px;
  }

  .sottotitolo {
    font-size: 16px;
  }
}

/* ---------- MEDIA QUERY DESKTOP ---------- */
@media (min-width: 1024px) {
  .intestazione {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 20px 60px;
    border: 2px solid #0070f3;
  }

  .logo {
    font-size: 28px;
    margin-bottom: 0;
  }

  .navigazione {
    justify-content: flex-end;
    gap: 40px;
  }

  .contenuto {
    padding: 40px 60px;
  }

  .griglia-prodotti {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px 20px;
  }

  .piè-di-pagina {
    font-size: 14px;
    padding: 30px 10px;
  }
}
