/* Evitar que el wrapper crezca y preparar el scroller interno */
#amelia-container,
#amelia-v2-booking-1000,
.am-cap__wrapper,
.amelia-v2-booking {
  box-sizing: border-box !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important; /* evitar que el wrapper cree scroll propio */
}

/* Forzar que el scroller interno ocupe todo el wrapper y tenga scroll */
#amelia-container .am-scroll,
#amelia-container .am-content,
#amelia-container .am-calendar,
#amelia-container .am-body,
#amelia-container .am-panel {
  height: 100% !important;
  max-height: 100% !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* Seguridad: evitar que wrappers del theme reduzcan el espacio */
.wp-site-blocks,
.entry-content.wp-block-post-content,
.is-layout-constrained {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}

.el-select__input[readonly] {
  user-select: none !important;
  caret-color: transparent !important;
}

/* Altura mínima cuando hay pocas o ninguna cita */
#amelia-container,
#amelia-v2-booking-1000,
.am-cap__wrapper,
.amelia-v2-booking {
  min-height: 60vh !important;
}



/* -----------------------------------------------------
   1. TIPOGRAFÍA GLOBAL (menos iconos)
----------------------------------------------------- */
#amelia-container,
#amelia-container *:not(.am-icon-arrow-down)
                   :not(.am-icon-arrow-left)
                   :not(.am-icon-arrow-right)
                   :not(.is-icon-only)
                   :not(.am-icon-apple)
                   :not(.am-icon-close)
                   :not(.am-icon-google)
                   :not(.am-icon-email)
                   :not(.am-icon-password)
                   :not(.am-icon-calendar)
                   :not(.am-icon-check) 
                   :not(.am-icon-dots-vertical)
                   *:not([class*="am-icon-"]){
    font-family: 'Oswald', sans-serif !important;
}

/* Listas, dropdowns y opciones */
#amelia-container .am-select-service-name,
#amelia-container .am-select-service-price,
#amelia-container .el-select-dropdown__item,
#amelia-container .el-select-dropdown__list,
#amelia-container .am-select-option {
    font-family: 'Oswald', sans-serif !important;
}

/* Estilo interno del popper de Amelia */
.el-popper.am-service-dropdown {
    --am-font-family: 'Oswald', sans-serif !important;
}

/* ===============================
   FORZAR TIPOGRAFÍA EN DROPDOWNS
   =============================== */
.el-popper,
.el-select-dropdown,
.el-select-dropdown * {
    --am-font-family: 'Oswald', sans-serif !important;
    font-family: 'Oswald', sans-serif !important;
}

/* FUERZA la fuente en absolutamente todo */
body *:not(svg):not(path):not([class*="icon"]):not([class^="am-icon"]):not([class*="am-icon-email"]) {
    font-family: 'Oswald', sans-serif !important;
}

/* Forzar en los poppers externos de Amelia */
.el-popper,
.el-popper * {
    font-family: 'Oswald', sans-serif !important;
    --am-font-family: 'Oswald', sans-serif !important;
}

/* -----------------------------------------------------
   2. FONDO GENERAL DE LA PÁGINA
----------------------------------------------------- */
body {
    background-color: #0F1115 !important;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper {
    margin: 0 auto !important;
}
