:root {
  --ds-button-radius: 6px;
}

/* La cabecera y footer por defecto de Hello duplican los creados en Elementor. */
#site-header.site-header,
#site-footer.site-footer {
  display: none !important;
}

/* Radio unificado para CTAs y envíos de formularios; no afecta filtros ni tarjetas. */
.elementor-widget-button .elementor-button,
.elementor-widget-form .elementor-button {
  border-radius: var(--ds-button-radius) !important;
}

.ds-whatsapp-float {
  align-items: center;
  background: linear-gradient(145deg, #36dc78 0%, #1bb95d 100%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  bottom: 28px;
  box-shadow: 0 12px 28px rgba(17, 0, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.32);
  color: #ffffff;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  padding: 0;
  position: fixed;
  right: 28px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  width: 58px;
  z-index: 9980;
}

.ds-whatsapp-float::before {
  border: 1px solid rgba(37, 211, 102, 0.36);
  border-radius: inherit;
  content: "";
  inset: -7px;
  pointer-events: none;
  position: absolute;
  transition: inset 180ms ease, opacity 180ms ease;
}

.ds-whatsapp-float svg {
  fill: currentColor;
  height: 27px;
  position: relative;
  width: 27px;
}

.ds-whatsapp-float span {
  display: none;
}

.ds-whatsapp-float:hover,
.ds-whatsapp-float:focus-visible {
  box-shadow: 0 16px 34px rgba(17, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4);
  color: #ffffff;
  filter: saturate(1.08);
  transform: translateY(-3px) scale(1.04);
}

.ds-whatsapp-float:hover::before,
.ds-whatsapp-float:focus-visible::before {
  inset: -10px;
  opacity: 0.72;
}

.ds-whatsapp-float:focus-visible {
  outline: 2px solid #ffffcc;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .ds-whatsapp-float {
    /* Evita que el botón quede detrás de la barra del navegador móvil/emulada. */
    bottom: clamp(72px, 10vh, 90px);
    height: 54px;
    right: 18px;
    width: 54px;
  }

  .ds-whatsapp-float svg {
    height: 25px;
    width: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-whatsapp-float { transition: none; }
}

/* Revelado editorial: solo Home en escritorio/tableta horizontal. */
@media (min-width: 769px) {
  .ds-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 850ms ease 140ms, transform 850ms cubic-bezier(.22, .61, .36, 1) 140ms;
    will-change: opacity, transform;
  }

  .ds-reveal--left { transform: translate3d(-32px, 0, 0); }
  .ds-reveal--right { transform: translate3d(32px, 0, 0); }
  .ds-reveal--up { transform: translate3d(0, 28px, 0); }
  .ds-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .ds-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ==========================================================================
   Estilos Luxury para Formularios y Popups de Personalización (Sin recuadro blanco)
   ========================================================================== */
.elementor-popup-modal .dialog-message,
.dialog-widget-content.dialog-lightbox-widget-content {
  background-color: #160B0E !important;
  border: 1px solid rgba(200, 155, 83, 0.3) !important;
  border-radius: 16px !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8) !important;
}

.elementor-popup-modal input[type="text"],
.elementor-popup-modal input[type="email"],
.elementor-popup-modal input[type="tel"],
.elementor-popup-modal input[type="number"],
.elementor-popup-modal textarea,
.elementor-popup-modal select,
.elementor-form input[type="text"],
.elementor-form input[type="email"],
.elementor-form input[type="tel"],
.elementor-form input[type="number"],
.elementor-form textarea,
.elementor-form select {
  background-color: #1E0E13 !important;
  color: #FFFFCC !important;
  border: 1px solid rgba(200, 155, 83, 0.35) !important;
  border-radius: 6px !important;
  font-family: inherit !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.elementor-popup-modal input:focus,
.elementor-popup-modal textarea:focus,
.elementor-popup-modal select:focus,
.elementor-form input:focus,
.elementor-form textarea:focus,
.elementor-form select:focus {
  background-color: #1E0E13 !important;
  color: #FFFFCC !important;
  border-color: #C89B53 !important;
  outline: none !important;
  box-shadow: 0 0 0 1px #C89B53, 0 0 14px rgba(200, 155, 83, 0.3) !important;
}

/* Eliminación total del fondo blanco por autofill de Google Chrome/Safari */
.elementor-popup-modal input:-webkit-autofill,
.elementor-popup-modal input:-webkit-autofill:hover,
.elementor-popup-modal input:-webkit-autofill:focus,
.elementor-form input:-webkit-autofill,
.elementor-form input:-webkit-autofill:hover,
.elementor-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: #FFFFCC !important;
  -webkit-box-shadow: 0 0 0px 1000px #1E0E13 inset !important;
  box-shadow: 0 0 0px 1000px #1E0E13 inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
  border-color: #C89B53 !important;
}

/* ==========================================================================
   Espaciado y Tipografía de Etiquetas en Formularios y Popups
   Previene la superposición de labels sobre los campos de texto
   ========================================================================== */
.elementor-popup-modal .elementor-field-label,
.elementor-popup-modal .elementor-field-group label,
.elementor-form .elementor-field-label,
.elementor-form .elementor-field-group label {
  display: block !important;
  margin-bottom: 8px !important;
  line-height: 1.4 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  color: #FDDA7C !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
}

.elementor-popup-modal .elementor-field-group,
.elementor-form .elementor-field-group {
  margin-bottom: 18px !important;
}

.elementor-popup-modal .elementor-field-group input,
.elementor-popup-modal .elementor-field-group select,
.elementor-popup-modal .elementor-field-group textarea {
  margin-top: 0 !important;
}

/* ==========================================================================
   Orden Canónico de Filtros de Catálogo
   Todos -> Whiskey -> Tequila -> Vodka -> Vino -> Espumante -> Pisco -> Ron -> Gin -> Cerveza -> Otros
   ========================================================================== */
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="__all"] {
  order: 0 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="whiskey"],
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="whisky"] {
  order: 1 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="tequila"] {
  order: 2 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="vodka"] {
  order: 3 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="vino"] {
  order: 4 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="espumante"] {
  order: 5 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="pisco"] {
  order: 6 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="ron"] {
  order: 7 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="gin"] {
  order: 8 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="cerveza"] {
  order: 9 !important;
}
.elementor-widget-taxonomy-filter .e-filter-item[data-filter="otros"] {
  order: 99 !important;
}

/* ==========================================================================
   Estilos Luxury para Selectores en Popup Corporativo (Whisky / Tequila / Botellas)
   ========================================================================== */
.elementor-popup-modal .elementor-field-group select,
.elementor-popup-modal select.elementor-field-textual {
  background-color: #1E0E13 !important;
  color: #FFFFCC !important;
  border: 1px solid rgba(200, 155, 83, 0.45) !important;
  border-radius: 6px !important;
  padding: 12px 36px 12px 14px !important;
  font-size: 0.92rem !important;
  font-family: inherit !important;
  cursor: pointer !important;
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C89B53' d='M1.41 0L6 4.58L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 12px 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  transition: all 0.25s ease !important;
}

.elementor-popup-modal .elementor-field-group select:hover {
  border-color: #C89B53 !important;
  box-shadow: 0 4px 16px rgba(200, 155, 83, 0.15) !important;
}

.elementor-popup-modal .elementor-field-group select:focus {
  border-color: #FDDA7C !important;
  outline: none !important;
  box-shadow: 0 0 0 1px #FDDA7C, 0 0 14px rgba(253, 218, 124, 0.25) !important;
}

.elementor-popup-modal .elementor-field-group select option {
  background-color: #160B0E !important;
  color: #FFFFCC !important;
  padding: 10px 14px !important;
}

.elementor-popup-modal .select-caret-down-wrapper {
  display: none !important;
}

.ds-bottle-select-group {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ds-bottle-select-group.ds-fade-in {
  animation: dsFadeSlideDown 0.35s ease forwards;
}

@keyframes dsFadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Ajustes Responsive Mobile-First para Popups de Personalización (Post 574)
   Garantiza simetría, padding balanceado (sin desbordes a la derecha) en iPhone y Android
   ========================================================================== */
.elementor-popup-modal[style*="display: none"],
.elementor-popup-modal[style*="display:none"],
.dialog-widget[style*="display: none"],
.dialog-widget[style*="display:none"] {
  display: none !important;
}

@media (max-width: 767px) {
  .elementor-popup-modal:not([style*="display: none"]):not([style*="display:none"]) {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 12px !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal .dialog-widget-content,
  .elementor-popup-modal .dialog-lightbox-widget-content,
  .elementor-popup-modal .dialog-message {
    width: 100% !important;
    max-width: min(calc(100vw - 24px), 460px) !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    border-radius: 16px !important;
  }

  .elementor-popup-modal .dialog-close-button {
    top: 14px !important;
    right: 14px !important;
    color: #FFFFCC !important;
    font-size: 18px !important;
    z-index: 9999 !important;
  }

  .elementor-popup-modal .elementor-element-68a9592 {
    padding: 32px 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal .elementor-element-c97eedd,
  .elementor-popup-modal .elementor-element-7842aaf {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal .elementor-element-7842aaf {
    margin-top: 20px !important;
  }

  .elementor-popup-modal .elementor-form {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal .elementor-form-fields-wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal .elementor-field-group {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .elementor-popup-modal input,
  .elementor-popup-modal select,
  .elementor-popup-modal textarea,
  .elementor-popup-modal button[type="submit"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}




