* {
  box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    width: 100%;
    overflow-x: hidden;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .site-header {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
  }
  
  .site-header .logo img {
    height: 40px;
  }

  .hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center; /* allinea contenuto a sinistra */
    align-items: center;          /* centra verticalmente */
    padding: 2rem; 
  }
  
  .hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: -1;
  }
  
  
    .descrizione-section {
      display: flex;
      gap: 20px;
      padding: 20px;
    }
    
    .box.sinistra {
      flex: 2; /* Più largo */
      background-color: #ffe5e5;
      padding: 20px;
      border-radius: 8px;
    }
    
    .box.destra {
      flex: 1; /* Più stretto */
      background-color: #fff7cc;
      padding: 20px;
      border-radius: 8px;
    }

    @media (max-width: 1000px) {
      .descrizione-section {
        flex-direction: column;
      }
    }

    .header4-container {
      text-align: center;
  }
  
  /* Link che include il testo */
  .header4-link {
      text-decoration: none; /* Rimuove la sottolineatura del link */
      font-size: 68px;
      font-weight: bold;
      display: inline-block; /* Per gestire meglio l'hover */
      transition: transform 0.3s ease, text-shadow 0.3s ease;
  }
  
  /* Effetto hover sul link */
  .header4-link:hover {
      transform: scale(1.05); /* Leggero ingrandimento */
      text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Aggiunge un'ombra */
  }
  
  /* Testo nero */
  .header4-black {
      color: black;
  }
  
  /* Testo con sfumatura */
  .header4-gradient {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(120deg, #ff0000, #fa8100, #f5fd03);
    background-size: 200%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    animation: moveGradient 5s ease-in-out infinite;
  }

  @keyframes moveGradient {
    0% {
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
    100% {
      background-position: 0% center;
    }
  }


  @media (max-width: 1595px) {
    .hero {
      height: 40vh; /* limita altezza visiva */
    }
  
    .hero-bg {
      object-fit: contain;
      background-color: #f9f9f9;
    }
  
    .header4-container {
      margin-top: 40px;
    }
  }
  
  /* Da 1250px in giù */
  @media (max-width: 1250px) {
    .hero {
      height: 35vh;
    }
  
    .header4-container {
      margin-top: 30px;
    }
  }
  
  /* Mobile */
  @media (max-width: 1000px) {
    .hero {
      height: 30vh;
    }
  
    .hero-btn {
      font-size: 16px;
    }
  
    .header4-link,
    .header4-gradient {
      font-size: 2rem;
    }
  
    .header4-container {
      margin-top: 20px;
    }
  }




    .container10 {
      text-align: center;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    margin-top:20px;
    margin-bottom:20px;
  }

  
  select {
      background-color: white;
      border: 2px solid #ee1d23;
      border-radius: 20px;
      padding: 0 20px; /* Rimosso il padding superiore/inferiore per centratura */
      font-family: Arial, sans-serif;
      font-size: 14px;
      color: #ee1d23;
      width: 100%;
      height: 50px; /* Altezza unificata per il select */
      appearance: none;
      position: relative;
      cursor: pointer;
      text-align: center;
      align-items: center; /* Centra verticalmente il testo */
      background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24"><path fill="%23a255a6" d="M7 10l5 5 5-5z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 15px center;
      background-size: 30px;
      font-size: 16px;
      transition: transform 0.3s ease, text-shadow 0.3s ease;
  }

  select:hover{
    transform: scale(1.05); /* Leggero ingrandimento */
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Aggiunge un'ombra */
  }
  
  select option {
      font-size: 18px; /* Aumenta la dimensione del testo delle opzioni */
  }

  select:focus {
    border: 2px solid #ee1d23 !important;;
  }

  #iphone-model:focus {
    border: 2px solid #ee1d23;
    outline: none;
    box-shadow: none;
  }
  
  .button10 {
      background-color: #f0f0f0;
      border: none;
      border-radius: 20px;
      height: 50px; /* Altezza unificata per il pulsante */
      font-family: Arial, sans-serif;
      font-size: 14px;
      color: #ee1d23;
      cursor: pointer;
      transition: background-color 0.3s, border 0.3s;
      width: 100%;
      text-align: center;
      display: flex;
      align-items: center; /* Centra verticalmente il testo */
      justify-content: center; /* Centra orizzontalmente il testo */
  }
  
  .button10.active {
      background-color: white;
      color: #ee1d23;
      border: 2px solid #ee1d23;
  }

  .button10.active:hover {
    background-color: #ee1d23;
    color: white;
    border: 2px solid white;
}

  @media (max-width: 1000px) {
    .header4-link {
      font-size: 28px;
      line-height: 1.2;
    }

    .header4-gradient {
      font-size: 2rem;
    }

    .container10 {
      max-width: 100%;
      padding: 0 16px;
      display: flex;
      flex-direction: column;
      align-items: center; /* CENTRA orizzontalmente */
    }
  
    select,
    .button10 {
      height: 42px;
      font-size: 12px;
      width: 70%;
      align-items: center;
    }
  
    select {
      background-size: 20px;
    }
  
    .button10 {
      border-radius: 14px;
    }
  }


  .mini-info-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 12px 20px;
    max-width: 1000px;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
  }
  
  /* Ogni elemento della mini bar */
  .mini-info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
    padding: 6px;
    transition: transform 0.2s ease-in-out;
  }
  
  /* Effetto hover morbido */
  .mini-info-item:hover {
    transform: translateY(-1px);
  }
  
  /* Stile delle icone */
  .mini-info-item img {
    width: 34px;
    height: 34px;
    opacity: 0.9;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  }
  
  /* Effetto hover sulle icone */
  .mini-info-item:hover img {
    opacity: 1;
    transform: scale(1.05);
  }
  
  /* Testo con gradiente tra rosso e viola */
  .mini-info-item span {
    font-weight: 600;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: linear-gradient(90deg, #f85757, #e6c90a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* Responsive: due colonne su mobile */
  @media (max-width: 768px) {
    .mini-info-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 15px;
        gap: 8px;
    }
  
    .mini-info-item {
        justify-content: center;
        text-align: center;
    }
  
    .mini-info-item img {
        width: 30px;
        height: 30px;
    }
  
    .mini-info-item span {
        font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .mini-info-bar {
        grid-template-columns: repeat(2, 1fr); /* Due colonne */
        grid-template-rows: repeat(2, auto);  /* Due righe */
        text-align: center;
        padding: 10px;
    }
  
    .mini-info-item {
        justify-content: center;
        flex-direction: column; /* Icona sopra, testo sotto */
        gap: 4px;
    }
  
    .mini-info-item img {
        width: 28px;
        height: 28px;
    }
  
    .mini-info-item span {
        font-size: 13px;
    }
  }
    
  .how-to-sell {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
    position: relative;
  }
  
  /* Contenitore del testo */
  .container11 {
    max-width: 100%;
    margin: auto;
    width: 50%;
    padding: 30px;
    background: rgba(255, 240, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
  }
  
  /* Titolo con gradiente SOLO su "servizio di vendita" */
  .title11 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #000;
    margin-bottom: 20px;
  }
  
  .gradient-text11 {
    background: linear-gradient(90deg, #f85757, #e6c90a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  
  /* Lista degli step */
  .steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  /* Singolo step */
  .step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
  }
  
  /* Numerazione cerchio rosso */
  .step-number {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #ee1d23;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  /* Testo step */
  .step-content h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin: 0;
  }
  
  .step-content p {
    font-size: 14px;
    color: #444;
    margin: 4px 0;
    line-height: 1.4;
  }
  
  /* Contenitore per il pulsante, centrato */
  .button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
  }
  
  /* Stile pulsante */
  .guide-button {
    display: inline-block;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #f85757, #e6c90a);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* Effetto hover */
  .guide-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  }

  .how-to-sell-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px; /* GAP tra i due */
  }
  
  .how-to-sell-image-wrapper {
    width: 30%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start; /* spinge l’immagine verso il contenuto */
  }
  .how-to-sell-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
  }

  @media (max-width: 1000px) {
    .how-to-sell {
      padding: 30px 10px;
    }

    .how-to-sell-inner {
      justify-content: center;
      flex-direction: column;
    }
  
    .container11 {
      padding: 20px 16px;   /* ← padding verticale 20px, orizzontale 16px */
      margin: 0 auto;
      width: 100%;
      box-sizing: border-box;
    }
  
    .title11 {
      font-size: 20px;
    }
  
    .step {
      gap: 10px;
      padding: 10px 0;
    }
  
    .step-number {
      width: 30px;
      height: 30px;
      font-size: 16px;
    }
  
    .step-content h3 {
      font-size: 16px;
    }
  
    .step-content p {
      font-size: 13px;
    }
  
    .guide-button {
      padding: 8px 14px;
      font-size: 14px;
    }
  
    .how-to-sell-image {
      display: none !important;
    }
  }


  .review-section {
    max-width: 1200px;
    margin: 40px auto;  /* Centro orizzontale */
    padding: 0 20px;
    text-align: center;
  }
  
  .review-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
  }
  
  /* Contenitore principale del carosello */
  .carousel-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  /* Righe orizzontali in flex */
  .carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    display: flex;
    overflow-x: auto;               /* ⬅️ ABILITA LO SCROLL */
    scroll-snap-type: x mandatory;  /* ⬅️ SCROLL ORDINATO */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .carousel::-webkit-scrollbar {
    display: none;
  }
  
  /* Ogni recensione (card) => dimensione fissa */
  .carousel-item {
    width: 300px; 
    flex-shrink: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 0 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 20px;
    text-align: center;
  }
  
  /* Immagini circolari */
  .carousel-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
  }
  
  .carousel-item h3 {
    font-size: 1.1em;
    margin: 10px 0 8px;
    color: #333;
    font-weight: 600;
  }
  
  .carousel-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  /* Sezione stelle con caratteri Unicode */
  .rating {
    font-size: 1.2em;
    color: #f39c12; /* Giallo/arancio */
  }
  .rating .empty-star {
    color: #ccc;   /* Stelle vuote più grigie */
  }
  
  /* Controlli (frecce) */
  .carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none; 
  }
  .carousel-controls button {
    background: none;
    border: none;
    font-size: 2rem;
    color: #333;
    cursor: pointer;
    pointer-events: all; 
    margin: 0 10px;
    transition: color 0.3s;
  }
  .carousel-controls button:hover {
    color: #ee1d23;
  }
  
  /* Pulsante "Leggi tutte le recensioni" */
  .review-button-container {
    margin-top: 10px;
  }
  .review-button {
    display: inline-block;
    padding: 12px 24px;
    background: #ee1d23;  
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
  }
  .review-button:hover {
    background: #bd0101; 
  }

  .carousel-container::before,
.carousel-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9, rgba(255,255,255,0));
}

.carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9, rgba(255,255,255,0));
}
  
  /* (Facoltativo) Adatta la dimensione su schermi molto piccoli */
  @media (max-width: 1000px) {
    .carousel-item {
      width: 280px;
      margin: 0 5px;
      margin-top: 10px;
      margin-bottom: 10px;
    }
    .carousel-item p {
      font-size: 0.9em;
    }

    .carousel-controls{
      display: none;
    }
  }
  

  .container {
    width: 90%;
    margin: auto;
    padding: 20px 0;
}

.container h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(120deg, #ff0000, #fa8100, #f5fd03);
    background-size: 200%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    animation: moveGradient 5s ease-in-out infinite;
  }

  @keyframes moveGradient {
    0% {
      background-position: 0% center;
    }
    50% {
      background-position: 100% center;
    }
    100% {
      background-position: 0% center;
    }
  }

.section {
    margin-bottom: 30px;
}
.section h4{
  border-left: 4px solid #ee1d23;
  padding-left: 12px;
  font-size: 24px;
  color: #333;
}
.products {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 24px;
}
.product {
    width: 20%;
    background: rgba(255, 255, 255, 0.1); /* trasparenza */
  backdrop-filter: blur(12px);          /* sfocatura dietro */
  -webkit-backdrop-filter: blur(12px);
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    cursor: pointer;
    margin-top:10px;
    margin-bottom:10px;
}
.product:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #ee1d23;
}
.product img {
    width: 50%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s;
}

.product img:hover {
    transform: scale(1.05);
}

.product h3 {
    margin: 10px 0;
    font-size: 18px;
}

.product-button {
    background: #ee1d23;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}
.product-button:hover {
    background: darkred;
}

.products-wrapper {
  position: relative;
  overflow: hidden;
}

.products-wrapper::before,
.products-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: none;
}

.products-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f9f9f9 0%, transparent 100%);
}

.products-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f9f9f9 0%, transparent 100%);
}

@media (max-width: 1000px) {
  .products {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 24px;
    scroll-padding-left: 24px;
    scrollbar-width: none;            /* Firefox */
    -ms-overflow-style: none;         /* IE/Edge */
  }

  .products::-webkit-scrollbar {
    display: none;                    /* Chrome, Safari */
  }

  .product {
    width: 60%;
    flex-shrink: 0;
    scroll-snap-align: start;
    margin-bottom: 16px;
  }

  .product img {
    width: 20%;
}

.products-wrapper::before,
  .products-wrapper::after {
    display: block;
  }

}

  .site-footer {
    background-color: #f2f2f2;
    padding: 40px 20px;
    font-size: 14px;
  }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
  }
  
  .footer-columns > div {
    flex: 1 1 200px;
    text-align: center;
  }
  
  .footer-columns h4 {
    margin-bottom: 10px;
  }
  
  .footer-columns ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-columns li {
    margin-bottom: 5px;
  }
  
  .footer-columns a {
    color: #000;
    text-decoration: none;
  }

  .footer-columns a:hover {
    color: #ee1d23;
    text-decoration: none;
  }

  .footer-columns a,
.footer-columns a:hover {
  text-decoration: none !important;
}
  
  .footer-columns a:hover {
    text-decoration: underline;
  }
  
  .footer-columns .icon {
    height: 60px;
    width: 60px;
    margin-top: 8px;
    border-radius: 5px;
  }
  
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 13px;
  }
  
  .footer-bottom a {
    color: #000;
    text-decoration: none;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }