@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
/*** 
====================================================================
	Global Settings
====================================================================
 ***/
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing:    border-box;
  box-sizing:         border-box;
}
body.no-loader #page-preloader {
  display: none !important;
}
.no-gutters {margin-right: 0;margin-left: 0;}
.no-gutters > .col, .no-gutters > [class*="col-"] {padding-right: 0;padding-left: 0;}
.padding-20{padding:20px;}
.margin-top-20{margin-top:20px;}
.margin-top-40{margin-top:40px;}
.margin-top-60{margin-top:60px;}
.margin-top-70{margin-top:70px;}
.margin-top-100{margin-top:100px;}
.padding-top-20{padding-top:20px;}
.bg-cyan{background-color:#c4d2d4;}
.txt_home{
  text-align:center;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size:18px;
}
.txt_home h1, .txt_home h3{color:#7e3c58}
a{text-decoration:none !important; color:#93546f; font-weight:bold;}
a:hover{color:#7e3c58;}
.fancybox__content {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #ffffff;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size:18px;
 
  overflow-x: hidden; 
}
body.fancybox-fixed {
  overflow-y: scroll; /* scrollbar visibile */
  position: fixed;
  width: 100%;
}
.container {
  max-width: 70% !important; /* o 80%, come preferisci sul desktop */
  width: 100%;  
}
/*** 
====================================================================
	claim
====================================================================
***/
.claim{padding:20px 0;}
.claim h1{font-size:5em; line-height:1em;}
.btn-orange{background:#fe7d01; color:#fff; padding:10px; margin-top:10px;}
.ico-bar{display:inline-block; width:100%; border-top:1px solid #000; border-bottom:1px solid #000; padding:20px 0;}
.ico{width:80px;}
.step-box {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.step-number {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #fe7e01 !important;
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-top: 0;
    margin-right: 15px;
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-content h5 {
    margin: 0 !important;
    padding: 0;
    line-height:42px;
    margin-left:20px !important;
}
/*** 
====================================================================
	Main Header style
====================================================================
***/
.banner{width:100%; margin-top:20px;}
.banner-wrapper {
  border-radius: 12px 12px 0 0; /* solo angoli superiori arrotondati */
  overflow: hidden;             /* importante per contenere l'immagine */
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;             /* niente ombra a riposo */
  margin-top: 10px;
}

.banner-wrapper:hover {
  transform: translateY(-3px); 
  box-shadow: 0 15px 25px rgba(0,0,0,0.2); /* ombra visibile solo al passaggio del mouse */
}

.banner-wrapper img.banner {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0; /* l'immagine non deve avere arrotondamento proprio */
}

.banner-wrapper:hover img.banner {
  transform: scale(1.03);   /* leggero zoom */
  transform-origin: center; /* centrato */
}


/* Su schermi piccoli, torna full width */
@media (max-width: 991.98px) {
  .container {
    max-width: 100% !important;
  }
}
#main-container{display:inline-block; width:100%; background:#fff; padding:20px 0;}
.slider {position: relative; width: 100%; overflow: hidden;margin: 0 auto;}
.slides {position: relative;width: 100%; height: auto;}
.slide {position: absolute;width: 100%;height:100%; opacity: 0;transition: opacity 1s;}
.slide img {
  width: 100%;     /* sempre a tutta larghezza */
  height: auto;    /* proporzioni corrette */
  display: block;  /* così non resta come inline */
  margin: 0 auto;  /* la centra nel contenitore */
}
.fade {opacity: 1;}
.active {opacity: 1 !important;}
.post-preview{position:relative; width:100%;font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; margin-bottom:20px;}
.post-preview h1{font-weight: 600; font-size:18px; margin:15px 0; height:60px; color:#93546f;}
.post-preview a{text-decoration:none;}
.post-preview h1:hover{color:#7a3c56}
.post-preview img{width:100%}
.box-preview-image {
    display: inline-block; /* Assicurati che l'elemento <a> contenga l'immagine */
    overflow: hidden; /* Nasconde le parti dell'immagine che escono dai bordi */
}
.zoomable-image {
    transition: transform 0.3s ease; /* Anima la trasformazione dell'immagine */
    display: block; /* Rimuove lo spazio sotto l'immagine */
    max-width: 100%; /* Mantiene l'immagine nelle dimensioni del contenitore */
}

a:hover .zoomable-image {
    transform: scale(1.1); /* Ingrandisce l'immagine al passaggio del mouse */
}
.img-post{width:100%; margin-top:70px; margin-bottom:20px;}
.img-post-book{float:left; margin-right:30px; width:300px;}
.label{position:absolute; top:0; right:0; padding:5px 10px; background:#6d6464; color:#fff;}
.internal-title-h1{display:inline-block; width:100%; text-align:center; border-bottom:1px solid #93546f; padding:10px 0;}
.internal-title-h2{display:inline-block; width:100%; text-align:center; border-bottom:1px solid #93546f; padding-bottom:10px; margin-bottom:20px; font-size:25px;}
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
	margin-bottom:20px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/*** 
====================================================================
	Main Header style
====================================================================
***/
@media only screen and (max-width: 767px) {
	
}
@media only screen and (max-width: 1023px) {	
	
}
/*** 
====================================================================
	Footer
====================================================================
***/
footer{text-align:center; padding:20px 0; border-top:1px solid #ffffff; background-color: #486a99; color:#fff;}
footer a {
  text-decoration: none; /* Rimuove la sottolineatura dei link */
  color: #ffffff; /* Imposta il colore del testo */
  font-size: 13px; /* Imposta una dimensione di carattere comoda */
  font-weight: normal;
  transition: color 0.3s ease; /* Per un effetto di transizione sul colore */
}
footer a:hover {
  color: #007bff; /* Colore al passaggio del mouse */
}
/*** 
====================================================================
	Scrollbar
====================================================================
***/
/* Webkit-based browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 20px; /* Larghezza della scrollbar */
    height: 20px; /* Altezza della scrollbar orizzontale */
}

::-webkit-scrollbar-thumb {
    background-color: #93546f; /* Colore della "maniglia" della scrollbar */
    border-radius: 10px; /* Arrotondamento degli angoli della "maniglia" */
    border: 3px solid transparent; /* Spazio intorno alla "maniglia" */
    background-clip: content-box; /* Clipping per il bordo */
}

::-webkit-scrollbar-track {
    background: #f1f1f1; /* Colore dello sfondo della scrollbar */
    border-radius: 10px; /* Arrotondamento degli angoli dello sfondo */
}

/* Firefox */
* {
    scrollbar-width: auto; /* Dimensione della scrollbar */
    scrollbar-color: #93546f #f1f1f1; /* Colore della scrollbar e dello sfondo */
}
/*** 
====================================================================
	LOGIN
====================================================================
***/
.page-login {
  background: #ffffff url(../images/back.jpg) center bottom;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  padding: 150px 20px 80px 20px; /* margini top e bottom per distanziare header/footer */
}
.login-title {
  width: 500px;
  max-width: 90%;
  padding-bottom: 15px;
  text-align:center;
  margin: 0 auto; /* centra orizzontalmente */
  box-sizing: border-box;
  font-size:24px;
}
.login-wrapper {
  background: #fff;
  width: 500px;
  max-width: 90%;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  margin: 0 auto; /* centra orizzontalmente */
  box-sizing: border-box;
}

.form-floating-group {
  position: relative;
  margin-bottom: 1.5rem;
  
}
.form-floating-group input {
  width: 100%;
  padding: 1.2rem 0.75rem 0.4rem;
  font-size: 1rem;
  border: 0;
  border-radius: 5px;
  background: #86628f;
  color:#fff;
}
.form-floating-group label {
  position: absolute;
  top: 1rem;
  left: 0.75rem;
  font-size: 1rem;
  color: #fff;
  pointer-events: none;
  transition: 0.2s ease all;  
  padding: 0 4px;
}
/* Quando il campo ha focus o è valorizzato */
.form-floating-group input:focus + label,
.form-floating-group input:not(:placeholder-shown) + label {
  top: 0.3rem;
  left: 0.5rem;
  font-size: 0.8rem;
  color: #fff;  
}
.form-floating-group input:focus {
  outline: none;
  box-shadow: none;
}
.box-bottom{display:inline-block; width:100%; margin-top:15px; text-align:center;}
input[type="submit"] {background-color:rgb(58, 38, 63); border:0;}
input[type="submit"]:hover{background-color:rgb(26, 16, 29); border:0;}
#formEmail, #codeForm {display: none;}
.info-label{font-size:12px; font-weight:italic;}
.input-group{margin-top:10px; margin-left:20px; width:500px;}

/*** 
====================================================================
	SHOP
====================================================================
***/
.slider-wrapper {
    display: block;
    width: 100%;             /* stessa larghezza del select */
    height: calc(1.5em + 0.75rem + 2px); /* altezza del select (1.5em line-height + padding + bordo) */
    padding: 0.375rem 0.75rem; /* padding interno come form-select */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: transparent; /* niente sfondo della select */    
    box-sizing: border-box;
}

.shop-wrapper {
  position: relative;
  overflow-x: hidden;
}

/* Sidebar filtri */
.filter-sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;
  background-color: #f3f3f3;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 1050;
  transition: all 0.4s ease;
}

.filter-sidebar.active {
  left: 0;
}

/* Contenuto principale che si sposta su desktop */
.shop-content {
  transition: all 0.4s ease;
}

.shop-content.shifted {
  transform: translateX(320px);
}

/* Sidebar interna */
.filter-content {
  height: 100%;
  overflow-y: auto;
}

/* --- NUOVO STILE PER CATEGORIE E SOTTOCATEGORIE --- */
.filter-body {
  display: flex;
  flex-direction: column;
  gap: 8px; /* spazio tra le categorie */
  padding-top:20px;
}

.filter-body .filter-category { 
   font-weight: normal;
  color: #333;
  text-decoration: none;
  
  display: block;
  transition: color 0.2s ease;
}

.filter-body .filter-category:hover {
  color: #996379;
}

.filter-body .filter-subcategories {
  display: flex;
  flex-direction: column;
  padding-left: 12px; /* rientro per distinguere le sottocategorie */
  gap: 4px;
}

.filter-body .filter-subcategories a {
  font-weight: normal; /* sottocategorie normali */
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.filter-body .filter-subcategories a:hover {
  color: #996379;
}
#active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.filter-btn {
  background-color: #996379;  /* stesso colore dei tuoi bottoni */
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s ease;
}

.filter-btn:hover {
  background-color: #7f5064;
  color:#fff;
}

.remove-filter {
  color: #fff;      /* forziamo bianco */
  font-weight: bold;
  cursor: pointer;
  margin-left: 4px;
  font-size: 16px;
}


/* MOBILE: sidebar sovrapposta */
@media (max-width: 991.98px) {
  .filter-sidebar {
    left: -100%;
    width: 50%;
  }

  .filter-sidebar.active {
    left: 0;
  }

  .shop-content.shifted {
    transform: none;
  }
}


.product-card-wrapper {
  position: relative;
}

/* Rimuoviamo lo stile del link */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* Card */
.product-card {
  position: relative;
  border: 1px solid #aaaaaa;
  padding: 15px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
/* Badge */
.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #996379;
  color: white;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  z-index:1;
}

/* Hover: solleva la card e aggiunge ombra */
.product-card-wrapper:hover .product-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Image */
.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card-wrapper:hover .product-image img {
  transform: scale(1.05);
}

/* Title e descrizione */
.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top:20px;
  color: #996379;
  height:50px;
}

.product-description {
  font-size: 0.9rem;
  color: #131313;
  margin-bottom: 12px;
  flex-grow: 1;
  height: 120px;
  font-weight: normal;
}
.product-price {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0px;
}
/* Product actions */
.product-actions {
  display: flex;
  justify-content: flex-end; /* Pulsante a destra */
  opacity: 1; /* Invisibile di default */
  transition: opacity 0.3s ease;
  position: absolute;
  bottom: 15px;
  right: 15px;
}
.product-card-wrapper:hover .product-actions {
  opacity: 1; /* Compare al passaggio del mouse */
}
.btn-acquista {
  background-color: #fe7d01;
  color: #fff;
  border: none;
}
.btn-acquista:hover {
  background-color: #dd6c03;
  color:#fff;
}
.scheda-prodotto{
  font-size: 0.9rem;
}
.scheda-prodotto h3{
  color:#4c3152;
}
.alert-border{border:1px solid #ddd; font-size:14px;}
.rating {    
    font-size: 14px;
    letter-spacing: 2px;
}
.stars {
    color: #ffc107;
    font-size: 20px;
    letter-spacing: 2px;
}

/*** 
====================================================================
	BANNER INTERNO
====================================================================
***/
.promo-image{
    position:relative;
    width:100%;
    height:300px;
    border-radius:15px;
    overflow:hidden;
    background-image:url("../images/banner/banner-generic.jpg"); /* cambia percorso */
    background-size:cover;
    background-position:center;
}

.promo-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    padding:60px;
    background:linear-gradient(
        to right,
        rgba(0,0,0,.55) 0%,
        rgba(0,0,0,.25) 40%,
        rgba(0,0,0,0) 70%
    );
}

.promo-subtitle{
    margin:0 0 10px;
    color:#fff;
    font-size:18px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.promo-title{
    margin:0;
    color:#fff;
    font-size:2.2rem;
    font-weight:700;
    max-width:500px;
}

/* MOBILE */
@media (max-width:991.98px){

    .promo-image{
        height:220px;
        border-radius:12px;
    }

    .promo-subtitle{
        color:#7e3c58;
        font-size:16px;
    }

    .promo-title{
        color:#333;
        font-size:1.8rem;
    }

}
/*** 
====================================================================
	SLIDER IMMAGINI 1
====================================================================
***/
.slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  margin-top:30px;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
}

.slider-track img {
  width: 100%;
  object-fit: cover;
  cursor: pointer; /* evidenzia cliccabilità */
}

/* Desktop: 2 immagini visibili */
@media(min-width: 768px) {
  .slider-track img { width: 50%; }
}

/* Mobile: 1 immagine visibile */
@media(max-width: 767px) {
  .slider-track img { width: 100%; }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Overlay zoom */
#zoomOverlay {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#zoomOverlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#zoomClose {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/*** 
====================================================================
	SLIDER IMMAGINI 2
====================================================================
***/

.product-image-scheda-slider {
  position: relative;
  display: flex;
  max-width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top:20px;
  background-color:#000000;
}

.thumbnail-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px;
  /* background: rgba(255, 255, 255, 0);  completamente trasparente */
  background: #464646;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-image-scheda-slider:hover .thumbnail-bar {
  opacity: 1;
  background: #464646; /* leggero sfondo bianco trasparente solo on hover */
  pointer-events: auto;
}

.thumbnail {
  width: 100%;
  height: auto;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

.thumbnail.active {
  border-color: #fff;
}

.main-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.main-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* MOBILE */
@media (max-width: 768px) {
  .product-image-scheda-slider {
      flex-direction: column;
      height: auto;
  }

  .main-image-container {
      width: 100%;
      height: auto;
  }

  .main-image-container img {
      height: auto;
  }

  .thumbnail-bar {
      position: relative;
      width: 100%;
      height: auto;
      flex-direction: row;
      justify-content: center;
      padding: 10px 0;
      opacity: 1 !important;
      background: none !important;
      pointer-events: auto !important;
  }

  .thumbnail {
      width: 60px;
      height: auto;
  }
}

.product-image-scheda {
  position: relative;
}
.description-text{
  display:flex;
  font-size: 0.9rem;
  line-height:16px;
  color:#000;
}
.larghezza-container,
.taglie-container {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 8px;
  justify-content: start;
  max-width: 100%;
  margin-bottom: 20px;
  padding:20px 0;
  font-size:14px;
  line-height:16px;
  color:#4c3152;
}

.larghezza-container > div:first-child,
.taglie-container > div:first-child {
  grid-column: 1 / -1; /* Il titolo occupa tutta la riga */
  margin-bottom: 4px;
}

.taglia-box,
.larghezza-box {
  display: block;
  padding: 6px 10px;
  text-align: center;
  border: 1px solid #bbb;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: normal;
  transition: background-color 0.2s, color 0.2s;
  min-width: 30px;
}


.taglia-box:hover,
.larghezza-box:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

.taglia-box.selected,
.larghezza-box.selected {
  background-color: #996379;
  color: white;
  border-color: #996379;
}

.taglia-box.disabled,
.larghezza-box.disabled {
  background-color: #ddd;
  color: #999;
  border-color: #aaa;
  pointer-events: none;
  cursor: not-allowed;
  text-decoration: line-through;
}
.quantita-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;  
}
#quantita-container{
  border:1px solid #fff;
  padding:15px;
  font-size:14px;
  line-height:16px;
  color:#4c3152;
}

.quantita-container input[type="number"] {
  width: 60px;
  padding: 6px 8px;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  background-color: #f0f0f0;
  color: #333;
  -moz-appearance: textfield; /* rimuove frecce di default su Firefox */
}

.quantita-container input[type="number"]::-webkit-inner-spin-button,
.quantita-container input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none; /* rimuove frecce di default su Chrome */
  margin: 0;
}

.quantita-btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: 1px solid #bbb;
  border-radius: 4px;
  color: #333;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, color 0.2s;
  line-height: 1;
}

.quantita-btn:hover {
  background-color: #e0e0e0;
  border-color: #999;
}
.nascosto {
  display: none;
}
.btn-qt{
    background-color: #996379;
    color: #ffffff !important;
    padding: 4px 8px;    
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease;
    border:0;
}
#quantita{
  width:50px;
  height:24px;
  border:0;
  text-align:center;
}
/*** 
====================================================================
	PERCORSI OLISTICI
====================================================================
***/
.img-leggi-cover{width:100%; margin:20px 0;}



.fancybox__content {
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}
a.disabled {
  pointer-events: none; /* disattiva i clic */
  opacity: 0.5;         /* effetto visivo di disattivazione */
  cursor: default;
  text-decoration: none;
}
.two-columns {
    column-count: 2; /* due colonne */
    column-gap: 30px; /* spazio tra colonne */
}
.cart-product-img {
    width: 70px;
    max-width: 70px; /* opzionale, per non andare oltre una dimensione */
    height: auto;
}

.stepper {
    position: relative;
    counter-reset: step;
}

.step {
    position: relative;
    text-align: center;
    width: 33%;
    color: #6c757d;
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto 8px auto;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    font-weight: bold;
    z-index: 1;
    position: relative;
}

.step.active .step-number {
    background-color: #0d6efd;
    color: #fff;
}

.step-label {
    font-size: 0.9rem;
}

.step::before,
.step::after {
    content: '';
    position: absolute;
    top: 20px;
    height: 4px;
    background-color: #e9ecef;
    z-index: 0;
}

.step::before {
    left: 0;
    width: 50%;
}

.step::after {
    right: 0;
    width: 50%;
}

.step:first-child::before,
.step:last-child::after {
    content: none;
}

.step.active::before {
    background-color: #0d6efd;
}

.step.active::after {
    background-color: #0d6efd;
}