/*
Css Index shop page
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/* --- SEZIONE "COME FUNZIONA" --- */
.dsgn-pck__how-it-works {
  padding: 80px 20px;
  background-color: #fff;
  color: #000;
}

.dsgn-pck__how-it-works .dsgn-pck__heading {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5em;
  color: #000;
}

.dsgn-pck__how-it-works .dsgn-pck__subtitle {
  font-size: 1rem;
  color: #444;
  margin-bottom: 2.5em;
}

.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  max-width: 750px;
  margin: 0 auto;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
}

.step:hover {
  background-color: #f9f9f9;
  transform: translateY(-2px);
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #000;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  background: #fff;
}

.step-text h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: #000;
}

.step-text p {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.step a {
  color: #000;
  text-decoration: underline;
}

.step a:hover {
  opacity: 0.7;
}

/* --- Responsività --- */
@media (max-width: 768px) {
  .dsgn-pck__how-it-works {
    padding: 60px 15px;
  }

  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-number {
    margin: 0 0 12px 0;
  }

  .step-text {
    text-align: center;
  }
}

/* CODICE PER CENTRARE IL PULSANTE sopra il video - inizio
/* 1) Assicuriamo che il contenitore con l'id usi tutta la larghezza disponibile del padre */
#DP--ANFFTNmlQdU04aCtBb__dpb_buttons_tWUNG6 {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 2) Rendiamo il blocco interno piena larghezza così possiamo centrare facilmente il contenuto */
#DP--ANFFTNmlQdU04aCtBb__dpb_buttons_tWUNG6 > .dsgn-pck__inner-block-container {
  width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* 3) Forziamo l'area del pulsante a usare flex e centrare orizzontalmente */
#DP--ANFFTNmlQdU04aCtBb__dpb_buttons_tWUNG6 
  > .dsgn-pck__inner-block-container 
  > .dsgn-pck__button-area {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
  /* rimuove eventuali float/positioning strani */
  float: none !important;
  position: relative !important;
}

/* 4) Assicuriamo che il link/pulsante non sia flottante e possa essere centrato */
#DP--ANFFTNmlQdU04aCtBb__dpb_buttons_tWUNG6 .dsgn-pck__button {
  float: none !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}



/* CODICE PER CENTRARE IL PULSANTE sopra il video - fine