/*
Theme Name: Buddhoom by SANTACONCHA
Theme URI: https://santaconcha.com
Author: SANTACONCHA Digital Performance
Author URI: https://santaconcha.com
Version: 1.0
*/

html {
  overflow-x: hidden !important;
}
body {
  font-family: "Poppins", sans-serif !important;
  color: #000;
}
h1,
h2,
h3,
h4 {
  font-weight: bold;
}
h1 {
  font-size: 3.2rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.3rem;
}

.bg-warning {
  --bs-bg-opacity: 1;
  background-color: rgb(243 199 195) !important;
}

/* Enlaces globales - ahora se gestionan desde buddhoom-brand.css */
blockquote {
  border-left: 4px solid #e6e9eb;
  padding: 20px;
}
blockquote p {
  color: var(--buddhoom-primary, #9c8794);
  margin-bottom: 0;
}
blockquote p + p {
  margin-top: 1rem;
}
p + blockquote {
  margin-top: 30px;
}

.navbar {
  --bs-navbar-nav-link-padding-x: 1rem;
}

/* Botones principales - Actualizados con variables Buddhoom */
.btn.btn-primary,
.btn.btn-santaconcha-shortcode-1,
.gform_button.button {
  background: var(--buddhoom-primary, #9c8794);
  color: var(--buddhoom-white, #ffffff);
  padding: 10px 25px;
  border-radius: 27px;
  font-weight: 600;
  text-transform: uppercase;
  border: none !important;
}
.btn.btn-primary:hover,
.btn.btn-santaconcha-shortcode-1:hover,
.gform_button.button:hover {
  background: var(--buddhoom-primary-hover, #584a63);
  color: var(--buddhoom-white, #ffffff);
  border-color: #fff;
}

.btn.btn-secondary {
  background: var(--buddhoom-light, #e4ddda);
  color: var(--buddhoom-primary, #9c8794);
  padding: 10px 25px;
  border-radius: 27px;
  font-weight: 600;
}
.btn.btn-secondary:hover {
  color: var(--buddhoom-secondary, #584a63);
  background: var(--buddhoom-tertiary, #d1b3ac);
}

.btn.btn-tertiary {
  background: #fff;
  color: var(--buddhoom-secondary, #584a63);
  padding: 10px 25px;
  border-radius: 27px;
  font-weight: 600;
}
.btn.btn-tertiary:hover {
  color: #fff;
  background: var(--buddhoom-secondary, #584a63);
}

.btn-favorito {
  width: 61px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  text-decoration: none;
  color: #fff;
  background: var(--bg-btn-pri);
}
.btn-favorito:hover,
.btn-favorito.marcado {
  background: var(--buddhoom-secondary);
  color: #fff;
}

.ver-todos-btn,
.ver-menos-btn {
  font-size: 0.8rem !important;
}

.eventos-archive,
.books-archive,
.therapists-archive,
.default-archive {
  background: #f7f7f7 !important;
}
.disciplines-archive {
  background: rgba(217, 187, 179, 0.4) !important;
}

.evento-card,
.book-card,
.therapist-card,
.discipline-card {
  border-radius: 16px !important;
  overflow: hidden !important;
}

.evento-card .card-footer,
.book-card .card-footer,
.therapist-card .card-footer,
.discipline-card .card-footer {
  padding: 0 !important;
  display: flex;
}
.evento-card .card-footer .btn,
.book-card .card-footer .btn,
.therapist-card .card-footer .btn,
.discipline-card .card-footer .btn {
  border-radius: 0 !important;
}

.discipline-card .card-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #9c8794 0%, #584a63 100%);
}
.discipline-card .card-header .card-title {
  margin-left: 10px;
  font-size: 1.4rem !important;
  text-align: left !important;
}

/* Bloques generales */
.bloque-sc {
  padding: 80px 0;
}
.bloque-sc ul {
  list-style: none;
  position: relative;
}
.bloque-sc li {
  padding-bottom: 15px;
}
.bloque-sc ul li:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 0;
  padding: 12px;
  background-size: 100%;
  background-position: center center;
}

/* Topbar */
.topbar {
  background: #614957 !important;
}
.topbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  display: block;
  text-align: center;
  width: 100%;
  padding: 5px;
}

/* Navegación */
#masthead {
  box-shadow: 0px 0px 18px 1px rgba(0, 0, 0, 0.2);
}
nav.navbar {
  padding: 20px 0;
  background: #fff !important;
}
nav.navbar.menu-fijado {
  position: fixed;
  width: 100%;
  top: 0;
}
a.navbar-brand {
  padding-bottom: 10px;
  padding-top: 5px;
}

a.nav-link {
  color: #9c8794;
}
a.nav-link:hover,
a.nav-link.destacado-secondary:hover {
  color: var(--buddhoom-primary, #9c8794);
}
a.nav-link.destacado-secondary {
  margin: 0 20px;
  background: #9c8794;
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  display: flex;
  font-weight: 600;
}
a.nav-link.destacado-secondary svg {
  fill: #fff;
  width: 20px;
  margin-left: 5px;
}
a.nav-link.destacado-secondary:hover {
  background: #584a63;
  color: #fff;
}
a.nav-link.destacado-primary {
  background: var(--buddhoom-primary, #9c8794);
  color: var(--buddhoom-white, #ffffff);
  padding: 10px 25px;
  border-radius: 27px;
  font-weight: 600;
}
a.nav-link.destacado-primary:hover {
  color: var(--buddhoom-primary, #9c8794);
  background: var(--buddhoom-white, #ffffff);
}
.dropdown-item:focus,
.dropdown-item:hover {
  background: var(--buddhoom-primary, #9c8794);
  color: var(--buddhoom-white, #ffffff);
}

/* Estilos generales */
.buddhoom-hero-home {
  background-size: cover;
  background-position: 85% center;
  padding: 120px 0;
}

.bloque-buddhoom {
  padding: 80px 0;
}
.header-bloque {
  margin-bottom: 40px;
}
.header-bloque h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
}
.header-bloque h2::after {
  content: "";
  width: 90px;
  height: 7px;
  background: #9c8794;
  display: block;
  margin-top: 15px;
  border-radius: 25px;
}
.header-bloque .text-btn {
  text-align: right;
}

.bloque-disciplinas-home {
  background: #9c8794;
  padding: 100px 0;
}
.bloque-disciplinas-home h2 {
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.bloque-disciplinas-home .item-disciplina {
  width: 11%;
}
.bloque-disciplinas-home .item-disciplina:hover {
  /* transform: scale(1.005); */
}
.bloque-disciplinas-home .item-disciplina:hover .img-disciplina {
  background: var(--buddhoom-secondary);
  transition: background-color 0.3s ease;
}
.bloque-disciplinas-home .item-disciplina:hover .img-disciplina svg {
  stroke: white;
  transition: stroke 0.3s ease;
}
.bloque-disciplinas-home .item-disciplina:hover .img-disciplina svg * {
  stroke: white !important;
}
.bloque-disciplinas-home .item-disciplina:hover .img-disciplina svg path {
  stroke: white !important;
}
.bloque-disciplinas-home .item-disciplina:hover .img-disciplina svg g {
  stroke: white !important;
}

.bloque-disciplinas-home .item-disciplina .img-disciplina {
  transition: background-color 0.3s ease;
}
.bloque-disciplinas-home .item-disciplina .img-disciplina svg {
  transition: stroke 0.3s ease;
}
.bloque-disciplinas-home .item-disciplina .img-disciplina svg path {
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.bloque-disciplinas-home .item-disciplina a {
  text-decoration: none;
}
.bloque-disciplinas-home .item-disciplina .img-disciplina {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  padding: 10px;
  margin-bottom: 10px;
  display: flex;
}
.bloque-disciplinas-home .item-disciplina .img-disciplina img {
  width: 100%;
  max-height: 100%;
}
.bloque-disciplinas-home .item-disciplina h3 {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  text-wrap-style: balance;
}

@media (max-width: 1190px) {
  .bloque-disciplinas-home .item-disciplina .img-disciplina {
    width: 80px;
    height: 80px;
  }
}
@media (max-width: 991px) {
  .bloque-disciplinas-home .item-disciplina {
    width: 33%;
  }
}
@media (max-width: 768px) {
  .bloque-disciplinas-home .item-disciplina {
    width: 33%;
  }
}

.buddhoom-header {
  text-align: center;
  margin-bottom: 0;
  background: #9c8794;
  background: linear-gradient(135deg, #9c8794 0%, #584a63 100%) !important;
}
.buddhoom-header > .container {
  padding-top: 100px;
  padding-bottom: 110px;
  position: relative;
}
.buddhoom-header h1 {
  color: #fff;
}

section.banner-terapeuta {
  background-size: cover;
  background-position: center center;
  padding: 120px 0;
}
section.banner-terapeuta h2 {
  color: #fff;
}
section.banner-terapeuta p {
  color: #fff;
}

section.banner-terapeutas-home {
  background: #9c8794;
  background: linear-gradient(135deg, #9c8794 0%, #584a63 100%) !important;
  padding: 120px 0;
  position: relative;
}
section.banner-terapeutas-home .container,
section.banner-terapeutas-home .container .row {
  position: relative;
}
section.banner-terapeutas-home .container .row {
  z-index: 1;
}
section.banner-terapeutas-home h2 {
  color: #fff;
}
.item-post-list-therapist-home {
  margin-bottom: 20px;
}
.item-post-list-therapist-home:hover {
  transform: scale(1.005);
}
.item-post-list-therapist-home a {
  text-decoration: none;
}
.item-post-list-therapist-home a .img-therapist {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center center;
  border-radius: 15px;
}
.item-post-list-therapist-home a h3 {
  color: #fff;
  padding: 10px 10px 0;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.item-post-list-therapist-home a p {
  font-size: 0.8rem;
  color: #fff;
  padding: 0 10px 10px;
  opacity: 0.8;
  font-weight: 300 !important;
}

/* Estilos Home */
.lista-eventos-home .item-evento-home .content-item-evento {
  background-size: cover;
  background-position: center center;
  height: 300px;
  border-radius: 30px;
  display: flex;
  align-items: end;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.lista-eventos-home .item-evento-home .content-item-evento:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}
.lista-eventos-home .item-evento-home .content-item-evento a {
  text-decoration: none;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: flex-end;
}
.lista-eventos-home .item-evento-home .content-item-evento a h3 {
  color: #fff;
  padding: 10px;
  font-size: 1.5rem;
}

.bloque-habitos {
  background-size: cover;
  background-position: center center;
  padding: 120px 0;
}
.bloque-habitos p.subtitulo {
  margin-bottom: 0;
}
.bloque-habitos h2 {
  color: #fff;
}

/* Estilos Blog */
.default-archive {
  background: rgba(217, 187, 179, 0.4) !important;
}
.default-archive .results-info {
  border-bottom: 1px solid rgb(88 74 99 / 20%) !important;
}
#breadcrumbs {
  margin: 15px 0 40px;
  margin: 15px 0 40px;
  position: absolute;
  top: 0;
  text-align: left;
}
#breadcrumbs * {
  color: #fff;
}
#breadcrumbs a {
  font-weight: 600;
}

.lista-posts-categoria .item-post-list {
  margin-bottom: 30px;
}

.item-card-post {
  position: relative;
  height: 100%;
  background: #fff;
  border-radius: 15px;
  -webkit-box-shadow: 0 0 18px 1px rgb(0 0 0 / 0.2);
  -moz-box-shadow: 0 0 18px 1px rgb(0 0 0 / 0.2);
  box-shadow: 0 0 18px 1px rgb(0 0 0 / 0.2);
}

.item-card-post .img {
  width: 100%;
}

.item-card-post .img .thumbnail-post {
  background-size: cover;
  background-position: center center;
  /* height: 200px; */
  aspect-ratio: 16/9;
  border-radius: 15px 15px 0 0;
}

.item-card-post .name-subtit {
  padding: 20px;
}

.item-card-post .name-subtit h2 {
  font-size: 1.1rem !important;
  /* margin-bottom: 1rem; */
}
.item-card-post .name-subtit h2 a {
  text-decoration: none;
  color: #584a63;
}

.item-card-post .name-subtit .subtit {
  font-size: 0.9rem !important;
  color: #212529bf;
}

.paginacion-category,
.navigation.pagination .nav-links,
.pagination-wrapper {
  text-align: center;
  display: inline-block;
  padding: 20px 0 50px;
  width: 100%;
}

.paginacion-category ul li,
.pagination-wrapper ul li {
  display: inline-block;
}

.paginacion-category a,
.navigation.pagination .nav-links a,
.pagination-wrapper a {
  display: inline-block;
  padding: 5px 10px;
  color: #000;
  border: 1px solid #fff0;
  text-decoration: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.paginacion-category a.next,
.paginacion-category a.prev,
.navigation.pagination .nav-links a.next,
.navigation.pagination .nav-links a.prev,
.pagination-wrapper a.next,
.pagination-wrapper a.prev {
  border-color: #9c8794;
  color: #9c8794;
  text-transform: uppercase;
}

.paginacion-category a:hover,
.navigation.pagination .nav-links a:hover,
.pagination-wrapper a:hover {
  background: #9c8794;
  color: #fff;
}

.paginacion-category span.current,
.navigation.pagination .nav-links span.current,
.pagination-wrapper span.current {
  background: #9c8794;
  color: #fff;
  display: inline-block;
  padding: 5px 11px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* Estilos Libros */
.book-card {
  border-radius: 15px;
}
.book-card .book-cover-container {
  border-radius: 15px 15px 0 0;
  background: #e9dad6 !important;
}
.book-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #584a63;
  line-height: 1.3;
}

.book-card .text-muted,
.item-card-post .text-muted {
  /* font-size: 0.9rem; */
  line-height: 1.4;
}
.book-card .text-muted strong,
.item-card-post .text-muted strong {
  /* color: #767676; */
  color: var(--buddhoom-primary);
  font-weight: 500;
}
.book-badges .badge {
  font-size: 0.7rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-badges .badge.bg-success {
  background-color: #28a745 !important;
}

.book-badges .badge.bg-warning {
  background-color: #ffc107 !important;
  color: #212529 !important;
}

.book-badges .badge.bg-danger {
  background-color: #dc3545 !important;
}

.book-badges .badge.bg-dark {
  background-color: #343a40 !important;
}

.book-badges .badge.bg-light {
  background-color: #f8f9fa !important;
  color: #495057 !important;
  border: 1px solid #dee2e6;
}

.book-badges .badge.bg-info {
  background-color: #17a2b8 !important;
}

.book-disciplines .badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.5rem;
  border-radius: 15px;
  font-weight: 500;
  background: #f0ecee !important;
  color: #584a63 !important;
}

.book-description {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #6c757d;
}

/* Precio */
.book-price .h6 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #584a63;
}

.featured-badge {
  z-index: 10;
}

.featured-badge .badge {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.book-card .card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: transparent;
  padding: 1rem 1.25rem;
}

/* Estilos Terapeutas */
/* Cards de terapeutas */
.therapist-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.therapist-card .card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.therapist-card .card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.therapist-image-container {
  position: relative;
  aspect-ratio: 10 / 12;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.therapist-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.therapist-card:hover .therapist-image {
  transform: scale(1.05);
}

.therapist-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-btn-pri), #b8a5b3);
  color: white;
  font-size: 3rem;
}

.therapist-name {
  color: #584a63;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
}

.therapist-location {
  font-size: 0.9rem;
}

.therapist-phrase {
  font-size: 0.8rem;
}

.therapist-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.badge-discipline,
.enlace-etiqueta-disciplina,
.enlace-etiqueta-disciplina.badge {
  background: #fff !important;
  color: #584a63 !important;
  font-size: 0.75rem !important;
  padding: 4px 8px !important;
  border-radius: 30px !important;
  font-weight: 500 !important;
  display: inline-block;
  text-decoration: none !important;
  margin-bottom: 0.3rem !important;
  margin-right: 0.3rem !important;
  border: 2px solid #d9bbb3 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.enlace-etiqueta-disciplina:hover,
.enlace-etiqueta-disciplina.badge:hover {
  background: #584a63 !important;
  color: #fff !important;
  border: 2px solid #584a63 !important;
}

/* Solo estilos específicos que Bootstrap no cubre */
.disciplinas-scroll-container {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* Ocultar scrollbar en Webkit */
.disciplinas-scroll-container::-webkit-scrollbar {
  display: none;
}

/* Título limitado a 2 líneas */
.evento-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Resumen limitado a 4 líneas */
.item-card-post .subtit,
.resumen-texto {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  max-height: 5.6em; /* 4 líneas * 1.4 line-height */
}

/* Efecto de desvanecimiento en los bordes */
.disciplinas-scroll-container::before,
.disciplinas-scroll-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15px;
  pointer-events: none;
  z-index: 1;
}

.disciplinas-scroll-container::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.7), transparent);
}

.disciplinas-scroll-container::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.7), transparent);
}

/* Estilos filtros */
.filtro-sidebar .card {
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

.filtro-sidebar .card-header {
  background: linear-gradient(135deg, #9c8794, #b8a5b3);
  color: white;
  border-radius: 15px 15px 0 0;
}

.filtro-sidebar .card-body {
  padding: 20px !important;
}

.filtro-sidebar .form-label {
  font-weight: bold;
  color: #584a63;
  margin-bottom: 5px;
}

.filtro-sidebar input,
.filtro-sidebar select {
  color: #000 !important;
  padding: 10px 15px !important;
  font-size: 0.8rem !important;
  border-radius: 15px !important;
}
.filtro-sidebar input::placeholder {
  color: #000 !important;
  font-size: 0.8rem !important;
}

.filtro-sidebar .filtro-search input {
  padding: 10px 54px 10px 15px !important;
  border-radius: 25px 40px 40px 25px !important;
}
.filtro-sidebar .filtro-search .btn-primary.btn-search {
  padding-left: 10px !important;
  padding-right: 10px !important;
  border-radius: 50% !important;
  transform: scale(1.2);
  position: absolute;
  margin: 0;
  right: 5px;
  z-index: 9;
}

.filtro-sidebar .filtro-fecha small {
  font-size: 0.8rem;
  color: #584a63;
  opacity: 0.8;
}

.filtro-sidebar .discipline-option {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}
.disciplines-search-wrapper {
  margin-bottom: 0px !important;
}
.filtro-sidebar .disciplines-selector .selected-disciplines {
  border: none !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
}
.filtro-sidebar .disciplines-selector .selected-discipline-tag {
  background: #f0ecee !important;
  color: #584a63 !important;
  margin-bottom: 0.5rem !important;
  margin-right: 0.5rem !important;
  font-size: 13px !important;
}
.filtro-sidebar
  .disciplines-selector
  .selected-discipline-tag
  .remove-discipline {
  color: #584a63 !important;
  width: auto !important;
}

/* Estilos Disciplinas */
.single-discipline .bg-light {
  background-color: rgba(156, 135, 148, 0.2) !important;
}

/* Footer */
.pre-footer {
  /* background: var(--buddhoom-primary); */
  background: var(--buddhoom-tertiary);
  padding: 80px 0;
}
.pre-footer h2,
.pre-footer p {
  color: #fff;
}
.pre-footer .wpcf7 form.sent .wpcf7-response-output {
  background: #cbf4cf !important;
  text-align: center !important;
}
.pre-footer .wpcf7 input,
.pre-footer .wpcf7 select {
  width: 100%;
  background: none;
  box-shadow: none !important;
  border: 1px solid #fff !important;
  padding: 10px;
  border-radius: 26px;
  color: #fff;
}
.pre-footer .wpcf7 select option {
  background: var(--buddhoom-primary);
  border: none;
  color: #fff;
}
.pre-footer .wpcf7 textarea {
  width: 100%;
  background: none;
  box-shadow: none !important;
  border: 1px solid #fff !important;
  padding: 16px;
  border-radius: 26px;
  color: #fff;
}
.pre-footer .wpcf7 input::placeholder,
.pre-footer .wpcf7 select::placeholder,
.pre-footer .wpcf7 textarea::placeholder {
  color: #fff;
}
.pre-footer .wpcf7 input:focus-visible,
.pre-footer .wpcf7 select:focus-visible,
.pre-footer .wpcf7 textarea:focus-visible {
  background: #bda9b5 !important;
  border: none !important;
  box-shadow: none !important;
}
.pre-footer .wpcf7 .wpcf7-list-item {
  margin: 0 !important;
}
.pre-footer .wpcf7 a {
  color: #fff !important;
  font-weight: 600 !important;
}
.pre-footer .wpcf7 .wpcf7-submit {
  /* background-color: var(--buddhoom-tertiary) !important; */
  background-color: var(--buddhoom-primary) !important;
  border: none !important;
  /* color: var(--buddhoom-secondary) !important; */
  color: #fff !important;
  padding: 10px 25px;
  border-radius: 27px;
  font-weight: 600;
  text-transform: uppercase;
}
.pre-footer .wpcf7 .wpcf7-submit:hover {
  background-color: var(--buddhoom-secondary) !important;
  color: #fff !important;
}
.wpcf7-not-valid-tip {
  /* color: #ffbdbd; */
  color: var(--buddhoom-primary);
  padding: 2px 10px;
}

footer {
  /* background: var(--buddhoom-secondary, #584a63); */
  /* background: var(--buddhoom-primary, #584a63); */

  background: var(--buddhoom-primary);
  /* background: #9c8794;
  background: linear-gradient(135deg, #9c8794 0%, #584a63 100%) !important; */

  padding: 40px 0 80px;
}
footer .a-rrss {
  padding: 10px;
  text-decoration: none;
}
footer .a-rrss svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
footer .a-rrss:hover svg {
  fill: #fff;
}
footer p {
  color: #fff;
}
footer .lista-enlaces-footer ul {
  padding: 0;
  list-style: none;
}
footer .lista-enlaces-footer ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
}
footer .lista-enlaces-footer ul li a:hover {
  color: var(--buddhoom-primary);
}
footer .footer-bottom {
  border-top: 1px solid #ffffff47;
  margin-top: 40px;
  padding-top: 20px;
}
footer .footer-bottom-right {
  flex-direction: column;
  align-items: end;
}
footer .footer-bottom-right img {
  width: 100px;
}
footer .footer-bottom-right .lista-politicas {
  padding: 0;
  display: flex;
  list-style: none;
  margin-top: 10px;
}
footer .footer-bottom-right .lista-politicas li {
  padding-right: 10px;
  border-right: 1px solid #ffffff47;
}
footer .footer-bottom-right .lista-politicas li:last-child {
  padding-right: 0px;
  border-right: none;
}
footer .footer-bottom-right .lista-politicas li a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
  font-size: 14px;
}
footer .footer-bottom-right .lista-politicas li a:hover {
  color: var(--bg-btn-pri);
}
.grecaptcha-badge {
  display: none !important;
}

.form-newsletter input[type="email"],
.form-newsletter input[type="text"] {
  width: 100%;
  background: none;
  box-shadow: none !important;
  border: 1px solid #c4b3d2;
  padding: 10px;
  border-radius: 26px;
  color: #fff;
}
.form-newsletter input[type="email"]::placeholder,
.form-newsletter input[type="text"]::placeholder {
  color: #fff;
}
.form-newsletter a {
  font-weight: 600;
  color: #fff;
}
.form-newsletter a:hover {
  color: var(--buddhoom-primary);
}
.form-newsletter .btn-tertiary:hover {
  background: var(--buddhoom-primary);
  color: #fff;
}

/* Estilos 404 */
.error404 header {
  display: none;
}

/* Contenido de posts */
.content-post-single img {
  max-width: 100%;
}
.content-imagen.img-75 img {
  width: 75%;
}
.content-imagen.img-50 img {
  width: 50%;
}
.content-video iframe {
  width: 800px;
  height: 450px;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
  nav.navbar {
    padding: 10px 0;
  }
  a.navbar-brand {
    padding-bottom: 5px;
    padding-top: 5px;
  }
  .navbar-toggler {
    background: none !important;
    border: none !important;
    padding-right: 0 !important;
  }
  .navbar-toggler:focus {
    box-shadow: none !important;
  }
  .menu-mobile {
    display: flex;
    justify-content: space-between;
  }

  .menu-colapse-mobile #navbarBuddhoom {
    padding-top: 15px;
  }
  .menu-colapse-mobile .menu-right {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    margin-bottom: 15px;
    flex-direction: column;
  }
  .menu-colapse-mobile .menu-right .nav-link.destacado-secondary {
    margin-bottom: 15px;
  }

  .navbar-toggler-icon svg path {
    stroke: var(--buddhoom-primary, #9c8794);
  }
  .nav-item {
    border-bottom: 1px solid #ebebeb;
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  a.nav-link {
    text-align: center;
    font-weight: 600;
    color: #584a63;
  }
  a.nav-link.destacado-secondary {
    flex-direction: row;
  }

  a.nav-link.dropdown-toggle::after {
    display: none;
  }
  nav.navbar ul.dropdown-menu {
    display: block !important;
    text-align: center;
    border: none !important;
    padding-top: 0;
    margin-top: -5px;
  }
  nav.navbar ul.dropdown-menu li a {
    color: #9c8794;
  }
}

@media (max-width: 991px) {
  .bloque-grid-img .item-grid {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
  }

  .bloque-texto-img img {
    margin-bottom: 40px;
  }

  footer .footer-bottom p {
    text-align: center;
  }
  footer .footer-bottom-right {
    align-items: center;
  }
  footer .footer-bottom-right .lista-politicas {
    margin-top: 20px;
    flex-direction: column;
    text-align: center;
  }
  footer .footer-bottom-right .lista-politicas li {
    border: none !important;
  }

  .content-imagen.img-75 img,
  .content-imagen.img-50 img {
    width: 100%;
  }

  .content-post-single .bloque-texto-img img {
    margin-bottom: 30px;
  }
  .content-video iframe {
    width: 560px;
    max-width: 100%;
    height: 315px;
  }

  .header-bloque h2 {
    margin-bottom: 15px !important;
  }
  .header-bloque .text-btn {
    text-align: center;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
  h2,
  .header-bloque h2 {
    font-size: 1.4rem;
  }
  h3 {
    font-size: 1.1rem;
  }
  .topbar a {
    font-size: 12px;
  }
  .section-hero-home p {
    font-size: 16px;
  }
  p,
  p.lead,
  a,
  li {
    font-size: 0.8rem;
  }

  .buddhoom-header > .container {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  .buddhoom-header > .container .text-center {
    text-align: left !important;
  }

  .filtro-sidebar .form-label {
    font-size: 0.9rem;
  }
  .filtro-sidebar input,
  .filtro-sidebar select {
    font-size: 0.9rem !important;
  }
  .filtro-sidebar input::placeholder {
    font-size: 0.9rem !important;
  }
  .filtro-sidebar .filtro-fecha small {
    font-size: 0.7rem;
  }
  .filtro-sidebar .mb-4 {
    margin-bottom: 1rem !important;
  }

  .header-bloque h2::after {
    width: 70px;
    height: 5px;
    margin-top: 10px;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .btn-outline-primary,
  .btn-outline-secondary {
    font-size: 0.9rem !important;
    padding: 7px 20px !important;
  }
  .card-footer .btn,
  .card-footer .btn-primary,
  .card-footer .btn-secondary,
  .card-footer .btn-outline-primary,
  .card-footer .btn-outline-secondary {
    font-size: 1rem !important;
    padding: 10px 20px !important;
  }

  .buddhoom-hero-home h1,
  .buddhoom-hero-home p {
    text-align: center !important;
  }
}

@media (max-width: 640px) {
  .gform_wrapper.gravity-theme .ginput_complex span.name_first {
    margin-bottom: 16px;
  }
  .gform_wrapper.gravity-theme .ginput_complex span.name_last {
    margin-bottom: 0;
  }
}

/* ================================================
   BUSCADOR DE EVENTOS - HOME
   ================================================ */

.buddhoom-search-form {
  max-width: 100%;
  margin-top: 2rem;
}

.search-form-home {
  background: rgba(156, 135, 148, 0.9);
  border-radius: 50px;
  padding: 8px 15px 8px 0;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-fields-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.search-field {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  flex: 1;
  min-width: 0;
}

.search-field:last-of-type {
  border-right: none;
}

.field-icon {
  color: white;
  margin-right: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.field-icon svg {
  width: 26px;
  height: 26px;
}

.field-content {
  flex: 1;
  min-width: 0;
}

.field-label {
  display: block;
  color: white;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 5px;
}

.search-field select,
.search-field input[type="date"] {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 500;
  width: 100%;
  outline: none;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0 5px;
}

.search-field select option {
  background: #9c8794;
  color: white;
}

.search-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.date-display {
  color: white;
  font-size: 14px;
  font-weight: 500;
  display: none; /* Se mostrará con JavaScript si es necesario */
  padding: 0 5px;
}

.search-button {
  padding: 0;
  margin-left: 8px;
}

.btn-search {
  /* background: var(--buddhoom-primary, #9c8794); */
  /* color: var(--buddhoom-white, #ffffff); */
  padding: 10px 25px;
  border-radius: 27px;
  font-weight: 600;
  text-transform: uppercase;
  border: none !important;

  transition: all 0.3s ease;
  color: #9c8794;
}

.btn-search:hover {
  background-color: var(--buddhoom-primary-hover) !important;
  border-color: var(--buddhoom-primary-hover) !important;
  color: white !important;

  /* background: #f8f9fa; */
  /* transform: scale(1.05); */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); */
}

.btn-search svg {
  width: 20px;
  height: 20px;
}

/* Estilos para información de resultados */
.results-info {
  padding: 12px 0;
  border-bottom: 1px solid #dddddd;
  font-size: 0.9rem;
  color: #6c757d;
}

.results-summary .results-count {
  font-weight: 500;
  color: #495057;
}

.results-summary strong {
  color: var(--bg-btn-pri);
  font-weight: 600;
}

.results-pagination-info {
  font-size: 0.8rem;
  color: #868e96;
}

/* Estilos para eventos agrupados por tipo */
.eventos-tipo-group {
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}

.eventos-tipo-group:last-child {
  border-bottom: none;
}

.tipo-evento-title {
  color: #584a63;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}
.tipo-evento-title::after {
  content: "";
  width: 59px;
  height: 4px;
  background: #9c8794;
  display: block;
  margin-top: 12px;
  border-radius: 25px;
}

.eventos-row-hidden {
  display: none;
}

.ver-todos-btn,
.ver-menos-btn {
  border-color: #9c8894;
  color: #9c8894;
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.ver-todos-btn:hover,
.ver-menos-btn:hover {
  background-color: #9c8894;
  border-color: #9c8894;
  color: white;
  transform: translateY(-2px);
}

.eventos-grid {
  margin-bottom: 1rem;
}

/* Animación para mostrar/ocultar filas de eventos */
.eventos-grid {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.eventos-grid.eventos-row-showing {
  animation: fadeInUp 0.4s ease forwards;
}

.eventos-grid.eventos-row-hiding {
  animation: fadeOutDown 0.3s ease forwards;
}

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

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Responsive */
@media (max-width: 1199px) {
}
@media (max-width: 991px) {
}
@media (max-width: 768px) {
  .search-form-home {
    border-radius: 25px;
    padding: 6px;
  }

  .search-fields-wrapper {
    flex-direction: column;
    gap: 0;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 16px 20px;
    width: 100%;
  }

  .search-field:last-child {
    border-bottom: none;
  }

  .search-button {
    align-self: center;
    margin: 8px 0;
  }
}

@media (max-width: 480px) {
  .search-field {
    padding: 12px 16px;
  }
}


/* Estilos para la card de libro */
.book-cover {
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.book-badges .badge {
    font-size: 0.7rem;
}

.featured-badge {
    z-index: 10;
}

.book-description {
    line-height: 1.4;
}

.book-price {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .book-cover-container {
        padding: 1rem !important;
    }
    
    .book-cover {
        max-height: 200px !important;
    }
}









@media (min-width: 576px) {
}

@media (min-width: 768px) {
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}

@media (min-width: 1400px) {
}
