@charset "UTF-8";
/* CSS Document */

/*
Theme Name: avezartheme
Description: Tema privado desarrollado desde cero exclusivamente para la web de nuestro cliente , prohibida su copia o reproducción.
Author URI:  https://www.seowebb.es
Author:  seowebb
Version: 1.0
*/

@media (min-width: 992px) {
  .animate {
    animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(1rem);
    opacity: 0;
  }

  100% {
    transform: translateY(0rem);
    opacity: 1;
  }

  0% {
    transform: translateY(1rem);
    opacity: 0;
  }
}

@-webkit-keyframes slideIn {
  0% {
    -webkit-transform: transform;
    -webkit-opacity: 0;
    transform: transform;
  }

  100% {
    -webkit-transform: translateY(0);
    -webkit-opacity: 1;
      transform: translateY(0);
  }

  0% {
    -webkit-transform: translateY(1rem);
    -webkit-opacity: 0;
      transform: translateY(1rem);
  }
}

.slideIn {
  -webkit-animation-name: slideIn;
  animation-name: slideIn;
}


.header_main .top_bar a{
    color:#fff;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: .1rem;
}

/* --- Efecto de línea expansiva en el menú principal --- */

.header_main .nav-link {
    position: relative;
    padding-bottom: 5px; /* Espacio para la línea */
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: .1rem;
}

/* Creamos la línea con un pseudoelemento ::after */
.header_main .nav-link::after {
    content: '';
    position: absolute;
    width: 0; /* Empieza con ancho cero */
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #292929; /* O pon tu color corporativo, ej: #007bff */
    transition: width 0.3s ease-in-out;
}

.header_main .nav-link.dropdown-toggle::after{
    background-color: transparent;
}

/* Al pasar el ratón (hover), la línea crece al 100% */
.header_main .nav-link:hover::after {
    width: 100%;
}

/* Para que la página activa también tenga la línea fija (opcional) */
.header_main .nav-item.current-menu-item .nav-link::after {
    width: 100%;
}

.header-fixed{		
	width: 100%;
	-webkit-transition: all ease 500ms;
  	-moz-transition: all ease 500ms;
 	transition: all ease 500ms;
	position: fixed;
	z-index: 9999;
	top: 0;
	background-color: #fff;
}


/* Ajuste para que los elementos del submenú NO tengan este efecto (si no quieres) */
.dropdown-menu .nav-link::after {
    display: none;
}



header .dropdown-menu
{
	margin:  0px;
	min-width: 250px;
	background-color: #fff !important;
	-webkit-transition: all 500ms;
	-moz-transition: all 500ms;
	transition: all 500ms;
	border-radius: 0;
	z-index: 999999;
    /* box-shadow: -10px 10px 0px 0px #f2f2f2;*/
	
}

header .dropdown-menu{
    margin: 0;
    padding: 0;
}


/* Aseguramos que el submenú se oculte normalmente */
.nav-item .dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Despliegue por ratón (:hover) Y por teclado (:focus-within) */
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Mejora visual para saber dónde estamos parados al tabular */
.dropdown-item:focus {
    background-color: var(--azul-avezar-accesible);
    color: #ffffff !important;
    outline: 2px solid #000; /* Ayuda visual extra */
}


#modal_top_movil .modal-content{
    border-radius: 0;
    background-color: #262626;
    height: 100%;
}


#modal_top_movil  .modal-dialog{
    max-width: 90%;
    width: 90%;
    margin: 0;
   
    height: 100%;
    transform: translate(0); transition: transform .2s;
}

	

.modal .modal-dialog-aside ul{
	list-style: none;
	
}

.modal .modal-dialog-aside li a,
.modal .modal-dialog-aside li a:hover{
	color:#c0e1c5;
    
}

.modal .modal-dialog-aside li{
    font-size:1.2rem;
    font-weight: 300;
    border-bottom:1px solid #c0e1c5;
    padding: 1rem 0;
    
}


#modal_top_movil.modal .modal-dialog-aside .modal-content{  height: 100%; border:0; border-radius: 0;}
#modal_top_movil.modal .modal-dialog-aside .modal-content .modal-body{ overflow-y: auto }
#modal_top_movil.modal.fixed-left .modal-dialog-aside{ margin-left:auto;  transform: translateX(100%); }
#modal_top_movil.modal.fixed-right .modal-dialog-aside{ margin-right:auto; transform: translateX(-100%); }

#modal_top_movil.modal.show .modal-dialog-aside{ transform: translateX(0);  }


.menu-movil .position-absolute{
    right: 10px;
    top:10px;
    z-index: 3333;
}




.search-404 .form-control:focus {
    box-shadow: 0 0 0 0.25 margin rgba(var(--bs-primary-rgb), 0.25);
    border-color: var(--bs-primary);
}


.first-section{
    background-color: #f5f5f5;
}

.first-section .img-slider img,
.imagen_adicional img{
    border-radius: 50%;
}


/* Efecto de elevación para las tarjetas de producto */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
}

.icon-wrapper {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slider de Logos Infinito */

.logos-slider {
    position: relative;
    width: 100%;
    overflow: hidden; /* Vital para que no salga barra de scroll horizontal */
    padding: 30px 0;
    background: #fff;
}

.logos-track {
    display: flex;
    /* El ancho total es la suma de las dos imágenes (12600 * 2) */
    width: 12000px; 
    animation: scroll-infinito 120s linear infinite; /* Aumentamos el tiempo a 120s para que no maree */
}

.logos-track img {
    width: 6000px; /* Forzamos el ancho real de tu tira */
    height: auto;
    flex-shrink: 0;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    display: block;
}

.logos-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* La magia: movemos exactamente el ancho de una sola imagen */
@keyframes scroll-infinito {
    0% { transform: translateX(0); }
    100% { transform: translateX(-6000px); } 
}

/* Pausa al pasar el ratón para poder leer los logos */
.logos-slider:hover .logos-track {
    animation-play-state: paused;
}
/* Pausar al pasar el ratón para que el cliente pueda ver bien un logo */
.logos-slider:hover .logos-track {
    animation-play-state: paused;
}

.wpcf7-spinner::before{
    position: relative !important;
    float:left !important;
}

.btn-block,
.form-label{
    width: 100%;
}


@media all and (max-width:991px){
    footer{
        text-align: center;
    }
}

footer{
    font-weight: 300;
    letter-spacing: .1rem;
}

footer .list-inline-item:not(:last-child) {
  margin-right: 0.1rem;
}

footer .fa-brands{
    background-color: #292929;
    width: 40px;
    height: 40px;
    line-height:40px;
    text-align: center;
}

footer .social a{
    color: #c0e1c5;
}

footer .social a:hover .fa-brands{
    background-color: #3d3c3c;
}
footer li a{
    color:#292929;
}

footer li a:hover{
    color:#669966;
}

footer ul#menu-footer{
    margin: 0;
    padding: 0;
}

footer li{
    list-style: none;
}

 .woocommerce-product-gallery .woocommerce-product-gallery__trigger img.emoji{
    display: none !important;
}
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: .5em;
    right: .5em;
    font-size: 2em;
    z-index: 9;
    width: 36px;
    height: 36px;
    background: #fff;
    text-indent: -9999px;
    border-radius: 100%;
    box-sizing: content-box;
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-radius: 100%;
    position: absolute;
    top: 9px;
    left: 9px;
    box-sizing: content-box;
}

.woocommerce-product-gallery .woocommerce-product-gallery__trigger::after {
    content: "";
    display: block;
    width: 2px;
    height: 8px;
    background: #000;
    border-radius: 6px;
    position: absolute;
    top: 19px;
    left: 22px;
    transform: rotate(-45deg);
    box-sizing: content-box;
}

.related.products h2{
    display: none;
}

/* Un poco de estilo para que las redes se vean bien */
.share-product .btn {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.share-product .btn:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}
/* Estilo para que la descripción larga no se vea desordenada */
.product-details-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.bg-contraste{
    background-color: #577F57;
}



/* Definición de la animación */
@keyframes fadeInUpSubtle {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicamos la animación a las columnas de categorías */
.categorias-destacadas .col {
    opacity: 0; /* Estado inicial */
    animation: fadeInUpSubtle 0.4s ease-out forwards;
}

/* Retrasos para el efecto cascada (5 columnas) */
.categorias-destacadas .col:nth-child(1) { animation-delay: 0.1s; }
.categorias-destacadas .col:nth-child(2) { animation-delay: 0.2s; }
.categorias-destacadas .col:nth-child(3) { animation-delay: 0.3s; }
.categorias-destacadas .col:nth-child(4) { animation-delay: 0.4s; }
.categorias-destacadas .col:nth-child(5) { animation-delay: 0.5s; }

/* Estilo para la Categoría ACTIVA */
.cat-item-active {
    /*border: 1px solid var(--bs-primary) !important;*/
    background-color: #f8faff; /* Un tono muy suave de azul */
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.cat-item-active h3 {
    color: var(--bs-primary) !important;
}

aside .list-group-item{
    background-color: transparent;
    padding: 1rem;
}

aside li a{
    color:#6c757d;
}

aside li a:hover{
    color:#212829;
}

/* Contenedor de la nube de etiquetas */
.widget_product_tag_cloud .tagcloud {
    display: block; /* Para que fluyan como texto */
    line-height: 2;  /* Espacio entre líneas para que no se amontonen las barras */
    margin-top: 15px;
}

/* Estilo de los enlaces (etiquetas) */
.tagcloud a {
    text-decoration: none !important;
    color: #6c757d !important;
    font-weight: 400;
    transition: color 0.2s ease;
    display: inline-block;
    font-size: 1rem !important; /* Forzado por si el filter de PHP no entra */
}

/* La barra separadora */
.tagcloud a:not(:last-child):after {
    content: "|";
    margin: 0 10px; /* Espacio a los lados de la barra */
    color: #6c757d;    /* Color suave para la barra */
    font-weight: 300;
}

/* Efecto al pasar el ratón */
.tagcloud a:hover {
    color: var(--bs-primary) !important; /* Tu azul corporativo */
}

/* Estilo para la etiqueta activa si estás en su página */
 .tagcloud a:focus,
 .tagcloud a.current-tag {
    color: var(--bs-primary) !important;
    font-weight: 700;
}

.categoria-descripcion-extra {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

.categoria-descripcion-extra h2, 
.categoria-descripcion-extra h3 {
    color: var(--bs-primary); /* Tu azul de Avezar */
    margin-bottom: 1rem;
}

.categoria-descripcion-extra ul {
    padding-left: 1.2rem;
}

.categoria-descripcion-extra ul li {
    margin-bottom: 0.5rem;
}

/* Contenedor principal de la navegación */
.navigation.pagination {
    margin-top: 50px;
    margin-bottom: 50px;
    text-align: center; /* O left si prefieres que siga el flujo del contenido */
}

.navigation.pagination .nav-links {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.375rem;
    gap: 5px; /* Espacio entre botones */
}

.navigation.pagination .nav-links span {
    display: inline;
}

/* Estilo base de cada número/botón */
.navigation.pagination .nav-links  span,
.navigation.pagination .nav-links a {
    display: block;
    padding: 10px 18px;
    color: #444;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

/* Hover: Cuando pasamos el ratón */
.navigation.pagination .nav-links  a:hover {
    
    background-color: #f8f9fa;
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

/* Estado Activo: El número en el que estamos */
.navigation.pagination .nav-links  span.current {
    background-color: var(--bs-primary); /* Tu azul corporativo */
    color: #fff;
    border-color: var(--bs-primary);
}

/* Botones Anterior/Siguiente (Opcional: más anchos) */
.navigation.pagination .nav-links  a.prev,
.navigation.pagination .nav-links  a.next {
    background-color: #f0f2f5;
}


/* Efecto para los números de estadísticas */
.display-4.fw-bold {
    letter-spacing: -1px;
}

/* Iconos de valores */
.bi.display-4 {
    display: inline-block;
    transition: transform 0.3s ease;
}

.bg-white.shadow-sm:hover .bi {
    transform: scale(1.1);
}

/* Separador elegante */
.text-primary {
    color: var(--bs-primary) !important;
}