/* =========================
   Vuelame – Tabs simplificadas (EXTERNO)
   ========================= */

/* CONTENEDOR PRINCIPAL */
.vuelame-tabs {
  width: 100%;
  margin: 0 auto;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* NAVEGACIÓN CENTRADA */
.vuelame-tabs-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 25px;
}

.vuelame-tabs-nav-inner {
  display: flex;
  gap: 8px;
  background: #f5f5f5;
  padding: 6px;
  border-radius: 8px;
  margin: 0 auto;
  width: fit-content; /* IMPORTANTE: Fondo ajustado al contenido */
}

/* BOTONES DE TAB SIMPLIFICADOS */
.vuelame-tab {
  padding: 10px 20px;
  border-radius: 6px;
  background: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  flex-shrink: 0; /* Evita que se encojan */
}

/* SOLO CAMBIO DE COLOR AL HOVER */
.vuelame-tab:hover {
  background: #f0f0f0;
}

/* TAB ACTIVA CON COLOR #e04a2a */
.vuelame-tab.active {
  background: #e04a2a;
  color: #fff;
}

/* PANELES DE CONTENIDO */
.vuelame-tabs-content {
  width: 100%;
}

.vuelame-tab-panel {
  display: none;
}

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

/* RESPONSIVE PARA MÓVIL */
@media (max-width: 768px) {
  .vuelame-tabs-nav {
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: flex-start; /* Para scroll horizontal */
  }
  
  .vuelame-tabs-nav-inner {
    padding: 5px;
    gap: 6px;
  }
  
  .vuelame-tab {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* Scrollbar */
  .vuelame-tabs-nav::-webkit-scrollbar {
    height: 3px;
  }
  
  .vuelame-tabs-nav::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
  }
}