/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/


/*========================*/
/* MARQUESINA */
/*========================*/

/* Contenedor que oculta lo que sale por los lados */
#marquesina-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 2em; /* altura del h5 */
}

#marquesina {
    animation: movimiento 15s linear infinite;
    white-space: nowrap !important;
    width: max-content !important;
    max-width: none !important;
    position: absolute !important;
    left: 0;
}

@keyframes movimiento {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}



/*========================*/
/* INICIO*/
/*========================*/

/*Novedades*/

/* Igualar altura mínima de las cajas de producto */
ul.products li.product
{
    min-height: 300px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
    

ul.products li.product .overlay {
	height: 220px;
	margin-top: 20px;

}
ul.products li.product .eael-product-title
{
	min-height: 60px;
	display:flex;
	justify-content: center;
	align-items: center;
}

/* Forzar que las imágenes tengan el mismo tamaño */
ul.products li.product img {
    height: 250px; 
}


/* Formulario */

.wpcf7-form-control.wpcf7-select {
	border-radius: 27px;
}

.enlace {
	color: #F2C927;
}

.enlace:hover {
	color: #F2C927;
	text-decoration: underline;
}


.elementor-184 .elementor-element.elementor-element-c1350e7 .eael-contact-form-7 .wpcf7-form-control::placeholder {
    color: #F2C927;
    opacity: 1 !important; /* Esto quita la transparencia por defecto */
}

.elementor-184 .elementor-element.elementor-element-c1350e7 .wpcf7-textarea {
    resize: none !important;     
    overflow-y: auto !important; 
}


/*"===================*/
/* TIENDA */
/*"===================*/

.content-area {
	background-color:#F2C9271C;
}

/* Catálogo */
.woocommerce ul.products li.product a img {
    height: 300px;
  object-fit: cover;
  box-shadow: 0px 8px 11px rgba(0, 0, 0, 0.4);
}
.woocommerce ul.products.columns-5 li.product, .woocommerce-page ul.products.columns-5 li.product{
    min-height: 350px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2F3689;
  font-weight: bold;
}


.woocommerce ul.products li.product .price {
  display: flex;
  justify-content: center;
  font-weight: 900;
  margin-bottom: .5em;
  font-size: 1em;
  color:  #2F3689;
  padding-top: 10px;
}

.woocommerce ul.products li.product .button {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #2F3689;
  color:#F2C927;
  margin-top: 1em;
}
/* Título*/
.woocommerce-products-header h1{
	background-color:#2F3689;
	margin:0;
	padding: 20px;
	text-align:center;
	color: #F2C927;
	font-weight: 900;
}

.woocommerce-breadcrumb{
	display:none;
}

/* Barr de filtro categorías y ordenación*/
.barra-tienda {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #2F3689;
    padding: 12px 20px;
    margin-bottom: 40px;
    gap: 16px;
}
.barra-tienda .woocommerce-ordering {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.barra-tienda .filtro-categorias,
.barra-tienda .woocommerce-ordering select {
    width: auto;
    min-width: 200px;
    background-color: transparent;
    color: #F2C927;
    border: 2px solid #F2C927;
    border-radius: 30px;
    padding: 6px 16px;
    cursor: pointer;
}

.barra-tienda .woocommerce-result-count {
    color: #F2C927;
    margin: 0;
    font-size: 16px;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}


/* Paginación */
.woocommerce nav.woocommerce-pagination ul {
    background: #2F3689;
    
}

.page-numbers {
	color:#F2C927
}


.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #F2C927;
    color: #2F3689;
}


/* CARRITO */


.page-header h1 {
    background-color:#2F3689;
	margin:0 0 50px 0;
	padding: 20px;
	text-align:center;
	color: #F2C927;
	font-weight: 900;
	width: 100%;
}

.alignwide {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


	
@media (max-width: 1000px) {
    .barra-tienda {
        flex-direction: column;
        align-items: stretch;
			
    }

    .barra-tienda .filtro-categorias,
    .barra-tienda .woocommerce-ordering select {
        width: 100%;
        min-width: unset;
    }

    .barra-tienda .woocommerce-result-count {
        text-align: center;
    }
	

}
