/* v.1.6.1 */


/* Menu */
a.nav-link-navbar.w--current{
  color: white;
}

.menu-toggle{
	cursor: pointer;
}

body.menu-is-open .coldorcia-illustration--fixed-clone { opacity: 0 !important; pointer-events: none !important; }

.menu-overlay{
  position: fixed;
  inset: 0;
  height: 100vh;         /* o 100dvh se preferisci */
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain; /* evita che lo scroll “sfondi” sulla pagina */
}



/* Animazione bordo dei bottoni */
/* overlay SVG */
.border-animation{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 100px;
}

.border-animation .border-draw{
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  pointer-events: none;
  overflow: visible;
}

.border-animation .border-draw path{
  fill: none;
  stroke: currentColor;      /* default: prende il colore dal bottone */
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* variante: button-beige con bordo #31dbd2 */
.button-beige.border-animation{
  color: #e1dbd2;            /* così currentColor = #31dbd2 SOLO per il bordo */
}

.button-black.border-animation{
  color: #000;
}









/* Sottolineatura testi */
.underline-hover {
  position: relative;
  display: inline-block;
}

.underline-hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;           /* default */
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.underline-hover:hover::after {
  width: 100%;
}

/* caso specifico: div con entrambe le classi */
.link-15-36.underline-hover::after {
  bottom: 9px;
}




















/* 

////////////////////////
Stile pagine vini 
////////////////////////

*/

.bottone-annate-vino {
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, text-decoration-color 0.2s ease;
}

.bottone-annate-vino.is-active {
  background-color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px; /* opzionale, più elegante */
}

.immagine-vino-singolo {
	background-position: center;
  background-size: cover;
}





/* Wrapper generale */
.three-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  background: #000; /* cambia se serve */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contenitore Slick */
.three-carousel {
  width: 100%;
  height: 100vh;
}

/* Singola slide */
.three-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Background immagine */
.three-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Allineamento verticale delle slide */
.three-carousel .slick-track {
  display: flex !important;
  align-items: stretch;
}

.three-carousel .slick-slide {
  height: 100vh;
}

/* Rimozione overflow interno */
.three-carousel .slick-list {
  overflow: hidden;
  height: 100vh;
}

/* FRECCE (bottoni circolari con SVG dentro) */
.three-carousel .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* niente pseudo-frecce “disegnate” */
.three-carousel .slick-arrow::before {
  content: none;
}

/* icone SVG */
.three-carousel .slick-arrow img {
  width: 15px;
  height: auto;
}

/* posizionamento orizzontale frecce */
.three-carousel .slick-prev {
  left: 3%;
}

.three-carousel .slick-next {
  right: 3%;
}

/* hover frecce */
.three-carousel .slick-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .three-carousel .slick-prev {
    left: 8%;
  }

  .three-carousel .slick-next {
    right: 8%;
  }
}

@media (max-width: 768px) {
  .three-carousel-wrapper,
  .three-carousel,
  .three-slide,
  .three-carousel .slick-slide,
  .three-carousel .slick-list {
    height: 50vh;
  }

  .three-carousel .slick-arrow {
    width: 40px;
    height: 40px;
  }

  .three-carousel .slick-prev {
    left: 20px;
  }

  .three-carousel .slick-next {
    right: 20px;
  }
}



@media (max-width: 767px){
  /* 2 colonne */
  .collection-list-2{ display:flex !important; flex-wrap:wrap !important; }
  .collection-item-2{ width:50% !important; max-width:50% !important; flex:0 0 50% !important; }

  /* helper per evitare doppi bordi */
  .wine-no-left{ border-left: 0 !important; }
  .wine-no-right{ border-right: 0 !important; }
  .wine-no-top{ border-top: 0 !important; }
}


a.wine-card{
	text-decoration: none !important;
}


.wine-card-border-bottom{
	border-bottom: .5px solid #000;
}
.wine-card-border-top{
	border-top: .5px solid #000;
}
.wine-card-border-right{
	border-right: .5px solid #000;
}









/* Select annate vino */
/* VISIBILITÀ ANNATE (override) */
/* Desktop (>= 768): bottoni */
@media (min-width: 768px){
  .annate-wrap{ display:flex !important; }
  .annate-select-wrap{ display:none !important; }
}

/* Mobile (<= 767): select */
@media (max-width: 767px){
  .annate-wrap{ display:none !important; }
  .annate-select-wrap{ display:flex !important; }
}

/* evita che il mount venga nascosto da regole interne */
.annate-select-wrap .annate-select-mount{ display:block !important; width:100%; }
.annate-select{ display:block !important; }

/* wrapper SOLO della select */
.annate-select-wrap-inner{
  position: relative;
  width: 100%;
  max-width: 520px; /* opzionale */
}

/* freccia a destra centrata sulla select */
.annate-select-wrap-inner::after{
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: url("https://cdn.prod.website-files.com/6942d44283c82467823141dd/6979de976d4b9fc33943bd54_Arrow_down_biege.svg") no-repeat center / contain;
  pointer-events: none;
}

/* mobile tweak */
@media (max-width: 767px){
  .annate-select-wrap-inner::after{
    right: 18px;
  }
}

/* SELECT */
.annate-select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  width: 100%;
  height: 64px;
  padding: 0 64px 0 24px;

  border: 1px solid #E1DBD2;
  background: transparent;
  border-radius: 0;

  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111;

  cursor: pointer;
  outline: none;
}

/* hover/focus (molto leggero) */
.annate-select:hover{
  border-color: rgba(0,0,0,0.28);
}
.annate-select:focus{
  border-color: rgba(0,0,0,0.38);
}

/* opzionale: se vuoi stessa “aria” anche su iOS */
.annate-select::-ms-expand{
  display: none;
}

/* mobile */
@media (max-width: 767px){
	.annate-select {
    height: 58px;
    font-size: 3.7vw;
    padding-left: 20px;
    padding-right: 56px;
    font-family: Effra, Arial, sans-serif;
  }
}

@media (max-width: 767px){
  .annate-select-wrap .bottone-annate-vino{
    display: none !important;
  }
}
