/* ==============================================================================
   ESTILOS GLOBALES - PLANTILLA COMERCIAL DE ALTA CONVERSIÓN PARA BARES Y LOCALES
   ============================================================================== */

:root {
  --primary-color: #f59e0b;
  --primary-hover: #d97706;
  --accent-color: #ec4899;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --bg-overlay: rgba(10, 10, 16, 0.75);
  --card-bg: rgba(18, 20, 28, 0.78);
  --card-border: rgba(255, 255, 255, 0.12);
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --radius-card: 28px;
  --radius-pill: 9999px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  min-height: 100%;
  background-color: #0b0c10;
}

body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-family);
  background-color: #0b0c10;
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Permitir selección de texto exclusivamente en campos de entrada, áreas de texto y elementos explícitamente editables */
input,
textarea,
select,
[contenteditable="true"],
.selectable-text,
.allow-select {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

/* Evitar arrastre fantasma de imágenes en navegadores */
img {
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

/* Blindaje de no-selección en todas las tarjetas, paneles y bloques de contenido interactivo */
.main-content-card,
.tab-panel,
.feature-card,
.features-grid,
.menu-item-card,
.event-card,
.info-card,
.weekly-promo-card,
.reservation-box,
.hero-main-block,
.hero-announcement,
.site-header,
.tabs-navigation-wrapper,
.side-menu-drawer,
.modal-box,
.demo-customizer-panel {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* -----------------------------------------------------------------------------
   FONDO GLOBAL INMERSIVO (Capa 0 y 1 para visibilidad garantizada)
   ----------------------------------------------------------------------------- */
.global-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.88);
  pointer-events: none;
  transition: background-image 0.4s ease-in-out, background-color 0.4s ease-in-out;
}

.global-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.08), transparent 60%),
              linear-gradient(180deg, rgba(10, 11, 16, 0.35) 0%, rgba(8, 8, 14, 0.65) 100%);
  pointer-events: none;
  transition: background 0.4s ease-in-out;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-1 {
  top: -10%;
  left: 15%;
  width: 450px;
  height: 450px;
  background: var(--primary-color);
}

.ambient-glow-2 {
  bottom: 5%;
  right: 10%;
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  animation-delay: -6s;
}

@keyframes floatGlow {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(25px) scale(1.1); }
  100% { transform: translateY(-20px) scale(0.95); }
}

/* -----------------------------------------------------------------------------
   BOTÓN HAMBURGUESA ARRIBA A LA DERECHA (3 BARRITAS CHATAS QUE SE EXPANDEN)
   ----------------------------------------------------------------------------- */
.hamburger-btn {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 120;
  width: 46px;
  height: 46px;
  background: rgba(20, 22, 32, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hamburger-bar {
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-bar:nth-child(1) { width: 22px; }
.hamburger-bar:nth-child(2) { width: 14px; }
.hamburger-bar:nth-child(3) { width: 19px; }

.hamburger-btn:hover {
  background: rgba(30, 34, 48, 0.95);
  border-color: var(--primary-color);
  box-shadow: 0 0 20px var(--accent-glow);
  gap: 6.5px;
  transform: scale(1.05);
}

.hamburger-btn:hover .hamburger-bar {
  width: 26px;
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

/* -----------------------------------------------------------------------------
   MENÚ VERTICAL LATERAL (SLIDING DRAWER)
   ----------------------------------------------------------------------------- */
.side-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 140;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.side-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.drawer-open {
  overflow: hidden !important;
}

.side-menu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 86vw;
  height: 100vh;
  max-height: 100vh;
  background: rgba(16, 18, 26, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--card-border);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
  z-index: 150;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px 60px 20px;
  overflow-y: scroll !important;
  overflow-x: hidden;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
}

.side-menu-drawer::-webkit-scrollbar {
  width: 5px;
}

.side-menu-drawer::-webkit-scrollbar-track {
  background: transparent;
}

.side-menu-drawer::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
}

.side-menu-drawer::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.side-menu-drawer.active {
  transform: translateX(0);
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.side-menu-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.side-menu-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.side-menu-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.user-current-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 20px;
}

.role-tag-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.role-tag-dueno { background: #f59e0b; color: #111; }
.role-tag-administrador { background: #8b5cf6; color: #fff; }
.role-tag-staff { background: #3b82f6; color: #fff; }
.role-tag-cliente { background: #10b981; color: #fff; }

.side-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  color: #f3f4f6;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.side-nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  transform: translateX(-4px);
}

.side-nav-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.side-nav-icon svg {
  width: 20px;
  height: 20px;
}

.side-nav-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.side-nav-text p {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   CONTENEDOR DE LA APLICACIÓN (OCUPA CASI TODA LA PANTALLA)
   ----------------------------------------------------------------------------- */
.app-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 1cm 1cm 1cm; /* Margen de 1cm en los laterales y base */
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* ENCABEZADO ULTRA-COMPACTO (MÁXIMO ESPACIO PARA CARTA, SHOWS Y RESERVAS) */
.site-header {
  width: 100%;
  max-width: calc(100vw - 2cm);
  margin-bottom: 8px;
  padding: 4px 0 2px 0;
  transition: all var(--transition-smooth);
}

.header-compact-center-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 3px;
}

.header-title-pill-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-header .brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-header .brand-name.admin-clickable {
  cursor: pointer;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.site-header .brand-name.admin-clickable:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.header-name-edit-icon {
  font-size: 0.75rem;
  color: var(--primary-color);
  opacity: 0.8;
  vertical-align: middle;
}

.site-header .brand-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0;
  line-height: 1.35;
  opacity: 0.9;
}

.status-pill.status-pill-compact {
  padding: 3px 10px;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.header-compact-left-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: rgba(22, 24, 32, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 14px;
}

.header-compact-left-layout .header-brand-text-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Compatibilidad con logos anteriores si se usan en otros contextos */
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-monogram {
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--primary-color);
  letter-spacing: 1px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

.status-dot.closed {
  background-color: #ef4444;
  box-shadow: 0 0 10px #ef4444;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* -----------------------------------------------------------------------------
   BARRA DE NAVEGACIÓN POR PESTAÑAS (HASTA 1CM ANTES DEL RECUADRO)
   ----------------------------------------------------------------------------- */
.tabs-navigation-wrapper {
  width: 100%;
  max-width: calc(100vw - 2cm);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 12px;
  z-index: 40;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  will-change: transform;
}

.tabs-navigation-wrapper.nav-hidden {
  transform: translateY(-135%);
  opacity: 0;
  pointer-events: none;
}

.tabs-nav {
  display: flex;
  background: rgba(18, 20, 28, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  gap: 6px;
  position: relative;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.tabs-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

.tab-btn svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #111827;
  background: var(--primary-color);
  box-shadow: 0 4px 18px var(--accent-glow);
  font-weight: 700;
}

/* -----------------------------------------------------------------------------
   RECUADRO CENTRAL DE CONTENIDO (SECCIONES INDEPENDIENTES SIN LÍMITE INFERIOR)
   ----------------------------------------------------------------------------- */
.main-content-card {
  width: 100%;
  max-width: calc(100vw - 2cm);
  background: var(--card-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  margin-bottom: 3.5cm; /* Espacio generoso y cómodo hasta el final de la página */
  position: relative;
  overflow-x: clip; /* Evita desbordes horizontales sin crear contenedor de scroll vertical */
  /* Sin límite inferior ni scrollbars internas: continúa libremente hacia abajo */
}

.tab-panel {
  display: none;
  width: 100%;
  padding: 38px 46px;
  animation: fadeInPanel 0.3s ease-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0.78;
    transform: translate3d(0, 8px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes softMenuFilterIn {
  from {
    opacity: 0.82;
    transform: translate3d(0, 6px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.menu-filter-animate {
  animation: softMenuFilterIn 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------------------------------------------------------------------
   PESTAÑA INICIO
   ----------------------------------------------------------------------------- */
.hero-announcement {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.16), rgba(236, 72, 153, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  animation: pulseBorder 4s infinite;
}

@keyframes pulseBorder {
  0% { border-color: rgba(245, 158, 11, 0.35); }
  50% { border-color: rgba(236, 72, 153, 0.6); }
  100% { border-color: rgba(245, 158, 11, 0.35); }
}

.announcement-tag {
  background: var(--primary-color);
  color: #111827;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.announcement-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.announcement-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-main-block {
  margin-bottom: 34px;
}

.hero-main-block h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #ffffff;
}

.hero-main-block p {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 820px;
  margin-bottom: 24px;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-cta-buttons .btn-primary,
.hero-cta-buttons .btn-secondary,
.hero-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.96rem;
  font-weight: 600;
  min-height: 48px;
  min-width: 175px;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.hero-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Reglas universales para botones e íconos */
button {
  font-family: inherit;
}

button svg {
  pointer-events: none;
  flex-shrink: 0;
}

.btn-primary,
.btn-secondary,
.btn-admin-tool,
.btn-qr-request,
.btn-whatsapp-reserve {
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: var(--primary-color);
  color: #111827;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.2;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 20px var(--accent-glow);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  max-height: 18px;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f3f4f6;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--card-border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.2;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #fff;
}

.btn-secondary svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  max-width: 18px;
  max-height: 18px;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #f3f4f6;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ambience-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 34px;
}

.ambience-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ambience-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ambience-item:hover img {
  transform: scale(1.08);
}

.ambience-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  font-size: 0.78rem;
  color: #e5e7eb;
  text-align: center;
}

.social-review-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.review-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: #d1d5db;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 4px;
}

/* -----------------------------------------------------------------------------
   PESTAÑA MENÚ (LISTA DESLIZANTE COMO AGENDA Y SHOWS CON EDICIÓN RÁPIDA)
   ----------------------------------------------------------------------------- */
.menu-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.menu-admin-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 158, 11, 0.08);
  border: 1px dashed rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  gap: 12px;
  flex-wrap: wrap;
}

.menu-admin-action-bar .role-info-text {
  font-size: 0.84rem;
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-admin-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-admin-tool {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-height: 38px;
  line-height: 1.2;
  transition: all var(--transition-fast);
  user-select: none;
}

.btn-admin-tool:hover {
  background: var(--primary-color);
  color: #111;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-admin-tool.btn-icon-only {
  padding: 6px 12px;
  min-width: 36px;
}

.btn-admin-tool svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  max-width: 15px;
  max-height: 15px;
  stroke-width: 2.2;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.menu-search-pdf-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.menu-search-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.btn-menu-pdf-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: var(--radius-pill);
  color: var(--primary-color);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-menu-pdf-trigger:hover {
  background: var(--primary-color);
  color: #111827;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.btn-download-menu-in-qr {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-download-menu-in-qr:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.14);
}

.pdf-mode-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pdf-mode-choice-btn:hover {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.pdf-mode-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.pdf-mode-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1 1 auto;
}

.pdf-mode-text strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
}

.pdf-mode-text small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.pdf-mode-arrow {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-color);
  flex-shrink: 0;
}

body.is-cliente #btn-menu-pdf-flat {
  display: none !important;
}

@media (max-width: 640px) {
  .menu-search-pdf-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-menu-pdf-trigger {
    width: 100%;
    padding: 11px 16px;
  }
}

.pdf-images-switch-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
}

.pdf-images-switch-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.pdf-images-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.pdf-images-seg-btn {
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pdf-images-seg-btn:hover {
  border-color: var(--primary-color);
  color: var(--text-main);
}

.pdf-images-seg-btn.active {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--primary-color);
  color: var(--text-main);
}

.site-section-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}

.site-section-toggle-row.is-disabled-section {
  opacity: 0.72;
}

.site-section-toggle-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-section-icon-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-section-icon-badge svg {
  width: 18px;
  height: 18px;
}

.site-section-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.site-section-text strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.site-section-text small {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.btn-section-visibility-toggle {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.btn-section-visibility-toggle.is-on {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.38);
}

.btn-section-visibility-toggle.is-off {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

.btn-section-visibility-toggle:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.menu-search-input {
  width: 100%;
  padding: 13px 18px 13px 46px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.menu-search-input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.menu-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  width: 20px;
  height: 20px;
}

.menu-categories-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.menu-categories-scroll::-webkit-scrollbar {
  display: none;
}

.category-chip {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.category-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.category-chip.active {
  background: var(--primary-color);
  color: #111827;
  border-color: var(--primary-color);
  font-weight: 700;
}

/* Reorganización interactiva en cintas (Categorías y Pestañas) para Dueño y Admin */
.category-chip.admin-draggable,
.tab-btn.admin-draggable {
  cursor: grab;
  touch-action: pan-x;
}

.category-chip.admin-draggable:active,
.tab-btn.admin-draggable:active {
  cursor: grabbing;
}

.category-chip.is-held-dragging,
.tab-btn.is-held-dragging {
  z-index: 120 !important;
  transform: scale(1.12) translateY(-7px) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8), 0 0 22px var(--accent-glow) !important;
  border-color: var(--primary-color) !important;
  background: var(--primary-color) !important;
  color: #111827 !important;
  cursor: grabbing !important;
  pointer-events: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.menu-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Agrupador de sección del menú con soporte para arrastrar y soltar (Drag and Drop) */
.menu-section-group {
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-md);
  padding: 6px;
  border: 1px solid transparent;
}

.menu-section-group.is-dragging {
  opacity: 0.45;
  transform: scale(0.98);
  border: 2px dashed var(--primary-color) !important;
  background: rgba(245, 158, 11, 0.05);
}

/* Recuadro de destaque iluminado corto entre secciones durante el arrastre */
.section-drop-indicator-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto;
  width: calc(100% - 40px);
  max-width: 440px;
  height: 40px;
  background: rgba(245, 158, 11, 0.1);
  border: 2px dashed var(--primary-color);
  border-radius: var(--radius-md);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.4), inset 0 0 14px rgba(245, 158, 11, 0.15);
  color: var(--primary-color);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  pointer-events: none;
  animation: pulseSectionDropIndicator 0.9s infinite alternate ease-in-out;
  transition: transform 0.15s ease;
  z-index: 10;
}

@keyframes pulseSectionDropIndicator {
  0% {
    transform: scale(0.985);
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.25), inset 0 0 8px rgba(245, 158, 11, 0.1);
  }
  100% {
    transform: scale(1.015);
    box-shadow: 0 0 26px rgba(245, 158, 11, 0.55), inset 0 0 18px rgba(245, 158, 11, 0.25);
  }
}

/* Sección destino externa cuando se arrastra un ítem a otra categoría */
.menu-section-group.foreign-drag-pending {
  border: 1.5px dashed rgba(245, 158, 11, 0.4) !important;
  background: rgba(245, 158, 11, 0.03);
  transition: all 0.3s ease;
}

.menu-section-group.foreign-drag-active {
  border: 2px solid var(--primary-color) !important;
  background: rgba(245, 158, 11, 0.08) !important;
  box-shadow: 0 0 25px var(--accent-glow) !important;
}

/* Arrastre de Ítems del Menú (Admin / Dueño) */
.menu-list-card.is-item-draggable {
  cursor: grab;
}

.menu-list-card.is-item-draggable:active {
  cursor: grabbing;
}

/* Ítem que se está arrastrando */
.menu-list-card.is-item-dragging {
  opacity: 0.35 !important;
  transform: scale(0.97) !important;
  border: 2px dashed var(--primary-color) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6) !important;
}

/* Indicadores de inserción arriba / abajo de un ítem */
.menu-list-card.item-drag-over-above {
  border-top: 3px solid var(--primary-color) !important;
  transform: translateY(4px) !important;
  box-shadow: 0 -6px 16px var(--accent-glow) !important;
}

.menu-list-card.item-drag-over-below {
  border-bottom: 3px solid var(--primary-color) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 6px 16px var(--accent-glow) !important;
}

.menu-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-section-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-drag-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: grab;
  user-select: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  font-size: 0.74rem;
  color: var(--primary-color);
  font-weight: 700;
  transition: all var(--transition-fast);
}

.section-drag-handle:hover {
  background: var(--primary-color);
  color: #111;
  border-color: var(--primary-color);
}

.section-drag-handle:active {
  cursor: grabbing;
}

.section-drag-handle .drag-dots {
  font-size: 1rem;
  line-height: 1;
}

.menu-section-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-section-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-section-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-list-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  min-height: 140px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* =============================================================================
   SISTEMA DE ANIMACIONES DE SCROLL (MENÚ, SHOWS E INICIO)
   Por defecto: 100% NÍTIDO, 100% OPACO, 100% VISIBLE (Cero cartas negras o invisibles)
   ============================================================================= */

.scroll-animated-card {
  opacity: 1 !important;
  filter: none !important;
  transform: none;
  will-change: auto;
  transition: transform 0.22s ease-out, border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

/* Pantallas de escritorio grandes (>768px): animaciones completas */
@media (min-width: 769px) {
  body[data-scroll-anim="slide"] .scroll-animated-card:not(.is-in-view) {
    opacity: 0.2 !important;
    transform: translate3d(0, 18px, 0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease-out;
  }
  body[data-scroll-anim="slide"] .scroll-animated-card.slide-from-left:not(.is-in-view) {
    transform: translate3d(-32px, 8px, 0);
  }
  body[data-scroll-anim="slide"] .scroll-animated-card.slide-from-right:not(.is-in-view) {
    transform: translate3d(32px, 8px, 0);
  }
  body[data-scroll-anim="slide"] .scroll-animated-card.is-in-view {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.36s ease-out;
    transition-delay: var(--card-delay, 0s);
  }

  body[data-scroll-anim="fade"] .scroll-animated-card:not(.is-in-view) {
    opacity: 0.15 !important;
    transform: translate3d(0, 14px, 0) scale(0.985);
    filter: blur(3px) !important;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease-out, filter 0.34s ease-out;
  }
  body[data-scroll-anim="fade"] .scroll-animated-card.is-in-view {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) !important;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease-out, filter 0.34s ease-out;
    transition-delay: var(--card-delay, 0s);
  }
}

/* Hover interactivo de tarjetas en escritorio */
@media (min-width: 769px) {
  .menu-list-card:hover {
    transition-delay: 0s !important;
    border-color: rgba(245, 158, 11, 0.48) !important;
    transform: translate3d(0, -4px, 0) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 158, 11, 0.15) !important;
  }

  .event-card:hover,
  .weekly-promo-card:hover {
    transition-delay: 0s !important;
    border-color: rgba(245, 158, 11, 0.45) !important;
    transform: translate3d(0, -4px, 0) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 158, 11, 0.15) !important;
  }
}

@media (max-width: 768px) {
  /* Blindaje móvil: Cero filtros, cero desenfoques, cero translateX */
  .scroll-animated-card,
  .scroll-animated-card.slide-from-left,
  .scroll-animated-card.slide-from-right,
  body .scroll-animated-card,
  body[data-scroll-anim] .scroll-animated-card,
  .menu-list-card,
  .event-card,
  .feature-card,
  .weekly-promo-card,
  .menu-list-img-wrap img,
  .event-img-wrap img {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    will-change: auto !important;
    transition: none !important;
    animation: none !important;
  }

  /* Animación móvil visible pero 100% GPU-compositor (opacity + translate3d vertical sin blur) */
  body[data-scroll-anim="fade"] .scroll-animated-card:not(.is-in-view),
  body[data-scroll-anim="slide"] .scroll-animated-card:not(.is-in-view) {
    opacity: 0.28 !important;
    transform: translate3d(0, 16px, 0) scale(0.985) !important;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease-out !important;
  }

  body[data-scroll-anim="fade"] .scroll-animated-card.is-in-view,
  body[data-scroll-anim="fade"] .scroll-animated-card.anim-settled,
  body[data-scroll-anim="slide"] .scroll-animated-card.is-in-view,
  body[data-scroll-anim="slide"] .scroll-animated-card.anim-settled {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.26s ease-out !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-animated-card {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}

.menu-list-img-wrap {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  align-self: stretch;
  position: relative;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
}

.menu-list-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.menu-list-card:hover .menu-list-img-wrap img {
  transform: scale(1.08);
}

.menu-list-content {
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.menu-list-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 6px;
}

.menu-list-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}

.menu-list-price {
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--primary-color);
  white-space: nowrap;
}

.menu-list-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-list-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-tags-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.menu-tag-pill {
  font-size: 0.7rem;
  color: var(--primary-color);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-weight: 600;
}

.menu-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* SECCIÓN CÓDIGO QR DIRECTO Y SOFISTICADO (EN CARTA) */
.qr-direct-card {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(18, 20, 28, 0.88) 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.08);
  position: relative;
  overflow: hidden;
  user-select: none !important;
}

.qr-direct-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), #25d366);
}

.qr-card-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-code-sophisticated {
  background: #ffffff;
  padding: 10px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 20px var(--accent-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255, 255, 255, 0.95);
  transition: transform var(--transition-fast);
}

.qr-code-sophisticated:hover {
  transform: scale(1.03);
}

.qr-code-sophisticated canvas,
.qr-code-sophisticated img {
  border-radius: 8px;
  display: block;
}

.qr-card-center {
  flex-grow: 1;
  min-width: 240px;
}

.qr-badge-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.qr-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.qr-card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 540px;
}

.qr-url-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  max-width: 100%;
}

.qr-url-text {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.btn-copy-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.btn-copy-chip:hover {
  background: var(--primary-color);
  color: #111;
  border-color: var(--primary-color);
}

.qr-card-right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.btn-download-pdf-direct {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-download-pdf-direct:hover {
  background: linear-gradient(135deg, #20ba5a, #0f7568);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.55);
}

.qr-print-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 820px) {
  .qr-direct-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 18px;
  }
  .qr-card-desc {
    max-width: 100%;
  }
  .qr-url-chip {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .qr-url-text {
    max-width: 100%;
  }
  .btn-download-pdf-direct {
    width: 100%;
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------------
   PESTAÑA EVENTOS
   ----------------------------------------------------------------------------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 34px;
}

.event-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.event-img-wrap {
  width: 220px;
  min-width: 220px;
  position: relative;
  background: #111;
  overflow: hidden;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-img-wrap img {
  transform: scale(1.08);
}

.event-date-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-color);
  color: #111;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  text-align: center;
  line-height: 1.1;
}

.event-details {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.event-meta-time {
  font-size: 0.82rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 4px;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.event-artist {
  font-size: 0.88rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.event-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.event-entry-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.weekly-promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.weekly-promo-card {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.weekly-promo-day {
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.weekly-promo-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.weekly-promo-detail {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* -----------------------------------------------------------------------------
   PESTAÑA CONTACTO Y RESERVAS
   ----------------------------------------------------------------------------- */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.reservation-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 26px;
}

.reservation-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.reservation-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.09);
}

.form-field select option {
  background: #181920;
  color: #fff;
}

.reservation-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Botones compactos abajo a la izquierda */
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn-channel-reserve {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
  user-select: none;
  line-height: 1.2;
}

.btn-whatsapp-reserve-small {
  background: #25d366;
  color: #111827;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-reserve-small:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-email-reserve-small {
  background: rgba(255, 255, 255, 0.09);
  color: #f3f4f6;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.btn-email-reserve-small:hover {
  background: var(--primary-color);
  color: #111;
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-channel-reserve svg {
  width: 17px;
  height: 17px;
  min-width: 17px;
  max-width: 17px;
  max-height: 17px;
  flex-shrink: 0;
}

.reservation-disabled-notice {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.28);
  color: #f3f4f6;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Estilos de configuración de horarios y canales */
.channel-toggle-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.channel-toggle-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.channel-toggle-header label {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-editor-row {
  display: grid;
  grid-template-columns: 130px 1fr 90px 38px;
  gap: 10px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 8px;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.95rem;
}

.info-card-header svg {
  width: 20px;
  height: 20px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.schedule-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.schedule-table td {
  padding: 7px 0;
  color: var(--text-muted);
}

.schedule-table td:last-child {
  text-align: right;
  color: #fff;
  font-weight: 500;
}

.schedule-table tr.today-row {
  color: var(--primary-color);
  font-weight: 700;
}

.schedule-table tr.today-row td {
  color: var(--primary-color);
}

.wifi-badge-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px dashed var(--primary-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.wifi-badge-title {
  font-size: 0.78rem;
  color: var(--primary-color);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.wifi-credentials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.copy-pill-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-pill-btn:hover {
  background: var(--primary-color);
  color: #111;
}

/* -----------------------------------------------------------------------------
   SUBIDA DE IMÁGENES LOCALES (PC / CELULAR) Y VISTA PREVIA
   ----------------------------------------------------------------------------- */
.image-upload-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: border-color var(--transition-fast),
              background var(--transition-fast),
              box-shadow var(--transition-fast),
              transform var(--transition-fast);
}

.image-upload-box:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* Estado activo cuando el usuario arrastra un archivo encima del recuadro (Iluminado del color de resaltado) */
.image-upload-box.drag-over {
  border-color: var(--primary-color, #f59e0b) !important;
  border-style: solid !important;
  background: rgba(245, 158, 11, 0.14) !important;
  box-shadow: 0 0 28px var(--accent-glow, rgba(245, 158, 11, 0.35)), inset 0 0 20px rgba(245, 158, 11, 0.12) !important;
  transform: scale(1.015);
}

.image-upload-box.drag-over * {
  pointer-events: none;
}

.dropzone-drag-hint {
  font-size: 0.74rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  transition: color var(--transition-fast);
}

.image-upload-box.drag-over .dropzone-drag-hint {
  color: var(--primary-color, #f59e0b);
  font-weight: 700;
}

.upload-preview-area {
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.upload-preview-area span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* -----------------------------------------------------------------------------
   RECORTADOR DE IMAGEN (CROPPER CON CANVAS Y CUADRO PREDEFINIDO)
   ----------------------------------------------------------------------------- */
.cropper-workspace-wrapper {
  position: relative;
  width: 100%;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  user-select: none;
}

.cropper-hint-pill {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 0.7rem;
  color: #fff;
  pointer-events: none;
  white-space: nowrap;
}

.cropper-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.cropper-zoom-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-grow: 1;
  max-width: 320px;
}

.cropper-zoom-group input[type="range"] {
  flex-grow: 1;
  accent-color: var(--primary-color, #f59e0b);
  cursor: pointer;
  height: 6px;
}

.btn-cropper-tool {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.btn-cropper-tool:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--primary-color, #f59e0b);
}

/* Gestor de Fotos de Ambiente en el editor de Inicio */
.ambience-editor-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.ambience-editor-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ambience-editor-card img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

.ambience-editor-card .caption-input {
  padding: 6px 8px;
  font-size: 0.72rem;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.ambience-editor-card .btn-remove {
  background: rgba(239, 68, 68, 0.2);
  border: none;
  color: #ef4444;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.ambience-editor-card .btn-remove:hover {
  background: rgba(239, 68, 68, 0.4);
}

/* -----------------------------------------------------------------------------
   MODALES DEL SISTEMA
   ----------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 7, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: rgba(18, 20, 28, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  background: rgba(18, 20, 28, 0.98);
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-body {
  padding: 24px;
}

.test-accounts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.btn-test-account {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: all var(--transition-fast);
}

.btn-test-account:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-test-account.current {
  border-color: var(--primary-color);
  background: rgba(245, 158, 11, 0.12);
}

.btn-test-account strong {
  font-size: 0.86rem;
  color: #fff;
}

.btn-test-account span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.qr-modal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.qr-code-box {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qr-code-box canvas, .qr-code-box img {
  display: block;
}

.qr-url-input-wrap {
  width: 100%;
  display: flex;
  gap: 8px;
}

.bg-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.bg-preset-thumb {
  height: 80px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  transition: all var(--transition-fast);
}

.bg-preset-thumb:hover {
  border-color: var(--primary-color);
  transform: scale(1.04);
}

.bg-preset-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-preset-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  font-size: 0.65rem;
  color: #fff;
  text-align: center;
  padding: 2px 4px;
}

.bg-solid-color-btn {
  height: 60px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  transition: all var(--transition-fast);
}

.bg-solid-color-btn:hover {
  transform: scale(1.05);
  border-color: var(--primary-color);
}

/* -----------------------------------------------------------------------------
   TARJETAS SELECTORAS DEL MODAL DE ANIMACIONES DE SCROLL
   ----------------------------------------------------------------------------- */
.anim-option-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.anim-option-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.anim-option-card.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--primary-color, #f59e0b);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.anim-option-icon {
  font-size: 1.5rem;
  line-height: 1;
  padding-top: 2px;
}

.anim-option-content {
  flex-grow: 1;
}

.anim-option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.anim-option-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.anim-badge-active {
  display: none;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--primary-color, #f59e0b);
  color: #111;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.anim-option-card.active .anim-badge-active {
  display: inline-block;
}

.anim-option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* -----------------------------------------------------------------------------
   BOTÓN FLOTANTE DE WHATSAPP (CONVERSIÓN DIRECTA)
   ----------------------------------------------------------------------------- */
.floating-whatsapp-btn {
  display: none !important;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* -----------------------------------------------------------------------------
   TOOL DE PERSONALIZACIÓN EN VIVO (SOLO DUEÑO Y ADMIN, OCULTO A CLIENTES)
   ----------------------------------------------------------------------------- */
body.is-cliente .demo-customizer-toggle,
body.is-cliente .demo-customizer-panel {
  display: none !important;
}

.demo-customizer-toggle {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(22, 24, 32, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 60;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
}

.demo-customizer-toggle:hover {
  background: rgba(35, 38, 50, 0.95);
  border-color: var(--primary-color);
}

.demo-customizer-panel {
  position: fixed;
  bottom: 74px;
  left: 24px;
  width: 310px;
  background: rgba(18, 20, 28, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  z-index: 60;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: column;
  gap: 12px;
}

.demo-customizer-panel.active {
  display: flex;
}

.customizer-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customizer-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.customizer-group label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.customizer-group input, .customizer-group select {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-size: 0.8rem;
}

.color-presets-row {
  display: flex;
  gap: 8px;
}

.color-swatch-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.color-swatch-btn:hover {
  transform: scale(1.15);
}

/* -----------------------------------------------------------------------------
   MODAL REORDENAMIENTO DE SECCIONES
   ----------------------------------------------------------------------------- */
.reorder-sections-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 4px;
}

.reorder-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  transition: all var(--transition-fast);
}

.reorder-section-row:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.reorder-section-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reorder-index-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
  color: var(--primary-color);
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reorder-section-name {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.reorder-section-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.reorder-section-actions {
  display: flex;
  gap: 6px;
}

/* -----------------------------------------------------------------------------
   NOTIFICACIÓN TOAST FLOTANTE
   ----------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(18, 19, 26, 0.96);
  border: 1px solid var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-glow);
  z-index: 3000;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-notification.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* -----------------------------------------------------------------------------
   RESPONSIVE DESIGN (ADAPTACIÓN MÓVIL PERFECTA)
   ----------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Desactivar capas GPU pesadas en móvil */
  .ambient-glow,
  .ambient-glow-1,
  .ambient-glow-2 {
    display: none !important;
  }

  .global-overlay {
    background: linear-gradient(180deg, rgba(10, 11, 16, 0.4) 0%, rgba(8, 8, 14, 0.7) 100%) !important;
    transition: none !important;
  }

  .global-background {
    filter: none !important;
    transition: none !important;
  }

  .side-menu-drawer {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #12141e !important;
    box-shadow: -8px 0 20px rgba(0, 0, 0, 0.6) !important;
  }

  .modal-backdrop {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: opacity 0.2s ease !important;
  }

  .modal-box {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7) !important;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transform: scale(0.96) !important;
  }

  .modal-backdrop.active .modal-box {
    transform: scale(1) !important;
  }

  .qr-direct-card {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .hero-announcement {
    animation: none !important;
  }

  .scroll-cue-arrow {
    animation: danteBounceDown 2s ease-in-out infinite !important;
  }

  .feature-card,
  .ambience-item img {
    transition: none !important;
  }

  .tab-btn,
  .category-chip,
  .btn-primary,
  .btn-secondary {
    transition: transform 0.12s ease-out, background-color 0.15s ease !important;
  }

  .tab-btn:active,
  .category-chip:active,
  .btn-primary:active,
  .btn-secondary:active {
    transform: scale(0.96) !important;
  }

  .app-wrapper {
    padding: 12px 10px 24px 10px;
    width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    max-width: 100%;
    padding: 10px 52px 10px 12px;
  }

  .hamburger-btn {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(20, 22, 32, 0.95) !important;
  }

  .site-header.mode-top-center .brand-name {
    font-size: 1.5rem;
  }

  .site-header.mode-top-left {
    padding: 10px 52px 10px 12px;
  }

  .site-header.mode-top-left .brand-tagline {
    display: none;
  }

  .tabs-navigation-wrapper {
    max-width: 100%;
    top: 10px;
    margin-bottom: 18px;
    padding: 0 2px;
  }

  /* En Inicio el header superior está oculto: reservar espacio a la derecha para el botón menú */
  body[data-active-tab="0"] .tabs-navigation-wrapper {
    padding-right: 52px;
  }

  .tabs-nav {
    width: 100%;
    display: flex;
    gap: 4px;
    padding: 5px 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(18, 20, 28, 0.97) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4) !important;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 0.78rem;
    gap: 5px;
    flex-shrink: 0;
  }

  .tab-btn span {
    font-size: 0.74rem;
  }

  .main-content-card {
    max-width: 100%;
    margin-bottom: 1.5cm;
    border-radius: 26px !important;
    background: #14151c !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    overflow-x: clip !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
  }

  .tab-panel {
    padding: 16px 12px;
    animation: fadeInPanel 0.2s cubic-bezier(0.22, 1, 0.36, 1) !important;
    transition: none !important;
    overflow: visible !important;
  }

  .menu-categories-scroll {
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    padding-bottom: 4px;
  }

  .category-chip {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .menu-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }

  .menu-section-header-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .menu-section-header-left h3 {
    font-size: 1.15rem;
  }

  .menu-section-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-main-block h1 {
    font-size: 1.6rem;
  }

  .ambience-slider {
    grid-template-columns: 1fr;
  }

  /* Desactivar transformaciones hover en móviles para evitar saltos táctiles */
  .menu-list-card:hover .menu-list-img-wrap img,
  .event-card:hover .event-img-wrap img {
    transform: none !important;
  }
  .menu-list-card:hover,
  .event-card:hover,
  .weekly-promo-card:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
  }

  .menu-list-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 14px;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: auto;
  }

  .menu-list-img-wrap {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 185px;
    max-height: 185px;
    position: relative;
    overflow: hidden;
    background: #14151f;
    flex-shrink: 0;
  }

  .menu-list-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .menu-list-content {
    padding: 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .menu-list-title {
    font-size: 1.05rem;
  }

  .menu-list-price {
    font-size: 1.15rem;
  }

  .menu-list-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .event-card {
    flex-direction: column;
    min-height: auto;
  }

  .event-img-wrap {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 180px;
    max-height: 180px;
    position: relative;
    overflow: hidden;
  }

  .event-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .event-content {
    padding: 14px;
  }

  .hero-cta-buttons .btn-primary,
  .hero-cta-buttons .btn-secondary,
  .hero-btn-cta {
    width: 100%;
    max-width: 320px;
    min-width: unset;
  }

  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .test-accounts-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================================================
   TIPOGRAFÍAS DE MARCA (GOOGLE FONTS)
   ============================================================================= */
.font-cinzel {
  font-family: 'Cinzel', serif !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.font-playfair {
  font-family: 'Playfair Display', serif !important;
  letter-spacing: 0.04em;
}
.font-montserrat {
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.font-syne {
  font-family: 'Syne', sans-serif !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.font-cormorant {
  font-family: 'Cormorant Garamond', serif !important;
  letter-spacing: 0.12em;
}
.font-pinyon {
  font-family: 'Pinyon Script', cursive !important;
  letter-spacing: 0.02em;
  font-weight: normal !important;
  text-transform: none !important;
}

/* Ocultar el encabezado superior general en la pestaña Inicio para dar protagonismo total al Hero Dante */
body[data-active-tab="0"] #site-header {
  display: none !important;
}

/* =============================================================================
   HERO DE INICIO MODERNO ESTILO DANTE NYC (OSCURO, COCTELERÍA & LUJO)
   ============================================================================= */
.inicio-dante-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.inicio-hero-dante {
  position: relative;
  width: 100%;
  min-height: 560px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 50px 24px;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85);
  transition: background-image var(--transition-slow);
}

.hero-dante-vignette {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.28) 25%, rgba(11, 12, 16, 0.38) 65%, rgba(11, 12, 16, 0.98) 100%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.08) 0%, rgba(11, 12, 16, 0.84) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-dante-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 520px;
  height: 280px;
  background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.16) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
}

.hero-quick-edit-bar {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-edit-pill {
  background: rgba(18, 18, 25, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.hero-edit-pill:hover {
  background: var(--primary-color);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.hero-brand-composition {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  margin-top: 10px;
}

.hero-brand-composition.admin-clickable {
  cursor: pointer;
}

.hero-brand-composition.admin-clickable:hover {
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
}

.hero-kicker-top,
.hero-kicker-bottom {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #d1d5db;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
}

.hero-kicker-top {
  margin-bottom: 8px;
}

.hero-kicker-bottom {
  margin-top: 10px;
}

.hero-main-logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-text {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 158, 11, 0.25);
  transition: all var(--transition-fast);
}

.hero-logo-img {
  max-width: 90%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
  transition: transform var(--transition-fast);
}

.hero-logo-svg {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85));
}

.hero-logo-svg svg {
  width: 100%;
  height: auto;
}

.hero-logo-hover-tip {
  display: none;
  margin-top: 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(18, 18, 25, 0.92);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.hero-brand-composition.admin-clickable:hover .hero-logo-hover-tip {
  display: inline-block;
}

.hero-description-block {
  position: relative;
  z-index: 5;
  max-width: 820px;
  width: 100%;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-dante-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e5e7eb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  margin-bottom: 24px;
}

.hero-scroll-cue {
  position: relative;
  z-index: 5;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #9ca3af;
  transition: color var(--transition-fast);
  user-select: none;
}

.hero-scroll-cue:hover {
  color: var(--primary-color);
}

.scroll-cue-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 5px;
}

.scroll-cue-arrow {
  font-size: 1.15rem;
  animation: danteBounceDown 1.8s infinite;
}

@keyframes danteBounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Sección de Experiencia (debajo del hero de Inicio) */
.inicio-experience-section {
  padding: 44px 28px 14px 28px;
}

.experience-header {
  text-align: center;
  margin-bottom: 34px;
}

.experience-badge {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--primary-color);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.experience-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.experience-gold-divider {
  width: 52px;
  height: 2.5px;
  background: var(--primary-color);
  margin: 12px auto 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-glow);
}

.ambience-slider-wrap {
  margin-bottom: 34px;
}

.ambience-slider-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-align: center;
}

/* Modales: Editor de Logo & Tipografía */
.logo-modal-live-box {
  width: 100%;
  min-height: 150px;
  background: #0b0c10;
  background-image: 
    linear-gradient(180deg, rgba(11, 12, 16, 0.88) 0%, rgba(11, 12, 16, 0.45) 50%, rgba(11, 12, 16, 0.95) 100%),
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.16) 0%, rgba(11, 12, 16, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.85);
}

.logo-live-preview-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.logo-font-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 14px;
}

.logo-font-card {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.logo-font-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.4);
}

.logo-font-card.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--primary-color);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.25);
}

.logo-font-preview-name {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.logo-font-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Modales: Presets de Fondo para Hero */
.hero-preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.hero-preset-item {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.hero-preset-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-preset-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.03);
}

.hero-preset-item.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.45);
}

@media (max-width: 768px) {
  .inicio-hero-dante {
    min-height: auto;
    padding: 36px 16px 28px 16px;
    box-shadow: none !important;
    transition: none !important;
  }
  .hero-dante-vignette {
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.9) 0%, rgba(11, 12, 16, 0.2) 30%, rgba(11, 12, 16, 0.3) 70%, rgba(11, 12, 16, 0.95) 100%) !important;
  }
  .hero-dante-glow {
    display: none !important;
  }
  .hero-logo-img,
  .hero-logo-svg {
    filter: none !important;
  }
  .hero-quick-edit-bar {
    position: static;
    margin-bottom: 14px;
    justify-content: center;
  }
  .hero-kicker-top,
  .hero-kicker-bottom {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
  }
  .inicio-experience-section {
    padding: 30px 14px 10px 14px;
  }
  .logo-font-cards-grid {
    grid-template-columns: 1fr;
  }
  .hero-preset-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ==============================================================================
   MODELO 3: MODERNO — BISTRÓ TERRACOTA LUMINOSO (LIGHT THEME + ARCO EDITORIAL)
   ============================================================================== */
:root {
  --card-border: rgba(30, 27, 24, 0.11);
  --text-main: #1e1b18;
  --text-muted: #6b6258;
  --text-dim: #8c8175;
  --input-light-bg: #faf6ef;
  --radius-card: 24px;
  --radius-lg: 20px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html,
body.theme-moderno {
  background-color: #f6f1ea;
  color: #1e1b18;
}

body.theme-moderno .ambient-glow-1 {
  background: radial-gradient(circle, rgba(194, 89, 63, 0.11) 0%, transparent 70%);
}

body.theme-moderno .ambient-glow-2 {
  background: radial-gradient(circle, rgba(74, 93, 78, 0.10) 0%, transparent 70%);
}

body.theme-moderno h2,
body.theme-moderno h3,
body.theme-moderno .menu-section-header h3,
body.theme-moderno .menu-list-title,
body.theme-moderno .event-title,
body.theme-moderno .feature-card h3,
body.theme-moderno .weekly-promo-title,
body.theme-moderno .experience-header h2,
body.theme-moderno .ambience-slider-title,
body.theme-moderno .reservation-box h3,
body.theme-moderno .info-card-header h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #1e1b18;
}

/* Header & Barra Superior Luminosa */
body.theme-moderno .site-header .brand-name {
  background: linear-gradient(135deg, #1e1b18 35%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.theme-moderno .header-subtitle-line,
body.theme-moderno .site-header p {
  color: #6b6258;
}

body.theme-moderno .header-compact-left-layout {
  background: rgba(255, 253, 249, 0.88);
  border-color: rgba(30, 27, 24, 0.10);
  box-shadow: 0 10px 28px rgba(30, 27, 24, 0.06);
}

body.theme-moderno .status-pill {
  background: #fffdf9;
  border: 1px solid rgba(30, 27, 24, 0.14);
  color: #1e1b18;
  box-shadow: 0 4px 14px rgba(30, 27, 24, 0.05);
}

body.theme-moderno .hamburger-btn {
  background: #fffdf9;
  border: 1px solid rgba(30, 27, 24, 0.14);
  box-shadow: 0 6px 20px rgba(30, 27, 24, 0.08);
}

body.theme-moderno .hamburger-bar {
  background: #1e1b18;
}

body.theme-moderno .hamburger-btn:hover {
  background: #faf4ec;
  border-color: var(--primary-color);
}

/* Drawer & Modal Luminosos */
body.theme-moderno .side-menu-drawer,
body.theme-moderno .modal-box,
body.theme-moderno .demo-customizer-panel {
  background: #fffdf9;
  color: #1e1b18;
  border: 1px solid rgba(30, 27, 24, 0.12);
  box-shadow: 0 24px 60px rgba(30, 27, 24, 0.18);
}

body.theme-moderno .side-menu-header,
body.theme-moderno .modal-header {
  background: rgba(255, 253, 249, 0.98);
  border-bottom-color: rgba(30, 27, 24, 0.10);
}

body.theme-moderno .side-menu-title,
body.theme-moderno .modal-header h3,
body.theme-moderno .side-nav-text h4,
body.theme-moderno .review-quote {
  color: #1e1b18;
}

body.theme-moderno .side-nav-item,
body.theme-moderno .moderno-account-row,
body.theme-moderno .moderno-quick-price-row,
body.theme-moderno .moderno-empty-box {
  background: #faf6ef;
  border: 1px solid rgba(30, 27, 24, 0.11);
  color: #1e1b18;
}

body.theme-moderno .side-nav-item:hover {
  background: #f3ece1;
  border-color: var(--primary-color);
}

body.theme-moderno .side-menu-close,
body.theme-moderno .modal-close-btn {
  background: rgba(30, 27, 24, 0.06);
  border-color: rgba(30, 27, 24, 0.12);
  color: #524940;
}

body.theme-moderno .side-menu-close:hover,
body.theme-moderno .modal-close-btn:hover {
  background: rgba(194, 89, 63, 0.14);
  color: #1e1b18;
}

body.theme-moderno #active-session-banner,
body.theme-moderno #login-form-box {
  background: #faf6ef !important;
  border-color: rgba(30, 27, 24, 0.12) !important;
}

body.theme-moderno .demo-customizer-toggle {
  background: #fffdf9;
  border: 1px solid rgba(30, 27, 24, 0.15);
  color: #1e1b18;
  box-shadow: 0 8px 24px rgba(30, 27, 24, 0.12);
}

body.theme-moderno .demo-customizer-toggle:hover {
  background: #faf4ec;
}

body.theme-moderno .customizer-group input,
body.theme-moderno .customizer-group select,
body.theme-moderno .form-field input,
body.theme-moderno .form-field select,
body.theme-moderno .form-field textarea,
body.theme-moderno .menu-search-box input,
body.theme-moderno .menu-search-input {
  background: #faf6ef;
  border: 1px solid rgba(30, 27, 24, 0.16);
  color: #1e1b18;
}

body.theme-moderno .form-field input::placeholder,
body.theme-moderno .form-field textarea::placeholder,
body.theme-moderno .menu-search-box input::placeholder,
body.theme-moderno .menu-search-input::placeholder {
  color: #8c8175;
}

body.theme-moderno .form-field select option,
body.theme-moderno .customizer-group select option {
  background: #fffdf9;
  color: #1e1b18;
}

/* Navegación por Pestañas Terracota */
body.theme-moderno .tabs-nav {
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(30, 27, 24, 0.11);
  box-shadow: 0 12px 32px rgba(30, 27, 24, 0.08);
}

body.theme-moderno .tab-btn {
  color: #6b6258;
}

body.theme-moderno .tab-btn:hover {
  color: #1e1b18;
  background: rgba(194, 89, 63, 0.08);
}

body.theme-moderno .tab-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(194, 89, 63, 0.28);
}

body.theme-moderno .tab-btn.active svg {
  stroke: #ffffff;
}

/* Contenedor Principal Porcelana */
body.theme-moderno .main-content-card {
  background: #fffdf9;
  border: 1px solid rgba(30, 27, 24, 0.09);
  box-shadow: 0 24px 60px rgba(30, 27, 24, 0.08);
}

/* Hero Split con Foto Arqueada Luminosa */
body.theme-moderno .inicio-hero-dante.inicio-hero-moderno {
  background: linear-gradient(135deg, #fdfaf5 0%, #f5ede2 100%);
  border: 1px solid rgba(30, 27, 24, 0.08);
  box-shadow: none;
  min-height: 490px;
  padding: 52px 38px 36px 38px;
}

body.theme-moderno .hero-moderno-layout {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: 1080px;
}

body.theme-moderno .hero-moderno-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

body.theme-moderno .hero-moderno-copy .hero-brand-composition {
  align-items: flex-start;
  text-align: left;
  padding: 8px 0;
  margin-top: 0;
}

body.theme-moderno .hero-brand-composition.admin-clickable:hover {
  background: rgba(194, 89, 63, 0.06);
  box-shadow: none;
}

body.theme-moderno .hero-kicker-top,
body.theme-moderno .hero-kicker-bottom {
  color: #6b6258;
  text-shadow: none;
}

body.theme-moderno .hero-logo-text {
  color: #1e1b18;
  text-shadow: none;
}

body.theme-moderno .hero-logo-img,
body.theme-moderno .hero-logo-svg {
  filter: none;
}

body.theme-moderno .hero-moderno-copy .hero-description-block {
  align-items: flex-start;
  text-align: left;
  margin-top: 14px;
}

body.theme-moderno .hero-dante-subtitle {
  color: #4f463d;
  text-shadow: none;
}

body.theme-moderno .hero-moderno-copy .hero-cta-buttons {
  justify-content: flex-start;
}

body.theme-moderno .hero-moderno-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

body.theme-moderno .hero-moderno-arch {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 4 / 4.75;
  border-radius: 210px 210px 18px 18px;
  background-size: cover;
  background-position: center;
  border: 5px solid #fffdf9;
  box-shadow: 0 20px 44px rgba(30, 27, 24, 0.14);
}

body.theme-moderno .hero-scroll-cue {
  color: #6b6258;
  text-shadow: none;
}

body.theme-moderno .hero-edit-pill {
  background: rgba(255, 253, 249, 0.94);
  color: var(--primary-color);
  border-color: rgba(194, 89, 63, 0.35);
  box-shadow: 0 6px 16px rgba(30, 27, 24, 0.10);
}

/* Botones, Chips y Badges Light-Mode */
body.theme-moderno .btn-primary {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(194, 89, 63, 0.25);
}

body.theme-moderno .btn-primary:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

body.theme-moderno .btn-secondary,
body.theme-moderno .btn-admin-tool,
body.theme-moderno .category-chip,
body.theme-moderno .btn-secondary.hero-btn-cta {
  background: #faf6ef;
  color: #1e1b18;
  border: 1px solid rgba(30, 27, 24, 0.14);
}

body.theme-moderno .btn-secondary:hover,
body.theme-moderno .category-chip:hover {
  background: #f1e9dc;
  color: #1e1b18;
  border-color: rgba(194, 89, 63, 0.4);
}

body.theme-moderno .category-chip.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

body.theme-moderno .hero-announcement {
  background: #f9efe7;
  border: 1px solid rgba(194, 89, 63, 0.24);
}

body.theme-moderno .announcement-text h4 {
  color: #1e1b18;
}

body.theme-moderno .announcement-text p {
  color: #6b6258;
}

body.theme-moderno .announcement-tag,
body.theme-moderno .hero-announcement-badge,
body.theme-moderno .event-date-badge {
  background: var(--primary-color);
  color: #ffffff;
}

body.theme-moderno .admin-menu-toolbar {
  background: #faf4ec;
  border-color: rgba(194, 89, 63, 0.28);
}

body.theme-moderno .experience-badge {
  background: rgba(74, 93, 78, 0.14);
  color: #36473a;
  border: 1px solid rgba(74, 93, 78, 0.26);
}

/* Tarjetas de Menú, Eventos, Experiencia y Contacto */
body.theme-moderno .menu-section-header {
  border-bottom-color: rgba(30, 27, 24, 0.10);
}

body.theme-moderno .menu-list-card,
body.theme-moderno .event-card,
body.theme-moderno .feature-card,
body.theme-moderno .weekly-promo-card,
body.theme-moderno .info-card,
body.theme-moderno .reservation-box,
body.theme-moderno .social-review-box {
  background: #fffdf9;
  border: 1px solid rgba(30, 27, 24, 0.10);
  box-shadow: 0 8px 24px rgba(30, 27, 24, 0.05);
}

body.theme-moderno .menu-list-img-wrap {
  background: #efe7dc;
}

body.theme-moderno .menu-list-price {
  color: var(--primary-color);
}

body.theme-moderno .menu-tag-pill {
  background: rgba(74, 93, 78, 0.12);
  color: #36473a;
  border: 1px solid rgba(74, 93, 78, 0.24);
}

body.theme-moderno .ambience-caption {
  background: rgba(30, 27, 24, 0.72);
  color: #ffffff;
}

body.theme-moderno .qr-code-box {
  background: #ffffff;
  border: 1px solid rgba(30, 27, 24, 0.12);
}

@media (min-width: 900px) {
  body.theme-moderno .menu-section-items-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  body.theme-moderno .menu-list-img-wrap {
    width: 136px;
    min-width: 136px;
    max-width: 136px;
  }

  body.theme-moderno .menu-list-content {
    padding: 16px 18px;
  }

  body.theme-moderno .menu-list-card:hover,
  body.theme-moderno .event-card:hover,
  body.theme-moderno .weekly-promo-card:hover {
    border-color: rgba(194, 89, 63, 0.45) !important;
    background: #fffaf4 !important;
    box-shadow: 0 14px 32px rgba(30, 27, 24, 0.10) !important;
  }
}

@media (max-width: 768px) {
  body.theme-moderno .global-overlay {
    background: linear-gradient(180deg, rgba(246, 241, 234, 0.25) 0%, rgba(235, 224, 210, 0.45) 100%) !important;
  }

  body.theme-moderno .main-content-card {
    background: #fffdf9 !important;
    border-radius: 22px !important;
  }

  body.theme-moderno .hamburger-btn {
    background: #fffdf9 !important;
    border-color: rgba(30, 27, 24, 0.16) !important;
    box-shadow: 0 4px 12px rgba(30, 27, 24, 0.10) !important;
  }

  body.theme-moderno .side-menu-drawer {
    background: #fffdf9 !important;
    box-shadow: -8px 0 24px rgba(30, 27, 24, 0.18) !important;
  }

  body.theme-moderno .modal-box {
    box-shadow: 0 12px 32px rgba(30, 27, 24, 0.18) !important;
  }

  body.theme-moderno .tabs-nav {
    background: #fffdf9 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: 0 6px 18px rgba(30, 27, 24, 0.08) !important;
  }

  body.theme-moderno .inicio-hero-dante.inicio-hero-moderno {
    padding: 28px 18px 26px 18px;
    min-height: auto;
  }

  body.theme-moderno .hero-moderno-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  body.theme-moderno .hero-moderno-visual {
    order: -1;
  }

  body.theme-moderno .hero-moderno-arch {
    max-width: 230px;
    height: 215px;
    aspect-ratio: auto;
    border-radius: 130px 130px 16px 16px;
    box-shadow: 0 10px 24px rgba(30, 27, 24, 0.12);
  }

  body.theme-moderno .hero-moderno-copy,
  body.theme-moderno .hero-moderno-copy .hero-brand-composition,
  body.theme-moderno .hero-moderno-copy .hero-description-block {
    align-items: center;
    text-align: center;
  }

  body.theme-moderno .hero-dante-subtitle {
    text-align: center;
  }

  body.theme-moderno .hero-moderno-copy .hero-cta-buttons {
    justify-content: center;
  }

  body.theme-moderno .menu-list-card {
    flex-direction: row !important;
    min-height: 102px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(30, 27, 24, 0.06) !important;
  }

  body.theme-moderno .menu-list-img-wrap {
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    min-height: 102px !important;
    max-height: none !important;
    align-self: stretch;
    background: #efe7dc;
  }

  body.theme-moderno .menu-list-content {
    padding: 11px 12px !important;
    gap: 4px !important;
  }

  body.theme-moderno .menu-list-desc {
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
  }

  body.theme-moderno .menu-list-card:hover,
  body.theme-moderno .event-card:hover,
  body.theme-moderno .weekly-promo-card:hover {
    border-color: rgba(30, 27, 24, 0.10) !important;
    box-shadow: 0 4px 12px rgba(30, 27, 24, 0.06) !important;
  }
}


/* Carta en PDF y Tarjeta QR (Moderno Luminoso) */
body.theme-moderno .btn-menu-pdf-trigger {
  background: #faf6ef;
  border: 1px solid rgba(194, 89, 63, 0.42);
  color: var(--primary-color);
}
body.theme-moderno .btn-menu-pdf-trigger:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}
body.theme-moderno .btn-download-menu-in-qr {
  background: #faf6ef;
  color: #1e1b18;
  border-color: rgba(30, 27, 24, 0.16);
}
body.theme-moderno .btn-download-menu-in-qr:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: #f2e8dc;
}
body.theme-moderno .pdf-mode-choice-btn {
  background: #faf6ef;
  border-color: rgba(30, 27, 24, 0.14);
  color: #1e1b18;
}
body.theme-moderno .pdf-mode-choice-btn:hover {
  background: #f2e8dc;
  border-color: var(--primary-color);
}
body.theme-moderno .qr-direct-card {
  background: linear-gradient(135deg, #fffdf9 0%, #f6efe5 100%);
  border-color: rgba(194, 89, 63, 0.30);
  box-shadow: 0 12px 32px rgba(30, 27, 24, 0.06);
}
body.theme-moderno .qr-card-title {
  color: #1e1b18;
}
body.theme-moderno .qr-url-chip {
  background: #faf6ef;
  border-color: rgba(30, 27, 24, 0.14);
}
body.theme-moderno .btn-copy-chip {
  background: #fffdf9;
  color: #1e1b18;
  border-color: rgba(30, 27, 24, 0.16);
}

/* --- Moderno Override: Modal Secciones de la Página (Dueño) --- */
.site-section-toggle-row {
  background: #faf6ef;
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 14px;
}
.site-section-toggle-row.is-disabled-section {
  background: #f1ebe1;
  border-color: rgba(28, 25, 23, 0.1);
}
.site-section-icon-badge {
  background: rgba(194, 89, 63, 0.12);
  border: 1px solid rgba(194, 89, 63, 0.24);
  color: #a9472f;
}
.site-section-toggle-row.is-disabled-section .site-section-icon-badge {
  background: rgba(28, 25, 23, 0.06);
  border-color: rgba(28, 25, 23, 0.14);
  color: #78716c;
}
.btn-section-visibility-toggle.is-on {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}
.btn-section-visibility-toggle.is-on:hover:not(:disabled) {
  background: #bbf7d0;
  border-color: #4ade80;
}
.btn-section-visibility-toggle.is-off {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.btn-section-visibility-toggle.is-off:hover:not(:disabled) {
  background: #fecaca;
  border-color: #f87171;
}

/* --- Moderno Override: Selector Imágenes PDF --- */
.pdf-images-switch-wrap {
  background: #faf6ef;
  border-color: rgba(30, 27, 24, 0.14);
}
.pdf-images-switch-label {
  color: #6b6258;
}
.pdf-images-seg-btn {
  background: #fffdf9;
  border-color: rgba(30, 27, 24, 0.14);
  color: #524940;
}
.pdf-images-seg-btn:hover {
  border-color: var(--primary-color);
  color: #1e1b18;
}
.pdf-images-seg-btn.active {
  background: rgba(194, 89, 63, 0.12);
  border-color: var(--primary-color);
  color: #9c3d25;
}
