/* =========================================================
   ADADP 11.122.0 - Dirección: CP + Población en la misma fila
   SOLO VISUAL. No toca validación ni datos.

   Escritorio/tablet:
      [ Código postal ]   [ Población ]
                          [ Provincia ]
   Móvil: una columna.
   ========================================================= */

@media (min-width: 768px) {
  html body .adadp-postcode-place-wrap,
  html body#checkout .adadp-postcode-place-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body .adadp-postcode-place-wrap > .adadp-postcode-row,
  html body#checkout .adadp-postcode-place-wrap > .adadp-postcode-row {
    display: block !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    align-self: flex-start !important;
  }

  html body .adadp-postcode-place-wrap > .adadp-spain-place-box,
  html body#checkout .adadp-postcode-place-wrap > .adadp-spain-place-box {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 10px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    align-self: flex-start !important;
    position: static !important;
    transform: none !important;
  }

  html body .adadp-postcode-place-wrap .adadp-postcode-row .form-control,
  html body .adadp-postcode-place-wrap .adadp-postcode-row input,
  html body#checkout .adadp-postcode-place-wrap .adadp-postcode-row .form-control,
  html body#checkout .adadp-postcode-place-wrap .adadp-postcode-row input,
  html body .adadp-postcode-place-wrap #adadp-city-select,
  html body .adadp-postcode-place-wrap .adadp-province-value,
  html body#checkout .adadp-postcode-place-wrap #adadp-city-select,
  html body#checkout .adadp-postcode-place-wrap .adadp-province-value {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html body .adadp-postcode-place-wrap .adadp-spain-place-box .adadp-place-field,
  html body .adadp-postcode-place-wrap .adadp-spain-place-box .adadp-province-field,
  html body#checkout .adadp-postcode-place-wrap .adadp-spain-place-box .adadp-place-field,
  html body#checkout .adadp-postcode-place-wrap .adadp-spain-place-box .adadp-province-field {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html body .adadp-postcode-place-wrap .adadp-spain-place-box .adadp-province-field,
  html body#checkout .adadp-postcode-place-wrap .adadp-spain-place-box .adadp-province-field {
    margin-top: 0 !important;
  }

  html body .adadp-postcode-place-wrap .adadp-place-status,
  html body#checkout .adadp-postcode-place-wrap .adadp-place-status {
    margin-top: 0 !important;
  }
}

@media (max-width: 767px) {
  html body .adadp-postcode-place-wrap,
  html body#checkout .adadp-postcode-place-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  html body .adadp-postcode-place-wrap > .adadp-postcode-row,
  html body .adadp-postcode-place-wrap > .adadp-spain-place-box,
  html body#checkout .adadp-postcode-place-wrap > .adadp-postcode-row,
  html body#checkout .adadp-postcode-place-wrap > .adadp-spain-place-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}
