/* Larghezza massima del form e centratura */
/* Riduci lo spazio tra le righe input */
.input-row {
  margin-bottom: 8px; /* puoi anche provare con 5px o 0px */
}

/* Riduci lo spazio tra label e input se ce n'è */
.input-row label {
  margin-bottom: 4px;
  display: block;
  font-size: 1rem;
}



.custom-order-summary {
      max-width: 800px;
      font-size:1.5rem!important;
      line-height: 120%;
}
.custom-order-summary h2{
}

.dati-fatturazione p {
    font-family:Roboto Condensed!important;
    font-weight:300;
}
.sto-form-wrapper {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.sto-form-inner {
  display: flex;
  flex-direction: column;
  gap: 0,2rem;
}

/* Stile base per input */
.custom-order-form input:not(.sto-checkbox),
.sto-text-input {
  background-color:#EAEBEE;
  font-family: Roboto Condensed;
  color:#007BFF;
  width: 100%;
  padding: 2px 4px;
  border: none;
  border-bottom: 1px solid #7A7A7A;
}

/* Stile bottone Elementor coerente (ma non obbligatorio) */
.custom-order-form button {
  padding: 0.75rem;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #1E347B;
  color: white;
  cursor: pointer;
  max-width:200px;
}

.custom-order-form button:hover {
  background-color: #14245c;
}

/* Checkbox personalizzate */
input.sto-checkbox {
  transform: scale(1.5);
  accent-color: #007bff;
  margin: 5px;
}

/* Accessibilità: nascondi label ma lasciala leggibile dai lettori di schermo */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}



.elementor-widget-shortcode h1,
.elementor-widget-shortcode h2,
.elementor-widget-shortcode h3,
.elementor-widget-shortcode h4,
.elementor-widget-shortcode h5,
.elementor-widget-shortcode h6 {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: var(--e-global-typography-primary-font-weight);
  color: var(--e-global-color-text);
  line-height: 1.3;
}

.elementor-widget-shortcode p {
  font-family: var(--e-global-typography-primary-font-family);
  font-size: var(--e-global-typography-primary-font-size);
  color: var(--e-global-color-text);
  line-height: 1.4;
}


.elementor-widget-shortcode .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-text-light);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
}

.elementor-widget-shortcode .elementor-button:hover {
  background-color: var(--e-global-color-primary-hover, #101c4f);
}
