/* Azloh Multilingual · selector de idioma. Hereda colores y tipografía del tema. */
.azml-switcher { font-size: inherit; line-height: 1.4; }
.azml-switcher__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25em 1em; justify-content: inherit; }
.azml-switcher__item { margin: 0; padding: 0; }
.azml-switcher__item a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.azml-switcher__item a:hover, .azml-switcher__item a:focus-visible { text-decoration-thickness: 2px; }
.azml-switcher__item.is-current span { font-weight: 700; }
.azml-switcher__item.is-unavailable span { opacity: .55; cursor: not-allowed; }
.azml-switcher a:focus-visible, .azml-switcher summary:focus-visible, .azml-notice button:focus-visible, .azml-notice a:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.azml-switcher__dropdown { position: relative; display: inline-block; }
.azml-switcher__dropdown summary { cursor: pointer; list-style: none; padding: .25em .5em; border: 1px solid currentColor; border-radius: 3px; }
.azml-switcher__dropdown summary::-webkit-details-marker { display: none; }
.azml-switcher__dropdown summary::after { content: " ▾"; }
.azml-switcher__dropdown[open] .azml-switcher__list { position: absolute; bottom: 100%; left: 0; z-index: 50; flex-direction: column; background: #fff; color: #1d2327; padding: .5em .75em; border: 1px solid #ccc; border-radius: 3px; min-width: 9em; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.azml-footer-bar { padding: 12px 16px; text-align: center; font-size: 14px; }
.azml-footer-bar .azml-switcher__list { justify-content: center; }
.azml-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Aviso de sugerencia: discreto, no bloquea la página. */
.azml-notice { position: fixed; z-index: 99990; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 44px 12px 16px; background: #1d2327; color: #fff; border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,.25); font-size: 15px; line-height: 1.4; }
.azml-notice p { margin: 0; flex: 1 1 220px; }
.azml-notice a.azml-notice__go { display: inline-block; padding: 6px 12px; background: #fff; color: #1d2327; border-radius: 4px; text-decoration: none; font-weight: 600; }
.azml-notice button { background: transparent; color: inherit; border: 0; cursor: pointer; font: inherit; }
.azml-notice .azml-notice__stay { text-decoration: underline; padding: 6px 4px; }
.azml-notice .azml-notice__close { position: absolute; top: 6px; right: 8px; font-size: 22px; line-height: 1; padding: 4px 8px; }
@media (prefers-reduced-motion: no-preference) { .azml-notice { animation: azml-in .25s ease-out; } }
@keyframes azml-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Ventana «¿Desde dónde nos visitas?» */
.azml-dialog-open { overflow: hidden; }
.azml-dialog { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 20, 20, .55); }
.azml-dialog__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; padding: 32px 28px 28px; background: #fff; color: #1d2327; border-radius: 6px; box-shadow: 0 12px 40px rgba(0,0,0,.3); font-size: 16px; line-height: 1.45; text-align: left; }
.azml-dialog__box h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.25; color: inherit; }
.azml-dialog__box p { margin: 0 0 20px; color: #50575e; }
.azml-dialog__box label[for="azml-country"], .azml-dialog__box legend { display: block; margin: 0 0 6px; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; padding: 0; }
.azml-dialog__box select { width: 100%; padding: 10px 12px; font-size: 16px; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; color: inherit; margin-bottom: 20px; }
.azml-dialog__box fieldset { border: 0; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.azml-dialog__box legend { width: 100%; }
.azml-dialog__lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid #c3c4c7; border-radius: 999px; cursor: pointer; font-size: 15px; }
.azml-dialog__lang:has(input:checked) { border-color: #1d2327; background: #1d2327; color: #fff; }
.azml-dialog__lang input { margin: 0; accent-color: #1d2327; }
.azml-dialog__go { width: 100%; padding: 12px 16px; font-size: 16px; font-weight: 600; color: #fff; background: #1d2327; border: 0; border-radius: 4px; cursor: pointer; }
.azml-dialog__go:hover { background: #000; }
.azml-dialog__close { position: absolute; top: 8px; right: 10px; padding: 4px 10px; font-size: 26px; line-height: 1; background: transparent; border: 0; color: #50575e; cursor: pointer; }
.azml-dialog button:focus-visible, .azml-dialog select:focus-visible, .azml-dialog__lang:focus-within { outline: 2px solid #2271b1; outline-offset: 2px; }
.azml-switcher__country { margin-top: .5em; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .azml-dialog__box { animation: azml-in .2s ease-out; } }
/* Aislar de los estilos de botones del tema. */
.azml-dialog .azml-dialog__box button.azml-dialog__go { width: 100%; padding: 12px 16px; font-size: 16px; font-weight: 600; text-transform: none; letter-spacing: normal; color: #fff; background: #1d2327; border: 0; border-radius: 4px; box-shadow: none; }
.azml-dialog .azml-dialog__box button.azml-dialog__go:hover, .azml-dialog .azml-dialog__box button.azml-dialog__go:focus { color: #fff; background: #000; }
.azml-dialog .azml-dialog__box button.azml-dialog__close { padding: 4px 10px; font-size: 26px; line-height: 1; color: #50575e; background: transparent; border: 0; box-shadow: none; }
.azml-dialog .azml-dialog__box button.azml-dialog__close:hover { color: #1d2327; background: transparent; }
