/* ==========================================================================
   MundoTarros · estilos de marca
   1. Tipografías (alojadas en el tema)
   2. Variables de marca (cambian los colores de TODO el tema)
   3. Home A
   4. Tarjetas de producto de WooCommerce
   ========================================================================== */

/* ---------- 1. Tipografías ----------
   Fraunces (títulos) e Inter (texto), licencia libre SIL OFL 1.1 (ver assets/fonts/OFL-*.txt).
   Alojadas en el propio tema (sin conectar con Google: cumple el RGPD) y recortadas a los
   caracteres del español para que pesen poco. */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- 2. Variables de marca ---------- */
:root {
	--mt-bg: #FBF6EE;          /* crema */
	--mt-surface: #F3EADC;     /* crema oscuro (franjas) */
	--mt-card: #FFFFFF;
	--mt-text: #2B2622;        /* casi negro cálido */
	--mt-muted: #6B6257;
	--mt-border: #E6DACA;
	--mt-primary: #B4532A;     /* terracota (botones) */
	--mt-primary-text: #FFFFFF;
	--mt-accent: #B4532A;
	--mt-dark: #2B2622;
	--mt-star: #C98A1B;

	--mt-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mt-font-heading: "Fraunces", Georgia, serif;
	--mt-radius: 20px;
}

h1, h2, h3, .mt-logo-text { font-weight: 600; letter-spacing: -0.01em; }
.mt-logo img { height: 44px; width: auto; }
.mt-footer .mt-logo img { height: 40px; }
@media (max-width: 600px) { .mt-logo img { height: 34px; } }
.mt-announcement { background: var(--mt-dark); color: var(--mt-bg); }
.mt-footer { background: var(--mt-dark); color: var(--mt-border); }
.mt-footer a { color: var(--mt-bg); }
.mt-footer__bottom { border-color: #4A3F36; color: var(--mt-border); }
.mt-footer__trust { border-color: #4A3F36; color: var(--mt-bg); }

/* Botón claro (sobre fondo oscuro) */
.mt-btn--light { background: var(--mt-bg); color: var(--mt-text); }
.mt-btn--light:hover { color: var(--mt-text); }
.mt-btn--ghost { box-shadow: inset 0 0 0 1.5px var(--mt-text); }

/* ---------- 3. Home A ---------- */
.mt-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mt-accent); }
.mt-eyebrow--light { color: #E8A27D; }
.mt-img-placeholder { display: block; background: var(--mt-border); border-radius: var(--mt-radius); min-height: 120px; }

.mt-section { padding-top: clamp(56px, 8vw, 88px); }
.mt-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.mt-section__title { font-size: clamp(30px, 4vw, 40px); margin: 8px 0 0; }
.mt-section__link { font-weight: 600; }

/* Franja de confianza */
.mt-trust { background: var(--mt-surface); }
.mt-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-block: 28px; }
.mt-trust__item { display: flex; gap: 14px; align-items: center; }
.mt-trust__icon { color: var(--mt-accent); flex: none; }
.mt-trust__item strong { display: block; font-size: 15px; }
.mt-trust__item span { color: var(--mt-muted); font-size: 14px; }

/* Hero */
/* Portada: la foto, pegada a la derecha y fundida con el fondo crema; el texto, a la izquierda sobre el crema.
   La altura se calcula para que el texto nunca pise los productos de la foto (empiezan a un 33 % de su ancho). */
.mt-hero { position: relative; display: flex; align-items: center; height: clamp(440px, calc(32vw + 46px), 620px); overflow: hidden; background: #FAEBD7; }
.mt-hero__bg { position: absolute; top: 0; right: 0; width: auto; max-width: none; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%); }
.mt-hero__inner { position: relative; z-index: 2; }
.mt-hero__text { max-width: 440px; display: flex; flex-direction: column; gap: 20px; }
.mt-hero__title { font-size: clamp(38px, 4vw, 56px); line-height: 1.04; margin: 0; }
.mt-hero__lead { margin: 0; font-size: 18px; line-height: 1.55; color: #4A423B; }
.mt-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.mt-hero__ctas .mt-btn--ghost { background: rgba(251, 246, 238, .7); }
/* Tablet: foto entera arriba y el texto debajo. */
@media (min-width: 701px) and (max-width: 1100px) {
	.mt-hero { display: block; height: auto; }
	.mt-hero__bg { position: static; display: block; width: 100%; height: auto; -webkit-mask-image: none; mask-image: none; }
	.mt-hero__inner { padding-block: 32px 40px; }
	.mt-hero__text { max-width: 620px; }
}

/* Categorías */
.mt-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .mt-cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .mt-cat-grid { grid-template-columns: 1fr; } }
.mt-cat-card { display: flex; align-items: center; gap: 16px; padding: 12px; background: var(--mt-card); border-radius: var(--mt-radius); text-decoration: none; transition: box-shadow .2s; }
.mt-cat-card:hover { box-shadow: 0 6px 24px rgba(43, 38, 34, .08); color: inherit; }
.mt-cat-card__img { width: 96px; height: 96px; flex: none; object-fit: cover; border-radius: 14px; border: 1px solid #EFE5D6; min-height: 0; }
.mt-cat-card__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mt-cat-card__name { font-family: var(--mt-font-heading); font-size: 19px; line-height: 1.2; }
.mt-cat-card__sub { color: var(--mt-muted); font-size: 13px; line-height: 1.4; }
.mt-cat-card__more { color: var(--mt-accent); font-size: 13px; font-weight: 600; }

/* Usos */
.mt-use-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.mt-use-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.mt-use-card__img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; background: var(--mt-card); margin-bottom: 6px; }
.mt-use-card__title { font-family: var(--mt-font-heading); font-size: 19px; }
.mt-use-card__text { color: var(--mt-muted); font-size: 14px; }

/* Ebook */
.mt-ebook { display: flex; flex-wrap: wrap; overflow: hidden; border-radius: 28px; background: var(--mt-dark); color: var(--mt-bg); }
.mt-ebook__text { flex: 1 1 420px; padding: clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.mt-ebook__list { margin: 0; padding-left: 20px; font-size: 17px; line-height: 1.9; color: var(--mt-border); }
.mt-ebook__text .mt-btn { align-self: flex-start; }
.mt-ebook__media { flex: 1 1 420px; min-height: 340px; background: var(--mt-card); display: flex; align-items: center; justify-content: center; padding: 24px; }
.mt-ebook__img { width: 100%; max-width: 420px; height: auto; }

/* Guía de tamaños */
.mt-sizes { background: var(--mt-surface); padding-block: clamp(56px, 8vw, 80px); margin-top: clamp(56px, 8vw, 88px); }
.mt-size-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mt-size-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: var(--mt-card); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.mt-size-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(43, 38, 34, .08); }
.mt-size-card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 10px; }
.mt-size-card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 18px; border-top: 1px solid var(--mt-border); }
.mt-size-card__cap { font-family: var(--mt-font-heading); font-size: 21px; line-height: 1.15; }
.mt-size-card__text { color: var(--mt-muted); font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) { .mt-size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .mt-size-card__cap { font-size: 18px; } .mt-size-card__body { padding: 12px 14px 14px; } .mt-size-card__text { font-size: 13px; } }

/* Opiniones */
.mt-review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.mt-review { margin: 0; padding: 28px; border-radius: var(--mt-radius); background: var(--mt-card); display: flex; flex-direction: column; gap: 16px; }
.mt-review__stars { color: var(--mt-star); letter-spacing: 2px; }
.mt-review__text { margin: 0; font-size: 17px; line-height: 1.55; }
.mt-review__by { font-size: 14px; color: var(--mt-muted); }
.mt-review__by strong { color: var(--mt-text); }

/* Blog */
.mt-blog-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; }
.mt-blog-card__img { width: 100%; height: 200px; object-fit: cover; border-radius: 18px; }
.mt-blog-card__title { font-family: var(--mt-font-heading); font-size: 21px; line-height: 1.25; }

/* Newsletter */
.mt-newsletter { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding: clamp(32px, 5vw, 48px); border-radius: 28px; background: #E9C9B2; }
.mt-newsletter__text, .mt-newsletter__form { flex: 1 1 360px; }

/* ---------- 4. Tarjetas de producto (WooCommerce) ---------- */
.woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, ul.products li.product { width: auto; float: none; margin: 0; padding: 14px; background: var(--mt-card); border-radius: var(--mt-radius); display: flex; flex-direction: column; gap: 8px; }
ul.products li.product img { border-radius: 16px; aspect-ratio: 1 / 1; object-fit: contain; background: var(--mt-card); margin: 0 0 4px; }
ul.products li.product .woocommerce-loop-product__title { font-family: var(--mt-font-body); font-size: 16px; font-weight: 600; line-height: 1.35; padding: 0; margin: 0; }
ul.products li.product .price { color: var(--mt-text); font-size: 20px; font-weight: 700; margin: 0; }
ul.products li.product .price del { color: var(--mt-muted); font-size: 14px; font-weight: 400; }
ul.products li.product .price ins { text-decoration: none; }
ul.products li.product .onsale { position: absolute; top: 24px; left: 24px; margin: 0; min-height: 0; min-width: 0; padding: 4px 10px; line-height: 1.4; border-radius: 999px; background: var(--mt-primary); color: #fff; font-size: 12px; font-weight: 700; }
ul.products li.product { position: relative; }
ul.products li.product .button { margin-top: auto; width: 100%; background: var(--mt-dark); color: var(--mt-bg); }
ul.products li.product .star-rating { color: var(--mt-star); }

/* Prioridad frente a los estilos globales de Elementor (enlaces subrayados, botones cuadrados). */
body.mt-theme ul.products li.product a { text-decoration: none; }
body.mt-theme ul.products li.product a:hover .woocommerce-loop-product__title { color: var(--mt-accent); }
body.mt-theme ul.products li.product .button {
	display: flex; align-items: center; justify-content: center;
	min-height: 46px; padding: 0 20px; border: 0; border-radius: var(--mt-radius-pill);
	background: var(--mt-dark); color: var(--mt-bg);
	font-size: 15px; font-weight: 600; text-decoration: none;
}
body.mt-theme ul.products li.product .button:hover { background: var(--mt-primary); color: #fff; }
body.mt-theme ul.products li.product .added_to_cart { display: block; margin-top: 6px; text-align: center; font-size: 14px; font-weight: 600; color: var(--mt-accent); }
body.mt-theme .mt-btn, body.mt-theme .mt-section__link, body.mt-theme .mt-cat-card, body.mt-theme .mt-use-card, body.mt-theme .mt-size-card, body.mt-theme .mt-blog-card { text-decoration: none; }
body.mt-theme .mt-section__link { text-decoration: underline; text-underline-offset: 3px; }

/* Huecos de foto pendientes: color visible para saber qué falta. */
.mt-use-card__img.mt-img-placeholder,
.mt-ebook__img.mt-img-placeholder { background: var(--mt-border); }
.mt-ebook__img.mt-img-placeholder { width: 100%; aspect-ratio: 1 / 1; max-width: 340px; }

/* Títulos sobre fondo oscuro (el bloque del ebook). */
body.mt-theme .mt-ebook h2 { color: var(--mt-bg); }

/* Botones de WooCommerce (ficha de producto, carrito, mi cuenta): color de marca en vez del morado por defecto. */
body.mt-theme button.button,
body.mt-theme a.button,
body.mt-theme input.button,
body.mt-theme #respond input#submit,
body.mt-theme button.button.alt,
body.mt-theme a.button.alt {
	min-height: 48px; padding: 0 26px; border: 0; border-radius: var(--mt-radius-pill);
	background: var(--mt-primary); color: #fff; font-weight: 600; text-decoration: none;
}
body.mt-theme button.button:hover,
body.mt-theme a.button:hover,
body.mt-theme button.button.alt:hover { background: #963F1C; color: #fff; }
body.mt-theme div.product p.price,
body.mt-theme div.product span.price { color: var(--mt-text); font-weight: 700; }
body.mt-theme span.onsale { background: var(--mt-primary); color: #fff; }

/* ---------- Agotados: etiqueta y aviso de reposición ---------- */
body.mt-theme ul.products li.product { position: relative; }
.mt-badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 12px; border-radius: var(--mt-radius-pill); font-size: 12px; font-weight: 600; line-height: 1.6; }
.mt-badge--restock { background: var(--mt-bg); color: var(--mt-text); box-shadow: 0 0 0 1px var(--mt-border); }
body.mt-theme ul.products li.product.outofstock img { opacity: .75; }
body.mt-theme .stock.out-of-stock { color: var(--mt-accent); font-weight: 600; }

body.mt-theme .wc_bis_form { margin: 24px 0; padding: 24px; border-radius: var(--mt-radius); background: var(--mt-surface); }
body.mt-theme .wc_bis_form h3 { font-size: 22px; margin: 0 0 4px; }
.wc_bis_form__text { margin: 0 0 16px; color: var(--mt-muted); }
.wc_bis_form__form-row { display: flex; flex-wrap: wrap; gap: 8px; }
body.mt-theme .wc_bis_form__input { flex: 1 1 220px; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--mt-border); border-radius: var(--mt-radius-pill); background: var(--mt-bg); }
.wc_bis_form__privacy { margin: 12px 0 0; font-size: 13px; color: var(--mt-muted); }

/* ---------- Tienda y categorías (diseño "Categoría") ---------- */
body.mt-theme .mt-cat-hero__media .mt-img-placeholder { background: #DCCBB4; }
.mt-subcats a { border: 0; }
body.mt-theme .mt-subcats a { box-shadow: inset 0 0 0 1.5px #D3C2A8; font-weight: 600; }
body.mt-theme .mt-subcats a[aria-current="page"] { background: var(--mt-dark); color: var(--mt-bg); box-shadow: none; }
body.mt-theme .mt-toolbar .woocommerce-ordering select { border-color: #D3C2A8; }
body.mt-theme ul.products { gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
body.mt-theme ul.products li.product { border-radius: 20px; }
body.mt-theme ul.products li.product img { background: var(--mt-surface); }
/* Etiquetas sobre la foto: capacidad a la izquierda, descuento o "reponiendo" a la derecha. */
body.mt-theme ul.products li.product .mt-badge { top: 24px; left: 24px; }
body.mt-theme .mt-badge--cap { background: var(--mt-bg); color: var(--mt-text); font-weight: 700; font-size: 13px; }
body.mt-theme ul.products li.product .onsale { left: auto; right: 24px; top: 24px; }
body.mt-theme ul.products li.product .mt-badge--restock { left: auto; right: 24px; }
body.mt-theme ul.products li.product.outofstock .onsale { display: none; }
body.mt-theme ul.products li.product .woocommerce-loop-product__title { padding: 0 4px; }
body.mt-theme ul.products li.product .mt-price-row { padding: 0 4px; }
body.mt-theme .mt-cat-bottom h2 { font-family: var(--mt-font-heading); }
.mt-faq { border-color: #D3C2A8; }
body.mt-theme ul.products li.product .price,
body.mt-theme ul.products li.product .price ins,
body.mt-theme ul.products li.product .price .amount { color: var(--mt-text); }
body.mt-theme ul.products li.product .price del,
body.mt-theme ul.products li.product .price del .amount { color: var(--mt-muted); font-weight: 400; }

/* Botón siempre abajo, a la misma altura en todas las tarjetas; títulos de máximo 3 líneas. */
body.mt-theme ul.products li.product .button { margin-top: auto; }
body.mt-theme ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
body.mt-theme ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.35em * 3); }

/* ---------- Ficha de producto ---------- */
body.mt-theme div.product .woocommerce-product-gallery__image img { background: var(--mt-card); }
body.mt-theme .mt-specs { background: var(--mt-card); }
body.mt-theme div.product .mt-single__price .price,
body.mt-theme div.product .mt-single__price .price ins .amount { color: var(--mt-text); }
body.mt-theme .mt-option { border-color: #D3C2A8; }
body.mt-theme div.product form.cart .single_add_to_cart_button { background: var(--mt-primary); }
.mt-gift { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: var(--mt-radius); background: var(--mt-card); font-size: 14px; }
.mt-gift span { color: var(--mt-muted); }
.mt-assure { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.mt-assure li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.35; }
.mt-assure svg { flex: none; width: 22px; height: 22px; color: var(--mt-accent); }
.mt-assure small { display: block; color: var(--mt-muted); }
.mt-uses-band { margin-top: 72px; margin-inline: calc(50% - 50vw); padding: 64px max(var(--mt-gutter), calc(50vw - 600px + var(--mt-gutter))); background: var(--mt-surface); }
.mt-uses-band h2 { font-size: 32px; margin: 0 0 28px; }
.mt-uses-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mt-uses-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 600; }
.mt-uses-grid img, .mt-uses-grid .mt-img-placeholder { width: 100%; height: 180px; object-fit: cover; border-radius: 18px; }

/* Botón de las tarjetas: con borde (más ligero en una rejilla de muchos productos); se rellena de terracota al pasar el ratón. */
body.mt-theme ul.products li.product .button { background: transparent; color: var(--mt-text); box-shadow: inset 0 0 0 1.5px var(--mt-text); }
body.mt-theme ul.products li.product .button:hover,
body.mt-theme ul.products li.product .button:focus-visible { background: var(--mt-primary); color: #fff; box-shadow: none; }
body.mt-theme ul.products li.product .button.loading { opacity: .6; }

/* ---------- Móvil ---------- */
@media (max-width: 600px) {
	/* Tarjetas a 2 columnas: más compactas. */
	body.mt-theme ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.mt-theme ul.products li.product { padding: 8px; border-radius: 16px; gap: 6px; }
	body.mt-theme ul.products li.product .mt-badge { top: 14px; left: 14px; padding: 2px 8px; font-size: 11px; }
	body.mt-theme ul.products li.product .onsale,
	body.mt-theme ul.products li.product .mt-badge--restock { top: 14px; right: 14px; left: auto; padding: 2px 8px; font-size: 11px; }
	body.mt-theme ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
	body.mt-theme ul.products li.product .price { font-size: 16px; }
	body.mt-theme ul.products li.product .mt-unit-price { margin-left: 0; width: 100%; }
	body.mt-theme ul.products li.product .button { min-height: 42px; padding: 0 10px; font-size: 14px; }
	.mt-card-qty { min-height: 42px; }
	.mt-card-qty__btn { width: 40px; height: 42px; }
	/* Franja de confianza de la home: 2 × 2 y sin subtítulo, para no ocupar la primera pantalla. */
	.mt-trust__grid { grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 16px; }
	.mt-trust__item { gap: 8px; }
	.mt-trust__item svg { width: 22px; height: 22px; }
	.mt-trust__item strong { font-size: 13px; }
	.mt-trust__item span { display: none; }
	.mt-uses-band { margin-top: 48px; padding-block: 40px; }
	.mt-uses-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.mt-uses-grid img, .mt-uses-grid .mt-img-placeholder { height: 120px; border-radius: 14px; }
	.mt-uses-grid figure { font-size: 14px; gap: 8px; }
}

/* ---------- Portada en móvil: primero la foto, con el título encima ----------
   Como hacen las tiendas de hogar: una foto grande que entra por los ojos, el título y el botón sobre ella.
   La franja de ventajas pasa justo debajo de la foto. */
@media (max-width: 700px) {
	.mt-home { display: flex; flex-direction: column; }
	.mt-home > .mt-hero { order: -1; }
	.mt-hero { display: block; height: auto; }
	.mt-hero__bg { position: static; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 78vh; object-fit: cover; object-position: 61% 50%; -webkit-mask-image: none; mask-image: none; }
	.mt-hero__inner { position: absolute; inset: auto 0 0 0; padding: 0; max-width: none; }
	.mt-hero__text { max-width: none; gap: 12px; padding: 96px var(--mt-gutter) 28px; background: linear-gradient(to bottom, rgba(43, 38, 34, 0), rgba(43, 38, 34, .55) 35%, rgba(43, 38, 34, .88)); }
	body.mt-theme .mt-hero__title { color: #fff; font-size: 36px; }
	.mt-hero .mt-eyebrow { color: #F2C6A6; font-size: 12px; }
	.mt-hero__lead { display: none; }
	.mt-hero__ctas { gap: 8px; flex-wrap: nowrap; }
	.mt-hero__ctas .mt-btn { flex: 1 1 auto; min-height: 46px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
	body.mt-theme .mt-hero__ctas .mt-btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85); }
}

/* Tarjetas: línea del ebook de regalo. Ficha: ayuda por WhatsApp. */
.mt-card-gift { display: block; padding: 0 4px; font-size: 13px; font-weight: 600; color: var(--mt-accent); }
.mt-help { margin: 14px 0 0; font-size: 14px; color: var(--mt-muted); }
.mt-help a { color: var(--mt-accent); font-weight: 600; }

/* ---------- Campaña (Black Week) ---------- */
body.mt-campaign .mt-announcement { background: var(--mt-primary); color: #fff; font-weight: 600; }
.mt-hero__badge { position: absolute; z-index: 3; top: 32px; right: 5%; display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--mt-primary); color: #fff; font-family: var(--mt-font-heading); font-size: 34px; font-weight: 600; box-shadow: 0 10px 30px rgba(43, 38, 34, .25); transform: rotate(-8deg); }
body.mt-theme .mt-hero--campaign .mt-hero__title { color: var(--mt-primary); }
@media (max-width: 700px) {
	.mt-hero__badge { top: 16px; right: 16px; width: 84px; height: 84px; font-size: 24px; }
	body.mt-theme .mt-hero--campaign .mt-hero__title { color: #fff; }
}

/* Campaña con cupón: precio final que quedará en el carrito. */
.mt-campaign-price { display: block; margin-top: 2px; color: var(--mt-primary); font-size: 14px; font-weight: 700; line-height: 1.3; }
.mt-campaign-price .woocommerce-Price-amount { color: inherit; font-weight: inherit; }
.single-product .mt-campaign-price { font-size: 17px; margin-top: 6px; }

/* Página Tienda: categorías con foto. */
.mt-shop-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 36px; }
.mt-shop-cat { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background: var(--mt-card); text-decoration: none; }
body.mt-theme .mt-shop-cat { text-decoration: none; }
.mt-shop-cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mt-shop-cat__img--product { object-fit: contain; padding: 10px 10px 44px; background: #fff; }
.mt-shop-cat:hover .mt-shop-cat__img { transform: scale(1.04); }
.mt-shop-cat__label { position: absolute; left: 10px; bottom: 10px; right: 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; width: fit-content; max-width: calc(100% - 20px); padding: 7px 13px; border-radius: 999px; background: rgba(251, 246, 238, .95); color: var(--mt-text, #2B2622); font-weight: 600; font-size: 15px; line-height: 1.2; box-shadow: 0 2px 10px rgba(43, 38, 34, .12); }
.mt-shop-cat__label small { color: var(--mt-muted); font-weight: 500; font-size: 12px; }
@media (max-width: 900px) { .mt-shop-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mt-shop-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; } .mt-shop-cat__label { font-size: 13px; padding: 6px 10px; } .mt-shop-cat__label small { display: none; } }
.mt-from { font-size: .8em; font-weight: 500; color: var(--mt-muted); }

/* Carrito: el descuento de la campaña se pone solo; no se ofrece quitarlo. */
.cart-discount.coupon-black25 .woocommerce-remove-coupon { display: none; }

/* Tarjetas: − / + en círculos claros dentro del botón terracota (nunca negros, en ningún navegador). */
body.mt-theme .mt-card-qty .mt-card-qty__btn,
body.mt-theme .mt-card-qty .mt-card-qty__btn:hover,
body.mt-theme .mt-card-qty .mt-card-qty__btn:focus,
body.mt-theme .mt-card-qty .mt-card-qty__btn:active {
	-webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center;
	width: 34px; height: 34px; margin: 0 6px; padding: 0; border: 0 !important; border-radius: 50% !important;
	background: rgba(255, 255, 255, .18) !important; color: #fff !important; box-shadow: none !important; font-size: 18px; line-height: 1;
}
body.mt-theme .mt-card-qty .mt-card-qty__btn:hover { background: rgba(255, 255, 255, .32) !important; }
body.mt-theme .mt-card-qty .mt-card-qty__btn:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }

/* Antes de la Black Week: barra de arriba en terracota y aviso destacado en la portada. */
body.mt-campaign-teaser .mt-announcement { background: var(--mt-primary); color: #fff; font-weight: 600; }
body.mt-campaign-teaser .mt-hero .mt-eyebrow { display: inline-block; padding: 6px 12px; border-radius: var(--mt-radius-pill); background: var(--mt-primary); color: #fff; letter-spacing: .04em; }
