/*
 * Torre de Vega — integraciones con la estética del sitio.
 *
 * WhatsApp (plugin Social Chat) y GTranslate conservan su funcionamiento original;
 * aquí solo se adapta su aspecto al cristal oscuro con acento dorado de los botones
 * del hero. Cargar después de la hoja del plugin de WhatsApp.
 */

/* ---- WhatsApp: botón flotante "Haz tu reserva" ------------------------------------- */

/* The plugin's container is 430px wide: never wider than the phone's screen. */
.qlwapp .qlwapp__container {
  width: min(430px, 100%);
}

.qlwapp .qlwapp__container .qlwapp__button.qlwapp__button--button,
.qlwapp .qlwapp__container .qlwapp__button.qlwapp__button--button:is(:hover, :focus, :active) {
  /* The plugin centres the button with auto margins; keep it compact at the right edge. */
  align-self: flex-end;
  height: 46px;
  margin: 20px;
  padding: 0 20px;
  gap: 12px;
  border: 1px solid rgba(204, 173, 96, 0.45);
  border-radius: 5px !important;
  background-color: rgba(8, 8, 8, 0.82) !important;
  background-image: linear-gradient(130deg, rgba(204, 173, 96, 0.16), rgba(255, 255, 255, 0.04));
  color: #fff !important;
  font: 700 14px/1 Raleway, sans-serif;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  transition: border-color 0.25s ease;
}
.qlwapp .qlwapp__container .qlwapp__button.qlwapp__button--button:hover {
  border-color: rgba(204, 173, 96, 0.9);
}
.qlwapp .qlwapp__container .qlwapp__button--button .qlwapp__icon {
  font-size: 20px;
  color: #ccad60;
}
.qlwapp .qlwapp__container .qlwapp__button:focus-visible {
  outline: 3px solid #ccad60 !important;
  outline-offset: 4px;
}

/* ---- GTranslate: selector de idioma (abajo a la izquierda) -------------------------- */

#gt_float_wrapper .gt_float_switcher {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 5px;
  background: rgba(8, 8, 8, 0.82);
  color: #fff;
  font: 700 12px/20px Raleway, sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 28px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
}
#gt_float_wrapper .gt_float_switcher .gt-selected {
  background-color: transparent;
}
#gt_float_wrapper .gt_float_switcher .gt-selected .gt-current-lang {
  padding: 9px 14px;
  color: #fff;
}
#gt_float_wrapper .gt_float_switcher .gt_options a {
  padding: 9px 14px;
  color: #fff;
}
#gt_float_wrapper .gt_float_switcher .gt_options a:hover {
  background: #ccad60;
  color: #1a1a1a;
}
#gt_float_wrapper .gt_float_switcher img {
  width: 22px;
  border-radius: 2px;
}
