/* Estilos base y tipografía común */
body {
    box-sizing: border-box;
    margin: 0;
}

/* Fuentes y efectos de texto comunes */
h1, h2, h3, h4, h5, h6, a, li, p, .ini_sed, .ini_enla, span, .first_button, .font_val {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    word-spacing: 1.5px;
    letter-spacing: 0.2px;
}


/* Encabezados específicos */
h1 {
    text-align: left;
    margin: auto;
    letter-spacing: 1px;
}

h3 {
    letter-spacing: 1px;
    text-align: left;
}

h3.modal-title {
    text-align: center;
}

h4{
    font-weight: normal;
    letter-spacing: 1px;
}

h4 {
    text-align: center;
}

h5 {
    font-weight: normal;
    color: black;
    text-decoration: none;
}

/* Elementos de texto */
a {
    text-decoration: none;
}

li {
    color: rgb(97, 97, 97);
}

p {
    text-decoration: none;
    font-size: 18px;
}

.ini_sed{
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.font_val{
    font-size: 17px;
}

.text-phone{
    font-size: 30px;
}

.text-phone-lg{
    font-size: 26px;
}

.text-sub-phone{
    font-size: 22px;
}

/*Estilos titulos y subtitulos de los sliders*/
.titulo_info{
    display: block;
    text-align: left;
    margin: 0 auto;
    font-size: 3rem;
    padding: 0;
    color: #97d700;
    font-family: 'Gill Sans', 'Gill Sans MT', roboto, 'Trebuchet MS', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 10);
}

.subtitulo_info{
    text-align: left;
    margin: 0 auto;
    font-size: 2rem;
    padding: 0;
    color: white;
    padding-bottom: 10px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 10);
}

.first_button{
    display: block;
    text-align: center;
    margin: 0 auto;
    font-size: 1rem;
    padding: 0;
    font-weight: bold;
}


/* Header */
header {
    z-index: 1000;
    text-align: justify;
    margin: auto;
    background-color: black;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Imágenes */
.img_logo {
    max-width: 250px;
    height: auto;
    background: white;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 8px 20px 8px 8px;
    display: block;
}


.logo-container {
    position: relative;
    z-index: 1;
    margin-right: 60px;
}

.logo-container::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    right: 0;
    background-color: white;
    z-index: -1;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
}

.image_slider {
    text-align: center;
    margin: auto;
    max-height: 650px;
    width: 100vw;
    display: block;
    object-fit: cover;
}

.slider-full .carousel-inner,
.slider-full .carousel-item,
.slider-full .image_slider {
    height: 100%;
    max-height: 650px;
}

.slider-full .image_slider {
    width: 100vw;
    object-fit: cover;
    height: 100%;
    max-height: 650px;
    display: block;
}

/*navbar*/
.conta_header2 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar {
    min-height: 36px; /* Reduce la altura mínima */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-nav .nav-item {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-nav .nav-link {
    padding-top: 0.2rem !important;
    padding-bottom: 0.2rem !important;
    font-size: 1rem; /* O más pequeño si lo deseas */
    line-height: 1.1;
}

/* Navegación */
.nav-item {
    text-align: center;
    padding: 5px;
}

.nav-link {
    font-size: 0.85rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.icon-link {
    text-decoration: none !important;
}

.navbar-nav .nav-link {
    font-weight: bold;
}

/* Redes sociales */
.redes {
    transition: transform 0.3s ease;
    font-size: 25px;
}

.redes:hover {
    transform: scale(1.3);
}

/* Cards de productos */
.card_prod {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 200px;
    overflow: hidden;
    cursor: pointer;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.card_prod > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card-body {
    text-align: center;
}

.card-title {
    text-align: center;
    width: 100%;
    max-height: 25px;
}

/* Botones */
.btn.ver-mas {
    width: 100%;
    margin: auto;
    margin-bottom: 5px;
    text-align: center;
}

.ver-mas {
    justify-content: center;
}

.btn-evento {
    min-width: 220px;
    text-align: center;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.pagination .page-item {
    margin: 0 2px;
}

.pagination .page-link {
    color: #000;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px !important;
    padding: 6px 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    box-shadow: none !important;
}

.pagination .page-item.active .page-link {
    color: whitesmoke;
    background-color: #007a33;
    border-color: #007a33;
    font-weight: bold;
}

.pagination .page-link:hover {
    color: black;
    background-color: #f0f0f0;
    border-color: #ccc;
}

@media (max-width: 576px) {
  .pagination-wrapper {
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    }

  .pagination .page-item {
    display: inline-block;
    }
    .pagination .page-item.active,
    .pagination .page-item.prev,
    .pagination .page-item.next {
        display: inline-block;
    }
}



/* Video */
video {
    margin: auto;
    border-radius: 5px;
    width: 400px;
    height: 240px;
    object-fit: cover;
    border: 2px solid black;
}

/* Separador */
.linea {
    margin: 20px auto;
    border: 0;
    width: 100%;
    height: .100rem;
    background-image: linear-gradient(to right, transparent, #000000, transparent);
}
.linea2 {
    margin: 20px auto;
    border: 0;
    width: 100%;
    height: .100rem;
    background-image: linear-gradient(to right, transparent, #ffff, transparent);
}

/* Contenedores de imagen */
.image-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-top {
    width: 100%;
    height: 100%;
    max-height: 150px;
    object-fit: cover;
    object-position: center;
}

.card-img-modal{
    width: 100%;
    height: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

.card {
    padding: 0;
}


/* Footer */

.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 30px 30px 20px 30px;
  color: #2f2f2f;
  background-color: #eee6d3;
  border-top: 1px solid #e5e5e5;
}

.table{
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  letter-spacing: 1px;
  word-spacing: 2px;
  text-align: center;
  max-width: 400px;
}

/* Slider info */
.carousel-item {
    position: relative;
}

.slider-info {
    position: absolute;
    top: 50%;
    left: 430px;
    transform: translateY(-50%);
    padding: 20px;
    text-align: left;
    z-index: 10;
    max-width: 1000px;
}

/* Filtros de productos */
#prod_dest .nav-link {
    position: relative;
    padding: 0 !important;
    margin-top: 25px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

#prod_dest .nav-link .filt_option {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 5px;
}

#prod_dest .nav-link i.far.fa-circle {
    font-size: 2rem;
    order: 1;
}

#prod_dest .nav-link h5 {
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
    order: 2;
}

#prod_dest .nav-link.active-category::before,
#prod_dest .nav-link.active-category::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    border-radius: 50%;
    border: 7px solid transparent;
    aspect-ratio: 1;
}

#prod_dest .nav-link.active-category::before {
    width: 100px;
    height: 100px;
    border-left-color: #007a33;
    z-index: -1;
}

#prod_dest .nav-link.active-category::after {
    width: 100px;
    height: 100px;
    border-right-color: #97d700;
    z-index: -2;
}

.prod_hov:hover{
    transform: scale(1.1);
    transition: transform 0.6s ease;
}

/* Animacion del circulo productos - index */
@keyframes rotateClockwise {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Modifica los pseudo-elementos para aplicar la animación */
#prod_dest .nav-link.active-category::before,
#prod_dest .nav-link.active-category::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    border-radius: 50%;
    border: 7px solid transparent;
    aspect-ratio: 1;
    animation: rotateClockwise 7s linear infinite;
}

#prod_dest .nav-link.active-category::before {
    width: 200px;
    height: 200px;
    border-left-color: #007a33;
    z-index: -1;
}

#prod_dest .nav-link.active-category::after {
    width: 200px;
    height: 200px;
    border-right-color: #97d700;
    z-index: -2;
}
@media (max-width: 767.98px) {
  #prod_dest .nav-link.active-category::before,
  #prod_dest .nav-link.active-category::after {
    width: 180px;
    height: 180px;
  }
}

/*Estilos circulo 2*/
/* Estilos comunes para ambos modos */
.img_valor {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.font_val {
    position: relative;
    z-index: 2;
}

/* Animación común */
@keyframes rotateClockwise {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Estilos para desktop */
.valor-item {
    padding: 40px 0;
    min-height: 200px;
}

.valor-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 7px solid transparent;
    animation: rotateClockwise 7s linear infinite;
    z-index: 1;
}

.valor-item:nth-child(1) .valor-circle {
    border-left-color: #007a33;
    border-right-color: #97d700;
}

.valor-item:nth-child(2) .valor-circle {
    border-top-color: #007a33;
    border-bottom-color: #97d700;
    animation-delay: 0.5s;
}

.valor-item:nth-child(3) .valor-circle {
    border-left-color: #97d700;
    border-right-color: #007a33;
    animation-delay: 1s;
}

.valor-item:nth-child(4) .valor-circle {
    border-top-color: #97d700;
    border-bottom-color: #007a33;
    animation-delay: 1.5s;
}

/* Estilos para móvil */

.valor-circle-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 7px solid transparent;
    animation: rotateClockwise 7s linear infinite;
    z-index: 1;
}

.carousel-item:nth-child(1) .valor-circle-mobile {
    border-left-color: #007a33;
    border-right-color: #97d700;
}

.carousel-item:nth-child(2) .valor-circle-mobile {
    border-top-color: #007a33;
    border-bottom-color: #97d700;
}

.carousel-item:nth-child(3) .valor-circle-mobile {
    border-left-color: #97d700;
    border-right-color: #007a33;
}

.carousel-item:nth-child(4) .valor-circle-mobile {
    border-top-color: #97d700;
    border-bottom-color: #007a33;
}

    
/* Transiciones */
.fade-transition {
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
}

.fade-in {
    opacity: 1;
}

/* Header contactos */
.conta_header ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.conta_header li p,
.conta_header li div {
    margin: 0;
}

.btn_sed {
    max-height: 30px;
    margin: 0;
    padding: 0;
}

.btn_sed p {
    margin: 0;
}

/* Menú de filtros */
.filter-menu {
  width: 300px;
  font-family: sans-serif;
  padding: 15px;
  text-align: center;
}

.filter-item {
  display: flex;
  flex-direction: column;
  padding: 5px 0;
  align-content: space-around;
}

.filter-header-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-title, .title_option {
  text-align: center;
  cursor: pointer;
}

.title_option {
  font-size: 28px;
}

.title_principal {
  font-size: 32px;
}

.filter-toggle::after {
  content: "+";
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

/* Cambia el "+" a "-" cuando el menú principal esté abierto */
#productos-toggle:checked + label .filter-toggle::after {
  content: "-";
}

/* Cambia el "+" a "-" cuando un submenú esté abierto */
.sub-toggle:checked + label .filter-toggle::after {
  content: "-";
}

/* Filtro principal cerrado por defecto */
.filter-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 10px;
}

/* Filtro principal abierto */
#productos-toggle:checked + label + .filter-options {
  max-height: 1000px; /* suficiente para mostrar el contenido */
}

/* Submenús ocultos por defecto */
.sub-filter-options {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

/* Submenús visibles cuando el checkbox está activo */
.sub-toggle:checked + label + .sub-filter-options {
  max-height: 500px;
}

/* Estética adicional */
.filt_option {
  padding: 3%;
  cursor: pointer;
}

.filter-menu .filter-item {
  margin-bottom: 0.3rem;
  padding-bottom: 0.3rem;
}

.filter-menu .linea {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.filter-menu label,
.filter-menu .filter-header-item {
  margin-bottom: 0.2rem;
}

.filter-menu .filter-options label {
  margin-bottom: 0.1rem;
}

  /*Animaciones con css para el filtro*/

.sub-filter-options {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s ease, opacity 0.7s ease;
  pointer-events: none;
}

.sub-toggle:checked + label + .sub-filter-options {
  max-height: 1000px; /* suficientemente alto para todo el contenido */
  opacity: 1;
  pointer-events: auto;
}




/* Media Queries */
@media (min-width: 768px) {
    .card_prod {
        width: 30%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    video {
        max-width: 250px;
        max-height: 150px;
        object-fit: cover;
        margin: auto;
    }
    
    li {
        text-align: left;
        margin: auto;
        padding: 0;
    }
    .slider-info {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
        padding: 10px;
        font-size: 0.5rem;
        text-align: center;
        border-radius: 5px;
        z-index: 10;
    }
}

@media (max-width: 767.98px) {
    .slider-container {
        padding: 0;
    }
    
    .image_slider {
        max-height: 40vh;
        object-fit: cover;
    }
    
    .custom-indicators {
        bottom: 5px;
    }
    
    .slider-button {
        padding: 0.15rem 0.3rem;  
        font-size: 0.7rem;        
        min-width: 30px;         
    }

    .slider-button span {
        font-size: 0.5rem;     
    }

    .titulo_info {
        text-align: left;
        font-size: 1.8rem;
    }

    .subtitulo_info{
        text-align: center;   
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
  .carousel-item {
    aspect-ratio: 16 / 9; /* Ejemplo de relación de aspecto 16:9, ajusta según tus imágenes */
  }

  .image_slider {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}


@media (max-width: 767.98px) { /* Estilos para pantallas pequeñas (teléfonos) */
    footer > section > div.container > div.row {
        flex-direction: column; /* Apilar los elementos verticalmente */
        text-align: center; /* Centrar el texto dentro de cada elemento */
    }

    footer > section > div.container > div.row > div {
        width: 100% !important; /* Ocupar todo el ancho */
        margin-bottom: 20px; /* Espacio entre los elementos apilados */
    }

    footer > section > div.container > div.row > div:last-child {
        margin-bottom: 0; /* Eliminar el margen inferior del último elemento */
    }

    footer > section > div.container > div.row.justify-content-xl-between {
        justify-content: center !important; /* Centrar los elementos en pantallas pequeñas */
    }

    footer > div.py-4 > div.container > div.row {
        flex-direction: column; /* Apilar elementos del copyright y redes sociales */
        text-align: center; /* Centrar texto */
    }

    footer > div.py-4 > div.container > div.row > div {
        width: 100% !important; /* Ocupar todo el ancho */
        order: initial !important; /* Restablecer el orden */
        margin-bottom: 10px; /* Espacio entre copyright y redes */
    }

    footer > div.py-4 > div.container > div.row > div.social-media-wrapper ul {
        justify-content: center !important; /* Centrar iconos de redes sociales */
    }
}

/* Botón flotante de WhatsApp */
.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem; /* Mejor usar rem para escalabilidad */
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.15);
    animation: breathe 2s ease-in-out infinite;
    transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.whatsapp-btn:hover, .whatsapp-btn:focus {
    background-color: #128C7E;
    transform: scale(1.05);
    box-shadow: 0 6px 32px rgba(18, 140, 126, 0.18);
    outline: none;
}

.whatsapp-btn i {
    color: #fff;
    font-size: 2.3rem;
    animation: beat 2s ease-in-out infinite;
    text-decoration: none;
    transition: color 0.2s;
}

/* Animación contorno respirando */
@keyframes breathe {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Animación icono latiendo */
@keyframes beat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.18);
    }
}

/* Posición del botón flotante */
.btn-group.dropup {
    position: fixed !important;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
}

/* Responsive para el botón flotante */
@media (max-width: 768px) {
    .btn-group.dropup {
        bottom: 110px;
        right: 20px;
    }
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    .whatsapp-btn i {
        font-size: 1.7rem;
    }
}

@media (max-width: 576px) {
    .btn-group.dropup {
        bottom: 90px;
        right: 10px;
    }
}

/* Estilos para el menú desplegable de WhatsApp */
.dropdown-menu {
    width: 320px;
    max-height: 70vh;
    overflow-y: auto;
    border: none;
    border-radius: 15px !important;
    padding: 0;
    background: transparent;
    animation: fadeInUp 0.4s ease-out;
    box-shadow: none;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Elimina el subrayado del botón de WhatsApp */
.whatsapp-btn {
    text-decoration: none !important;
}
/* Estilos para la sección WhatsApp */
#whatsapp .card {
    max-width: 24rem;
    margin: 2rem auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    border: none;
    background: #f8f9fa;
}

#whatsapp .card-header {
    background: #e9ecef;
    border-bottom: none;
    text-align: center;
    padding: 1.5rem 1rem 1rem 1rem;
}

#whatsapp .card-header img {
    max-width: 160px;
    height: auto;
}

#whatsapp .list-group-item {
    border: none;
    background: transparent;
    transition: background 0.2s;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

#whatsapp .whatsapp-link:hover .list-group-item,
#whatsapp .whatsapp-link:focus .list-group-item {
    background: #e6f4ea;
    cursor: pointer;
}

#whatsapp .fab.fa-whatsapp {
    font-size: 1.7rem;
    color: #25D366;
    margin-right: 0.7rem;
}

#whatsapp .whatsapp-address {
    font-weight: 600;
    color: #222;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    #whatsapp .card {
        max-width: 98vw;
    }
    #whatsapp .card-header img {
        max-width: 120px;
    }
    #whatsapp .list-group-item {
        font-size: 1rem;
        padding: 0.6rem 0.5rem;
    }
}
/* Aumenta el tamaño de los íconos de WhatsApp en la lista solo en modo teléfono */
@media (max-width: 576px) {
  .list-group-item .fa-whatsapp {
    font-size: 2.2rem !important;
    margin-left: 30px;
  }
}


/*Contenedores*/

.contenedor-reducido {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.container-footer{
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

/*Tarjetas*/

.tarjeta-servicio {
    max-width: 200px;
    width: 100%;
    margin-left: 4px;
    margin-right: 4px;
}

.tarjeta-servicio .card-body {
  padding: 1rem;
  height: 100%;
}

/* Estilos tarjeta sedes */


#carouselExample .card2 {
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: transform 0.3s ease;
  max-width: 300px;
  width: 100%;
}

.card-body2 {
    text-align: center;
}

.card-title2 {
    text-align: center;
    width: 100%;
}

.card2 {
    background: #fff;
    border-radius: 12px;
    padding: 20px 10px;
    min-height: 300px; /* Ajusta según tu diseño */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-body2 {
    padding: 10px 8px 8px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Espacio entre los elementos internos */
}

.card-title2 {
    margin: 10px 0 8px 0;
    font-size: 1.1rem;
}

.sed_dat {
    padding-left: 0;
    margin-bottom: 12px;
    list-style: none;
}

.sed_dat li {
    margin-bottom: 6px;
    font-size: 0.97rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4px;
}

.btn_vermas {
    margin-top: 10px;
}

@media (max-width: 768px) {
  #carouselExample .card2 {
      max-width: 250px;
      margin: 0 auto;
  }
}

/*Estilos mapa id*/

#googleMap {
    width: 100%;
    height: 760px;
    border-radius: 10px;
    margin-top: 25px; /* Este margen se aplicará por defecto */

}

/* Media query para dispositivos con un ancho máximo de 767px (típicamente teléfonos) */
@media (max-width: 767px) {
    #googleMap {
        margin-top: 5px !important; /* Anula el margin-top para pantallas pequeñas */
        width: 100%;
        height: 650px;
    }
}


/*Estilos img productos */
/* Agrega esto a tu CSS */
/* Circulo blanco que ocupa toda la altura del contenedor padre */
.circle-img-container {
    background: #fff;
    border-radius: 50%;
    aspect-ratio: 1/1;
    max-height: 70px; 
    min-width: 70px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
} 


/* Estilos menu desplegable del header*/

.dropdown-hover {
    position: relative; /* Es crucial para que el menú desplegable se posicione correctamente */
}

/* Estilos para el submenú (inicialmente oculto) */
.dropdown-hover .dropdown-menu {
    display: none; /* Oculta el menú desplegable por defecto */
    position: absolute; /* Permite posicionarlo con 'top', 'left', etc. */
    top: 100%; /* Coloca el menú justo debajo del elemento padre */
    left: 0; /* Alinea el menú a la izquierda del elemento padre */
    z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
    background-color: #53565a; /* Color de fondo del menú */
    width: 200px; /* Ancho fijo para el menú */
    padding: 0;
    margin: 0;
    list-style: none; /* Remueve los puntos de la lista */
}

/* Muestra el submenú cuando se pasa el ratón por encima del elemento padre */
.dropdown-hover:hover .dropdown-menu {
    display: block; /* Muestra el menú cuando el usuario pasa el ratón por encima */
}

/* Estilos para los elementos individuales del menú */
.dropdown-hover .dropdown-item {
    color: white; /* Color del texto */
    padding: 10px 12px; /* Espaciado interno */
    display: block; /* Hace que cada enlace ocupe todo el ancho del li */
    text-decoration: none; /* Quita el subrayado de los enlaces */
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
}

/* Efecto hover para los elementos del menú */
.dropdown-hover .dropdown-item:hover {
    background-color: #97d700; /* Cambia el color de fondo al pasar el ratón */
    color: #fff; /* Asegura que el texto siga siendo blanco */
}

/* Asegura que el contenedor del icono y texto del link principal se alinee bien */
.icon-link {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra el contenido horizontalmente si es necesario */
}


/* Estilos contenedor horizontal */
.horizontal-scroll-container {
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; 
    scrollbar-color: #888 #f1f1f1; 
    padding-bottom: 15px;
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 10px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
    }
    .ubi_img_1{
        max-height: 200px;
    }
}

/*Estilos para la imagen de UBI */
.ubi_img_1{
    width: 100%;
    max-height: 520px;
    display: block;
    object-fit: cover;
}
@media (max-width: 767.98px) {
    .ubi_img_1 {
        object-fit: cover;
        max-height: 210px;
        height: 100%;
    }
}
/*Estilos para la imagen de eventos*/
.img_event{
    width: 100%;
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 40px;
    padding: 20px;
}

/* Estilo para centrar el icono y el texto "Taller:" */
.centrar-icono-texto {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Espacio entre icono y texto (opcional) */
}

/* Ajuste del icono (Font Awesome) */
.centrar-icono-texto .fa-tools {
    margin-top: 0; /* Elimina el margen superior si es necesario */
}

/* Asegurar que el texto "Taller:" y el nombre del taller estén alineados */
.subtitulo-evento {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
}

/* Estilo base (móviles) */
.image-container {
    max-width: 200px; /* Ancho reducido en móvil */
    width: 100%;
    margin: 0 auto; /* Centrado */
}

/* Ajuste para pantallas medianas/grandes (tablet/desktop) */
@media (min-width: 768px) { /* Breakpoint "md" de Bootstrap */
    .image-container {
        max-width: 300px; /* Ancho mayor en desktop */
    }
}





@media (max-width: 767.98px) {
    .img_event {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 20px;
        padding: 10px;
        margin-top: 10px;
    }
    .card.flex-row {
        flex-direction: column !important;
        text-align: center;
    }
    .card.flex-row .d-flex.align-items-center.justify-content-center {
        order: 1;
        width: 100%;
        justify-content: center !important;
        margin-bottom: 1rem;
    }
    .card.flex-row .card-body {
        order: 2;
        width: 100%;
        text-align: center;
    }
}


/* Estilos para el contenedor del texto de la imagen UBI */
.conta_header2 {
    position: relative;
    padding: 0;
    margin: 0;
}

.texto-superpuesto {
  position: absolute; 
  top: 50%;
  left: 50%; /* Centra horizontalmente */
  transform: translate(-50%, -50%);
  width: 50%; /* Reduce el ancho para evitar desbordes */
  max-width: 100%;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 5px;
}

.texto-superpuesto2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-10%, -50%);
    font-size: 3em;
    text-align: center;
    padding: 20px;
    z-index: 10;
}

.texto-superpuesto3 {
  position: absolute; 
  top: 50%;
  left: 50%; /* Centra horizontalmente */
  transform: translate(-50%, -50%);
  width: 50%; /* Reduce el ancho para evitar desbordes */
  max-width: 100%;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0 5px;
}
.ubi_img_1 {
  width: 100%; 
  height: auto; 
  display: block; 
}

@media (max-width: 480px) {
  .texto-superpuesto3{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    text-align: center;
    padding: 0 5px;
  }
  .texto-superpuesto{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    text-align: center;
    padding: 0 5px;
  }
  .texto-superpuesto .titulo_info {
    font-size: 1.2rem;
    line-height: 1.2;
    text-align: center;
    left: unset;
    top: unset;
  }
  .texto-superpuesto3 .titulo_info {
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    left: unset;
    top: unset;
  }
}

/*Estilos botones */
.btn-categoria {
    min-width: 200px;
    text-align: center;
    white-space: normal;
}
.btn-eventos {
    max-width: 250px;
    max-height: 200px;
    text-align: center;
    white-space: normal;
}

/* Estilos para sedes en modo telefono */


/*Estilos para el scroll de sedes*/

.sede-card-ancha {
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.sede-fade {
    opacity: 1;
    transition: opacity 0.4s;
}
.sede-fade.hide {
    opacity: 0;
}

/*Estilos para slider segundario*/
#slider_sec {
    overflow: hidden;
    width: 100%;
}

.slider-container {
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slider {
    width: 75vw;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slider .slide-track {
    display: flex;
    animation: scroll 30s linear infinite; /* Velocidad de desplazamiento */
    width: calc(200px * 10); /* 5 slides originales + 5 duplicadas = 10 */
}

.slider .slide {
    width: 200px;
    flex-shrink: 0; /* Evita que las slides se encojan */
}

.slider .slide img {
    width: 100%;
    padding: 5%;
}

/* Animación para desplazamiento infinito */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5)); /* Mueve solo el ancho de las 5 slides originales */
    }
}

/* Estilos para las imágenes (opcional, ajusta según necesites) */
.img_slide {
    display: block;
    height: 100%;
    margin-right: 20px;
    max-width: 140px;
    max-height: 120px;
    transition: transform 0.3s ease;
}

.img_slide:hover {
    transform: scale(1.1);
}

.img_valor {
    display: block;
    height: 100%;
    object-position: center;
    margin: 0;
    max-width: 110px;
    max-height: 70px;
    margin-bottom: 20px;
}

.img_cate_index {
    display: block;
    height: 100%;
    object-position: contain;
    margin: 0;
    max-width: 70px;
    max-height: 70px;
    margin-bottom: 20px;
    padding: 0;
}

.img_cate_mela{
    display: block;
    height: 100%;
    margin: 0;
    max-width: 150px;
    max-height: 150px;
    padding: 0;
}

/*Estilos los botones de sedes*/

.btn-categoria {
    background: #fff !important;
    color: #198754 !important;
    border: 2px solid #198754 !important;
    transition: background 0.2s, color 0.2s;
}

.btn-categoria.active,
.btn-categoria:active {
    background: #198754 !important;
    color: #fff !important;
    border: 2px solid #198754 !important;
}

/* Estilos para el formulario*/

.form-control.form-control-sm {
    height: 48px;
    font-size: 1.1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-family: 'Poppins', 'Montserrat', system-ui, sans-serif;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    word-spacing: 1px;
    letter-spacing: 0.3px;
    font-weight: 400;
}

/*Estilos imagenes de testitmonios*/
.img_testi {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 767.98px) {
    .img_testi {
        width: 200px;
        height: 200px;
    }
}

/*Estilos galeria de imagenes eventos*/

.image-container {
    /* Tamaño controlable - ajusta según necesites */
    width: 100%;
    height: 200px; /* Puedes cambiar este valor */
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0; /* Color de fondo mientras carga */
    border-radius: 10px;
}

.object-fit-cover {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.linea2 {
    border-top: 1px solid #fff;
    width: 100%;
    margin: 0.5rem auto;
}

/* Responsive */
@media (max-width: 768px) {
    .image-container {
        height: 180px; /* Tamaño diferente para tablets */
    }
}

@media (max-width: 576px) {
    .image-container {
        height: 150px; /* Tamaño para móviles */
    }
}


/* Para pantallas pequeñas puedes ajustar el tamaño */
@media (max-width: 768px) {
    .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/*Estilos canvas*/

/* Offcanvas fondo negro y texto claro */
.offcanvas.offcanvas-end.text-bg-dark,
.offcanvas.offcanvas-end.text-bg-dark .offcanvas-header,
.offcanvas.offcanvas-end.text-bg-dark .offcanvas-body {
    background-color: #111 !important;
    color: #fff !important;
}

/* Enlaces de la lista de sedes en negro y texto blanco */
.offcanvas.offcanvas-end.text-bg-dark .list-group-item {
    background-color: #111 !important;
    color: #fff !important;
    border: none;
    transition: background 0.2s, color 0.2s;
}

.offcanvas.offcanvas-end.text-bg-dark .list-group-item:hover,
.offcanvas.offcanvas-end.text-bg-dark .list-group-item:focus {
    background-color: #222 !important;
    color: #97d700 !important;
    text-decoration: none;
}

.offcanvas.offcanvas-end.text-bg-dark .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    background-color: transparent !important;
    opacity: 1;
}

/*Estilos navbar header*/
@media (max-width: 767.98px) {
    .conta_header2 .navbar-toggler {
        background-color: #fff !important;
        border-radius: 20%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 12px auto 12px auto;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        transition: background 0.2s, border 0.2s;
    }
    .conta_header2 .navbar-toggler:focus,
    .conta_header2 .navbar-toggler:hover {
        border-color: #97d700 !important;
    }
    .conta_header2 .navbar-toggler .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,122,51,1)' stroke-width='4' stroke-linecap='round' stroke-miterlimit='10' d='M6 8h20M6 16h20M6 24h20'/%3E%3C/svg%3E");
        width: 28px;
        height: 28px;
    }
    .conta_header2 .navbar-nav .nav-link {
        font-size: 1rem;
        margin-top: 8px;
    }
}


/* Cambia el color de la pregunta seleccionada */
.accordion-button:not(.collapsed) {
    background-color: #198754 !important; /* Verde Bootstrap */
    color: #fff !important;
}

/* Cambia el color del contenido abierto */
.accordion-collapse.show .accordion-body {
    background-color: #e9f7ef !important; /* Verde claro */
    color: #222 !important;
}

/* Centrar imagen de sede solo en modo móvil */
@media (max-width: 767.98px) {
    .sede-card-ancha .d-flex.justify-content-center {
        justify-content: center !important;
        margin-right: 0 !important;
        margin-top: 30px;
    }
    .sede-card-ancha img {
        display: block;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 1px;
        /* Eliminar margen derecho forzado en móvil */
        margin-right: 0 !important;
        /* Asegurar que el ancho no se vea afectado */
        width: 220px !important;
        height: 170px !important;
    }
}

.card-text strong {
    display: flex !important;
    align-items: flex-start !important; /* Alinea el contenido arriba */
    gap: 0.5rem !important;
    white-space: nowrap !important; /* Evita que "Horario:" se rompa en 2 líneas */
}

.card-text strong span {
    white-space: nowrap; /* Mantiene "Horario:" en una sola línea */
}

.card-text {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
    margin-left: 10px;
}

/* Ajuste para que el texto del horario no se monte sobre el ícono */
.card-text > :not(strong) {
    margin-left: calc(1.5rem + 0.5rem); /* Ancho del ícono + gap */
    flex: 1; /* Ocupa el espacio restante */
    min-width: 100%; /* Fuerza salto de línea */
}


/* Seccion  de cards testimonios*/

@media (max-width: 767.98px) {
    .mt-escalon-1,
    .mt-escalon-2 {
        margin-top: 0 !important;
    }
}
@media (min-width: 768px) {
    .mt-escalon-1 {
        margin-top: 50px !important;
    }
    .mt-escalon-2 {
        margin-top: 100px !important;
    }
}

/*Estilos seccion opciones de compra*/
.opciones-compra-section {
    padding: 40px 0 20px 0;
}

.opciones-compra-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 28px 24px 28px;
    margin: 0 auto 32px; /* Centrado horizontal con margen inferior */
    transition: box-shadow 0.2s;
    border: 1px solid #e0e0e0;
    max-width: 800px;
}

.opciones-tarjeta{
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    padding: 32px 28px 24px 28px;
    margin: 0 auto 32px; /* Centrado horizontal con margen inferior */
    transition: box-shadow 0.2s;
    border: 1px solid #e0e0e0;
    max-width: 1000px;
}

.opciones-compra-card:hover {
    box-shadow: 0 8px 32px rgba(0,122,51,0.13);
    border-color: #b6e2c6;
}

.opciones-compra-card h3 {
    color: black;
    font-weight: 700;
    margin-bottom: 18px;
}

.opciones-compra-card h5 {
    color: #444;
    font-size: 1.08rem;
}

.opciones-compra-card .btn-evento {
    padding: 10px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,122,51,0.08);
    transition: background 0.2s;
}

.opciones-compra-card .btn-evento:hover {
    background: #005a24;
    color: #fff;
}

@media (max-width: 767.98px) {
    .opciones-compra-card {
        padding: 20px 12px 16px 12px;
    }
}


/*Estilos para seccion pagos seguros*/
.pagos-seguros-section {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.pagos-seguros-title {
    color: #007a33;
    font-weight: 700;
    letter-spacing: 1px;
}

.pagos-metodos {
    background: #fff;
    border-radius: 16px;
    padding: 24px 0 16px 0;
    box-shadow: 0 2px 12px rgba(0,122,51,0.06);
    margin-bottom: 32px
}

.pagos-metodos img {
    filter: grayscale(0.2);
    transition: filter 0.2s, transform 0.2s;
    margin: 0 12px 12px 12px;
    vertical-align: middle;
}
.pagos-metodos img:hover {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1.07);
}

.pagos-seguros-section h2 {
    color: #222;
    font-size: 2rem;
    font-weight: 700;
}

.pagos-seguros-section h5 {
    color: #444;
    font-size: 1.1rem;
    font-weight: 400;
}

.pagos-seguros-section ul {
    margin-top: 12px;
    margin-bottom: 18px;
}

.pagos-seguros-section ul li {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.pagos-seguros-section .btn-evento {
    font-size: 1.1rem;
    padding: 10px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,122,51,0.08);
    transition: background 0.2s;
}

.pagos-seguros-section .btn-evento:hover {
    background: #005a24;
    color: #fff;
}

@media (max-width: 767.98px) {
    .pagos-metodos img {
        max-width: 120px !important;
        margin: 0 6px 12px 6px;
    }
    .pagos-seguros-section h2 {
        font-size: 1.3rem;
    }
}

/* Estilos por defecto para pantallas más grandes (opcional, si ya no los tienes) */
.titu_taller {
    font-size: 1.9rem;
}

/* Media Query para teléfonos (pantallas pequeñas) */
@media (max-width: 767.98px) { 
    .titu_taller {
        font-size: 1.6rem;
        padding-bottom: 30px;
    }
}


/* Oculta la sección principal si el checkbox no está marcado */
#maderas_tableros-toggle:not(:checked) + .filter-options {
display: none;
}

#maderas_tableros-toggle:checked + .filter-options {
display: block;
}

/* Oculta los subfiltros por defecto */
.sub-toggle:not(:checked) + .sub-filter-options {
display: none;
}

.sub-toggle:checked + .sub-filter-options {
display: block;
}

/* Opcional: cursor en los labels para parecer botones */
label {
cursor: pointer;
}
  
/* Iconos blancos cuando la pregunta está activa */
.accordion-button:not(.collapsed) i { color: #fff !important; }
/* Tamaños de fuente mejorados en la sección FAQ */
#faqDespiece .accordion-button { font-size: 1.15rem; }
#faqDespiece .accordion-button i { font-size: 1.25rem; }
#faqDespiece .accordion-body { font-size: 1.05rem; }
#faqDespiece .accordion-button i { transition: color .15s ease; }
@media (max-width: 767.98px) {
    #faqDespiece .accordion-button:not(.collapsed) i { color: #fff !important; }
}
@media (min-width: 768px) {
    #faqDespiece .accordion-button { font-size: 1.25rem; }
    #faqDespiece .accordion-button i { font-size: 1.35rem; }
    #faqDespiece .accordion-body { font-size: 1.15rem; }
}
        
/* Estilo para enlace activo en el header - MÁS NEGRITA */
.nav-link.active-product {
    font-weight: 900 !important; /* 900 es el máximo de negrita */
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.8);
    transform: scale(1.05); /* Leve aumento de tamaño */
    transition: all 0.2s ease;
}

/* Para la versión móvil */
.navbar-nav .nav-link.active-product {
    font-weight: 900 !important;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

/* Efecto hover para mejor visibilidad */
.nav-link.active-product:hover {
    transform: scale(1.08);
}