/* =====================================================================
   CARTELERA AL BOLSILLO — ESTILOS PRINCIPALES OPTIMIZADOS (0% BLUR)
   ===================================================================== */
html {
  scrollbar-gutter: stable;
}

#mainNavbar {
  transform: translateZ(0);
}

.glass-panel {
  background: rgba(11, 17, 32, 0.96);
}

.hide {
  display: none !important;
}

.admin-only {
  display: none !important;
}

body.admin-mode .admin-only {
  display: flex !important;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Barra de desplazamiento personalizada */
.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #111827;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.caratula-pelicula {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grilla adaptativa para catálogo y resultados de búsqueda */
.grid-catalogo-adaptativo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .grid-catalogo-adaptativo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .grid-catalogo-adaptativo {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1280px) {
  .grid-catalogo-adaptativo {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

/* Interruptores del Panel de Administración */
.toggle-checkbox:checked {
  right: 0;
  border-color: #2563eb;
}

.toggle-checkbox:checked + .toggle-label {
  background-color: #2563eb;
}

.toggle-checkbox-red:checked {
  right: 0;
  border-color: #dc2626;
}

.toggle-checkbox-red:checked + .toggle-label-red {
  background-color: #dc2626;
}

/* Resultados de búsqueda y galería en Admin */
.movie-result {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-bottom: 1px solid #374151;
  text-align: left;
  background: #111827;
  border-radius: 6px;
  margin-bottom: 10px;
}

.movie-result img {
  width: 60px;
  height: 90px;
  border-radius: 4px;
  object-fit: cover;
  background: #1f2937;
  flex-shrink: 0;
}

.movie-result-info {
  flex: 1;
  min-width: 0;
}

.movie-result-title {
  font-weight: bold;
  color: white;
  margin: 0 0 5px 0;
  font-size: 13px;
  white-space: normal;
}

.movie-result-date {
  font-size: 12px;
  color: #9ca3af;
  margin: 0;
}

.select-btn {
  background: #0d6efd;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  flex-shrink: 0;
  transition: background 0.2s;
}

.select-btn:hover {
  background: #2563eb;
}

.poster-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 10px;
  max-height: 350px;
  overflow-y: auto;
  padding-right: 5px;
}

.poster-item {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.16s ease, transform 0.16s ease;
  background: #111827;
  aspect-ratio: 2 / 3;
  position: relative;
}

.poster-item:hover {
  border-color: #3b82f6;
  transform: scale(1.04);
  z-index: 10;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

.poster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lang-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.78);
  color: white;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 4px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* Carrusel de Galería de Emergencia */
.emergencia-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding-bottom: 1rem;
}

.emergencia-slide {
  flex: 0 0 85%;
  scroll-snap-align: center;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}

.emergencia-slide img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

/* Ocultar botones de instalación si la app ya está instalada */
@media all and (display-mode: standalone) {
  #botBtnInstall,
  #topBtnInstall {
    display: none !important;
  }
}

/* =====================================================================
   BUSCADOR FIJO (STICKY) CÁPSULA S1 EN NAVBAR — 0% BLUR / 0 LAG
   ===================================================================== */
nav[data-cab-s1-nav="1"] {
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
  background: #0b1120 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

[data-cab-s1-row="1"] {
  height: auto !important;
  min-height: 56px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.cab-s1-slot {
  position: relative !important;
  overflow: visible !important;
  flex: 1 1 200px;
  max-width: 350px;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
}

.cab-s1-pill {
  position: relative;
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px 0 12px;
  border-radius: 9999px;
  background: #131c31;
  border: 1.5px solid rgba(148, 163, 184, 0.28);
  box-sizing: border-box;
  transition: border-color 0.12s linear, background-color 0.12s linear;
}

.cab-s1-pill:focus-within {
  background: #16213a;
  border-color: #38bdf8;
}

.cab-s1-icon {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
  pointer-events: none;
}

.cab-s1-pill:focus-within .cab-s1-icon {
  color: #38bdf8;
}

.cab-s1-pill input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: #f8fafc !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  touch-action: manipulation;
}

.cab-s1-pill input::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
  font-weight: 500 !important;
}

.cab-s1-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  border: none;
  background: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.cab-s1-clear.visible {
  display: inline-flex;
}

.cab-s1-clear:active {
  background: #ef4444;
  color: #ffffff;
}

@media (max-width: 767px) {
  [data-cab-s1-row="1"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 7px 6px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  [data-cab-s1-row="1"] > :first-child {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    gap: 6px !important;
  }
  [data-cab-s1-row="1"] > :last-child {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    gap: 6px !important;
  }
  #siteLogo {
    width: 28px !important;
    height: 28px !important;
  }
  #siteTitle {
    font-size: 14px !important;
    line-height: 1.15 !important;
  }
  #contenedorBtnPedidosYa {
    padding: 5px 8px !important;
    font-size: 10.5px !important;
    gap: 4px !important;
  }
  [data-cab-s1-row="1"] > :last-child button[onclick*="toggleAdmin"] {
    padding: 4px !important;
  }
  [data-cab-s1-row="1"] > :last-child button[onclick*="toggleCart"] {
    padding: 6px 9px !important;
  }
  .cab-s1-slot {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  .cab-s1-pill {
    height: 36px;
    padding: 0 9px 0 11px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .cab-s1-pill input {
      font-size: 16px !important;
    }
  }
}

/* =====================================================================
   TARJETAS DEFINITIVAS SOLO PÓSTER 2:3 (#21 Y #34) — 1 SOLA PASADA
   ===================================================================== */
:root {
  --cab-ancho-pc: 184px;
}

@media (min-width: 641px) {
  [data-cab-grid="1"] {
    grid-template-columns: repeat(auto-fill, minmax(calc(var(--cab-ancho-pc) - 8px), var(--cab-ancho-pc))) !important;
    gap: 28px 22px !important;
    justify-content: center !important;
    align-items: stretch !important;
  }
}

@media (max-width: 640px) {
  [data-cab-grid="1"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px 12px !important;
    align-items: stretch !important;
  }
}

[data-cab-card="1"] {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

[data-cab-poster="1"] {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #070b14 !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.52) !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  transition: border-color 0.12s linear, box-shadow 0.12s linear !important;
}

[data-cab-card="1"][data-cab-tema="ambar-bronce"] [data-cab-poster="1"] {
  border-color: rgba(245, 158, 11, 0.52) !important;
}

[data-cab-card="1"] [data-cab-img="1"] {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #070b14 !important;
  display: block !important;
}

[data-cab-poster="1"] > :not([data-cab-img="1"]):not(.cab-info-dot):not(:has(img)) {
  z-index: 5 !important;
  zoom: 1 !important;
}

.cab-info-dot {
  position: absolute !important;
  right: 7px !important;
  bottom: 7px !important;
  z-index: 7 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 9999px !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  background: rgba(9, 13, 24, 0.86) !important;
  color: #f8fafc !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  font-style: italic !important;
  font-family: Georgia, serif !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.65) !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

[data-cab-body="1"] {
  position: relative !important;
  z-index: 8 !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 6px 2px 2px !important;
  background: transparent !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

[data-cab-title="1"] {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-wrap: balance !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.1px !important;
  color: #f8fafc !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 1px 3px 0 !important;
  transition: color 0.12s linear !important;
}

.bloque-final-21-34 {
  position: relative !important;
  z-index: 9 !important;
  box-sizing: border-box !important;
}

.bloque-final-21-34 button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Formato único (#34): + Carrito / Pedir */
.split-pill-final {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
}

.split-pill-final .btn-sp-carrito {
  background: #131c31;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 6px;
  padding: 4.5px 3px;
  min-height: 26px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: background-color 0.08s linear, border-color 0.08s linear;
}

.split-pill-final .btn-sp-carrito:active {
  background: #2563eb !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

.split-pill-final .btn-sp-pedir {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 4.5px 3px;
  min-height: 26px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  transition: opacity 0.08s linear;
}

.split-pill-final .btn-sp-pedir:active {
  opacity: 0.9;
}

/* Doble formato (#21): Full HD + 4K SDR */
.fila-doble-21 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  width: 100%;
}

.btn-21-fhd {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 4.5px 3px;
  min-height: 26px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-21-4k {
  background: linear-gradient(135deg, #9333ea 0%, #c026d3 45%, #f59e0b 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 4.5px 3px;
  min-height: 26px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

/* Cajonera #21 superpuesta (0 salto de altura) */
.cajonera-compacta-21 {
  display: none;
  box-sizing: border-box;
}

.cajonera-compacta-21.abierta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 60px;
  z-index: 25;
  padding: 6px 7px;
  border-radius: 9px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}

.cajonera-compacta-21.tema-fhd {
  background: #091220;
  border: 1.5px solid rgba(16, 185, 129, 0.72);
}

.cajonera-compacta-21.tema-4k {
  background: #170e28;
  border: 1.5px solid rgba(168, 85, 247, 0.75);
}

.cajonera-21-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1px;
  line-height: 1;
}

.cajonera-21-titulo {
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.25px;
}

.cajonera-21-cerrar {
  background: rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  border: none;
  border-radius: 5px;
  width: 18px;
  height: 18px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cajonera-21-acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.btn-cajon-carrito {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.36);
  border-radius: 6px;
  padding: 5.5px 2px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.08s linear, border-color 0.08s linear;
}

.btn-cajon-carrito:active {
  background: #2563eb !important;
  border-color: #3b82f6 !important;
  color: #ffffff !important;
}

.btn-cajon-pedir-fhd {
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 5.5px 2px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-cajon-pedir-4k {
  background: #7e22ce;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 5.5px 2px;
  font-size: 9.8px;
  line-height: 1.15;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  white-space: nowrap;
}

/* PC (>640px con mouse): Hover Reveal */
@media (hover: hover) and (min-width: 641px) {
  [data-cab-card="1"] .bloque-final-21-34 {
    position: absolute !important;
    left: 1px !important;
    right: 1px !important;
    bottom: 100% !important;
    width: auto !important;
    margin: 0 0 1px 0 !important;
    background: rgba(9, 13, 24, 0.94) !important;
    padding: 5px !important;
    border-radius: 0 0 9px 9px !important;
    display: none !important;
    pointer-events: auto !important;
  }
  [data-cab-card="1"]:hover .bloque-final-21-34,
  [data-cab-card="1"]:focus-within .bloque-final-21-34,
  [data-cab-card="1"][data-cab-drawer-open="1"] .bloque-final-21-34 {
    display: block !important;
  }
  [data-cab-card="1"]:hover .cab-info-dot,
  [data-cab-card="1"]:focus-within .cab-info-dot,
  [data-cab-card="1"][data-cab-drawer-open="1"] .cab-info-dot {
    bottom: 44px !important;
  }
  [data-cab-card="1"]:hover [data-cab-poster="1"] {
    border-color: #38bdf8 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.68), 0 0 12px rgba(56, 189, 248, 0.3) !important;
  }
  [data-cab-card="1"][data-cab-tema="ambar-bronce"]:hover [data-cab-poster="1"] {
    border-color: #fbbf24 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.68), 0 0 12px rgba(245, 158, 11, 0.34) !important;
  }
  [data-cab-card="1"]:hover [data-cab-title="1"] {
    color: #7dd3fc !important;
  }
  [data-cab-card="1"][data-cab-tema="ambar-bronce"]:hover [data-cab-title="1"] {
    color: #fde68a !important;
  }
  .split-pill-final .btn-sp-carrito:hover,
  .btn-cajon-carrito:hover {
    background: #2563eb !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
  }
  .split-pill-final .btn-sp-pedir:hover,
  .btn-cajon-pedir-fhd:hover {
    filter: brightness(1.08);
  }
  .btn-cajon-pedir-4k:hover {
    background: #9333ea !important;
  }
  .btn-21-fhd:hover,
  .btn-21-4k:hover {
    opacity: 0.9;
  }
  .cajonera-21-cerrar:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
  }
  .cab-info-dot:hover {
    background: #2563eb !important;
    border-color: #93c5fd !important;
  }
}

/* Móvil / Táctil: Zócalo unido bajo el póster */
@media (hover: none), (max-width: 640px) {
  [data-cab-poster="1"] {
    border-radius: 10px 10px 0 0 !important;
    border-bottom: none !important;
  }
  [data-cab-body="1"] {
    flex-direction: column-reverse !important;
    justify-content: flex-end !important;
    padding: 0 0 2px !important;
    gap: 6px !important;
  }
  [data-cab-card="1"] .bloque-final-21-34 {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    background: #0e1628 !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0 0 10px 10px !important;
    padding: 5px !important;
  }
  [data-cab-card="1"][data-cab-tema="ambar-bronce"] .bloque-final-21-34 {
    background: #181008 !important;
    border-color: rgba(245, 158, 11, 0.52) !important;
    border-top-color: rgba(245, 158, 11, 0.22) !important;
  }
  [data-cab-card="1"] .cab-info-dot {
    bottom: 7px !important;
    right: 7px !important;
  }
}

/* Tooltip flotante de resumen al pasar el mouse en PC */
#cabTooltipResumen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99990;
  width: 268px;
  max-width: calc(100vw - 24px);
  background: #0d1424;
  color: #e2e8f0;
  border: 1.5px solid #38bdf8;
  border-radius: 12px;
  padding: 12px 13px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.82);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 0.08s linear, transform 0.08s linear;
  box-sizing: border-box;
  font-family: inherit;
}

#cabTooltipResumen.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#cabTooltipResumen[data-tema="ambar-bronce"] {
  background: #170e07;
  border-color: #f59e0b;
}

#cabTooltipResumen::before {
  content: "";
  position: absolute;
  top: var(--tip-arrow-y, 28px);
  width: 10px;
  height: 10px;
  background: inherit;
  transform: rotate(45deg);
}

#cabTooltipResumen[data-side="right"]::before {
  left: -6px;
  border-left: 1.5px solid #38bdf8;
  border-bottom: 1.5px solid #38bdf8;
}

#cabTooltipResumen[data-side="left"]::before {
  right: -6px;
  border-top: 1.5px solid #38bdf8;
  border-right: 1.5px solid #38bdf8;
}

#cabTooltipResumen[data-tema="ambar-bronce"][data-side="right"]::before {
  border-left-color: #f59e0b;
  border-bottom-color: #f59e0b;
}

#cabTooltipResumen[data-tema="ambar-bronce"][data-side="left"]::before {
  border-top-color: #f59e0b;
  border-right-color: #f59e0b;
}

.cab-tip-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 7px;
}

.cab-tip-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
}

.cab-tip-badge {
  flex-shrink: 0;
  font-size: 9.5px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 5px;
  background: #16a34a;
  color: #ffffff;
  white-space: nowrap;
}

.cab-tip-badge.doble {
  background: #7e22ce;
}

.cab-tip-badge.hdts {
  background: #eab308;
  color: #0f172a;
}

.cab-tip-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #cbd5e1;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cab-tip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.cab-tip-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: #dc2626;
  color: #ffffff;
}

/* Modal compacto Pedidos Ya */
#modalPedidosBokehBackdrop #panelVip,
#modalPedidosBokehBackdrop #panelVip > div {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

#modalPedidosBokehBackdrop #panelVip input {
  padding-top: 0.55rem !important;
  padding-bottom: 0.55rem !important;
  font-size: 0.85rem !important;
}

.input-pelicula-fijada {
  border-color: #22c55e !important;
  background-color: rgba(20, 83, 45, 0.4) !important;
  color: #86efac !important;
  font-weight: 800 !important;
}
/* === FIN DE estilos.css === */