/**
 * AGP · Desbloqueo de selects (mismo enfoque que Grupo FAM)
 *
 * Temas como Hub/LiquidThemes, nice-select o jQuery UI selectmenu ocultan el <select> nativo
 * y dibujan un desplegable falso que se cierra o no deja elegir opción. Aquí se neutralizan
 * esos desplegables falsos y se garantiza que el <select> nativo sea visible, con padding
 * generoso y clicable en cualquier dispositivo.
 */

/* 1. Contenedores falsos del tema */
.agp-contact-form .select-wrap, .agp-contact-form .lqd-select-wrap, .agp-contact-page-form .select-wrap, .agp-contact-page-form .lqd-select-wrap {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* 2. Desplegables artificiales (nice-select / jQuery UI selectmenu) */
.agp-contact-form .nice-select,
.agp-contact-form .lqd-custom-select,
.agp-contact-form .lqd-select-dropdown,
.agp-contact-form .ui-selectmenu-button,
.agp-contact-page-form .nice-select,
.agp-contact-page-form .lqd-custom-select,
.agp-contact-page-form .lqd-select-dropdown,
.agp-contact-page-form .ui-selectmenu-button,
span.ui-selectmenu-button,
.ui-selectmenu-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* 3. <select> nativo siempre visible y clicable */
.agp-contact-form select, .agp-contact-page-form select,
select.agp-select-unblocked {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: relative !important;
  transform: none !important;
  z-index: 5 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  padding: 12px 44px 12px 16px !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23101727' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px 16px !important;
}
