/* Asistente web de Áreas de Vending: estilos aislados, no afectan al resto de la web. */
.cye-asistente { font-family: inherit; color: inherit; }
.cye-asistente .cye-asistente-intro { margin: 0 0 12px; font: inherit; }
.cye-asistente .cye-asistente-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border: 1px solid #262626; border-radius: 999px; background: #282828; color: #fff; font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .035em; cursor: pointer; transition: background .16s ease, transform .16s ease; }
.cye-asistente .cye-asistente-button:hover { background: #414141; }
.cye-asistente .cye-asistente-button:active { transform: translateY(1px); }
.cye-asistente .cye-asistente-note { display: block; margin-top: 8px; color: #666; font-size: 12px; }
/* Variante en la franja «Solicítalo» del pie: en línea junto a ese enlace. */
.cye-asistente.cye-asistente--cta { display: inline-block; margin: 20px 0 0 12px; vertical-align: top; }
@media (max-width: 767px) { .cye-asistente.cye-asistente--cta { margin-left: 0; } }

#av-ia-overlay[hidden] { display: none !important; }
/* Con la ventana del botón abierta, la burbuja flotante de pleair (#hu) no debe quedar encima. */
html.av-ia-open #hu { display: none !important; }
#av-ia-overlay, #av-ia-overlay * { box-sizing: border-box; }
#av-ia-overlay { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .74); }
#av-ia-dialog { display: flex; flex-direction: column; width: min(900px, 100%); height: min(780px, calc(100dvh - 40px)); min-height: 300px; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 20px 65px rgba(0, 0, 0, .45); font-family: Arial, Helvetica, sans-serif; }
#av-ia-overlay .av-ia-header { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: #171717; color: #fff; }
#av-ia-heading { margin: 0; color: #fff; font-size: 17px; font-weight: 600; line-height: 1.35; }
#av-ia-overlay .av-ia-close { border: 1px solid #fff8; border-radius: 3px; padding: 9px 13px; background: transparent; color: #fff; font-size: 14px; cursor: pointer; white-space: nowrap; }
#av-ia-overlay .av-ia-close span { margin-left: 7px; font-size: 19px; vertical-align: middle; }
#av-ia-frame { display: block; flex: 1 1 auto; min-height: 0; width: 100%; border: 0; background: #fff; }
#av-ia-overlay .av-ia-footer { flex: none; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 20px; background: #171717; color: #ddd; font-size: 12px; }
#av-ia-overlay .av-ia-footer a { color: #ddd !important; text-decoration: underline; }
#av-ia-overlay button:focus-visible, #av-ia-overlay a:focus-visible, .cye-asistente button:focus-visible { outline: 3px solid #00472e; outline-offset: 3px; }

@media (max-width: 640px) {
  #av-ia-overlay { padding: 0; }
  #av-ia-dialog { width: 100%; height: 100dvh; min-height: 0; border-radius: 0; }
  #av-ia-overlay .av-ia-header { padding: 10px 12px; }
  #av-ia-heading { font-size: 15px; }
  #av-ia-overlay .av-ia-footer { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cye-asistente .cye-asistente-button { transition: none; }
}
