/**
Theme Name: Farmanimalia
Author: lavalldesign
Author URI: https://lavalldesign.com
Description: Child theme by Astra.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: farmanimalia
Template: astra
*/

/* Movil - bloquear scroll horizontal */
@media (max-width: 544px) {
    html, body {
        overflow-x: hidden;
    }
}

/*Menu mobile - menos espacio del V para desplegar */
@media (max-width: 544px) {
	.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children>.ast-menu-toggle {
		right: 60% !important;
	}
}

/*Menu marcas - make it scrollable */
li#menu-item-24316 ul {
    height: 400px !important;
    overflow: auto !important;
}

/* sliders ocultar en movil */
/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .elementor-element-221555f {
        display: none !important;
    }
    .elementor-element-36d51ff {
        display: none !important;
    }
    .elementor-element-fba6fdc {
        display: none !important;
    }
}

/*CABECERA FORM BUSQUEDA / LUPA */
/* form.search-form {
    height: 5vh !important;
} */

/* .site-header-section-left .ast-search-menu-icon.slide-search .search-form .search-field {
    height: 5vh !important;
} */

/*HEADER / CABECERA */
/* .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
    max-height: 140px !important;
} */

/*HEADER / CABECERA EN MACBOOK (NO AFECTA A NORMAL)*/
/* .ast-builder-grid-row-container {
    align-content: center;
    display: block;
} */

/* .ast-builder-grid-row>.site-header-section {
    flex-wrap: wrap;
} */

/* @media (max-width: 575.98px) { 
    .ast-builder-grid-row>.site-header-section {
        flex-wrap: unset;
    }
}

.site-header-section {
    height: 100%;
    max-height: 40px;
    align-items: center;
} */

/*LLETRA */
/* @media (max-width: 1600px) {
    .site-header .menu-text {
        transition: none;
        font-size: 13px;
    }
    .ast-builder-menu-3 .menu-item > .menu-link {
        font-size: 13px;
        color: var(--ast-global-color-3);
    }
} */

/*HOME */
/*Nuestros productos */
#nuestrosProductos .add_to_cart_button {
    /* width: 48% !important; */
    font-size: 12px !important;
    padding: 6.5% 1% 6.2% 1% !important;
    text-align: center !important;
}

@media (max-width: 575.98px) { 
    #nuestrosProductos .add_to_cart_button {
        /* width: 48% !important; */
        font-size: 12px !important;
        padding: 6.5% 1% 6.5% 1% !important;
        text-align: center !important;
        line-height: 1.5em;
    }
}

/*IMAGENES DE LOS PRODUCTOS */
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    height: 315px;
    max-width: 280px;
}

/*NOMBRES DE LOS PRODUCTOS */
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: .5em;
    padding: 0;
    font-size: 0.9em !important;
    line-height: 1.1em;
    min-height: 55px;
}


/*PRODUCTOS - EN LAS CATEGORIAS */
/*ALTURA DE LOS TITULOS PARA QUE EL PRECIO ETC SALGAN A LA MISMA ALTURA */
h2.woocommerce-loop-product__title {
    height: 40px;
}

/*MOIBLE / MOVIL */
@media (max-width: 575.98px) { 

    /*BOTON LEER MAS */
    a.button.product_type_simple {
        width: 100% !important;
        height: 12%;
        font-size: 12px !important;
        text-align: center !important;
        background: black;
        margin-left: 1%;
        padding-top: 6.5% !important;
        padding-bottom: 6.5% !important;
        line-height: 1.5em !important;
    }

    /*SELECCIONAR OPCIONES */
    a.button.product_type_variable.add_to_cart_button {
        width: 100% !important;
        height: 12%;
        font-size: 12px !important;
        padding: 6.5% 1% 6.5% 1% !important;
        text-align: center !important;
        background: black;
        line-height: 1.5em !important;
    }
	
	/*HOME LISTA PRODUCTOS MOVIL - LOS FAVORITOS */
	#lista-productos div.product {
		width: 66% !important;
	}
}

/*BOTONES ADD TO CART EN TABLET */
/* Landscape */ 
@media only screen and (min-device-width: 1112px) and (orientation: landscape) {
	a.button.product_type_variable.add_to_cart_button {
		padding: 7% 1% 7% 1%!important;
		line-height: 1.5em !important;
	}

	a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
		margin-top: 4% !important;
		padding: 12% 1% 12% 1%!important;
		line-height: 1.5em!important;
	}	
}

/*Portrait*/ 
@media only screen and (min-device-width: 834px) and (orientation: portrait) {
	a.button.product_type_variable.add_to_cart_button {
		padding: 7% 1% 7% 1%!important;
		line-height: 1.5em !important;
	}

	a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
		margin-top: 4% !important;
		padding: 12% 1% 12% 1%!important;
		line-height: 1.5em!important;
	}
}

/*Medida de MAC */
@media (max-width: 1366px) {
    h2.woocommerce-loop-product__title {
        margin-bottom: inherit !important; /* 30 - 15% !important; */
        height: 100px !important;
    }

    /*AÑADIR AL CARRITO */
    /* a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        width: 48% !important;
        height: 12%;
        font-size: 11px !important;
        text-align: center !important;
        background: black;
        padding: 3%;
        line-height: 1.5em !important;
    } */
    /*Usamos el de 48% si el plugin de Compra rapida esta activado, para que quepan
    los dos botones */
    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        width: 100% !important;
        height: 12%;
        font-size: 11px !important;
        text-align: center !important;
        background: black;
        padding: 3%;
        line-height: 1.5em !important;
    }

    /*QUICK BUY */
    a#aqbp_quick_buy_shop_btn {
        width: 48% !important;
        height: 12%;
        font-size: 12px !important;
        text-align: center !important;
        background: black;
        margin-left: 1%;
        padding: 3%;
        line-height: 1.35em !important;
    }

    /*BOTON LEER MAS */
    /* a.button.product_type_simple {
        width: 48% !important;
        height: 12%;
        font-size: 12px !important;
        text-align: center !important;
        background: black;
        margin-left: 1%;
        padding-top: 0.4em !important;
        padding-bottom: 0.4em !important;
        line-height: 1.35em !important;
    } */
    /*Usamos el de 48% si el plugin de Compra rapida esta activado, para que quepan
    los dos botones */
    a.button.product_type_simple {
        width: 100% !important;
        height: 12%;
        font-size: 12px !important;
        text-align: center !important;
        background: black;
        margin-left: 1%;
        padding-top: 0.4em !important;
        padding-bottom: 0.4em !important;
        line-height: 1.35em !important;
    }

    /*SELECCIONAR OPCIONES */
    a.button.product_type_variable.add_to_cart_button {
        width: 100% !important;
        height: 12%;
        font-size: 12px !important;
        padding: 12% 1% 12% 1% !important;
        text-align: center !important;
        background: black;
		line-height: 1 !important
    }
}


/*Medida movil
@media (max-width: 576px) {
    h2.woocommerce-loop-product__title {
        margin-bottom: 85% !important;
    }
}*/


/*Pantalla gram*/
@media (min-width: 1367px) {
    /*AÑADIR AL CARRITO */
    /* a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        width: 48% !important;
        height: 12%;
        font-size: 10px !important;
        padding: 7% 1% 7% 1% !important; 6.5% 1% 6.5% 1% !important
        text-align: center !important;
        background: black;
        line-height: 1em !important;
    } */
    /*Usamos el de 48% si el plugin de Compra rapida esta activado, para que quepan
    los dos botones */
    a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
        width: 100% !important;
        height: 12%;
        font-size: 10px !important;
        padding: 7% 1% 7% 1% !important; /*6.5% 1% 6.5% 1% !important*/
        text-align: center !important;
        background: black;
        line-height: 1em !important;
    }

    /*QUICK BUY */
    a#aqbp_quick_buy_shop_btn {
        width: 48% !important;
        height: 12%;
        font-size: 10px !important;
        padding: 7% 1% 7% 1% !important; /*6.5% 1% 6.5% 1% !important*/
        text-align: center !important;
        background: black;
        margin-left: 1%;
        line-height: 1em !important;
    }

    /*BOTON LEER MAS */
    a.button.product_type_simple {
        width: 48% !important;
        height: 12%;
        font-size: 11px !important;
        padding: 9% 1% 9% 1% !important;
        text-align: center !important;
        background: black;
        margin-left: 1%;
    }
    /*Usamos el de 48% si el plugin de Compra rapida esta activado, para que quepan
    los dos botones */
    a.button.product_type_simple {
        width: 100% !important;
        height: 12%;
        font-size: 11px !important;
        padding: 9% 1% 9% 1% !important;
        text-align: center !important;
        background: black;
        margin-left: 1%;
    }

    /*SELECCIONAR OPCIONES */
    a.button.product_type_variable.add_to_cart_button {
        width: 100% !important;
        height: 12%;
        font-size: 12px !important;
        padding: 6% 1% 6% 1% !important;
        text-align: center !important;
        background: black;
    }
}

/*
@media (min-width: 768px) and (max-width: 1365px) {
	a.button.product_type_variable.add_to_cart_button {
		padding: 12% 1% 12% 1%!important;
		line-height: 1.5em !important;
	}

	a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
		margin-top: 4% !important;
		padding: 8% 1% 8% 1%!important;
		line-height: 1.5em!important;
	}
}*/

/*IMAGENES PRODUCTOS */
.woocommerce ul.products li.product a img {
    max-width: 100%;
    display: block;
    margin: 0 0 1em;
    box-shadow: none;
    width: 300px;
    height: 300px;
    object-fit: contain;
}

/*PRODUCTOS - LISTADO PRODUCTOS TODA LA WEB*/
/* a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    width: 70%;
    margin-left: 18%;
} */

/*TIENDA PRODUCTOS - /productos */
.divBotones {
    display: flex;
    justify-content: space-between;
    background: white;
}

.divBotones a {
    width: 48% !important;
    border: black 1px solid !important;
    text-align: center;
    padding-right: 0;
    padding-left: 0;
}

/*Ocultar mensaje añadido al carrito*/
a.added_to_cart.wc-forward { 
    display: none !important;
}

/*Ajustar mensaje de ver carrito */
.woocommerce ul.products li.product .button.added, .woocommerce-page ul.products li.product .button.added {
    transition: margin 0s;
    padding-left: 0;
    padding-right: 0;
    margin-block: auto;
}

.divBotonesBotonesActivo {
    display: flex;
    justify-content: space-between;
    position: relative;
    bottom: 16%;
}

.divBotonesDescripcionActivo {
    position: relative;
    top: -11%;
    margin-top: -2.5%;
    margin-bottom: -30%;
}

/*Los botones - para que la letra se alinie al medio del boton */
.woocommerce ul.products li.product .button, .woocommerce-page ul.products li.product .button {
    line-height: 0;
}

@media (max-width: 1600px) {
    /*PORTATIL*/
    .divBotonesBotonesActivo {
        display: flex;
        justify-content: space-between;
        position: relative;
        bottom: 20%;
    }

    .divBotonesDescripcionActivo {
        position: relative;
        top: -11%;
        margin-top: -7.2%;
        margin-bottom: -10%;
    }
}


/*BARRA LATERAL*/
/*Familia principal en negrita*/
ul.children li > a {
    font-weight: normal !important;
}

li.cat-item > a {
    font-weight: bold !important;
}


/*Especie */
div#block-13 {
    margin: 0;
}

/*Raza */
div#block-14 {
    margin: 0;
}

/*Edad */
div#block-16 {
    margin: 0;
}

/*Ocultar boto filtro en desktop */
@media (min-width: 575.98px) { 
    button.button.astra-shop-filter-button {
        display: none;
    }
}


/*FICHA PRODUCTO */
img.wp-post-image {
    display: block;
    box-shadow: none;
    width: 500px !important;
    height: 500px !important;
    object-fit: contain !important;
}

/*Botones uno debajo del otro en ficha producto */
.single-product .elementor-widget-wc-add-to-cart form.cart.variations_form .woocommerce-variation-add-to-cart, .elementor-widget-wc-add-to-cart form.cart:not(.grouped_form):not(.variations_form), .woocommerce div.product.elementor form.cart.variations_form .woocommerce-variation-add-to-cart, .woocommerce div.product.elementor form.cart:not(.grouped_form):not(.variations_form) {
    display: grid !important;
}

.single-product button.single_add_to_cart_button.button.alt {  /*Darle marjen boton anyadir carrito en ficha producto */
    margin-top: 3% !important;
}

.woocommerce form .button.single_add_to_cart_button { /*Para que los botones salgan alineados a la izquierda */
    margin-left: 0px;
}

/*Ocultar boton compra rapida en ficha producto */
.single-product #aqbp_quick_buy_btn {
    background-color: black;
    font-size: 14px;
    margin-top: 2%;
    padding: 3%;
}

.single-product #productosRelacionados a.button {
    display: none !important;
}

.woocommerce-product-details__short-description { /*Short description break */
    word-break: break-all;
}

/*Boton compra recurrente */
tr.enr-subscribe-now-handle-row p {
    margin-bottom: 3%;
}

.woocommerce div.product form.cart table {
	border: none !important;
}
.woocommerce div.product form.cart table td {
 border-right: none !important;
}

	
select#enr_subscribe_plans {
    width: 25%;
    border-radius: 0px;
    border: 2px solid black;
    padding: 2%;
    padding-bottom: 2%;
    color: #4b4b4b !important;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

/*Frase compra recurrente en negrita */
tr.enr-subscribe-now-handle-row label {
    font-weight: bold;
}

/*Sidebar */
h2.widget-title {
    font-family: 'Brandon Grotesqu';
    font-weight: bold;
    color: black;
}

/*Marcas */
#marcas a {
    font-size: 16px;
}

/*DONACIONES*/
/*Input de la donación*/
input.ywcds_amount {
    height: 3vh;
    width: 5vw;
}

/*BLOG */
/*MOIBLE / MOVIL */
@media (max-width: 575.98px) { 
    .post-template-default img.wp-post-image {
        height: auto !important;
        margin-top: 5% !important;
    }
}


/*SLIDERS HOME - QUERYS MAC ANTIGUO */
/* SLIDER 1 */
/* TUSHEEL */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    .elementor-6 .elementor-element.elementor-element-738c855 .elementor-button {
        padding: 5em 4em 8em 4em;
    }
    body:not(.rtl) .elementor-6 .elementor-element.elementor-element-738c855 {
        left: 15vw;
    }
    .elementor-6 .elementor-element.elementor-element-738c855 {
        width: 13%;
        max-width: 17%;
        top: 69vh;
    }
}
/* LATAS LOBOS */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    .elementor-6 .elementor-element.elementor-element-8137d79 .elementor-button {
        padding: 2em 2em 6em 4em !important;
    }

    body:not(.rtl) .elementor-6 .elementor-element.elementor-element-8137d79 {
        left: 25vw !important;
    }
}

/* BOLSA PIENSO - NO NECESARIO*/

/* SLIDER 2 */
/* BOLSA NATURAL GREATNESS*/
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
.elementor-6 .elementor-element.elementor-element-640c805 .elementor-button {
        padding: 75% 25% 75% 25%;
    }
    .elementor-6 .elementor-element.elementor-element-640c805 {
        width: 16%;
        max-width: 20%;
    }
}

/* BOLSA MULTIVA */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    body:not(.rtl) .elementor-6 .elementor-element.elementor-element-73b71f1 {
    left: 62vw;
    }
    .elementor-6 .elementor-element.elementor-element-73b71f1 {
        width: 10%;
        max-width: 10%;
        top: 67vh;
    }
}

/*BOLSA GYLCOFLEX */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    body:not(.rtl) .elementor-6 .elementor-element.elementor-element-6043cb5 {
        left: 70vw;
    }
    .elementor-6 .elementor-element.elementor-element-6043cb5 {
        top: 69vh;
    }    
}

/*SLIDER 3*/
/*BOTE ALOEVET */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    body:not(.rtl) .elementor-6 .elementor-element.elementor-element-78ac440 {
        left: 60vw;
    }
    .elementor-6 .elementor-element.elementor-element-78ac440 {
        width: 10%;
        max-width: 10%;
        top: 75vh;
    }
}

/*BOTE HYAORAL */
@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) {
    body:not(.rtl) .elementor-6 .elementor-element.elementor-element-c3d16d1 {
        left: 72vw;
    }
    .elementor-6 .elementor-element.elementor-element-c3d16d1 {
        top: 83vh;
    }
        
}

.dfd-searchbox-main input {
    line-height: 1em !important;
}   


.shipping_method_description {
    text-indent: 0px;
}
/**********************************************/
/*****************    REVI    *****************/
/**********************************************/
.revi-row.revi_footer_band {
    background: #757575 !important;
}


/* MODIFICACIONES WEB OCTUBRE 2023 */

.woocommerce-message {
    font-family: "Avenir Regular", Sans-serif;
    font-size: 20px;
    background: #F1DFD5;
}

div.woocommerce-notices-wrapper > div > a {
    font-size: 14px !important;
    font-family: "Avenir Regular", Sans-serif;
    border-radius: 40px 40px 40px 40px !important;
    background-color: #274455 !important;
}

