/* =========================================================
   ADADP 11.123.0 - Dirección: breakpoint final
   SOLO VISUAL.

   Desde 560 px:
      [ Código postal ] [ Población ]
                        [ Provincia ]
   Por debajo: una columna.
   ========================================================= */

@media (min-width: 560px) {
  html body .adadp-postcode-place-wrap,
  html body#checkout .adadp-postcode-place-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    column-gap: 22px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: start !important;
  }

  html body .adadp-postcode-place-wrap > .adadp-postcode-row,
  html body#checkout .adadp-postcode-place-wrap > .adadp-postcode-row {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

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

  html body .adadp-postcode-place-wrap .adadp-postcode-row input,
  html body .adadp-postcode-place-wrap .adadp-postcode-row .form-control,
  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-postcode-row input,
  html body#checkout .adadp-postcode-place-wrap .adadp-postcode-row .form-control,
  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;
    margin: 0 !important;
  }
}

@media (max-width: 559px) {
  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;
  }
}
