/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

@media (min-width: 1024px) {
	#products .product-miniature {
    margin: 0 .7125rem !important;
}
}

body.page-product.product-id-category-94 .product-actions {
  display: none !important;
}

.related-products .product-miniature {
    display: flex;
    align-items: center;
    gap: 20px;
 margin: 3px !important;
    border: 1px solid #4a4a4a;
    padding: 10px;
    border-radius: 20px;
    background: white !important;
}

.related-products .product-image img {
    max-width: 100px; /* Ajusta tamaño de la imagen */
    height: auto;
}

.related-products .product-info {
    display: flex;
    flex-direction: column; /* Mantiene nombre, precio y botón en columna */
    gap: 10px;
}

.related-products button.btn.btn-primary {
    font-size: 0.85em !important;
    padding: 0.5em;
    width: auto;
}

.related-products {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    margin-top: 20px;
}
@media (max-width: 728px) {
.related-products .product-image img {
    max-width: 70px !important;
}
}
body#product section.product-accessories.clearfix {
    display: none;
}



body.product-id-3291 .product-customization .card.card-block {
    padding: 0px !important;
}


/* Evita que el display:flex afecte el ancho de la columna */
body.product-id-3291 .product-information {
  width: 100%;
}

body.product-id-3291 .product-customization small.float-xs-right {
    display: none;
}

body#checkout label[for="payment-option-3"] span {
  display: inline-block;
  width: 100%;
  visibility: hidden;
  position: relative;
}

body#checkout label[for="payment-option-3"] span::after {
  content: "Pago telefónico con tarjeta";
  visibility: visible;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: left; /* Asegura que el texto esté alineado a la izquierda */
}
body#checkout div.payment-options label {
    min-width: 200px !important;
    text-align: left !important;
}


@media (max-width: 767px) {
.block-category.card.card-block {
    margin-bottom: 25px;
}

/* #header .layout_layout1 .mm_menus_li:nth-child(2) {
 /*   background-color: #F45489 !important; FONDO madre*/
 /*   background-color: #BA102A !important; /*FONDO NAVIDAD*/
	/*color: white !important;
}*/

/* .layout_layout1 .mm_menus_li:nth-child(2) a {
    color: white !important;
}*/
	
ul.mm_columns_ul li.mm_has_sub ul.mm_blocks_ul li.mm_blocks_li div.ets_mm_block.mm_block_type_image p a {
    color: black !important;
}

body#cart div.product-line-info a.label {
    font-size: 1em !important;
}
body#cart span.price {
    font-size: 0.85em !important;
}	
	
	
	
}

body#cart .product-line-info.seleccione.color.\(\*\) {
    width: 100%;
    box-shadow: none;
    border: 0px !important;
}

body#cart div.product-line-info a.label {
    font-size: 1.2em;
    /* margin-bottom: 20px !important; */
}

.layout_layout1 .mm_menus_li:nth-child(2) {
    border-left: 0px !important;
}

body#cart .product-line-grid-left img {
    max-width: 50% !important;
}
 .cp-popup-close-button {
    width: 35px;
    height: 35px;
    left: 15px;
    top: 15px;
    opacity: 1;
    background: black;
 }
	
.cp-popup-close-button:before, .cp-popup-close-button:after {
    width: 20px;
    height: 5px;
    top: 15px;
    left: 7px;	
}

@media (max-width: 768px) {
.ets_mm_block_content {
    display: none;
 }
#blockcart-modal .modal-content {
    /* max-height: 500px !important; */
    /* overflow: scroll; */
    margin-top: 79px;
}
#blockcart-modal .product-image {
        width: 30% !important;
    }
#blockcart-modal .product-name {
    font-size: 1.3em;
}
body#product .h1 {
    font-size: 2em !important;
}
div#megamenunopc i.material-icons.shopping-cart {
    font-size: 1.8em !important;
}
span.cart-products-count {
    display: none !important;
}	
.col-md-6.col-xs-2.price {
        width: 31% !important;
    }
.layout_layout1 .mm_menus_li:nth-child(2) {
    background: white !important;
}
ul.mm_menus_ul.active {
    background: white !important;
}
	body#cart .col-xs-6 {
    width: 70%;
}
body#cart .product-line-grid-left img {
    max-width: 74%;
}
	
div.ets_mm_block.mm_block_type_image p {
	    font-size: 1.5em !important;
 }

body#cart .row.product-miniature {
    padding: 0px !important;
}
body#cart a.btn.btn-primary {
        font-weight: 700;
        width: 100%;
        font-size: 1.3em !important;
    }
	
body#cart .col-md-3 {
    padding-left: 8px !important;
	width: 20%;
}
body#cart .col-md-10.col-xs-6 {
    margin: 0px !important;
    padding: 0px !important;
}
	
body#cart a.label {
    font-size: 1.3em;
	font-weight: 500;
}
body#cart .product-price.h5 {
    font-size: 1em;
}
body#cart span.product-price {
    font-size: 1.1em;
}	
   body#cart .col-md-6.col-xs-6.qty {
        padding-left: 75px !important;
        margin-right: -15px !important;
    }

body#cart .product-line-grid-left img {
        min-width: 100%;
    }

body#cart .col-md-4 {
        margin-bottom: 2px !important;
        margin-top: 10px;
        width: 80%;
    }	
body#product.row {
    margin-right: 0px;
    margin-left: -15px;
}
	
	
	
.checkout.cart-detailed-actions.js-cart-detailed-actions.card-block {
    margin-bottom: 10px !important;
}
	
}

/* CSS para enlaces varios */
a:visited {
  color: #475820 !important;
}

a:focus {
  color: #475820 !important;
}


/* Poner modo catalogo sección Centros de Pascua*/

.category-12 .ajax_add_to_cart_button,
.category-12 .add-to-cart {
    display: none;
}



section.featured-products.clearfix.mt-3 {
    display: none !important;
}




button#submitForm {
    color: black !important;
    font-size: 1.3em;
    background: #84B409;
    width: 100%;
    border-radius: 20px;
}

p.help-block {
    color: black !important;
    font-size: 1em !important;
}

body#checkout .check-values-1 .col-md-6::before {
    content: "Este campo sólo permite números";
}


@media (max-width: 767px) {

/*	.layout_layout1 .mm_menus_li:nth-child(2) a span.mm_menu_content_title {
        color: white !important;
    }*/
	
span.mm_menu_content_title {
    padding: 5px !important;
    font-size: 1.3em;
}
	ul.subcategories-list li {
    width: 50% !important;
    display: inline !important;
    float: left !important;
}
	img.replace-2x {
    width: 90% !important;
    height: auto;
}
	
}

ul.mm_blocks_ul li.mm_blocks_li div.ets_mm_block.mm_block_type_image p {
   text-align: center; !important;
	line-height: 10px;
}

#header a {
    color: #232323;
    font-size: 0.8em !important;
}

li.product-flag.new {
    display: none;
}

body#search .block-category.card.card-block {
    display: none;
}

.category-cover {
    display: none;
}

.footer-container {
    padding-top: 0px !important;
}

.card {
    box-shadow: none;
    border: 0px;
}

.tanascroll {
    overflow: scroll;
    max-height: 200px;
    margin-bottom: 40px;
    padding-right: 20px;
}

#wrapper {
    background: white;

}

/* Estilos pagina categorias  */

.block-categories {
    box-shadow: none;
    background: #fff;
    padding: 1.563rem 1.25rem;
    margin-bottom: 1.563rem;
}

#search_filters, #search_filters_brands, #search_filters_suppliers {
    box-shadow: none;
    margin-bottom: 1.563rem;
    background: #F4F0E5;
    padding: 1.563rem 1.25rem;
}

#products .product-title a, .featured-products .product-title a, .product-accessories .product-title a, .product-miniature .product-title a {
    color: #54595F;
    font-weight: 300;
    font-size: 1em;
}

span.price {
    color: green;
    font-size: 1.2em;
    font-weight: 400;
}

#products .thumbnail-container, .featured-products .thumbnail-container, .product-accessories .thumbnail-container, .product-miniature .thumbnail-container {
    position: relative;
    margin-bottom: 1.563rem;
    height: 318px;
    width: 250px;
    background: white;
    box-shadow: none;
}

.pagination .page-list {
    box-shadow: none;
}

.pagination .current a {
    color: #84B409;
}
.products-sort-order .select-title {
    border: 1px solid rgba(0,0,0,.25);
    box-shadow: none;
    border-radius: 20px;
}

body#category .h1 {
    color: #54595F;
    font-family: Alex Brush;
    font-size: 3em;
    font-weight: 400;
    text-transform: initial;
}

body#cms nav.breadcrumb.hidden-sm-down {
    text-align: center;
    text-transform: uppercase;
}

body#cms header.page-header {
    text-align: center !important;
    color: #54595F;
}

body#cms header.page-header {
    margin-bottom: 0px !important;
}

/* Estilos pagina checkout */

body#cart .product-price {
    color: grey;
    display: inline-block;
}


body#cart .cart-grid-body .card-block h1 {
    margin-bottom: 0;
    font-family: 'Alex Brush';
    text-transform: initial;
    font-size: 3em;
	color: #54595F;
	font-weight: 400;
}

body#cart #wrapper {
    background: white;
    box-shadow: inset 0 2px 5px 0 rgba(0,0,0,.11);
    padding-top: 10px;
}

body#cart .card {
    box-shadow: none;
    border: 0px;
}

/* Estilos pagina producto */

#blockcart-modal .product-name {
    font-size: 1.125rem;
    font-family: 'DM Serif Display';
    font-size: 2em;
    color: #54595F;
    padding-bottom: 20px;
    font-weight: 300;
}

button.btn.btn-secondary {
    border-radius: 20px;
    box-shadow: none;
    background: #455518;
    color: white;
}

.tabs .nav-tabs .nav-link.active, .tabs .nav-tabs .nav-link:hover {
    border-bottom: 3px solid #84B409;
}

.tabs .nav-tabs .nav-item {
    font-size: 1.2em;
    font-family: 'Lato';
    text-transform: uppercase;
    font-weight: lighter !important;
}

.tabs .nav-tabs .nav-link.active {
    color: #455518;
}

span.control-label {
    font-size: 2em;
    padding-bottom: 15px;
    font-family: Alex Brush;
}

.bootstrap-touchspin {
    box-shadow: none;
}

.product-quantity #quantity_wanted {
    border: 0px;
    box-shadow: none !important;
    border: 1px solid #dadada !important;
}

.wishlist-button-add {
    background-color: #F4F0E5 !important;
    box-shadow: none !important;
}

.product-images>li.thumb-container>.thumb {
    box-shadow: none;
    cursor: pointer;
    margin-bottom: 0.625rem;
}

#product-availability {
    font-weight: 700;
    color: red;
    font-size: 1.2em;
}

li.product-flag.out_of_stock {
    background: red !important;
}

.product-flags li.product-flag {
    background: #84B409;
    font-weight: 400;
    color: #fff;
    font-family: 'Lato';
    font-size: 1rem;
    box-shadow: none;
}

.product-images>li.thumb-container>.thumb.selected, .product-images>li.thumb-container>.thumb:hover {
    border: 2px solid #84B409;
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #84B409;
    border-color: transparent;
    border-radius: 20px;
    box-shadow: none;
}
.btn-primary:hover {
	color: white !important;
    background-color: #455518;
}

button.btn.btn-primary.add-to-cart {
    font-size: 1.2em;
    font-weight: 400;
    color: white;
}

button.btn.btn-primary.add-to-cart:hover {
	background-color: #455518;    
	font-size: 1.2em;
    font-weight: 400;
    color: white;
}

body#product #wrapper {
    background: white;
}


body#product .h1, .h2, .h3 {
    color: #54595F;
    font-family: 'DM Serif Display', 'Times New Roman' !important;
    font-size: 3em;
    font-weight: 400;
    text-transform: uppercase;
}

body#product .product-price {
    color: #84B409;
    display: block;
    font-size: 2em;
    font-weight: 400;
}

body#product p {
    font-size: 1.1em;
    color: #7a7a7a;
    font-weight: 400;
    font-family: 'Lato';
}
body#product .product-cover img {
    box-shadow: none;
    background: #fff;
}

body#product .tabs {
    box-shadow: none;
    margin-top: 2rem;
    background: #fff;
    padding: 1.25rem 1.875rem;
}

body#product #wrapper .breadcrumb ol {
    margin-bottom: 0;
    background: #fff;
    color: white !important;
    text-align: center;
}

body#product #wrapper .breadcrumb li {
    display: inline;
    text-transform: uppercase;
}



.elementor-1020101 .elementor-element.elementor-element-00e5916 .elementor-badge-new {
    color: #ffffff;
    background: #84b409;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9em;
}

a.botonslider {
    color: white
	background-color: green;
	padding:10px;
	border-radius: 10px;
}

a {
    color: #84B409;
}

a:hover {
    color: black !important;
}

span.mm_menu_content_title {
    padding: 15px;
}

/* EDITAR LAS FUENTES UTILIZADAS EN LA WEB */
body,
.elementor-widget-text-editor {
	font-family: 'Lato', sans-serif !important;
}
h1, h2, h3, h4, h5, h6{
font-family: 'DM Serif Display', serif;
}
*/
/*CABECERA FONDO TRANSPARENTE EN HOME*/

body#index #header {
    background: transparent;
    z-index: 9999;
    top: 0;
    position: absolute;
    width: 100%;
}
body#index #wrapper {
    padding-top: 0px;
	background-color: white;
	box-shadow: none;
}


#header .header-nav {
    border-bottom: 0px;
    max-height: 30px;
    margin-bottom: 0px;
}

#header .header-nav .blockcart {
    background: transparent;
}

.search-widget form input[type=text] {
    border: 0px;
    background: #ffffffa6;
}
*/

/* SLIDE PEGADO A CABECERA EN HOME */
body#index #wrapper {
    background: transparent;
    box-shadow: none;
    padding-top: 0px;
}
/* FIN SLIDE PEGADO A CABECERA EN HOME */

/* COOKIES POR ENCIMA */
.fancybox-overlay {
    z-index: 99999;	
}
/* FIN COOKIES POR ENCIMA */

/* HEADER EN MÓVIL */
@media (max-width: 767px) {
.header-top .col-md-12 {
	padding-right:0px;
	padding-left:0px;
	}

	.creative-carrito {text-align:right;}
.ets_mm_megamenu.hook-custom {
    margin-top: 0px;
}	
	.sinfondomv {background-image:none !important}
.product-quantity .qty {
    min-width: 74px;
}
}
/* FIN HEADER EN MÓVIL */

/* MENÚ EN MÓVIL */
@media (max-width: 767px) {
.ets_mm_megamenu.hook-default {
    padding: 0px;
	margin-top: 0px;
}
}
/* FIN MENÚ EN MÓVIL */

/* OCULTAR BUSCADOR DE CABECERA EN MÓVIL */
@media (max-width: 767px) {
.buscadorcabecera {
	display:none
}
}
/* FIN OCULTAR BUSCADOR DE CABECERA EN MÓVIL */

/* SIN MARGEN SUPERIOR SLIDE HOME EN MÓVIL */
@media (max-width: 767px) {
.elementor-widget:not(:last-child) {
    margin-bottom: 0px;
}
}
/* FIN SIN MARGEN SUPERIOR SLIDE HOME EN MÓVIL */

/* OCULTAR BUSCADOR EN MENÚ PC */
@media (min-width: 768px) {
.mm_extra_item #search_widget {
    display: none;
}
}
/* FIN OCULTAR BUSCADOR EN MENÚ PC */

/* OCULTAR FONDO MENÚ PC */
@media (min-width: 768px) {
.ets_mm_megamenu, .ets_mm_megamenu_content {
    background-color: transparent !important;
    background: transparent !important;
    border-top: 0px !important;
    border-bottom: 0px !important;
	}
}
/* FIN OCULTAR FONDO MENÚ PC */

/* COLOR FONDO MENÚ FIXED PC */
@media (min-width: 768px) {
	.ets_mm_megamenu.sticky_enabled.scroll_heading {
		background-color:#fff !important;
	}
}
/* FIN COLOR FONDO MENÚ FIXED PC */

/* OCULTAR LINK TIENDAS EN MAPA DEL SITIO */
a#stores-page {
    display: none;
}
/* FIN OCULTAR LINK TIENDAS EN MAPA DEL SITIO */

/* MICUENTA COLUMNA 3 FOOTER ANCHO */
.elementor-widget-container #block_myaccount_infos {
    width: 100%;
}
/* FIN MICUENTA COLUMNA 3 FOOTER ANCHO */

/* CSS FOOTER QUITAR ESPACIO SUPERIOR */
#footer {
    padding-top: 0px;
}

.footer-container {
    margin-top: 0px;
    box-shadow: none;
}
/* FIN CSS FOOTER QUITAR ESPACIO SUPERIOR */

/* IMAGEN PRODUCTO EN PÁGINA PRODUCTO OCUPE TODO ANCHO POSIBLE */
@media (min-width: 768px) {
#product #content {
    max-width: 100%;
}
/* FIN IMAGEN PRODUCTO EN PÁGINA PRODUCTO OCUPE TODO ANCHO POSIBLE */
}

/* TÍTULO PRODUCTOS EN CATEGORÍAS QUE NO REBASE */
#products .product-description, .featured-products .product-description, .product-accessories .product-description, .product-miniature .product-description {
    min-height: 70px;
    height: auto;
}
/* FIN TÍTULO PRODUCTOS EN CATEGORÍAS QUE NO REBASE */

/* CSS CHECKOUT*/
p.form-informations {
    background: #F1F1F1;
    padding: 10px;
    margin-bottom: 0;
    font-size: 1.5em;
    border-radius: 10px 10px 0 0;
}

#checkout-guest-form .form-group.row.password, .form-group.row.birthday {
    background: #F1F1F1;
    padding: 10px;
    margin-right: 0;
    margin-left: 0;
}

#checkout-guest-form .form-group.row.password {
    margin-bottom: 0;
}
#checkout-guest-form .form-group.row.birthday {
    border-radius: 0 0 10px 10px;
}
span.font-weight-bold.form-informations-title {
    font-size: 1.3em;
	color:#84B409;
}

body#checkout .h3 {
    font-size: 2em;
}
div.promo-code button.btn.btn-primary {
    margin-left: 5px;
}

#delivery-address section.form-fields .firstname .form-control-label::after, #delivery-address section.form-fields .lastname .form-control-label::after {
    content: " persona destino";
}

#delivery-address section.form-fields .firstname .form-control-label::after, #delivery-address section.form-fields .lastname .form-control-label::after {
    content: " persona destino";
}

.form-group.row.phone {
    background-color: #F1F1F1;
    padding: 20px 0 10px 0;
    border-radius: 5px;
}

.form-group.row.postcode .form-control-label, .form-group.row.id_state .form-control-label {
    color: red;
    font-weight: 700;
}

.form-group.row.phone label {
    font-size: 1.1em;
    color: #84B409;
    font-weight: 700;
    padding-top: 0px!important;
}
/* FIN CSS CHECKOUT */

/* CSS MEGAMENÚ */
li.notitulo ul li ul li div.mm_hide_title p {
    display: none;
}
@media (min-width: 768px) {
.mm_extra_item {
    display: none;
}
	#megamenunopc {
		display: none;
}

span.mm_menu_content_title {
    padding: 10px !important;
}
	.layout_layout1 .mm_menus_li {
    border-right: 0px !important;
}

body .ets_mm_megamenu::before {
    background-color: transparent;
}
	
/* #header .layout_layout1 .mm_menus_li:nth-child(2) {
	 background-color: #BA102A !important; /*FONDO NAVIDAD*/
	/*color: white;
	    border-left: 0px !important;
   /* background-color: #262D13 !important; */
	 /*background: #F55488 !important;
		/*background: #F55488 !important; /*FONDO dia de la madre */
	/*background-color: #84B409 !important; /*FONDO verde 
} */
	
/*#header .layout_layout1 .mm_menus_li:nth-child(2) a {
	color: white !important;
}*/
	
/* ul li:nth-child(2) span.mm_menu_content_title {
    color: white !important;
	/* background-color: #F55488 !important; FONDO dia de la madre */
	/*background-color: #84B409 !important; /*FONDO verde */
	/*background-color: #BA102A !important; FONDO NAVIDAD
}*/
	
/*ul li:nth-child(2) span.mm_menu_content_title:hover {
    color: #BA102A !important; /*FONDO NAVIDAD 
}*/
	
#header .layout_layout1 .mm_menus_li:nth-child(2) a:hover {
	color: black !important;
}
	
	
	
	
	
}
.mm_display_search_default i.material-icons.clear {
    display: none !important;
}
.mm_display_search_default #search_widget {
    margin-right: 10px !important;
}

.mm_display_search_default input[type="text"] {
    border-radius: 5px !important;
    padding: 0px 0px 0px 30px !important;
}
.mm_display_search_default .mm_extra_item #search_widget form i {
    padding: 0 0 0 4px !important;
}

.layout_layout1 .ets_mm_megamenu_content {
    border-bottom: 0px;
    border-top: 0px;
}

@media (max-width: 767px) {
.ets_mm_megamenu .container {
    background-color: #fff;
}
.ybc-menu-toggle .icon-bar {
    background-color: #84B409;
}
#megamenunopc {
    position: fixed;
    z-index: 9999;
    width: 100%;
}
.elementor-2020101 {
    padding-top: 59px;
}
.ybc-menu-toggle {
    padding: 0px 0 0 5px;
}
span.ybc-menu-button-toggle_icon {
    padding-top: 14px;
}
	
.layout_layout1 .mm_menus_li:nth-child(2) {
	/* background: #F55488 !important; /*FONDO dia de la madre */
/*	background: #84B409 !important; /*FONDO verde */
 /* background: #BA102A !important; /*FONDO Navidad y san valentin */
	}
	
 
	
	
	
	
	
}


/* FIN CSS MEGAMENU */
/* CSS HEADER */
#header .header-top {
    padding-bottom: 0;
}

/* FIN CSS HEADER */

/* CSS CATEGORÍAS */
#products .thumbnail-container:focus .highlighted-informations, #products .thumbnail-container:hover .highlighted-informations, .featured-products .thumbnail-container:focus .highlighted-informations, .featured-products .thumbnail-container:hover .highlighted-informations, .product-accessories .thumbnail-container:focus .highlighted-informations, .product-accessories .thumbnail-container:hover .highlighted-informations, .product-miniature .thumbnail-container:focus .highlighted-informations, .product-miniature .thumbnail-container:hover .highlighted-informations {
    bottom: 5.7rem;
}
#products .thumbnail-container:focus .highlighted-informations.no-variants, #products .thumbnail-container:hover .highlighted-informations.no-variants, .featured-products .thumbnail-container:focus .highlighted-informations.no-variants, .featured-products .thumbnail-container:hover .highlighted-informations.no-variants, .product-accessories .thumbnail-container:focus .highlighted-informations.no-variants, .product-accessories .thumbnail-container:hover .highlighted-informations.no-variants, .product-miniature .thumbnail-container:focus .highlighted-informations.no-variants, .product-miniature .thumbnail-container:hover .highlighted-informations.no-variants {
    bottom: 4.2rem;
}

h2.h3.product-title {
	font-size: 16px !important;
}

article.product-miniature.js-product-miniature {
    border: thin #fff solid;
    margin-bottom: 15px !important;
    -webkit-box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
}
#category-description h2,
#category-description h3{
    padding-top: 15px;
}

@media (min-width: 768px) {
ul.subcategories-list li {
    float: left;
    width: 16.666%;
    padding: 2px;
}
ul.subcategories-list li img {
    width: 100%;
    height: auto;
}
ul.subcategories-list li h3 {
    text-align: center;
    font-weight: 300;
	font-size: 1em;
}
}
ul.subcategories-list h3 {
    padding-top: 15px;
    background: #fff;
    padding-bottom: 15px;
	    -webkit-box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
}
h2.subcategory-heading {
    font-size: 2em;
    font-weight: 300;
    text-align: center;
    border-bottom: thin solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.block-category.card.card-block {
    max-height: 200px;
    overflow: auto;
		    -webkit-box-shadow: 0px 10px 26px -22px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 10px 26px -22px rgba(0,0,0,0.75);
    /*box-shadow: 0px 10px 26px -22px rgba(0,0,0,0.75);*/
	box-shadow: none;
	background-color: #f9f9f6;
    margin-bottom: 50px;
    border-radius: 20px;
}
}
.category-cover {
    display: none;
}

/* FIN CSS CATEGORÍAS */

input#quantity_wanted {
		    -webkit-box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 26px -22px rgba(0,0,0,0.75);
}

/* CSS PRODUCTOS PRECIO 0€ */
.preciocero {
	font-size: 0.7em;
	color: #fff;
	padding:10px;
	background-color: #84B409;
	border-radius:15px;
}

.preciocero a {
	color: #000;

}


.infinitescroll-bottom-message.infinitescroll-reached-bottom-message {
    color: white !important;
    background-color: #a4cd3b !important;
    border: none !important;

}



/* RELATED PRODUCTS – GRID */
.related-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 10px !important;
}

/* TAMAÑO NOMBRE PRODUCTO */
.product-name {
  font-size: 0.8em;
}

/* TÍTULO A ANCHO COMPLETO */
.related-products h3 {
  grid-column: 1 / -1;
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
  .related-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* RESPONSIVE MÓVIL – SCROLL + BORDE */
@media (max-width: 600px) {
 .related-products {
        grid-template-columns: 1fr;
        max-height: 185px !important;
        overflow-y: scroll;
        border: 1px solid #000;
        scrollbar-width: auto;
        scrollbar-color: #111 #d0d0d0;
        border-radius: 0;
        gap: 0;
        background: #ebebeb !important;
    }

  /* SCROLLBAR CHROME / EDGE / SAFARI */
  .related-products::-webkit-scrollbar {
    width: 14px; /* más ancha */
  }

  .related-products::-webkit-scrollbar-track {
    background: #d0d0d0; /* fondo visible del track */
  }

  .related-products::-webkit-scrollbar-thumb {
    background-color: #111; /* muy oscuro */
    border-radius: 6px;
    border: 3px solid black;
  }

  .related-products::-webkit-scrollbar-thumb:hover {
    background-color: #000;
  }

  /* Ajustes layout móvil existentes */
  .cart-grid-body .card-block {
    padding: 0px !important;
  }

  div#block_myaccount_infos {
    width: 100% !important;
  }
    .cart-items {
        padding: 0px !important;
    }
	
	
	.ybc-menu-toggle {
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    width: 34%;
}
.related-products h3 {
    font-size: 1.2em !important;
}

body#cart .related-products .product-info {
    gap: 3px !important;
}	
body#cart .product-price {
    font-size: 0.8em !important;
}	
	
}

.related-products h3 {
    font-weight: 300;
    font-size: 2em;
    color: #565656;
    align-items: center;
    text-align: center !important;
}


.store-link-banner {
    background: #84B409;
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
	border-radius: 10px;
}

.store-link-banner a {
    color: white !important;
	text-decoration: underline;
}


/* 1. Contenedor flexible que permite el salto de línea si no cabe */
.newsletter .custom-checkbox label {
    font-size: 0 !important;
    line-height: 0 !important;
    display: flex !important; 
    align-items: flex-start; /* Alinea el check con la primera línea de texto */
    cursor: pointer;
    width: 100%;             /* Ocupa todo el ancho disponible */
}

/* 2. El icono del check: le damos un ancho fijo para que el texto no lo pise */
.newsletter .custom-checkbox label span {
    font-size: 24px !important; 
    line-height: 1 !important;
    display: inline-flex !important;
    margin-right: 10px;
    flex-shrink: 0;          /* IMPORTANTE: Evita que el checkbox se aplaste en móvil */
}

/* 3. La frase: ahora es flexible y multilínea */
.newsletter .custom-checkbox label::after {
    content: "Únete a la newsletter para recibir ofertas exclusivas en tu email*"; 
    font-size: 17px; 
	font-weight: 600;
    line-height: 1.3;        /* Un poco más de espacio entre líneas para leer mejor */
    color: #455518;
    display: inline-block;
    white-space: normal;     /* Permite que el texto baje si no cabe */
    text-align: left;
    flex: 1;                 /* Toma todo el espacio restante */
}

/* 4. Escondemos elementos residuales */
.newsletter .custom-checkbox label br,
.newsletter .custom-checkbox label em {
    display: none !important;
}



/* --- 1. AJUSTE DEL BUSCADOR --- */

/* Limitamos el ancho del contenedor principal del buscador */
#search_widget {
    width: 100px !important; /* Ancho fijo de 100px */
    overflow: hidden;         /* Evita que el contenido sobresalga */
    display: inline-block;
    vertical-align: middle;
}

/* Ajustamos el input para que quepa en esos 100px */
#search_widget input[type="text"] {
    width: 100% !important;
}

/* Truco para mostrar solo "Búsqueda" en el placeholder */
#search_widget input::placeholder {
    color: #666;              /* Color del texto */
    white-space: nowrap;
    display: inline-block;
    max-width: 65px;          /* Corta el texto después de 'Búsqueda' */
    overflow: hidden;
    text-overflow: clip;      /* Corta tajantemente el texto */
}

/* Repetir para navegadores basados en Chrome/Safari */
#search_widget input::-webkit-input-placeholder {
    max-width: 90px;
	min-width:89px !important;
    overflow: hidden;
}

/* --- 2. COLORES GRIS OSCURO (Iconos y Textos) --- */

/* Color para el icono del Carrito y el de Usuario */
#_desktop_cart i.material-icons,
#_desktop_user_info i.material-icons {
    color: #444444 !important; /* Gris oscuro */
}

/* Si también quieres que los textos "Carrito" y "Mi cuenta" sean grises */
#_desktop_cart .hidden-sm-down,
#_desktop_user_info .hidden-sm-down,
#_desktop_user_info .account {
    color: #444444 !important;
}

/* --- 3. ALINEACIÓN (Opcional pero recomendado) --- */

/* Asegura que los tres bloques estén en la misma línea */
.mm_extra_item {
    display: flex;
    align-items: center;
    gap: 15px; /* Espacio entre los 3 elementos */
}

.mm_extra_item>div *:not(i) {
    font-size: 15px;
}



.mm_display_search_default #search_widget {
    margin-left: 10px !important;
	margin-right: 0px !important;
}

/* Solo se aplica a pantallas de ordenador (mínimo 1200px) */
@media (min-width: 1200px) {
    div.ets_mm_megamenu_content .mm_extra_item.mm_display_search_default {
        display: none !important;
    }
}




/* AJUSTES EXCLUSIVOS CARRITO MÓVIL (Max 767px) - DUDAS PRESTASHOP */
@media (max-width: 767px) {

    /* 1. Nombre del producto en el listado del carrito */
    body#cart .product-name a {
        font-size: 0.8rem !important;
        line-height: 1.2;
    }

    /* 2. Miniaturas y productos relacionados en el carrito */
    body#cart .related-products .product-miniature,
    body#cart .product-miniature {
        min-height: 50px !important;
        gap: 6px;
        margin: 2px !important;
        padding: 9px !important;
    }

    /* 3. Limpieza total de espacios en la info del producto (NUEVO) */
    body#cart .related-products .product-info div {
        padding-bottom: 0px !important;
        gap: 0px !important;
        margin-bottom: 0px !important;
    }

}