/* Scheda prodotto – layout commerciale */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700&family=Outfit:wght@300;400;500;600;700&display=swap');

.prodotto-page {
  --prodotto-bg: #faf9f7;
  --prodotto-card: #fff;
  --prodotto-charcoal: #1a1918;
  --prodotto-muted: #5c5651;
  --prodotto-gold: #b8860b;
  --prodotto-gold-light: #e8d5a3;
  --prodotto-cta: #8b6914;
  --prodotto-cta-hover: #6d5210;
  --prodotto-border: #e8e4df;
  font-family: 'Outfit', sans-serif;
  background: var(--prodotto-bg);
  color: var(--prodotto-charcoal);
}

.prodotto-page .breadcrumb-prodotto {
  font-size: 0.85rem;
  color: var(--prodotto-muted);
  margin-bottom: 1rem;
}
.prodotto-page .breadcrumb-prodotto a { color: var(--prodotto-muted); text-decoration: none; }
.prodotto-page .breadcrumb-prodotto a:hover { color: var(--prodotto-cta); }
.prodotto-page .breadcrumb-prodotto #waBreadcrumbProduct {
  word-break: break-word;
}

/* Galleria principale */
.prodotto-gallery-wrap {
  position: sticky;
  top: 1rem;
  background: var(--prodotto-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}
@media (max-width: 991.98px) {
  .prodotto-gallery-wrap {
    position: relative;
    top: auto;
  }
}
.prodotto-gallery-main {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f5f2ee 0%, #faf9f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}
.prodotto-gallery-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.prodotto-gallery-main img#prodottoMainImg {
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.prodotto-gallery-main img#prodottoMainImg.wa-img-loading {
  opacity: 0.28;
}
.prodotto-page #prodottoGalleryThumbsWrap {
  transition: opacity 0.22s ease;
}
.prodotto-page .wa-variant-copy-fade {
  transition: opacity 0.2s ease;
}
.prodotto-gallery-main:hover img { transform: scale(1.02); }

/* Badge "Variante" sulla foto principale */
.prodotto-img-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: rgba(26, 25, 24, 0.86);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}

/* Miniature galleria */
.prodotto-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-top: 1px solid var(--prodotto-border);
  background: #fff;
}
@media (max-width: 576px) {
  .prodotto-gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.prodotto-thumb {
  appearance: none;
  border: 2px solid transparent;
  background: #faf9f7;
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.prodotto-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.prodotto-thumb:hover {
  transform: translateY(-1px);
  border-color: var(--prodotto-gold-light);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.prodotto-thumb.is-active {
  border-color: var(--prodotto-cta);
  box-shadow: 0 10px 22px rgba(139,105,20,.22);
  background: #fffdf6;
}

/* Evidenzia subito che è una variante */
.prodotto-thumb.is-variant {
  border-style: dashed;
  background: linear-gradient(145deg, #ffffff 0%, #fff9ea 100%);
}
.prodotto-thumb.is-variant.is-active {
  border-style: solid;
  outline: 2px solid rgba(184,134,11,.28);
  outline-offset: 2px;
}

/* Separatore sezione "Altre foto" (galleria variant-first) */
.prodotto-gallery-thumbs .wa-gallery-section-divider {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.4rem 0 0.25rem;
  margin: 0;
  min-height: 1.75rem;
}
.prodotto-gallery-thumbs .wa-gallery-section-divider__line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--prodotto-border) 12%, var(--prodotto-border) 88%, transparent);
  max-width: 140px;
}
.prodotto-gallery-thumbs .wa-gallery-section-divider__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--prodotto-muted);
  white-space: nowrap;
}

.prodotto-thumb-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.35rem;
  border-radius: 6px;
  background: rgba(184, 134, 11, 0.16);
  color: var(--prodotto-cta);
  border: 1px solid rgba(184, 134, 11, 0.35);
}

/* Buy box */
.prodotto-buy-box {
  background: var(--prodotto-card);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  min-width: 0;
}
.prodotto-page .wa-prodotto-buy-col {
  min-width: 0;
}
.prodotto-page .prodotto-brand {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--prodotto-gold);
  margin-bottom: 0.5rem;
}
.prodotto-page .prodotto-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--prodotto-charcoal);
}
.prodotto-short-desc {
  font-size: 0.95rem;
  color: var(--prodotto-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--prodotto-border);
}
.prodotto-price-block {
  margin-bottom: 1.5rem;
}
.prodotto-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--prodotto-charcoal);
}
.prodotto-price .currency { font-size: 1rem; font-weight: 500; color: var(--prodotto-muted); }
.prodotto-badge-listino {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: var(--prodotto-gold-light);
  color: var(--prodotto-cta);
  border-radius: 4px;
  margin-left: 0.5rem;
  font-weight: 600;
}
.prodotto-selected-variant {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--prodotto-muted);
  min-height: 1.35em;
}

/* Select unico su desktop quando ci sono molte varianti */
.wa-variant-select-wide {
  max-width: 100%;
}

/* Pannello varianti desktop: compatto, scroll interno */
.prodotto-variants-panel {
  max-height: min(42vh, 320px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  border: 1px solid var(--prodotto-border);
  border-radius: 12px;
  background: #fdfcfa;
}
.prodotto-variants-panel::-webkit-scrollbar { width: 6px; }
.prodotto-variants-panel::-webkit-scrollbar-thumb {
  background: var(--prodotto-gold-light);
  border-radius: 6px;
}

.wa-variant-pill {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--prodotto-border);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
}
.wa-variant-pill:last-child { border-bottom: none; }
.wa-variant-pill:hover { background: #fff; }
.wa-variant-pill.is-active {
  background: #fffdf8;
  box-shadow: inset 3px 0 0 var(--prodotto-cta);
}
.wa-variant-pill-main {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.wa-variant-pill-name { font-weight: 600; font-size: 0.9rem; }
.wa-variant-pill-format { font-size: 0.8rem; }
.wa-variant-pill-sku { display: block; }
.wa-variant-pill-meta {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.wa-variant-pill-price { font-weight: 700; color: var(--prodotto-charcoal); font-size: 0.95rem; }
.wa-variant-pill-stock { color: var(--prodotto-muted); }
.prodotto-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  flex-wrap: wrap;
}
.prodotto-qty-wrap .form-label {
  font-weight: 500;
  margin-bottom: 0;
  min-width: 4.5rem;
}
.prodotto-qty-wrap .wa-qty {
  flex: 0 1 auto;
}
.prodotto-cta-add {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--prodotto-cta) 0%, #a07818 100%);
  border: none;
  color: #fff;
  transition: transform 0.15s, box-shadow 0.2s;
}
.prodotto-cta-add:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(139,105,20,.35); }
.prodotto-trust {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--prodotto-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--prodotto-muted);
}
.prodotto-trust span { display: inline-flex; align-items: center; gap: 0.35rem; }

/* Sezioni sotto */
.prodotto-section {
  background: var(--prodotto-card);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.prodotto-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--prodotto-charcoal);
}
.prodotto-section .content { color: var(--prodotto-muted); line-height: 1.7; }

/* Related */
.prodotto-related-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--prodotto-charcoal);
}
.prodotto-related-card {
  background: var(--prodotto-card);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--prodotto-border);
}
.prodotto-related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); color: inherit; }
.prodotto-related-card .img-wrap {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f5f2ee 0%, #faf9f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.prodotto-related-card .img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.prodotto-related-card .card-body { padding: 1rem; }
.prodotto-related-card .card-body .name { font-weight: 600; font-size: 0.95rem; }

.prodotto-back { color: var(--prodotto-muted); text-decoration: none; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1rem; }
.prodotto-back:hover { color: var(--prodotto-cta); }

/* Scheda commerciale HTML (AI / manuale) */
.prodotto-page .prodotto-ai-scheda .content-html {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--prodotto-charcoal);
}
.prodotto-page .prodotto-ai-scheda .content-html h2,
.prodotto-page .prodotto-ai-scheda .content-html h3 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.prodotto-page .prodotto-ai-scheda .content-html details {
  margin-bottom: 0.75rem;
  border: 1px solid var(--prodotto-border);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  background: var(--prodotto-card);
}
.prodotto-page .prodotto-ai-scheda .content-html summary {
  cursor: pointer;
  font-weight: 600;
  list-style-position: outside;
}
.prodotto-page .prodotto-ai-scheda .content-html ul { padding-left: 1.25rem; margin-bottom: 0.5rem; }
.prodotto-page .prodotto-ai-scheda .content-html p:last-child { margin-bottom: 0; }

/* ── Selettore varianti stile swatch (Amazon-like) ── */
.prodotto-page .wa-variant-active-row {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--prodotto-border);
  background: linear-gradient(180deg, #fffdf9 0%, #faf8f5 100%);
}
.prodotto-page select.wa-variant-select-fallback {
  max-height: min(14rem, 38vh);
  overflow-y: auto;
}
/* Finestra: ~10–12 swatch visibili, resto solo con scroll orizzontale (no riga infinita fuori colonna) */
.prodotto-page .wa-variant-swatch-viewport {
  max-width: min(100%, 560px);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 6px 8px 10px;
  border: 1px solid var(--prodotto-border);
  border-radius: 12px;
  background: #fdfcfa;
  box-sizing: border-box;
}
.prodotto-page .wa-variant-swatch-viewport::-webkit-scrollbar {
  height: 6px;
}
.prodotto-page .wa-variant-swatch-viewport::-webkit-scrollbar-thumb {
  background: var(--prodotto-gold-light);
  border-radius: 6px;
}
.prodotto-page #waVariantSwatches.wa-variant-swatch-row {
  flex-wrap: nowrap !important;
  width: max-content;
  max-width: none;
  padding-bottom: 2px;
}
.prodotto-page .wa-swatch {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.prodotto-page .wa-swatch.wa-swatch--image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.prodotto-page .wa-swatch:hover:not(.unavailable) {
  transform: scale(1.08);
  border-color: rgba(26, 25, 24, 0.45);
}
.prodotto-page .wa-swatch:focus-visible {
  outline: 2px solid var(--prodotto-cta);
  outline-offset: 2px;
}
.prodotto-page .wa-swatch.active {
  border: 3px solid var(--prodotto-charcoal);
  box-shadow: 0 0 0 2px #fff inset, 0 6px 16px rgba(139, 105, 20, 0.25);
}
.prodotto-page .wa-swatch.unavailable {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(0.9);
}
.prodotto-page .wa-swatch-check {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  background: var(--prodotto-charcoal);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.prodotto-page .wa-swatch-check .bi {
  font-size: 0.65rem;
  line-height: 1;
}
.prodotto-page .wa-swatch.active .wa-swatch-check {
  display: flex;
}

/* Mobile premium (≤991px): tema scuro/oro allineato ai mockup vetrina */
@media (max-width: 991.98px) {
  .prodotto-page.wa-page-prodotto-m {
    --prodotto-bg: #151311;
    --prodotto-card: #1f1c19;
    --prodotto-charcoal: #f6f1ea;
    --prodotto-muted: rgba(255, 255, 255, 0.62);
    --prodotto-border: rgba(212, 184, 150, 0.22);
    --prodotto-gold: #d4b896;
    --prodotto-cta: #c9a962;
    --prodotto-cta-hover: #e0c88a;
    background: #151311;
    color: #f6f1ea;
  }
  .prodotto-page.wa-page-prodotto-m .breadcrumb-prodotto {
    border-color: rgba(212, 184, 150, 0.15);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-gallery-wrap {
    background: var(--prodotto-card);
    border: 1px solid var(--prodotto-border);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-gallery-main {
    background: linear-gradient(180deg, #252220 0%, #1a1816 100%);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-gallery-thumbs {
    background: #1a1816;
    border-top-color: var(--prodotto-border);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-thumb {
    background: #262320;
    border-color: rgba(212, 184, 150, 0.25);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-buy-box {
    background: var(--prodotto-card);
    border: 1px solid var(--prodotto-border);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-title {
    color: #fff;
    font-family: "Cormorant Garamond", Georgia, serif;
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-brand {
    color: var(--prodotto-gold);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-price {
    color: var(--prodotto-gold);
  }
  .prodotto-page.wa-page-prodotto-m .form-control,
  .prodotto-page.wa-page-prodotto-m .form-select {
    background: #262320;
    border-color: var(--prodotto-border);
    color: #f6f1ea;
  }
  .prodotto-page.wa-page-prodotto-m .wa-variant-swatch-viewport {
    background: #262320;
    border-color: var(--prodotto-border);
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-cta-add {
    background: linear-gradient(145deg, #f0e4c8, #8b6914);
    border: none;
    color: #1a1816;
    font-weight: 700;
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-trust {
    border-top-color: var(--prodotto-border);
    color: rgba(255, 255, 255, 0.55);
  }
  .prodotto-page.wa-page-prodotto-m .wa-prodotto-m-acc .accordion-item {
    background: #1f1c19;
    border: 1px solid var(--prodotto-border);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    overflow: hidden;
  }
  .prodotto-page.wa-page-prodotto-m .wa-prodotto-m-acc .accordion-button {
    background: #262320;
    color: #fff !important;
    box-shadow: none;
  }
  .prodotto-page.wa-page-prodotto-m .wa-prodotto-m-acc .accordion-button:not(.collapsed) {
    background: #2f2b27;
    color: var(--prodotto-gold) !important;
  }
  .prodotto-page.wa-page-prodotto-m .wa-prodotto-m-acc .accordion-body {
    background: #1a1816;
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(212, 184, 150, 0.12);
  }
  .prodotto-page.wa-page-prodotto-m .wa-related-m-card {
    background: #1f1c19;
    border-color: var(--prodotto-border);
  }
  .prodotto-page.wa-page-prodotto-m .wa-related-m-card__media {
    background: linear-gradient(180deg, #262320, #1a1816);
  }
  .prodotto-page.wa-page-prodotto-m .wa-related-m-card .name {
    color: #fff !important;
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-m-topbar {
    background: rgba(21, 19, 17, 0.92);
    border-color: var(--prodotto-border) !important;
  }
  .prodotto-page.wa-page-prodotto-m .prodotto-m-topbar .btn-link {
    color: #f6f1ea !important;
  }
  .prodotto-page.wa-page-prodotto-m .wa-prodotto-m-chips__item {
    background: #262320;
    border-color: var(--prodotto-border);
    color: #f6f1ea;
  }
  .prodotto-page .wa-prodotto-m-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.75rem 0 1rem;
  }
  .prodotto-page.wa-page-prodotto-m .wa-related-m-card__add {
    background: linear-gradient(145deg, #e8d4b0, #8b6914);
    color: #1a1816;
  }
  .prodotto-page .wa-related-scroll__row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.5rem;
    padding-bottom: 0.35rem;
  }
  .prodotto-page .wa-related-scroll__row > [class*="col-"] {
    flex: 0 0 10.75rem;
    max-width: 10.75rem;
    scroll-snap-align: start;
  }
  .prodotto-page .wa-related-scroll .prodotto-related-title {
    margin-bottom: 0.65rem;
  }
  .prodotto-page .prodotto-m-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    backdrop-filter: blur(8px);
  }
  .prodotto-page .wa-prodotto-m-acc .accordion-button {
    font-weight: 600;
    font-size: 0.92rem;
    box-shadow: none;
  }
  .prodotto-page .wa-prodotto-m-acc .accordion-body {
    line-height: 1.55;
    color: var(--prodotto-muted);
  }
  .prodotto-page .wa-related-m-card {
    border-radius: 14px;
    border: 1px solid var(--prodotto-border);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }
  .prodotto-page .wa-related-m-card__media {
    position: relative;
    background: linear-gradient(180deg, #faf9f7, #f3f0ec);
  }
  .prodotto-page .wa-related-m-card__imglink {
    display: block;
    padding: 0.65rem 0.75rem 0.35rem;
  }
  .prodotto-page .wa-related-m-card__imglink img {
    height: 4.5rem;
    width: 100%;
    object-fit: contain;
  }
  .prodotto-page .wa-related-m-card__wish {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    line-height: 1;
    opacity: 0.45;
  }
  .prodotto-page .wa-related-m-card .card-body {
    padding: 0.5rem 0.65rem 0.65rem;
  }
  .prodotto-page .wa-related-m-card__add {
    border-radius: 10px;
    background: linear-gradient(145deg, #f0e4c8, var(--prodotto-cta));
    color: #fff;
    border: none;
    font-weight: 600;
  }
  .prodotto-page .wa-prodotto-gallery-thumbs--single {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 100%;
  }
  .prodotto-page .wa-prodotto-gallery-thumbs--single .prodotto-thumb {
    max-width: 5rem;
    margin: 0 auto;
  }
}
