/* 🔸 Oculta la barra lateral en productos de tarjeta de regalo */
body.postid-119439 .sidebar,
body.postid-119437 .sidebar,
body.postid-119435 .sidebar,
body.postid-119433 .sidebar,
body.postid-119430 .sidebar,
body.postid-119427 .sidebar,
body.postid-119424 .sidebar,
body.postid-119422 .sidebar,
body.postid-119419 .sidebar,
body.postid-119416 .sidebar,
body.postid-119413 .sidebar,
body.postid-119411 .sidebar,
body.postid-119408 .sidebar,
body.postid-119406 .sidebar,
body.postid-119404 .sidebar,
body.postid-119402 .sidebar,
body.postid-119399 .sidebar,
body.postid-119397 .sidebar,
body.postid-119395 .sidebar,
body.postid-119392 .sidebar,
body.postid-119390 .sidebar,
body.postid-119388 .sidebar,
body.postid-119386 .sidebar,
body.postid-119383 .sidebar,
body.postid-119381 .sidebar,
body.postid-119378 .sidebar,
body.postid-119376 .sidebar,
body.postid-119374 .sidebar,
body.postid-119372 .sidebar,
body.postid-119370 .sidebar,
body.postid-119367 .sidebar,
body.postid-119365 .sidebar,
body.postid-119270 .sidebar,
body.postid-119439 #secondary,
body.postid-119437 #secondary,
body.postid-119435 #secondary,
body.postid-119433 #secondary,
body.postid-119430 #secondary,
body.postid-119427 #secondary,
body.postid-119424 #secondary,
body.postid-119422 #secondary,
body.postid-119419 #secondary,
body.postid-119416 #secondary,
body.postid-119413 #secondary,
body.postid-119411 #secondary,
body.postid-119408 #secondary,
body.postid-119406 #secondary,
body.postid-119404 #secondary,
body.postid-119402 #secondary,
body.postid-119399 #secondary,
body.postid-119397 #secondary,
body.postid-119395 #secondary,
body.postid-119392 #secondary,
body.postid-119390 #secondary,
body.postid-119388 #secondary,
body.postid-119386 #secondary,
body.postid-119383 #secondary,
body.postid-119381 #secondary,
body.postid-119378 #secondary,
body.postid-119376 #secondary,
body.postid-119374 #secondary,
body.postid-119372 #secondary,
body.postid-119370 #secondary,
body.postid-119367 #secondary,
body.postid-119365 #secondary,
body.postid-119270 #secondary {
  display: none !important;
}

body.postid-119439 .content-area,
body.postid-119437 .content-area,
body.postid-119435 .content-area,
body.postid-119433 .content-area,
body.postid-119430 .content-area,
body.postid-119427 .content-area,
body.postid-119424 .content-area,
body.postid-119422 .content-area,
body.postid-119419 .content-area,
body.postid-119416 .content-area,
body.postid-119413 .content-area,
body.postid-119411 .content-area,
body.postid-119408 .content-area,
body.postid-119406 .content-area,
body.postid-119404 .content-area,
body.postid-119402 .content-area,
body.postid-119399 .content-area,
body.postid-119397 .content-area,
body.postid-119395 .content-area,
body.postid-119392 .content-area,
body.postid-119390 .content-area,
body.postid-119388 .content-area,
body.postid-119386 .content-area,
body.postid-119383 .content-area,
body.postid-119381 .content-area,
body.postid-119378 .content-area,
body.postid-119376 .content-area,
body.postid-119374 .content-area,
body.postid-119372 .content-area,
body.postid-119370 .content-area,
body.postid-119367 .content-area,
body.postid-119365 .content-area,
body.postid-119270 .content-area {
  width: 100% !important;
}

/* 🔸 Ajuste del logo */
img.custom-logo {
  max-width: 150px !important;
  height: auto !important;
  width: auto !important;
}

/* 🔹 NOTA IMPORTANTE – Abril 2025:
   Se ocultó el ícono del carrito de compras del encabezado (header)
   para evitar que ocupe espacio en el menú principal, ya que por ahora 
   solo se venden sesiones, cursos y talleres.

   El carrito sigue siendo accesible desde el submenú de la sección "Tienda".

   Cuando se lancen más productos físicos o descargables y se quiera mostrar
   el carrito en la cabecera nuevamente, simplemente ELIMINAR O COMENTAR 
   las siguientes reglas. */
/* Oculta completamente el carrito del header */
.site-header .cart-contents,
.header-cart,
.woocommerce-cart-menu,
#site-header-cart,
.header .header-right,
.site-header .site-header-cart,
.site-header-cart.menu {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hace que el menú principal use todo el ancho */
.main-navigation ul.menu,
.navbar,
.header-menu,
#header .menu {
  width: 100% !important;
  max-width: 100% !important;
  justify-content: space-between !important;
}



/* 🔒 Oculta el botón de "Reservar" en productos que usan Calendly en lugar de WooCommerce Bookings
   Agrega aquí los IDs de productos que integran el calendario externo. */

body.postid-124835 .single_add_to_cart_button,
body.postid-124821 .single_add_to_cart_button,
body.postid-114628 .single_add_to_cart_button,
body.postid-114315 .single_add_to_cart_button,
body.postid-805 .single_add_to_cart_button,
body.postid-125004 .single_add_to_cart_button,
body.postid-4078 .single_add_to_cart_button,
body.postid-125026 .single_add_to_cart_button,
body.postid-127881 .single_add_to_cart_button {
  display: none !important;
}



/* 🎯 Ajustes de botones principales My Animal Bond */

/* Fondo verde profundo y texto blanco */
button,
input[type="submit"],
.wp-block-button__link {
  background-color: #006161 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 6px; /* puedes ajustar si quieres esquinas más redondeadas */
  padding: 12px 24px;
  font-weight: 600;
}

/* Hover: fondo blanco y borde verde */
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: #FFFFFF !important;
  color: #006161 !important;
  border: 2px solid #006161 !important;
}

/* Si hay botones secundarios (podrías aplicarlo manualmente agregando una clase) */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent !important;
  color: #006161 !important;
  border: 2px solid #006161 !important;
}

/* Hover para botones secundarios */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: #006161 !important;
  color: #FFFFFF !important;
}



/* Limita el ancho del carrusel completo en la página del curso */
.page-id-113742 .wp-block-jetpack-slideshow {
  max-width: 450px;
  margin: 0 auto;
}

/* Asegura que las imágenes dentro del carrusel escalen correctamente */
.page-id-113742 .wp-block-jetpack-slideshow_slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Centra navegación de puntos y flechas del carrusel */
.page-id-113742 .wp-block-jetpack-slideshow ul,
.page-id-113742 .wp-block-jetpack-slideshow .swiper-button-prev,
.page-id-113742 .wp-block-jetpack-slideshow .swiper-button-next {
  margin: 0 auto;
}



/* Estilo base para la tabla */
.wp-block-table.is-style-stripes {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  border-collapse: collapse;
  width: 100%;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
}

/* Encabezados */
.wp-block-table.is-style-stripes thead th {
  background-color: #f6e58d;
  color: #355c4c;
  text-align: center;
  font-weight: 800;
  padding: 14px;
  font-size: 17px;
  border-bottom: 4px solid #006161; /* ← Aquí el cambio */
}

/* Celdas del cuerpo */
.wp-block-table.is-style-stripes tbody td {
  padding: 14px 16px;
  text-align: center;
  color: #333;
  border: none;
  font-weight: 500;
}

/* Filas alternadas */
.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background-color: #fefefe;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #fefdf8;
}

/* Hover */
.wp-block-table.is-style-stripes tbody tr:hover {
  background-color: #e7f5ed;
  transition: all 0.3s ease-in-out;
}

/* Bordes redondeados */
.wp-block-table.is-style-stripes table {
  border-radius: 12px;
  overflow: hidden;
}


/* Centrado vertical de encabezados en móviles */
@media (max-width: 768px) {
  .wp-block-table.is-style-stripes thead th {
    vertical-align: middle !important;
  }
}


/* Oculta título y encabezado en la home */
.home .entry-title,
.home .entry-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/* Elimina márgenes y padding del contenedor principal en home */
.home .site-content > .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* También elimina cualquier padding del contenido principal */
.home .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Borra posibles pseudoelementos que estén dejando espacio */
.home .container::before,
.home .container::after {
  content: none !important;
  display: none !important;
}


/* Ocultar título "Descripción" en WooCommerce */
.woocommerce-Tabs-panel h2 {
  display: none;
}

/* Quita el espacio blanco superior SOLO en la página de Meditaciones */
.page-id-46 .site-content,
.page-id-46 .site-content > .container,
.page-id-46 .site-main,
.page-id-46 .entry-content,
.page-id-46 .content-area {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Si quieres que el banner quede TOTALMENTE pegado al menú */
.page-id-46 .container::before,
.page-id-46 .container::after {
    content: none !important;
    display: none !important;
}

/* Ajusta el espacio de los breadcrumbs (opcional, sin ocultarlos) */
.page-id-46 .breadcrumbs,
.page-id-46 .entry-breadcrumbs,
.page-id-46 .woocommerce-breadcrumb {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
}

