.elementor-1060 .elementor-element.elementor-element-5731221{--display:flex;border-style:solid;--border-style:solid;border-width:1px 1px 1px 1px;--border-top-width:1px;--border-right-width:1px;--border-bottom-width:1px;--border-left-width:1px;border-color:#BD0D25;--border-color:#BD0D25;--border-radius:30px 30px 30px 30px;--padding-top:44px;--padding-bottom:44px;--padding-left:44px;--padding-right:44px;}.elementor-1060 .elementor-element.elementor-element-5731221:not(.elementor-motion-effects-element-type-background), .elementor-1060 .elementor-element.elementor-element-5731221 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFF9EF;}@media(min-width:768px){.elementor-1060 .elementor-element.elementor-element-5731221{--content-width:560px;}}/* Start custom CSS for container, class: .elementor-element-5731221 *//* ==========================================================
   POPUP CARTA CANELA - ELEMENTOR PRO
   Clase del contenedor principal: popup-canela
   ========================================================== */

/* Ventana exterior de Elementor. :has() limita los cambios a este popup. */
.elementor-popup-modal:has(.popup-canela) .dialog-widget-content {
  width: min(560px, calc(100vw - 40px)) !important;
  max-width: 560px !important;
  background: #fff9ef !important;
  border: 1.5px solid #bd0d25;
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(52, 33, 31, 0.28);
  overflow: visible;
}

/* Fondo oscurecido detrás de la ventana. */
.elementor-popup-modal:has(.popup-canela) {
  background-color: rgba(52, 33, 31, 0.52) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Contenedor principal del contenido. */
.popup-canela {
  width: 100%;
  min-height: 0 !important;
  padding: 44px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 18px !important;
  background: #fff9ef;
  border-radius: 27px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Arcos decorativos suaves. */
.popup-canela::before,
.popup-canela::after {
  content: "";
  position: absolute;
  width: 76px;
  height: 76px;
  border: 10px solid #fad2d1;
  border-radius: 50%;
  pointer-events: none;
}

.popup-canela::before {
  top: -38px;
  left: -31px;
}

.popup-canela::after {
  right: -31px;
  bottom: -38px;
}

/* Pequeña etiqueta superior opcional. */
.popup-etiqueta,
.popup-etiqueta .elementor-heading-title {
  margin: 0 !important;
  color: #bd0d25 !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase;
}

/* Título principal. */
.popup-titulo,
.popup-titulo .elementor-heading-title {
  margin: 0 !important;
  color: #8f0b20 !important;
  font-family: "Caveat", cursive !important;
  font-size: 52px !important;
  font-weight: 600 !important;
  line-height: 0.98 !important;
  letter-spacing: 0 !important;
}

/* Texto Elige el idioma. */
.popup-subtitulo,
.popup-subtitulo p {
  margin: 0 !important;
  color: #34211f !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/* Contenedor que agrupa los tres botones. */
.popup-idiomas {
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  margin-top: 8px;
}

/* Cada widget Botón debe llevar la clase boton-idioma. */
.boton-idioma {
  flex: 1 1 0;
  min-width: 0;
}

.boton-idioma .elementor-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 13px 12px !important;
  color: #ffffff !important;
  background: #bd0d25 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.3px !important;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease,
              box-shadow 180ms ease;
}

.boton-idioma .elementor-button:hover,
.boton-idioma .elementor-button:focus-visible {
  color: #ffffff !important;
  background: #8f0b20 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(143, 11, 32, 0.22);
}

.boton-idioma .elementor-button:focus-visible {
  outline: 3px solid #fad2d1;
  outline-offset: 3px;
}

/* Nota inferior opcional. */
.popup-nota,
.popup-nota p {
  margin: 3px 0 0 !important;
  color: #756762 !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

/* Botón X de Elementor. */
.elementor-popup-modal:has(.popup-canela) .dialog-close-button {
  top: 16px !important;
  right: 16px !important;
  width: 42px;
  height: 42px;
  display: flex !important;
  justify-content: center;
  align-items: center;
  color: #34211f !important;
  background: #ffffff !important;
  border: 1px solid #e7d8cc;
  border-radius: 50%;
  font-size: 20px !important;
  transition: color 180ms ease, border-color 180ms ease,
              transform 180ms ease;
  z-index: 20;
}

.elementor-popup-modal:has(.popup-canela) .dialog-close-button:hover {
  color: #bd0d25 !important;
  border-color: #bd0d25;
  transform: rotate(6deg);
}

/* TABLET */
@media (max-width: 1024px) {
  .elementor-popup-modal:has(.popup-canela) .dialog-widget-content {
    width: min(520px, calc(100vw - 40px)) !important;
  }

  .popup-canela {
    padding: 34px !important;
    gap: 16px !important;
  }

  .popup-titulo,
  .popup-titulo .elementor-heading-title {
    font-size: 44px !important;
  }
}

/* MÓVIL */
@media (max-width: 767px) {
  .elementor-popup-modal:has(.popup-canela) .dialog-widget-content {
    width: calc(100vw - 32px) !important;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border-radius: 22px;
  }

  .popup-canela {
    padding: 52px 24px 26px !important;
    gap: 14px !important;
    border-radius: 21px;
  }

  .popup-titulo,
  .popup-titulo .elementor-heading-title {
    font-size: 37px !important;
    line-height: 1 !important;
  }

  .popup-subtitulo,
  .popup-subtitulo p {
    font-size: 16px !important;
  }

  .popup-idiomas {
    flex-direction: column !important;
    gap: 11px !important;
  }

  .boton-idioma {
    width: 100%;
  }

  .boton-idioma .elementor-button {
    min-height: 50px;
    font-size: 14px !important;
  }

  .elementor-popup-modal:has(.popup-canela) .dialog-close-button {
    top: 12px !important;
    right: 12px !important;
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .boton-idioma .elementor-button,
  .elementor-popup-modal:has(.popup-canela) .dialog-close-button {
    transition: none !important;
  }
}/* End custom CSS */