@import url(style.css);

.alternativa{
    background: #19255B!important;
}
.valeria {
    top: 0px;
    left: -465px;
    z-index: 999;
}
.ferlini {
    top: 0;
    right: -375px;
    color: var(--color-white);
}
.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
}

.vf-fixed {
    position: fixed;
    top: calc(80px + 50vh);
    left: 41.75vw;
    transform: translate(-50%, -50%);
    font-size: 10vw;
    font-weight: 700;
    color:#e5daa1;
    line-height: 0.8;
    pointer-events: none;
    font-family: 'Satoshi', sans-serif;
    text-align: center;
    letter-spacing: -1vw;
    user-select: none;
    z-index: 1;
}
.thats-life-title {
    position: relative;
    z-index: 2;
    font-family: 'Libre Caslon Display', serif;
    font-size: 23vw;
    font-style: italic;
    font-weight: 400;
    text-align: center;
    color: #e5daa1;
    line-height: 1;
    letter-spacing: -0.05em;
    margin: 0;
    padding: 0;
    width: 100vw;
    background: linear-gradient(to bottom, #f8f6f200 60%, #19255B 40%);
}
.valeria-links a{
    color: #19255B!important;
}
a.ape-malandra{
    color:var(--color-primary)!important;
}
.red-bold {
    font-weight: 700;
    color: #19255B!important;
    position: relative;
  }
  
  .underline::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #19255B!important;
  }

  /* --- Layout base --- */
.contact-section {
    padding: 60px 0;
    background: #19255B; /* sfondo richiesto */
  }
  
  .contact-title {
    text-align: center;
    margin: 0 0 28px 0;
    font-family: "Satoshi", system-ui, sans-serif;
    font-weight: 700;
    color: #e5daa1;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
  .contact-section{
    background-color: #19255B;
    padding-bottom: 80px;
  }
  
  /* Contenitore immagine + righe */
  .contact-strip {
    position: relative;
    width: min(1000px, 92vw);
    margin: 0 auto;
  }
  
  .contact-media {
    display: block;
    width: min(450px, 70vw); /* foto più piccola */
    height: auto;
    margin: 0 auto;
    z-index: 1;
    position: relative;
  }
  
  /* --- Righe orizzontali con etichette --- */
  :root {
    --row-top: 40%;     /* posizione prima linea */
    --row-bottom: 75%;  /* posizione seconda linea */
    --line-color: #e5daa1;
  }
  .thats-life-section {
    padding-bottom: 30px;
  }
  .contact-row {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 3;
  }
  
  .contact-row--top {
    top: var(--row-top);
  }
  
  .contact-row--bottom {
    top: var(--row-bottom);
  }
  
  /* Linea orizzontale */
  .contact-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;              /* linea più spessa */
    background: var(--line-color);
    transform: translateY(-50%);
    z-index: 2;
    top:10px;
  }
  
  /* Etichette */
  .contact-side {
    position: absolute;
    max-width: 40%;
    display: flex;
    align-items: center;
    font-family: "Satoshi", system-ui, sans-serif;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 700;
    text-transform: uppercase;
    color: #e5daa1;
  }
  
  .contact-side--left {
    left: 0;
    justify-content: flex-end;
    text-align: right;
    padding-right: 16px;
  }
  
  .contact-side--right {
    right: 0;
    justify-content: flex-start;
    text-align: left;
    padding-left: 16px;
  }
  
  /* --- Responsive --- */
  @media (max-width: 900px) {
    :root {
      --row-top: 38%;
      --row-bottom: 78%;
    }
    .contact-side {
      max-width: 44%;
    }
  }
  
  @media (max-width: 680px) {
    .contact-strip {
      width: 94vw;
    }
    .contact-media {
      width: 80vw;
    }
    .contact-side {
      max-width: 48%;
      font-size: clamp(15px, 3.4vw, 18px);
    }
  }
  body.capsule {
    background-color: #fff;
}
.capsule-title {
    color: #19255B;
}
.product .info {
    color: #000;
}
.product-number {
    color: #fff;
}
section.valeria-links.values-section{
    background-color: #19255B;
    padding-bottom: 80px;
}

.values-section a{
    color: #e5daa1!important;
}


/*==== single product === */

/* Layout principale: il contenitore diventa il "limite" della sticky */
.vp-product{
  max-width:1400px;
  margin:0 auto;
  display:flex;
  align-items:flex-start;
  gap:32px;
  padding:24px 20px 40px;
}

/* Galleria sinistra: nessuna scrollbar interna */
.vp-gallery{
  flex:0 0 60%;
  border-right:1px solid var(--line);
  padding-right:16px;
  padding-top:clamp(20px, 4vw, 56px);
}
h2#productName {
  /*font-family: 'TheSeasons', serif;*/
  font-family: 'Libre Caslon Display', serif;
  font-size: 3vw;
  font-weight: 400;
  margin: 0 0 1vw 0;
  letter-spacing: -2px;
  color: #19255B;
}
p.vp-desc {
  color: black;
}
.vp-colors-label {
  font-size: 16pt;
  color: black;
  font-weight: 500;
  margin-bottom:10px;
}
/* Swatch: prendi il colore dalla CSS var impostata inline */
.vp-colors .vp-dot {
  width: 34px;
  height: 34px;
  border-radius: 20%;
  background-color: var(--dot, #000) !important;
  border: 2px solid #f8f8f8;
  /* box-shadow: 0 0 0 1px #ddd; */
  display: inline-block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vp-swatch input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none; /* così non dà fastidio */
}

.vp-swatch {
  display: inline-block;
  margin-right: 8px;
  cursor: pointer;
}

.vp-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dot);
  display: inline-block;
  border: 2px solid #ccc;
  transition: transform 0.2s ease, border 0.2s ease;
}

.btn-shopper {
  margin-top:15px;
  display: inline-block;
  padding: 10px 28px;
  font-family: 'Satoshi', sans-serif; /* o quello che usi */
  font-weight: 700;
  font-size: 16px;
  color: #19255B; /* blu scuro */
  border: 2px solid #19255B;
  border-radius: 50px; /* rende il pulsante "a pillola" */
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* hover: inverti i colori */
.btn-shopper:hover {
  background-color: #19255B;
  color: #fff;
}
/* Due colonne tipo masonry */
.vp-grid2{
  column-count:2;
  column-gap:3px;
}
.vp-tile{
  break-inside:avoid;
  margin:0 0 3px 0;
}
.vp-tile img{
  width:100%;
  height:520px;
  display:block;
  /* NO border-radius */
  background:#f6f6f6;
}
.logo-blu-prodotto{
  width: 100%;
  margin-top:50px;
text-align: center;
}
.logo-blu-prodotto img{
  width: 50px;
}
/* Colonna destra sticky finché dura .vp-product */
.vp-info {
  position: sticky;
  top: 10px;
}
.vp-info-inner{
  position:sticky;
  top:clamp(16px, 3vw, 32px); /* distanza dal top */
  padding:16px 8px;
  padding-top:clamp(20px, 4vw, 56px);
  /* niente overflow/max-height: la pagina scorre sotto */
}

/* Sezione dopo la product page (quando termina lo sticky) */
.vp-after{
  border-top:1px solid var(--line);
  padding:48px 20px 64px;
}
.vp-after-inner{
  max-width:1000px;
  margin:0 auto;
}
.vp-after h2{
  font-family:"Libre Caslon Display", serif;
  font-weight:400;
  font-size:32px;
  margin:0 0 12px 0;
}
.thats-life-red{
  background-color: #19255B;
}
.thats-life-title.small p {
  font-size: 13vw;
}
/* Responsive */
@media (max-width: 1024px){
  .vp-product{ flex-direction:column; gap:16px }
  .vp-gallery{
    flex:unset; border-right:none; padding-right:0; padding-top:16px;
  }
  .vp-grid2{ column-count:1; column-gap:12px }
  .vp-info{ flex:unset }
  .vp-info-inner{ position:static; padding-top:12px } /* niente sticky su mobile */
}

-accordion{
  margin: 12px 0 24px;
}

.acc-item{
  border-bottom: 1px solid var(--acc-border);
  padding: 8px 0 0;
}

/* Header */
.acc-toggle{
  width: 100%;
  background: none;
  border: 0;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.acc-title{
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--acc-text);
  text-transform: uppercase;
}

.acc-chevron{
  width: 18px;
  height: 18px;
  color: var(--acc-text);
  transition: transform .25s ease;
}
section.vp-accordion {
  margin-top: 20px;
}
/* Panel */
.acc-panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
  opacity: 0;
  will-change: max-height;
  padding-right: 8px;
}
.acc-panel p{
  margin: 0 0 20px;
  line-height: 1.6;
  color: #000;
  font-size: 15px;
}
.acc-panel a{ color: var(--acc-text); text-decoration: underline }

/* Open state */
.acc-item.is-open .acc-chevron{ transform: rotate(180deg) }
.acc-item.is-open .acc-panel{ opacity: 1 }

/* Motion safe */
@media (prefers-reduced-motion: reduce){
  .acc-chevron, .acc-panel{ transition: none }
}

/* ==== DA QUI 
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  width: 100%;
  padding: 100px 60px;
  background: #19255B;
  box-sizing: border-box;
  column-gap: 60px;  
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: left;
}

.product-card video {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 9/16;
  object-fit: cover;
}

.product-card h3 {
  margin-top: 16px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  text-align: left;
  color: #e5daa1;
}

.product-card a {
  text-decoration: none;
  color: inherit;
}

.product-card:nth-child(1) { justify-self: start; }
.product-card:nth-child(2) { justify-self: center; }
.product-card:nth-child(3) { justify-self: end; }
*/
/* contenitore: 3 colonne × 2 righe, nessun gap */
/* --- CONTENITORE: 3x2 senza spazi “vuoti” tra colonne --- */
.mosaic-3x2{
  background:#19255B;
  display:grid;
  /* colonne larghe quanto il contenuto, poi compattiamo con gap piccolo */
  grid-template-columns: repeat(3, max-content);
  grid-template-rows:auto auto;
  justify-content:center;     /* centra l’intero blocco */
  column-gap:24px;            /* <- distanza minima fra le 3 colonne */
  row-gap:0;                  /* niente spazio verticale fra righe */
  padding:24px 16px;          /* ridotto per avvicinare ai bordi */
  color:#e5daa1;
  box-sizing:border-box;
}

/* posizioni (restano uguali) */
.media--left   { grid-column:1; grid-row:1; justify-self:center; }
.label--left   { grid-column:1; grid-row:2; justify-self:center; }

.label--center { grid-column:2; grid-row:1; justify-self:center; }
.media--center { grid-column:2; grid-row:2; justify-self:center; }

.media--right  { grid-column:3; grid-row:1; justify-self:center; }
.label--right  { grid-column:3; grid-row:2; justify-self:center; }

/* --- CARD: larghezza compatta uguale per media e label --- */
.mosaic-3x2 .media,
.mosaic-3x2 .label{
  width:300px;                /* <- regola qui la larghezza del “colonnino” */
  max-width:300px;
}

.mosaic-3x2 .media{
  display:block;
  aspect-ratio:9/16;
  background:#000;
  overflow:hidden;
  text-decoration:none;
}
.mosaic-3x2 video{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .3s ease;
}
.mosaic-3x2 .media:hover video{ transform:scale(1.03); }

/* --- TESTO centrato nella cella --- */
.mosaic-3x2 .label{
  position:relative;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:80px;            /* spazio per far respirare freccia+testo */
  padding:8px 0;
}
.mosaic-3x2 .name{
  font-family:'Satoshi',system-ui,sans-serif;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-size:18px;
  color:#e5daa1;
}

/* --- FRECCE che TOCCANO il bordo dell’immagine --- */
/* freccia ↓ quando il testo è SOPRA (cella 2): attacca il puntale al bordo del media */
.label-above .arrow{
  position:absolute;
  bottom:-40px;                /* puntale appoggiato all’immagine sotto */
  left:50%; transform:translateX(-50%);
  width:10px; 
  z-index: 99999;
  color:#e5daa1;
  pointer-events:none;
}

/* freccia ↑ quando il testo è SOTTO (celle 4 e 6): risale e tocca il bordo del media sopra */
.label-below .arrow{
  position:absolute;
  top:-60px;                  /* risale fino a toccare il bordo del media sopra */
  left:50%; transform:translateX(-50%);
  width:10px; 
  z-index: 999;
  color:#e5daa1;
  pointer-events:none;
}

/* marker (come già usavi) */
svg .arrow-head{ fill:#e5daa1; }

@media (max-width:900px){
  .mosaic-3x2{
    grid-template-columns: 1fr;
    justify-content:center;
    row-gap:24px;             /* un filo di aria in stack */
  }
  .mosaic-3x2 .media,
  .mosaic-3x2 .label{ width:320px; max-width:320px; }
  .label-above .arrow{ bottom:-2px; height:72px; }
  .label-below .arrow{ top:-72px;   height:72px; }
}