/*
Theme Name: Base
Theme URI: https://www.invbit.com
Author: Base
Author URI: https://www.invbit.com
Description: Base para Betheme
Template: betheme
Version: 1.6.2
*/

@import './css/variables.css';

.validate_email_against_bot {
    display: none;
}

body #cmplz-manage-consent .cmplz-manage-consent {
    background-image: url(imagenes/fondo-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    right: unset !important;
    left: 0px;
    font-size: 0px;
    color: var(--negro) !important;
    width: 140px;
    background-color: transparent !important;
    box-shadow: unset !important;
    bottom: -2px !important;
    padding: 0 !important;
}

body #cmplz-manage-consent .cmplz-manage-consent:before {
    content: "";
    background-image: url(imagenes/icono-ajustes.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    width: 28px;
    height: 28px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s ease;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -ms-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
}

body #cmplz-manage-consent .cmplz-manage-consent:hover:before {
    transform: translate(-50%, -54%);
    -webkit-transform: translate(-50%, -54%);
    -moz-transform: translate(-50%, -54%);
    -ms-transform: translate(-50%, -54%);
    -o-transform: translate(-50%, -54%);
}

/* Arregla padding al abrir popup deshabilitando scroll de la web */
html.mfn-popup-browser-scroll-disabled {
    padding-right: 0;
}


/*********************************\
            NOTICIAS
\*********************************/

.grid .post-desc-wrapper .post-desc {
    padding: 12px 0px 0px 0px;
}
.post-item .post-meta .author-date .post-date{
	font-size:13px !important;
	line-height:1 !important;
}

/* Estilos generales del grid */
.posts_group.element_classes.col-3.grid .post-item {
    box-sizing: border-box;
    float: left;
    margin: 0 !important;         /* anulamos márgenes del tema */
    padding: 0 30px 80px;         /* gutter interno */
    width: 33.3333%;              /* por defecto, 3 columnas */
    clear: none !important;       /* evitamos clears automáticos del tema */
}
  
  /* Primeros 2 posts → 2 columnas arriba */
.posts_group.element_classes.col-3.grid .post-item:nth-child(-n+2) {
    width: 50%;
}

#Content .posts_group.element_classes.col-3.grid .post-item:nth-child(-n+2) h2{
    font-size: var(--h2) !important;
}
.posts_group .post-item .post-photo-wrapper .image_wrapper {
height: 250px;
display:flex;
}
.posts_group .post-item:nth-child(-n+2) .post-photo-wrapper .image_wrapper {
height: 600px;

}
.posts_group .post-item .post-photo-wrapper .image_wrapper a {
display:flex;
}
.posts_group .post-item .post-photo-wrapper .image_wrapper a img {
object-fit:cover;
object-position:center;
}
  
  /* El 3º inicia la fila de 3 */
.posts_group.element_classes.col-3.grid .post-item:nth-child(3) {
    clear: both !important;
}
  
  /* Patrón de filas de 3 → 3, 6, 9... */
.posts_group.element_classes.col-3.grid .post-item:nth-child(3n) {
    clear: both !important;
}
 
@media(min-width:768px){
	
	  /* Opcional: compensamos gutters para que todo quede alineado */
.posts_group.element_classes.col-3.grid {
    margin-left: -12px;
    margin-right: -12px;
}
	
	
} 


.post-item .date .icon-clock, .blog_wrapper .button_icon{
    display: none;
}

.blog_wrapper .pager_load_more{
    background-color: #000;
    color: #fff;
}

/*********************************\
            COPYRIGHT
\*********************************/
body #Footer .copyright a:hover {
    text-decoration: none;
}

body #Footer .footer_copy {
    border: 0;
    background: black;
    color: white;
}

body #Footer .footer_copy a {
    color: white;
}

body #Footer .footer_copy a:hover {
    color: var(--primary);
}

body #Footer .footer_copy .one {
    --mfn-column-gap-bottom: 15px;
    padding-top: 15px;
    margin-bottom: 0;
}

body #Footer .footer_copy .mcb-column-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body #Footer .menu {
    list-style: none;
    padding: 0;
    background: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

body #Footer .copyright .menu {
    gap: 0 10px;
    flex-direction: row;
}

body #Footer .menu li:after {
    content: none;
}

body #Footer .menu a {
    padding: 5px 0;
}

body #Footer .footer_copy .copyright {
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .02em;
    float: none;
    text-align: left;
}

body #Footer .footer_copy .copyText {
    margin: 0 0 5px;
}

body #Footer .footer_copy .social {
    line-height: 0;
}

body #Footer .footer_copy .social li a {
    font-size: 22px;
    line-height: 1;
}

@media only screen and (max-width: 959px) {
    body .animate {
        animation-delay: 0ms !important;
    }

    body #Footer .footer_copy .mcb-column-inner {
        flex-direction: column;
    }

    body #Footer .copyright .menu {
        justify-content: center;
    }

    body #Footer .footer_copy .copyright {
        text-align: center;
    }

    body #Footer .footer_copy .social {
        margin-top: 15px;
    }
}


/*********************************\
            KIT DIGITAL
\*********************************/

body #Footer .footer_action {
    background: none;
}

body #Footer .footer_action .one {
    margin-bottom: 0;
}

body #Footer .footer_action .financiacion {
    display: grid;
    grid-template-columns: 1fr 1fr 5fr;
    gap: 20px;
    text-align: left;
    align-items: center;
}

body #Footer .footer_action .financiacion>div {
    line-height: 0;
}

body #Footer .footer_action .financiacion>div img {
    max-height: 50px;
    width: auto;
}

body #Footer .footer_action .financiacion>div p {
    font-size: 13px;
    line-height: 15px;
    margin-bottom: 0;
}

@media only screen and (max-width: 959px) {
    body #Footer .footer_action .financiacion {
        grid-template-columns: 1fr 1fr;
        text-align: center;
        gap: 5px;
    }

    body #Footer .footer_action .financiacion>div:last-child {
        grid-column: 1 / span 2;
    }
}

@media only screen and (max-width: 767px) {
    body #Footer .footer_action .financiacion>div img {
        max-height: unset;
        width: 100%;
    }
}

body #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay p.pojo-a11y-toolbar-title {
    line-height: 1.2;
}

/*Subheader*/

#Subheader{
	    padding: 100px 0 0px 0 !important;
}
#Subheader .column.one {
	display: flex !important;
    flex-direction: column-reverse !important;
}
#Subheader .breadcrumbs{
	display:none !important;
	width: 100%;
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 14px !important;
    margin-bottom: 20px;
}
#Subheader:after{
	display:none !important;
}
/*Item porduct*/

.products li .image_wrapper {
	max-height:500px !important;
}
.products li .image_wrapper,
.products li .image_wrapper a{
	display:flex !important;
}

.products li .image_wrapper a img{
	object-fit:cover;
	object-position:center;
}

/**Single-product**/

.single-product  .accordion .question.active:after,
.single-product .column_product_related .title.heading {
	display:none !important;
}

.single-product.woocommerce .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a{
	  
    font-size: 16px;
    line-height: 1.3;
    padding: 12px 24px;
    border-radius: 0;
}

.single-product.woocommerce .mfn-variations-wrapper{    text-align: right !important;}
.single-product.woocommerce .mfn-variations-wrapper .mfn-reset-variations{font-size:13px !important;}
.single-product.woocommerce .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li a{
	    border: 2px solid rgba(0, 0, 0, .1);
}
.single-product.woocommerce .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li:hover a,
.single-product.woocommerce .mfn-variations-wrapper .mfn-vr ul.mfn-vr-options li.active a{
	border: 2px solid var(--green);
}
.single-product .column_icon_box_2.info-basic .desc-wrapper>*{
	width:auto !important;
}

.single-product .column_icon_box_2.info-basic .desc-wrapper .title{padding-right:10px;}

.single-product .column_icon_box_2.info-product .desc-wrapper .title{
	width:200px !important;
}
.single-product .column_icon_box_2.info-product .desc-wrapper .desc{
	width:calc(100% - 200px) !important;
}

.price small{
	font-size:11px !important;
	text-transform:uppercase !important;
}

.single-product  .accordion .question{
	border-width: 0 0 1px 0px !important;
}

.single-product .accordion .question>.title,
.single-product .accordion .question>.answer{
	box-shadow:none !important;
	padding-left: 0px !important;
}
.single-product .accordion .question>.answer{
	    padding: 0 20px 20px 1px !important;
}

.single-product .accordion .question .title{
	 padding: 14px 60px 14px 1px !important;
}
.single-product .accordion  .title i{
    left: initial !important;
	right: 0 !important;
	
}

.single-product .wrap.sticky-desktop {
        position: sticky !important;
        z-index: 2;
        top: var(--sticky-offset-desktop, 0) !important;
 }
 .single-product.woocommerce a.added_to_cart{
	 display:none !important;
 }
 
 /*Checkout*/
 
 #order_review.woocommerce-checkout-review-order{
	background: var(--back) !important;
 }
 .woocommerce .woocommerce-order-details__title{
	 font-weight: 600 !important;
	     font-size: 24px !important;
 }
 .woocommerce-billing-fields,
 .woocommerce-additional-fields{
	 margin-bottom:20px;
	background-color: #f1ebe5 !important;
    color: inherit;
    border-radius: var(--mfn-woo-border-radius-box) !important;
    padding: 30px !important;
 }
 
 /*Tratamientos page*/
 
 .mfn-list {
	     display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
 }
 .mfn-list-item{
	display: flex !important;
    flex-direction: row-reverse;
    justify-content: space-between !important;
	background: var(--back);
    margin-bottom: 10px;
 }
  .mfn-list-item:hover{
	      background: var(--dark-bg) !important;
  }
  .mfn-list-item:hover a{
	  text-decoration:none !important;
	  color:white !important;
	  
  }
  .mfn-list-item:hover i{
	      color: white !important;
  }
 
 /*Blog*/
 
 .post-item img{
	 object-fit:cover !important;
 }
 
 /*Carrito*/
 
 .mfn-cart-holder .icon-bag-fine{
	 display:none !important;
 }
 .mfn-cart-holder .mfn-ch-header p{
	 margin-bottom:0px !important;
 }
 .woocommerce-error,.woocommerce-message{
	     background-color: var(--back) !important;
 }
 .woocommerce-info, #order_review.woocommerce-checkout-review-order{
	     background: #f1ebe5 !important;
 }
 .woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info{
	 border:0px !important;
 }
 .mfn-cart-step{
	 padding: 10px 0 10px !important;
 }
 
  .mfn-chp-info .title{
	  line-height: 1.3 !important;
    font-weight: 600 !important;
  }
  
  .cart-collaterals h4,#order_review_heading{
	 font-weight:600 !important;
	 font-size:var(--h3) !important;
  }
  
  #add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li{
	      border: 3px solid #3c3c3b !important;
  }
  
  /*Sidcart*/
  
  .mfn-cart-holder .mfn-ch-content .mfn-ch-product .mfn-chp-image{
	  width: 50px !important;
  }
 
 .mfn-cart-holder .mfn-ch-content .mfn-ch-product .mfn-chp-price{
	 width:80px !important;
 }
 
 /*My Account*/
 
 .mfn-header-login {
	     box-shadow: 0px 0px 25px 2px #00000012;
		     border-radius: 6px !important;
 }
 
 .woocommerce-coupons-file{
	 background: var(--mfn-woo-bg-box);
    border-radius: var(--mfn-woo-border-radius-box);
    padding: 30px;
    box-sizing: border-box;
 }
 
  .woocommerce-coupons-file a{
	  font-weight:600 !important;
	 
  }
  .woocommerce-coupons-file a:hover{text-decoration:none !important; color:var(--primary) !important;}
   .woocommerce-coupons-file p{
	       padding: 5px 10px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
   }
 
 /*Checkout*/
 
 
 .woocommerce-thankyou-order-received:before{
	 background:var(--green) !important;
	 color:var(--back-light) !important;
 }
 
 .woocommerce-order h2{
	 font-family:var(--font-basic) !important;
	 font-size:var(--h3) !important;
	 font-weight:600 !important;
	 text-align:center !important;
 }
 
 .wc-bacs-bank-details-account-name{
	letter-spacing: 1px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    color: var(--mfn-woo-heading-color) !important;
	font-family:var(--font-basic) !important;
	font-size:14px !important;

 }
 
 .order_details .product-name p a{
	 background: var(--primary);
	 color:white;
    padding: 10px;
    display: inline-block;
    margin: 25px 0px 0px;
	text-transform: uppercase;
 }
  .order_details .product-name p a:hover{
	  color:white;
	  text-decoration:none !important;
	  background:var(--dark-bg) !important;
  }
  
  .product-purchase-note{
	   border: solid var(--mfn-woo-border);
    border-width: 0 0 1px;
   }
 
  .product-purchase-note td p{text-align:center !important;}
  
  
  .woocommerce-customer-details{
	      background: var(--mfn-woo-bg-box);
    border-radius: var(--mfn-woo-border-radius-box);
    padding: 30px;
    box-sizing: border-box;
  }
  
  .mfn-checkout-steps li.active .mfn-step-number{
	      background: #f1ebe5;
    color: var(--wc-form-border-color);
  }
  
  .select2-container--default .select2-selection--single{
	background-color: var(--wp--preset--color--white);
    border-color: #D1D1D1 !important;
    border-radius: 3px !important;
	padding: 0px 10px !important;
  }
  
  .woocommerce .addresses address:before, .woocommerce .woocommerce-customer-details address:before{
	  display:none !important;
  }
  .woocommerce .addresses address, .woocommerce .woocommerce-customer-details address{
	      padding-left: 0px !important;
  }
  .woocommerce .woocommerce-customer-details, .woocommerce .woocommerce-order-details .order-again{
	  text-align: left !important;
  }
  
 /*Media*/
 
 
 
 @media(max-width:1239px) and (min-width:767px){
	 .posts_group.element_classes.col-3.grid .post-item:nth-child(-n+2) .post-photo-wrapper .image_wrapper {
		 height:500px;
	 }
 }
 
@media(max-width:959px){
	
	.blog_wrapper  .posts_group{
		display: flex;
		flex-wrap: wrap;
	}
	.woocommerce-variation-add-to-cart{
		flex-wrap: wrap !important;
	}
	.products li .image_wrapper,
.posts_group .post-item:nth-child(-n+2) .post-photo-wrapper .image_wrapper	{
    max-height: 400px !important;
}
	.single-product .mfn-product-add-to-cart form.cart {
		flex-direction: column !important;
	}
	.single-product.woocommerce .quantity{
		width:100% !important;
		margin: 0 0px 10px 0 !important;
	}	
	.posts_group.element_classes.col-3.grid .post-item{
		padding: 0 20px 40px !important;
	}
	.posts_group.element_classes.col-3.grid .post-item:nth-child(-n+2) {
		width: 100% !important;
}
	.posts_group.element_classes.col-3.grid .post-item{
	    width: 50% !important;
}
.woocommerce ul.products li.product .desc{
		padding-right: 0px !important;
	}
}

 
@media(max-width:767px){
	.products li .image_wrapper {
    max-height: 350px !important;
}
	
	.woocommerce-page .the_content .cart-collaterals,
	.woocommerce-billing-fields, .woocommerce-additional-fields,
	.mfn-cart-step form.checkout-form-toggle{
		padding:20px !important;
	}
	.woocommerce table.shop_table td.actions .coupon .input-text{
	 width: 100% !important;
    margin-right: 0;
    margin-bottom: 10px;	
	}
	.woocommerce-page table.cart td.actions .coupon .button{
		 width: 100% !important;
	}
	#Subheader {
    padding: 50px 0 0px 0 !important;
}
.woocommerce table.shop_table.cart td, .woocommerce.cart table.shop_table th{
	padding:10px 20px !important;
}
.woocommerce table.shop_table_responsive.cart tr,
 .woocommerce-page table.shop_table_responsive.cart tr{
background: #f1ebe5;
    border-radius: 6px;
    margin-bottom: 10px;	
}
.woocommerce table.shop_table td.product-remove{
	border-width:0px !important;
}
	.posts_group.element_classes.col-3.grid .post-item:nth-child(-n+2) .post-photo-wrapper .image_wrapper,
.posts_group.element_classes.col-3.grid .post-item .post-photo-wrapper .image_wrapper 	{
		 height:350px !important;
	 }
	
	.posts_group.element_classes.col-3.grid .post-item {
		width: 100% !important;
}
    
	.posts_group.element_classes.col-3.grid .post-item .entry-title,
	#Content .posts_group.element_classes.col-3.grid .post-item:nth-child(-n+2) .entry-title{
		font-size: 25px !important;
		line-height: 1.3em !important;
	}
	.posts_group.element_classes.col-3.grid .post-item {
        padding: 0 0px 40px !important;
    }
	
	.mfn-list {    
    grid-template-columns: 1fr;
}
#listado-tratamientos  .mfn-read-more .button_label{
display:none !important;	
}

	.single-product .wrap.sticky-desktop{
		position:static !important;
	}
	
	.single-product .column_icon_box_2.info-product .desc-wrapper .title {
    width: 160px !important;
}
.column_product_related ul.products li.product, .products_wrapper ul.products li.product{
	        width: 100% !important;
}
 }
 
 @media only screen and (max-width:959px) and (min-width:767px){
	.single-product .column_icon_box_2.info-product .desc-wrapper .title,
	.single-product .column_icon_box_2.info-product .desc-wrapper .desc{
		width: 100% !important;
	}
.single-product .column_icon_box_2.info-product .desc-wrapper{flex-direction:column !important;}
	
}

@media(max-width:480px){
	.single-product .column_icon_box_2.info-product .desc-wrapper .title,
	.single-product .column_icon_box_2.info-product .desc-wrapper .desc{
		width: 100% !important;
	}
.single-product .column_icon_box_2.info-product .desc-wrapper{flex-direction:column !important;}
}