/*
Theme Name: Vegan Milker
Theme URI: http://www.raulcarrion.com/
Version: 1.0
Description: El tema de la web de Vegan Milker
Author: Raúl Carrión
Author URI: http://www.raulcarrion.com
Template: Divi
*/


:root {
    --color-corporativo: #b57880;
}

#ppc-button-ppcp-gateway
{
	padding:30px;
}

/*	Evitar el doble envio en CF7	*/
form.submitting .wpcf7-submit
{
	pointer-events: none !important;
}

form .wpcf7-submit:disabled
{
	cursor: not-allowed !important;
}



p.texto-destacado
{
    background-color: rgba(163,180,97,0.16);
    margin-left: auto;
    color: #889456;
    padding: 10px !important;
}

.g12-alert-head img {
    position: relative;
    top: 10px;
    margin-right: 10px;
}

.g12-alert-head a {
    text-decoration: underline;
}

#g12-menu-top {
    position: relative;
    top: 9px;
}

h2 span{
	position:relative;
}

h2 span::after{
	content: '';
	background-color:#edece7;
	width:100%;
	height: 42%;
	position: absolute;
	bottom: -2px;
	left:0;
	z-index: -1;
}

#contenedor-menu.sub-menu li a{
	font-size: 14px;
}

/*  Boton de cerrar acordeon    */
.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "\e04f" !important;
}

/*  El listado de miniaturas de categoria   */

.contenedor-cat,
.et_pb_salvattore_content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 25px;
}

.contenedor-cat .miniatura-cat a{
    text-align: center;
}
.contenedor-cat .miniatura-cat, 
.et_pb_blog_grid_wrapper .et_pb_blog_grid article{
    transition: all 1s! important;    
}

.contenedor-cat .miniatura-cat:hover, 
.et_pb_blog_grid_wrapper .et_pb_blog_grid article:hover {
    transform: scale(1.1);
    
}

.contenedor-cat .contenedor-cat-img {
    height: 300px;
    margin-bottom: 20px;
}

.contenedor-cat .contenedor-cat-img img {
    height: 100%;
    width:100%;
    object-fit: cover;
}
/*      formato del blog de divi        */

.et_pb_blog_grid_wrapper .et_pb_blog_grid article
{
    overflow: hidden;
    height:375px;
    max-height: 375px;
    background-color: #f7f5ec;
    border:0px;

}

.et_pb_blog_grid_wrapper .et_pb_blog_grid article a{
    font-weight: 500;
}

.et_pb_blog_grid_wrapper .et_pb_blog_grid article a img{
    height:250px;
}

.et_pb_salvattore_content[data-columns]::before {
	content: '4 .column.size-1of4' !important;
}

.column.size-1of4 {
    width: 22%!important;
    margin-right: 3%;
}

.et_pb_blog_grid_wrapper .et_pb_blog_grid article a img {

    object-fit: cover;
}

.et_pb_blog_grid_wrapper .et_pb_blog_grid article .entry-title {
    text-align: center;
}

.et_pb_post .entry-featured-image-url {
    height: 100%;
    width: 100%;
}

.et_pb_blog_grid .et_pb_image_container {
    overflow: hidden;
}
.et_pb_salvattore_content .column.size-1of4
{
    width: unset !important;
    display: flex;
    flex-direction: column;
}
.et_pb_post .entry-featured-image-url {
    margin-bottom: 0;
}

/*
    Icono de afiliado
*/

.link-afiliado
{
    margin-bottom: 20px;
    padding-left: 15px;
    max-width: 150px;
    background-color: #a4ae70;
}

.link-afiliado a{
    color:white;
}


/*
        Listado de productos
*/

.woocommerce-page .woocommerce-message a.button
{
    background-color: #ef8f61 !important;
}

.woocommerce-page .woocommerce-message a.button:hover
{
    background-color: #ef743b !important;
}


.woocommerce-page ul.products li.product a img, 
.woocommerce ul.products li.product a img {
    min-height: 300px;
    object-fit: contain;
}

.et-db #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product h3
{
    min-height:60px;
}

.et-db #et-boc .et-l .et_pb_shop .woocommerce ul.products li.product .price .amount 
{
    min-height: 40px;
}

/*
** Botones
*/

.button:after {
    display: none!important;
}
.woocommerce a.button:hover {
    padding: .3em 1em!important;
}

.products .product .product_type_simple{
    font-weight: bold;
    color: #FFF;
    font-size: 16px;
    text-align: center;
    width: 100%;
}


.et_pb_signup_custom_field_0 .et_pb_contact_field_options_title, .et_pb_signup_custom_field_0_tb_body .et_pb_contact_field_options_title{
    display: none !important;
}

/**********************************************************************          
    TABLET
***********************************************************************/


@media only screen and (max-width: 980px) {
 
	.two-columns .et_pb_column {
	width: 50%!important;
	}
	 
	.three-columns .et_pb_column {
	width: 33.33%!important;
	}
	 
	.four-columns .et_pb_column {
	width: 25%!important;
	}

    .contenedor-cat, .et_pb_salvattore_content{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
 
}


.incluye{
    background-color: rgba(163,180,97,0.16)!important;
    padding: 10px 20px 10px 20px;
    margin-top: 15px;
}


.incluye ul{
    margin-left: 10px;
}
.et-db #et-boc .et-l .et_pb_wc_add_to_cart .quantity input.qty{
    border-radius: 0px;
    background-color: #FFF !important;
    border: solid 1px #CCC !important;
    color: #000 !important;
}

#producto-mas-info h3{
    margin-top: 20px;
}

.ventaja-producto img{
    position: relative;
    top: 8px;
}

/* OL */

#producto-mas-info ol{
  list-style: none;
  counter-reset: my-awesome-counter;
  margin-left: 20px;
}

#producto-mas-info ol li{
  counter-increment: my-awesome-counter;
  margin: 0.25rem;
  margin-bottom: 20px;
}
#producto-mas-info ol li::before{
  content: counter(my-awesome-counter);
  background: #889456;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-block;
  line-height: 2rem;
  color: white;
  text-align: center;
  margin-right: 0.5rem;
}

#producto-mas-info ol ol li::before{
  background: #889456;
}
#producto-mas-info ol ol ol li::before{
  background: #889456;
}

#producto-mas-info a{
    color: #889456 !important;
    text-decoration: underline;
}

.g12-garantia img{
    position: relative;
    top: 10px;
    right: 5px;
}

.g12-msj-reacondicinado{
    margin-top: 20px;
    padding: 20px 20px 20px 20px;
    border: solid 2px #889452;
    background-color: #CC7;
}

/*  ESTILO PARA THRUSTPILOT */
.tp-nombre
{
    color:silver;
    font-weight: bold;
    
}

.tp-titulo
{
    font-size: 16px;
    font-weight: bolder;
    padding-bottom: 5px;
}

.tp-texto
{
    font-weight:600;
    line-height: 1.3;
}

/**********************************************************************          
    DESKTOP
***********************************************************************/
@media (min-width: 980px){
	#contenedor-menu{
		margin-top:40px;
	}
	
	#contenedor-menu .sub-menu a{
		font-size:16px;
	}

    .premium-btn{
        background-color: #ef8f61 !important;
        border-radius: 20px !important;
        padding-top: 6px;
        position: relative;
        top: -5px;
    }

    .premium-btn a{
        color: #FFF !important;
    }
}

/**********************************************************************          
    MOBILE
***********************************************************************/

@media screen and (max-width: 760px) {
    
    .g12-mobile-hidden{
        display: none;
    }  

    #g12-banda-superior .et_pb_row .et_pb_column{
        margin-bottom: 0px !important;
    }

    /*  Menu    */
    .et_pb_fullwidth_menu--style-left_aligned.et_pb_text_align_right .et_pb_menu__wrap{
        justify-content: center !important;
    }

    #menu-menu-secundario
    {
        flex-wrap: nowrap;
        width: 100%;
        justify-content: space-between;
    }
    #g12-menu-top .et_pb_menu__menu,
    #g12-menu-top .et_pb_menu__menu .et-menu-nav{
        width: 100%;
        justify-content: center;
    }


    .et-menu .menu-item-has-children>a:first-child
    {
        padding:0px;
    }

    /*  boton de agregar al carrito */
    .product-template-default .et_pb_wc_add_to_cart .single_add_to_cart_button
    {
        position: fixed !important;
        bottom: 0;
        left: 0;
        background-color: black !important;
        z-index: 9999;
        width: 100%;
    }
 
    .product-template-default .et_pb_column
    {
        z-index:1 ;
    }
 
    .product-template-default .et_pb_row:not(.et_pb_row_1_tb_body)
    {
        position:unset;
    }
 
    .product-template-default .et_pb_row:not(.et_pb_row_1_tb_body) .et_pb_column
    {
        position:unset;
    }
 
    .product-template-default footer
    {
        position: relative;
        z-index: 0;
    }

    .sub-menu.wpmenucart{
        display: none;
    }

    .et-menu .menu-item-has-children > a:first-child:after{
        display: none;
    }

    #g12-col-logo{
        margin-bottom: 5px !important;
    }

    

    footer .g12-menu-list .et_pb_menu__wrap{
        justify-content: center !important;
    }
    footer .g12-menu-list .et_pb_menu__wrap a{
        text-align: center;
        width: 100%;
    }

    .contenedor-cat, .et_pb_salvattore_content{
        display: grid;
        grid-template-columns: 1fr;
    }

    .contenedor-cat .miniatura-cat a {
        text-align: center;
        display: flex;
        flex-direction: column;
    }
    .contenedor-cat .miniatura-cat a h2 {
        margin-top:10px;
    }

    #logo-header-vegan img{
        width: 125px !important;
    }

    .single_add_to_cart_button{
        border-radius: 0px 0px 0px 0px !important;
    }
    
}

.woocommerce a.button, .woocommerce-page a.wc-forward{
    background-color: #ef8f61 !important;
}


.page-id-10 .et_pb_wc_cart_notice_0 .woocommerce-notices-wrapper .woocommerce-message, .page-id-10 .et_pb_wc_cart_notice_0 .woocommerce-info, .page-id-10 .et_pb_wc_cart_notice_0 .woocommerce-error{
    margin-bottom: 5px !important;
    padding: 10px 10px 10px 10px !important;
}

.page-id-11 .et_pb_wc_cart_notice_0 .woocommerce-notices-wrapper .woocommerce-message, .page-id-11 .et_pb_wc_cart_notice_0 .woocommerce-info, .page-id-11 .et_pb_wc_cart_notice_0 .woocommerce-error{
    margin-bottom: 5px !important;
    padding: 10px 10px 10px 10px !important;
}

