/* ==============================================================================
   LUXURIA MODELS — Catálogo VIP de Modelos y Acompañantes en Vivo
   Diseño de Alta Gama, Conversión Instantánea (WhatsApp / Llamada) y Detección en Tiempo Real
   ============================================================================== */

:root {
  --tv-scale: 1;
  --bg-main: #06070a;
  --bg-surface: #0e111a;
  --bg-card: rgba(16, 20, 32, 0.85);
  --bg-card-hover: rgba(24, 30, 48, 0.95);
  --border-gold: rgba(245, 158, 11, 0.35);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --gold-primary: #fbbf24;
  --gold-secondary: #f59e0b;
  --gold-dark: #d97706;
  --live-green: #10b981;
  --live-green-glow: rgba(16, 185, 129, 0.4);
  --wa-green: #25D366;
  --wa-green-hover: #22c55e;
  --wa-green-glow: rgba(37, 211, 102, 0.35);
  --live-amber: #f59e0b;
  --live-purple: #a855f7;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-main: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.tv-body {
  background-color: #06070a;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(245, 158, 11, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 25%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, rgba(6, 7, 10, 0.96) 0%, rgba(10, 13, 22, 0.98) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Scrollbar de lujo */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(6, 7, 10, 0.9);
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.6);
}

/* ==============================================================================
   CONTENEDOR PRINCIPAL
   ============================================================================== */
.tv-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  gap: 0.65rem;
  box-sizing: border-box;
}

/* ==============================================================================
   ENCABEZADO DE LUJO
   ============================================================================== */
.tv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(245, 158, 11, 0.12);
  flex-shrink: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==============================================================================
   HEADER COMPACTO FUSIONADO (2 FILAS: marca+filtros | chips)
   ============================================================================== */
.tv-header-compact {
  background: rgba(14, 17, 26, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(245, 158, 11, 0.1);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tv-header-row1 {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tv-header-row1 .tv-brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 155px;
  flex-shrink: 0;
}

.tv-header-row1 .tv-brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fffbeb 0%, #fbbf24 40%, #f59e0b 80%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  text-transform: uppercase;
}

.tv-header-row1 .catalog-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.tv-header-row1 .catalog-filters-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
}

.tv-header-row2 {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.45rem;
}

.tv-header-row2::-webkit-scrollbar { display: none; }

.tv-header-row2 .quick-filter-chips {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.tv-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tv-brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.tv-brand-name {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #fffbeb 0%, #fbbf24 40%, #f59e0b 80%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-transform: uppercase;
}

.tv-brand-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fde68a;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tv-brand-tag .tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  font-size: 0.65rem;
  font-weight: 900;
  margin-left: 0.35rem;
}

/* Sección Reloj y Estado */
.tv-clock-section {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.tv-date-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tv-date-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: 0.04em;
}

.tv-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.06em;
  margin-top: 3px;
}

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

.pulse-dot {
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-gold {
  animation: pulseGold 1.8s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.tv-digital-clock {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: baseline;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
  letter-spacing: 0.02em;
}

.tv-clock-seconds {
  font-size: 1.05rem;
  color: #fbbf24;
  font-weight: 700;
  margin-left: 2px;
}

.tv-clock-ampm {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 800;
  margin-left: 0.4rem;
}

/* Botón Salida Rápida Discreta */
.btn-quick-exit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-quick-exit:hover {
  background: #ef4444;
  color: #fff;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.5);
}

/* ==============================================================================
   BARRA DE HERRAMIENTAS Y FILTROS DEL CATÁLOGO
   ============================================================================== */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(14, 17, 26, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  flex-wrap: wrap;
}

.catalog-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.catalog-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.catalog-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-1px);
}

.catalog-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.2) 100%);
  border-color: #f59e0b;
  color: #fbbf24;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.catalog-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  color: #f8fafc;
}

.catalog-tab-btn.active .catalog-tab-count {
  background: #f59e0b;
  color: #090a0f;
}

/* Filtros secundarios: Zona y Buscador */
.catalog-filters-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 320px;
  flex-wrap: wrap;
}

.catalog-select-zone {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  color: #fbbf24;
  font-weight: 700;
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.catalog-select-zone:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.catalog-select-zone option {
  background: #0d1019;
  color: #fff;
}

/* Buscador en Vivo */
.catalog-search-box {
  position: relative;
  min-width: 220px;
  flex: 1;
  max-width: 340px;
}

.catalog-search-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.88rem;
  transition: all 0.2s ease;
  outline: none;
}

.catalog-search-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.3);
  background: rgba(0, 0, 0, 0.75);
}

.catalog-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

/* ==============================================================================
   GRID PRINCIPAL DEL CATÁLOGO DE MODELOS VIP
   ============================================================================== */
.catalog-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.9rem;
  width: 100%;
}

@media (max-width: 640px) {
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
}

/* Tarjeta de Escort VIP — Estilo PasionPrepagos */
.model-card {
  position: relative;
  background: #0d101a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.model-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(245, 158, 11, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.25);
}

.model-card.status-disponible {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 12px rgba(16, 185, 129, 0.2);
}

.model-card.status-disponible:hover {
  border-color: #10b981;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 28px rgba(16, 185, 129, 0.4);
}

/* Contenedor de la Foto — Formato Retrato 3:4 */
.model-photo-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133%; /* Retrato 3:4 tipo PasionPrepagos */
  overflow: hidden;
  background: #080a10;
  cursor: pointer;
  flex-shrink: 0;
}

.model-photo-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.model-card:hover .model-photo-img {
  transform: scale(1.07);
}

.model-avatar-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  color: #fff;
  font-weight: 900;
  font-size: 4.5rem;
  letter-spacing: -0.02em;
}

/* ==============================================================================
   SKELETON SHIMMER LOADING (Carga Instantánea sin Espera)
   ============================================================================== */
.model-card-skeleton {
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.04);
}

.skeleton-shimmer {
  background: linear-gradient(
    90deg,
    rgba(14, 17, 26, 0.8) 0%,
    rgba(30, 36, 52, 0.9) 50%,
    rgba(14, 17, 26, 0.8) 100%
  );
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

@keyframes skeletonPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-badge-left {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 75px;
  height: 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
}

.skeleton-badge-right {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 45px;
  height: 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
}

.skeleton-price {
  position: absolute;
  bottom: 8px;
  left: 8px;
  width: 100px;
  height: 22px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.15);
}

.skeleton-line {
  height: 14px;
  border-radius: 4px;
  margin-bottom: 8px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 100%
  );
  background-size: 200% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.skeleton-title {
  width: 65%;
  height: 18px;
}

.skeleton-zone {
  width: 45%;
}

.skeleton-btn {
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 211, 102, 0.12);
  margin-top: 6px;
}

.model-avatar-fallback-icon {
  font-size: 1.1rem;
  color: #fbbf24;
  margin-top: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.model-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(6, 7, 10, 0.35) 0%, 
    transparent 40%, 
    rgba(6, 7, 10, 0.85) 80%, 
    rgba(6, 7, 10, 0.98) 100%);
  pointer-events: none;
}

/* Badges flotantes sobre la foto */
.model-badge-top-left {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.model-badge-top-right {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.model-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.95);
  color: #064e3b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.model-upcoming-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.95);
  color: #451a03;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.model-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(14, 165, 233, 0.95);
  color: #fff;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.35);
  backdrop-filter: blur(8px);
}

/* Badges Premium Dinámicos */
.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  text-transform: uppercase;
  margin-top: 3px;
}

.badge-top {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.92) 0%, rgba(220, 38, 38, 0.95) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45);
  animation: badgePulse 2.5s infinite;
}

.badge-premium-vip {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.92) 0%, rgba(124, 58, 237, 0.95) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.45);
}

.badge-nueva {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.92) 0%, rgba(5, 150, 105, 0.95) 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(239, 68, 68, 0.45); }
  50% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.75); }
}

/* Contenedores de Insignias Sutiles en la Foto */
.model-photo-badge-left {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  /* Reserva espacio para el badge de rating (derecha) y evita superposición */
  max-width: calc(100% - 80px);
}

.model-photo-badge-right {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.model-clean-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 0.18rem 0.5rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

/* El texto del badge no se desborda: se corta con "..." si no cabe */
.model-clean-tag > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.model-clean-tag.tag-live {
  background: rgba(6, 78, 59, 0.88);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.badge-clean-vip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.badge-clean-vip.badge-platino {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.98) 100%);
  color: #000;
}

.badge-clean-vip.badge-top {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.98) 100%);
  color: #fff;
}

.badge-clean-vip.badge-video {
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.95) 0%, rgba(190, 18, 60, 0.98) 100%);
  color: #fff;
}

/* Verificación al lado del nombre */
.verified-check-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: #0ea5e9;
  color: #fff;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(14, 165, 233, 0.4);
}

/* Fila de Ubicación y Tarifa Destacada */
.model-info-highlight-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.25rem 0;
}

.model-zone-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  width: fit-content;
  max-width: 100%;
}
.model-zone-tag span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.model-rate-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.2rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 0.2rem 0.55rem;
}

.model-rate-tag .rate-amount {
  font-size: 0.88rem;
  font-weight: 900;
  color: #fbbf24;
  font-family: var(--font-mono);
}

.model-rate-tag .rate-unit {
  font-size: 0.68rem;
  font-weight: 700;
  color: #d97706;
}

/* Cuerpo de información de la tarjeta — estilo PasionPrepagos */
.model-card-body {
  padding: 0.75rem 0.9rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.model-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
}

.model-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  text-transform: capitalize;
}

.model-age-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fbbf24;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Etiquetas de servicios rápidos */
.model-services-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.service-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}

/* Badge de precio sobre la foto — estilo PasionPrepagos */
.model-price-badge {
  position: absolute;
  bottom: 0.7rem;
  left: 0.7rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  background: rgba(6, 78, 59, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Badge fotos count — estilo PasionPrepagos */
.model-photo-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

/* Badge rating sobre foto */
.card-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 900;
  backdrop-filter: blur(6px);
}

/* Horario y Tiempo */
.model-schedule-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.model-schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
}

.model-schedule-label {
  color: var(--text-muted);
  font-weight: 600;
}

.model-schedule-time {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fbbf24;
}

.model-time-remaining {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #34d399;
}

.model-progress-wrap {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.model-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  border-radius: 2px;
  transition: width 1s linear;
}

/* BOTONES DE ACCIÓN DIRECTA (WHATSAPP) */
.model-card-actions {
  display: flex;
  margin-top: auto;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-card-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  font-family: var(--font-main);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  letter-spacing: 0.01em;
}

.btn-card-wa:hover {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.btn-card-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-call:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fbbf24;
}

.btn-card-profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-card-profile:hover {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #c084fc;
}

/* ==============================================================================
   MODAL DE PERFIL VIP COMPLETO
   ============================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-profile-box {
  background: #0c0f18;
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  width: 100%;
  max-width: 900px;
  max-height: 93vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 40px rgba(245, 158, 11, 0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  transform: scale(0.88) translateY(30px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease;
}

.modal-overlay.active .modal-profile-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

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

.modal-profile-content {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 1.75rem;
  padding: 1.75rem;
}

@media (max-width: 768px) {
  .modal-profile-content {
    grid-template-columns: 1fr;
  }
}

.modal-photo-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  aspect-ratio: 3/4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.45s ease;
  will-change: opacity, transform;
}

/* Indicador "pantalla completa" sobre la foto principal */
.gallery-expand-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fde68a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(8px);
  z-index: 6;
  pointer-events: none;
  transition: all 0.2s ease;
}
.modal-gallery-main:hover .gallery-expand-hint {
  background: rgba(245, 158, 11, 0.9);
  color: #000;
  border-color: #f59e0b;
}

/* Flechas de Navegación del Carrusel */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.gallery-nav-btn:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-counter-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(6px);
  z-index: 5;
}

/* Tira de Miniaturas */
.modal-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.2rem 0.1rem 0.5rem;
  scrollbar-width: thin;
}

.gallery-thumb-item {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #000;
}

.gallery-thumb-item:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.gallery-thumb-item.active {
  opacity: 1;
  border-color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
  transform: scale(1.05);
}

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


/* ==============================================================================
   GRID DE FOTOS TIPO PASIONPREPAGOS — Dentro del Modal
   ============================================================================== */

/* Pestañas del modal de perfil */
.modal-profile-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.modal-profile-tabs::-webkit-scrollbar { display: none; }

.modal-profile-tab-btn {
  flex-shrink: 0;
  padding: 0.75rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.modal-profile-tab-btn:hover {
  color: #cbd5e1;
}
.modal-profile-tab-btn.active {
  color: #fbbf24;
  border-bottom-color: #fbbf24;
}

/* Grid de fotos (profileMediaList) */
.modal-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.modal-photo-grid-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  background: #0a0d15;
}

.modal-photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.modal-photo-grid-item:hover img {
  transform: scale(1.08);
}

.modal-photo-grid-item:hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 158, 11, 0.2);
  border: 2px solid rgba(245, 158, 11, 0.6);
  border-radius: 6px;
}

/* Foto principal destacada (primera foto, más grande) */
.modal-photo-grid-item:first-child {
  grid-column: span 3;
  aspect-ratio: 3/2;
}

/* Lightbox fullscreen al hacer clic en foto */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-img-wrap {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img-wrap img {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.25s ease, transform 0.35s ease;
  transform: scale(1);
  will-change: opacity, transform;
}
.lightbox-img-wrap img.lightbox-fading {
  opacity: 0;
  transform: scale(0.94);
}
.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100001;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.08);
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100001;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}
.lightbox-nav:hover {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #000;
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 800;
  background: rgba(0,0,0,0.75);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(8px);
  z-index: 100001;
}

@media (max-width: 640px) {
  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* Panel de info del perfil (tab Info) */
.modal-tab-panel {
  display: none;
}
.modal-tab-panel.active {
  display: block;
}



.modal-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.modal-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.modal-model-name {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Tabla de Tarifas VIP en Modal */
.modal-rates-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-rates-table th, .modal-rates-table td {
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-rates-table th {
  color: var(--text-muted);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.02);
}

.modal-rates-table td.rate-val {
  font-family: var(--font-mono);
  font-weight: 800;
  color: #fbbf24;
  text-align: right;
}

/* Atributos / Medidas */
.modal-attr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.modal-attr-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  display: flex;
  flex-direction: column;
}

.modal-attr-label {
  font-size: 0.68rem;
  color: var(--text-subtle);
  font-weight: 700;
  text-transform: uppercase;
}

.modal-attr-value {
  font-size: 0.85rem;
  color: #f1f5f9;
  font-weight: 700;
}

/* Botones CTA Grandes en Modal */
.modal-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.modal-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25D366 0%, #16a34a 100%);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.modal-btn-wa:hover {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.55);
}

.modal-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fbbf24;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.modal-btn-call:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
}

.modal-discretion-note {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ==============================================================================
   PIE DE PÁGINA TV Y CONTROLES
   ============================================================================== */
.tv-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 17, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1.25rem;
  flex-shrink: 0;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: auto;
}

#tv-resumen-stats {
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#tv-resumen-stats strong {
  color: #fbbf24;
  font-weight: 800;
}

.tv-scale-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tv-scale-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.tv-btn-scale {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tv-btn-scale:hover {
  background: #f59e0b;
  color: #090a0f;
}

.tv-scale-value {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fbbf24;
  min-width: 38px;
  text-align: center;
  cursor: pointer;
}

.tv-sync-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.tv-btn-fullscreen {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.15) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tv-btn-fullscreen:hover {
  background: #f59e0b;
  color: #090a0f;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}

/* ==============================================================================
   ADAPTABILIDAD RESPONSIVA
   ============================================================================== */
@media (max-width: 900px) {
  .tv-container {
    padding: 0.75rem;
    gap: 0.85rem;
  }
  
  .tv-header {
    padding: 0.75rem 1rem;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-filters-right {
    width: 100%;
    min-width: 100%;
  }

  .catalog-search-box {
    max-width: 100%;
    min-width: 100%;
  }

  .catalog-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 0.35rem;
  }
  .catalog-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 0.3rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
}

@media (max-width: 600px) {
  .tv-digital-clock {
    font-size: 1.35rem;
  }
  
  .models-grid {
    grid-template-columns: 1fr;
  }

  /* Encabezado compacto apilado en móvil */
  .tv-header-compact {
    padding: 0.6rem 0.65rem;
    gap: 0.5rem;
  }
  .tv-header-row1 {
    gap: 0.6rem;
  }
  .tv-header-row1 .tv-brand {
    min-width: 0;
    flex: 1 1 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
  }
  .tv-header-row1 .tv-brand img {
    height: 44px !important;
  }
  .tv-header-row1 .tv-brand-tag {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }
  .tv-header-row1 .catalog-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 0.4rem;
    overflow: visible;
  }
  .catalog-tab-btn {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.4rem;
    font-size: 0.8rem;
    gap: 0.35rem;
  }
  .tv-header-row1 .catalog-filters-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 0.45rem;
  }
  .catalog-select-zone {
    width: 100%;
    min-width: 0;
    font-size: 0.76rem;
    padding: 0.5rem 0.4rem;
  }
  .catalog-search-box {
    grid-column: span 2;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  /* Pastillas de categorías adaptables sin scroll horizontal */
  .quick-filter-scroll {
    overflow-x: visible;
    padding: 0;
  }
  .quick-filter-chips {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    white-space: normal;
  }
  .chip-btn {
    padding: 0.38rem 0.65rem;
    font-size: 0.72rem;
    gap: 0.25rem;
    flex: 0 1 auto;
  }
}

/* ==============================================================================
   ESTILO ESTADO VACÍO ELEGANTE (LUXURY EMPTY STATE)
   ============================================================================== */
.catalog-empty-state {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 620px;
  margin: 3rem auto;
  text-align: center;
  padding: 3rem 1.75rem;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(9, 10, 15, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(245, 158, 11, 0.05);
  backdrop-filter: blur(16px);
  animation: fadeInEmpty 0.35s ease-out;
}

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

.catalog-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.4));
}

.catalog-empty-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 0.6rem;
  font-family: var(--font-heading, 'Cinzel', serif);
}

.catalog-empty-subtitle {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.5;
  max-width: 480px;
  margin: 0 auto;
}

.btn-empty-ver-todas {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  color: #090a0f;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-empty-ver-todas:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
}

/* ==============================================================================
   LAS 5 MEJORAS VIP: CHIPS, REVIEWS, VIDEOS, BADGES PLATINO Y COTIZADOR WA
   ============================================================================== */

/* 1. Barra de Pastillas / Filtros Rápidos */
.quick-filter-scroll {
  width: 100%;
  padding: 0.2rem 0;
  margin-top: -0.25rem;
}

.quick-filter-chips {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
}

.chip-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
}

.chip-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  transform: translateY(-1px);
}

.chip-btn.active {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  border-color: #f59e0b;
  color: #090a0f;
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  transform: scale(1.03);
}

/* 2. Badges VIP en Tarjetas (Platino, Video, Rating) */
.badge-platino {
  background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
  color: #000;
  font-weight: 900;
  border: 1px solid #fff;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
  letter-spacing: 0.04em;
}

.badge-video {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

/* (Definición duplicada de .card-rating-badge eliminada para evitar que el
   badge de puntuación se posicione encima del contador de fotos) */

/* 3. Multimedia Tabs en Modal (Fotos vs Video) */
.modal-media-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.modal-media-tab-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-media-tab-btn.active {
  background: rgba(245, 158, 11, 0.2);
  border-color: #fbbf24;
  color: #fbbf24;
}

.modal-video-box {
  width: 100%;
  aspect-ratio: 4/5;
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* 4. Reseñas y Experiencias de Clientes */
.modal-reviews-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.reviews-rating-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.45rem;
}

.rating-big-number {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
}

.rating-big-number span {
  font-size: 1.75rem;
  font-weight: 900;
  color: #fbbf24;
  line-height: 1;
}

.stars-gold {
  color: #fbbf24;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.rating-breakdown-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.78rem;
}

.rating-bar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #cbd5e1;
}

/* 5. Cotización interactiva en tabla de tarifas */
.rate-row-interactive {
  cursor: pointer;
  transition: all 0.2s ease;
}

.rate-row-interactive:hover {
  background: rgba(245, 158, 11, 0.15) !important;
}

.rate-row-interactive:hover td {
  color: #fbbf24 !important;
}

.modal-rating-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

