html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Lato, sans-serif;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
button:focus {
  outline: none !important;
  box-shadow: none !important;
}
body {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.024em;
  background-color: #ffffff;
}
button {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  color: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin:0;
  padding:0;
  outline: none;
  border:0;
}
p {
  margin-top:0;
}
h2 {
  margin-top:0;
  margin-bottom:0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
@font-face {
  font-family: 'Sequel106';
  src: url('../javascript/Sequel Sans Bold Body.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#pixelatedOverlay{
  position: fixed;
  top: 0; /* verrà aggiornato via JS con visualViewport + extraTop */
  left: 0;
  display: none;
  z-index: 999999;
  pointer-events: none;
  mix-blend-mode: normal !important;
  filter: none !important;
  image-rendering: pixelated;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.text-difference { 
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
  mix-blend-mode: difference;
}
.opacity-30 {
  opacity: 0.3;
}
#fade-overlay { /* OVERLAY PER ANIMAZIONE INIZIALE BIANCA */
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}
#fade-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
:root {
  --navbar-height: 35px; /* Imposta l'altezza della navbar */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/****************
  NAVBAR DESKTOP
****************/
.navbar {
  position: fixed;
  display: block;
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  padding: 10px 15px;
  width: 100%;
  z-index: 9999;
  height: var(--navbar-height);
}
.navbar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  box-sizing: border-box;
}
.navbar-sx {
  display: flex;
  justify-content: space-between;
  transition: opacity 0.3s;
}
.navbar-sx .text-sx:hover {
  opacity: 0.3;
}
.navbar-dx {
  display: flex;
  justify-content: space-between;
}
.navbar-dx .text-sx {
  transition: opacity 0.3s;
}
.navbar-dx .text-sx:hover {
  opacity: 0.3;
}
.overflow-hidden-sx, 
.overflow-hidden-dx {
  overflow: hidden;
}
.text-container {
  transform: translateY(0%) rotateX(0deg) translateZ(0px);
}
.text-sx {
  text-transform: uppercase;
  text-align: left;
  background: none;
  border: none;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  margin: 0;
  padding: 0;
}
.section-site { /* MENU SEZIONI */
  display: flex;
}
.overflow-hidden-dx {
  margin-right: 15px;
}

.navbar            { pointer-events: none; }
.navbar .text-sx,
.navbar .text-dx   { pointer-events: auto; }  
/****************
  PRODUCT PAGE
****************/
.title-container { /* TITOLO PAGINA SHOP */
  position: fixed;
  top: calc(50% + (var(--navbar-height) / 2));
  left: 0; /* allineato a sinistra */
  z-index: 9997; /* eventuale gestione dell'ordine di sovrapposizione */
  padding: 0 15px;
  font-family: Sequel106;
  font-weight: 700;
  line-height: 0.82 !important;
  letter-spacing: 0;
  margin: 0;
  font-size: 2vw;
  box-sizing: border-box;
}
.title-container h1 {
  margin:0;
}
.product {
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  height: 100dvh;
  scroll-behavior: smooth;
}
.fullscreen-showcase {
  scroll-snap-align: start;
  display:block;
  position: relative;
  height: 100dvh;
}
.showcase-container {
  inset: 0;
  position: absolute;
  height: 100%;
  width: 100%;
}
.showcase-container-image {
  height: 100%;
  transform: translateY(0%) translateZ(0px);
  top: 0;
  position: absolute;
  width: 100%;
}
.image-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  inset: 0;
  position: absolute;
  margin: 0;
}
.image-container img {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0px;
  color: transparent;
  opacity: 1;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: 0.3s;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.media-banner {
  display: flex;
  flex-direction: row;
  align-items: start; /* in modo che in basso siano allineati */
}
.immagine-container {
  width: 15vw;
  aspect-ratio: 9 / 16;   /* Mantiene sempre il rapporto di 9:16 (verticale) */
  margin: 0;
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  cursor: pointer;             /* per mostrare che è “cliccabile” */
  transition: width 0.4s ease;
}
.banner-image {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.banner-image video {
  width:100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/****************
  PRODUCT SLIDESHOW
****************/
.product-contents {
  flex-direction: column;
  scroll-snap-align: start;
  display: flex;
  height: 100dvh;
}
.product-slideshow {
  display: block;
  padding: 15px;
  height: 50dvh;
}
.slideshow-container {
  width: 100%;
  height: calc(100% - 25px);
}
.slideshow-container-media {
  touch-action: pan-y pinch-zoom;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: scroll;   /* Permette lo scroll orizzontale */
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch; /* Per iPhone */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
  height: 100%;
}
.slideshow-container-media::-webkit-scrollbar {
  display: none; /* Chrome, Safari e Opera */
}
.media-grid {
  transform: translate3d(0px, 0px, 0px);
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function,initial);
  box-sizing: content-box;
}
.product-grid-item {
  aspect-ratio: 0.8 / 1;
  margin-right: 15px;
  flex-shrink: 0;
  position: relative;
  transition-property: transform;
  display: block;
  content-visibility: visible;       /* override */
  contain-intrinsic-size: auto;      /* opzionale: neutralizza il fallback */
  overflow: visible;                  /* niente clip sul tile */
  width: auto!important;
  height: calc(100% - 30px)!important;
}

.product-grid-item-container {
  position: relative;
  height: 100%;
  width: 100%;
}
.product-grid-item-image {
  position: relative;
  height: 100%;
  width: 100%;  
  transform: translateY(0%) rotateX(0deg) translateZ(0px);
}
.grid-image-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  inset: 0;
  position: absolute;
  margin: 0;
}
.grid-image-container img {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0px;
  color: transparent;
  opacity: 1;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  object-fit: cover;
  pointer-events: none;
  max-width: 100%;
  display: block;
}
.grid-image-container video {
  position: absolute;
  height: 100%;
  width: 100%;
  inset: 0px;
  color: transparent;
  opacity: 1;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  object-fit: cover;
  pointer-events: none;
  max-width: 100%;
  display: block;
}
.image-grid-text {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}
.product-infos{
  margin-top: auto;
}
.info-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  margin-top: 0;
  display: grid;
}
.info-grid-texts:first-of-type{
  grid-column:span 2;   /* oppure: 1 / span 2 */
}
.info-grid-empty {
  align-items: flex-start;
  display: grid;
  margin-top: 0;
  height: 50vh;
}
.empty-container {
  overflow-y: scroll;
  align-items: flex-start;
  height: calc(100% - 15px);
  display: grid;
}
.info-grid-texts {
  align-items: flex-start;
  display: grid;
}
.info-grid-texts-container {
  padding: 15px;
  overflow-y: none;
  align-items: flex-start;
  height: calc(100%);
  display: grid;
}
.info-list-contents {
  list-style: none;
  margin-top: auto;
  padding: 0;
}
.feature {
  margin-bottom: 5px;
  overflow: hidden;
}
.info-container {
  grid-template-columns: repeat(4,minmax(0,1fr));
  display: grid;
  column-gap: 15px;
  font-weight:700;
}
.info-text {
  grid-column: span 3/span 3;
  font-weight: 400;
}

#page-transition-overlay {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9998; /* sotto alla navbar */
  pointer-events: none;
  transition: transform 1.4s cubic-bezier(0.77, 0, 0.175, 1);
  transform: translateY(0%);
}
#page-transition-overlay.animate {
  transform: translateY(100%);
}
.move-up {
  animation: slideUpAndFade 1.5s ease forwards;
  z-index: 9999;
  position: relative;
}
.color-swatches {
  display: flex;
  align-items: center;
  gap: 0.3vw; /* Spazio tra i pallini */
}
.swatch {
  width: 0.5vw; /* Diametro del pallino */
  height: 0.5vw; /* Diametro del pallino */
  border-radius: 50%; /* Trasforma in cerchio */
  background-color: #000000; /* Colore di default, sovrascritto in-line */
}
@keyframes slideUpAndFade {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-300vh);
    opacity: 1;
  }
}

/****************
  FOOTER
****************/
.homepage2 {
  height:auto;          /* era 50vh */
  display:flex;        /* flex non ti serve più */
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  margin: 15px;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}
.footer-grid {
  position: relative;
  display: block;
  gap: 15px;
  margin-top: auto;

}
.footer-sx { 
  margin-top: 0; 
  margin-right: 15px;
}
.footer-sx-top {
  overflow: hidden;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* due colonne uguali */
}
.text-footer-sx {
  transform: translateY(0%) rotateX(0deg) translateZ(0px);
  text-align: left;
  background: none;
  border: none;
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  margin: 0;
  grid-column: 2; /* allinea il testo alla seconda colonna */
  text-align: left; /* opzionale: puoi usare anche 'center' o 'right' */
  padding: 0;
}
.footer-sx-bottom {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-right: 15px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.item-second-column {
  grid-column: 2;
}
.item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.item:hover .overlay {
  opacity: 1;
}
.item:hover img {
  filter: blur(5px);
  transition: filter 0.3s ease;
}
.title {
  color: #fff;
  margin-bottom: 0;
  font-family: Lato, sans-serif;
  font-weight: 400;
  text-align: center;
  font-size: 12px;
}
.footer-dx {
  position: relative;
  margin-top: auto;
  text-align: right;
  margin-right: 15px;
}
.reveal-on-scroll{
  opacity: 0;
  will-change: opacity, transform;
  /* più lenta (1 s) e con easing più morbido  */
  transition: opacity 2s cubic-bezier(.25,.8,.25,1),
              transform 2s cubic-bezier(.25,.8,.25,1);
}
/* da-basso-verso-alto (testo, ecc.) */
.reveal-on-scroll[data-reveal="up"]{
  transform: translateY(80px);
}
/* stato finale */
.reveal-on-scroll.is-visible{
  opacity: 1;
  transform: translate(0,0);
}


/****************
  CARRELLO
****************/
#cart-drawer{
  position:fixed;
  width: auto;
  top:0;
  right:-400px;                 /* parte fuori dallo schermo */
  transition:right .45s cubic-bezier(.25,.8,.25,1);
  z-index: 99999;
  background-color: #ffffff;
  border: solid 1px black;
  margin: 15px;
}
/* quando il body ha la classe drawer-open */
.drawer-open #cart-drawer{ right:0; }

#cart-overlay{ transition:opacity .35s ease; }
.drawer-open #cart-overlay{
  opacity:1; pointer-events:auto;
}
.cart-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  cursor: pointer;
}
.cart-footer *,
.cart-footer *:hover {
  cursor: pointer;
}
.cart-line{
  padding: 10px;
  display:flex; 
  justify-content:space-between;
  border-bottom: solid 1px black;
}
.cart-line img{ 
  height:96px;
  object-fit:cover;
}  
/* colonna testi */
.line-info{
  width: 10vw;
  margin-right:30px; 
  display:flex;
  flex-direction:column;
}
/* blocco + / − / REMOVE allineato a destra */
.qty-controls{
  margin-top: auto;
  align-self:flex-end;   /* spinge il blocco sul bordo destro */
  display:flex;
  flex-direction: column;
}
/* stile uniforme per tutti i bottoni */
.qty-controls button{
  cursor:pointer;
  background:transparent;          /* <<— qui */
  }
.qty-controls-info {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}
/* “REMOVE” un po’ più largo */
.line-remove{
  font-size:.7rem;
  letter-spacing:.03em;
}
/* prezzo allineato a destra sotto i controlli */
.line-price{
  align-self:flex-start;
}
.cart-footer {
  background-color: rgb(0, 0, 0);
  color: white;
}
.variant-select{
  background-color: black;
  color: white;
  border: none;
  border-radius: 0px; /* angoli vivi */
  padding: 5px;
  margin-bottom: 10px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  appearance: none; /* rimuove lo stile di sistema se è un select */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 8rem;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'10'%20height%3D'6'%20viewBox%3D'0%200%2010%206'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%200l5%206%205-6H0z'%20fill%3D'%23FFF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.add-to-cart{
  text-decoration: underline;
  background-color: transparent;
}
/****************
  NAVBAR VERSIONE MOBILE
****************/
#mobile-navbar,
#mobile-menu {
  display: none;
}
#mobile-navbar .text-sx {
  transition: opacity 0.3s;
}
#mobile-navbar .text-sx:hover {
  opacity: 0.3;
}
.item-title-mobile { /* TITOLI IMMAGINI GALLERY  */
  display: none;
}
#mobile-cart-overlay {
  display: none;
}
/* mostra/nasconde in base alla classe utility “hidden”            */
#cart-button-mobile.hidden { display:none; }
/* --- overlay nascosto di default --- */

/****************
  LOGO ACIDO + COPYRIGHT
****************/
.text-banner {
  text-align: right;
  display: inline-block;
  margin-top: 10px;
}
.text-banner2 {
  text-align: right;
  display: none;
  margin-top: 10px;
}
.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-icon {
  width: 20px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.mobile-footer-wrap{
  display: none;
}


@media (max-width: 768px) {
  html {
    scroll-snap-type: none!important;
  }
    
  body {
    overflow-y: auto;
    overflow-x: hidden;
  }
  .navbar {
    display: none !important;
  }
  /* MOBILE NAVBAR */
  #mobile-navbar {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    --navbar-height:  calc( /* padding top + font-size + padding bottom */
      15px /* padding-top */ 
      + 12px /* font-size (body:12px, line-height:1.2 → ~14px, regola se serve) */
      + 15px /* padding-bottom */
    );
    height: var(--navbar-height);
    z-index: 10001;
    background: white;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
  }
  #mobile-navbar .right-side {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  #mobile-menu { /* MENU A TENDINA */
    display: flex;            
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 10000;
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    transition: clip-path 0.6s ease;
    transform-origin: top center;
  }
  #mobile-menu.open {
    clip-path: inset(0 0 0% 0);
    pointer-events: auto;
    }
  #mobile-menu ul { /* LAYOUT SEZIONI MENU A TENDINA */
    display: flex;
    flex-direction: column;
    justify-content: start; /* centri verticalmente */
    align-items: left;
    height: 100%;
    padding: 0;
    list-style: none;
    margin-left: 15px;
    margin-top: 30px;
  }
  #mobile-menu li {
    margin: 0 0;
    overflow: hidden;
  }
  #mobile-menu li button {
    background: none;
    color: #000;               /* testo nero puro */
    mix-blend-mode: normal;
    font-family: Sequel106;
    border: none;
    padding-block: 0;
    padding-inline: 0;
    font-size: 2.5rem;
    cursor: pointer;
    margin-top: 0;
    line-height: 0.8;
    opacity: 1; /* verrà gestita da GSAP */
  }
  #mobile-cart-overlay {
    display: flex;            
    position:fixed; 
    flex-direction:column;
    inset:0;
    top: 0;
    left: 0;
    width: 100%;
    background:#fff;
    z-index:10000;
    will-change: clip-path;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s ease;
    transform-origin: top center;
  }
  #mobile-cart-overlay.open {
    pointer-events: auto;
    clip-path:inset(0 0 0 0);     /* slide completo */
  }
  /* barra in alto */
  .mobile-cart-bar {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px;
    border-bottom:1px solid #000;
  }
  /* lista prodotti uguale al drawer */
  #mobile-cart-lines li { 
    padding:10px; 
    border-bottom:1px solid #000; 
  }
  #mobile-menu .media-banner { /* BANNER VIDEO DENTRO MENU A TENDINA MOBILE */
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40vw;
    max-width: 40vw;
    transform: none !important;
  }
  #mobile-menu .immagine-container {
    width: 40vw;
  }
  #menu-toggle {
    opacity: 1 !important;
  }
  #menu-toggle:hover {
    opacity: 1 !important;
  }
  #homepage-button-mobile  {
    opacity: 1 !important;
  }
  .title-container {
    position: absolute;
    left: 0;
    bottom: 0;
    top: auto;
    z-index: 9999;
    padding: 15px;
    font-size: 1.5rem;
  }
  .fullscreen-showcase,
  .showcase-container-image,
  .product {
    /* fallback per browser vecchi */
    height: 100vh;
    /* valore stabile quando la UI scompare/riappare */
    height: 100svh;
  }
  .product {
    position: relative;
  }
  .homepage2 {
    height: auto;
    overflow-x: hidden;
    text-align: left !important;
    align-items: flex-start !important;
    margin: 0;
    padding: 0;
  }
  .footer-dx {
    display: none;
  }
  .shop-products .overflow-hidden-sx:nth-last-child(2) {
    display: none;
  }
  .footer-grid {
    display: block;
    padding: 15px;
  }
  .text-banner {
    display: none;
  }
  .footer-sx-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .mobile-footer-wrap {
    width: 100%;
    margin: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
  }
  .footer-sx{
    margin-right:0;
  }
  .text-footer-sx {
    grid-column: 1; /* allinea il testo alla seconda colonna */
    text-align: left; /* opzionale: puoi usare anche 'center' o 'right' */
  }
  .item-second-column {
    grid-column: 1;
  }
  .mobile-footer-wrap .social-links {
    display: flex;
    gap: 16px;
  }
  .mobile-footer-wrap .social-links a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    transition: opacity 0.2s;
  }
  .mobile-footer-wrap .social-links a:hover {
    opacity: 0.6;
  }
  .mobile-footer-wrap .footer-logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-footer-wrap .footer-logo-text svg {
    width: 20px;
    height: auto;
  }
  .mobile-footer-wrap .footer-logo-text p {
    margin: 0;
    font-size: 12px;
    color: #000;
    text-transform: uppercase;
  }
  .product {
    scroll-snap-type: none;
    height: auto;
    overflow-y: visible;
  }
  #mobile-menu .media-banner { /* BANNER VIDEO DENTRO MENU A TENDINA MOBILE */
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40vw;
    max-width: 40vw;
    transform: none !important;
  }
  #mobile-menu .immagine-container {
    width: 40vw;
  }
  .footer-sx-bottom {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .footer-grid {
    display: block;
  }
  .text-banner {
    display: none;
  }
  #mobile-menu .text-banner {
    display: block;
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: auto; /* o quel che ti serve */
    box-sizing: border-box;
    z-index: 10;
  }
  .footer-logo-text p {
    color: black;
    font-size: 8px;
  }
  #mobile-cart-overlay #cart-drawer{
    position: relative;
    right: auto !important;   /* <<< resetta lo shift a destra */
    left: 0 !important;
    width: auto;
    max-height: 100%;
    overflow-y: auto;
    border: none;
    margin-top: 30px;
    border: solid 1px black;
  }
  #mobile-cart-overlay .line-info{
    width: auto;        /* oppure 100%  */
    margin-right: 0;
  }
  /* 2. i pulsanti + / – / REMOVE si allineano a destra */
  #mobile-cart-overlay .qty-controls{
    margin-right: auto;  /* li spinge in fondo alla riga */
    text-align: right;  /* testi interni (REMOVE) allineati */
  }
  .slideshow-container-media{
    touch-action: pan-y pan-x pinch-zoom; /* mantieni verticale + pinch */
    -webkit-overflow-scrolling: touch;
  }
  .product-slideshow {
    height: 60vh;
    height: 60svh;
  }
  /* 1) griglia in colonna, con spaziatura verticale   */
  .info-grid{
    display: grid;
    grid-template-columns: 1fr;   /* una sola colonna */
  }
  .info-grid-texts:first-of-type{
    grid-column: auto;
  }
  .info-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   /* usa ‘center’ se preferisci centrato */
  }
  .info-grid-texts-container{
    overflow-y: visible;
    padding: 0 15px;
  }
  .info-list-contents{
    display: flex;
    flex-direction: column;
  }
  .feature{ 
    margin-bottom: 10px; 
  }
  .info-list-contents .feature:first-child{
    order: 0;
  }
  /*  l’ultimo passa in SECONDA posizione                  */
  .info-list-contents .feature:last-child{
    order: 1;
  }
  /*  tutti gli altri seguono in coda                      */
  .info-list-contents .feature:not(:first-child):not(:last-child){
    order: 2;
  }
  /* 2. divisore sotto TUTTI tranne il primo */
  .info-list-contents .feature:not(:first-child){
    position: relative;
    padding-bottom: 10px;   /* distanza testo-linea */
    margin-bottom: 10px;    /* spazio dopo la linea */
  }
  .info-container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;   /* usa ‘center’ se preferisci centrato */
  }
  .info-container p { 
    flex: 0 0 auto; 
  }
  .info-container .info-text { 
    flex: 1 1 auto; 
    text-align: right; 
  }
  .info-list-contents .feature:last-child .info-text{
    text-align: justify;      /* “giustificato a pacchetto” */
    text-align-last: left;    /* opzionale: ultima riga allineata a sinistra */
    text-transform: lowercase;
  }
  .info-list-contents .feature:last-child p{
    display: none;
  }
  .info-list-contents .feature{
    padding-top: 10px;              /* respiro sopra la linea */
  }
  /* bordo 0.05 rem solo da 2° a penultimo */
  .info-list-contents .feature:not(:first-child):not(:last-child){
    border-top: 0.05rem solid #000;
  }
  .info-list-contents .feature .info-container p,
  .info-list-contents .feature .info-text{
  font-size: 0.7rem;
}
  .info-list-contents .feature:first-child  .info-container p,
  .info-list-contents .feature:first-child  .info-text,
  .info-list-contents .feature:last-child   .info-container p,
  .info-list-contents .feature:last-child   .info-text{
    font-size: 0.9rem;
  }
  .color-swatches {
    gap: 0.3rem;
  }
  .swatch {
    width: 0.5rem; 
    height: 0.5rem;
  }
  .product-card{
    width: 70vw;                     /* = 80 % viewport width   */
    margin: 0 auto;                  /* centra sull’asse X      */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;                     /* spazio fra select e bottone */
  }
  
  /* SELECT varianti */
  .product-card .variant-select{
    width: 100%;                     /* riempie l’80 % del parent */
    padding: 10px;
  }
  
  /* BOTTONE “ADD TO CART” */
  .product-card .add-to-cart{
    width: 100%;                     /* idem */
    text-align: center;
    padding: .6rem 0;
    color: #000000;
    cursor: pointer;
  }
}