/*
Theme Name: TT3 child
Template: twentytwentythree
Description: TT3 Child Theme
Version: 0.1


Local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT).
(https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

*/


/***********************************
Custom CSS
************************************/


h1 {
	font-family: "Lobster";
}

/* Logo width */
.wp-block-site-logo.is-default-size img {
	width: 150px;
}

/* Mobile menu icon */
.is-responsive.items-justified-center.pjlm-mobile-menu.wp-block-navigation.is-content-justification-center.is-layout-flex.wp-container-2.wp-block-navigation-is-layout-flex {
	border: 1px solid #9CD61E;
	padding: 5px;
}

/* para las FAQ */
.pjlm-faq summary{
  font-weight: 700;
}

/* No margin-top in home page between header and body */
.pjlm-home-body{
  margin-top: 0;
}

/* Change mobile search box width */
.pjlm-mobile-search{
	width: 100%;
}

/* Change desktop search box width */
.pjlm-desktop-search{
	width: 300px;
}

/* Search boxes format */
.pjlm-mobile-search .wp-block-search__input, .pjlm-desktop-search .wp-block-search__input{
	border: none;
	border-bottom: 1px solid #9CD61E;
}

/* Boton comprar del mini-carrito */
.wc-block-components-button:not(.is-link).outlined:not(:focus) {
	background: #9CD61E;
}


/* Para formatear una parte de la frase de los header */
.pjlm-green-header {
	color: #9CD61E;
}

/* Para formatear una parte de la frase de los header */
.pjlm-lobster-header {
	font-family: "Lobster";
}

/* Para formatear las secciones destacadas */
.pjlm-home-section{
	box-shadow: 0px 0px 10px 5px rgba(176,180,183,0.17);
}

.home-icon-svg{
	text-align: center;
}

/* ocultar boton de actualizar el carrito cuando cambia la cantidad  */
button[name="update_cart"] {
    display: none !important;
}

/* boton de aplicar cupon con fondo gris para que no destaque tanto y de importancia al resto de botones  */
button[name="apply_coupon"] {
  background-color: grey;
}

/* boton de seguir comprando hasta llegar al minimo para gastos de envio gratis -> fondo gris para que no destaque tanto y de importancia al resto de botones  */
.woocommerce-cart .wc-block-components-notice-banner__content .button.wp-element-button{
  background-color: grey;
}

/* icono del club en el menu  */
.wp-block-navigation-item.pjlm-menu-club.wp-block-navigation-link a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 5px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="%239CD61E" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}
/* icono de la tarjeta regalo en el menu  */
.wp-block-navigation-item.pjlm-menu-tarjeta-regalo.wp-block-navigation-link a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 5px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%239CD61E" d="M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}
/* icono del embarazadas en el menu  */
.wp-block-navigation-item.pjlm-menu-embarazadas.wp-block-navigation-link a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 5px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%239CD61E" d="M192 160c44.2 0 80-35.8 80-80S236.2 0 192 0s-80 35.8-80 80 35.8 80 80 80zm-53.4 248.8l25.6-32-61.5-51.2L56.8 383c-11.4 14.2-11.7 34.4-.8 49l48 64c7.9 10.5 19.9 16 32 16 8.3 0 16.8-2.6 24-8 17.7-13.2 21.2-38.3 8-56l-29.4-39.2zm142.7-83.2l-61.5 51.2 25.6 32L216 448c-13.2 17.7-9.7 42.8 8 56 7.2 5.4 15.6 8 24 8 12.2 0 24.2-5.5 32-16l48-64c10.9-14.6 10.6-34.8-.8-49l-45.9-57.4zM376.7 145c-12.7-18.1-37.6-22.4-55.7-9.8l-40.6 28.5c-52.7 37-124.2 37-176.8 0L63 135.3C44.9 122.6 20 127 7.3 145-5.4 163.1-1 188 17 200.7l40.6 28.5c17 11.9 35.4 20.9 54.4 27.9V288h160v-30.8c19-7 37.4-16 54.4-27.9l40.6-28.5c18.1-12.8 22.4-37.7 9.7-55.8z"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: middle;
}
/* destacamos la pagina actual en la paginacion  */
.page-numbers.current {
	background: #9CD61E;
	padding: 5px;
	color: white;
}


/* destacamos el item del submenu que nos interesa: todos los quesos, todos los quesos espanoles, todos los quesos internacionales  */
.pjlm-desktop-menu-item-especial{
	font-style:  italic;
	text-decoration: underline;
}


.woocommerce div.product div.woocommerce-product-gallery .woocommerce-product-gallery__trigger{
	z-index: 9 !important;
}



/***************************************
* FAQ para categorías (footer)
****************************************/
.faq-categorias {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f5f5f5;
}

.faq-categorias h2 {
    margin-bottom: 1rem;
}

.faq-categorias .faq-item + .faq-item {
    margin-top: 1rem;
}

.faq-categorias h3 {
    margin-bottom: 0.25rem;
}




/***************************************
* Haute Fromageire
****************************************/

/* === Aitor Vega + Haute Fromagerie ? Bloque exclusivo (versi?n texto dentro de la imagen) === */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&display=swap');

#avhf_banner {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

/* Imagen de fondo */
.avhf_banner-container {
  position: relative;
  width: 100%;
  height: 750px; /* ajusta segun la proporcion de tu imagen */
  overflow: hidden;
}

.avhf_banner-bg {
  background-image: url('/wp-content/uploads/2025/10/haute-fromagerie-banner-bg-3.jpg');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
}

/* blur banner */
.avhf_banner-bg {
  filter: blur(2px);
}

/* Capa superpuesta oscura banner */
.avhf_banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;             /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.4); /* cambia 0.4 para más/menos oscuro */
  pointer-events: none; /* para no bloquear clics, si los hubiera */
}

/* Logos superpuestos */
.avhf_logo-left,
.avhf_logo-right {
  position: absolute;
  z-index: 2;
  max-width: 180px;
}

.avhf_logo-left {
  top: 30px;
  left: 40px;
}

.avhf_logo-right {
  top: 0px;
  right: 40px;
  max-width: 350px;
}

/* Texto y boton dentro de la imagen */
.avhf_text-overlay {
  position: absolute;
  bottom: 200px; /* margen desde el borde inferior */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 2;
  padding: 0 10px;
}

.avhf_title {
  padding: 0px 150px;
}

.avhf_button {
  font-size: 2.1rem;
  display: inline-block;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid #fff;
  transition: all 0.3s ease;
}

.avhf_button:hover {
  background-color: #fff;
  color: #000;
}

/* === Version movil === */
@media (max-width: 768px) {
  .avhf_banner-container {
    height: 400px;
  }

  .avhf_logo-left {
    top: 20px;
    left: 20px;
    max-width: 120px;
  }

  .avhf_logo-right {
    top: 0px;
    right: 20px;
    max-width: 150px;
  }
	
  .avhf_text-overlay {
	bottom: 100px; /* margen desde el borde inferior */
  }

  .avhf_title {
    font-size: 1.4rem;
	padding: 0px 50px;
  }

  .avhf_button {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* === Correccion WP Rocket / WordPress atributos width-height === */
.avhf_logo-right {
  width: auto !important;
  height: auto !important;
  max-width: 350px;
}

.avhf_logo-left {
  width: auto !important;
  height: auto !important;
  max-width: 180px;
}

@media (max-width: 768px) {
  .avhf_logo-left,
  .avhf_logo-right {
    max-width: 120px;
  }
}
/***************************************
* FIN Banner Haute Fromageire
****************************************/




/***************************************
* Botón de envolver para regalo
****************************************/
button.wcgwp-modal-toggle_before_cart {
  background: linear-gradient(135deg, #9cd61e, #7eb814); /* degradado verde moderno */
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 28px;
  border: none;
  border-radius: 0; /* esquinas cuadradas */
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
}

/* --- Versión móvil: ocupa todo el ancho --- */
@media (max-width: 768px) {
  button.wcgwp-modal-toggle_before_cart {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 14px 0;
    font-size: 17px;
    border-radius: 0; /* mantener esquinas cuadradas también en móvil */
  }

  .giftwrap_header_wrapper {
    padding: 0 15px;
  }
}
/***************************************
* FIN Botón de envolver para regalo
****************************************/


/***************************************
* Anadir un texto de horario de recogida
****************************************/
#shipping_method_0_local_pickup3:checked + label[for=shipping_method_0_local_pickup3]::after {
	display: block;
	content: "De Lunes a Sábado (laborables) de 8:00 a 15:00";
	font-weight: 700;
	padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup4:checked + label[for=shipping_method_0_local_pickup4]::after {
	display: block;
	content: "De Lunes a Viernes (laborables) de 8:00 a 15:00";
	font-weight: 700;
	padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup8:checked + label[for=shipping_method_0_local_pickup8]::after {
	display: block;
	content: "De Miercoles a Domingo de 16:00 a 20:00";
	font-weight: 700;
	padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup9:checked + label[for=shipping_method_0_local_pickup9]::after {
	display: block;
	content: "De Lunes a Domingo de 9:00 a 22:00";
	font-weight: 700;
	padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup11:checked + label[for=shipping_method_0_local_pickup11]::after {
    display: block;
    content: "De Lunes a Sábado (laborables) de 8:00 a 15:00";
    font-weight: 700;
  padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup12:checked + label[for=shipping_method_0_local_pickup12]::after {
    display: block;
    content: "De Lunes a Viernes (laborables) de 8:00 a 15:00";
  font-weight: 700;
  padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup13:checked + label[for=shipping_method_0_local_pickup13]::after {
    display: block;
    content: "De Miercoles a Domingo de 16:00 a 20:00";
  font-weight: 700;
  padding: 0 0 20px 0;
}
#shipping_method_0_local_pickup15:checked + label[for=shipping_method_0_local_pickup15]::after {
    display: block;
    content: "De Lunes a Domingo de 9:00 a 22:00";
  font-weight: 700;
  padding: 0 0 20px 0;
}


/******************************
* Valoraciones de productos
******************************/
.woocommerce-js #reviews #comments ol.commentlist li img.avatar {
	border-radius: 100%;
}
.woocommerce-js #reviews #comments ol.commentlist li {
	padding: 0 0 1.5em;
	border-bottom: 1px solid #e0e0e0;
}
.woocommerce-js #reviews #comments ol.commentlist li:last-child {
	border-bottom: 0;
}
.woocommerce-js #reviews #review_form {
	border: 1px solid #e0e0e0;
	padding: 1.67em;
}
.woocommerce-js #review_form #respond textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid #e0e0e0;
}
.woocommerce .star-rating, .woocommerce .comment-form-rating .stars a, .woocommerce .star-rating::before, .wc-block-components-product-rating__stars.wc-block-grid__product-rating__stars {
	color: #9cd61e;
}

/* alinear a la izquierda los botones de me-gusta/no-me-gusta de las valoraciones de productos  */
.cr-voting-cont {
	display: inline-flex !important;
}
.woocommerce-js #reviews #review_form #respond p.comment-form-author, .woocommerce-js #reviews #review_form #respond p.comment-form-email {
	margin-bottom: 1em;
}
.woocommerce-js #reviews #review_form #respond p {
	margin: 2px 0 6px;
}
.woocommerce-js div.product #reviews .comment-form-author, .woocommerce-js div.product #reviews .comment-form-email {
	display: inline-block;
}
.woocommerce-js div.product #reviews .comment-form-author, .woocommerce-js div.product #reviews .comment-form-email {
	display: inline-block;
}
.woocommerce-js div.product #reviews .comment-form-email {
	float: right;
}
.woocommerce-js #reviews #review_form #respond p.comment-form-author input, .woocommerce-js #reviews #review_form #respond p.comment-form-email input {
	width: 100%;
	box-sizing: border-box;
  	padding: 1em;
	border: 1px solid #e0e0e0;
}
.woocommerce-js #reviews #review_form input {
	max-width: 100%;
}
/********************************
* Fins Valoraciones de productos
*********************************/


/******************************
* Finalizar compra
******************************/
.woocommerce-checkout-review-order-table{
	background: #f8f6f3;
}
.woocommerce-checkout-review-order-table .cart_item .product-total, .woocommerce-checkout-review-order-table .cart-subtotal td, .woocommerce-checkout-review-order-table .order-total td, .woocommerce-checkout-review-order-table .woocommerce-shipping-totals.shipping td{
	text-align: right;
}
.woocommerce-checkout-review-order .wc_payment_methods.payment_methods.methods li{
	border-bottom: 1px solid #d2ced2 !important;
}
.woocommerce-checkout-review-order .wc_payment_methods.payment_methods.methods{
	border-top: 1px solid #d2ced2;
	border-left: 1px solid #d2ced2;
	border-right: 1px solid #d2ced2;
}

.woocommerce-checkout-review-order .wc_payment_methods.payment_methods.methods .payment_box{
	background: #f8f6f3;
	margin: 15px 0 0 0px;
	border-top: 1px solid #f8f6f3;
	background-color: #f8f6f3;
	padding: .5em;
}
.wc_payment_method.payment_method_bizumredsys img{
  vertical-align: middle;
}
.wc_payment_method.payment_method_redsys img{
  vertical-align: middle;
}
.wp-element-button {
  	color:white !important;
	font-weight: 700 !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: .7em !important;
}

/* color del boton de cerrar el mini-carrito */
.wc-block-mini-cart__drawer.is-mobile.wc-block-components-drawer .components-button.wc-block-components-button.wp-element-button.wc-block-components-drawer__close.contained.has-text.has-icon svg {
  color: #444444;
}

/******************************
* Fin de Finalizar compra
******************************/


/******************************
* WooCommerce
******************************/

/* Sombreado de los productos en archive */
.woocommerce ul.products li.product, .woocommerce-page ul.products-block-post-template li.product {
	box-shadow: 0px 10px 20px 0px #ededed;
	padding-bottom: 1.5em !important;
	background: white;
}

/* Dar formato a las puntuaciones de los quesos */
.rating-column-archive {
	margin: 20px 0;
	text-align: center;
}
.rating-column-single {
	margin: 20px 0;
	text-align: left;
}
.rating-tag-number {
	background: #ecebeb;
	color: #444;
	padding: 10px;
	border-radius: 5px;
	font-size: 1.1rem;
	font-weight: bold;
}

/* Anadir un icono al boton de add to cart */
button.single_add_to_cart_button:before, .button.product_type_simple.add_to_cart_button:before, button.variable_add_to_cart_button:before, .button.product_type_variable.add_to_cart_button:before, .button.product_type_subscription.add_to_cart_button:before, button.add_to_cart_button:before {
	content: "";
	display: inline-block;
	width: 25px;
	height: 25px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.4444 14.2222C12.9354 14.2222 13.3333 14.6202 13.3333 15.1111C13.3333 15.8183 13.6143 16.4966 14.1144 16.9967C14.6145 17.4968 15.2927 17.7778 16 17.7778C16.7072 17.7778 17.3855 17.4968 17.8856 16.9967C18.3857 16.4966 18.6667 15.8183 18.6667 15.1111C18.6667 14.6202 19.0646 14.2222 19.5555 14.2222C20.0465 14.2222 20.4444 14.6202 20.4444 15.1111C20.4444 16.2898 19.9762 17.4203 19.1427 18.2538C18.3092 19.0873 17.1787 19.5555 16 19.5555C14.8212 19.5555 13.6908 19.0873 12.8573 18.2538C12.0238 17.4203 11.5555 16.2898 11.5555 15.1111C11.5555 14.6202 11.9535 14.2222 12.4444 14.2222Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2408 6.68254C11.4307 6.46089 11.7081 6.33333 12 6.33333H20C20.2919 6.33333 20.5693 6.46089 20.7593 6.68254L24.7593 11.3492C25.0134 11.6457 25.0717 12.0631 24.9085 12.4179C24.7453 12.7727 24.3905 13 24 13H8.00001C7.60948 13 7.25469 12.7727 7.0915 12.4179C6.92832 12.0631 6.9866 11.6457 7.24076 11.3492L11.2408 6.68254ZM12.4599 8.33333L10.1742 11H21.8258L19.5401 8.33333H12.4599Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7 12C7 11.4477 7.44772 11 8 11H24C24.5523 11 25 11.4477 25 12V25.3333C25 25.8856 24.5523 26.3333 24 26.3333H8C7.44772 26.3333 7 25.8856 7 25.3333V12ZM9 13V24.3333H23V13H9Z" fill="white"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: top;
	
}
.wp-block-button__link.wp-element-button.wc-block-components-product-button__button.add_to_cart_button.product_type_variable.has-font-size.has-small-font-size.has-text-align-center:before{
	content: "";
	display: inline-block;
	width: 25px;
	height: 25px;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.4444 14.2222C12.9354 14.2222 13.3333 14.6202 13.3333 15.1111C13.3333 15.8183 13.6143 16.4966 14.1144 16.9967C14.6145 17.4968 15.2927 17.7778 16 17.7778C16.7072 17.7778 17.3855 17.4968 17.8856 16.9967C18.3857 16.4966 18.6667 15.8183 18.6667 15.1111C18.6667 14.6202 19.0646 14.2222 19.5555 14.2222C20.0465 14.2222 20.4444 14.6202 20.4444 15.1111C20.4444 16.2898 19.9762 17.4203 19.1427 18.2538C18.3092 19.0873 17.1787 19.5555 16 19.5555C14.8212 19.5555 13.6908 19.0873 12.8573 18.2538C12.0238 17.4203 11.5555 16.2898 11.5555 15.1111C11.5555 14.6202 11.9535 14.2222 12.4444 14.2222Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M11.2408 6.68254C11.4307 6.46089 11.7081 6.33333 12 6.33333H20C20.2919 6.33333 20.5693 6.46089 20.7593 6.68254L24.7593 11.3492C25.0134 11.6457 25.0717 12.0631 24.9085 12.4179C24.7453 12.7727 24.3905 13 24 13H8.00001C7.60948 13 7.25469 12.7727 7.0915 12.4179C6.92832 12.0631 6.9866 11.6457 7.24076 11.3492L11.2408 6.68254ZM12.4599 8.33333L10.1742 11H21.8258L19.5401 8.33333H12.4599Z" fill="white"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M7 12C7 11.4477 7.44772 11 8 11H24C24.5523 11 25 11.4477 25 12V25.3333C25 25.8856 24.5523 26.3333 24 26.3333H8C7.44772 26.3333 7 25.8856 7 25.3333V12ZM9 13V24.3333H23V13H9Z" fill="white"></path></svg>');
	background-size: contain;
	background-repeat: no-repeat;
	vertical-align: top;
}

/* Star rating format */
.woocommerce-product-rating {
	text-align: center;
}

.archive .has-text-align-center.wp-block-post-title.has-medium-font-size, .woocommerce ul.products li.product h2.woocommerce-loop-product__title  {
	font-family: "Lobster";
	font-size: 1.2rem !important;
}
.woocommerce-Price-amount.amount {
	font-weight: 700;
}
.archive .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button, .woocommerce ul.products li.product a.button, .product-template-default .single_add_to_cart_button {
	font-weight: 700;
	color: white;
}

.single_add_to_cart_button.button.alt {
	background: #9CD61E;
	border: none;
}


.woocommerce span.onsale, .wc-block-components-product-sale-badge.wc-block-components-product-sale-badge--align-left.wc-block-grid__product-onsale, .wc-block-components-product-sale-badge.wc-block-components-product-sale-badge--align-right.wc-block-grid__product-onsale {
	border-radius: .2rem !important;
	font-size: .8rem !important;
	padding: 0 1rem !important;
	width: fit-content !important;
	background: #9cd61e !important;
	color: white !important;
	text-transform: uppercase !important;
	font-weight: bold !important;
	top: -5px !important;
	left: 0px !important;
}
.wc-block-components-product-sale-badge.wc-block-components-product-sale-badge--align-left.wc-block-grid__product-onsale, .wc-block-components-product-sale-badge.wc-block-components-product-sale-badge--align-right.wc-block-grid__product-onsale {
	padding: .5rem 1rem !important;
	border: none;
}

/* Al insertar el shortcode de related products en ficha de productos, estos quedaban mal formateados */
.product-template-default .related.products li p{
	width: 100%;
	margin: auto;
}

/* en los productos relacionados de la ficha de producto se anaden 2 <br> que hay que quitar */
.product-template-default .related.products .woocommerce-loop-product__link.woocommerce-loop-product__link br{
    display: none;
}


.product-template-default .wp-block-woocommerce-product-price del, .woocommerce .product .price del, .woocommerce .product .wc-block-components-product-price del {
	opacity: .5;
	font-weight: 400;
}
.product-template-default .wp-block-woocommerce-product-price ins {
	font-weight: 700;
	font-size: 2rem;
}
.product-template-default .wc-block-components-product-price.wc-block-grid__product-price .woocommerce-Price-amount.amount, .woocommerce-variation-price .woocommerce-Price-amount.amount{
	font-size: 2rem;
}

.woocommerce-cart .woocommerce-cart-form thead{
  background-color: rgba(0,0,0,.025);
}

.wc-proceed-to-checkout .checkout-button {
  	text-transform: uppercase;
	display: block !important;
}
.woocommerce-cart .cross-sells .woocommerce-loop-product__title{
  	text-transform: inherit;
}

/* Woocomerce info messages at checkout page */
.woocommerce-checkout .woocommerce-info {
    background:white;
	border: none;
	padding: 0;
}

/* Selector de ordenar por */
.woocommerce.wc-block-catalog-sorting select.orderby {
	background: white;
	border: 1px solid #ddd;
	color: #444;
	padding: 10px;
}

/* En la pagina de carrito anado un separador despues del total del carrito */
.woocommerce .cart-collaterals .cart_totals h2 {
	border-bottom: 1px solid;
}

span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-totals-item__value{
	margin: 0 5px;
}

del .woocommerce-Price-amount.amount bdi{
  font-weight: 400;
  font-size: initial;
}

/* Elimino el margen que hay debajo de las tabs en la ficha de productos */
.wp-block-woocommerce-product-details ul.wc-tabs {
	margin: 0;
}

/******************************
* Fin WooCommerce
******************************/


/*************************************************************************************************************
* For mobile
**************************************************************************************************************/
@media only screen and (max-width: 768px) {
	/* Hide desktop menu */
	.pjlm-desktop-menu, .pjlm-desktop-search{
	  display: none !important;
	}
	/* Para que el texto del banner de la home se vea bien */
	.pjlm-home-banner{
		padding: 10px !important;
	}
	/* Para eliminar los espacios */
	.pjlm-home-espaciador{
		display: none;
	}
	/* Para el mensaje de envio gratis */
	.woocommerce-info {
	  padding: 10px !important;
	}
	.woocommerce-cart .woocommerce-info .button.wp-element-button{
	   margin-top: 10px !important;
	}
	.woocommerce-js #reviews #review_form #respond p.comment-form-author, .woocommerce-js #reviews #review_form #respond p.comment-form-email {
		width: 100%;
	}
	.pjlm-mobile-search .wp-block-search__inside-wrapper{
		margin-top: 0;
	}
	/* Hide desktop h1 banner */
	.pjlm-h1-desktop{
		display: none;	
	}
	/* Para movil, oculta la imagen del hero banner H1 */
	.pjlm-home-hero-bg img {
	  display: none !important;
	}
	
  /* Productos del shortcode y listados en general en 1 columna */
  .woocommerce ul.products[class*="columns-"] li.product {
    width: 100% !important;
    margin-right: 0 !important;
  }

  /* Productos relacionados, sugeridos o ventas cruzadas en 1 columna */
  .woocommerce .related ul.products li.product,
  .woocommerce .upsells ul.products li.product,
  .woocommerce .cross-sells ul.products li.product {
    width: 100% !important;
    margin-right: 0 !important;
  }
}


/*************************************************************************************************************
* For desktop
**************************************************************************************************************/
@media only screen and (min-width: 768px) {
	/* Hide mobile menu */
	.pjlm-mobile-menu, .pjlm-mobile-search{
	  display: none !important;
	}
	/* Change logo width */
	.wp-block-site-logo.is-default-size img {
		width: 200px;
	}
	/* Sticky header */
	header {
		position: sticky;
		top: 0;
		z-index: 99;
	}
	.woocommerce-js div.product #reviews .comment-form-author, .woocommerce-js div.product #reviews .comment-form-email {
		width: 49%;
	}
	.woocommerce-js div.product #reviews .comment-form-author, .woocommerce-js div.product #reviews .comment-form-email {
		width: 49%;
	}
	/* Hide mobile h1 banner */
	.pjlm-h1-mobile{
		display: none;	
	}
}