/* ==========================================================================
   VISTA MENÚ DIGITAL (PANTALLAS DE 43" & PORTAL DAMAS)
   Tema Light de Alto Contraste con Animaciones Sutiles estilo Starbucks
   ========================================================================== */

:root {
  /* ========================================================================
     VARIABLES GLOBALES DE DISEÑO - MENÚS DIGITALES (CAFÉ +VIDA & DAMAS)
     Permite ajustar la paleta centralizada en un solo punto
     ======================================================================== */
  --menu-dark-charcoal: #000000;           /* Negro puro de las cards del menú de damas */
  --menu-dark-charcoal-rgb: 0, 0, 0;      /* Canal RGB para cálculos de opacidad */
  --menu-dots-color: rgba(var(--menu-dark-charcoal-rgb), 0.22); /* Puntos guía */
  --menu-brand-forest: #0f2e22;           /* Verde bosque emblemático para costos y acentos */
  --menu-gold-star: #fbbf24;              /* Dorado luminoso para distintivos de Más Pedido */
  --menu-text-muted: #636366;             /* Gris secundario para descripciones */
  --menu-text-light: #ffffff;             /* Blanco puro para texto sobre fondos oscuros */
}

/* --------------------------------------------------------------------------
   1. MODO KIOSK / DISPLAY DE PANTALLA COMPLETA
   -------------------------------------------------------------------------- */
body.kiosk-mode {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  user-select: none;
  -webkit-user-select: none;
}

body.kiosk-mode #app-header,
body.kiosk-mode #bottom-nav,
body.kiosk-mode .app-header,
body.kiosk-mode .bottom-nav {
  display: none !important;
  visibility: hidden !important;
}

body.kiosk-mode #app,
body.kiosk-mode .app-main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   2. ESTRUCTURA BASE DE PANTALLA DIGITAL (1920x1080 / 4K)
   -------------------------------------------------------------------------- */
.menu-display-view {
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  padding: clamp(10px, 1.5vh, 18px) clamp(20px, 2.2vw, 36px);
  background-color: #ffffff;
  color: var(--menu-dark-charcoal);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  position: relative;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Prohibición Absoluta de Barras de Desplazamiento en Pantallas Digitales */
.menu-display-view,
.menu-display-view *,
.menu-display-container,
.menu-display-container * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.menu-display-view *::-webkit-scrollbar,
.menu-display-container *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Cabecera común de las pantallas */
.menu-display-header {
  height: auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding-bottom: 8px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.menu-brand-block {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-brand-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.menu-brand-title {
  font-size: clamp(30px, 2.4vw, 35px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--menu-dark-charcoal);
  margin: 0;
  line-height: 1.1;
}

.menu-brand-subtitle {
  font-size: clamp(15.5px, 1.18vw, 18px);
  font-weight: 500;
  color: #636366;
  letter-spacing: 0.3px;
}

.menu-header-status {
  display: flex;
  align-items: center;
}

.menu-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background-color: transparent;
  color: #0f2e22;
  border: 1px solid rgba(15, 46, 34, 0.18);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease, color 0.4s ease;
}

.menu-live-badge.badge-group-glow {
  animation: badgeGroupGlow 0.6s ease-out;
}

.menu-live-badge.badge-sin-servicio {
  color: #8e8e93;
  border-color: rgba(142, 142, 147, 0.35);
  background-color: transparent;
}

.menu-live-badge.badge-sin-servicio .pulse-dot {
  background-color: #9ca3af;
  box-shadow: none;
  animation: none;
}

@keyframes badgeGroupGlow {
  0% {
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }
  35% {
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
    border-color: rgba(16, 185, 129, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(16, 185, 129, 0);
  }
}

#damas-header-group-name {
  display: inline-block;
  will-change: opacity, transform;
}

#damas-header-group-name.group-name-out {
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 1, 1), transform 0.2s cubic-bezier(0.4, 0, 1, 1);
}

#damas-header-group-name.group-name-in {
  animation: groupNameSwapIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes groupNameSwapIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulseDotAnim 2s infinite ease-in-out;
}

@keyframes pulseDotAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* --------------------------------------------------------------------------
   3. PANTALLA IZQUIERDA: MENÚ CAFÉ MÁS VIDA
   -------------------------------------------------------------------------- */
.menu-display-body {
  flex: 1;
  min-height: 0;
  height: 100%;
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: clamp(24px, 2.5vw, 40px);
  overflow: hidden;
  box-sizing: border-box;
}

/* Columna Izquierda: Lista Fija */
.menu-left-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Keyframe para Entrada Suave Fade-In Up */
@keyframes editorialFadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-list-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  gap: 2px;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
}

/* Indicador Flotante Animado del Elemento Activo en el Carrusel */
.menu-active-pill-indicator {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #000000 !important;
  border-radius: clamp(8px, 0.7vw, 12px);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  width: 0;
  height: 0;
  box-shadow: none !important;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease-out;
  will-change: transform, width;
}

/* Ítems del Menú: Diseño Editorial sin Cajas/Cards */
.menu-item-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2px, 0.4vh, 4.5px) 10px;
  border-radius: 0;
  background-color: transparent !important;
  border-left: 3px solid transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none !important;
  cursor: pointer;
  flex: 1;
  min-height: 0;
  box-sizing: border-box;
  transition: all 0.3s ease-out;
  animation: editorialFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Efecto Escalonado (Staggered Animation) para la entrada en cascada */
.menu-item-row:nth-child(1)  { animation-delay: 0.04s; }
.menu-item-row:nth-child(2)  { animation-delay: 0.08s; }
.menu-item-row:nth-child(3)  { animation-delay: 0.12s; }
.menu-item-row:nth-child(4)  { animation-delay: 0.16s; }
.menu-item-row:nth-child(5)  { animation-delay: 0.20s; }
.menu-item-row:nth-child(6)  { animation-delay: 0.24s; }
.menu-item-row:nth-child(7)  { animation-delay: 0.28s; }
.menu-item-row:nth-child(8)  { animation-delay: 0.32s; }
.menu-item-row:nth-child(9)  { animation-delay: 0.36s; }
.menu-item-row:nth-child(10) { animation-delay: 0.40s; }
.menu-item-row:nth-child(11) { animation-delay: 0.44s; }
.menu-item-row:nth-child(12) { animation-delay: 0.48s; }
.menu-item-row:nth-child(13) { animation-delay: 0.52s; }
.menu-item-row:nth-child(14) { animation-delay: 0.56s; }
.menu-item-row:nth-child(15) { animation-delay: 0.60s; }

/* Microinteracciones Hover: Desplazamiento mínimo y acentuación limpia */
.menu-item-row:hover {
  transform: translateX(6px);
  border-left-color: rgba(15, 46, 34, 0.3);
}

.menu-item-row:hover .menu-item-name {
  color: var(--menu-brand-forest);
}

.menu-item-row:hover .menu-item-desc {
  opacity: 0.85;
  color: var(--menu-dark-charcoal);
}

.menu-item-row:hover .menu-item-price {
  color: var(--menu-brand-forest);
  transform: scale(1.03);
}

.menu-item-row:hover .menu-item-dots {
  background-image: radial-gradient(circle, rgba(15, 46, 34, 0.45) 1.2px, transparent 1.3px);
}

/* Fila Activa/Sincronizada con el Showcase */
.menu-item-row.menu-row-featured {
  background-color: transparent !important;
  box-shadow: none !important;
}

.menu-item-row.menu-row-featured .menu-item-name,
.menu-item-row.menu-row-featured:hover .menu-item-name {
  color: var(--menu-text-light) !important;
}

.menu-item-row.menu-row-featured .menu-item-price {
  color: var(--menu-brand-forest);
  font-weight: 900;
}

.menu-item-row.menu-row-featured .menu-item-dots {
  background-image: radial-gradient(circle, rgba(15, 46, 34, 0.55) 1.2px, transparent 1.3px);
}

.menu-item-left {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding-right: 0;
}

.menu-item-name-line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.menu-item-name {
  font-size: clamp(28px, 2.35vw, 36px);
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--menu-dark-charcoal);
  margin: 0;
  padding: 5px 14px;
  border-radius: clamp(8px, 0.7vw, 12px);
  line-height: 1.15;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease-out, font-size 0.25s ease-out, padding 0.25s ease-out;
  position: relative;
  z-index: 3;
}

.menu-item-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(22px, 1.6vw, 26px);
  height: clamp(22px, 1.6vw, 26px);
  border-radius: 50%;
  background-color: #0f2e22;
  color: #ffffff;
  border: none;
  padding: 0;
  box-sizing: border-box;
  vertical-align: middle;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item-tag svg,
.menu-item-tag i {
  width: clamp(12.5px, 0.92vw, 15px);
  height: clamp(12.5px, 0.92vw, 15px);
  stroke: #ffffff;
  stroke-width: 2.3;
  display: block;
  flex-shrink: 0;
}

.menu-item-tag.tag-caliente {
  background-color: #ea580c;
}

.menu-item-tag.tag-frío,
.menu-item-tag.tag-frio {
  background-color: #0284c7;
}

.menu-item-tag.tag-especial {
  background-color: #9333ea;
}

.menu-item-tag.tag-postre,
.menu-item-tag.tag-reposteria {
  background-color: #db2777;
}

.menu-item-tag.tag-frappe,
.menu-item-tag.tag-frappé {
  background-color: #b45309;
}

.menu-item-tag.tag-smoothie {
  background-color: #e11d48;
}

.menu-item-tag.tag-tonic {
  background-color: #0891b2;
}

.menu-item-tag.tag-latte {
  background-color: #78350f;
}

.menu-item-tag.tag-bebida {
  background-color: #059669;
}

.menu-item-tag.tag-botella {
  background-color: #64748b;
}

/* Distintivo MÁS PEDIDO (Sobrio, Elegante y Distintivo en Círculo) */
.badge-mas-pedido {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  width: clamp(22px, 1.6vw, 26px) !important;
  height: clamp(22px, 1.6vw, 26px) !important;
  background-color: var(--menu-dark-charcoal) !important;
  color: var(--menu-gold-star) !important;
  border: none !important;
  border-radius: 50% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  animation: none !important;
  vertical-align: middle !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.badge-mas-pedido svg {
  width: clamp(11px, 0.82vw, 13px) !important;
  height: clamp(11px, 0.82vw, 13px) !important;
  color: var(--menu-gold-star) !important;
  fill: var(--menu-gold-star) !important;
  stroke: none !important;
  flex-shrink: 0 !important;
  transform-origin: center !important;
  display: inline-block !important;
  will-change: transform !important;
  animation: starTwinklePeriodic 6s infinite ease-in-out !important;
}

@keyframes starTwinklePeriodic {
  0%, 76%, 100% {
    transform: scale(1) rotate(0deg);
  }
  80% {
    transform: scale(1.3) rotate(-14deg);
  }
  85% {
    transform: scale(1.32) rotate(14deg);
  }
  90% {
    transform: scale(1.16) rotate(-6deg);
  }
  95% {
    transform: scale(1.05) rotate(2deg);
  }
}

.menu-item-desc {
  font-size: clamp(15px, 1.12vw, 17.5px);
  color: var(--menu-text-muted);
  margin: 1px 0 0 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease-out, color 0.3s ease-out;
}

.menu-item-dots {
  flex: 1 1 auto;
  min-width: 20px;
  height: 4px;
  margin: 0 clamp(4px, 0.5vw, 8px);
  background-image: radial-gradient(circle, var(--menu-dots-color) 1.2px, transparent 1.3px);
  background-size: 8px 100%;
  background-repeat: repeat-x;
  background-position: left center;
  align-self: center;
  transform: translateY(2px);
  transition: all 0.3s ease-out;
}

.menu-item-price {
  display: inline-flex;
  align-items: baseline;
  font-size: clamp(30px, 2.55vw, 38px);
  font-weight: 900;
  color: var(--menu-brand-forest);
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform 0.3s ease-out, color 0.3s ease-out, font-size 0.25s ease-out;
}

.menu-item-price .price-symbol {
  font-size: 0.6em;
  font-weight: 400 !important;
  color: inherit;
  margin-right: 2px;
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Densidad Tipográfica y Espaciado Adaptativo según Cantidad de Bebidas
   (Optimiza la usabilidad aumentando el tamaño de textos y costos con <=10 items,
   y reduce progresivamente conforme se agregan más productos para no desbordar)
   -------------------------------------------------------------------------- */

/* Densidad Espaciosa (1 a 8 bebidas): Escala Máxima */
.menu-list-container.density-roomy .menu-item-row {
  padding: clamp(8px, 1.4vh, 16px) 10px;
}
.menu-list-container.density-roomy .menu-item-name {
  font-size: clamp(32px, 2.7vw, 42px);
  padding: 6px 16px;
}
.menu-list-container.density-roomy .menu-item-price {
  font-size: clamp(34px, 2.9vw, 44px);
}
.menu-list-container.density-roomy .menu-item-tag,
.menu-list-container.density-roomy .badge-mas-pedido {
  width: clamp(28px, 2.1vw, 34px) !important;
  height: clamp(28px, 2.1vw, 34px) !important;
}
.menu-list-container.density-roomy .menu-item-tag svg,
.menu-list-container.density-roomy .menu-item-tag i,
.menu-list-container.density-roomy .badge-mas-pedido svg {
  width: clamp(15.5px, 1.15vw, 19px) !important;
  height: clamp(15.5px, 1.15vw, 19px) !important;
}

/* Densidad Confortable (9 a 11 bebidas - Estado Actual con 10 items): Tamaño Priorizado para Usabilidad */
.menu-list-container.density-comfortable .menu-item-row {
  padding: clamp(5px, 0.9vh, 10px) 10px;
}
.menu-list-container.density-comfortable .menu-item-name {
  font-size: clamp(28px, 2.35vw, 36px);
  padding: 5px 14px;
}
.menu-list-container.density-comfortable .menu-item-price {
  font-size: clamp(30px, 2.55vw, 38px);
}
.menu-list-container.density-comfortable .menu-item-tag,
.menu-list-container.density-comfortable .badge-mas-pedido {
  width: clamp(26px, 1.9vw, 30px) !important;
  height: clamp(26px, 1.9vw, 30px) !important;
}
.menu-list-container.density-comfortable .menu-item-tag svg,
.menu-list-container.density-comfortable .menu-item-tag i,
.menu-list-container.density-comfortable .badge-mas-pedido svg {
  width: clamp(14px, 1.05vw, 17px) !important;
  height: clamp(14px, 1.05vw, 17px) !important;
}

/* Densidad Compacta (12 a 14 bebidas): Escala Reducida para acomodar más productos */
.menu-list-container.density-compact .menu-item-row {
  padding: clamp(2px, 0.35vh, 4.5px) 10px;
}
.menu-list-container.density-compact .menu-item-name {
  font-size: clamp(23px, 1.8vw, 28px);
  padding: 3px 11px;
}
.menu-list-container.density-compact .menu-item-price {
  font-size: clamp(24px, 1.9vw, 29px);
}
.menu-list-container.density-compact .menu-item-tag,
.menu-list-container.density-compact .badge-mas-pedido {
  width: clamp(22px, 1.6vw, 26px) !important;
  height: clamp(22px, 1.6vw, 26px) !important;
}
.menu-list-container.density-compact .menu-item-tag svg,
.menu-list-container.density-compact .menu-item-tag i,
.menu-list-container.density-compact .badge-mas-pedido svg {
  width: clamp(12px, 0.9vw, 14.5px) !important;
  height: clamp(12px, 0.9vw, 14.5px) !important;
}

/* Densidad Densa (15 o más bebidas): Escala Mínima Garantizada */
.menu-list-container.density-dense .menu-item-row {
  padding: 1px 10px;
}
.menu-list-container.density-dense .menu-item-name {
  font-size: clamp(19px, 1.45vw, 22px);
  padding: 2px 9px;
}
.menu-list-container.density-dense .menu-item-price {
  font-size: clamp(20px, 1.55vw, 23px);
}
.menu-list-container.density-dense .menu-item-tag,
.menu-list-container.density-dense .badge-mas-pedido {
  width: clamp(19px, 1.35vw, 22px) !important;
  height: clamp(19px, 1.35vw, 22px) !important;
}
.menu-list-container.density-dense .menu-item-tag svg,
.menu-list-container.density-dense .menu-item-tag i,
.menu-list-container.density-dense .badge-mas-pedido svg {
  width: clamp(10.5px, 0.8vw, 12.5px) !important;
  height: clamp(10.5px, 0.8vw, 12.5px) !important;
}

/* Columna Derecha: Showcase Rotativo Editorial (Cero Cards) */
.menu-right-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.menu-showcase-card {
  position: relative;
  flex: 1;
  min-height: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  animation: editorialFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.showcase-badge-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cafe-display-theme .showcase-badge-gold,
.showcase-badge-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(34px, 2.4vw, 42px);
  height: clamp(34px, 2.4vw, 42px);
  border-radius: 50%;
  color: var(--menu-gold-star);
  background-color: var(--menu-dark-charcoal);
  border: none;
  padding: 0;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  animation: none;
}

.cafe-display-theme .showcase-badge-gold svg,
.showcase-badge-gold svg {
  width: clamp(17px, 1.25vw, 21px);
  height: clamp(17px, 1.25vw, 21px);
  color: var(--menu-gold-star);
  fill: var(--menu-gold-star);
  stroke: none;
  transform-origin: center;
  display: block;
  will-change: transform;
  animation: starTwinklePeriodic 6s infinite ease-in-out;
}

/* Badges con diseño Circular con Ícono en Showcase */
.cafe-display-theme .showcase-badge-pill,
.showcase-badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(34px, 2.4vw, 42px);
  height: clamp(34px, 2.4vw, 42px);
  border-radius: 50%;
  color: #ffffff;
  background-color: #0f2e22;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  border: none;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
  overflow: visible !important;
}

.cafe-display-theme .showcase-badge-pill svg,
.cafe-display-theme .showcase-badge-pill i,
.showcase-badge-pill svg,
.showcase-badge-pill i {
  width: clamp(18px, 1.3vw, 22px);
  height: clamp(18px, 1.3vw, 22px);
  stroke: #ffffff;
  stroke-width: 2.3;
  display: block;
  flex-shrink: 0;
}

.showcase-badge-pill.pill-caliente {
  background-color: #ea580c; /* Naranja cálido */
}

.showcase-badge-pill.pill-frio,
.showcase-badge-pill.pill-frío {
  background-color: #0284c7; /* Azul celeste */
}

.showcase-badge-pill.pill-especial {
  background-color: #9333ea; /* Púrpura especial */
}

.showcase-badge-pill.pill-postre,
.showcase-badge-pill.pill-reposteria {
  background-color: #db2777; /* Rosa */
}

.showcase-badge-pill.pill-frappe,
.showcase-badge-pill.pill-frappé {
  background-color: #b45309;
}

.showcase-badge-pill.pill-smoothie {
  background-color: #e11d48;
}

.showcase-badge-pill.pill-tonic {
  background-color: #0891b2;
}

.showcase-badge-pill.pill-latte {
  background-color: #78350f;
}

/* Contenedor de Imagen de Bebida: rectángulo redondeado blanco definido */
.showcase-image-wrapper {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.showcase-image-layer {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.5vh, 28px);
  box-sizing: border-box;
  background: #ffffff !important;
  background-color: #ffffff !important;
  transition: opacity 0.4s ease;
}

.showcase-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Efecto de respiración suave en la imagen Hero */
.showcase-image-wrapper:hover .showcase-image {
  transform: scale(1.04);
}

.animate-ken-burns {
  animation: kenBurnsZoom 7s ease-out forwards;
}

@keyframes kenBurnsZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.035); }
}

/* Información Tipográfica Editorial sobre el fondo */
.showcase-info-panel {
  padding: 12px 4px 4px 4px;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  flex-shrink: 0;
  transition: opacity 0.26s cubic-bezier(0.16, 1, 0.3, 1), transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.showcase-info-panel.showcase-text-fading {
  opacity: 0;
  transform: translateY(6px);
}

.showcase-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  width: 100%;
  box-sizing: border-box;
}

.showcase-title {
  font-size: var(--showcase-title-size, clamp(38px, 3.6vw, 50px));
  font-weight: 900;
  letter-spacing: -0.6px;
  color: var(--menu-dark-charcoal);
  margin: 0;
  line-height: 1.15;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

/* Componente de Precio Homogéneo para ambos menús */
.menu-price-display {
  display: inline-flex;
  align-items: baseline;
  font-family: inherit;
  color: var(--menu-brand-forest);
  flex-shrink: 0;
  line-height: 1;
}

.menu-price-display .price-symbol {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 400 !important;
  color: inherit;
  margin-right: 3px;
  line-height: 1;
}

.menu-price-display .price-number {
  font-size: clamp(52px, 5.0vw, 70px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--menu-brand-forest);
  line-height: 1;
}

.showcase-description {
  font-size: clamp(21.5px, 1.65vw, 26px);
  color: var(--menu-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Barra de progreso de rotación ultra fina */
.showcase-progress-track {
  height: 3px;
  background-color: rgba(0, 0, 0, 0.08);
  width: 100%;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 8px;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.showcase-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #000000 !important;
  border-radius: 9999px;
}

@keyframes progressBarFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

.showcase-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.showcase-empty-logo {
  height: 100px;
  margin-bottom: 24px;
  opacity: 0.9;
}

.showcase-empty-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: var(--menu-dark-charcoal);
}

.showcase-empty-desc {
  font-size: 18px;
  color: var(--menu-text-muted);
  max-width: 440px;
  line-height: 1.4;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. PANTALLA DERECHA: MENÚ DE COMIDA DE DAMAS
   -------------------------------------------------------------------------- */
.damas-display-theme {
  background-color: #ffffff;
}

.damas-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.damas-brand-icon-wrapper {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  box-sizing: border-box;
}

.damas-brand-icon {
  width: 32px;
  height: 32px;
  stroke: #000000;
  stroke-width: 2.2;
  display: block;
}

.damas-badge {
  background-color: transparent;
  color: var(--menu-dark-charcoal);
  border-color: rgba(52, 52, 58, 0.2);
}

.damas-dot {
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

.damas-dynamic-container {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
  max-height: 100%;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
  display: flex;
  position: relative;
  box-sizing: border-box;
}

/* 4.1. Layout para 1 Platillo Único (Diseño Editorial Hero, Cero Cards) */
.damas-dynamic-container.layout-single {
  align-items: stretch;
  justify-content: stretch;
  height: 100%;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

.single-hero-card {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 52fr 48fr;
  gap: clamp(24px, 2.5vw, 40px);
  align-items: stretch;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

.single-image-wrapper {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: editorialFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.single-image-glow {
  display: none !important;
}

.single-dish-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  animation: cinematicKenBurnsDamas 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes cinematicKenBurnsDamas {
  0% {
    transform: scale(1.0) translate(0%, 0%);
  }
  25% {
    transform: scale(1.09) translate(-1.5%, -1.2%);
  }
  50% {
    transform: scale(1.15) translate(1.4%, -1.6%);
  }
  75% {
    transform: scale(1.10) translate(1.6%, 1.2%);
  }
  100% {
    transform: scale(1.0) translate(0%, 0%);
  }
}

/* Microinteracción de respiración suave en la foto del platillo Hero */
.single-image-wrapper:hover .single-dish-img {
  transform: scale(1.03);
}

.single-image-wrapper.placeholder-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, #fdf2f8 0%, #fff1f2 100%);
  color: #db2777;
}

.dish-placeholder-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.dish-placeholder-icon svg {
  width: 72px;
  height: 72px;
}

.placeholder-text {
  font-size: 22px;
  font-weight: 600;
  max-width: 320px;
  line-height: 1.4;
}

.single-info-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 4px 6px 0 6px !important;
  overflow: visible !important;
  animation: editorialFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.single-info-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: visible !important;
}

.single-meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: visible !important;
}

.single-dish-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  border: none !important;
  padding: 0;
  color: var(--menu-dark-charcoal);
  font-size: clamp(15px, 1.1vw, 17.5px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.35s ease;
}

.badge-icon-heart {
  width: 18px;
  height: 18px;
  color: inherit;
  transition: color 0.35s ease;
}

/* Fila de Título y Costo Alineados en Damas */
.single-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 6px 0;
  flex-shrink: 0;
  overflow: visible !important;
}

.single-dish-title {
  font-size: clamp(42px, 3.8vw, 54px);
  font-weight: 900;
  letter-spacing: -0.8px;
  color: var(--menu-dark-charcoal);
  line-height: 1.12;
  margin: 0;
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Descripción del Platillo: Inmediatamente debajo de Título y Costo */
.single-dish-desc {
  font-size: clamp(22px, 1.7vw, 27px);
  color: #4b5563;
  line-height: 1.4;
  font-weight: 400;
  margin: 0 0 12px 0;
  word-break: break-word;
  overflow-wrap: break-word;
  flex-shrink: 0;
}

/* Sección "Lo que Incluye" con Card Ajustada a su Contenido */
.single-desc-card {
  background-color: #f9fafb !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  border-radius: 20px;
  padding: clamp(12px, 1.2vw, 18px) !important;
  margin: 0 0 10px 0;
  height: auto;
  max-height: max-content;
  align-self: flex-start;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: none !important;
  overflow: visible !important;
}

.single-desc-heading {
  font-size: clamp(16px, 1.2vw, 19px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--menu-dark-charcoal);
  margin: 0 0 8px 0;
  flex-shrink: 0;
  display: block;
}

/* Badge de Grupo de Damas: Estilo Minimalista Oro Bronce */
.single-group-badge,
.double-group-badge,
.multi-group-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(14px, 1.05vw, 16.5px);
  font-weight: 600;
  color: #b45309;
  background: transparent !important;
  border: none !important;
  padding: 0;
  letter-spacing: 0.2px;
  margin-left: 0;
}

.single-group-badge strong,
.double-group-badge strong,
.multi-group-badge strong {
  color: #92400e;
  font-weight: 800;
}

.badge-icon-group {
  width: 16px;
  height: 16px;
  color: #b45309;
  flex-shrink: 0;
}

/* Lista de Incluye en Pantalla TV */
.damas-incluye-list {
  list-style: none;
  margin: 0;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.1vh, 15px);
  overflow: visible !important;
}

.damas-incluye-list.compact {
  gap: 6px;
  margin-top: 6px;
  overflow: visible !important;
}

.damas-incluye-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20.5px, 1.55vw, 25px);
  font-weight: 600;
  color: var(--menu-dark-charcoal);
  line-height: 1.35;
  overflow: visible !important;
}

.damas-incluye-list.compact .damas-incluye-item {
  font-size: clamp(17px, 1.2vw, 19.5px);
  font-weight: 500;
  overflow: visible !important;
}

.incluye-check-icon {
  width: clamp(23px, 1.6vw, 27px);
  height: clamp(23px, 1.6vw, 27px);
  color: #ffffff !important;
  stroke: #ffffff !important;
  stroke-width: 3.2px !important;
  background-color: #000000 !important;
  border-radius: 50%;
  padding: 3.5px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transform-origin: center center;
  display: inline-block;
  will-change: transform;
  animation: checkmarkPopPeriodic 6s infinite ease-in-out;
  overflow: visible !important;
}

/* Escalonamiento Armónico Periódico en Cascada para las Viñetas */
.damas-incluye-item:nth-child(1) .incluye-check-icon { animation-delay: 0.2s; }
.damas-incluye-item:nth-child(2) .incluye-check-icon { animation-delay: 0.6s; }
.damas-incluye-item:nth-child(3) .incluye-check-icon { animation-delay: 1.0s; }
.damas-incluye-item:nth-child(4) .incluye-check-icon { animation-delay: 1.4s; }
.damas-incluye-item:nth-child(5) .incluye-check-icon { animation-delay: 1.8s; }
.damas-incluye-item:nth-child(6) .incluye-check-icon { animation-delay: 2.2s; }
.damas-incluye-item:nth-child(7) .incluye-check-icon { animation-delay: 2.6s; }
.damas-incluye-item:nth-child(8) .incluye-check-icon { animation-delay: 3.0s; }

@keyframes checkmarkPopPeriodic {
  0%, 76%, 100% {
    transform: scale(1) rotate(0deg);
  }
  80% {
    transform: scale(1.22) rotate(-8deg);
  }
  85% {
    transform: scale(1.25) rotate(6deg);
  }
  90% {
    transform: scale(1.12) rotate(-3deg);
  }
  95% {
    transform: scale(1.04) rotate(1deg);
  }
}

/* Cintillo Inferior de Badges Dinámicos Configurables */
.damas-dynamic-ribbon {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.7vw, 10px);
  flex-wrap: nowrap !important; /* Estrictamente una sola línea */
  width: 100%;
  box-sizing: border-box;
  padding: 8px 6px 4px 6px;
  margin-top: auto;
  margin-bottom: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  position: relative;
  z-index: 50; /* Por encima de todo */
  overflow: visible !important;
}

.single-info-wrapper .showcase-progress-track {
  margin-top: 6px;
  margin-bottom: 0 !important;
  flex-shrink: 0;
}

.damas-dynamic-ribbon .showcase-badge-pill {
  flex: 1 1 0px !important;
  min-width: 0 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(4px, 0.45vw, 6px) !important;
  font-size: clamp(11.5px, 0.9vw, 14px) !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: clamp(6px, 0.7vh, 8.5px) clamp(8px, 0.75vw, 14px) !important;
  border-radius: 9999px !important;
  position: relative !important;
  z-index: 51 !important;
  overflow: visible !important;
}

.damas-dynamic-ribbon .showcase-badge-pill span {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: inline-block !important;
  min-width: 0 !important;
}

/* Estilos de Badges Coherentes: Degradados Satinados Vivos con Texto Blanco */
.showcase-badge-pill.pill-damas-rose {
  background: linear-gradient(135deg, #db2777 0%, #be185d 100%);
  box-shadow: 0 4px 14px rgba(219, 39, 119, 0.35);
  color: #ffffff !important;
}

.showcase-badge-pill.pill-damas-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  color: #ffffff !important;
}

.showcase-badge-pill.pill-damas-dark {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
  color: #ffffff !important;
}

.showcase-badge-pill.pill-damas-rose svg,
.showcase-badge-pill.pill-damas-gold svg,
.showcase-badge-pill.pill-damas-dark svg {
  width: 15px;
  height: 15px;
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: none !important;
  transform-origin: center;
  display: inline-block;
  will-change: transform;
  flex-shrink: 0;
}

.showcase-badge-pill.pill-damas-rose svg {
  animation: sparklesPopPeriodic 6s infinite ease-in-out;
  animation-delay: 1.5s;
}

.showcase-badge-pill.pill-damas-gold svg {
  animation: utensilsNodPeriodic 6s infinite ease-in-out;
  animation-delay: 3s;
}

.showcase-badge-pill.pill-damas-dark svg {
  animation: heartPulsePeriodic 6s infinite ease-in-out;
  animation-delay: 4.5s;
}

@keyframes sparklesPopPeriodic {
  0%, 76%, 100% {
    transform: scale(1) rotate(0deg);
    filter: brightness(1);
  }
  80% {
    transform: scale(1.34) rotate(18deg);
    filter: brightness(1.35);
  }
  85% {
    transform: scale(1.12) rotate(-12deg);
  }
  90% {
    transform: scale(1.24) rotate(8deg);
  }
  95% {
    transform: scale(1.06) rotate(-2deg);
  }
}

@keyframes utensilsNodPeriodic {
  0%, 76%, 100% {
    transform: scale(1) rotate(0deg);
  }
  80% {
    transform: scale(1.26) rotate(-18deg);
  }
  85% {
    transform: scale(1.22) rotate(15deg);
  }
  90% {
    transform: scale(1.1) rotate(-8deg);
  }
  95% {
    transform: scale(1.04) rotate(3deg);
  }
}

@keyframes heartPulsePeriodic {
  0%, 76%, 100% {
    transform: scale(1);
  }
  80% {
    transform: scale(1.36);
  }
  84% {
    transform: scale(1.08);
  }
  88% {
    transform: scale(1.28);
  }
  92% {
    transform: scale(1.04);
  }
}

.extra-desc {
  margin-top: 10px !important;
  font-size: clamp(13px, 1.1vw, 15px) !important;
  color: #6b7280 !important;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  padding-top: 8px;
}

/* Chips en la lista del panel de administración Damas - Con el mismo estilo del menú */
.dish-card-incluye-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.dish-card-incluye-chips .damas-incluye-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #059669;
}

.dish-card-incluye-chips .damas-incluye-tag-label svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.dish-incluye-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1f2937;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.dish-incluye-chip i,
.dish-incluye-chip .incluye-pill-check {
  width: 13px;
  height: 13px;
  color: #059669;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.badge-damas-grupo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  background-color: transparent;
  color: #0f2e22;
  border: 1px solid rgba(15, 46, 34, 0.18);
  box-sizing: border-box;
}

.single-footer-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #059669;
  font-size: 15px;
  font-weight: 600;
  flex-shrink: 0;
  padding-top: 4px;
}

.single-footer-note svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ==========================================================================
   4.2. Acordeón Fluido de 2 Columnas para Menú de Damas
   Columna Izquierda: Tarjetas permanentes que se expanden/comprimen suavemente
   Columna Derecha: Fotografía a gran formato con crossfade y respiración
   ========================================================================== */
.damas-accordion-container {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.3vh, 16px);
  width: 100%;
  flex: 1;
  min-height: 0;
  justify-content: center !important;
  box-sizing: border-box;
}

.damas-dish-accordion-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, transform 0.35s ease, opacity 0.35s ease;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden !important;
  position: relative;
}

.damas-dish-accordion-card.is-expanded {
  background: #ffffff !important;
  border: 2px solid #000000 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  cursor: default;
  overflow: hidden !important;
}

.damas-dish-accordion-card.is-collapsed {
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(0, 0, 0, 0.07);
  opacity: 0.88;
}

.damas-dish-accordion-card.is-collapsed:hover {
  opacity: 1;
  border-color: rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.damas-card-header-clickable {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(8px, 0.8vw, 14px);
  width: 100%;
  box-sizing: border-box;
  padding: clamp(14px, 1.4vh, 20px) clamp(18px, 1.5vw, 24px);
  background-color: transparent;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  margin: 0;
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.damas-dish-accordion-card.is-expanded .damas-card-header-clickable {
  background-color: #000000;
  border-bottom: 1px solid #000000;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.damas-dish-accordion-card.is-collapsed .damas-card-header-clickable {
  border-radius: 22px;
}

.damas-card-header-clickable .single-dish-title {
  flex: 0 1 auto;
  min-width: 0;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: break-word;
  overflow-wrap: break-word;
  letter-spacing: -0.5px;
  line-height: 1.15;
  transition: font-size 0.35s ease, color 0.35s ease;
}

.damas-card-header-clickable .menu-item-dots {
  flex: 1 1 auto;
  min-width: 20px;
  height: 4px;
  margin: 0 clamp(6px, 0.6vw, 12px);
  background-image: radial-gradient(circle, var(--menu-dots-color) 1.2px, transparent 1.3px);
  background-size: 8px 100%;
  background-repeat: repeat-x;
  background-position: left center;
  align-self: center;
  transform: translateY(2px);
  transition: all 0.3s ease-out;
}

.damas-dish-accordion-card.is-expanded .menu-item-dots {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1.2px, transparent 1.3px);
  opacity: 1;
}

.damas-dish-accordion-card.is-collapsed .menu-item-dots {
  opacity: 0.45;
}

.damas-dish-accordion-card.is-collapsed:hover .menu-item-dots {
  opacity: 0.8;
}

.damas-card-header-clickable .menu-price-display {
  flex-shrink: 0;
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  transition: color 0.35s ease;
}

.damas-dish-accordion-card.is-collapsed .single-dish-title {
  font-size: clamp(21px, 1.7vw, 26px);
  color: #000000 !important;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.damas-dish-accordion-card.is-expanded .single-dish-title {
  font-size: clamp(25px, 2.2vw, 34px);
  color: #ffffff !important;
  margin: 0;
  line-height: 1.15;
}

.damas-dish-accordion-card.is-collapsed .menu-price-display .price-symbol {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 400 !important;
  color: #000000 !important;
}

.damas-dish-accordion-card.is-collapsed .menu-price-display .price-number {
  font-size: clamp(28px, 2.4vw, 36px);
  color: #000000 !important;
  font-weight: 800;
}

.damas-dish-accordion-card.is-expanded .menu-price-display .price-symbol {
  font-size: clamp(22px, 2.0vw, 28px);
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.damas-dish-accordion-card.is-expanded .menu-price-display .price-number {
  font-size: clamp(42px, 3.9vw, 54px);
  color: #ffffff !important;
}

.damas-card-meta-line {
  display: flex;
  align-items: center;
  margin-top: 2px;
  margin-bottom: 2px;
  flex-shrink: 0;
}

/* Sección Colapsable con Transición de Max-Height y Opacity */
.damas-card-collapsible {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 clamp(18px, 1.5vw, 24px);
  transition: max-height 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  margin-top: 0;
}

.damas-dish-accordion-card.is-expanded .damas-card-collapsible {
  max-height: 800px;
  opacity: 1;
  margin-top: 0;
}

.damas-card-collapsible-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 0.9vh, 12px);
  padding-top: clamp(14px, 1.4vh, 20px);
  padding-bottom: clamp(16px, 1.6vh, 22px);
}

.damas-dish-accordion-card.is-expanded .single-dish-desc {
  font-size: clamp(16px, 1.25vw, 20px);
  color: #4b5563;
  line-height: 1.35;
  margin: 0;
}

/* Bloque directo horizontal de INCLUYE fuera de contenedor pesado para ahorrar espacio vertical */
.damas-incluye-direct-block {
  width: 100%;
  margin-top: clamp(2px, 0.4vh, 6px);
}

.damas-incluye-pills-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(6px, 0.6vw, 10px);
}

.damas-incluye-tag-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #059669;
}

.damas-incluye-tag-label svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.5;
}

.damas-incluye-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1f2937;
  font-size: clamp(13px, 1.0vw, 16px);
  font-weight: 600;
  padding: clamp(3px, 0.4vh, 6px) clamp(10px, 0.8vw, 14px);
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.damas-incluye-pill .incluye-pill-check {
  width: 14px;
  height: 14px;
  color: #059669;
  stroke-width: 2.5;
  flex-shrink: 0;
}

.damas-dish-accordion-card.is-expanded .single-desc-card {
  background-color: #fcfcfc !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  padding: clamp(10px, 1vw, 14px) !important;
  margin: 0;
}

.damas-dish-accordion-card.is-expanded .damas-incluye-list {
  gap: clamp(6px, 0.8vh, 10px);
}

.damas-dish-accordion-card.is-expanded .damas-incluye-item {
  font-size: clamp(16px, 1.2vw, 19.5px);
  gap: 10px;
}

/* Transición suave de la foto a la derecha */
.damas-image-crossfade-box {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.damas-image-crossfade-box .single-dish-img {
  transition: opacity 0.3s ease-in-out;
}

.showcase-progress-bar.damas-progress-bar {
  background: #000000 !important;
}

/* 4.4. Layout Vacío (Aviso de Platillos no Registrados) */
.damas-dynamic-container.layout-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-height: 0;
  max-height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(10px, 2vh, 28px) clamp(16px, 2.5vw, 40px);
  overflow: hidden;
}

.damas-empty-card {
  width: 100%;
  max-width: min(94vw, 1140px);
  max-height: 100%;
  background-color: #ffffff;
  border: 2px solid #f0f0f2;
  border-radius: clamp(20px, 2.5vw, 32px);
  padding: clamp(20px, 3.2vh, 48px) clamp(24px, 4vw, 64px);
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.damas-empty-icon-circle {
  width: clamp(48px, 6.5vh, 72px);
  height: clamp(48px, 6.5vh, 72px);
  border-radius: 50%;
  background-color: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto clamp(8px, 1.2vh, 16px) auto;
  flex-shrink: 0;
}

.damas-empty-icon-circle svg {
  width: clamp(24px, 3.2vh, 36px);
  height: clamp(24px, 3.2vh, 36px);
}

.damas-empty-badge {
  display: inline-block;
  font-size: clamp(11.5px, 1.2vh, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #be185d;
  background-color: #fdf2f8;
  border: 1px solid #fbcfe8;
  padding: clamp(3px, 0.4vh, 5px) clamp(12px, 1.2vw, 16px);
  border-radius: 9999px;
  margin-bottom: clamp(8px, 1.2vh, 14px);
  flex-shrink: 0;
}

.damas-empty-title {
  font-size: clamp(24px, 3.8vh, 38px);
  font-weight: 900;
  color: var(--menu-dark-charcoal);
  margin: 0 0 clamp(6px, 1vh, 12px) 0;
  letter-spacing: -0.5px;
  line-height: 1.15;
  flex-shrink: 0;
}

.damas-empty-desc {
  font-size: clamp(14.5px, 1.8vh, 19px);
  color: #555555;
  line-height: 1.45;
  margin: 0 0 clamp(12px, 1.8vh, 22px) 0;
  max-width: 860px;
  width: 100%;
  flex-shrink: 1;
}

.damas-empty-invite {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(8px, 1.2vh, 12px) clamp(16px, 2vw, 24px);
  background-color: rgba(15, 46, 34, 0.05);
  border: 1px solid rgba(15, 46, 34, 0.12);
  border-radius: 9999px;
  color: var(--menu-brand-forest);
  font-size: clamp(13px, 1.5vh, 16px);
  font-weight: 600;
  flex-shrink: 0;
}

.damas-empty-invite svg {
  width: clamp(18px, 2.2vh, 22px);
  height: clamp(18px, 2.2vh, 22px);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. PANTALLA DUAL (SPLIT VIEW)
   -------------------------------------------------------------------------- */
.dual-display-wrapper {
  padding: 0;
  flex-direction: row;
  width: 100vw;
  height: 100vh;
}

.dual-screen-half {
  flex: 1;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.dual-screen-divider {
  width: 4px;
  background-color: var(--menu-dark-charcoal);
  height: 100%;
}

.dual-screen-frame {
  width: 100%;
  height: 100%;
  border: none;
}

/* Botón flotante de Fullscreen */
.btn-menu-fullscreen {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(18, 18, 18, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.btn-menu-fullscreen:hover {
  transform: scale(1.08);
}

.btn-menu-fullscreen.fade-out-btn {
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   6. PORTAL EXCLUSIVO DE DAMAS (#/damas)
   -------------------------------------------------------------------------- */
.damas-portal-view {
  max-width: 860px;
  margin: 0 auto;
  padding: 20px 16px 80px 16px;
}

.damas-portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.damas-portal-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.damas-portal-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
}

.damas-portal-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
  color: var(--text-primary);
}

.damas-portal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.damas-portal-actions {
  display: flex;
  gap: 8px;
}

.damas-info-card {
  display: flex;
  gap: 12px;
  background-color: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 12px;
  padding: 14px 16px;
  color: #9d174d;
  font-size: 13.5px;
  line-height: 1.4;
  margin-bottom: 24px;
}

.damas-info-icon {
  flex-shrink: 0;
}

.damas-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.damas-section-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.damas-dishes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.damas-no-dishes {
  background-color: var(--bg-primary);
  border: 1.5px dashed var(--border-color);
  border-radius: 16px;
  padding: 36px 20px;
  text-align: center;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.damas-no-dishes .no-dishes-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.damas-no-dishes .no-dishes-icon svg {
  width: 26px;
  height: 26px;
}

.damas-no-dishes h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}

.damas-no-dishes p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.45;
  color: var(--text-secondary);
  max-width: 440px;
}

.damas-dish-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 18px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.damas-dish-card.is-active-sunday {
  border-color: #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.dish-card-header {
  display: flex;
  gap: 16px;
  margin-bottom: 14px;
}

.dish-card-thumb-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.dish-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-item-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

.dish-card-info {
  flex: 1;
  min-width: 0;
}

.dish-card-top-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.dish-card-name {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.dish-card-price {
  font-size: 18px;
  font-weight: 800;
  color: #0f2e22;
}

.dish-card-status-row {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.badge-status-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  background-color: #ecfdf5;
  padding: 2px 8px;
  border-radius: 9999px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.badge-status-inactive {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  background-color: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 9999px;
}

.dish-card-description {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

.dish-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.dish-switch-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.switch-helper-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   MODAL REDISEÑADO PREMIUM PARA EL PORTAL DE DAMAS (#/damas)
   ========================================================================== */

.damas-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  box-sizing: border-box;
  animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.damas-modal-overlay.hidden {
  display: none !important;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.damas-modal-card {
  background-color: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-sizing: border-box;
}

/* Top Header del Modal */
.damas-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  background-color: #ffffff;
  flex-shrink: 0;
}

.damas-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.damas-modal-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fdf2f8;
  color: #db2777;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.damas-modal-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.3px;
}

.damas-modal-subheading {
  font-size: 12.5px;
  color: #64748b;
  margin: 2px 0 0 0;
}

.damas-modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.damas-modal-close-btn:hover {
  background-color: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
  transform: rotate(90deg);
}

/* Formulario con Scroll Suave */
.damas-modal-form {
  padding: 20px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
  box-sizing: border-box;
}

.damas-form-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.damas-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

.damas-field-group.flex-2 {
  flex: 2;
}

.damas-field-group.flex-1 {
  flex: 1;
}

.damas-field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #475569;
  margin: 0;
}

.damas-field-label svg {
  width: 14px;
  height: 14px;
  color: #db2777;
}

.damas-field-input {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  background-color: #f8fafc;
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
  outline: none;
}

.damas-field-input:focus {
  border-color: #db2777;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}

.damas-input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.damas-input-prefix {
  position: absolute;
  left: 14px;
  font-weight: 700;
  color: #64748b;
  font-size: 16px;
  pointer-events: none;
}

.damas-field-input.with-prefix {
  padding-left: 28px;
}

.damas-field-textarea {
  width: 100%;
  border: 1.5px solid #e2e8f0;
  background-color: #f8fafc;
  color: #0f172a;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.2s ease;
  box-sizing: border-box;
  outline: none;
  resize: vertical;
}

.damas-field-textarea:focus {
  border-color: #db2777;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}

.damas-field-hint {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.3;
}

/* Sección Lo que Incluye */
.damas-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.btn-damas-add-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #fdf2f8;
  color: #db2777;
  border: 1px solid #fbcfe8;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-damas-add-item:hover {
  background-color: #db2777;
  color: #ffffff;
  border-color: #db2777;
}

.damas-incluye-list-box {
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-sizing: border-box;
}

.damas-incluye-field-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 4px 10px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.damas-incluye-field-row:focus-within {
  border-color: #db2777;
  box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.08);
}

.damas-item-num-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: #ecfdf5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.damas-item-num-dot svg {
  width: 13px;
  height: 13px;
}

.damas-incluye-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 4px;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
}

.btn-del-incluye-item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-del-incluye-item:hover {
  background-color: #fee2e2;
  color: #ef4444;
}

/* Tarjeta de Carga Fotográfica con Recorte 1:1 */
.damas-photo-guidance-card {
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
}

.photo-guide-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}

.photo-upload-preview-area {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  margin: 0 auto 10px auto;
  border-radius: 12px;
  border: 2px dashed #cbd5e1;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.photo-placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  color: #94a3b8;
}

.photo-placeholder-icon {
  width: 28px;
  height: 28px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.photo-placeholder-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.photo-placeholder-box small {
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.photo-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Recortador 1:1 Embebido Directamente en el Espacio de Previsualización */
.embedded-cropper-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  cursor: grab;
  user-select: none;
  touch-action: none;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.embedded-cropper-wrap:active {
  cursor: grabbing;
}

.cropper-canvas-element {
  width: 100%;
  height: 100%;
  display: block;
}

.cropper-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

/* Esquinas de recorte tipo viewfinder */
.cropper-corner-handle {
  position: absolute;
  width: 16px;
  height: 16px;
}

.cropper-corner-handle.tl {
  top: 4px;
  left: 4px;
  border-top: 3px solid #db2777;
  border-left: 3px solid #db2777;
}

.cropper-corner-handle.tr {
  top: 4px;
  right: 4px;
  border-top: 3px solid #db2777;
  border-right: 3px solid #db2777;
}

.cropper-corner-handle.bl {
  bottom: 4px;
  left: 4px;
  border-bottom: 3px solid #db2777;
  border-left: 3px solid #db2777;
}

.cropper-corner-handle.br {
  bottom: 4px;
  right: 4px;
  border-bottom: 3px solid #db2777;
  border-right: 3px solid #db2777;
}

/* Líneas de regla de tercios */
.cropper-third-h1 {
  position: absolute;
  top: 33.33%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.cropper-third-h2 {
  position: absolute;
  top: 66.66%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.cropper-third-v1 {
  position: absolute;
  left: 33.33%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.cropper-third-v2 {
  position: absolute;
  left: 66.66%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.cropper-ratio-pill {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  pointer-events: none;
  backdrop-filter: blur(4px);
}

/* Barra de controles del recortador (Zoom) */
.cropper-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px auto 10px auto;
  max-width: 220px;
  width: 100%;
  box-sizing: border-box;
}

.cropper-zoom-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  background: #fdf2f8;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid #fce7f3;
}

.btn-crop-zoom {
  background: transparent;
  border: none;
  color: #db2777;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 4px;
}

.btn-crop-zoom svg {
  width: 13px;
  height: 13px;
}

.crop-slider {
  flex: 1;
  height: 4px;
  accent-color: #db2777;
  cursor: pointer;
}

.photo-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
  max-width: 220px;
}

.btn-damas-upload {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #fdf2f8;
  color: #db2777;
  border: 1.5px solid #fbcfe8;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.btn-damas-upload:hover {
  background-color: #fce7f3;
  border-color: #f472b6;
}

.btn-damas-remove-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: transparent;
  color: #ef4444;
  border: 1px solid #fca5a5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-damas-remove-photo:hover {
  background-color: #fee2e2;
}

/* Banner Toggle Switch */
.damas-toggle-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px 16px;
  box-sizing: border-box;
}

.toggle-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-banner-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #166534;
}

.toggle-banner-desc {
  font-size: 11.5px;
  color: #15803d;
  line-height: 1.3;
}

/* Footer del Modal */
.damas-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.btn-damas-cancel {
  background-color: transparent;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-damas-cancel:hover {
  background-color: #f1f5f9;
  color: #334155;
}

.btn-damas-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #db2777;
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.25);
  transition: all 0.15s ease;
}

.btn-damas-submit:hover {
  background-color: #be185d;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(219, 39, 119, 0.35);
}

.btn-damas-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* --------------------------------------------------------------------------
   7. PESTAÑA ADMINISTRATIVA DE MENÚS EN FINANZAS (#/finanzas)
   -------------------------------------------------------------------------- */
.menu-admin-header-row {
  margin-bottom: 18px;
}

.menu-admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  padding-bottom: 8px;
}

.menu-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-tab-btn:hover {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.menu-tab-btn.active {
  background-color: rgba(15, 46, 34, 0.1);
  color: #0f2e22;
}

.menu-admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.menu-stats-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background-color: var(--bg-tertiary);
  padding: 4px 12px;
  border-radius: 9999px;
}

.menu-cafe-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tarjeta de Acción del Encabezado de Café Más Vida */
.cafe-header-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background-color: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.cafe-header-action-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 200px;
}

.cafe-header-star-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #18181b;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cafe-header-star-icon svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}

.cafe-header-action-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cafe-header-action-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cafe-header-action-controls {
    justify-content: space-between;
    width: 100%;
  }
  .cafe-header-action-controls .btn {
    flex: 1;
    justify-content: center;
  }
}

/* Tarjeta de Bebida de Menú Café (Completamente Apilada y Responsiva) */
.menu-admin-item-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: var(--bg-primary);
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 18px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}


/* Barra Superior de la Tarjeta (Orden, Foto y Eliminar) */
.item-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.item-card-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.item-order-controls-row {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-secondary);
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.btn-order-arrow {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-order-arrow:hover:not(:disabled) {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.btn-order-arrow:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.item-order-index {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-primary);
  padding: 0 4px;
}

.item-thumb-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-cafe-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-cafe-thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
}

.item-photo-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-xs {
  font-size: 11.5px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
}

/* Campos Apilados en Vertical */
.item-fields-stacked {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

.item-field-stacked-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-bottom: 0;
}

.item-field-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.flat-input-sm {
  padding: 8px 12px !important;
  font-size: 13.5px !important;
  height: 38px !important;
  border-radius: 10px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Campo de Costo Informativo No Configurable */
.input-cafe-costo-static {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 12px;
  height: 38px;
  box-sizing: border-box;
}

.costo-static-val {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.costo-static-pill {
  font-size: 11px;
  font-weight: 600;
  background-color: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 2px 8px;
  border-radius: 6px;
}

.menu-costo-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--text-tertiary);
  margin: 3px 0 0 0;
  line-height: 1.35;
}

.menu-costo-hint svg,
.menu-costo-hint i {
  width: 13px;
  height: 13px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* Custom Dropdown de Etiquetas en Configuración Menú Café */
.cafe-etiqueta-dropdown {
  position: relative;
  width: 100%;
}

.cafe-etiqueta-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px 12px;
  height: 38px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-primary);
  user-select: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cafe-etiqueta-trigger:hover {
  border-color: var(--text-secondary);
}

.cafe-etiqueta-dropdown.is-open {
  z-index: 70;
}

.menu-admin-item-card:has(.cafe-etiqueta-dropdown.is-open) {
  z-index: 75;
  position: relative;
}

.cafe-etiqueta-dropdown.is-open .cafe-etiqueta-trigger {
  border-color: var(--color-primary, #059669);
  box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.15);
}

.cafe-etiqueta-value {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cafe-etiqueta-item-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cafe-etiqueta-dropdown .flat-custom-dropdown-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  z-index: 80;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 4px;
  box-sizing: border-box;
}

.cafe-etiqueta-dropdown .flat-custom-dropdown-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.12s ease;
  color: var(--text-primary);
}

.cafe-etiqueta-dropdown .flat-custom-dropdown-option:hover {
  background-color: var(--bg-secondary);
}

.cafe-etiqueta-dropdown .flat-custom-dropdown-option.selected {
  font-weight: 700;
  background-color: var(--bg-tertiary);
}

/* Badges con iconos para la vista previa de etiquetas */
.etiqueta-preview-badge {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.etiqueta-preview-badge svg,
.etiqueta-preview-badge i {
  width: 13px;
  height: 13px;
  stroke-width: 2.3;
}

.etiqueta-preview-badge.tag-ninguna {
  background-color: var(--bg-tertiary, #e2e8f0);
  color: var(--text-tertiary, #94a3b8);
}

.etiqueta-preview-badge.tag-caliente {
  background-color: #ea580c;
}

.etiqueta-preview-badge.tag-frio,
.etiqueta-preview-badge.tag-frío {
  background-color: #0284c7;
}

.etiqueta-preview-badge.tag-frappe,
.etiqueta-preview-badge.tag-frappé {
  background-color: #b45309;
}

.etiqueta-preview-badge.tag-smoothie {
  background-color: #e11d48;
}

.etiqueta-preview-badge.tag-tonic {
  background-color: #0891b2;
}

.etiqueta-preview-badge.tag-latte {
  background-color: #78350f;
}

.etiqueta-preview-badge.tag-especial {
  background-color: #9333ea;
}

.etiqueta-preview-badge.tag-bebida {
  background-color: #059669;
}

.etiqueta-preview-badge.tag-postre {
  background-color: #db2777;
}

.etiqueta-preview-badge.tag-botella {
  background-color: #64748b;
}

.etiqueta-preview-name {
  font-size: 13px;
  color: var(--text-primary);
}

/* Fila Inferior de Acción (Switch, Botón Eliminar y Botón Guardar) */
.item-actions-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px dashed var(--border-color);
  box-sizing: border-box;
}

.item-switch-box {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch-state-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.item-action-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-delete-cafe-item {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
}

.btn-save-cafe-item {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .item-actions-footer-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .item-action-buttons-group {
    display: flex;
    width: 100%;
    gap: 8px;
  }
  .btn-delete-cafe-item {
    flex: 1;
    height: 42px;
    justify-content: center;
  }
  .btn-save-cafe-item {
    flex: 2;
    height: 42px;
    justify-content: center;
  }
}

/* Enlaces a Pantallas Grid */
.screen-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.screen-link-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-link-header {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.screen-icon {
  width: 36px;
  height: 36px;
  color: #0f2e22;
}

.screen-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: rgba(15, 46, 34, 0.08);
  color: #0f2e22;
  padding: 2px 8px;
  border-radius: 4px;
}

.screen-badge.damas {
  background-color: #fdf2f8;
  color: #db2777;
}

.screen-badge.dual {
  background-color: #eff6ff;
  color: #2563eb;
}

.screen-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 4px 0 0 0;
  color: var(--text-primary);
}

.screen-card-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0 0 16px 0;
}

.screen-url-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 10px;
  margin-bottom: 14px;
}

.screen-url-box code {
  font-size: 12px;
  color: var(--text-primary);
  word-break: break-all;
}

.btn-copy-url {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}

.btn-copy-url:hover {
  color: var(--text-primary);
}

.damas-mirror-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 10px;
}

.damas-mirror-thumb-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--bg-tertiary);
  flex-shrink: 0;
}

.damas-mirror-body {
  flex: 1;
}

.damas-mirror-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.damas-mirror-name {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.damas-mirror-price {
  font-size: 16px;
  font-weight: 800;
  color: #0f2e22;
}

.damas-mirror-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0 0 4px 0;
}

.user-rol.damas-theme {
  background-color: #fdf2f8 !important;
  color: #be185d !important;
  border: 1px solid #fbcfe8 !important;
}

.avatar-status-dot.damas-theme {
  background-color: #db2777 !important;
}
