.elementor-4975 .elementor-element.elementor-element-cc6e3a0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-48de3a6 *//* ============================================
   PÁGINA /LIBROS/ - ESTILOS COMPLETOS
   ============================================ */

/* ============================================
   SECCIÓN 1: HERO
   ============================================ */

.libros-hero {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #F8F6F1 0%, #FFF9F0 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.libros-hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.libros-hero-content .section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
 
  letter-spacing: 0.1em;
  color: #8B7355;
  border: 1px solid #8B7355;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.libros-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #2C3E50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.libros-intro {
  font-size: 1.15rem;
  color: #2C3E50;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.libros-subintro {
  font-size: 1rem;
  color: #636E72;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.libros-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.libros-hero-ctas .btn-primary {
  background: linear-gradient(135deg, #E63946 0%, #F4A261 100%);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.libros-hero-ctas .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.libros-hero-ctas .btn-outline {
  border: 2px solid #8B7355;
  color: #8B7355;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.libros-hero-ctas .btn-outline:hover {
  background: #8B7355;
  color: white;
}

/* Trust signals */
.libros-trust {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2C3E50;
  font-family: 'Playfair Display', serif;
}

.trust-label {
  font-size: 0.8rem;
  color: #636E72;
 
  letter-spacing: 0.05em;
}

/* ============================================
   SECCIÓN 2: NAVEGACIÓN POR HUBS
   ============================================ */

.libros-hubs {
  padding: 4rem 2rem;
  background: white;
}

.libros-hubs-header {
  text-align: center;
  margin-bottom: 3rem;
}

.libros-hubs-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #2C3E50;
  margin-bottom: 0.75rem;
}

.libros-hubs-header p {
  font-size: 1rem;
  color: #636E72;
  max-width: 600px;
  margin: 0 auto;
}

.libros-hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hub-nav-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hub-nav-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--hub-color, #8B7355);
  transition: width 0.3s ease;
}

.hub-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.hub-nav-card:hover::before {
  width: 6px;
}

/* Colores por hub */
.hub-nav--estoicismo { --hub-color: #8B7355; }
.hub-nav--neurociencia { --hub-color: #1E3A5F; }
.hub-nav--spinoza { --hub-color: #1B4332; }
.hub-nav--espiritualidad { --hub-color: #6C3483; }
.hub-nav--critica { --hub-color: #C0392B; }

.hub-nav-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.hub-nav-content {
  flex-grow: 1;
}

.hub-nav-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 0.4rem;
}

.hub-nav-content p {
  font-size: 0.85rem;
  color: #636E72;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.hub-nav-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: #95A5A6;
}

.hub-nav-arrow {
  font-size: 1.2rem;
  color: var(--hub-color);
  transition: transform 0.3s ease;
}

.hub-nav-card:hover .hub-nav-arrow {
  transform: translateX(4px);
}

/* ============================================
   SECCIÓN 3: FILTROS
   ============================================ */

.libros-filtros {
  padding: 3rem 2rem 1rem;
  background: #F8F6F1;
}

.libros-filtros-header {
  text-align: center;
  margin-bottom: 2rem;
}

.libros-filtros-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: #2C3E50;
  margin-bottom: 0.5rem;
}

.libros-filtros-header p {
  color: #636E72;
}

.libros-category-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* ============================================
   FILTROS DE CATEGORÍA - CORREGIDO (texto visible)
   ============================================ */

.libros-category-filters .filter-btn {
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(44, 62, 80, 0.2) !important;
  border-radius: 50px;
  background: #ffffff !important;
  color: #2C3E50 !important;          /* ✅ Texto oscuro explícito */
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.libros-category-filters .filter-btn:hover {
  border-color: #8B7355 !important;
  color: #8B7355 !important;
  background: #FAF8F3 !important;
  transform: translateY(-2px);
}

/* Botón activo (el seleccionado) */
.libros-category-filters .filter-btn--active,
.libros-category-filters .filter-btn--active:hover {
  background: #2C3E50 !important;
  color: #ffffff !important;
  border-color: #2C3E50 !important;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
}

/* ============================================
   SECCIÓN 4: GRID DE PRODUCTOS
   ============================================ */

.libros-grid-section {
  padding: 2rem;
  background: #F8F6F1;
}

/* Badge de Hub en cada producto */
.product-hub-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(255,255,255,0.95);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #2C3E50;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 10;
  transition: all 0.3s ease;
}

.product-hub-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hub-badge-icon {
  font-size: 0.9rem;
}

/* ============================================
   SECCIÓN 5: CTA FINAL
   ============================================ */

.libros-final-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #2C3E50 0%, #1A1A2E 100%);
}

.libros-final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.libros-final-cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.libros-final-cta-inner > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.libros-final-features {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.libros-final-features span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

.libros-final-cta .btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #E63946 0%, #F4A261 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.libros-final-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.5);
}

.libros-final-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .libros-hero-content h1 {
    font-size: 1.8rem;
  }
  
  .libros-hubs-grid {
    grid-template-columns: 1fr;
  }
  
  .libros-trust {
    gap: 1.5rem;
  }
  
  .libros-hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  
  .hub-nav-card {
    flex-direction: column;
    text-align: center;
  }
  
  .hub-nav-arrow {
    display: none;
  }
}



/* Transición suave al filtrar */
#libros-grid .product {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ocultar con animación */
#libros-grid .product[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
}/* End custom CSS */