@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

.msk25-article .h2 {
  margin-top: 3.4rem;
}

/* ===========================
   PODIO (desktop) + Fallback mobile
   =========================== */
/* Fallback mobile: tre card in colonna */
.msk25-podium {
  display: none;
}

.msk25-podium-lineup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

/* Desktop layout */
@media (min-width: 768px) {
  .msk25-podium {
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    align-items: end;
    gap: 1rem;
    margin: 3rem 0;
  }
  .msk25-podium figure {
    text-align: center;
  }
  .msk25-podium--primo {
    transform: translateY(0%);
  }
  .msk25-podium--secondo {
    transform: translateY(8%);
  }
  .msk25-podium--terzo {
    transform: translateY(8%);
  }

  /* su desktop mostro solo il podio, nascondo la lineup */
  .msk25-podium-lineup {
    grid-template-columns: repeat(3, 1fr);
    display: none;
  }
}

/* ===========================
   Prime 3 classificate: bordi immagine
   =========================== */
.msk25-podium--primo .msk25-img,
.msk25-lineup-primo .msk25-img {
  border: 2px solid #e9c500;
}

.msk25-podium--secondo .msk25-img,
.msk25-lineup-secondo .msk25-img {
  border: 2px solid #807d7d;
}

.msk25-podium--terzo .msk25-img,
.msk25-lineup-terzo .msk25-img {
  border: 2px solid #c8721d;
}

/* ===========================
   Prime 3 classificate: caption
   =========================== */
.msk25-podium--primo .msk25-caption,
.msk25-lineup-primo .msk25-caption {
  background-color: #e9c500;
  color: #000;
}

.msk25-podium--secondo .msk25-caption,
.msk25-lineup-secondo .msk25-caption {
  background-color: #807d7d;
  color: #fff;
}

.msk25-podium--terzo .msk25-caption,
.msk25-lineup-terzo .msk25-caption {
  background-color: #c8721d;
  color: #fff;
}

/* ===========================
   FASCE SECONDARIE (Flex)
   =========================== */
.msk25-fasce-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 3rem auto 0;
}

.msk25-fasce-row .msk25-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  /* Mobile: 2 per riga */
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
  height: 100%;
}

/* Tablet: 3 per riga */
@media (min-width: 768px) {
  .msk25-fasce-row .msk25-card {
    flex: 0 0 calc((100% - 24px) / 3); /* 3 colonne, 2 gap * 12px */
    max-width: calc((100% - 24px) / 3);
  }
}

/* Desktop: 4 per riga */
@media (min-width: 1200px) {
  .msk25-fasce-row .msk25-card {
    flex: 0 0 calc((100% - 36px) / 4); /* 4 colonne, 3 gap * 12px */
    max-width: calc((100% - 36px) / 4);
  }
}

/* Immagine e didascalia */
.msk25-fasce-row .msk25-img {
  width: 100%;
  aspect-ratio: 3/4; /* ritratto */
  object-fit: cover;
  display: block;
}

.msk25-fasce-row .msk25-caption {
  padding: 0.45rem 0.6rem;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
  min-height: 3.4rem; /* uniforma l'altezza */
  align-items: center;
  text-wrap: balance;
  background-color: #cfcfcf;
}

/* Pulsante tutte le partecipanti */
.msk25-btn-link {
  display: inline-block;
  background: #2c3e50;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}
.msk25-btn-link:hover {
  background: #1a242f;
  transform: translateY(-2px);
}

/* ===========================
   GALLERIA FOTO (verticale)
   =========================== */
.msk25-gallery-vert {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 1200px) {
  .msk25-gallery-vert {
    gap: 18px;
  }
}

/* Card foto */
.msk25-vitem {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  background: #f5f5f5;
}

.msk25-vitem > img {
  width: 100%;
  aspect-ratio: 16/9; /* 3/2 se preferisci meno “panoramico” */
  object-fit: cover;
  display: block;
}

/* Barra titolo */
.msk25-vitem .msk25-gcap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 0.65rem 1rem;
  font-size: 1rem;
  line-height: 1.25;
  text-wrap: balance;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Hover (solo device con puntatore) */
@media (hover: hover) {
  .msk25-vitem:hover .msk25-gcap {
    background: rgba(0, 0, 0, 0.68);
  }
}

/* Note galleria */
.msk25-gallery-note {
  margin-top: 10px;
  font-size: 0.98rem;
  color: #555;
  text-align: center;
}
.msk25-gallery-note a {
  color: #2c3e50;
  text-decoration: underline;
}
.msk25-gallery-note a:hover {
  text-decoration: none;
}

/* Post Blog semifinale */
.msk25-highlight {
  font-size: 1.15rem; /* testo un po' più grande */
  padding: 1.2rem 1.5rem; /* più respiro */
  border-radius: 10px; /* angoli morbidi */
  border-left: 8px solid #2c3e50; /* barra laterale più spessa */
  background-color: #eaf4fa; /* leggermente più chiaro dell’info */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); /* leggero rilievo */
}

/* ===========================
   MODULO: Prodotti in Vetrina (footer)
   =========================== */
#footer .featured-products {
  padding: 3em 0.9em 2em;
}

#footer .featured-products.clearfix::before {
  content: "";
  display: block;
  position: relative;
  top: 17px;
  left: 0;
  right: 0;
  height: 1px;
  width: 97%;
  background-color: #d2d2d2;
  margin-inline: auto;
}

#footer .featured-products .products-section-title::before {
  display: none;
}

#footer .featured-products a.btn.btn-primary {
  margin: 1em auto;
  display: block;
  max-width: fit-content;
}

#footer .featured-products.clearfix .h1.products-section-title.text-uppercase {
  margin: 0 auto 2em;
  padding: 0 60px;
  background-color: #fff;
  width: fit-content;
  font-size: 24px;
}

/* ===========================
   HOME: Slider Finalissima Miss Ischia 25
   =========================== */
.missischia-home-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.missischia-home-slide-svgtitle {
  width: 100%;
  margin-bottom: -27px !important;
}
.missischia-home-slide-when {
  text-transform: uppercase;
  margin-bottom: 0 !important;
  font-weight: 600;
}
.missischia-home-slide-orario {
  margin-bottom: 0 !important;
  text-transform: uppercase;
  text-align: right;
  width: 193px;
  font-weight: 600;
}
.missischia-home-slide-logo {
  margin-bottom: 0 !important;
}
.missischia-home-slide-where {
  margin-bottom: 0 !important;
  text-transform: uppercase;
  font-weight: 600;
}
.missischia-home-slide-ingresso {
  margin-bottom: 0 !important;
  text-transform: uppercase;
  color: #e52420 !important;
  font-weight: 600;
}

@media (max-width: 1540px) {
  .missischia-home-container {
    width: 42vw;
  }
}

/* ===========================
   VARIE
   =========================== */
/* Nascondi blocco blog in home - EN */
#index.lang-en .secondary-blog-title,
#index.lang-en .secondary-blog,
#index.lang-en .secondary-blog-readmore {
  display: none;
}

/* Pulsante chiusura filtri FACET (pagina Categoria) */
#category .active_filters .filter-block .close {
  line-height: 1rem;
}

/* Line-height, <h6>, <ol>, <ul> e <li> per pagina prodotto descrizione breve e lunga */
#product .product-description,
#product .productblock-description {
  line-height: 24px;
}
#product .product-description h6,
#product .productblock-description h6 {
  font-size: 14px;
}
#product .product-description li,
#product .productblock-description li {
  margin-bottom: 0.3rem;
}
#product .product-description ol,
#product .productblock-description ol,
#product .product-description ul,
#product .productblock-description ul {
  margin-bottom: 1.7rem;
}
/* Nome etichetta varianti in grassetto e margine in pagina prodotto */
#product .product-actions .product-variants-item .control-label {
  font-weight: 600;
  margin-bottom: 0.7rem;
}

/* Megamenù principale desktop. Evita che va accapo (serve quando ci sono menu aggiuntivi tipo quello natalizio) */
.amega-menu .anav-top {
  flex-wrap: nowrap;
  align-items: center;
}
@media (max-width: 991px) {
  #mobile_top_menu_wrapper .amenu-item.mm-7 .amenu-link {
    color: red;
    font-weight: 700;
  }
}

/* =========================================================================
   Schede prodotto - descrizione breve, descrizione lunga e FAQ Dermocosmesi
   ========================================================================= */

/* Lista descrizione breve prodotto */
#product .productblock-description ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1rem 0 1.2rem !important;
}

#product .productblock-description ul li {
  position: relative;
  display: block;
  margin-bottom: 0.45rem;
  padding-left: 1.35rem;
  line-height: 1.55;
}

#product .productblock-description ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: #6eaa45;
}

/* Liste descrizione lunga prodotto */
#product .product-description ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0.9rem 0 1.3rem !important;
}

#product .product-description ul li {
  position: relative;
  display: block;
  margin-bottom: 0.5rem;
  padding-left: 1.35rem;
  line-height: 1.6;
}

#product .product-description ul li::before {
  content: "•";
  position: absolute;
  left: 0.15rem;
  top: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #6eaa45;
}

/* Liste numerate descrizione lunga */
#product .product-description ol {
  margin: 0.9rem 0 1.3rem !important;
  padding-left: 1.25rem !important;
}

#product .product-description ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
  line-height: 1.6;
}

#product .product-description ol li::marker {
  font-weight: 700;
  color: #6eaa45;
}

/* FAQ prodotto - contenitore principale */
#product .product-description .isb-product-faq {
  margin-top: 2.2rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(110, 170, 69, 0.28);
  border-left: 4px solid #6eaa45;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdf8 0%, #ffffff 100%);
}

/* Titolo FAQ */
#product .product-description .isb-product-faq > h3 {
  position: relative;
  margin: 0 0 1.15rem;
  padding-bottom: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #232323;
  border-bottom: 1px solid rgba(110, 170, 69, 0.18);
}

#product .product-description .isb-product-faq > h3::before {
  content: "Domande frequenti";
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6eaa45;
}

/* FAQ label - English */
body.lang-en #product .product-description .isb-product-faq > h3::before,
html[lang^="en"] #product .product-description .isb-product-faq > h3::before {
  content: "Frequently asked questions";
}

/* Singola FAQ */
#product .product-description .isb-product-faq__item {
  margin-bottom: 0.75rem;
  border: 1px solid rgba(110, 170, 69, 0.2);
  border-radius: 9px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(35, 35, 35, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#product .product-description .isb-product-faq__item:last-child {
  margin-bottom: 0;
}

#product .product-description .isb-product-faq__item:hover {
  border-color: rgba(110, 170, 69, 0.42);
  box-shadow: 0 6px 18px rgba(35, 35, 35, 0.07);
  transform: translateY(-1px);
}

/* Domanda FAQ */
#product .product-description .isb-product-faq__item h4 {
  position: relative;
  margin: 0;
  padding: 0.9rem 2.7rem 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #232323;
  background: #f7fbf4;
}

#product .product-description .isb-product-faq__item h4::after {
  content: "?";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #6eaa45;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
}

/* Risposta FAQ */
#product .product-description .isb-product-faq__item p {
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  line-height: 1.65;
  background: #ffffff;
}

/* Mobile */
@media (max-width: 767px) {
  #product .product-description .isb-product-faq {
    padding: 1rem;
    border-radius: 10px;
  }

  #product .product-description .isb-product-faq__item h4 {
    padding-right: 2.45rem;
    font-size: 0.96rem;
  }

  #product .product-description ul li,
  #product .productblock-description ul li {
    padding-left: 1.25rem;
  }
}

/* Schede prodotto - tabella componenti principali responsive verticale */
#product .product-description .isb-table-wrap {
  width: 100%;
  margin: 1rem 0 1.5rem;
  overflow: visible;
}

#product .product-description .isb-ingredients-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(110, 170, 69, 0.24);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

#product .product-description .isb-ingredients-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #232323;
  background: #f7fbf4;
  border-bottom: 1px solid rgba(110, 170, 69, 0.22);
}

#product .product-description .isb-ingredients-table td {
  padding: 0.9rem 1rem;
  vertical-align: top;
  line-height: 1.6;
  border-bottom: 1px solid rgba(110, 170, 69, 0.12);
}

#product .product-description .isb-ingredients-table tr:last-child td {
  border-bottom: 0;
}

/* Mobile/tablet: tabella trasformata in blocchi verticali */
@media (max-width: 767px) {
  #product .product-description .isb-ingredients-table,
  #product .product-description .isb-ingredients-table thead,
  #product .product-description .isb-ingredients-table tbody,
  #product .product-description .isb-ingredients-table tr,
  #product .product-description .isb-ingredients-table th,
  #product .product-description .isb-ingredients-table td {
    display: block;
    width: 100%;
  }

  #product .product-description .isb-ingredients-table {
    border: 0;
    background: transparent;
  }

  #product .product-description .isb-ingredients-table thead {
    display: none;
  }

  #product .product-description .isb-ingredients-table tr {
    margin-bottom: 0.7rem;
    border: 1px solid rgba(110, 170, 69, 0.24);
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
  }

  #product .product-description .isb-ingredients-table td {
    border-bottom: 0;
    padding: 0.75rem 0.9rem;
  }

  #product .product-description .isb-ingredients-table td:first-child {
    background: #f7fbf4;
    font-weight: 700;
    color: #232323;
    border-bottom: 1px solid rgba(110, 170, 69, 0.16);
  }

  #product .product-description .isb-ingredients-table td:first-child::before {
    content: "Ingrediente";
    display: block;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6eaa45;
  }

  #product .product-description .isb-ingredients-table td:nth-child(2)::before {
    content: "Funzione cosmetica";
    display: block;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6eaa45;
  }

  #product .product-description .isb-ingredients-table td:first-child::before,
  #product .product-description .isb-ingredients-table td:nth-child(2)::before {
    margin-bottom: 0.18rem;
    font-size: 0.68rem;
  }
}

/* Mobile lingua inglese */
@media (max-width: 767px) {
  body.lang-en
    #product
    .product-description
    .isb-ingredients-table
    td:first-child::before,
  html[lang^="en"]
    #product
    .product-description
    .isb-ingredients-table
    td:first-child::before {
    content: "Ingredient";
  }

  body.lang-en
    #product
    .product-description
    .isb-ingredients-table
    td:nth-child(2)::before,
  html[lang^="en"]
    #product
    .product-description
    .isb-ingredients-table
    td:nth-child(2)::before {
    content: "Cosmetic function";
  }
}

/* Schede prodotto - prodotti consigliati in abbinamento */
#product .product-description .isb-related-products {
  margin: 1.8rem 0 2rem;
  padding: 1.15rem;
  border: 1px solid rgba(110, 170, 69, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #fbfdf8 0%, #ffffff 100%);
}

#product .product-description .isb-related-products h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
  font-weight: 700;
  color: #232323;
}

#product .product-description .isb-related-products p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

#product .product-description .isb-related-products__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

#product .product-description .isb-related-products__list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(110, 170, 69, 0.32);
  border-radius: 999px;
  background: #ffffff;
  color: #5f9c37;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(35, 35, 35, 0.04);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#product .product-description .isb-related-products__list a::before {
  content: "▶";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #6eaa45;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
  transform: translateX(0.04em);
}

#product .product-description .isb-related-products__list a:hover {
  border-color: rgba(110, 170, 69, 0.55);
  background: #f7fbf4;
  color: #4f8d2e;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  #product .product-description .isb-related-products {
    padding: 1rem;
    border-radius: 10px;
  }

  #product .product-description .isb-related-products__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  #product .product-description .isb-related-products__list a {
    width: 100%;
    border-radius: 9px;
    padding: 0.65rem 0.75rem;
  }
}

/* ======================
   NUOVO STILE MEGAMENU
   ====================== */

.isb-megamenu {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 30px 24px 28px;
  background: #ffffff;
  font-family: inherit;
}

.isb-megamenu__header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf1ec;
}

.isb-megamenu__eyebrow {
  display: block;
  margin-bottom: 6px;
  color: #5ca60d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.isb-megamenu__title {
  margin: 0;
  color: #222222;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.25;
}

.isb-megamenu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.isb-megamenu__item {
  position: relative;
  display: block;
  min-height: 86px;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid #edf1ec;
  border-radius: 5px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 108%;
  color: #222222;
  text-decoration: none;
  transform: translateY(0);
  transition:
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    background-size 0.35s ease;
}

.isb-megamenu__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.95) 28%,
    rgba(255, 255, 255, 0.82) 48%,
    rgba(255, 255, 255, 0.42) 72%,
    rgba(255, 255, 255, 0.14) 100%
  );
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.isb-megamenu__item::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  z-index: 2;
  width: 46%;
  height: 110%;
  background: radial-gradient(
    circle at right bottom,
    rgba(92, 166, 13, 0.12),
    rgba(92, 166, 13, 0) 68%
  );
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.isb-megamenu__item:hover,
.isb-megamenu__item:focus {
  color: #222222;
  text-decoration: none;
  border-color: rgba(92, 166, 13, 0.28);
  box-shadow: 0 12px 28px rgba(39, 72, 20, 0.1);
  transform: translateY(-2px);
  background-size: auto 112%;
}

.isb-megamenu__item:hover::before,
.isb-megamenu__item:focus::before {
  opacity: 0.88;
}

.isb-megamenu__item:hover::after,
.isb-megamenu__item:focus::after {
  opacity: 0.85;
}

.isb-megamenu__item--highlight {
  border-color: #dfe9d9;
  background-color: #fbfff8;
}

.isb-megamenu__item--highlight:hover,
.isb-megamenu__item--highlight:focus {
  border-color: rgba(92, 166, 13, 0.35);
  box-shadow: 0 12px 28px rgba(92, 166, 13, 0.13);
}

.isb-megamenu__content {
  position: relative;
  z-index: 3;
  display: block;
  max-width: 68%;
}

.isb-megamenu__name {
  display: block;
  margin-bottom: 4px;
  color: #222222;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.isb-megamenu__desc {
  display: block;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.isb-megamenu__badge {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  background: #5ca60d;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

.isb-megamenu__badge--pro {
  background: #44556f;
  color: #ffffff;
}

.isb-megamenu__badge--arnica {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  background: #f1cc30;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
}

/* Immagini categorie */

.isb-menu-acido {
  background-image: url("/img/cms/megamenu/menu-acido-ialuronico.webp");
}

.isb-menu-bava {
  background-image: url("/img/cms/megamenu/menu-bava-lumaca.webp");
}

.isb-menu-bio-aloe {
  background-image: url("/img/cms/megamenu/menu-bio-aloe.webp");
}

.isb-menu-uomo {
  background-image: url("/img/cms/megamenu/menu-uomo.webp");
}

.isb-menu-bagno {
  background-image: url("/img/cms/megamenu/menu-bagno.webp");
}

.isb-menu-profumi {
  background-image: url("/img/cms/megamenu/menu-profumi.webp");
}

.isb-menu-arnica {
  background-image: url("/img/cms/megamenu/menu-arnica-dol.webp");
}

.isb-menu-solari {
  background-image: url("/img/cms/megamenu/menu-solari.webp");
}

.isb-menu-luce-pura {
  background-image: url("/img/cms/megamenu/menu-luce-pura.webp");
}

.isb-menu-dermocosmesi {
  background-image: url("/img/cms/megamenu/menu-dermocosmesi-avanzata.webp");
}

@media (max-width: 991px) {
  .isb-megamenu {
    padding: 22px 16px;
  }

  .isb-megamenu__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .isb-megamenu__title {
    font-size: 21px;
  }

  .isb-megamenu__item {
    min-height: 82px;
    padding: 14px 15px;
    background-size: auto 100%;
  }

  .isb-megamenu__item:hover,
  .isb-megamenu__item:focus {
    background-size: auto 104%;
  }

  .isb-megamenu__content {
    max-width: 72%;
  }
}

/* Freccia dropdown solo desktop sul testo SHOP */
@media (min-width: 992px) {
  .amega-menu ul.anav-top > li.amenu-item:first-child > .amenu-link::after {
    content: "▼";
    display: inline-block;
    margin-left: 6px;
    font-size: 12px;
    line-height: 1;
    color: inherit;
    vertical-align: middle;
    transform: translateY(-1px);
  }
}


/* =========================================================
   HOME - WRAPPER MODULO PRESTASHOP / AN HOMEPRODUCTS
========================================================= */

#index .an_homeproducts {
  max-width: 100%;
  overflow: visible;
}

#index .an_homeproducts-text {
  position: relative;
  width: calc(100vw - 17px);
  max-width: none;
  margin-left: calc(50% - 50vw + 8.5px);
  margin-right: 0;
  overflow: hidden;
  box-sizing: border-box;
}

#index .an_homeproducts-text .isb-home-visual-hero,
#index .an_homeproducts-text .isb-home-lines-transition {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

#index .an_homeproducts-text .isb-home-visual-hero {
  margin-top: 55px;
}

#index .an_homeproducts-text .isb-home-lines-transition {
  margin-bottom: 52px;
}

/* =========================================================
   HERO VISUALE - ACQUA TERMALE
========================================================= */

.isb-home-visual-hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 55px 0 0;
  padding: 0 20px;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
}

.isb-home-visual-hero,
.isb-home-visual-hero * {
  box-sizing: border-box;
}

.isb-home-visual-hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 1491px);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(251, 252, 247, 1) 0%,
      rgba(251, 252, 247, 0.88) 6%,
      rgba(251, 252, 247, 0.48) 16%,
      rgba(251, 252, 247, 0.16) 28%,
      rgba(251, 252, 247, 0.03) 42%,
      rgba(251, 252, 247, 0) 62%,
      rgba(251, 252, 247, 0.1) 80%,
      rgba(251, 252, 247, 0.42) 92%,
      rgba(251, 252, 247, 0.86) 100%
    ),
    url("https://ischiasorgentedibellezza.it/img/cms/hero-acqua-termale-ischia-latte-corpo-agrumi-1920x1080.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 28px 70px rgba(92, 166, 13, 0.045);
}

.isb-home-visual-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 100px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(251, 252, 247, 0) 0%,
    rgba(251, 252, 247, 0.48) 62%,
    #fbfcf7 100%
  );
}

.isb-home-visual-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 1320px;
  min-height: 720px;
  margin: 0 auto;
  padding: 96px 0 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.isb-home-visual-hero__content {
  max-width: 620px;
  text-align: left;
}

.isb-home-visual-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: #5ca60d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  line-height: 1.35;
  text-align: left;
}

.isb-home-visual-hero__eyebrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(92, 166, 13, 0.34);
  border-radius: 50%;
  color: #5ca60d;
  font-size: 10px;
  line-height: 1;
}

.isb-home-visual-hero__title {
  margin: 0;
  color: #202020;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(52px, 4.4vw, 82px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-align: left;
  text-transform: none;
}

.isb-home-visual-hero__title span {
  color: #5ca60d;
  font-style: italic;
  font-weight: 400;
}

.isb-home-visual-hero__accent {
  width: 60px;
  height: 4px;
  margin: 28px 0 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5ca60d 0%, #8dcc3d 100%);
}

.isb-home-visual-hero__subtitle {
  max-width: 540px;
  margin: 0 0 24px;
  color: #262626;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
}

.isb-home-visual-hero__description {
  max-width: 570px;
  margin: 0;
  color: #393939;
  font-size: 21px;
  line-height: 1.62;
  font-weight: 400;
  text-align: left;
}

.isb-home-visual-hero__description strong {
  color: #151515;
  font-weight: 700;
}

/* =========================================================
   HERO - BOTTONI
========================================================= */

.isb-home-visual-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.isb-home-visual-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 205px;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.isb-home-visual-hero__btn--primary {
  background: linear-gradient(135deg, #6db714 0%, #5ca60d 100%);
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(92, 166, 13, 0.2);
}

.isb-home-visual-hero__btn--primary:hover {
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 17px 36px rgba(92, 166, 13, 0.25);
}

.isb-home-visual-hero__btn--secondary {
  border: 1px solid rgba(92, 166, 13, 0.42);
  background: rgba(255, 255, 255, 0.76);
  color: #5ca60d !important;
  backdrop-filter: blur(8px);
}

.isb-home-visual-hero__btn--secondary::before {
  content: "↗";
  margin-right: 10px;
  font-size: 17px;
  line-height: 1;
}

.isb-home-visual-hero__btn--secondary:hover {
  color: #5ca60d !important;
  border-color: #5ca60d;
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-2px);
}

/* =========================================================
   HERO - CARD CARATTERISTICHE
========================================================= */

.isb-home-visual-hero__features {
  width: min(790px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(92, 166, 13, 0.1);
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.isb-home-visual-hero__feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  text-align: left;
}

.isb-home-visual-hero__feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  width: 1px;
  height: calc(100% - 44px);
  background: rgba(92, 166, 13, 0.13);
}

.isb-home-visual-hero__feature-icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(92, 166, 13, 0.28);
  border-radius: 50%;
  background: #ffffff;
  color: #5ca60d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
}

.isb-home-visual-hero__feature-text {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.isb-home-visual-hero__feature-text strong {
  color: #222222;
  font-size: 14px;
  line-height: 1.28;
  font-weight: 700;
  text-transform: uppercase;
}

.isb-home-visual-hero__feature-text small {
  color: #6f6f6f;
  font-size: 13px;
  line-height: 1.45;
}

/* =========================================================
   TRANSIZIONE LINEE COSMETICHE
========================================================= */

.isb-home-lines-transition {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 355px;
  margin: 0 0 52px;
  padding: 48px 20px 130px;
  overflow: hidden;
  box-sizing: border-box;
  text-align: center;
  background-color: #ffffff;
  background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.1) 38%,
      rgba(0, 0, 0, 0.02) 76%,
      rgba(0, 0, 0, 0) 100%
    ),
    url("https://ischiasorgentedibellezza.it/img/cms/bg-linee-cosmetiche-foglia-rugiada-strip-1920x500.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.isb-home-lines-transition,
.isb-home-lines-transition * {
  box-sizing: border-box;
}

.isb-home-lines-transition::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.07) 34%,
    rgba(255, 255, 255, 0) 66%
  );
}

.isb-home-lines-transition::after {
  content: "";
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: -255px;
  height: 300px;
  z-index: 2;
  pointer-events: none;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow:
    0 -12px 20px rgba(255, 255, 255, 0.96),
    0 -26px 38px rgba(255, 255, 255, 0.82),
    0 -44px 58px rgba(255, 255, 255, 0.58),
    0 -66px 82px rgba(255, 255, 255, 0.3),
    0 -92px 110px rgba(255, 255, 255, 0.12);
}

.isb-home-lines-transition__inner {
  position: relative;
  z-index: 3;
  max-width: 1280px;
  min-height: 150px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.isb-home-lines-transition__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  line-height: 1;
}

.isb-home-lines-transition__logo {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
}

.isb-home-lines-transition__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 3.05vw, 60px);
  line-height: 1.06;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 20px black;
}

.isb-home-lines-transition__title::before,
.isb-home-lines-transition__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(22vw, 320px);
  height: 2px;
  transform: translateY(-50%);
  pointer-events: none;
}

.isb-home-lines-transition__title::before {
  right: calc(100% + 34px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.48) 18%,
    rgba(255, 255, 255, 0.82) 100%
  );
}

.isb-home-lines-transition__title::after {
  left: calc(100% + 34px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(255, 255, 255, 0.48) 82%,
    rgba(255, 255, 255, 0) 100%
  );
}

.isb-home-lines-transition__inner::before {
  display: none;
}

.isb-home-lines-transition__inner::after {
  content: "❧";
  display: block;
  width: 270px;
  height: 30px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 31px;
  line-height: 30px;
  text-align: center;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.18);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.7) 34%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0) 66%,
    rgba(255, 255, 255, 0.7) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 100% 2px;
  background-position: center center;
  background-repeat: no-repeat;
}

/* =========================================================
   RESPONSIVE - DESKTOP MEDIO
========================================================= */

@media (max-width: 1199px) {
  .isb-home-visual-hero__inner {
    min-height: 620px;
  }

  .isb-home-visual-hero::before {
    width: min(100%, 1280px);
    background:
      linear-gradient(
        90deg,
        rgba(251, 252, 247, 0.94) 0%,
        rgba(251, 252, 247, 0.72) 12%,
        rgba(251, 252, 247, 0.34) 28%,
        rgba(251, 252, 247, 0.08) 44%,
        rgba(251, 252, 247, 0) 62%,
        rgba(251, 252, 247, 0.1) 78%,
        rgba(251, 252, 247, 0.42) 90%,
        rgba(251, 252, 247, 0.86) 100%
      ),
      url("https://ischiasorgentedibellezza.it/img/cms/hero-acqua-termale-ischia-latte-corpo-agrumi-1920x1080.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .isb-home-visual-hero__content {
    max-width: 530px;
  }

  .isb-home-visual-hero__title {
    font-size: clamp(44px, 4.3vw, 66px);
  }

  .isb-home-visual-hero__description {
    font-size: 19px;
  }

  .isb-home-visual-hero__features {
    width: min(740px, 100%);
  }

  .isb-home-visual-hero__feature {
    gap: 16px;
    padding: 24px;
  }

  .isb-home-lines-transition__title {
    font-size: clamp(34px, 3.4vw, 52px);
  }

  .isb-home-lines-transition__title::before,
  .isb-home-lines-transition__title::after {
    width: min(17vw, 240px);
  }
}

/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 991px) {
  .isb-home-visual-hero {
    margin-top: 40px;
    padding: 0 16px;
  }

  .isb-home-visual-hero::before {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.94) 38%,
        rgba(255, 255, 255, 0.62) 62%,
        rgba(255, 255, 255, 0.94) 100%
      ),
      url("https://ischiasorgentedibellezza.it/img/cms/hero-acqua-termale-ischia-latte-corpo-agrumi-1920x1080.webp");
    background-size: auto 520px;
    background-position: center 300px;
    background-repeat: no-repeat;
  }

  .isb-home-visual-hero__inner {
    min-height: auto;
    padding: 56px 0 34px;
  }

  .isb-home-visual-hero__content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .isb-home-visual-hero__eyebrow {
    justify-content: center;
    font-size: 12px;
    text-align: center;
  }

  .isb-home-visual-hero__title,
  .isb-home-visual-hero__subtitle,
  .isb-home-visual-hero__description {
    text-align: center;
  }

  .isb-home-visual-hero__accent {
    margin-left: auto;
    margin-right: auto;
  }

  .isb-home-visual-hero__subtitle {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-size: 20px;
  }

  .isb-home-visual-hero__description {
    max-width: 620px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.65;
  }

  .isb-home-visual-hero__actions {
    justify-content: center;
  }

  .isb-home-visual-hero__features {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 360px auto 0;
  }

  .isb-home-visual-hero__feature {
    gap: 18px;
    padding: 24px 26px;
  }

  .isb-home-visual-hero__feature:not(:last-child)::after {
    display: none;
  }

  .isb-home-visual-hero__feature:not(:last-child) {
    border-bottom: 1px solid rgba(92, 166, 13, 0.11);
  }

  .isb-home-lines-transition {
    min-height: 310px;
    padding: 46px 16px 108px;
    margin-bottom: 48px;
    background-size: cover;
    background-position: center center;
  }

  .isb-home-lines-transition::after {
    left: -60%;
    right: -60%;
    bottom: -128px;
    height: 260px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow:
      0 -10px 18px rgba(255, 255, 255, 0.96),
      0 -22px 32px rgba(255, 255, 255, 0.8),
      0 -38px 48px rgba(255, 255, 255, 0.56),
      0 -56px 70px rgba(255, 255, 255, 0.28),
      0 -78px 92px rgba(255, 255, 255, 0.1);
  }

  .isb-home-lines-transition__inner {
    min-height: 140px;
    gap: 14px;
  }

  .isb-home-lines-transition__icon,
  .isb-home-lines-transition__logo {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .isb-home-lines-transition__title {
    font-size: clamp(29px, 4vw, 42px);
    white-space: normal;
  }

  .isb-home-lines-transition__title::before,
  .isb-home-lines-transition__title::after {
    width: min(13vw, 120px);
  }

  .isb-home-lines-transition__title::before {
    right: calc(100% + 20px);
  }

  .isb-home-lines-transition__title::after {
    left: calc(100% + 20px);
  }

  .isb-home-lines-transition__inner::after {
    width: 220px;
    font-size: 27px;
  }
}

/* =========================================================
   RESPONSIVE - TABLET 768 / 991
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {
  #index .an_homeproducts-text {
    width: calc(100vw - 17px);
    max-width: none;
    margin-left: calc(50% - 50vw + 8.5px);
    margin-right: 0;
    overflow: hidden;
  }

  .isb-home-visual-hero {
    margin-top: 38px;
    padding: 0 18px;
    overflow: hidden;
    background: #fbfcf7;
  }

  .isb-home-visual-hero::before {
    width: 100%;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 22px 58px rgba(92, 166, 13, 0.055);
    background:
      linear-gradient(
        90deg,
        rgba(251, 252, 247, 0.98) 0%,
        rgba(251, 252, 247, 0.9) 16%,
        rgba(251, 252, 247, 0.58) 34%,
        rgba(251, 252, 247, 0.2) 52%,
        rgba(251, 252, 247, 0.02) 70%,
        rgba(251, 252, 247, 0.36) 100%
      ),
      url("https://ischiasorgentedibellezza.it/img/cms/hero-acqua-termale-ischia-latte-corpo-agrumi-1920x1080.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .isb-home-visual-hero::after {
    height: 90px;
    background: linear-gradient(
      180deg,
      rgba(251, 252, 247, 0) 0%,
      rgba(251, 252, 247, 0.42) 62%,
      #fbfcf7 100%
    );
  }

  .isb-home-visual-hero__inner {
    max-width: 900px;
    min-height: 610px;
    padding: 74px 0 48px;
    justify-content: space-between;
  }

  .isb-home-visual-hero__content {
    max-width: 460px;
    margin: 0;
    text-align: left;
  }

  .isb-home-visual-hero__eyebrow {
    justify-content: flex-start;
    margin-bottom: 18px;
    font-size: 11px;
    line-height: 1.35;
    text-align: left;
  }

  .isb-home-visual-hero__title {
    max-width: 450px;
    font-size: clamp(44px, 6vw, 58px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-align: left;
  }

  .isb-home-visual-hero__accent {
    width: 54px;
    height: 4px;
    margin: 24px 0 22px;
  }

  .isb-home-visual-hero__subtitle {
    max-width: 400px;
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.38;
    text-align: left;
  }

  .isb-home-visual-hero__description {
    max-width: 430px;
    margin: 0;
    font-size: 17px;
    line-height: 1.58;
    text-align: left;
  }

  .isb-home-visual-hero__actions {
    justify-content: flex-start;
    gap: 13px;
    margin-top: 26px;
  }

  .isb-home-visual-hero__btn {
    min-width: 180px;
    min-height: 50px;
    padding: 13px 24px;
    font-size: 12px;
  }

  .isb-home-visual-hero__btn--secondary {
    min-width: 165px;
  }

  .isb-home-visual-hero__features {
    width: min(690px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin: 52px 0 0;
    border-radius: 22px;
  }

  .isb-home-visual-hero__feature {
    flex-direction: row;
    justify-content: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 22px 18px;
    text-align: left;
  }

  .isb-home-visual-hero__feature:not(:last-child) {
    border-bottom: 0;
  }

  .isb-home-visual-hero__feature:not(:last-child)::after {
    display: block;
    top: 20px;
    right: 0;
    width: 1px;
    height: calc(100% - 40px);
    background: rgba(92, 166, 13, 0.13);
  }

  .isb-home-visual-hero__feature-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .isb-home-visual-hero__feature-text {
    align-items: flex-start;
    gap: 5px;
  }

  .isb-home-visual-hero__feature-text strong {
    font-size: 12px;
    line-height: 1.25;
    text-align: left;
  }

  .isb-home-visual-hero__feature-text small {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    text-align: left;
  }

  .isb-home-lines-transition {
    min-height: 315px;
    margin-bottom: 48px;
    padding: 44px 18px 112px;
    background-size: cover;
    background-position: center center;
  }

  .isb-home-lines-transition::after {
    left: -60%;
    right: -60%;
    bottom: -132px;
    height: 252px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow:
      0 -10px 18px rgba(255, 255, 255, 0.96),
      0 -22px 32px rgba(255, 255, 255, 0.8),
      0 -38px 48px rgba(255, 255, 255, 0.56),
      0 -56px 70px rgba(255, 255, 255, 0.28),
      0 -78px 92px rgba(255, 255, 255, 0.1);
  }

  .isb-home-lines-transition__inner {
    min-height: 145px;
    gap: 13px;
  }

  .isb-home-lines-transition__icon,
  .isb-home-lines-transition__logo {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  .isb-home-lines-transition__title {
    max-width: 720px;
    font-size: clamp(34px, 4.6vw, 46px);
    line-height: 1.12;
    white-space: normal;
  }

  .isb-home-lines-transition__title::before,
  .isb-home-lines-transition__title::after {
    width: min(11vw, 90px);
  }

  .isb-home-lines-transition__title::before {
    right: calc(100% + 18px);
  }

  .isb-home-lines-transition__title::after {
    left: calc(100% + 18px);
  }

  .isb-home-lines-transition__inner::after {
    width: 210px;
    height: 28px;
    margin-top: 2px;
    font-size: 26px;
    line-height: 28px;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 767px) {
  #index .an_homeproducts-text {
    width: calc(100vw - 17px);
    max-width: none;
    margin-left: calc(50% - 50vw + 8.5px);
    margin-right: 0;
    overflow: hidden;
  }

  .isb-home-visual-hero {
    margin-top: 22px !important;
    padding: 0 14px;
    overflow: hidden;
    background: #fbfcf7;
  }

  .isb-home-visual-hero::before {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
    background: url("https://ischiasorgentedibellezza.it/img/cms/hero-acqua-termale-ischia-latte-corpo-agrumi-mobile.webp");
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
  }

  .isb-home-visual-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 210px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(251, 252, 247, 0) 0%,
      rgba(251, 252, 247, 0.18) 28%,
      rgb(251 252 247 / 10%) 50%,
      rgb(251 252 247) 62%,
      #fbfcf7 100%
    );
  }

  .isb-home-visual-hero__inner {
    min-height: 760px;
    padding: 62px 0 22px;
    justify-content: flex-start;
  }

  .isb-home-visual-hero__content {
    max-width: 330px;
    margin: 0;
    text-align: left;
  }

  .isb-home-visual-hero__eyebrow {
    justify-content: flex-start;
    gap: 7px;
    margin-bottom: 18px;
    color: #5ca60d;
    font-size: 10px;
    line-height: 1.35;
    letter-spacing: 0.045em;
    text-align: left;
  }

  .isb-home-visual-hero__eyebrow-icon {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .isb-home-visual-hero__title {
    max-width: 315px;
    font-size: 38px;
    line-height: 1.06;
    letter-spacing: -0.04em;
    text-align: left;
  }

  .isb-home-visual-hero__subtitle {
    display: none;
  }

  .isb-home-visual-hero__accent {
    width: 42px;
    height: 3px;
    margin: 22px 0 22px;
  }

  .isb-home-visual-hero__description {
    max-width: 285px;
    margin: 0;
    font-size: 16px;
    line-height: 1.62;
    text-align: left;
  }

  .isb-home-visual-hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
  }

  .isb-home-visual-hero__btn {
    width: auto;
    min-width: 205px;
    min-height: 48px;
    padding: 13px 24px;
    font-size: 12px;
  }

  .isb-home-visual-hero__btn--secondary {
    min-width: 178px;
    background: rgba(255, 255, 255, 0.74);
  }

  .isb-home-visual-hero__features {
    position: relative;
    z-index: 4;
    width: calc(100% - 20px);
    min-height: 108px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 73px auto 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
      0 18px 42px rgba(0, 0, 0, 0.08),
      0 2px 8px rgba(92, 166, 13, 0.06);
    overflow: visible;
    backdrop-filter: blur(10px);
  }

  .isb-home-visual-hero__feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 108px;
    padding: 16px 6px 14px;
    text-align: center;
  }

  .isb-home-visual-hero__feature:not(:last-child)::after {
    display: block;
    top: 18px;
    right: 0;
    height: calc(100% - 36px);
    background: rgba(92, 166, 13, 0.16);
  }

  .isb-home-visual-hero__feature-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #6db714;
    font-size: 22px;
  }

  .isb-home-visual-hero__feature-text {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .isb-home-visual-hero__feature-text strong {
    display: block;
    width: 100%;
    max-width: 86px;
    color: #494949;
    font-size: 11px;
    line-height: 1.22;
    font-weight: 600;
    text-align: center;
    text-transform: none;
    white-space: normal;
  }

  .isb-home-visual-hero__feature-text small {
    display: none;
  }

  .isb-home-lines-transition {
    min-height: 270px;
    margin-bottom: 42px;
    padding: 34px 16px 112px;
    background-size: cover;
    background-position: center center;
    margin-bottom: 0 !important;
  }

  .isb-home-lines-transition::after {
    left: -72%;
    right: -72%;
    bottom: -126px;
    height: 198px;
    background: #ffffff;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    box-shadow:
      0 -9px 16px rgba(255, 255, 255, 0.96),
      0 -20px 30px rgba(255, 255, 255, 0.78),
      0 -34px 44px rgba(255, 255, 255, 0.52),
      0 -50px 64px rgba(255, 255, 255, 0.24),
      0 -70px 84px rgba(255, 255, 255, 0.09);
  }

  .isb-home-lines-transition__inner {
    min-height: 150px;
    gap: 10px;
  }

  .isb-home-lines-transition__icon,
  .isb-home-lines-transition__logo {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .isb-home-lines-transition__title {
    max-width: 320px;
    font-size: 25px;
    line-height: 1.15;
    white-space: normal;
  }

  .isb-home-lines-transition__title::before,
  .isb-home-lines-transition__title::after {
    display: none;
  }

  .isb-home-lines-transition__inner::after {
    width: 170px;
    height: 26px;
    margin-top: 6px;
    font-size: 23px;
    line-height: 26px;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE PICCOLO
========================================================= */

@media (max-width: 480px) {
  .isb-home-visual-hero {
    padding: 0 12px;
  }

  .isb-home-visual-hero::before {
    background-size: cover;
    background-position: center -20px;
  }

  .isb-home-visual-hero::after {
    height: 190px;
  }

  .isb-home-visual-hero__inner {
    min-height: 735px;
    padding-top: 52px;
    padding-bottom: 20px;
  }

  .isb-home-visual-hero__content {
    max-width: 300px;
  }

  .isb-home-visual-hero__eyebrow {
    max-width: 220px;
    font-size: 9.5px;
  }

  .isb-home-visual-hero__title {
    max-width: 292px;
    font-size: 34px;
  }

  .isb-home-visual-hero__description {
    max-width: 265px;
    font-size: 15px;
    line-height: 1.6;
  }

  .isb-home-visual-hero__actions {
    margin-top: 22px;
  }

  .isb-home-visual-hero__btn {
    min-width: 190px;
    min-height: 46px;
    padding: 12px 22px;
    font-size: 11px;
  }

  .isb-home-visual-hero__btn--secondary {
    min-width: 168px;
  }

  .isb-home-visual-hero__features {
    width: calc(100% - 16px);
    min-height: 104px;
    margin-top: 74px;
    border-radius: 22px;
  }

  .isb-home-visual-hero__feature {
    min-height: 104px;
    padding: 15px 5px 13px;
  }

  .isb-home-visual-hero__feature-icon {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 21px;
  }

  .isb-home-visual-hero__feature-text strong {
    max-width: 76px;
    font-size: 10.5px;
  }

  .isb-home-lines-transition {
    min-height: 255px;
    padding: 32px 14px 102px;
  }

  .isb-home-lines-transition::after {
    left: -86%;
    right: -86%;
    bottom: -112px;
    height: 182px;
  }

  .isb-home-lines-transition__icon,
  .isb-home-lines-transition__logo {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .isb-home-lines-transition__title {
    max-width: 290px;
    font-size: 23px;
  }

  .isb-home-lines-transition__inner::after {
    width: 150px;
    margin-top: -2px;
  }
}



/* =========================================================
   HOME PRODUCTS - GRADIENTE BASSO + FORME SOFT ELEGANTI
   Non modifica padding, margini, larghezze o layout
========================================================= */

#index .an_homeproducts-container .js-an_homeproducts-block {
  box-shadow: 0 26px 32px -34px rgba(0, 0, 0, 0.32);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(248, 252, 243, 0.46) 92%,
    rgba(238, 247, 229, 0.82) 100%
  );
  border-radius: 24px;
}


/* VARIANTI */

/* 1 - Nero */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(1) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(245, 245, 245, 0.42) 92%,
    rgba(218, 218, 218, 0.68) 100%
  );
}

/* 2 - Blu chiaro */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(2) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(239, 249, 252, 0.46) 92%,
    rgba(215, 239, 247, 0.72) 100%
  );
}

/* 3 - Verde chiaro */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(3) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(246, 252, 239, 0.46) 92%,
    rgba(224, 244, 202, 0.72) 100%
  );
}

/* 4 - Verde scuro */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(4) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(239, 248, 236, 0.44) 92%,
    rgba(188, 221, 174, 0.68) 100%
  );
}

/* 5 - Arancione */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(5) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 248, 238, 0.46) 92%,
    rgba(255, 225, 184, 0.72) 100%
  );
}

/* 6 - Lilla */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(6) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(249, 243, 252, 0.46) 92%,
    rgba(229, 208, 242, 0.68) 100%
  );
}

/* 7 - Blu scuro */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(7) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(238, 243, 250, 0.44) 92%,
    rgba(178, 199, 226, 0.66) 100%
  );
}

/* 8 - Tortora */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(8) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(249, 247, 243, 0.46) 92%,
    rgba(221, 213, 201, 0.72) 100%
  );
}

/* 8 - Arancione corallo caldo */
#index .an_homeproducts-container .js-an_homeproducts-block:nth-child(9) {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 224, 211, 0.2) 92%,
    rgba(223, 84, 46, 0.23) 100%
  );
}

/* Toglie il background bianco sotto i prodotti nelle card */
#index
  .an_homeproducts-container
  .js-an_homeproducts-block
  .thumbnail-container,
#index
  .an_homeproducts-container
  .js-an_homeproducts-block
  .product-description {
  background-color: transparent;
}























/* ====================================================================================================
   HOME SLIDER
   ==================================================================================================== */

/* Blocco testuale centrale */
.an_homeslider-desc .isb-slider-copy {
  text-align: center;
  color: #123c78;
  min-width: 447.573px;
}

/* Contenitore del titolo con eventuale bollino */
.an_homeslider-desc .isb-slider-copy__title-wrap {
  position: relative;
  display: inline-block;
}

/* Titolo
   Letter spacing condiviso da Acido Ialuronico, Bava di Lumaca e Aloe Vera */
.an_homeslider-desc .isb-slider-copy__title {
  margin: 0;
  font-family: "Italiana", serif;
  font-size: clamp(60px, 5.21vw, 100px);
  font-weight: 400;
  font-style: normal;
  line-height: 0.84;
  letter-spacing: -0.025em;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

/* Singole righe del titolo */
.an_homeslider-desc .isb-slider-copy__title span {
  display: block;
}

/* ==========================================================
   BOLLINO BIO e BIOTECH
   ========================================================== */

.an_homeslider-desc .isb-slider-copy__badge {
  text-transform: uppercase;
  font-size: 30px;
}

/* Fregio divisore: impostazioni condivise */
.an_homeslider-desc .isb-slider-copy__divider {
  display: block !important;
  width: clamp(280px, 25.5vw, 490px) !important;
  max-width: 100%;
  height: auto !important;
  margin: 6px auto 22px !important;
  opacity: 0.5;
}

/* Fregi colorabili: struttura comune tramite maschera SVG */
.an_homeslider-desc span.isb-slider-copy__divider {
  height: 58px !important;
  margin: 10px auto 22px !important;
  opacity: 1;

  -webkit-mask-image: url("/img/fregio-isb-slider.svg");
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;

  mask-image: url("/img/fregio-isb-slider.svg");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

/* Frase sotto il fregio */
.an_homeslider-desc .isb-slider-copy__subtitle {
  margin: 30px 0 0;
  font-size: clamp(12px, 0.78vw, 15px) !important;
  font-weight: 400;
  line-height: 1.38 !important;
  letter-spacing: 0.1em;
  text-shadow: none;
}

/* Pulsante generato automaticamente dal modulo */
.an_homeslider-desc .isb-slider-copy + .btn.btn-primary {
  background-color: #000;
  border-color: #000;
  color: #fff;
  transition: transform 0.22s ease;
  will-change: transform;
}

.an_homeslider-desc .isb-slider-copy + .btn.btn-primary:hover {
  transform: translateY(-2px);
}

/* ==========================================================
   PERSONALIZZAZIONI DELLE SINGOLE SLIDE
   Usare solo quando una slide deve differire dalle altre
   ========================================================== */

/* ==========================================================
   SLIDE 01 — ACIDO IALURONICO
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--01 {
  color: #3f5e8c;
}

/* Colore fregio */
.an_homeslider-desc .isb-slider-copy--01 .isb-slider-copy__divider--ialuronico {
  background-color: #a0b0c7;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--01 + .btn.btn-primary {
  background-color: #3f5e8c;
  border-color: #3f5e8c;
  color: #ffffff;
}

/* ==========================================================
   SLIDE 02 — BAVA DI LUMACA
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--02 {
  color: #3f6f3a;
}

/* Colore fregio */
.an_homeslider-desc .isb-slider-copy--02 .isb-slider-copy__divider--bava {
  background-color: #3f6f3abd;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--02 + .btn.btn-primary {
  background-color: #b8d185;
  border-color: #b8d185;
  color: #0f2a04;
}

/* ==========================================================
   SLIDE 03 — ALOE VERA BIO
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--03 {
  color: #2c7e33;
}

/* Colore fregio */
.an_homeslider-desc .isb-slider-copy--03 .isb-slider-copy__divider--aloe {
  background-color: #1b632d;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--03 + .btn.btn-primary {
  background-color: #2c7e33;
  border-color: #2c7e33;
  color: #fff;
}

/* ==========================================================
   SLIDE 04 — LUCE PURA
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--04 {
  color: #fff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.45),
    0 1px 2px rgb(55 55 65 / 52%);
}

/* Fregio chiaro per lo sfondo Luce Pura */
.an_homeslider-desc .isb-slider-copy--04 .isb-slider-copy__divider {
  opacity: 0.72;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.45))
    drop-shadow(0 1px 2px rgb(55 55 65 / 52%));
}

/* Pulsante Luce Pura */
.an_homeslider-desc .isb-slider-copy--04 + .btn.btn-primary {
  color: #fff;

  background: #000000;
  border-color: rgba(255, 255, 255, 0.82);

  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.48),
    0 0 18px rgba(255, 255, 255, 0.18),
    inset 0 0 10px rgba(255, 255, 255, 0.08);

  text-shadow: 0 0 6px rgba(255, 255, 255, 0.72);

  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.isb-slider-copy.isb-slider-copy--04 .isb-slider-copy__badge {
  background-color: #9a9a9a7a;
  padding: 3px;
  margin: 6px;
  display: block;
  font-size: 20px;
}

/* ==========================================================
   SLIDE 05 — COSMETICI PER LUI
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--05 {
  color: #012153;
}

/* Colore fregio */
.an_homeslider-desc
  .isb-slider-copy--05
  .isb-slider-copy__divider--cosmetici-uomo {
  background-color: #a6a18f;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--05 + .btn.btn-primary {
  background-color: #012153;
  border-color: #012153;
  color: #fff;
}

/* ==========================================================
   SLIDE 06 — LINEA BAGNO AGRUMI
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--06 {
  color: #4b3b34;
}

/* Titolo Linea Bagno */
.an_homeslider-desc .isb-slider-copy--06 .isb-slider-copy__title {
  color: #4b3b34;
}

/* Colore fregio */
.an_homeslider-desc .isb-slider-copy--06 .isb-slider-copy__divider--bagno {
  background-color: #4b3b34;
  margin: 22px auto !important;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--06 + .btn.btn-primary {
  background-color: #ff9700;
  border-color: #ff9700;
  color: #fff;
}

/* ==========================================================
   SLIDE 07 — PROFUMI
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--07 {
  color: #0e2841;
}

/* Titolo Profumi */
.an_homeslider-desc .isb-slider-copy--07 .isb-slider-copy__title {
  color: #0e2841;
}

/* Colore fregio */
.an_homeslider-desc .isb-slider-copy--07 .isb-slider-copy__divider--profumi {
  background-color: #0e2841;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--07 + .btn.btn-primary {
  background-color: #0e2841;
  border-color: #0e2841;
  color: #fff;
}

/* ==========================================================
   SLIDE 08 — ARNICA DOL
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--08 {
  color: #674f11;
}

/* Titolo Arnica Dol */
.an_homeslider-desc .isb-slider-copy--08 .isb-slider-copy__title {
  color: #674f11;
}

/* Colore fregio */
.an_homeslider-desc .isb-slider-copy--08 .isb-slider-copy__divider--arnica {
  background-color: #dac5a2;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--08 + .btn.btn-primary {
  background-color: #f1b403;
  border-color: #f1b403;
  color: #674f11;
}

/* ==========================================================
   SLIDE 09 — THERMAL SUN
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--09 {
  color: #8f8069;
}

/* Titolo Thermal Sun */
.an_homeslider-desc .isb-slider-copy--09 .isb-slider-copy__title {
  color: #e27e0e;
}

/* Colore fregio */
.an_homeslider-desc
  .isb-slider-copy--09
  .isb-slider-copy__divider--thermal-sun {
  background-color: #000;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--09 + .btn.btn-primary {
  background-color: #d06601;
  border-color: #d06601;
  color: #fff;
}

/* ==========================================================
   SLIDE 10 — DERMOCOSMESI AVANZATA RIGENERATIVA
   ========================================================== */

.an_homeslider-desc .isb-slider-copy--10 {
  color: #1d1d1d;
}

/* Titolo */
.an_homeslider-desc .isb-slider-copy--10 .isb-slider-copy__title {
  color: #111111;
}

/* Colore fregio */
.an_homeslider-desc
  .isb-slider-copy--10
  .isb-slider-copy__divider--dermocosmesi {
  background-color: #696b6e;
}

/* Pulsante */
.an_homeslider-desc .isb-slider-copy--10 + .btn.btn-primary {
  background-color: #242424;
  border-color: #242424;
  color: #f3f3f3;
}

/* ==========================================================
   RESPONSIVE INTERMEDIO — DA 768px A 1919px
   Da 1920px in su resta tutto invariato.

   Nota tecnica:
   i fregi colorabili sono elementi <span>. Per questo, nelle
   media query, altezza E margini vengono sovrascritti usando
   esplicitamente span.isb-slider-copy__divider. In caso contrario
   la regola desktop più specifica manterrebbe i margini 10px/22px.
   ========================================================== */

/* ----------------------------------------------------------
   DESKTOP RIDOTTO — 1440px / 1919px
   Compressione leggera, senza alterare il pulsante del tema
   ---------------------------------------------------------- */

@media (min-width: 1440px) and (max-width: 1919.98px) {
  .an_homeslider-desc {
    row-gap: 0 !important;
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .an_homeslider-desc .isb-slider-copy {
    width: clamp(340px, 27vw, 447.573px);
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    padding-block: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title {
    font-size: clamp(52px, 4.75vw, 88px);
    line-height: 0.82;
  }

  .an_homeslider-desc .isb-slider-copy__badge {
    font-size: clamp(18px, 1.35vw, 25px);
    line-height: 1;
  }

  .an_homeslider-desc .isb-slider-copy__divider {
    width: clamp(235px, 21.5vw, 390px) !important;
  }

  .an_homeslider-desc span.isb-slider-copy__divider {
    height: clamp(34px, 2.35vw, 44px) !important;
    margin: 3px auto 7px !important;
  }

  .an_homeslider-desc .isb-slider-copy__subtitle {
    display: -webkit-box;
    margin: 16px 0 25px !important;
    overflow: hidden;
    font-size: clamp(10.5px, 0.72vw, 13px) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.065em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .an_homeslider-desc .isb-slider-copy + .btn.btn-primary {
    margin-top: 4px !important;
    margin-bottom: 0 !important;
  }

  .an_homeslider-desc
    .isb-slider-copy--06
    span.isb-slider-copy__divider--bagno {
    margin: 5px auto 7px !important;
  }

  .an_homeslider-desc .isb-slider-copy--04 .isb-slider-copy__badge {
    margin: 3px;
    padding: 2px;
    font-size: clamp(14px, 1vw, 18px);
  }
}

/* ----------------------------------------------------------
   DESKTOP COMPATTO — 1200px / 1439px
   Fascia critica visibile nello screenshot a circa 1308px:
   riduce soprattutto fregio, margini interni e distanze verticali
   ---------------------------------------------------------- */

@media (min-width: 1200px) and (max-width: 1439.98px) {
  .an_homeslider-desc {
    row-gap: 0 !important;
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .an_homeslider-desc .isb-slider-copy {
    width: clamp(280px, 26.5vw, 360px);
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    padding-block: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title {
    font-size: clamp(44px, 4.35vw, 58px);
    line-height: 0.79;
  }

  .an_homeslider-desc .isb-slider-copy__badge {
    margin-block: 0;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1;
  }

  .an_homeslider-desc .isb-slider-copy__divider {
    width: clamp(195px, 20vw, 270px) !important;
  }

  .an_homeslider-desc span.isb-slider-copy__divider {
    height: clamp(27px, 2.25vw, 33px) !important;
    margin: 1px auto 4px !important;
  }

  .an_homeslider-desc .isb-slider-copy__subtitle {
    display: -webkit-box;
    margin: 12px 0 32px !important;
    overflow: hidden;
    font-size: clamp(9px, 0.78vw, 10.5px) !important;
    line-height: 1.14 !important;
    letter-spacing: 0.045em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .an_homeslider-desc .isb-slider-copy + .btn.btn-primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .an_homeslider-desc
    .isb-slider-copy--06
    span.isb-slider-copy__divider--bagno {
    margin: 2px auto 4px !important;
  }

  .an_homeslider-desc .isb-slider-copy--04 .isb-slider-copy__badge {
    margin: 2px;
    padding: 2px;
    font-size: clamp(12px, 1.05vw, 15px);
  }

  .an_homeslider-desc .isb-slider-copy--10 .isb-slider-copy__title {
    font-size: clamp(32px, 3vw, 41px);
    line-height: 0.82;
  }
}

/* ----------------------------------------------------------
   PICCOLO DESKTOP / TABLET ORIZZONTALE — 992px / 1199px
   Compressione decisa per mantenere anche il pulsante nella hero
   ---------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .an_homeslider-desc {
    row-gap: 0 !important;
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .an_homeslider-desc .isb-slider-copy {
    width: clamp(235px, 26vw, 300px);
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    padding-block: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title {
    font-size: clamp(36px, 4.1vw, 47px);
    line-height: 0.78;
  }

  .an_homeslider-desc .isb-slider-copy__badge {
    margin-block: 0;
    font-size: clamp(13px, 1.35vw, 16px);
    line-height: 1;
  }

  .an_homeslider-desc .isb-slider-copy__divider {
    width: clamp(170px, 19.5vw, 225px) !important;
  }

  .an_homeslider-desc span.isb-slider-copy__divider {
    height: clamp(22px, 2.35vw, 28px) !important;
    margin: 0 auto 3px !important;
  }

  .an_homeslider-desc .isb-slider-copy__subtitle {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: clamp(8.5px, 0.84vw, 10px) !important;
    line-height: 1.1 !important;
    letter-spacing: 0.035em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .an_homeslider-desc .isb-slider-copy + .btn.btn-primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .an_homeslider-desc
    .isb-slider-copy--06
    span.isb-slider-copy__divider--bagno {
    margin: 1px auto 3px !important;
  }

  .an_homeslider-desc .isb-slider-copy--04 .isb-slider-copy__badge {
    margin: 1px;
    padding: 1px 2px;
    font-size: clamp(11px, 1.05vw, 13px);
  }

  .an_homeslider-desc .isb-slider-copy--10 .isb-slider-copy__title {
    font-size: clamp(27px, 2.9vw, 34px);
    line-height: 0.82;
  }
}

/* ----------------------------------------------------------
   TABLET — 768px / 991px
   Compattazione massima prima del layout mobile del tema
   ---------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 991.98px) {
  .an_homeslider-desc {
    row-gap: 0 !important;
    gap: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .an_homeslider-desc .isb-slider-copy {
    width: clamp(175px, 24.5vw, 220px);
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    padding-block: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .an_homeslider-desc .isb-slider-copy__title {
    font-size: clamp(27px, 3.85vw, 34px);
    line-height: 0.76;
    letter-spacing: -0.03em;
  }

  .an_homeslider-desc .isb-slider-copy__badge {
    margin-block: 0;
    font-size: clamp(10px, 1.35vw, 13px);
    line-height: 1;
  }

  .an_homeslider-desc .isb-slider-copy__divider {
    width: clamp(128px, 17.5vw, 165px) !important;
  }

  .an_homeslider-desc span.isb-slider-copy__divider {
    height: clamp(15px, 2vw, 19px) !important;
    margin: 0 auto 1px !important;
  }

  .an_homeslider-desc .isb-slider-copy__subtitle {
    display: -webkit-box;
    margin: 20px 0 0 0;
    overflow: hidden;
    font-size: clamp(7.5px, 0.95vw, 8.8px) !important;
    line-height: 1.06 !important;
    letter-spacing: 0.02em;
  }

  .an_homeslider-desc .isb-slider-copy + .btn.btn-primary {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .an_homeslider-desc
    .isb-slider-copy--06
    span.isb-slider-copy__divider--bagno {
    margin: 0 auto 1px !important;
  }

  .an_homeslider-desc .isb-slider-copy--04 .isb-slider-copy__badge {
    margin: 1px;
    padding: 1px;
    font-size: clamp(9px, 1.05vw, 11px);
  }

  .an_homeslider-desc .isb-slider-copy--10 .isb-slider-copy__title {
    font-size: clamp(21px, 2.8vw, 27px);
    line-height: 0.8;
  }
}
