/*
 * Rediseño 2026 (maqueta 01-R-home-02)
 * Se carga después de style.css (ver agilesoftware_enqueue_styles en functions.php).
 * De momento solo afecta a móvil (<= 600px), salvo las dos correcciones generales de arriba.
 */

/* Poppins (botones y enlaces): el @import de style.css no funciona porque no está al principio del archivo */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* Los <span> dentro de títulos heredaban "Playfair" por la regla global `*{font-family}` */
h1 span,
h2 span {
	font-family: inherit !important;
}

@media (max-width: 600px) {

	/* ---------- Cabecera ---------- */

	/* Storefront deja 26px de relleno arriba y 68px de margen debajo de la cabecera */
	body.home .site-header {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		margin-bottom: 0;
	}

	.menusub .logo {
		width: 78px !important;
		height: auto;
		margin-top: 2px;
	}

	#activarmenu {
		margin-right: -6px !important;
		padding: 6px 4px !important;
	}

	.site-header-cart .cart-contents,
	.site-header-cart .cart-contents2 {
		right: 46px !important;
	}

	/* ---------- Menú móvil desplegado (maqueta 01-R-home-02-menu) ---------- */

	/* por encima de la bolsa del carrito; el botón de cerrar (#activarmenu) sigue por encima */
	#mostrardebajoheader {
		z-index: 99998;
		height: 100%;
		overflow-y: auto;
	}

	#mostrardebajoheader #menu-mobile {
		padding-bottom: 18px !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	}

	#mostrardebajoheader #menu-mobile li.lineaabajo {
		margin-bottom: 16px;
		padding: 12px 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	}

	#mostrardebajoheader #menu-mobile li.lineaabajo a {
		color: #fff !important;
		font-size: 18px;
	}

	#mostrardebajoheader li.grandemenu {
		height: auto !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	#mostrardebajoheader li.grandemenu > a {
		padding: 4px 34px !important;
		color: #fff !important;
		font-family: "NoeDisplay-Bold" !important;
		font-size: 30px !important;
		line-height: 40px;
	}

	#mostrardebajoheader .footerblock.headerblock {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: auto;
		padding: 12px 24px 12px 32px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	}

	#mostrardebajoheader h4.headerheader {
		float: none;
		width: auto;
		margin: 0;
		padding: 0;
		color: #fff;
		font-family: "Playfair Display Regular" !important;
		font-size: 17px;
		font-weight: 400;
	}

	#mostrardebajoheader .botonderecha {
		float: none;
		width: auto;
		color: #fff;
		font-size: 13px;
	}

	#mostrardebajoheader .desplegar {
		margin: 0;
		padding: 8px 32px 12px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	}

	#mostrardebajoheader .desplegar a {
		color: #fff !important;
	}

	/* "Atención al cliente": en la maqueta va sobre el rojo y alineado a la izquierda (el HTML trae fondo blanco en línea) */
	#mostrardebajoheader .backwhite {
		height: auto !important;
		padding: 24px 30px 40px;
		background-color: transparent !important;
	}

	#mostrardebajoheader h4.headeratencion {
		margin: 0;
		color: #8b2b2b;
		font-family: "NoeDisplay-Bold" !important;
		font-size: 22px;
		line-height: 28px;
		text-align: left;
	}

	#mostrardebajoheader p.telefonoheader {
		margin: 0 !important;
		color: #fff;
		font-size: 40px;
		line-height: 46px;
		text-align: left;
	}

	#mostrardebajoheader p.emailfooter {
		margin: 0 0 20px !important;
		line-height: 24px;
		text-align: left;
	}

	#mostrardebajoheader p.emailfooter a {
		color: #fff;
		font-size: 17px;
		text-decoration: underline !important;
	}

	#mostrardebajoheader p.callefooter,
	#mostrardebajoheader p.horariofooter {
		margin: 0 0 16px !important;
		color: #222;
		font-size: 13px;
		line-height: 18px;
		text-align: left;
	}

	#mostrardebajoheader p.callefooter i,
	#mostrardebajoheader p.horariofooter i {
		color: #8b2b2b;
	}

	#mostrardebajoheader .backwhite > div {
		width: auto !important;
		margin: 8px 0 0 -10px !important;
	}

	/* ---------- Carrusel de portada ---------- */

	body.home #promotions_carousel figure {
		position: relative;
		margin: 0;
	}

	body.home #promotions_carousel figure > img {
		width: 100%;
		height: 475px;
		object-fit: cover;
	}

	body.home #promotions_carousel figure .container {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		padding: 0;
		max-width: none;
	}

	body.home #promotions_carousel figcaption {
		top: 150px;
		left: 0;
		right: 0;
		margin: 0;
		padding: 0 24px 0 36px;
		background-image: none;
	}

	body.home #promotions_carousel figcaption::before {
		content: "";
		position: absolute;
		left: 12px;
		top: 20px;
		width: 17px;
		height: 3px;
		background: #fff;
	}

	body.home #promotions_carousel figcaption h1.blanco {
		font-size: 30px !important;
		line-height: 40px;
	}

	body.home #promotions_carousel .subrayadoazul {
		width: 185px;
		margin: -9px 0 5px 36px;
		border-bottom-width: 4px;
	}

	body.home #promotions_carousel h1.subrayado_amarillo {
		background: linear-gradient(#eaae4e, #eaae4e) no-repeat 72px 33px / 190px 4px;
	}

	body.home #promotions_carousel .slidertext {
		color: #fff;
		font-size: 16px;
		line-height: 24px;
		margin: 12px 0 0;
	}

	body.home #promotions_carousel .slidertext + .slidertext {
		margin-top: 0;
	}

	body.home .botonslider {
		height: 44px;
		margin-top: 22px;
		padding: 0 34px !important;
		font-size: 16px;
		border-radius: 0;
	}

	body.home #promotions_carousel .owl-dots {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 18px;
		margin: 0 !important;
	}

	body.home #promotions_carousel .owl-dots .owl-dot span {
		width: 14px;
		height: 14px;
		margin: 0 6px;
		background: #fff;
	}

	/* ---------- Descubre todo un mundo de ilusión ---------- */

	body.home .fondobolita > .container.mb-5 {
		padding: 0 24px;
		margin-bottom: 22px !important;
	}

	body.home .fondobolita h2,
	body.home .fondobolita2 .mb-5 h2 {
		max-width: 290px;
		margin: 0 auto;
		font-size: 27px;
		line-height: 30px;
	}

	body.home .fondobolita h3,
	body.home .fondobolita2 .mb-5 h3 {
		max-width: 250px;
		margin: 8px auto 0;
		padding-top: 0;
		border-top: 0;
		font-size: 15px;
		line-height: 20px;
	}

	body.home #categories_carousel {
		margin: 0 0 30px;
	}

	body.home #categories_carousel .owl-stage {
		left: 0;
	}

	body.home #categories_carousel .item {
		width: 210px;
		padding: 0;
	}

	body.home #categories_carousel figure {
		margin: 0;
	}

	body.home #categories_carousel .imgredonded img {
		width: 100%;
		height: 168px;
		object-fit: cover;
		border-radius: 6px;
	}

	body.home #categories_carousel .nombreplus {
		margin-top: 10px;
	}

	body.home #categories_carousel .nombreplus h5 {
		margin: 0;
		font-size: 15px;
		line-height: 19px;
	}

	body.home #categories_carousel .subtitlecarrusel {
		margin: 2px 0 0;
		font-size: 12px;
		line-height: 16px;
		color: #333;
	}

	/* ---------- ¿Buscas un regalo a medida? ---------- */

	body.home .fondomobileazul .wp-block-columns {
		margin-bottom: 0;
	}

	body.home .fondomobileazul .wp-block-column {
		margin: 0;
	}

	body.home .fondomobileazul figure {
		margin: 0;
	}

	body.home .fondomobileazul .imagenmobile {
		height: 190px;
		padding: 0 28px !important;
		object-fit: cover;
	}

	body.home .fondomobileazul .wp-block-column:last-child > div {
		position: relative;
		padding: 0 8px 40px 21px;
	}

	body.home .fondomobileazul .wp-block-column:last-child > div::before {
		content: "";
		position: absolute;
		left: -3px;
		top: 18px;
		width: 17px;
		height: 3px;
		background: #fff;
	}

	body.home .fondomobileazul .tituloazul {
		color: #fff;
		text-align: left;
		font-size: 30px !important;
		line-height: 36px !important;
	}

	body.home .fondomobileazul .dosem {
		margin-top: 14px;
		color: #fff;
		text-align: left;
		font-size: 16px;
		line-height: 24px;
	}

	body.home .fondomobileazul .botonslider {
		padding: 0 26px !important;
	}

	/* ---------- Productos destacados: carrusel horizontal ---------- */

	body.home .fondobolita2 {
		padding-top: 0;
	}

	body.home .fondobolita2 .mb-5 {
		padding: 40px 24px 0;
		margin-bottom: 22px !important;
		text-align: center;
	}

	body.home .fondobolita2 .woocommerce {
		margin-bottom: 0;
	}

	body.home .fondobolita2 ul.products {
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		margin: 0 -15px !important;
		padding: 0 15px 6px !important;
		overflow-x: auto;
		scroll-padding-left: 15px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.home .fondobolita2 ul.products::-webkit-scrollbar {
		display: none;
	}

	body.home .fondobolita2 ul.products::before,
	body.home .fondobolita2 ul.products::after {
		display: none;
	}

	body.home .fondobolita2 ul.products li.product {
		flex: 0 0 208px;
		width: 208px !important;
		margin: 0 !important;
		float: none;
		clear: none;
		text-align: left;
		scroll-snap-align: start;
	}

	body.home .fondobolita2 .altea-item-image-container {
		overflow: hidden;
		border-radius: 6px;
	}

	body.home .fondobolita2 .altea-item-image-container img {
		width: 100%;
		height: 167px;
		margin: 0 !important;
		object-fit: cover;
	}

	body.home .fondobolita2 .altea-item-image-container::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 55%;
		background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.55));
	}

	body.home .fondobolita2 .precioabsolute {
		bottom: 8px;
		right: 10px;
		font-size: 22px;
		line-height: 24px;
		text-align: right;
	}

	body.home .fondobolita2 li.product-type-variable .precioabsolute::before {
		content: "Desde";
		display: block;
		font-family: "Playfair Display Regular";
		font-size: 13px;
		font-weight: 400;
		line-height: 14px;
	}

	body.home .fondobolita2 .onsale {
		left: 8px;
		bottom: 10px;
		padding: 2px 12px;
		border-radius: 12px;
		background-color: #08a3ae;
		font-size: 11px;
		text-transform: uppercase;
	}

	/* máximo 2 líneas: si no, un nombre largo estira todas las tarjetas del carrusel */
	body.home .fondobolita2 ul.products li.product .woocommerce-loop-product__title {
		display: -webkit-box;
		margin: 10px 0 2px !important;
		padding: 0;
		overflow: hidden;
		font-size: 15px;
		line-height: 19px;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	body.home .fondobolita2 ul.products li.product .button {
		display: none;
	}

	/* algunos extractos tienen varios párrafos: solo se muestra el primero (el recorte de 3 líneas es por párrafo) */
	body.home .fondobolita2 ul.products li.product .woocommerce-LoopProduct-link p ~ p {
		display: none;
	}

	body.home .fondobolita2 ul.products li.product .woocommerce-LoopProduct-link p {
		display: -webkit-box;
		margin: 0;
		overflow: hidden;
		color: #333;
		font-size: 12px;
		line-height: 15px;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}

	body.home .catalogocompleto {
		margin: 0;
		padding: 26px 0 40px;
	}

	body.home .catalogocompleto a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 16px;
		font-family: "Poppins", sans-serif !important;
		font-size: 16px;
		font-weight: 600;
	}

	body.home .catalogocompleto img {
		float: none;
		margin: 0;
	}

	/* ---------- Newsletter ---------- */

	/* margen inferior del artículo de la página: dejaba 68px en blanco antes del pie */
	body.home article.page {
		margin-bottom: 0;
	}

	#newsletter {
		padding: 36px 0 !important;
	}

	#mc_embed_signup form {
		padding-top: 0 !important;
	}

	#mc_embed_signup_scroll {
		position: relative;
		padding-left: 21px !important;
	}

	#mc_embed_signup_scroll::before {
		content: "";
		position: absolute;
		left: -3px;
		top: 17px;
		width: 17px;
		height: 3px;
		background: #fff;
	}

	#mc_embed_signup_scroll h1 {
		font-size: 30px;
		line-height: 36px;
	}

	#mc_embed_signup_scroll .subrayado {
		width: 180px;
		margin: -7px 0 12px 88px;
		border-bottom-width: 4px;
	}

	#mc_embed_signup_scroll .tresem {
		width: 100%;
		margin-top: 0;
		font-size: 16px;
		line-height: 24px;
	}

	#mc_embed_signup .mc-field-group .row {
		flex-wrap: nowrap;
		margin: 18px 0 0 !important;
	}

	#mc_embed_signup .mc-field-group .row > div:first-child {
		flex: 1 1 auto;
		max-width: none;
		width: auto;
	}

	#mc_embed_signup .mc-field-group .row > div:last-child {
		flex: 0 0 104px;
		max-width: 104px;
	}

	#mc_embed_signup .mc-field-group input.email,
	#mc_embed_signup input#mc-embedded-subscribe {
		height: 44px !important;
		margin: 0;
		border: 0;
	}

	/* ---------- Pie ---------- */

	#colophon {
		padding-bottom: 0;
	}

	.footerlinks .mostrarmobile .footerblock {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: auto;
		margin: 0 -15px;
		padding: 12px 20px;
		border-bottom: 1px solid #ddd;
		background: #f7f7f7;
	}

	.footerlinks .mostrarmobile .footerblock h4 {
		float: none;
		width: auto;
		margin: 0;
		font-size: 16px;
	}

	.footerlinks .mostrarmobile .botonderecha {
		float: none;
		width: auto;
		font-size: 14px;
	}

	.footerlinks .mostrarmobile .desplegar {
		margin: 0 -15px;
		padding: 10px 20px;
		background: #f7f7f7;
	}

	.footerlinks .backwhite {
		flex: 0 0 auto;
		width: calc(100% + 30px);
		max-width: none;
		margin: 0 -15px;
		background: #fff;
	}

	.footerlinks .alignrightfooter {
		padding-top: 30px;
		padding-bottom: 30px;
	}

	.footerlinks .alignrightfooter h4.footerheader {
		font-size: 22px;
	}
}

/* =====================================================================
 * ESCRITORIO (maqueta 01-D-home-02, 1920px)
 * ===================================================================== */

/* Storefront 2.5 dibuja una cesta (Font Awesome) debajo de la bolsa del carrito; la maqueta no la lleva */
.site-header-cart .cart-contents::after,
.site-header-cart .cart-contents2::after {
	display: none;
}

/* Precio de las tarjetas de destacados en serif negrita, como en las maquetas (móvil y escritorio) */
body.home .fondobolita2 .precioabsolute,
body.home .fondobolita2 .precioabsolute .amount,
body.home .fondobolita2 .precioabsolute .amount * {
	font-family: "NoeDisplay-Bold" !important;
	font-weight: 400;
}

/* ---------- Tarjetas de productos destacados (tablet y escritorio) ---------- */

@media (min-width: 601px) {

	body.home .fondobolita2 {
		overflow-x: hidden;
	}

	body.home .fondobolita2 ul.products {
		margin: 40px 0 0 !important;
	}

	/* el carrusel llega hasta el borde derecho de la pantalla (la 5.ª tarjeta se ve cortada) */
	body.home .fondobolita2 ul.products .owl-stage-outer {
		margin-right: calc(50% - 50vw);
	}

	body.home .fondobolita2 ul.products li.product {
		float: none;
		width: 382px !important;
		margin: 0 !important;
		text-align: left;
	}

	body.home .fondobolita2 .altea-item-image-container {
		position: relative;
		overflow: hidden;
		border-radius: 6px;
	}

	body.home .fondobolita2 .altea-item-image-container img {
		width: 100%;
		height: 304px;
		margin: 0 !important;
		object-fit: cover;
	}

	body.home .fondobolita2 .altea-item-image-container::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 45%;
		background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
	}

	body.home .fondobolita2 .precioabsolute {
		bottom: 14px;
		right: 16px;
		font-size: 26px;
		line-height: 28px;
		text-align: right;
	}

	body.home .fondobolita2 li.product-type-variable .precioabsolute::before {
		content: "Desde";
		display: block;
		font-family: "Playfair Display Regular";
		font-size: 16px;
		line-height: 18px;
	}

	body.home .fondobolita2 .onsale {
		left: 16px;
		bottom: 16px;
		padding: 3px 14px;
		border-radius: 14px;
		background-color: #08a3ae;
		font-size: 12px;
		text-transform: uppercase;
	}

	body.home .fondobolita2 ul.products li.product .woocommerce-loop-product__title {
		display: -webkit-box;
		margin: 20px 0 6px !important;
		padding: 0;
		overflow: hidden;
		font-size: 32px;
		line-height: 38px;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	body.home .fondobolita2 ul.products li.product .woocommerce-LoopProduct-link p ~ p,
	body.home .fondobolita2 ul.products li.product .button {
		display: none;
	}

	body.home .fondobolita2 ul.products li.product .woocommerce-LoopProduct-link p {
		display: -webkit-box;
		margin: 0;
		overflow: hidden;
		color: #333;
		font-size: 18px;
		line-height: 26px;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}
}

/* ---------- Categorías ---------- */

@media (min-width: 1001px) {

	body.home #categories_carousel {
		margin-top: 62px;
		margin-bottom: 145px;
	}

	body.home #categories_carousel .imgredonded img {
		width: 100%;
		height: 306px;
		object-fit: cover;
		border-radius: 6px;
	}

	body.home #categories_carousel .nombreplus h5 {
		margin-bottom: 4px;
	}

	body.home #categories_carousel .subtitlecarrusel {
		margin: 0;
		font-size: 18px;
		line-height: 24px;
	}
}

/* ---------- Bloques que solo existen en escritorio (.ocultarmobile se muestra a partir de 1201px) ---------- */

@media (min-width: 1201px) {

	/* Cabecera: logo a 117px (Storefront lo limitaba al ancho de su columna) y enlaces separados 34px */
	.menusub .logo {
		width: 117px;
		max-width: none;
		height: auto;
		margin-left: -12px;
	}

	.main-navigation ul.menu > li > a {
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	/*
	 * Parte derecha: en la maqueta "Mi Cuenta" acaba en x=1668, la raya está en x=1701 (40px de alto)
	 * y la bolsa en x=1735. La caja del carrito medía 72px con 25px de relleno y lo empujaba todo a la izquierda.
	 * La raya trae margen y alto en línea en el HTML (altea_right_navigation), de ahí los !important.
	 */
	.woocommerce-active .site-header .site-header-cart {
		width: 23px;
		padding-left: 0;
	}

	.site-header-cart .cart-contents img,
	.site-header-cart .cart-contents2 img {
		margin-left: 8px;
	}

	.menusub div.ocultarmobile[style*="border-left"] {
		height: 40px !important;
		margin-top: 20px !important;
		margin-left: 8px !important;
		margin-right: 11px;
	}

	/* Botones de la portada: tamaño fijo de la maqueta (270 x 52) */
	body.home .botonslider {
		min-width: 270px;
		height: 52px;
		padding: 0 24px !important;
	}

	/* Pie: teléfono y email a los tamaños de la maqueta */
	.footerlinks .alignrightfooter p.telefonofooter,
	.footerlinks .alignrightfooter p.telefonofooter a {
		font-size: 41px;
		line-height: 48px;
	}

	.footerlinks .alignrightfooter p.emailfooter,
	.footerlinks .alignrightfooter p.emailfooter a {
		font-size: 18px;
	}

	/* Carrusel de portada: texto a la altura de la maqueta y subrayado amarillo en "más especial" */
	body.home #promotions_carousel figcaption {
		margin-top: 17vw;
	}

	body.home #promotions_carousel h1.subrayado_amarillo {
		background: linear-gradient(#eaae4e, #eaae4e) no-repeat 198px 64px / 424px 8px;
	}

	/*
	 * ¿Tienes una idea especial? La imagen antigua traía el turquesa y la foto fundidos (61% / 39%).
	 * La maqueta pide turquesa al 44% y la foto al 56%, más alta que el turquesa: se montan por separado.
	 */
	/* min-height: a 1280px el botón acaba a ~655px y el turquesa ocupa hasta el 92% del alto del bloque */
	body.home .fondochica {
		position: relative;
		height: 46.15vw;
		min-height: 760px;
		background-image: none;
	}

	body.home .fondochica::before,
	body.home .fondochica::after {
		content: "";
		position: absolute;
	}

	body.home .fondochica::before {
		left: 0;
		top: 6.55%;
		width: 43.9%;
		height: 85.3%;
		background: url("../img/fondo-azul.jpg") center / cover;
	}

	body.home .fondochica::after {
		right: 0;
		top: 0;
		width: 56.1%;
		height: 100%;
		background: url("../img/rediseno-regalo-a-medida.jpg") center / cover;
	}

	body.home .fondochica > .container {
		position: relative;
		z-index: 1;
	}

	/*
	 * La raya de la izquierda era una imagen de fondo a 318px fijos, pero el título empieza a una altura
	 * que depende del ancho (padding-top en %): a 1440px caía en la segunda línea. Ahora va pegada al título.
	 */
	body.home .fondochica .margin-top-60 {
		background-image: none;
	}

	body.home .fondochica .margin-top-60 > h1:first-child {
		position: relative;
	}

	body.home .fondochica .margin-top-60 > h1:first-child::before {
		content: "";
		position: absolute;
		left: -60px;
		top: 50%;
		width: 40px;
		height: 5px;
		background: #fff;
		transform: translateY(-50%);
	}

	body.home .fondobolita2 {
		padding-top: 160px;
		padding-bottom: 105px;
	}

	/* Espaciados verticales medidos en la maqueta a 1920px */
	body.home #promotions_carousel figure > img {
		height: 55vw;
		object-fit: cover;
	}

	body.home .fondobolita > .container.mb-5 {
		padding-top: 44px;
	}

	body.home .fondobolita2 ul.products {
		margin-top: 75px !important;
	}

	.footerlinks > div {
		padding-top: 28px;
		padding-bottom: 29px;
	}

	/* Newsletter */
	#newsletter {
		padding: 59px 35px 115px;
	}
}

/*
 * Entre 1400 y 1600px el título va a 55px, pero style.css aplica desde 1400px la barra morada pensada para 72px
 * (390px / 400px) y queda desplazada. Con 55px, "idea especial?" empieza en 292px y mide 330px.
 */
@media (min-width: 1400px) and (max-width: 1600px) {

	body.home .fondochica .subrayadomorado {
		width: 330px;
		margin-left: 290px;
	}
}

@media (min-width: 1201px) {

	/* en la maqueta el título empieza en x=250 (la raya en x=190): 34px más a la izquierda que el formulario original */
	#mc_embed_signup_scroll {
		width: 900px !important;
		margin-left: -34px;
	}

	#mc_embed_signup_scroll h1 {
		font-size: 75px;
		line-height: 90px;
	}

	#mc_embed_signup_scroll .subrayado {
		width: 432px;
		margin: -26px 0 20px 198px;
		border-bottom-width: 8px;
	}

	#mc_embed_signup_scroll .tresem {
		width: 100%;
		max-width: 720px;
		margin: 0 0 75px;
		font-size: 21px;
		line-height: 38px;
	}

	#mc_embed_signup .mc-field-group .row {
		flex-wrap: nowrap;
		margin: 0 !important;
	}

	#mc_embed_signup .mc-field-group .row > div:first-child {
		flex: 0 0 546px;
		max-width: 546px;
	}

	#mc_embed_signup .mc-field-group .row > div:last-child {
		flex: 0 0 176px;
		max-width: 176px;
	}

	#mc_embed_signup .mc-field-group input.email,
	#mc_embed_signup input#mc-embedded-subscribe {
		height: 50px !important;
		margin: 0;
		border: 0;
	}

	#mc_embed_signup input#mc-embedded-subscribe {
		font-size: 16px;
	}

	/* Pie: panel blanco de "Atención al cliente" hasta el borde derecho y texto alineado a la izquierda */
	#colophon {
		padding-bottom: 0;
	}

	.footerlinks .backwhite {
		background: #fff;
		box-shadow: 0 0 0 100vmax #fff;
		clip-path: inset(0 -100vmax 0 0);
	}

	.footerlinks .alignrightfooter {
		padding: 60px 0 40px 80px;
		text-align: left;
	}

	.footerlinks .alignrightfooter h4.footerheader {
		font-size: 24px;
	}

	.footerlinks .alignrightfooter p {
		text-align: left;
	}

	.footerlinks .alignrightfooter div {
		margin: 0 0 0 -10px !important;
	}

	/* ---------- Posiciones horizontales medidas en la maqueta a 1920px ---------- */

	/* Carrusel: título y botón en x=251, raya en x=188 */
	body.home #promotions_carousel figcaption {
		padding-left: 96px;
		background-position: 33px 58px;
	}

	/* ¿Tienes una idea especial?: título, párrafo y botón en x=252, raya en x=190 */
	body.home .fondochica .margin-top-60 {
		padding-left: 97px;
	}

	body.home .fondochica .margin-top-60 > h1:first-child::before {
		left: -62px;
	}

	/* IR AL CATÁLOGO COMPLETO: la flecha acaba en x=1760 */
	body.home .fondobolita2 .botonarrow {
		right: 145px;
	}

	/*
	 * Pie: el panel blanco empieza en x=1313 (71,5% del contenedor) y los títulos de columna
	 * en x=159 / 387 / 681 / 972, es decir, columnas del 19,8% / 25,1% / 24,8% del ancho izquierdo.
	 */
	.footerlinks > div:first-child {
		flex: 0 0 71.5%;
		max-width: 71.5%;
	}

	.footerlinks > .backwhite {
		flex: 0 0 28.5%;
		max-width: 28.5%;
	}

	.footerlinks .marginfooter > .col-md-3:nth-child(1) {
		flex: 0 0 19.8%;
		max-width: 19.8%;
	}

	.footerlinks .marginfooter > .col-md-3:nth-child(2) {
		flex: 0 0 25.1%;
		max-width: 25.1%;
	}

	.footerlinks .marginfooter > .col-md-3:nth-child(3) {
		flex: 0 0 24.8%;
		max-width: 24.8%;
	}

	.footerlinks .marginfooter > .col-md-3:nth-child(4) {
		flex: 0 0 30.3%;
		max-width: 30.3%;
	}

	/* "Atención al cliente" en x=1410: 97px desde el inicio del panel */
	.footerlinks .alignrightfooter {
		padding-left: 82px;
	}
}

/* Categorías: fotos de 382px separadas 26px (paso de 408px), sin el relleno lateral de .spacio (el hueco lo pone Owl, ver main.js) */
@media (min-width: 1000px) {

	body.home #categories_carousel .item.spacio {
		padding-left: 0;
		padding-right: 0;
	}
}

/*
 * Carrusel de portada a partir de 1601px (el título va a 72px). Medidas de tinta en la maqueta a 1920:
 * título en y=369 y y=451 (82px entre líneas), párrafo en y=549 y y=593 (44px), botón en y=678, raya en y=392.
 * Entre 1201 y 1600px el título va a 55px y se quedan los valores anteriores.
 */
@media (min-width: 1601px) {

	body.home #promotions_carousel figcaption {
		margin-top: 18.85vw;
		background-position: 33px 30px;
	}

	body.home #promotions_carousel figcaption h1.blanco {
		line-height: 82px;
	}

	/* subrayado turquesa: misma distancia al texto que antes y sin sumar altura entre las dos líneas */
	body.home #promotions_carousel .subrayadoazul {
		margin-top: -15px;
		margin-bottom: 5px;
	}

	body.home #promotions_carousel h1.subrayado_amarillo {
		background-position: 198px 61px;
	}

	body.home #promotions_carousel .slidertext {
		margin: 0;
		line-height: 44px;
	}

	body.home #promotions_carousel h1.subrayado_amarillo ~ .slidertext:first-of-type,
	body.home #promotions_carousel h1.subrayado_amarillo + .slidertext {
		margin-top: 11px;
	}

	body.home #promotions_carousel .botonslider {
		margin-top: 54px;
	}
}

/*
 * Pie a partir de 1201px. Medidas de tinta en la maqueta a 1920 (el pie empieza en y=4294):
 * títulos de columna en +89, primer enlace 52px debajo, enlaces cada 30px, línea gris de x=157 a x=1204;
 * "Atención al cliente" en +56, teléfono +100, email +143, dirección +182, horario +236, iconos +298.
 */
@media (min-width: 1201px) {

	.footerlinks .marginfooter {
		position: relative;
		margin-top: 58px;
		border-bottom: 0;
	}

	.footerlinks .marginfooter::after {
		content: "";
		position: absolute;
		left: 1.45%;
		bottom: 0;
		width: 89.3%;
		height: 1px;
		background: #ccc;
	}

	.footerlinks .marginfooter h4.footerheader {
		margin-bottom: 22px;
	}

	.footerlinks .marginfooter li,
	.footerlinks .marginfooter li a {
		line-height: 30px;
	}

	.footerlinks .alignrightfooter {
		padding-top: 25px;
	}

	.footerlinks .alignrightfooter p.emailfooter {
		margin-top: -6px;
		margin-bottom: 11px;
	}

	.footerlinks .alignrightfooter p.callefooter {
		margin-bottom: 9px;
	}

	.footerlinks .alignrightfooter p.horariofooter {
		margin-bottom: 31px;
	}

	/*
	 * El crédito (.site-info) se coloca 75px por encima del final del pie (margin-top: -75px en style.css),
	 * así que la altura del pie decide dónde cae. En la maqueta el texto va 52px por debajo de la línea gris
	 * y el pie acaba 74px por debajo del texto. Sin este relleno, el crédito se montaba sobre los enlaces.
	 */
	.footerlinks > div:first-child {
		padding-bottom: 119px;
	}

	/* el texto del crédito empieza donde la línea gris (x=157 en la maqueta) */
	#colophon .site-info {
		margin-left: 1.05%;
	}
}

/*
 * Menú móvil desplegado: ajuste fino con medidas de la maqueta 01-R-home-02-menu a 380px
 * (línea bajo "Mi Cuenta" en y=70, categorías cada 54px, filas del acordeón de 48px con el texto a 21px de la línea,
 * dirección con interlineado de 22px y la segunda línea alineada con el texto, iconos sociales 44px bajo el horario).
 */
@media (max-width: 600px) {

	#mostrardebajoheader #menu-mobile li.lineaabajo {
		margin-bottom: 17px;
		padding: 20px 20px;
	}

	#mostrardebajoheader #menu-mobile li.lineaabajo a {
		display: block;
		padding: 0 !important;
		line-height: 29px;
	}

	#mostrardebajoheader li.grandemenu > a {
		padding-top: 7px !important;
		padding-bottom: 7px !important;
	}

	#mostrardebajoheader #menu-mobile {
		padding-bottom: 19px !important;
	}

	#mostrardebajoheader .footerblock.headerblock {
		padding: 15px 24px 11px 32px;
	}

	#mostrardebajoheader .backwhite {
		padding: 26px 30px 40px;
	}

	#mostrardebajoheader h4.headeratencion {
		margin-bottom: 3px;
		font-size: 23px;
	}

	#mostrardebajoheader p.emailfooter {
		margin: -6px 0 20px !important;
	}

	/* icono a la izquierda y el texto (también la 2.ª línea) a 27px */
	#mostrardebajoheader p.callefooter,
	#mostrardebajoheader p.horariofooter {
		padding-left: 27px;
		text-indent: -27px;
		line-height: 21px;
	}

	#mostrardebajoheader p.callefooter {
		margin: 0 0 13px !important;
	}

	#mostrardebajoheader p.horariofooter {
		margin: 0 0 12px !important;
	}

	#mostrardebajoheader p.callefooter i,
	#mostrardebajoheader p.horariofooter i {
		display: inline-block;
		width: 16px;
		margin-right: 11px !important;
		text-indent: 0;
		text-align: center;
	}

	#mostrardebajoheader .backwhite > div {
		margin: 0 0 0 -10px !important;
	}

	/* aspa de cerrar: dos trazos finos de 28px como en la maqueta (el icono lo pone footer.php al abrir) */
	#activarmenu i.fa-times {
		position: relative;
		display: block;
		width: 22px;
		height: 22px;
		margin-top: 8px;
	}

	#activarmenu i.fa-times::before,
	#activarmenu i.fa-times::after {
		content: "";
		position: absolute;
		left: -3px;
		top: 10px;
		width: 28px;
		height: 2px;
		background: #fff;
	}

	#activarmenu i.fa-times::before {
		transform: rotate(45deg);
	}

	#activarmenu i.fa-times::after {
		transform: rotate(-45deg);
	}

	/* (el listado de productos está al final del archivo) */

	/*
	 * Iconos sociales del menú: en la maqueta son círculos granates de 48px con el símbolo en el rojo del fondo,
	 * cada 61px. Los PNG del HTML son turquesa (se siguen usando en el pie de escritorio): aquí se oculta su
	 * contenido con object-position y se pinta la versión granate como fondo de la misma imagen.
	 */
	#mostrardebajoheader .backwhite > div {
		margin: 3px 0 0 -1px !important;
	}

	#mostrardebajoheader .backwhite img {
		width: 48px;
		height: 48px;
		margin: 0 13px 0 0;
		padding: 0 !important;
		object-position: 0 -100px;
		background: no-repeat center / 48px 48px;
	}

	#mostrardebajoheader .backwhite a[href*="facebook"] img {
		background-image: url("../img/rediseno-facebook-granate.png");
	}

	#mostrardebajoheader .backwhite a[href*="instagram"] img {
		background-image: url("../img/rediseno-instagram-granate.png");
	}

	/*
	 * Contenido de los desplegables (Sobre Nosotros, Envíos y Ayuda, Condiciones): style.css fija 25px de alto
	 * a cada enlace (.marginleft) con letra de 20px, y el texto se salía por encima de la línea de la fila siguiente.
	 */
	#mostrardebajoheader .desplegar {
		padding: 4px 24px 14px 32px;
	}

	#mostrardebajoheader .desplegar li,
	#mostrardebajoheader .desplegar li.marginleft {
		height: auto;
		padding: 0;
	}

	#mostrardebajoheader .desplegar li a {
		display: block;
		padding: 6px 0 !important;
		font-family: "Playfair Display Regular";
		font-size: 16px !important;
		line-height: 24px;
	}

	/*
	 * Más aire al final del menú. Los iconos van flotando y su contenedor medía 0 de alto, así que invadían
	 * el relleno inferior: con flow-root el contenedor abarca los iconos y el relleno queda entero debajo.
	 */
	#mostrardebajoheader .backwhite > div {
		display: flow-root;
	}

	#mostrardebajoheader .backwhite {
		padding-bottom: 70px;
	}
}

/* =====================================================================
 * LISTADO DE PRODUCTOS (maquetas 02-D-listado-01 a 1920px y 02-R-listado-01 a 380px)
 * Marcado en woocommerce/archive-product.php; body.altea-listado lo añade functions.php.
 * ===================================================================== */

/*
 * La cabecera flota transparente encima del banner (en la portada va dentro del carrusel).
 * Storefront le pone fondo blanco y dejaba una franja de 111px sobre la foto con los enlaces blancos invisibles.
 */
body.altea-listado .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	margin: 0;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	border: 0;
	background: transparent !important;
}

body.altea-listado #primary,
body.altea-listado .site-main {
	margin-bottom: 0;
}

/* ---------- Banner ---------- */

.altea-cat-hero {
	position: relative;
	overflow: hidden;
}

/* oscurecido suave arriba (menú) y a la izquierda (texto): con fotos claras el blanco no se leía */
.altea-cat-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 22%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 55%);
	pointer-events: none;
}

.altea-cat-hero__texto {
	z-index: 1;
}

.altea-cat-hero__img {
	display: block;
	width: 100%;
	height: 42.66vw; /* 819px a 1920 */
	object-fit: cover;
}

.altea-cat-hero__texto {
	position: absolute;
	top: 16.77vw; /* miga de pan en y=322 a 1920 */
	left: 0;
	right: 0;
	padding-left: 112px; /* texto en x=252 */
	color: #fff;
}

.altea-cat-hero__migas {
	margin: 0 0 24px;
	color: #fff;
	font-family: "Poppins", sans-serif !important;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	text-transform: uppercase;
}

.altea-cat-hero__migas,
.altea-cat-hero__migas * {
	font-family: "Poppins", sans-serif !important;
}

.altea-cat-hero__migas a,
.altea-cat-hero__migas a:hover {
	color: #fff;
	text-decoration: none;
}

.altea-cat-hero__separador {
	display: inline-block;
	margin: 0 8px;
}

.altea-cat-hero__titulo {
	position: relative;
	max-width: 32.3vw; /* "Regalos ideales" / "para cumpleaños" en dos líneas */
	margin: 0;
	color: #fff;
	font-family: "NoeDisplay-Bold" !important;
	font-size: clamp(34px, 3.75vw, 72px);
	line-height: 1.139;
}

.altea-cat-hero__titulo span {
	font-family: inherit !important;
}

/* raya a la izquierda del título (x=190 a 1920) */
.altea-cat-hero__titulo::before {
	content: "";
	position: absolute;
	left: -62px;
	top: 0.62em;
	width: 44px;
	height: 5px;
	background: #fff;
}

.altea-subrayado {
	padding: 0 3px;
	margin: 0 -3px;
	background-repeat: no-repeat;
	background-position: 0 78%; /* a 72px la barra va de +52 a +64 dentro de la línea de 82px */
	background-size: 100% 0.167em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.altea-subrayado--turquesa {
	background-image: linear-gradient(#08a3ae, #08a3ae);
}

.altea-subrayado--amarillo {
	background-image: linear-gradient(#eaae4e, #eaae4e);
}

/* ---------- Cabecera: título, descripción y "Ordenar por" ---------- */

body.altea-listado .altea-cat-cabecera {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	padding-top: 103px;
	margin-bottom: 90px;
}

body.altea-listado .woocommerce-products-header {
	margin: 0;
	padding: 0 !important;
	text-align: left;
}

body.altea-listado .woocommerce-products-header__title {
	margin: 0;
	padding: 0;
	font-size: 48px;
	line-height: 58px;
}

body.altea-listado .term-description,
body.altea-listado .term-description p,
body.altea-listado .page-description p {
	margin: 0;
	color: #222;
	font-size: 24px;
	line-height: 38px;
}

body.altea-listado .altea-cat-cabecera .storefront-sorting {
	flex: 0 0 auto;
	margin: 0 0 0 auto;
	font-size: 16px;
}

/* style.css da 35px de margen superior al contenedor de avisos, que va vacío dentro del bloque de ordenar */
body.altea-listado .storefront-sorting .woocommerce-notices-wrapper {
	margin: 0;
	padding: 0;
}

body.altea-listado .woocommerce-ordering {
	display: flex;
	align-items: center;
	gap: 16px;
	float: none;
	margin: 0;
	padding: 0;
}

body.altea-listado .woocommerce-ordering::before {
	content: "Ordenar por:";
	color: #000;
	font-family: "Playfair Display Regular";
	font-size: 16px;
	font-weight: 700;
	white-space: nowrap;
}

body.altea-listado .woocommerce-ordering select {
	width: 181px;
	height: 38px;
	padding: 0 34px 0 14px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: #333;
	font-family: "Playfair Display Regular";
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* ---------- Tarjetas de producto (mismo estilo que los destacados de la portada) ---------- */

body.altea-listado ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 26px;
	row-gap: 80px;
	margin: 0 !important;
	padding: 0;
}

body.altea-listado ul.products::before,
body.altea-listado ul.products::after {
	display: none;
}

body.altea-listado ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none;
	clear: none;
	text-align: left;
}

body.altea-listado ul.products li.product .altea-item-image-container {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

body.altea-listado ul.products li.product .altea-item-image-container img {
	width: 100%;
	height: 305px;
	margin: 0 !important;
	object-fit: cover;
}

/* oscurecido de la foto: velo suave en toda la imagen y más fuerte abajo, donde van el precio y "¡Oferta!" */
body.altea-listado ul.products li.product .altea-item-image-container::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.7) 100%);
	pointer-events: none;
}

body.altea-listado ul.products li.product .precioabsolute,
body.altea-listado ul.products li.product .onsale {
	z-index: 2;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.altea-listado ul.products li.product .precioabsolute {
	bottom: 14px;
	right: 16px;
	font-size: 26px;
	line-height: 28px;
	text-align: right;
}

body.altea-listado ul.products li.product .precioabsolute,
body.altea-listado ul.products li.product .precioabsolute .amount,
body.altea-listado ul.products li.product .precioabsolute .amount * {
	font-family: "NoeDisplay-Bold" !important;
	font-weight: 400;
}

body.altea-listado ul.products li.product-type-variable .precioabsolute::before {
	content: "Desde";
	display: block;
	font-family: "Playfair Display Regular";
	font-size: 16px;
	line-height: 18px;
}

body.altea-listado ul.products li.product .onsale {
	left: 16px;
	bottom: 16px;
	padding: 3px 14px;
	border-radius: 14px;
	background-color: #08a3ae;
	font-size: 12px;
	text-transform: uppercase;
}

body.altea-listado ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	margin: 18px 0 6px !important;
	padding: 0;
	overflow: hidden;
	font-size: 32px;
	line-height: 38px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

body.altea-listado ul.products li.product .woocommerce-LoopProduct-link p ~ p,
body.altea-listado ul.products li.product .button {
	display: none;
}

body.altea-listado ul.products li.product .woocommerce-LoopProduct-link p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #333;
	font-size: 17px;
	line-height: 28px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* ---------- Paginación (solo abajo) ---------- */

body.altea-listado .altea-listado__contenido > .storefront-sorting {
	margin: 70px 0 0;
	text-align: center;
}

body.altea-listado .woocommerce-pagination {
	float: none;
	margin: 0;
	padding: 0;
	border: 0;
}

body.altea-listado .woocommerce-pagination .page-numbers {
	display: inline-flex;
	gap: 8px;
}

body.altea-listado .woocommerce-pagination .page-numbers li .page-numbers {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff;
	color: #333;
	font-size: 16px;
	line-height: 36px;
}

body.altea-listado .woocommerce-pagination .page-numbers li .page-numbers.current {
	border-color: #ff5656;
	background: #ff5656;
	color: #fff;
}

/* ---------- ¿Buscas un regalo a medida? (newsletter.php) ---------- */

/*
 * clear: Storefront hace flotar #primary y, sin él, la caja empezaba arriba del todo (icono tapado por el banner).
 * Con clear el margen superior se pierde, así que la separación de 110px hasta la línea discontinua va como relleno
 * y la imagen de fondo baja lo mismo. Título a 299px de la línea, como en la maqueta.
 */
/*
 * En fondo_regalo.png la caja de regalo no está centrada: su centro cae 41,5px a la izquierda del centro de la imagen.
 * Se desplaza la imagen 42px a la derecha para que la caja, el título, el texto y el botón compartan eje.
 * Espacios: caja → título 32px, título → texto 18px, texto → botón 36px (la caja acaba 285px por debajo del inicio de la imagen).
 */
.altea-regalo-medida {
	clear: both;
	margin-top: 0;
	padding: 427px 0 106px;
	background: url("../img/fondo_regalo.png") no-repeat calc(50% + 42px) 110px;
	text-align: center;
}

.altea-regalo-medida h2 {
	margin: 0;
	padding: 0;
	font-size: 48px;
	line-height: 48px;
}

.altea-regalo-medida p {
	max-width: 600px;
	margin: 18px auto 0;
	color: #222;
	font-size: 22px;
	line-height: 29px;
	text-align: center;
}

.altea-regalo-medida .altea-regalo-medida__boton {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 270px;
	height: 52px;
	margin-top: 36px;
	padding: 0;
	border-radius: 0;
	background-color: #ff5656;
	color: #fff;
	font-family: "Poppins", sans-serif !important;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
}

.altea-regalo-medida .altea-regalo-medida__boton:hover {
	background-color: #ff4444;
	color: #fff;
}

/* ---------- Tablet ---------- */

@media (max-width: 1200px) {

	body.altea-listado ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {

	body.altea-listado ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.altea-listado .altea-cat-cabecera {
		flex-wrap: wrap;
	}
}

/* ---------- Móvil ---------- */

@media (max-width: 600px) {

	.altea-cat-hero__img {
		height: 326px;
	}

	.altea-cat-hero__texto {
		top: 128px;
		padding-left: 39px;
		padding-right: 15px;
	}

	.altea-cat-hero__migas {
		margin-bottom: 6px;
	}

	.altea-cat-hero__titulo {
		max-width: 260px;
		font-size: 32px;
		line-height: 42px;
	}

	.altea-cat-hero__titulo::before {
		left: -26px;
		top: 20px;
		width: 17px;
		height: 3px;
	}

	.altea-subrayado {
		background-position: 0 96%;
		background-size: 100% 5px;
	}

	body.altea-listado .altea-cat-cabecera {
		display: block;
		padding-top: 24px;
		margin-bottom: 37px;
		text-align: center;
	}

	body.altea-listado .woocommerce-products-header {
		text-align: center;
	}

	body.altea-listado .woocommerce-products-header__title {
		max-width: 290px;
		margin: 0 auto;
		text-align: center;
		font-size: 29px;
		line-height: 29px;
	}

	body.altea-listado .term-description,
	body.altea-listado .term-description p,
	body.altea-listado .page-description p {
		margin-top: 6px;
		font-size: 16px;
		line-height: 22px;
		text-align: center;
	}

	body.altea-listado .altea-cat-cabecera .storefront-sorting {
		margin: 20px 0 0;
	}

	body.altea-listado .woocommerce-ordering {
		justify-content: center;
		gap: 9px;
	}

	body.altea-listado .woocommerce-ordering::before {
		font-size: 17px;
	}

	body.altea-listado ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 17px;
		margin: 0 -1px !important;
	}

	body.altea-listado ul.products li.product .altea-item-image-container {
		border-radius: 5px;
	}

	body.altea-listado ul.products li.product .altea-item-image-container img {
		height: 137px;
	}

	body.altea-listado ul.products li.product .precioabsolute {
		bottom: 6px;
		right: 8px;
		font-size: 20px;
		line-height: 22px;
	}

	body.altea-listado ul.products li.product-type-variable .precioabsolute::before {
		font-size: 13px;
		line-height: 14px;
	}

	body.altea-listado ul.products li.product .onsale {
		left: 8px;
		bottom: 8px;
		padding: 1px 10px;
		font-size: 10px;
	}

	body.altea-listado ul.products li.product .woocommerce-loop-product__title {
		margin: 11px 0 2px !important;
		font-size: 15px;
		line-height: 19px;
	}

	body.altea-listado ul.products li.product .woocommerce-LoopProduct-link p {
		color: #222;
		font-size: 13px;
		line-height: 18px;
		-webkit-line-clamp: 3;
	}

	body.altea-listado .altea-listado__contenido > .storefront-sorting {
		margin-top: 40px;
	}

	/* foto_caja.jpg sí tiene la caja centrada (acaba 145px por debajo del inicio de la imagen): caja → título 24px */
	.altea-regalo-medida {
		margin-top: 0;
		padding: 199px 0 43px;
		background: url("../img/foto_caja.jpg") no-repeat center 30px;
	}

	/* "¿Buscas un regalo a medida?" mide 356px en la maqueta: todo el ancho de la pantalla para que quepa en una línea */
	.altea-regalo-medida h2 {
		margin: 0 -15px;
		font-size: 27px;
		line-height: 28px;
	}

	.altea-regalo-medida p {
		max-width: 270px;
		margin-top: 12px;
		font-size: 16px;
		line-height: 20px;
	}

	.altea-regalo-medida .altea-regalo-medida__boton {
		width: 217px;
		height: 44px;
		margin-top: 24px;
	}
}

/* =====================================================================
 * NEWSLETTER: casilla "Acepto la Política de Privacidad" (solo en newsletter.php; la portada no la lleva)
 * ===================================================================== */

.altea-privacidad {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 24px;
	color: #fff;
}

/* !important: el CSS de MailChimp (classic-10_7.css) pinta las casillas con borde y fondo transparente */
.altea-privacidad input[type="checkbox"] {
	flex: 0 0 auto;
	width: 22px !important;
	height: 22px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 2px;
	background: #fff no-repeat center / 14px 14px !important;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.altea-privacidad input[type="checkbox"]:checked {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.5' fill='none' stroke='%23ff5656' stroke-width='2.4'/%3E%3C/svg%3E");
}

/* sin marcar al enviar: mc-validate añade la clase de error; se marca el borde en vez de mostrar el texto de error en inglés */
.altea-privacidad input[type="checkbox"].mce_inline_error,
.altea-privacidad input[type="checkbox"].error {
	box-shadow: 0 0 0 2px #ff5656;
}

.altea-privacidad div.mce_inline_error,
.altea-privacidad label.error {
	display: none !important;
}

.altea-privacidad label {
	margin: 0;
	color: #fff;
	font-family: "Playfair Display Regular";
	font-size: 16px;
	line-height: 22px;
	cursor: pointer;
}

/* en la maqueta el texto va sin subrayar; se subraya al pasar por encima para que se note que es un enlace */
.altea-privacidad a {
	color: #fff;
	font-family: inherit;
	text-decoration: none !important;
}

.altea-privacidad a:hover,
.altea-privacidad a:focus {
	color: #fff;
	text-decoration: underline !important;
}

/* campo de correo: texto separado del borde y en la tipografía de la maqueta */
#newsletter.altea-newsletter--privacidad #mce-EMAIL {
	padding-left: 15px !important;
	padding-right: 10px !important;
	color: #333;
	font-family: "Playfair Display Regular";
	font-size: 16px;
}

#newsletter.altea-newsletter--privacidad #mce-EMAIL::placeholder {
	color: #999;
	font-family: "Playfair Display Regular";
	opacity: 1;
}

/* MailChimp da un 3% de relleno inferior al grupo del campo: con la casilla debajo, el hueco salía el doble que en la maqueta */
#newsletter.altea-newsletter--privacidad .mc-field-group {
	padding-bottom: 0;
}

/* la casilla añade una fila: se descuenta del relleno inferior para que el bloque mida lo mismo que en la portada (594px) */
@media (min-width: 1201px) {

	#newsletter.altea-newsletter--privacidad {
		padding-bottom: 113px;
	}
}

/* =====================================================================
 * MÓVIL: newsletter y pie (maqueta 02-R-listado-01 a 380px; la portada comparte estos estilos)
 * ===================================================================== */

@media (max-width: 600px) {

	/* Newsletter: título 52px bajo el inicio del bloque y texto en x=37 (MailChimp añadía un 3% de relleno al formulario) */
	#newsletter {
		padding-top: 48px !important;
	}

	/*
	 * Fondo: la foto de móvil de style.css es un primer plano del niño que tapaba el texto. La maqueta usa la
	 * composición de escritorio (gris a la izquierda, tarta y niño a la derecha) ajustada al alto del bloque;
	 * con 362px de alto la imagen mide 1168px de ancho y el 79% deja la tarta desde x≈40 y el niño cortado a la derecha.
	 */
	#newsletter {
		background-image: url("../img/foto_fondo.jpg") !important;
		background-size: auto 100% !important;
		background-position: 79% center !important;
	}

	#mc_embed_signup form {
		padding-left: 0 !important;
	}

	#mc_embed_signup_scroll .tresem {
		margin-bottom: 27px;
	}

	#newsletter.altea-newsletter--privacidad {
		padding-bottom: 22px !important;
	}

	.altea-privacidad {
		gap: 12px;
		margin-top: 15px;
	}

	.altea-privacidad input[type="checkbox"] {
		width: 23px;
		height: 23px;
	}

	.altea-privacidad label {
		font-size: 14px;
		line-height: 20px;
	}

	/* Acordeón del pie: títulos a 17px, filas de 47px (el icono de la flecha hace la línea de 23px) */
	.footerlinks .mostrarmobile .footerblock {
		padding-top: 15px;
		padding-bottom: 8px;
	}

	.footerlinks .mostrarmobile .footerblock h4 {
		font-size: 17px;
		line-height: 19px;
	}

	/* Atención al cliente: medidas de la maqueta (título 39px bajo el acordeón, teléfono 41px, email 17px subrayado) */
	.footerlinks .backwhite .alignrightfooter {
		margin-top: 0 !important;
		padding: 41px 15px 22px !important;
	}

	.footerlinks .alignrightfooter h4.footerheader {
		margin: 0 0 15px;
		font-size: 23px;
		line-height: 26px;
	}

	.footerlinks .alignrightfooter p.telefonofooter,
	.footerlinks .alignrightfooter p.telefonofooter a {
		margin: 0;
		font-size: 41px;
		line-height: 44px;
	}

	.footerlinks .alignrightfooter p.emailfooter {
		margin: 0 0 18px !important;
		line-height: 22px;
	}

	.footerlinks .alignrightfooter p.emailfooter a {
		font-size: 17px;
		line-height: 22px;
		text-decoration: underline !important;
	}

	.footerlinks .alignrightfooter p.callefooter,
	.footerlinks .alignrightfooter p.horariofooter {
		font-size: 14px;
		line-height: 22px;
	}

	.footerlinks .alignrightfooter p.callefooter {
		margin: 0 0 10px;
	}

	/* negativo: el hueco hasta los iconos lo ponen los 10px de relleno de cada imagen */
	.footerlinks .alignrightfooter p.horariofooter {
		margin: 0 0 -15px;
	}

	/* los iconos flotan: sin flow-root su contenedor mide 0 y el relleno inferior no cuenta */
	.footerlinks .alignrightfooter div {
		display: flow-root;
	}

	/* el HTML de altea_footer_links deja un <p> vacío antes de los iconos que añadía 16px de hueco */
	.footerlinks .alignrightfooter p:empty {
		display: none;
	}

	/*
	 * Crédito: style.css lo sube 75px (margin-top: -75px) y en móvil quedaba tapado por el panel blanco.
	 * En la maqueta va centrado debajo de una línea gris a todo el ancho.
	 */
	/* .footerlinks es flex: sin flex-basis el crédito solo medía lo que su texto (274px) */
	#colophon .site-info {
		flex: 0 0 calc(100% + 30px);
		max-width: none;
		float: none;
		clear: both;
		width: auto;
		margin: 0 -15px !important;
		padding: 21px 15px 32px !important;
		border-top: 1px solid #ddd;
		background: #fff;
		text-align: center;
	}
}

/* =====================================================================
 * FICHA DE PRODUCTO (maquetas 03-D-ficha-01 a 1920px y 03-R-ficha-01 a 380px)
 * body.altea-ficha lo añade functions.php. Neutraliza reglas antiguas de style.css
 * y del <style> en línea de woocommerce/single-product.php (de ahí algunos !important).
 * ===================================================================== */

body.altea-ficha #content > .mt-50 {
	margin-top: 0 !important;
}

body.altea-ficha div.product {
	margin-top: 0 !important;
}

body.altea-ficha .altea-ficha__migas-movil {
	display: none;
}

/* ---------- Galería + resumen en dos columnas ---------- */

body.altea-ficha div.product > .container {
	display: grid;
	grid-template-columns: 43.9% minmax(0, 1fr);
	column-gap: 57px;
	align-items: start;
	padding-top: 203px;
	padding-left: 15px !important;
}

body.altea-ficha div.product > .container::before,
body.altea-ficha div.product > .container::after {
	display: none;
}

body.altea-ficha div.product .woocommerce-product-gallery {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

body.altea-ficha .woocommerce-product-gallery__image img,
body.altea-ficha .woocommerce-product-gallery__image--placeholder img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

body.altea-ficha .woocommerce-product-gallery__trigger {
	top: 14px !important;
	right: 14px !important;
}

body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 127px));
	gap: 20px;
	margin: 26px 0 0 !important;
	padding: 0;
}

body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs::before,
body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs::after {
	display: none;
}

/* segunda línea: style.css fija width: 20% !important a las miniaturas en móvil (regla de galería de 5 columnas) */
body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs li,
body.altea-ficha div.product .woocommerce-product-gallery[class*="--columns-"] .flex-control-thumbs li {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	opacity: 0.65;
	cursor: pointer;
}

body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
	opacity: 1;
}

/* ---------- Resumen ---------- */

body.altea-ficha div.product .summary {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding-top: 84px;
}

body.altea-ficha .summary .storefront-breadcrumb {
	visibility: visible;
	margin: 0 0 32px !important;
	padding: 0 !important;
}

body.altea-ficha .storefront-breadcrumb .col-full {
	max-width: none;
	margin: 0;
	padding: 0 !important;
}

body.altea-ficha .woocommerce-breadcrumb {
	position: static !important;
	top: auto !important;
	margin: 0 !important;
	padding: 0;
	color: #000 !important;
	font-size: 13px;
	font-weight: 500 !important;
	line-height: 16px;
	text-transform: uppercase;
}

body.altea-ficha .woocommerce-breadcrumb,
body.altea-ficha .woocommerce-breadcrumb * {
	font-family: "Poppins", sans-serif !important;
}

body.altea-ficha .woocommerce-breadcrumb a {
	color: #000 !important;
	text-decoration: none;
}

body.altea-ficha .woocommerce-breadcrumb a::before {
	content: none !important;
}

body.altea-ficha .altea-migas__separador {
	display: inline-block;
	margin: 0 9px;
	color: #999;
}

body.altea-ficha .summary h1.product_title {
	margin: 0 !important;
	padding: 0;
	font-size: 72px;
	line-height: 80px;
}

/* precio: "Desde: 9,90€ ¡OFERTA!" */
body.altea-ficha .summary p.price {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 14px;
	margin: 4px 0 22px;
	color: #000 !important;
	font-size: 16px !important;
	font-weight: 400;
}

body.altea-ficha .summary p.price .desdesingle {
	color: #000;
	font-size: 18px;
	font-weight: 700;
}

body.altea-ficha .summary p.price .woocommerce-Price-amount,
body.altea-ficha .summary p.price .woocommerce-Price-amount * {
	color: #ff5656;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 27px;
	font-weight: 400;
}

body.altea-ficha .summary p.price del {
	opacity: 0.5;
}

body.altea-ficha .summary p.price ins {
	text-decoration: none;
}

body.altea-ficha .summary p.price .onsalesingle {
	margin: 0;
	padding: 4px 18px;
	border-radius: 14px;
	background-color: #08a3ae;
	color: #fff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 11px;
	font-weight: 600;
	line-height: 20px;
	text-transform: uppercase;
}

/* selector de variación: "Tamaño: [Mediana ˅]" */
body.altea-ficha form.variations_form table.variations {
	display: block;
	margin: 0 0 22px;
	border: 0;
}

body.altea-ficha form.variations_form table.variations tbody {
	display: block;
}

body.altea-ficha form.variations_form table.variations tr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	margin-bottom: 10px;
}

body.altea-ficha form.variations_form table.variations th,
body.altea-ficha form.variations_form table.variations td {
	display: block;
	padding: 0;
	border: 0;
	background: transparent !important;
}

body.altea-ficha form.variations_form table.variations th label {
	margin: 0;
	color: #000;
	font-size: 18px;
	font-weight: 700;
}

body.altea-ficha form.variations_form table.variations th label::after {
	content: ":";
}

body.altea-ficha form.variations_form table.variations td.value {
	display: flex;
	align-items: center;
	gap: 14px;
}

body.altea-ficha form.variations_form select,
body.altea-ficha .quantity input.qty {
	height: 40px;
	padding: 0 34px 0 14px;
	border: 1px solid #ddd;
	border-radius: 3px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	box-shadow: none;
	color: #333;
	font-family: "Playfair Display Regular";
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

body.altea-ficha form.variations_form select {
	min-width: 180px;
	max-width: 100%;
	cursor: pointer;
}

body.altea-ficha form.variations_form .reset_variations {
	color: #777;
	font-size: 13px;
}

body.altea-ficha .woocommerce-product-details__short-description,
body.altea-ficha .woocommerce-product-details__short-description p {
	margin: 0;
	color: #333;
	font-size: 24px !important;
	line-height: 44px;
}

body.altea-ficha .woocommerce-product-details__short-description {
	margin-bottom: 36px;
}

body.altea-ficha .single_variation_wrap .woocommerce-variation-price,
body.altea-ficha .single_variation_wrap .woocommerce-variation-availability {
	margin-bottom: 12px;
}

/* cantidad + botón */
body.altea-ficha div.product form.cart {
	float: none;
	margin: 0;
}

/*
 * Sin hueco horizontal en el flex: WooCommerce imprime un elemento vacío antes de la cantidad y el hueco lo desplazaba.
 * La separación con el botón va como margen de la cantidad.
 */
body.altea-ficha form.cart:not(.variations_form),
body.altea-ficha .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 0;
}

body.altea-ficha form.cart .quantity {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0 48px 0 0 !important;
	float: none;
}

/* la etiqueta para lectores de pantalla ocupaba un hueco del flex entre "Cantidad:" y la caja */
body.altea-ficha form.cart .quantity .screen-reader-text {
	position: absolute !important;
}

body.altea-ficha form.cart .quantity .cantidad {
	color: #000;
	font-size: 17px;
	font-weight: 700;
}

/* 18px: las cifras de Playfair a 16px se veían mucho más pequeñas que el "10" de la maqueta */
body.altea-ficha .quantity input.qty {
	width: 90px;
	height: 52px;
	margin: 0 !important;
	padding: 0 30px 0 22px;
	font-size: 18px;
	text-align: left;
	-moz-appearance: textfield;
}

body.altea-ficha .quantity input.qty::-webkit-outer-spin-button,
body.altea-ficha .quantity input.qty::-webkit-inner-spin-button {
	opacity: 0;
}

body.altea-ficha .single_add_to_cart_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	float: none !important;
	min-width: 270px;
	height: 52px;
	margin: 0;
	padding: 0 30px !important;
	border: 0;
	border-radius: 0;
	background-color: #ff5656 !important;
	color: #fff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
}

body.altea-ficha .single_add_to_cart_button::before {
	content: "";
	flex: 0 0 auto;
	width: 18px;
	height: 21px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 21'%3E%3Cpath d='M1.8 6.2h14.4l-.9 13.3H2.7z' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Cpath d='M5.6 8.4V5.3a3.4 3.4 0 016.8 0v3.1' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

body.altea-ficha .single_add_to_cart_button:hover {
	background-color: #ff4444 !important;
}

/* ---------- Acordeón ---------- */

body.altea-ficha .altea-acordeon {
	margin-top: 32px;
	border-top: 1px solid #e8e8e8;
}

body.altea-ficha .altea-acordeon__item {
	border-bottom: 1px solid #e8e8e8;
}

body.altea-ficha .altea-acordeon__cabecera {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: inherit;
}

body.altea-ficha .altea-acordeon__boton {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 30px 18px 30px 0 !important;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	color: #000 !important;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 24px;
	font-weight: 400;
	line-height: 28px;
	text-align: left;
	cursor: pointer;
}

body.altea-ficha .altea-acordeon__boton::after {
	content: "";
	flex: 0 0 auto;
	width: 13px;
	height: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8'%3E%3Cpath d='M1 1.2l5.5 5.5 5.5-5.5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat center / contain;
	transition: transform 0.2s;
}

body.altea-ficha .altea-acordeon__boton[aria-expanded="true"]::after {
	transform: rotate(180deg);
}

body.altea-ficha .altea-acordeon__panel {
	padding: 0 0 32px;
	color: #333;
	font-size: 15px;
	line-height: 26px;
}

body.altea-ficha .altea-acordeon__panel > h2,
body.altea-ficha .altea-acordeon__panel .woocommerce-Reviews-title {
	display: none;
}

body.altea-ficha .altea-acordeon__panel p {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 26px;
}

body.altea-ficha .altea-acordeon__panel table.shop_attributes {
	margin: 0;
	border: 0;
}

body.altea-ficha .altea-acordeon__panel table.shop_attributes th,
body.altea-ficha .altea-acordeon__panel table.shop_attributes td {
	padding: 6px 0;
	border: 0;
	background: transparent !important;
	font-size: 15px;
	font-style: normal;
	vertical-align: top;
}

body.altea-ficha .altea-acordeon__panel table.shop_attributes th {
	width: 30%;
	padding-right: 20px;
	color: #000;
	font-weight: 700;
}

body.altea-ficha .altea-acordeon__panel table.shop_attributes td p {
	margin: 0;
}

/* ---------- Valoraciones ---------- */

body.altea-ficha #reviews .commentlist {
	margin: 0 0 20px;
	padding: 0;
}

body.altea-ficha #reviews .commentlist li {
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
}

body.altea-ficha #reviews .commentlist li .comment_container .comment-text {
	position: relative;
	float: none;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	background: transparent !important;
}

body.altea-ficha #reviews .commentlist .star-rating {
	position: absolute;
	top: 2px;
	right: 0;
	float: none;
	margin: 0;
	font-size: 13px;
}

body.altea-ficha #reviews .commentlist .meta {
	margin: 0 0 10px;
	padding-right: 90px;
	font-size: 11px;
	line-height: 16px;
	opacity: 1;
}

body.altea-ficha #reviews .commentlist .woocommerce-review__author {
	display: block;
	color: #000;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 15px;
	font-weight: 400;
	line-height: 20px;
}

body.altea-ficha #reviews .commentlist .woocommerce-review__dash {
	display: none;
}

body.altea-ficha #reviews .commentlist .woocommerce-review__published-date {
	display: block;
	color: #777;
	font-family: "Poppins", sans-serif !important;
	font-size: 10px;
	text-transform: uppercase;
}

body.altea-ficha #reviews .commentlist .description p {
	margin: 0;
	font-size: 14px;
	line-height: 24px;
}

body.altea-ficha #reviews .woocommerce-noreviews {
	margin: 0 0 20px;
	padding: 0;
	background: transparent !important;
	color: #777 !important;
	font-size: 14px;
}

body.altea-ficha #review_form_wrapper #respond {
	margin: 0;
	padding: 26px 26px 30px;
	background: #f7f7f7 !important;
}

body.altea-ficha #respond .comment-reply-title {
	display: block;
	color: #000;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 18px;
	line-height: 22px;
}

/* "Cancelar la respuesta": solo tiene sentido al responder a una valoración, y aquí no se responde */
body.altea-ficha #respond .comment-reply-title small {
	display: none;
}

body.altea-ficha #respond .comment-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 14px;
}

body.altea-ficha #respond .comment-form > * {
	grid-column: 1 / -1;
}

body.altea-ficha #respond .comment-form > .comment-form-author,
body.altea-ficha #respond .comment-form > .comment-form-email {
	grid-column: auto;
}

body.altea-ficha #respond .altea-valoracion__nota {
	margin: 2px 0 0;
	padding: 0 0 16px;
	border-bottom: 1px solid #e6e6e6;
	color: #333;
	font-size: 11px;
	line-height: 16px;
}

body.altea-ficha #respond .comment-form-rating {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 20px;
}

body.altea-ficha #respond .comment-form-rating label {
	margin: 0;
	color: #000;
	font-size: 14px;
	font-weight: 700;
}

body.altea-ficha #respond p.stars {
	margin: 0;
}

body.altea-ficha #respond p.stars a {
	color: #c9c9c9;
}

body.altea-ficha #respond p.stars:hover a::before,
body.altea-ficha #respond p.stars.selected a.active::before,
body.altea-ficha #respond p.stars.selected a:not(.active)::before {
	color: #eaae4e;
}

body.altea-ficha #respond p.stars.selected a.active ~ a::before {
	color: #c9c9c9;
}

body.altea-ficha #respond .comment-form-comment,
body.altea-ficha #respond .comment-form-author,
body.altea-ficha #respond .comment-form-email {
	position: relative;
	margin: 0 0 14px;
}

body.altea-ficha #respond .comment-form-comment label,
body.altea-ficha #respond .comment-form-author label,
body.altea-ficha #respond .comment-form-email label {
	position: absolute;
	top: 9px;
	left: 13px;
	margin: 0;
	color: #08a3ae;
	font-family: "Poppins", sans-serif !important;
	font-size: 9px;
	font-weight: 600;
	line-height: 12px;
	text-transform: uppercase;
}

body.altea-ficha #respond .comment-form-comment label *,
body.altea-ficha #respond .comment-form-author label *,
body.altea-ficha #respond .comment-form-email label * {
	font-family: inherit !important;
}

body.altea-ficha #respond textarea,
body.altea-ficha #respond input[type="text"],
body.altea-ficha #respond input[type="email"] {
	width: 100%;
	margin: 0;
	padding: 25px 13px 10px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #333;
	font-family: "Playfair Display Regular";
	font-size: 14px;
	line-height: 22px;
}

body.altea-ficha #respond textarea {
	height: 122px;
	resize: vertical;
}

body.altea-ficha #respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 20px;
	color: #333;
	font-size: 11px;
	line-height: 16px;
}

body.altea-ficha #respond .comment-form-cookies-consent input {
	margin: 2px 0 0;
	accent-color: #08a3ae;
}

body.altea-ficha #respond .comment-form-cookies-consent label {
	margin: 0;
	font-size: 11px;
}

body.altea-ficha #respond .form-submit {
	margin: 0;
}

body.altea-ficha #respond .form-submit input#submit {
	height: 40px;
	margin: 0;
	padding: 0 30px !important;
	border: 0;
	border-radius: 0;
	background-color: #ff5656 !important;
	color: #fff;
	font-family: "Poppins", sans-serif !important;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
}

/* ---------- Otros productos que te pueden interesar ---------- */

body.altea-ficha section.related {
	clear: both;
	margin: 0;
	padding: 69px 0 0;
	overflow-x: hidden;
	background-position: 0 0;
}

/* > .container > h2: sin el hijo directo, estas reglas también afectaban al nombre y la descripción de cada tarjeta */
body.altea-ficha section.related > .container > h2 {
	margin: 0;
	padding: 0;
	font-size: 48px;
	line-height: 48px;
	text-align: left;
}

body.altea-ficha section.related > .container > h2 + p {
	margin: 14px 0 0;
	color: #222;
	font-size: 24px;
	line-height: 32px;
}

body.altea-ficha section.related ul.products {
	margin: 78px 0 0 !important;
}

body.altea-ficha section.related ul.products .owl-stage-outer {
	margin-right: calc(50% - 50vw);
}

body.altea-ficha section.related ul.products li.product {
	float: none;
	width: 382px !important;
	margin: 0 !important;
	text-align: left;
}

body.altea-ficha section.related ul.products li.product .altea-item-image-container {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

body.altea-ficha section.related ul.products li.product .altea-item-image-container img {
	width: 100%;
	height: 305px;
	margin: 0 !important;
	object-fit: cover;
}

body.altea-ficha section.related ul.products li.product .altea-item-image-container::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 40%, rgba(0, 0, 0, 0.7) 100%);
	pointer-events: none;
}

body.altea-ficha section.related ul.products li.product .precioabsolute,
body.altea-ficha section.related ul.products li.product .onsale {
	z-index: 2;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.altea-ficha section.related ul.products li.product .precioabsolute {
	bottom: 14px;
	right: 16px;
	font-size: 26px;
	line-height: 28px;
	text-align: right;
}

/* sin .precioabsolute en la lista: con "inherit" perdía sus 26px y el precio salía a 14px */
body.altea-ficha section.related ul.products li.product .precioabsolute .amount,
body.altea-ficha section.related ul.products li.product .precioabsolute .amount * {
	color: #fff;
	font-family: "NoeDisplay-Bold" !important;
	font-size: inherit;
	font-weight: 400;
}

body.altea-ficha section.related ul.products li.product-type-variable .precioabsolute::before {
	content: "Desde";
	display: block;
	font-family: "Playfair Display Regular";
	font-size: 16px;
	line-height: 18px;
}

body.altea-ficha section.related ul.products li.product .onsale {
	left: 16px;
	bottom: 16px;
	padding: 3px 14px;
	border-radius: 14px;
	background-color: #08a3ae;
	font-size: 12px;
	text-transform: uppercase;
}

body.altea-ficha section.related ul.products li.product .woocommerce-loop-product__title {
	display: -webkit-box;
	margin: 20px 0 6px !important;
	padding: 0;
	overflow: hidden;
	font-size: 32px;
	line-height: 38px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

body.altea-ficha section.related ul.products li.product .woocommerce-LoopProduct-link p ~ p,
body.altea-ficha section.related ul.products li.product .button {
	display: none;
}

body.altea-ficha section.related ul.products li.product .woocommerce-LoopProduct-link p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #333;
	font-size: 17px;
	line-height: 28px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* el bloque de regalo va justo después; la línea discontinua queda 110px por debajo de las tarjetas */
body.altea-ficha .altea-regalo-medida {
	padding-top: 408px;
	background-position: calc(50% + 42px) 110px;
}

/* ---------- Tablet: una columna ---------- */

@media (max-width: 900px) {

	body.altea-ficha div.product > .container {
		display: block;
		padding-top: 40px;
	}

	body.altea-ficha div.product .summary {
		padding-top: 30px;
	}
}

/* ---------- Móvil ---------- */

@media (max-width: 600px) {

	body.altea-ficha div.product > .container {
		padding: 0 12px !important;
	}

	/* margin-top: la cabecera de móvil flota encima (74px en la maqueta) y tapaba la miga de pan */
	body.altea-ficha .altea-ficha__migas-movil {
		display: block;
		margin-top: 38px;
		padding: 19px 6px 16px;
		border-bottom: 2px dashed rgba(0, 0, 0, 0.06);
	}

	body.altea-ficha .altea-ficha__migas-movil .storefront-breadcrumb {
		visibility: visible;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* display: style.css oculta .woocommerce-breadcrumb en móvil */
	body.altea-ficha .altea-ficha__migas-movil .woocommerce-breadcrumb {
		display: block !important;
		font-size: 13px;
		font-weight: 400 !important;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	body.altea-ficha .summary .storefront-breadcrumb {
		display: none;
	}

	body.altea-ficha div.product .woocommerce-product-gallery .flex-control-thumbs {
		grid-template-columns: repeat(4, 64px);
		gap: 10px;
		margin-top: 0 !important;
	}

	/* Storefront deja 26px bajo la foto (flex-viewport); en la maqueta móvil hay 14px hasta las miniaturas */
	body.altea-ficha div.product .woocommerce-product-gallery .flex-viewport {
		margin-bottom: 13px;
	}

	/* el formulario de variaciones traía 16px de relleno arriba y la celda del selector 16px de margen abajo */
	/* !important: reglas de Storefront con más especificidad */
	body.altea-ficha form.variations_form {
		padding-top: 0 !important;
	}

	body.altea-ficha form.variations_form table.variations td {
		margin-bottom: 0 !important;
	}

	/* separador de la miga de pan: chevron gris más grande, como en la maqueta */
	body.altea-ficha .altea-ficha__migas-movil .altea-migas__separador {
		margin: 0 8px;
		font-size: 18px;
		line-height: 13px;
		vertical-align: -1px;
	}

	body.altea-ficha div.product .summary {
		padding-top: 26px;
	}

	body.altea-ficha .summary h1.product_title {
		font-size: 28px;
		line-height: 32px;
	}

	body.altea-ficha .summary p.price {
		margin: 4px 0 12px;
		line-height: 28px;
	}

	body.altea-ficha .summary p.price .desdesingle {
		font-size: 18px;
	}

	body.altea-ficha .summary p.price .woocommerce-Price-amount,
	body.altea-ficha .summary p.price .woocommerce-Price-amount * {
		font-size: 25px;
		line-height: 28px;
	}

	body.altea-ficha .summary p.price .onsalesingle {
		padding: 3px 22px;
		font-size: 12px;
	}

	body.altea-ficha form.variations_form table.variations {
		margin-bottom: 16px;
	}

	body.altea-ficha form.variations_form table.variations tr {
		margin-bottom: 0;
	}

	body.altea-ficha form.variations_form table.variations tr + tr {
		margin-top: 10px;
	}

	body.altea-ficha form.variations_form table.variations th label {
		font-size: 18px;
	}

	body.altea-ficha .woocommerce-product-details__short-description,
	body.altea-ficha .woocommerce-product-details__short-description p {
		font-size: 16px !important;
		line-height: 24px;
	}

	body.altea-ficha .woocommerce-product-details__short-description {
		margin-bottom: 6px;
	}

	body.altea-ficha form.cart:not(.variations_form),
	body.altea-ficha .woocommerce-variation-add-to-cart {
		flex-wrap: nowrap;
		gap: 0;
	}

	body.altea-ficha form.cart .quantity {
		margin-right: 12px !important;
	}

	body.altea-ficha form.cart .quantity .cantidad {
		display: none;
	}

	/* caja de cantidad de 97px: el botón empieza en x=121 como en la maqueta */
	body.altea-ficha .quantity input.qty {
		width: 97px;
		padding: 0 30px 0 30px;
		font-size: 20px;
		background-position: right 16px center;
	}

	body.altea-ficha .single_add_to_cart_button {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0 12px !important;
		font-size: 17px;
	}

	/* líneas discontinuas y 28px entre el botón y la primera línea, como en la maqueta */
	body.altea-ficha .altea-acordeon {
		margin: 12px -12px 0;
		border-top: 1px dashed #d9d9d9;
	}

	body.altea-ficha .altea-acordeon__item {
		border-bottom: 1px dashed #d9d9d9;
	}

	body.altea-ficha .altea-acordeon__boton {
		padding: 15px 20px 14px 16px !important;
		font-size: 18px;
		line-height: 19px;
	}

	body.altea-ficha .altea-acordeon__panel {
		padding: 0 12px 20px;
	}

	body.altea-ficha #review_form_wrapper #respond {
		padding: 20px 16px 24px;
	}

	body.altea-ficha #respond .comment-form {
		display: block;
	}

	/* relacionados: desplazamiento horizontal con el dedo, como los destacados de la portada */
	body.altea-ficha section.related {
		padding-top: 35px;
		background-image: none;
	}

	body.altea-ficha section.related > .container > h2 {
		font-size: 28px;
		line-height: 27px;
		text-align: center !important;
	}

	body.altea-ficha section.related > .container > h2 + p {
		max-width: 250px;
		margin: 8px auto 0;
		font-size: 16px;
		line-height: 20px;
		text-align: center;
	}

	body.altea-ficha section.related ul.products {
		display: flex;
		flex-wrap: nowrap;
		gap: 14px;
		margin: 31px -15px 0 !important;
		padding: 0 15px 6px !important;
		overflow-x: auto;
		/* sin scroll-padding, el enganche alineaba la primera tarjeta con el borde de la pantalla (x=0 en vez de 15) */
		scroll-padding-left: 15px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.altea-ficha section.related ul.products::-webkit-scrollbar {
		display: none;
	}

	body.altea-ficha section.related ul.products::before,
	body.altea-ficha section.related ul.products::after {
		display: none;
	}

	body.altea-ficha section.related ul.products li.product {
		flex: 0 0 208px;
		width: 208px !important;
		scroll-snap-align: start;
	}

	body.altea-ficha section.related ul.products li.product .altea-item-image-container img {
		height: 167px;
	}

	body.altea-ficha section.related ul.products li.product .precioabsolute {
		bottom: 8px;
		right: 10px;
		font-size: 22px;
		line-height: 24px;
	}

	body.altea-ficha section.related ul.products li.product-type-variable .precioabsolute::before {
		font-size: 13px;
		line-height: 14px;
	}

	body.altea-ficha section.related ul.products li.product .onsale {
		left: 8px;
		bottom: 10px;
		padding: 2px 12px;
		font-size: 11px;
	}

	body.altea-ficha section.related ul.products li.product .woocommerce-loop-product__title {
		margin: 10px 0 2px !important;
		font-size: 15px;
		line-height: 19px;
	}

	body.altea-ficha section.related ul.products li.product .woocommerce-LoopProduct-link p {
		font-size: 12px;
		line-height: 15px;
		-webkit-line-clamp: 3;
	}

	body.altea-ficha .altea-regalo-medida {
		padding-top: 199px;
		background-position: center 30px;
	}
}

/* =====================================================================
 * CESTA (maqueta 04-D-cesta-01 a 1920px; sin maqueta de móvil)
 * Marcado en woocommerce/cart/cart.php y cart-totals.php. body.woocommerce-cart lo pone WooCommerce.
 * ===================================================================== */

body.woocommerce-cart .storefront-breadcrumb,
body.woocommerce-cart .woocommerce-breadcrumb {
	display: none !important;
}

body.woocommerce-cart #primary,
body.woocommerce-cart .site-main,
body.woocommerce-cart .hentry,
body.woocommerce-cart .entry-content {
	margin-bottom: 0;
}

/*
 * Cabecera de la cesta: en la maqueta mide 136px con línea discontinua debajo, y el logo y el teléfono de ayuda
 * van de x=327 a x=1620 (sin menú). Aquí la cabecera flotaba (1px de alto) y el contenido subía debajo.
 */
body.woocommerce-cart #masthead {
	height: 136px;
	border-bottom: 1px dashed #dcdcdc;
}

body.woocommerce-cart .iconotelefonistaheader {
	margin: 15px 0 0 12px;
}

body.woocommerce-cart .iconotelefonistaheader img {
	width: 54px;
	height: auto;
}

body.woocommerce-cart .telefonistaheader {
	margin-top: 18px;
	color: #000;
	line-height: 26px;
	text-align: right;
}

body.woocommerce-cart .telefonistaheader .necesitasayuda {
	font-size: 18px;
	font-weight: 700;
}

body.woocommerce-cart .telefonistaheader .minitelefonoheader {
	display: inline-block;
	color: #08a3ae;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 29px;
	line-height: 32px;
}

@media (min-width: 1400px) {

	body.woocommerce-cart #masthead .menusub.container {
		max-width: 1341px;
		/* +15px: la clase .row de Bootstrap desplaza la fila 15px a la izquierda */
		left: calc(50% + 34.5px);
		transform: translateX(-50%);
	}
}

/* 28px + los 35px de margen del contenedor de avisos (style.css): "MI CESTA" en y=200 como en la maqueta */
.altea-cesta {
	max-width: 1280px;
	margin: 0 auto;
	padding: 32px 0 66px;
}

.altea-cesta .woocommerce-cart-form {
	margin-bottom: 0;
}

/* en la maqueta el contenido va de x=334 a x=1613 (14px a la derecha del centro) */
@media (min-width: 1311px) {

	.altea-cesta {
		margin-left: calc(50% - 626px);
	}
}

.altea-cesta,
.altea-cesta p,
.altea-cesta span,
.altea-cesta label,
.altea-cesta input,
.altea-cesta a {
	font-family: "Playfair Display Regular";
}

/* "MI CESTA" / "PRECIO" */
.altea-cesta__cabecera {
	display: flex;
	justify-content: space-between;
	padding: 0 0 19px;
	border-bottom: 1px dashed #dcdcdc;
}

.altea-cesta__cabecera span {
	color: #000;
	font-family: "Poppins", sans-serif !important;
	font-size: 13px;
	font-weight: 500;
	line-height: 16px;
	text-transform: uppercase;
}

/* ---------- Filas ---------- */

.altea-cesta__fila {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr) auto;
	column-gap: 33px;
	align-items: start;
	padding: 29px 0 26px;
	border-bottom: 1px dashed #dcdcdc;
}

.altea-cesta__foto img {
	display: block;
	width: 128px !important;
	max-width: none !important;
	height: 128px;
	margin: 0 !important;
	float: none !important;
	object-fit: cover;
}

.altea-cesta__nombre {
	margin: 12px 0 16px;
	color: #000;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 32px;
	line-height: 40px;
}

.altea-cesta__nombre a,
.altea-cesta__nombre a:hover {
	color: #000;
	font-family: inherit !important;
	text-decoration: none;
}

.altea-cesta__nombre dl.variation {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 20px;
}

.altea-cesta__nombre dl.variation dt,
.altea-cesta__nombre dl.variation dd,
.altea-cesta__nombre dl.variation p {
	display: inline;
	margin: 0;
	font-family: "Playfair Display Regular" !important;
	font-size: 14px;
	font-weight: 400;
}

.altea-cesta__nombre dl.variation dd::after {
	content: "\A";
	white-space: pre;
}

.altea-cesta__cantidad {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin-left: 4px;
}

.altea-cesta__cantidad .quantity {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 !important;
	float: none !important;
	text-align: left;
}

.altea-cesta__cantidad .cantidad,
.altea-cesta__cantidad > .cantidad {
	margin: 0;
	color: #000;
	font-size: 19px;
	font-weight: 700;
}

.altea-cesta__cantidad .quantity .screen-reader-text {
	position: absolute !important;
}

.altea-cesta__cantidad input.qty {
	width: 80px;
	height: 38px;
	margin: 0 !important;
	padding: 0 30px 0 17px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center;
	box-shadow: none;
	color: #333;
	font-size: 15px;
	text-align: left;
	-moz-appearance: textfield;
}

.altea-cesta__cantidad input.qty::-webkit-outer-spin-button,
.altea-cesta__cantidad input.qty::-webkit-inner-spin-button {
	opacity: 0;
}

.altea-cesta .product-remove a.altea-cesta__eliminar {
	margin: 0;
	padding-bottom: 1px;
	border-bottom: 1px solid #999;
	color: #777;
	font-family: "Poppins", sans-serif !important;
	font-size: 12px;
	letter-spacing: 0.3px;
	line-height: 16px;
	text-decoration: none !important;
	text-transform: uppercase;
}

.altea-cesta .product-remove a.altea-cesta__eliminar:hover {
	border-color: #ff5656;
	color: #ff5656;
}

/* precio alineado con la fila de cantidad */
.altea-cesta__precio {
	padding-top: 68px;
	text-align: right;
}

.altea-cesta__importe {
	display: block;
	line-height: 38px;
}

.altea-cesta__importe .amount,
.altea-cesta__importe .amount * {
	color: #ff5656;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 28px;
	font-weight: 400;
}

.altea-cesta__importe .woocommerce-Price-currencySymbol,
.altea-total__importe .woocommerce-Price-currencySymbol {
	font-family: "Playfair Display Regular" !important;
	font-size: 0.55em !important;
}

.altea-cesta__unidad,
.altea-cesta__unidad * {
	display: block;
	margin-top: -6px;
	color: #777;
	font-family: "Poppins", sans-serif !important;
	font-size: 12px;
	line-height: 16px;
	text-transform: uppercase;
}

.altea-cesta__unidad * {
	display: inline;
	margin: 0;
}

/* ---------- Cupón + total ---------- */

.altea-cesta__resumen {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 172px;
	column-gap: 2px;
	margin-top: 21px;
}

.altea-cesta__cupon {
	padding: 24px 26px 25px;
	background: #f7f7f7;
}

.altea-cesta__cupon .coupon {
	margin: 0;
}

.altea-cesta label.altea-cesta__cupon-titulo {
	display: block;
	margin: 0 0 12px;
	color: #000;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 20px;
	line-height: 24px;
}

.altea-cesta__cupon-campo {
	display: flex;
	margin-left: 6px;
}

.altea-cesta__cupon-campo input#coupon_code {
	width: 247px;
	height: 41px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #ddd;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #333;
	font-size: 16px;
}

.altea-cesta__cupon-campo input#coupon_code::placeholder {
	color: #888;
	opacity: 1;
}

.altea-cesta__cupon-campo button[name="apply_coupon"] {
	width: 128px;
	height: 41px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: #a8a8a8 !important;
	color: #fff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
}

.altea-cesta__cupon-campo button[name="apply_coupon"]:hover {
	background: #8f8f8f !important;
}

/* oculto a la vista pero pulsable desde scripts/main.js */
.altea-cesta button.altea-cesta__actualizar {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* el div.cart_totals (lo sustituye cart.js por AJAX) no crea caja: sus hijos van a la rejilla del resumen */
.altea-cesta .cart_totals {
	display: contents;
	float: none;
	width: auto;
}

.altea-total {
	padding: 24px 12px 18px;
	background: #e9e9e9;
	text-align: center;
}

.altea-total p {
	margin: 0;
	text-align: center;
}

.altea-total__titulo {
	color: #000;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 19px;
	line-height: 22px;
}

.altea-total__importe {
	margin-top: 4px !important;
	line-height: 42px;
}

.altea-total__importe strong,
.altea-total__importe .amount,
.altea-total__importe .amount * {
	color: #ff5656;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 38px;
	font-weight: 400;
}

.altea-total__importe small {
	display: block;
	color: #777;
	font-size: 11px;
	line-height: 14px;
}

.altea-total__envio,
.altea-total__linea,
.altea-total__envios label {
	color: #777;
	font-family: "Poppins", sans-serif !important;
	font-size: 12px;
	line-height: 16px;
	text-transform: uppercase;
}

.altea-total__envio *,
.altea-total__linea *,
.altea-total__envios label * {
	font-family: inherit !important;
	font-size: inherit !important;
	color: inherit;
}

.altea-total__linea a {
	color: #ff5656;
	text-transform: none;
}

.altea-total__envios {
	margin: 4px 0 0 !important;
	padding: 0;
	text-align: left;
}

.altea-total__envios li {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 3px 0 0;
	list-style: none;
}

.altea-total__envios input {
	margin: 0;
	accent-color: #ff5656;
}

.altea-total__envios label {
	margin: 0;
	text-transform: none;
}

.altea-cesta .wc-proceed-to-checkout {
	grid-column: 1 / -1;
	justify-self: end;
	margin: 41px 0 0;
	padding: 0;
}

.altea-cesta .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 292px;
	height: 59px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background-color: #ff5656 !important;
	color: #fff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 17px !important;
	font-weight: 600;
	text-transform: uppercase;
}

.altea-cesta .wc-proceed-to-checkout a.checkout-button::after {
	content: "";
	width: 40px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpath d='M0 8h37M30 1.5L37.5 8 30 14.5' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat center / contain;
}

.altea-cesta .wc-proceed-to-checkout a.checkout-button:hover {
	background-color: #ff4444 !important;
}

/* ---------- Cesta vacía ---------- */

.altea-cesta--vacia {
	padding: 90px 15px 110px;
	text-align: center;
}

.altea-cesta--vacia .cart-empty {
	margin: 0 0 30px;
	padding: 0 !important;
	background: transparent !important;
	color: #000 !important;
	font-family: "NoeDisplay-Bold" !important;
	font-size: 32px;
	line-height: 40px;
	text-align: center;
}

.altea-cesta--vacia .cart-empty::before {
	display: none;
}

.altea-cesta--vacia .return-to-shop {
	text-align: center;
}

.altea-cesta--vacia .return-to-shop a.button {
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 34px;
	border-radius: 0;
	background: #ff5656 !important;
	color: #fff !important;
	font-family: "Poppins", sans-serif !important;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
}

/* ---------- Pie de la cesta: solo la banda con el crédito ---------- */

body.woocommerce-cart #colophon {
	padding: 0;
	background: #f7f7f7;
	background-image: none;
}

body.woocommerce-cart #colophon .footerlinks > div:not(.site-info) {
	display: none !important;
}

body.woocommerce-cart #colophon .site-info {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
	margin: 0 !important;
	padding: 56px 15px 56px !important;
	border: 0;
	background: transparent;
	text-align: center;
}

body.woocommerce-cart #colophon .site-info,
body.woocommerce-cart #colophon .site-info a {
	color: #333;
	font-size: 18px;
	line-height: 26px;
}

/* ---------- Tablet y móvil ---------- */

@media (max-width: 1310px) {

	.altea-cesta {
		padding-left: 15px;
		padding-right: 15px;
	}
}

@media (max-width: 767px) {

	.altea-cesta {
		padding-top: 30px;
		padding-bottom: 40px;
	}

	.altea-cesta__fila {
		grid-template-columns: 90px minmax(0, 1fr);
		column-gap: 16px;
		padding: 20px 0;
	}

	.altea-cesta__foto img {
		width: 90px !important;
		height: 90px;
	}

	.altea-cesta__nombre {
		margin: 0 0 10px;
		font-size: 21px;
		line-height: 25px;
	}

	.altea-cesta__cantidad {
		gap: 10px 14px;
		margin-left: 0;
	}

	.altea-cesta__cantidad .quantity {
		gap: 12px;
	}

	.altea-cesta__cantidad .cantidad {
		font-size: 16px;
	}

	.altea-cesta__cantidad input.qty {
		width: 72px;
	}

	.altea-cesta__precio {
		grid-column: 2;
		padding-top: 10px;
		text-align: left;
	}

	.altea-cesta__importe {
		line-height: 30px;
	}

	.altea-cesta__importe .amount,
	.altea-cesta__importe .amount * {
		font-size: 24px;
	}

	.altea-cesta__unidad {
		margin-top: 0;
	}

	.altea-cesta__resumen {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 2px;
	}

	.altea-cesta__cupon {
		padding: 20px 16px;
	}

	.altea-cesta label.altea-cesta__cupon-titulo {
		font-size: 18px;
	}

	.altea-cesta__cupon-campo {
		margin-left: 0;
	}

	.altea-cesta__cupon-campo input#coupon_code {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.altea-cesta__cupon-campo button[name="apply_coupon"] {
		flex: 0 0 104px;
		width: 104px;
	}

	.altea-total {
		padding: 18px 16px;
	}

	.altea-total__envios {
		display: inline-block;
	}

	.altea-cesta .wc-proceed-to-checkout {
		justify-self: stretch;
		margin-top: 24px;
	}

	.altea-cesta .wc-proceed-to-checkout a.checkout-button {
		width: 100%;
	}

	body.woocommerce-cart #colophon .site-info {
		padding: 30px 15px !important;
	}

	body.woocommerce-cart #colophon .site-info,
	body.woocommerce-cart #colophon .site-info a {
		font-size: 15px;
	}

	/* cabecera compacta: el bloque de ayuda se montaba sobre la cesta */
	body.woocommerce-cart #masthead {
		height: 78px;
	}

	/* la columna derecha deja 145px útiles: icono (34 + 6) y texto (~99) tienen que caber en una fila */
	body.woocommerce-cart .iconotelefonistaheader {
		margin: 6px 0 0 6px;
	}

	body.woocommerce-cart .iconotelefonistaheader img {
		width: 34px;
	}

	body.woocommerce-cart .telefonistaheader {
		margin-top: 8px;
		line-height: 16px;
	}

	body.woocommerce-cart .telefonistaheader .necesitasayuda {
		font-size: 12px;
	}

	body.woocommerce-cart .telefonistaheader .minitelefonoheader {
		font-size: 19px;
		line-height: 22px;
	}

	/* el precio va debajo del nombre: sobra el título de la columna */
	.altea-cesta__cabecera span:last-child {
		display: none;
	}
}
