/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 
 /*.nav-item.parent.dropdown.aligned-center.leo-1  .dropdown-sub.dropdown-menu{*/
 /*    display:block !important;*/
 /*}*/
 /*tipo de letra submenu*/
 .dropdown-sub.dropdown-menu {
    font-family: 'Poppins', sans-serif !important;
}
 
 /* posicion de los elemntos del menu*/
 .nav.navbar-nav.megamenu.horizontal .dropdown-sub.dropdown-menu .widget-inner .menu-title{
     display:none;
 }

 #memgamenu-form_6161211802634981{
     width: 100%;
 }
 
@media (min-width: 992px) {
    

    .nav.navbar-nav.megamenu.horizontal > li > a {
        padding: 7px 15px !important;
        margin: 26px 32px !important;
    }
    

    .nav.navbar-nav.megamenu.horizontal > li > a::after {
        position: unset; /* Reinicia el posicionamiento */
        margin-left: 5px;
        font-weight: 600 !important;
    }


    .nav.navbar-nav.megamenu.horizontal > li:nth-child(1) a.nav-link.dropdown-toggle.has-category {
        color: black;
        background: #C9A88E !important;
        border-radius: 20px;
        font-weight: 700;
    }
    
    .nav.navbar-nav.megamenu.horizontal > li:nth-child(1) span.menu-title,
    .nav.navbar-nav.megamenu.horizontal > li:nth-child(2) a.nav-link.dropdown-toggle.has-category span{

        font-weight: 600 !important;
    }
    
    
        .nav.navbar-nav.megamenu.horizontal > li:nth-child(1) a.nav-link.dropdown-toggle.has-category:hover,
        .nav.navbar-nav.megamenu.horizontal > li:nth-child(1) a.nav-link.dropdown-toggle.has-category:active,
        .nav.navbar-nav.megamenu.horizontal > li:nth-child(1) a.nav-link.dropdown-toggle.has-category:focus{
        color: black !important;

    }
.nav.navbar-nav.megamenu.horizontal > li:nth-child(1) span.menu-title:hover{
    color:black;
} 
.nav.navbar-nav.megamenu.horizontal > li:nth-child(3) {
    position: absolute !important; 
    margin-left: 65% !important;

}
.nav.navbar-nav.megamenu.horizontal > li:nth-child(4) {
    position: absolute !important; 
    margin-left: 80% !important;

}

.leo-megamenu .dropdown:hover > a{
    color:black !important;
}
 

 
 
 /*megamenu*/
 
 .leo-megamenu .dropdown-menu .menu-title{
     margin-left:10px;
 }
 .dropdown-sub.dropdown-menu .img-fluid{
       height: 240px !important;
       border-radius: 10px;
     
 }
 
 .dropdown-sub.dropdown-menu  .widget-subcategories a{
     font-size: 15px !important;
 }
  .dropdown-sub.dropdown-menu a{
     font-size: 14px !important;
 }
  .dropdown-sub.dropdown-menu .widget-heading{
      font-weight: 700 !important;
  }
 
 .dropdown-sub.dropdown-menu .widget-inner .menu-title{
     display:none;
 }
 
.leo-widget .thumbnail-container .product-title a{
     width: 230px;
 }
 
 
 
 .dropdown-menu-inner .product-block{
     display:flex;
 }
 .dropdown-sub.dropdown-menu .mega-col.col-md-9{
     width: auto;
 }
 .dropdown-sub.dropdown-menu .dropdown-menu-inner .row{
     display:flex;
 }
}


.dropdown-sub.dropdown-menu .dropdown-menu-inner{
    display:flex;
    justify-content:center;
}



 
@media (max-width: 991px) {
    .dropdown-sub.dropdown-menu .dropdown-menu-inner .row {
        display: flex;
        flex-direction: column;
    }
    .dropdown-sub.dropdown-menu .mega-col.col-md-9{
        display:none;
    }
}
 @media (max-width: 1100px) {
  .leo-megamenu .navbar-nav > li.aligned-center .dropdown-menu {
    left: 170% !important;
  }
}
 
 .leo-megamenu .dropdown-menu li a:hover{
    color: #C9A88E !important;
 }
.dropdown-sub.dropdown-menu .dropdown-menu-inner{
    display:flex;
    justify-content:center;
    margin-left: 20%;
}
 
 
 
 .dropdown-sub.dropdown-menu .product-miniature.js-product-miniature
 {
     display:flex;
     margin-left: 10px;
 }
  .dropdown-sub.dropdown-menu .product-miniature.js-product-miniature .thumbnail-container.clearfix
 {
     display:flex;
     flex-direction: column;
 }
 
 
 .dropdown-menu-inner .thumbnail-container.clearfix .product-image{
    border: 0;
    margin: 0;
    margin-bottom: 10px;
    background: #ebe7de;
    border-radius: 10px;
 }
 
 .dropdown-sub.dropdown-menu div.product-description{
     background-color: transparent !important;
 }
 
 
 .thumbnail-container .product-title a:hover{
     color: #C9A88E !important;
 }
 
 
 /*footer newsltter*/
 .leofa-long-arrow-right:before{
     position:absolute;
 }
 .btn-slideshow-2:before{
     background:#000 !important;
 }
 .block_newsletter form button:hover{
     border-color:#000 !important;
 }
 
 
 .block_newsletter form button{
    border-radius:20px;
    border-color: #f1f1f1;
    margin-top: -49px;
    width: 50px;
    height: 48px;
    font-size: 0;
    position: absolute;
    right: 0;
    padding-right: 10px;
 }
 
 
 .block_newsletter form input[type=email]{
     padding: 17px 0px 17px 24px !important;
     background:white !important;
     color:black !important;
     border-radius:20px;
     padding-right:60px !important;
 }
 
 
.box12-h1 .title-ap-column{
    padding-bottom: 0px !important;
}
 
 
 
.faq-question.active{
    display:flex !important;
    
}
.page-content.page-cms{
    background:transparent;
}

/* 1. Ocultar la respuesta por defecto (¡CRUCIAL para el despliegue!) */
.faq-answer {
    /* Inicialmente oculto */
    display: none; 
    /* Añade algo de espacio interno si lo necesitas, pero sin afectar colores */
    padding: 0 15px 15px; 
}

/* 2. Estilo del botón (pregunta) */
.faq-question {
    /* Asegura que el botón ocupe todo el ancho y sea un contenedor flex para el icono */
    width: 100%;
    display: flex;
    justify-content: space-between; /* Mueve el icono a la derecha */
    align-items: center;
    cursor: pointer;
    /* Evita que el cursor se convierta en texto de selección */
    user-select: none; 
}

/* 3. Añadir el icono de MAS (+) */
.faq-question::after {
    /* El icono inicial es un signo de más */
    content: '+';
    color:#7B5B46 ;
    font-size: 1em; /* Tamaño del icono */
    margin-left: 10px;
    line-height: 1; 
    transition: transform 0.3s ease; /* Transición suave para la rotación (aunque aquí solo cambiamos el content) */
    font-weight: 400;
}

/* 4. Cambiar a MENOS (-) cuando el botón tiene la clase 'active' */
.faq-question.active::after {
    /* Cambia el signo de más por un signo de menos */
    content: '-'; 
    color:#7B5B46 !important;
    font-weight: 400;
}

/* 5. Mostrar la respuesta cuando el botón está 'active' */
.faq-question.active + .faq-answer {
    /* Mostrar el contenido (el div .faq-answer que sigue inmediatamente al botón .active) */
    display: block; 
}



div.product-description{
    background-color: #E9E5DD;
}
div.product-tabs.tabs .nav.nav-tabs{
    display:none;
}




/* 1. CONFIGURACIÓN GENERAL PARA OCULTAR EL ICONO ORIGINAL */
/* Selecciona ambos botones para asegurar que la fuente de Material Icons se use correctamente */
.touchspin-up.material-icons,
.touchspin-down.material-icons {
    /* Oculta la flecha original forzando un tamaño y altura de línea de cero */
    font-size: 0 !important; 
    line-height: 0 !important;
    /* Asegura que el elemento no tenga padding o margen que afecte la ubicación del nuevo icono */
    padding: 0 !important; 
    margin: 0 !important;
}

/* 2. ICONO DE SUMAR (+) - TOUCHSPIN-UP */
.touchspin-up.material-icons::before {
    /* Código de Carácter para el icono 'add' (+) */
    content: "\e145"; 
    
    /* Vuelve a aplicar las propiedades de Material Icons para que el código se muestre como un icono */
    font-family: 'Material Icons'; 
    font-size: 1rem; /* Ajusta este valor si quieres que el icono sea más grande o más pequeño */
    line-height: 1;
    /* Centra el nuevo icono dentro del área del botón */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color:#7B5B46 !important;
}

/* 3. ICONO DE RESTAR (-) - TOUCHSPIN-DOWN */
.touchspin-down.material-icons::before {
    /* CÓDIGO CORREGIDO: '\e14c' corresponde al icono 'remove' (signo de menos) */
    content: "\e15b"; 
    
    /* Vuelve a aplicar las propiedades de Material Icons */
    font-family: 'Material Icons'; 
    font-size: 1rem; /* Ajusta este valor si quieres que el icono sea más grande o más pequeño */
    line-height: 1;
    /* Centra el nuevo icono dentro del área del botón */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color:#7B5B46 !important;
}





/*pagina de productos*/

@media (min-width: 1222px) {
  .product-add-to-cart.js-product-add-to-cart .control-label {
    display: none;
  }
  /*img productos*/
.images-container #zoom_product{
    height: 629px;
}

  .product-add-to-cart.js-product-add-to-cart .product-quantity.clearfix {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
  }

  .product-actions.add-to-cart {
    margin-right: 0px !important;
  }

  .product-add-to-cart.js-product-add-to-cart .product-quantity.add {
    width: 75%;
  }
}


 
 /* botones de los productos */

 .fa-heart:before,.fa-search:before,.leofa-sync:before{
     color:#1e1e1e;
 }
 
 /*ajustes del home*/

 .page-home .container{
     width:97% !important;
 }
 /*.page-home .product_list.grid.row.leo-plist-style > li{*/
 /*   padding-right: 40px;*/
 /*   padding-left: 40px;*/
 /*}*/
 
 /* tipo de letre menu*/
 .leo-megamenu .navbar-nav > li > a > .menu-title{
    font-family: 'Poppins', sans-serif !important;  
 }
 /* color numero carrito*/
 #_desktop_cart .cart-preview .header .cart-products-count{
         background:#C9A88E !important;
 }
 .leo-megamenu .navbar-nav > li > a:hover, .leo-megamenu .navbar-nav > li > a:focus, .leo-megamenu .navbar-nav > li > a:active{
     color:#C9A88E !important;
 }
 
 /*color carruseles*/
 .block-carousel-image-container .descript{
     color:#1e1e1e !important;
 }
 #footer .footer-bottom{
     display:none;
 }
 /*color letras menu*/
 .leo-megamenu .dropdown-menu a > .menu-title{
     color:#1e1e1e !important;
 }
 
 .product-tabs.tabs .nav-tabs .nav-link.active{
     color:#1e1e1e;
     border:0;
 }
.product-tabs.tabs .nav-tabs .nav-link:before{
     background:#1e1e1e !important;
 }
 #blockcart-modal .cart-content .cart-content-btn .btn{
     border-radius:20px;
     color:#fff;
 }
 
 /*boton añadir al carro*/
 .btn.btn-primary.add-to-cart{
     border-radius:20px;
     color:white;
     width:100%;
     float:right;
 }
 /*pagina de producto*/
 .attribute-name{
     font-size:14px !important;
 }
/* Contenedor general centrado en columna */
.clearfix.product-variants-item{
    display: flex;
    flex-direction: column;
}
.clearfix.product-variants-item .control-label{
    width: 100%;
    text-align: center;
    color:#1e1e1e;
    display:none;
    
}
.product-variants > .product-variants-item ul{
    margin-top:25px !important;
}
.product-variants > .product-variants-item {
    margin-top:-33px;
}
.breadcrumb li a{
    color:#1e1e1e !important;
}


#group_1 {
  display: flex;
  flex-direction: column; /* columna: una debajo de otra */
  align-items: center; /* centrar opciones horizontalmente */
  gap: 1rem; /* espacio entre opciones */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Ocultar el radio nativo */
.input-container input[type="radio"] {
  display: none;
}

/* Caja simulando la opción */
.input-container label:has(>span.radio-label) {
  display: block;
  border: 2px solid #1e1e1e; /* borde base */
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  transition: none !important;
  animation: none !important;
  padding: 8px;
  transition: all .3s ease !important;
}

.input-container label:has(>span.radio-label) > span {
  color: #1e1e1e;
}

.input-container label:has(>input[type="radio"]:checked) {
  border-color: #000;
}

/* Estado seleccionado */
.input-container input[type="radio"] + span.radio-label {
  border-radius: 12px;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column; /* columna: bloque principal y plan-info debajo */
  background: transparent;
  justify-content: center;
  font-weight: bold;
  box-sizing: border-box;
  transition: none !important;
  animation: none !important;
  padding: 8px;
  border: 0 !important;
}

/* Estilo general de la opción */
.input-container {
  width: 100%;
}

.input-container label {
  display: block;
  border: 2px solid #1e1e1e;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
}

.input-container input[type="radio"]:checked + .radio-label {
  border: 0;
  border-radius: 12px;
  box-sizing: border-box;
}

/* Radio-label: columna para imagen + texto y plan-info debajo */
.radio-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Bloque de imagen + nombre del atributo */
.attribute-block {
  display: flex;
  flex-direction: row; /* imagen arriba, nombre debajo */
  align-items: center;
  gap: 0.3rem;
  justify-content: space-around;
  width: 100%;
}

/* Imagen circular */
.attribute-block img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  display: block;
  border-radius: 100%;
}

/* Nombre del atributo */
.attribute-block .attribute-name {
  font-weight: bold;
  text-align: center;
}

/* Separador entre nombre y plan-info */
.radio-label .plan-separator {
  width: 80%;
  border: 0;
  border-top: 1px solid #1e1e1e;
  margin:  0;
}

/* Frase del plan debajo */
.radio-label .plan-info {
  display: block;
  font-size: 0.9rem;
  color: #1e1e1e;
  font-weight: normal;
  text-align: center;
}

/* Estado seleccionado */
.input-container input[type="radio"]:checked + .radio-label {
  border: 2px solid #000;
  border-radius: 12px;
  background-color: #f0f0f0;
}

/* Hover de la opción */
.input-container label:hover {
  border-color: #888;
  background-color: #fafafa;
}

.attribute-block .attribute-price {
    font-size: 0.85rem;
    color: #555;
    font-weight: normal;
    text-align: center;
    margin-top: 0.2rem;
}
/* Tipografía global para toda la web */

.block-carousel-image-container .title, .block-carousel-image-container .title  .descript{
    color:#1E1E1E !important;
    font-family: 'Open Sans', sans-serif !important; 
}

/* Títulos H1-H6 con Poppins */
h1 { 
    font-family: 'Poppins', sans-serif !important; 

}
h2 { 
    font-family: 'Poppins', sans-serif !important; 

}
h3 { 
    font-family: 'Poppins', sans-serif !important; 

}
h4 { 
    font-family: 'Poppins', sans-serif !important; 

}
h5 { 
    font-family: 'Poppins', sans-serif !important; 

}
h6 { 
    font-family: 'Poppins', sans-serif !important; 

}

/* Texto normal con Open Sans */
p { 
    font-family: 'Poppins','Open Sans', sans-serif !important; 

}
a { 
    font-family: 'Poppins','Open Sans', sans-serif !important; 

}
span { 
    font-family: 'Poppins','Open Sans', sans-serif !important; 

}
.fa-angle-double-up,
.fa-angle-double-down,
.fa { 
    font: normal normal normal 22px / 2 FontAwesome !important;
}




/*botones de pagina de producto*/
.leo-wishlist-button.btn-product.btn-primary.btn,
.leo-compare-button.btn-primary.btn-product.btn {
    color: #1e1e1e;
    background: transparent !important;
}

.leo-wishlist-button.btn-product.btn-primary.btn:hover,
.leo-compare-button.btn-primary.btn-product.btn:hover {
    color: #1e1e1e;
    background: transparent !important;
}

.input-radio:checked + span {
    background: #C9A88E !important;
}

.input-container label:has(>span.radio-label):hover {
    box-shadow: 0 4px 4px -2px #666666;
    transform: translate(2px, -2px);
    background:transparent !important;
}

.leo-compare-wishlist-button .btn:hover, .leo-compare-wishlist-button .btn:focus, .leo-compare-wishlist-button .btn:active{
    border-bottom:0 !important;
}
.leo-compare-wishlist-button .btn, .leo-compare-wishlist-button .btn, .leo-compare-wishlist-button .btn{
    border-bottom:0 !important;
    font-size: 13px !important;
}

.leo-plist-style .thumbnail-container .functional-buttons .btn-product span span, .leo-plist-style .thumbnail-container .functional-buttons .quick-view span span{
    background: #C9A88E !important;
}
.leo-plist-style .thumbnail-container .functional-buttons .btn-product span span:before, .leo-plist-style .thumbnail-container .functional-buttons .quick-view span span:before{
    border-top-color: #C9A88E !important;
}
.btn:hover, .button:hover, .btn-primary:hover, .btn-product:hover, .add-to-cart:hover{
    transform: none !important;
    box-shadow: none !important;
}

.thumbnail-container .btn,
.thumbnail-container .quickview {
    color: #fff !important;
    font-size: 16px;
    border-radius: 20px;
}
.enlaces-footer-legal{
    font-weight: 600 !important;
}
#blockcart-modal .modal-header{
    background:  #C9A88E;
}
.modal-body,.modal-body .product-name {
    color:black !important;
}
.sidebar .block .block_content{
    background:#E9E5DD !important;
}
/* Fondo general */
body {
    background-color: #E9E5DD; 
    color: #1E1E1E !important; 
    line-height: 1.6;
    font-size: 16px;
}


#products,
.sidebar .block {
    background: none !important;
}

/* ===== Bloques / Secciones alternas ===== */

/* Sección alterna clara */
.section-alt-light {
    background-color: #E8D6C2; 
}

/* Sección alterna más intensa */
.section-alt-dark {
    background-color: #C9A88E; 
}

/* ===== Botones / Acentos ===== */
.btn,
.button,
.btn-primary,
.btn-product,
.add-to-cart {
    background: #7B5B46 !important;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}
.leo-plist-style .thumbnail-container .functional-buttons .btn-product, .leo-plist-style .thumbnail-container .functional-buttons .quick-view{
    border: 1px solid #7B5B46 !important;
    background:transparent !important;
}
.leo-plist-style .thumbnail-container .product-meta .category-default a,.material-icons.touchspin-up,.material-icons.touchspin-down{
    color:#1E1E1E !important;
}
#back-top a,.leo-fly-cart-icon-wrapper .leo-fly-cart-icon{
    background: #1E1E1E !important;
}
.leo-fly-cart-icon-wrapper .leo-fly-cart-total{
    border: 2px solid #1E1E1E;
}

/* Hover de botones */
.btn:hover,
.button:hover,
.btn-primary:hover,
.btn-product:hover,
.add-to-cart:hover {
    background: #7B5B46;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(123, 91, 70, 0.3);
}



 .popup-over{
     margin-right:0px !important;
 }
.elementos-top{
    display:flex;
    width: fit-content;
    align-items: center;
}
 .next-text{
	color: #000;
}
.next-text > p{
	color: #000;
}
.contact-footer-logo{
	color: #999;
	padding-top: 15px;
}
.contact-footer-logo p{
	color: #999;
	padding-top: 15px;
}
.footer-vfarma-text{
	margin-top: 0px;
}
.logo {
	width: auto;
    height: auto;
    max-height: 100px;
	
}
.logo-header{
    min-height: 70px;
    align-items: center;
    display: flex;
}
.logo-footer-vfarma{
	width: 200px;
	height: auto;
}
#back-top{
	right: 20px;
}
#footer::before{
	background: none !important;
}
#footer .footer-top{
	background: #2F3336 !important;
}
#footer .footer-center{
	background: #7B5B46 !important;
}


#footer .footer-bottom{
	background: #FFF !important;
}
.column-footer-logos-europeos {
    display: flex;
}

.column-footer-logos-europeos img {
    min-width: 200px;
}

.column-footer-logos-europeos > div {
    width: 50%;
    display: flex;
    align-items: center;
}

.row-footer-logos-europeos {
    margin: 0 50px;
    /*border-top: 1px solid gray;*/
    padding-top: 5px;
}

.row-footer-logos-europeos > div {
    width: 50%;
}
/* whstssap* */
.asagiSabit{
	right: 60px;
}
.box1-h4 {
	padding-top: 10px !important;
  padding-bottom: 0px !important;
}
/**buscador */
.vfarma-search-top{
	margin-top: 25px;
	
}
.vfarma-search-top #leo_search_block_top{
	border: 1px solid #000;
	
}
.vfarma-parafarmacia-menu > a{
    color: #6A6A6A !important;
}
.img-category-medicamentos .image_description {
    position: absolute;
    
    top: 90% !important;
    left: 0px !important;
    width: 100%;
    text-align: center;
    color: #949494;
    font-size: 22px;
    margin-bottom: 15px;
}
.img-category-medicamentos .image_description p {
    color: #949494;
    font-size: 22px;
}
.marging-top-img-medicamentos{
    margin-top:30px;
}
.ApColumn .title_block{
    font-size: 28px !important;
}
.breadcrumb-bg{
	min-height: 30px !important;
	background-color: #f4f4f4 !important;
}
.breadcrumb{
	margin-top: 0px !important;
	margin-bottom: 0px !important;
	line-height: 10px !important;
}
#category .breadcrumb {
    margin-bottom: 0px !important;
    line-height: 10px !important;
}
h1.page-heading {
    font-size: 1.2em !important;
}
.search-in-cat li{
	float: left;
	padding: 15px;
}
.head-leosearch-product::after{
	clear: both;
}
section#products{
	clear: left;	
}
.head-leosearch-product .search-in-suggest{
    display:none;
}
.leo-megamenu .dropdown-toggle::after {
    top: 25px !important;
  }
@media (max-width: 1020px) {
    .row-footer-logos-europeos {
        display: flex;
        flex-direction: column;
        margin-top: 25px;
    }
    
    .row-footer-logos-europeos > div {
        width: 100%;
    }
    
    .column-footer-logos-europeos {
        margin-bottom: 20px;
    }
    
    .column-footer-logos-europeos > div {
        justify-content: center;
    }
}
@media (max-width: 991px) {
    .box2-h4 > div:nth-child(2){
        left: 20px !important;
    }
    .vfarma-search-top{
	   
        margin-left: 5px;
		
	}
}

@media (max-width: 600px) {
    .row-footer-logos-europeos {
        margin: 20px;
        margin-top: 20px;
    }
    
    .column-footer-logos-europeos img {
        min-width: 150px;
    }
	.vfarma-search-top{
	margin-top: 25px;
		
	}
}

@media (max-width: 480px) {
    .column-footer-logos-europeos img {
        min-width: 130px;
    }
	.column-footer-logos-europeos {
        margin-bottom: 20px;
    }
	.vfarma-search-top{
	    margin-top: 5px;
        margin-left: 5px;
		
	}

	
}
@media (max-width: 1199px) {
  .box12-h1 {
    padding: 50px 0 0 0;
  }
}
@media (min-width: 1200px) {
  .box12-h1 .logo-header {
    padding-top: 0px !important;
    margin-top:-20px;
  }
  /*#header .box2-h4{*/
  /*  padding: 0 0px;*/
  /*}*/
}
@media (max-width: 1699px){
	.leo-megamenu .navbar-nav > li > a {
		padding-top: 10px !important;
		
	}
    .leo-megamenu .dropdown-toggle::after {
        right: 8px;
        top: 10px !important;
      }
}

.thumbnail-container .product-title a {
    -webkit-line-clamp: 3;
}
 .vfarma-sello-medicamentos {
	position: absolute;
	top: 50px;
	right: 20px;
	    z-index: 10;
} 
#indicador_sitio_web_legal img{
	width: 120px;
	height: auto;
}


#leo_block_top .popup-content.dropdown-menu{
	min-width: 350px;
}

.popup-over .popup-content a.account{
	width: 155px !important;
}
body#checkout .custom-checkbox span {
    margin-top: 0px;
    float: left;
    color: #111;
    border: 1px solid #797979;
}

/** Botón carrito prodcuto page fijo */
.my-fixed-add-to-cart .control-label,
.my-fixed-add-to-cart .js-product-availability,
.my-fixed-add-to-cart .product-minimal-quantity,
.my-fixed-add-to-cart .qty,
.my-fixed-add-to-cart .leo-compare-wishlist-button {
    display: none !important;
}

.my-fixed-add-to-cart .add {
    padding: 0;
    width: fit-content;
}

.my-fixed-add-to-cart .add button {
    margin-right: 0;
}

.my-fixed-add-to-cart .product-quantity {
    margin-bottom: 0 !important;
}

.my-fixed-add-to-cart {
    background: #ffffffe6;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    padding: .5rem;
    box-shadow: 0 -1px #0000000d;
    transition: visibility .2s ease-in-out, opacity .2s ease-in-out;
    backdrop-filter: blur(10px);
    visibility: hidden;
    opacity: 0;
}

.my-fixed-add-to-cart.my-fixed-add-to-cart-active {
    visibility: visible;
    opacity: 1;
}

body.page-product .asagiSabit,
body.page-product #back-top {
    transition: bottom .2s ease-in-out;
}

.my-fixed-add-to-cart .my-fixed-add-to-cart-info {
    display: flex;
}

.my-fixed-add-to-cart .my-fixed-add-to-cart-info img {
    width: 40px;
}

.my-fixed-add-to-cart .my-fixed-add-to-cart-info > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 15px;
}

.my-fixed-add-to-cart .my-fixed-add-to-cart-info > div > div:first-of-type {
    font-weight: 600;
}

.my-fixed-add-to-cart .my-fixed-add-to-cart-info > div > div:last-of-type {
    color: #1e1e1e;
}

.my-fixed-add-to-cart-btn {
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .my-fixed-add-to-cart .my-fixed-add-to-cart-info {
        display: none;
    }

    .my-fixed-add-to-cart .my-fixed-add-to-cart-btn {
        width: 100%;
    }

    .my-fixed-add-to-cart .my-fixed-add-to-cart-btn > div.product-add-to-cart {
        width: 100%;
    }

    .my-fixed-add-to-cart .add {
        width: 100%;
    }

    .my-fixed-add-to-cart .add button {
        width: 100%;
    }
}
body.page-product .leo-fly-cart.solo {
    transition: bottom .2s ease-in-out;
}
/*@media (min-width: 1440px) {*/
/*    .box2-h4 > div:last-child {*/
/*      width: auto;*/
/*      position: absolute;*/
/*      top: 50px;*/
/*      right: 81px;*/
/*      padding: 0;*/
/*    }*/
/*  }*/

/* -------------------------------------------- */
.asagiSabit .message {
    display: none;
}

.asagiSabit a img {
    cursor: pointer;
}

.thumbnail-container .product-title {
    height: 2lh;
    line-height: normal;
}

.leo-plist-style .thumbnail-container .product-meta {
    background: #fff;
    padding: 10px 5px;
}

article.product-miniature.js-product-miniature {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .08);
    background: #fff;
}

.leo-plist-style .thumbnail-container .functional-buttons .btn-product,
.leo-plist-style .thumbnail-container .functional-buttons .quick-view {
    margin: 0 5px;
}

article.product-miniature.js-product-miniature .thumbnail-container .product-image {
    overflow: hidden;
}

article.product-miniature.js-product-miniature .thumbnail-container .product-image img {
    transform: scale(1.15);
}



.off-canvas-nav-megamenu {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, .2);
}

#index #content {
    padding: 0 !important;
}

.ventajas-home {
    display: flex !important;
    justify-content: center;
}

.ventajas-container {
    margin: 0;
    padding-left: 15px;
    padding-right: 15px;
}

.block_newsletter.block .block_content .p-off {
    display: flex;
    justify-content: center;
}

.block_newsletter.block .block_content .p-off p {
    margin: 0 15px;
}

.row-footer-logos-europeos .block_content .next-text {
    text-align: left;
}

.block-category {
    background: #f4f4f4;
}

.block-category > h1 {
    margin-bottom: 0;
}

#subcategories {
    margin: 10px 0 20px 0;
}

.subcategory-block.subcategories-list > .subcategory-meta a {
    position: relative;
    text-transform: uppercase;
}

.subcategory-block.subcategories-list > .subcategory-meta a::before {
    position: absolute;
    content: '';
    bottom: -2px;
    left: 0;
    height: 1px;
    width: 25px;
    background: #d1cdc3;
}

.subcategory-block.subcategories-list {
    margin: 3px 0;
}

#pagenotfound .page-content #search_widget {
    overflow: hidden;
    margin: 0;
}

.page-not-found .search-widget form {
    border: 0;
    margin-top: 20px;
}

#search_widget .popup-content input.ui-autocomplete-input {
    border-radius: 0 !important;
    padding: 10px 40px 10px 20px;
}

.search-widget form button[type=submit] {
    display: flex;
    justify-content: center;
    align-items: center;
}

#search_widget form i {
    padding: 0;
}

#products .page-not-found h4,
#pagenotfound .page-not-found h4 {
    border-bottom: 1px solid #ececec;
    padding-bottom: 20px;
}

#products .page-not-found {
    margin-bottom: 10rem;
}

#search_widget #click_show_search {
    display: none;
}

.product-thumb-images .thumb {
    margin-bottom: 1px;
}

.featured-products .block_content .all-product-link,
#main .page-footer {
    margin-bottom: 20px;
}

@media (max-width: 1699px) {
    .leo-megamenu .dropdown-toggle::after {
        right: 8px;
        top: 10px !important;
    }

    .box2-h4 > div:nth-child(2) {
        width: 100%;
    }
}

@media (max-width: 1698px) {
    .box2-h4 > div:last-child {
        width: auto;
        position: relative !important;
        top: 0px !important;
        right: 0px !important;
        padding: 0;
    }
}
@media (max-width: 1439px) {
    .box2-h4 > div:last-child {
        width: auto;
         position: relative !important; 
        top: 0px !important;
        right: 25px !important;
        padding: 0;
    }
}

@media (max-width: 1470px) {
    .ventajas-home .image_description h4 {
        font-size: 16px !important;
    }

    .ventajas-home .image_description p {
        font-size: 14px !important;
        height: 2lh;
    }

    .ventajas-home img {
        padding-right: 15px !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 1199px) {
    .leo-megamenu .dropdown-toggle::after {
        right: 3px;
    }

    .ventajas-home .image_description h4 {
        font-size: 14px !important;
    }

    .ventajas-home .image_description p {
        font-size: 12px !important;
    }

    .row-footer-logos-europeos {
        margin: 0;
    }
}

@media (min-width: 992px) {
    .box11-h1 .top p:before {
        font-size: 14px !important;
        letter-spacing: 4px;
        color: #000000;
        left: 0 !important;
        right: 0;
    }
}

@media (max-width: 991px) {
    	.testimonio{
	    line-height:normal;
	}
    .vfarma-search-top {
        padding-bottom: 10px;
    }

    .ventajas-container > div {
        padding: 0 !important;
        width: 50% !important;
    }

    .ventajas-home {
        padding: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ventajas-container > div:nth-of-type(3) .ventajas-home,
    .ventajas-container > div:nth-of-type(4) .ventajas-home {
        border-top: 1px solid #ececec;
    }

    .ventajas-container > div:nth-of-type(2) .ventajas-home,
    .ventajas-container > div:nth-of-type(4) .ventajas-home {
        border-left: 1px solid #ececec;
    }

    .ventajas-home img {
        width: 40px !important;
        object-fit: contain;
        margin-bottom: 10px;
        padding: 0 !important;
    }
}

@media (max-width: 767px) {
    .tabs-accordion-container[class*="accordion-"] .tab-pane {
        border: 1px solid #ececec !important;
    }
}

@media (max-width: 480px) {
    .ventajas-home img {
        width: 30px !important;
    }

    #products .page-not-found h4,
    #pagenotfound .page-not-found h4 {
        font-size: 20px;
    }

    #pagenotfound #main .page-content,
    #products .page-not-found {
        margin-bottom: 3rem;
    }

    .popup-over .popup-content {
        right: -80px;
    }
}
/** evitar modificar fecha de nacimiento cuando estas logueado*/
#identity input[name="birthday"] {
    pointer-events: none;
    opacity: 0.5;
    background-color: #f0f0f0;
  }


/* NUEVA P�0�9GINA MARCAS */
body#manufacturer section#wrapper .container #left-column {
    display: none;
}

body#manufacturer section#wrapper .container #content-wrapper {
    width: 100%;
}

.nuevas-marcas-lista-letras {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nuevas-marcas-lista-letras::-webkit-scrollbar {
    display: none;
}

.nuevas-marcas-lista-letras a {
    font-weight: 500;
    font-size: 1.5em;
    margin: 0 10px;
}

.nuevas-marcas-lista-letras a:first-of-type {
    margin-left: 0;
}

.nuevas-marcas-lista-letras a:last-of-type {
    margin-right: 0;
}

.nuevas-marcas-lista-contenedor,
.nuevas-marcas-lista-bloque {
    margin-top: 50px;
}

.nuevas-marcas-lista-contenedor {
    margin-bottom: 50px;
}

.nuevas-marcas-lista-titulo {
    text-align: center;
    font-weight: 500;
    font-size: 32px;
    position: relative;
    line-height: normal;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.nuevas-marcas-lista-titulo::before {
    content: '';
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    bottom: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
}

.nuevas-marcas-lista-titulo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #f0f0f0;
    border-radius: 50%;
}

.nuevas-marcas-lista-contenido {
    min-width: 200px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
}

.nuevas-marcas-lista-contenido a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: space-between;
    align-items: flex-start;
    height: auto;
    padding: 5px;
    margin: 5px 0;
    box-sizing: border-box;
    font-size: 14px;
    color: #242424;
    text-decoration: none;
    width: calc(100% / 4);
    font-size: 16px;
}

.nuevas-marcas-search-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 50px;
}

.nuevas-marcas-search-container > div {
    width: 30px;
    border: 1px solid #ddd;
    border-radius: 25px 0 0 25px;
    border-right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#nuevas-marcas-search {
    all: revert;
    border: 1px solid #ddd;
    outline: none;
    padding: 12px 15px;
    border-radius: 0 25px 25px 0;
    min-width: 500px;
    color: #222;
    font-weight: normal;
    border-left: 0;
}

@media (max-width: 1200px) {
    .nuevas-marcas-lista-contenido a {
        width: calc(100% / 2);
    }
}

@media (max-width: 900px) {
    #nuevas-marcas-search {
        min-width: 250px;
    }
}

@media (max-width: 600px) {
    .nuevas-marcas-lista-contenido a {
        width: calc(100% / 1);
    }
}

@media (max-width: 480px) {
    .nuevas-marcas-lista-contenedor,
    .nuevas-marcas-lista-bloque,
    .nuevas-marcas-lista-contenido,
    .nuevas-marcas-search-container {
        margin-top: 20px;
    }

    .nuevas-marcas-lista-letras {
        display: none;
    }
    body#category #subcategories{
       display:none; 
    } 
    body#category #products{
        margin-top: 20px;
    }
    .ventajas-container{
        display:none;
    }
    .btn.btn-product.add-to-cart.leo-bt-cart{
        padding: 5px 15px;
        text-transform: math-auto;
        font-size: 14px;
    }
    .btn.btn-product.add-to-cart.leo-bt-cart i{
    display:none;
    }
}
@media (max-width: 900px) {

    .btn.btn-product.add-to-cart.leo-bt-cart{
        padding: 5px 15px;
        text-transform: math-auto;
        font-size: 14px;
    }
    .btn.btn-product.add-to-cart.leo-bt-cart i{
    display:none;
    }
}
@media (max-width: 1300px) {

.add-to-cart {
    background: #7B5B46 !important;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 10px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}
}
@media (max-width: 1200px) {

.add-to-cart {
    background: #7B5B46 !important;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 10px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
}
    .btn.btn-product.add-to-cart.leo-bt-cart{
        text-transform: math-auto;
        font-size: 16px;
    }
    .btn.btn-product.add-to-cart.leo-bt-cart i{
    display:none;
    }
}
.leoproductsearch-result .ac_results {
    min-height: 500px;
    height: 500px;
}

.leoproductsearch-result .ac_results > div,
.leoproductsearch-result .ac_results .search-in-product,
.leoproductsearch-result .ac_results ul {
    height: 100%;
}

.leoproductsearch-result .ac_results ul {
    overflow-y: auto;   
}

.cart-grid-body > a.label,
#blockcart-modal .cart-content .cart-content-btn .btn.btn-secondary {
    background: #ddd;
    color: #fff;
}

.leo_free_price p {
    padding: 10px;
    color: #31708f;
    background: #d9edf7;
    margin: 0 10px;
    text-align: left;
}


.whatsappBlock a:after{
    border:0px !important;
    background:transparent !important;
}
.whatsappBlock a img{
    border:0px !important;
}
.elementos-top #leo_search_block_top {
    margin-top:-6px !important;
    margin-right:12px !important;
}
.box2-h4 #leo_search_block_top.show form{
    transform: translateX(-250px) !important;
}
/* #leo_search_block_top .title_block  {
    display: none !important;
} */
.leo-megamenu .navbar-nav > li > a{
    letter-spacing: 0px !important;
}
@media (max-width: 991px) {
    .box2-h4 > div:nth-child(2) {
        position: relative !important;
        top: -1px !important;
        left: -35px !important;
    }
}
.bannercontainer .tp-caption .btn-slideshow3-h4{
    border-radius: 50px;
}
.ventajas-container{
    display: flex;
    justify-content: space-between;
}

.box4-h1{
        margin-top: 0px !important;
    padding-bottom: 20px !important;
}
.div-marcas-home  {
    top: 10px;
} 


@media (max-width: 1699px) {
    .leo-megamenu .navbar-nav > li > a {
        padding: 10px 15px !important;
}
}

.flia-menu-principal::after{
    display: none !important;
}
.flia-menu-principal{
    justify-content: space-between !important;
}



/*pagina de contacto*/
body#contact section#wrapper div#left-column {
    display: none;
}

body#contact section#wrapper div#content-wrapper {
    width: 100%;
}

body#contact section#wrapper div#content-wrapper section.contact-form {
    box-shadow: 0 0 5px #ddd;
    padding: 25px;
}

body#contact section#wrapper div#content-wrapper section#content {
    border: 0;
}

body#contact .contact-page-informacion-titulo {
    margin-bottom: 25px;
}

body#contact .contact-page-informacion {
    display: flex;
    justify-content: space-between;
}

body#contact .contact-page-informacion-iconos {
    margin: 50px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body#contact .contact-page-informacion-iconos > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body#contact .contact-page-informacion-icono {
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    padding: 25px;
    background: #C9A88E;
    margin-bottom: 15px;
}
@media (max-width: 1199px) {
    body#contact .contact-page-informacion,
    body#contact .contact-page-informacion-iconos {
        flex-direction: column;
    }

    body#contact .contact-page-informacion-iconos > div,
    body#contact .contact-page-informacion > div > div {
        margin: 10px 0;
    }
}
/*blog*/
.blog-ctncomment{
    margin-right: 10px;
}
#module-leoblog-list .leading-blog{
    display: flex;
}
#module-leoblog-list .leading-blog .nocol-lg-12{
    margin: 0 10px;
}
@media (max-width: 991px) {
#module-leoblog-list .leading-blog{
    display: flex;
    flex-direction: column;
}
}
#info-marca a:hover {
    text-decoration: underline;
    color: #4682B4;
}
#patchd-club h3 { margin-top: 1.5em; }
.faq-item { margin: 0.5em 0; }
.faq-question {
    width: 100%;
    text-align: left;
    padding: 0.7em 1em;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 1.5em;
    cursor: pointer;
    transition: background 0.2s;
    }
.faq-question:hover { background: #e0e0e0; }
.faq-answer {
    display: none;
    padding: 0.8em 1em;
    background: #fafafa;
    border-left: 3px solid #7B5B46 ;
    margin-top: 0.3em;
    border-radius: 6px;
}


.footer-web a,
.footer-web a:link,
.footer-web a:visited,
.footer-web a:hover,
.footer-web a:active,
.footer-web a:focus,
.footer-web a * {
  color: #ffffff !important;
  text-decoration: none !important;
}


.footer-web a svg,
.footer-web a svg * {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}


.footer-web a::before,
.footer-web a::after,
.footer-web a *::before,
.footer-web a *::after {
  color: #ffffff !important;
}

.footer-web {
    display: flex;
    justify-content: center;
    gap: 1em; 
}

/* Vista móvil */
@media (max-width: 768px) {
    .footer-web {
        flex-direction: column;   
        align-items: center;      
        text-align: center;       
    }

    .footer-web a {
        display: flex;             
        justify-content: center;   
        align-items: center;       
        width: 100%;               
    }
}

.footer-vfarma-text{
    display: flex;
    justify-content: center;
}
.dropdown-menu-inner .row > div {
    width: 200px;
}

/* carrusel testimonios */
.bloque-testimonios .slick-row.hide-loading {
    margin-left: 50px;
    margin-right: 50px;
}

#form_6503529761446531 > div{
    padding-bottom:80px;
}


@media (max-width: 991px) {
    .bloque-testimonios .slick-row.hide-loading {
        margin-left: 40px;
        margin-right: 40px;
    }
}

.bloque-testimonios .block-carousel-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bloque-testimonios .block-carousel-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.bloque-testimonios .left-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bloque-testimonios .title {
  font-size: 18px;
  font-weight: bold;
  color: #2c3e50;
  border-left: 4px solid #7B5B46 ;
  padding-left: 8px;
}

.bloque-testimonios .descript {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  padding-left: 4px;
}

/*logo version movil*/
@media (max-width: 991px) {
  .logo {
    max-height: 75px;
    height: auto; 
    width: auto;  
  }
}

/* bloque testimonis de expertos*/

.carrusel-testimonios {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 80px;
  margin-left: -32px;
}

.contenedor-slides {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
}

/* Tarjeta individual */
.slide {
  background: #000;
  color: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex: 0 0 25%; /* 4 por fila por defecto */
  height: 420px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Capa de degradado */
.slide::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(201, 168, 142, 0.3), rgba(0, 0, 0, 0.6)) !important;

  z-index: 1;
}

.slide .contenido {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Rol */
.rol {
  align-self: flex-start;
  background: white;
  color: #1e1e1e;
  padding: 6px 14px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.85rem;
}
.rol span {
  font-weight: normal;
}

/* Nombre */
.nombre {
  background: black;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  align-self: flex-start;
  width: fit-content;
  margin-bottom: 5px;
}

/* Testimonio */
.testimonio {
  font-style: italic;
  font-size: 1rem;
  text-align: center;
  padding-bottom: 0px;
}

/* Flechas */
.flecha {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 3;
}
.flecha.izq { left: 10px;color:#1e1e1e; }
.flecha.der { right: 10px;color:#1e1e1e; }

.flecha:hover {
  background: white;
}

/* RESPONSIVE: 3 por fila */
@media (max-width: 1199px) {
  .slide {
    flex: 0 0 33.3333%;
  }
}

/* RESPONSIVE: 3 por fila para tablets */
@media (max-width: 991px) {
  .slide {
    flex: 0 0 33.3333%;
  }
}

/* RESPONSIVE: 1 por fila en móviles */
@media (max-width: 767px) {
  .slide {
    flex: 0 0 100%;
  }
}
.carrusel-testimonios .contenedor-slides {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

/*carrito*/

#conditions-to-approve span.custom-checkbox{
    border: 0 !important;
}


.ap-menu .nav-item a {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(16px, 2.5vw, 18px);
  line-height: 1.6;
  font-weight: 600;
  font-style: normal;
  text-decoration: none;
  padding: 10px 15px;
}
.ap-menu .nav-item.cta a {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(18px, 3vw, 20px);
  line-height: 1.6;
  font-weight: 700;
  font-style: normal;
  padding: 8px 16px;
  border: 2px solid;
  border-radius: 4px;
}


.bannercontainer .tp-caption.slide-text7 {
 font-family: 'Poppins', sans-serif !important;
}

.block_content.products-block .post-name{
    height: auto !important;
}


.product-label-henkel {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
   font-size: 1.1rem;
    text-align: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.accordion-container {
  font-family: 'Poppins', sans-serif;
  margin-top: 20px;
}

.accordion-button {
  width: 100%;
  background-color: #FFFFFF;
  border: none;
  outline: none;
  text-align: left;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:hover {
  background-color: #f0e4d3;
}

.accordion-content {
  display: none;
  padding: 10px 20px 20px 20px;
  background-color: #FFFFFF;
  border-left: 3px solid #FFD700;
  border-radius: 0 0 8px 8px;
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 14px;
}

.plus {
  font-weight: 700;
  font-size: 18px;
  transition: transform 0.2s;
}

.accordion-button.active .plus {
  transform: rotate(45deg);
}

/* === SECCIÓN CIENCIA PATCHD LAB === */
.science-section {
  background: transparent;
  color: #1E1E1E;
  font-family: inherit;
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.science-header h2 {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 15px;
}

.science-header p {
  font-size: 1.2em;
  color: #2b2b2b;
  max-width: 750px;
  margin: 0 auto 50px;
  line-height: 1.6;
}

.highlight { color: #7B5B46; }

/* === BLOQUES === */
.science-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.science-block.alt {
  background-color: #E8D6C2;
  border-radius: 16px;
  padding: 25px;
}

.science-block.reverse { flex-direction: row-reverse; }

.science-block.compact { padding: 20px 0; margin-bottom: 50px; }

.science-block-image {
  flex: 1 1 400px;
}

.science-block-content {
  flex: 1 1 400px;
}

.science-block img {
  width: 100%;
  border-radius: 16px;
  height: auto;
}

.science-block-content h3 {
  font-size: 1.9em;
  margin-bottom: 5px;
}

.science-block-content h4 {
  font-size: 1.3em;
  color: #7B5B46;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.science-block-content p {
  font-size: 1.1em;
  line-height: 1.5;
}

.science-block-content ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

/* === BLOQUE DE EVIDENCIA CIENTÍFICA === */
.science-evidence {
  background: transparent; /* deja ver el fondo del CMS */
  padding: 60px 20px;
  text-align: center;
  color: #1E1E1E;
}

.evidence-title {
  font-size: 2.4em;
  margin-bottom: 10px;
  color: #1E1E1E;
}

.evidence-subtitle {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #4A4A4A;
}

/* GRID */
.evidence-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* TARJETAS */
.evidence-card {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  flex: 1 1 30%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evidence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* ETIQUETA DE ESTADO */
.evidence-status {
  font-size: 0.85em;
  font-weight: 600;
  color: white;
  padding: 8px 14px;
  display: inline-block;
  border-radius: 0 0 8px 0;
  text-transform: uppercase;
}

.evidence-status.completed {
  background: #7B5B46; /* cacao */
}

.evidence-status.inprogress {
  background: #C9A88E; /* beige oscuro */
}

.evidence-status.live {
  background: #E86B40; /* tono cálido para destacar */
}

/* CONTENIDO */
.evidence-content {
  padding: 25px 20px 15px 20px;
  flex-grow: 1;
}

.evidence-content h3 {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #1E1E1E;
}

.evidence-content p {
  font-size: 1.1em;
  line-height: 1.5;
  color: #333;
}

/* PIE DE TARJETA */
.evidence-footer {
  background: #F8F7F4;
  padding: 15px 20px;
  border-top: 1px solid #ddd;
  text-align: left;
}

.evidence-footer a {
  font-size: 0.95em;
  color: #7B5B46;
  text-decoration: none;
  display: block;
  margin-top: 5px;
}

.evidence-footer a:hover {
  text-decoration: underline;
}

.evidence-source {
  display: flex;
  align-items: center;
  gap: 10px;
}

.evidence-source img {
  width: 90px;
  height: auto;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .evidence-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .evidence-card {
    flex: 1 1 100%;
  }
}

/* === PATCHDLAB HERO SECTION === */
.patchdlab-hero {
  position: relative;
  background: url('/img/cms/footing.jpg') center center / cover no-repeat;
  color: #ffffff;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

/* --- Fondo con opacidad 30% --- */
.patchdlab-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* --- Contenido --- */
.patchdlab-container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Título --- */
.patchdlab-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

/* --- Subtítulo --- */
.patchdlab-subtitle {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* --- Beneficios --- */
.patchdlab-benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 50px;
  align-items: center;
}

.patchdlab-benefit {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  text-align: left;
  max-width: 750px;
}

.patchdlab-check {
  color: #2fa44f;
  font-size: 26px;
  flex-shrink: 0;
  margin-top: 3px;
}

.patchdlab-benefit p {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.5;
}

.patchdlab-benefit strong {
  color: #ffffff;
  font-weight: 700;
}

/* --- Cita o testimonio --- */
.patchdlab-quote {
  font-style: italic;
  font-size: 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  padding: 22px 28px;
  border-radius: 12px;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* --- Botón de compra --- */
.patchdlab-btn {
  display: inline-block;
  background-color: #7B5B46;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 40px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.patchdlab-btn:hover {
  background-color: #000000;
  transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .patchdlab-title {
    font-size: 38px;
  }

  .patchdlab-subtitle {
    font-size: 18px;
  }

  .patchdlab-benefit p {
    font-size: 17px;
  }

  .patchdlab-quote {
    font-size: 17px;
  }

  .patchdlab-btn {
    font-size: 17px;
    padding: 12px 34px;
  }
}

@media (max-width: 600px) {
  .patchdlab-hero {
    padding: 80px 16px;
    background-position: center top; /* recorte centrado en móvil */
  }

  .patchdlab-title {
    font-size: 30px;
  }

  .patchdlab-subtitle {
    font-size: 16px;
  }

  .patchdlab-benefit {
    flex-direction: row;
    align-items: flex-start;
  }

  .patchdlab-benefit p {
    font-size: 16px;
  }

  .patchdlab-check {
    font-size: 22px;
  }

  .patchdlab-quote {
    font-size: 15px;
    padding: 18px 20px;
  }

  .patchdlab-btn {
    font-size: 16px;
    padding: 12px 30px;
  }
}

/* === PATCHDLAB SLEEP SECTION === */
.patchdlab-sleep {
  position: relative;
  background: url('/img/cms/dormir_1.jpg') center center / cover no-repeat;
  color: #ffffff;
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  text-align: center;
  padding: 120px 20px;
  overflow: hidden;
}

/* --- Fondo con opacidad --- */
.patchdlab-sleep-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* --- Contenedor --- */
.patchdlab-sleep-container {
  position: relative;
  z-index: 2;
  max-width: 950px;
  margin: 0 auto;
}

/* --- Título --- */
.patchdlab-sleep-title {
  font-size: 44px;
  line-height: 1.2;
  margin-bottom: 18px;
  font-weight: 700;
  color: #ffffff;
}

/* --- Subtítulo --- */
.patchdlab-sleep-subtitle {
  font-size: 20px;
  color: #f8f8f8;
  margin-bottom: 45px;
  line-height: 1.6;
}

/* --- Beneficios --- */
.patchdlab-sleep-benefits {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 55px;
  align-items: center;
}

.patchdlab-sleep-benefit {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  text-align: left;
  max-width: 700px;
}

.patchdlab-sleep-check {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 3px;
}

.patchdlab-sleep-benefit p {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
  line-height: 1.5;
}

.patchdlab-sleep-benefit strong {
  color: #ffffff;
  font-weight: 700;
}

/* --- Botón --- */
.patchdlab-sleep-btn {
  display: inline-block;
  background-color: #7B5B46;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 40px;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.patchdlab-sleep-btn:hover {
  background-color: #8768e8;
  transform: scale(1.05);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .patchdlab-sleep-title {
    font-size: 36px;
  }

  .patchdlab-sleep-subtitle {
    font-size: 18px;
  }

  .patchdlab-sleep-benefit p {
    font-size: 17px;
  }

  .patchdlab-sleep-btn {
    font-size: 17px;
    padding: 12px 34px;
  }
}

@media (max-width: 600px) {
  .patchdlab-sleep {
    padding: 80px 16px;
    background-position: center top;
  }

  .patchdlab-sleep-title {
    font-size: 28px;
  }

  .patchdlab-sleep-subtitle {
    font-size: 16px;
  }

  .patchdlab-sleep-benefit {
    flex-direction: row;
    align-items: flex-start;
  }

  .patchdlab-sleep-benefit p {
    font-size: 16px;
  }

  .patchdlab-sleep-check {
    font-size: 22px;
  }

  .patchdlab-sleep-btn {
    font-size: 16px;
    padding: 12px 30px;
  }
}
