/*
Theme Name: Muebles Al Toque
Template: astra
Description: Tienda popular de muebles hechos en Coquimbo. Azul, amarillo y rojo sobre blanco, estilo tienda de retail: botones limpios, fotos sobre gris claro.
Author: VendeWEB.cl
Author URI: https://vendeweb.cl
Version: 2.5.0
Text Domain: moblix
*/

:root {
	--mbx-tinta: #1d1d21;
	--mbx-tinta-2: #55555d;
	--mbx-fondo: #ffffff;
	--mbx-gris: #f2f2f0;       /* fondo de las fotos de producto y de secciones alternas */
	--mbx-borde: #e4e4e0;
	--mbx-amarillo: #ffc928;
	--mbx-amarillo-2: #f5b800;
	--mbx-rojo: #e1251b;       /* blanco encima: 4,6:1 */
	--mbx-rojo-2: #c51d14;
	--mbx-azul: #1e4fd6;       /* estructura: menú, botones de compra (blanco encima 6:1) */
	--mbx-azul-2: #163fb0;
	--mbx-azul-osc: #12307f;   /* pie y cinta */
	--mbx-azul-claro: #e8eefc;
	--mbx-wa: #128c4a;
	--mbx-radio: 12px;
	--mbx-ancho: 1240px;
	--mbx-f: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mbx-sombra: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px -10px rgb(0 0 0 / .16);
	--mbx-sombra-2: 0 2px 4px rgb(0 0 0 / .06), 0 16px 36px -14px rgb(0 0 0 / .24);
}

/* ---------- Base ---------- */
body.mbx { font-family: var(--mbx-f); color: var(--mbx-tinta); background: var(--mbx-fondo); font-size: 16.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.mbx h1, body.mbx h2, body.mbx h3, body.mbx h4, body.mbx .entry-title, body.mbx .product_title { font-family: var(--mbx-f); color: inherit; letter-spacing: -.02em; line-height: 1.08; font-weight: 700; }
body.mbx :where(a) { color: var(--mbx-azul); }
body.mbx :where(img) { max-width: 100%; height: auto; }
:where(.mbx-i) { width: 1.2em; height: 1.2em; flex: none; }
body.mbx.ast-separate-container, body.mbx.ast-plain-container { background: var(--mbx-fondo); }
body.mbx .ast-container { max-width: var(--mbx-ancho); }
body.mbx.ast-separate-container .ast-article-single,
body.mbx.ast-separate-container .ast-article-post,
body.mbx.ast-separate-container .ast-woocommerce-container { background: transparent; padding-left: 0; padding-right: 0; }
body.mbx.ast-separate-container #primary, body.mbx.ast-plain-container #primary { margin: 2rem 0 3rem; }
body.mbx.mbx-ancho #content > .ast-container { max-width: none; padding: 0; display: block; }
body.mbx.mbx-ancho #primary { margin: 0 !important; padding: 0; width: 100%; }
body.mbx.mbx-ancho .ast-article-single, body.mbx.mbx-ancho .entry-content, body.mbx.mbx-ancho article { margin: 0; padding: 0; }
body.mbx-nav-abierta { overflow: hidden; }
.mbx-saltar { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--mbx-amarillo); color: var(--mbx-tinta) !important; padding: .6rem 1rem; }
.mbx-saltar:focus { left: 1rem; top: 1rem; }
body.mbx :focus-visible { outline: 3px solid var(--mbx-azul); outline-offset: 2px; }
body.mbx mark { background: none; color: var(--mbx-azul); }

/* ---------- Botones ---------- */
.mbx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .8rem 1.4rem; border-radius: 10px; font: 600 1rem/1.1 var(--mbx-f); text-decoration: none !important; border: 0; transition: background .15s, box-shadow .15s; cursor: pointer; white-space: nowrap; }
.mbx-btn--xl { padding: 1rem 1.7rem; font-size: 1.05rem; }
.mbx-btn--ancho { width: 100%; }
.mbx-btn--tinta { background: var(--mbx-tinta); color: #fff !important; }
.mbx-btn--tinta:hover { background: #33333a; }
.mbx-btn--rojo { background: var(--mbx-rojo); color: #fff !important; }
.mbx-btn--rojo:hover { background: var(--mbx-rojo-2); }
.mbx-btn--azul { background: var(--mbx-azul); color: #fff !important; }
.mbx-btn--azul:hover { background: var(--mbx-azul-2); }
.mbx-btn--wa { background: var(--mbx-wa); color: #fff !important; }
.mbx-btn--wa:hover { background: #0e7a3f; }
.mbx-btn--blanco { background: #fff; color: var(--mbx-tinta) !important; }
.mbx-btn--blanco:hover { background: var(--mbx-gris); }
.mbx-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--mbx-azul) !important; text-decoration: none !important; white-space: nowrap; }
.mbx-link .mbx-i { transition: transform .2s; }
.mbx-link:hover .mbx-i { transform: translateX(3px); }

/* ---------- Cinta y cabecera ---------- */
.mbx-cinta { background: var(--mbx-azul-osc); color: #fff; font-size: .86rem; text-align: center; }
.mbx-cinta p { margin: 0; padding: .45rem 1rem; }
.mbx-cinta strong { font-weight: 700; color: var(--mbx-amarillo); }
.mbx-cab { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 1px 0 var(--mbx-borde); }
.admin-bar .mbx-cab { top: 32px; }
.mbx-cab__in { max-width: var(--mbx-ancho); margin: 0 auto; padding: .7rem 1.25rem; display: flex; align-items: center; gap: 1.6rem; }
.mbx-marca { display: block; flex: none; line-height: 0; }
.mbx-marca img { height: 54px; width: auto; display: block; }
.mbx-buscar { flex: 1; max-width: 540px; display: flex; border: 1.5px solid var(--mbx-borde); border-radius: 10px; overflow: hidden; background: var(--mbx-gris); transition: border-color .15s; }
.mbx-buscar:focus-within { border-color: var(--mbx-azul); background: #fff; }
.mbx-buscar input[type=search] { flex: 1; border: 0 !important; background: transparent !important; padding: .72rem 1rem !important; font: 400 1rem var(--mbx-f); color: var(--mbx-tinta); min-width: 0; box-shadow: none !important; outline: 0; }
.mbx-buscar button { border: 0; background: var(--mbx-azul); color: #fff; padding: 0 1.1rem; cursor: pointer; display: grid; place-items: center; border-radius: 0; }
.mbx-buscar button:hover { background: var(--mbx-azul-2); }
.mbx-cab__acc { margin-left: auto; display: flex; align-items: center; gap: 1rem; flex: none; }
.mbx-cab__wa { display: flex; align-items: center; gap: .55rem; text-decoration: none !important; color: var(--mbx-tinta) !important; font-weight: 600; font-size: .98rem; }
.mbx-cab__wa .mbx-i { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--mbx-wa); color: #fff; }
.mbx-cab__wa span { display: flex; flex-direction: column; line-height: 1.15; }
.mbx-cab__wa small { font-weight: 400; font-size: .76rem; color: var(--mbx-tinta-2); }
.mbx-carro { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 10px; background: var(--mbx-gris); color: var(--mbx-tinta) !important; }
.mbx-carro:hover { background: var(--mbx-borde); }
.mbx-carro .mbx-i { width: 24px; height: 24px; }
.mbx-carro__n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--mbx-rojo); color: #fff; font: 700 .72rem/20px var(--mbx-f); text-align: center; padding: 0 5px; }
.mbx-carro__n[data-n="0"] { display: none; }
.mbx-menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 10px; background: var(--mbx-gris); padding: 14px 12px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.mbx-menu-btn span { display: block; height: 2px; background: var(--mbx-tinta); border-radius: 2px; transition: .2s; }
.mbx-menu-btn[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mbx-menu-btn[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.mbx-menu-btn[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mbx-nav { background: var(--mbx-azul); }
.mbx-nav ul { max-width: var(--mbx-ancho); margin: 0 auto; padding: 0 1.25rem; list-style: none; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.mbx-nav li { margin: 0; flex: none; }
.mbx-nav a { display: block; padding: .65rem .95rem; font-weight: 500; color: #fff !important; text-decoration: none !important; font-size: .96rem; }
.mbx-nav a:hover { background: var(--mbx-azul-2); }

/* ---------- Héroe ---------- */
.mbx-heroe { position: relative; container-type: inline-size; background: var(--mbx-amarillo); }
.mbx-heroe__foto img { display: block; width: 100%; height: auto; max-width: none; }
/* Medidas en % y cqw sacadas del botón original del banner (2172×724): calza a cualquier ancho. */
.mbx-heroe__btn { position: absolute; left: 6.54%; top: 70.17%; width: 20.4%; height: 13.95%; display: flex; align-items: center; justify-content: center; gap: 1.1cqw; background: var(--mbx-azul); color: #fff !important; border-radius: .75cqw; font: 700 1.62cqw/1 var(--mbx-f); text-decoration: none !important; transition: background .15s; }
.mbx-heroe__btn:hover { background: var(--mbx-azul-2); }
.mbx-heroe__btn .mbx-i { width: 1.9cqw; height: 1.9cqw; }

/* ---------- Ventajas ---------- */
.mbx-ventajas { list-style: none; margin: 0; padding: 1.3rem 1.25rem; background: #fff; border-bottom: 1px solid var(--mbx-borde); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 1.5rem; max-width: var(--mbx-ancho); margin-inline: auto; }
.mbx-ventajas li { display: flex; gap: .8rem; align-items: center; margin: 0; }
.mbx-ventajas .mbx-i { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--mbx-azul-claro); color: var(--mbx-azul); }
.mbx-ventajas span { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.3; color: var(--mbx-tinta-2); }
.mbx-ventajas strong { font-size: 1rem; color: var(--mbx-tinta); font-weight: 600; }

/* ---------- Secciones ---------- */
.mbx-sec { padding: 4rem 0; }
.mbx-sec--papel { background: var(--mbx-gris); }
.mbx-sec__in { max-width: var(--mbx-ancho); margin: 0 auto; padding: 0 1.25rem; }
.mbx-sec__cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.mbx-sec__cab h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0; font-weight: 700; }

/* Categorías */
.mbx-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.mbx-cat { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 300px; padding: 1.4rem; border-radius: 16px; background: var(--mbx-gris); overflow: hidden; text-decoration: none !important; color: var(--mbx-tinta) !important; transition: box-shadow .2s, transform .2s; }
.mbx-cat:hover { box-shadow: var(--mbx-sombra-2); transform: translateY(-2px); }
.mbx-cat__txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .35rem; }
.mbx-cat__txt strong { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
.mbx-cat__txt small { font-size: .95rem; color: var(--mbx-azul); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.mbx-cat .mbx-cat__img { position: absolute; right: 0; bottom: 0; width: 62%; max-width: 250px; height: auto; transition: transform .3s; }
.mbx-cat:hover .mbx-cat__img { transform: scale(1.03); }
.mbx-cat--pedido { background: var(--mbx-amarillo); }
.mbx-cat--pedido .mbx-cat__txt small { color: var(--mbx-tinta); font-weight: 400; font-size: 1rem; }
.mbx-cat__wa { align-self: flex-start; display: inline-flex; gap: .5rem; align-items: center; padding: .8rem 1.3rem; border-radius: 10px; background: var(--mbx-azul); color: #fff; font-weight: 600; }

/* Fotos del taller */
.mbx-taller__in { display: grid; grid-template-columns: .8fr 1.4fr; gap: 3rem; align-items: center; }
.mbx-taller__txt h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0 0 1rem; font-weight: 700; }
.mbx-taller__txt p { font-size: 1.08rem; margin: 0 0 1.6rem; color: var(--mbx-tinta-2); }
.mbx-taller__fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mbx-polaroid { margin: 0; }
.mbx-polaroid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.mbx-polaroid figcaption { padding: .6rem .1rem 0; font-size: .88rem; color: var(--mbx-tinta-2); line-height: 1.3; }

/* Cómo comprar */
.mbx-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.mbx-pasos li { margin: 0; background: #fff; border-radius: 16px; padding: 1.6rem 1.5rem 1.7rem; box-shadow: var(--mbx-sombra); }
.mbx-pasos__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mbx-amarillo); color: var(--mbx-tinta); font-weight: 700; font-size: 1.3rem; margin-bottom: 1rem; }
.mbx-pasos h3 { font-size: 1.25rem; margin: 0 0 .45rem; }
.mbx-pasos p { margin: 0; color: var(--mbx-tinta-2); }

/* Llamado final */
.mbx-precta { background: var(--mbx-rojo); color: #fff; }
.mbx-precta__in { max-width: var(--mbx-ancho); margin: 0 auto; padding: 2.4rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.mbx-precta h2 { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 700; color: #fff; }

/* ---------- Tarjetas de producto ---------- */
body.mbx.woocommerce-js ul.products, body.mbx .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem 1.3rem; margin: 0 !important; }
body.mbx .woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.mbx ul.products::before, body.mbx ul.products::after { display: none !important; }
body.mbx ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid var(--mbx-borde); display: flex; flex-direction: column; transition: box-shadow .2s; position: relative; }
body.mbx ul.products li.product:hover { box-shadow: var(--mbx-sombra-2); }
body.mbx ul.products li.product .astra-shop-thumbnail-wrap { margin: 0 !important; overflow: hidden; position: relative; background: var(--mbx-gris); }
body.mbx ul.products li.product .astra-shop-thumbnail-wrap img { margin: 0 !important; aspect-ratio: 1; object-fit: cover; width: 100%; display: block; transition: transform .4s; }
body.mbx ul.products li.product:hover .astra-shop-thumbnail-wrap img { transform: scale(1.03); }
body.mbx ul.products li.product .astra-shop-summary-wrap { padding: 1rem 1.1rem 1.15rem; flex: 1; display: flex; flex-direction: column; }
body.mbx ul.products li.product .woocommerce-loop-product__title { font: 500 1.05rem/1.3 var(--mbx-f) !important; color: var(--mbx-tinta); margin: 0 0 .45rem; padding: 0; }
body.mbx ul.products li.product .ast-woo-product-category, body.mbx ul.products li.product .ast-on-card-button, body.mbx ul.products li.product .ast-select-options-trigger, body.mbx ul.products li.product .star-rating { display: none !important; }
body.mbx ul.products li.product .price { margin: auto 0 .9rem !important; color: var(--mbx-rojo-2) !important; font-weight: 700; font-size: 1.45rem; }
body.mbx ul.products li.product .astra-shop-summary-wrap .button { order: 4; }
body.mbx.woocommerce-js ul.products li.product a.button,
body.mbx .woocommerce ul.products li.product a.button { margin: 0 !important; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; border-radius: 10px !important; padding: .78rem 1rem !important; font: 600 .98rem/1.2 var(--mbx-f) !important; background: var(--mbx-rojo) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
body.mbx.woocommerce-js ul.products li.product a.button:hover,
body.mbx .woocommerce ul.products li.product a.button:hover { background: var(--mbx-rojo-2) !important; }
body.mbx ul.products li.product a.button.mbx-pedir { background: var(--mbx-azul) !important; }
body.mbx ul.products li.product a.button.mbx-pedir:hover { background: var(--mbx-azul-2) !important; }
body.mbx ul.products li.product .added_to_cart { display: block; text-align: center; margin-top: .5rem; font-size: .9rem; font-weight: 600; }
.mbx-precio-cot { font-size: 1rem; font-weight: 600; color: var(--mbx-tinta-2); }
.mbx-sello { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--mbx-amarillo); color: var(--mbx-tinta); border-radius: 6px; padding: .28rem .55rem; font: 600 .72rem/1.15 var(--mbx-f); }
body.mbx ul.products li.product .onsale { background: var(--mbx-rojo) !important; color: #fff !important; border-radius: 6px !important; font-weight: 700; min-height: 0; line-height: 1.2; padding: .3rem .6rem !important; top: 10px !important; right: 10px !important; left: auto !important; }

/* Botones de WooCommerce en general (Astra los pinta en .woocommerce-js a.button) */
body.mbx.woocommerce-js a.button, body.mbx.woocommerce-js button.button, body.mbx.woocommerce-js input.button,
body.mbx.woocommerce-js .woocommerce-message .button, body.mbx.woocommerce-js button.button.alt,
body.mbx.woocommerce-js #place_order, body.mbx.woocommerce-js .checkout-button, body.mbx.woocommerce-js .single_add_to_cart_button {
	background: var(--mbx-azul) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; font: 600 1rem/1.2 var(--mbx-f) !important; padding: .9rem 1.5rem !important;
}
body.mbx.woocommerce-js a.button:hover, body.mbx.woocommerce-js button.button:hover, body.mbx.woocommerce-js #place_order:hover,
body.mbx.woocommerce-js .checkout-button:hover, body.mbx.woocommerce-js .single_add_to_cart_button:hover { background: var(--mbx-azul-2) !important; }
body.mbx .woocommerce-ordering select { border-radius: 10px; border: 1.5px solid var(--mbx-borde); padding: .5rem 2rem .5rem 1rem; background-color: #fff; }
body.mbx .woocommerce-result-count { color: var(--mbx-tinta-2); font-size: .92rem; }
body.mbx .woocommerce-pagination ul { border: 0 !important; display: flex !important; gap: .4rem; justify-content: center; }
body.mbx .woocommerce-pagination ul li { border: 0 !important; }
body.mbx .woocommerce-pagination ul li a, body.mbx .woocommerce-pagination ul li span { border-radius: 10px; width: 42px; height: 42px; display: grid !important; place-items: center; padding: 0 !important; border: 1px solid var(--mbx-borde) !important; }
body.mbx .woocommerce-pagination ul li span.current { background: var(--mbx-azul) !important; color: #fff !important; border-color: var(--mbx-azul) !important; }
body.mbx .woocommerce-message, body.mbx .woocommerce-info, body.mbx .woocommerce-error { border-radius: 10px; border-top-color: var(--mbx-amarillo-2) !important; background: var(--mbx-gris); }
body.mbx .woocommerce-message::before, body.mbx .woocommerce-info::before { color: var(--mbx-amarillo-2) !important; }

/* Banda de la tienda y filtros */
.mbx-banda { background: var(--mbx-azul); color: #fff; }
.mbx-banda__in { max-width: var(--mbx-ancho); margin: 0 auto; padding: 2rem 1.25rem 2.2rem; }
.mbx-banda h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin: 0 0 .45rem; }
.mbx-banda p { margin: 0; font-size: 1.08rem; max-width: 40em; }
.mbx-banda h1 { color: #fff; }
.mbx-banda .woocommerce-breadcrumb { margin: 0 0 .7rem !important; font-size: .86rem; color: #c9d6fb !important; }
.mbx-banda .woocommerce-breadcrumb a { color: #fff !important; }
.mbx-migas__sep { margin: 0 .45rem; opacity: .5; }
.mbx-filtros { max-width: var(--mbx-ancho); margin: 1.6rem auto 0; padding: 0 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.mbx-filtros a { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; background: var(--mbx-gris); color: var(--mbx-tinta) !important; text-decoration: none !important; font-weight: 500; font-size: .95rem; }
.mbx-filtros a small { color: var(--mbx-tinta-2); font-size: .8rem; }
.mbx-filtros a:hover { background: var(--mbx-borde); }
.mbx-filtros a[aria-current] { background: var(--mbx-azul); color: #fff !important; }
.mbx-filtros a[aria-current] small { color: #c9d6fb; }

/* ---------- Ficha de producto ---------- */
body.mbx.single-product .woocommerce-breadcrumb { font-size: .88rem; color: var(--mbx-tinta-2); margin-bottom: 1.4rem; }
body.mbx.single-product .woocommerce-breadcrumb a { color: var(--mbx-tinta); }
body.mbx.single-product div.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1rem 3.2rem; align-items: start; }
body.mbx.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: sticky; top: 150px; }
body.mbx.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
body.mbx.single-product div.product .woocommerce-tabs, body.mbx.single-product div.product .related, body.mbx.single-product div.product .up-sells { grid-column: 1 / -1; }
body.mbx.single-product .flex-viewport, body.mbx.single-product .woocommerce-product-gallery__wrapper > div:only-child { border-radius: 16px; overflow: hidden; background: var(--mbx-gris); }
body.mbx.single-product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px !important; }
body.mbx.single-product .flex-control-thumbs li { width: auto !important; margin: 0 !important; }
body.mbx.single-product .flex-control-thumbs img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; opacity: .55; transition: .2s; }
body.mbx.single-product .flex-control-thumbs img.flex-active, body.mbx.single-product .flex-control-thumbs img:hover { opacity: 1; }
body.mbx.single-product .product_title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; margin: 0 0 .8rem; }
body.mbx.single-product .summary .price { margin: 0 0 1.1rem; font-size: 2rem; color: var(--mbx-rojo-2) !important; font-weight: 700; }
body.mbx.single-product .summary .price .mbx-precio-cot { font-size: 1.15rem; }
body.mbx.single-product .woocommerce-product-details__short-description { font-size: 1.08rem; color: var(--mbx-tinta-2); margin-bottom: 1.4rem; }
.mbx-pedir-caja { margin: 0 0 1.4rem; }
.mbx-pedir-caja p { margin: .7rem 0 0; font-size: .92rem; color: var(--mbx-tinta-2); text-align: center; }
.mbx-incluye { list-style: none; margin: 0 0 1.4rem; padding: 0; border: 1px solid var(--mbx-borde); border-radius: 12px; }
.mbx-incluye li { display: flex; gap: .85rem; align-items: center; margin: 0; padding: .9rem 1rem; }
.mbx-incluye li + li { border-top: 1px solid var(--mbx-borde); }
.mbx-incluye .mbx-i { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--mbx-azul-claro); color: var(--mbx-azul); }
.mbx-incluye span { display: flex; flex-direction: column; font-size: .9rem; color: var(--mbx-tinta-2); line-height: 1.35; }
.mbx-incluye strong { color: var(--mbx-tinta); font-size: .98rem; font-weight: 600; }
body.mbx.single-product form.cart { margin-bottom: 1.4rem !important; }
body.mbx.single-product form.cart .quantity input { border: 1.5px solid var(--mbx-borde); border-radius: 10px; height: 50px; }
body.mbx.single-product .product_meta { display: none; }
body.mbx .woocommerce-tabs { border-top: 1px solid var(--mbx-borde); padding-top: 2rem; margin-top: 2.4rem; }
body.mbx .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 1.1rem !important; border: 0 !important; }
body.mbx .woocommerce-tabs ul.tabs li { border: 0 !important; background: none !important; padding: 0 !important; }
body.mbx .woocommerce-tabs ul.tabs li a { font: 700 1.4rem/1.2 var(--mbx-f) !important; color: var(--mbx-tinta) !important; padding: 0 !important; }
body.mbx .woocommerce-tabs ul.tabs li::before, body.mbx .woocommerce-tabs ul.tabs li::after, body.mbx .woocommerce-tabs ul.tabs::before { display: none !important; }
body.mbx .woocommerce-tabs .panel { max-width: 50em; font-size: 1.04rem; }
body.mbx .related > h2, body.mbx .up-sells > h2 { font-size: 1.7rem; font-weight: 700; margin: 2.4rem 0 1.4rem; }

/* Carro y pago */
body.mbx .woocommerce-cart-form, body.mbx .cart_totals, body.mbx .woocommerce-checkout-review-order { background: #fff; border: 1px solid var(--mbx-borde); border-radius: 14px; padding: 1rem; }
body.mbx .woocommerce table.shop_table { border: 0; }
body.mbx .woocommerce form .input-text, body.mbx .woocommerce form select, body.mbx .select2-container--default .select2-selection--single { border: 1.5px solid var(--mbx-borde) !important; border-radius: 10px !important; }
body.mbx.woocommerce-cart .entry-title, body.mbx.woocommerce-checkout .entry-title, body.mbx.woocommerce-account .entry-title { font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.6rem); }

/* ---------- Pie ---------- */
.mbx-pie { background: var(--mbx-azul-osc); color: #c9d6fb; }
.mbx-pie__in { max-width: var(--mbx-ancho); margin: 0 auto; padding: 3.2rem 1.25rem 2.4rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.mbx-pie__marca img { height: 60px; width: auto; }
.mbx-pie__marca p { margin: 1.1rem 0 1.2rem; max-width: 26em; font-size: .95rem; }
.mbx-pie h2 { font-size: .95rem; letter-spacing: .04em; color: var(--mbx-amarillo); margin: .3rem 0 1rem; font-weight: 600; }
.mbx-pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.mbx-pie li { margin: 0; }
.mbx-pie a { color: #fff !important; text-decoration: none; }
.mbx-pie a:hover { color: var(--mbx-amarillo) !important; }
.mbx-pie__contacto a { display: inline-flex; gap: .5rem; align-items: center; }
.mbx-redes { display: flex; gap: .55rem; }
.mbx-redes a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff !important; }
.mbx-redes a:hover { background: var(--mbx-wa); color: #fff !important; }
.mbx-pie__base { border-top: 1px solid rgb(255 255 255 / .14); }
.mbx-pie__base p { max-width: var(--mbx-ancho); margin: 0 auto; padding: 1.1rem 1.25rem; font-size: .86rem; color: #a9bbef; }
.mbx-pie__base a { color: var(--mbx-amarillo) !important; font-weight: 600; }
.mbx-wa-flot { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--mbx-wa); color: #fff !important; display: grid; place-items: center; box-shadow: 0 8px 22px -6px rgb(0 0 0 / .35); transition: transform .15s; }
.mbx-wa-flot:hover { transform: scale(1.06); }
.mbx-wa-flot .mbx-i { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.mbx-cab__wa span { display: none; }
	body.mbx.woocommerce-js ul.products, body.mbx .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.mbx-ventajas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mbx-pie__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.mbx-cats { grid-template-columns: 1fr 1fr; }
	.mbx-taller__in { grid-template-columns: 1fr; gap: 1.6rem; }
	.mbx-pasos { grid-template-columns: 1fr; }
	body.mbx.single-product div.product { grid-template-columns: 1fr; }
	body.mbx.single-product div.product .woocommerce-product-gallery { position: static; }
}
@media (max-width: 760px) {
	.mbx-cinta p { font-size: .78rem; }
	.mbx-cab__in { flex-wrap: wrap; gap: .7rem; padding: .55rem 1rem .7rem; }
	.mbx-marca img { height: 44px; }
	.mbx-buscar { order: 3; flex-basis: 100%; max-width: none; }
	.mbx-cab__wa { display: none; }
	.mbx-menu-btn { display: flex; }
	.mbx-nav { display: none; }
	body.mbx-nav-abierta .mbx-nav { display: block; position: fixed; inset: auto 0 0 0; top: var(--mbx-cab-alto, 170px); overflow-y: auto; background: #fff; }
	body.mbx-nav-abierta .mbx-nav ul { flex-direction: column; padding: .5rem 1rem; gap: 0; }
	body.mbx-nav-abierta .mbx-nav a { font-size: 1.15rem; padding: 1rem .2rem; border-bottom: 1px solid var(--mbx-borde); }
	.mbx-sec { padding: 2.8rem 0; }
	body.mbx.woocommerce-js ul.products, body.mbx .woocommerce ul.products, body.mbx .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .8rem; }
	body.mbx ul.products li.product .astra-shop-summary-wrap { padding: .75rem .75rem .85rem; }
	body.mbx ul.products li.product .woocommerce-loop-product__title { font-size: .95rem !important; }
	body.mbx.woocommerce-js ul.products li.product a.button, body.mbx .woocommerce ul.products li.product a.button { font-size: .9rem !important; padding: .7rem .5rem !important; }
	.mbx-sello { font-size: .64rem; }
	.mbx-ventajas { grid-template-columns: 1fr 1fr; padding: 1.1rem 1rem; }
	.mbx-ventajas .mbx-i { width: 38px; height: 38px; padding: 8px; }
	.mbx-ventajas span { font-size: .8rem; }
	.mbx-cats { grid-template-columns: 1fr; }
	.mbx-cat { min-height: 250px; }
	.mbx-cat .mbx-cat__img { width: 46%; }
	.mbx-taller__fotos { gap: .6rem; }
	.mbx-polaroid figcaption { font-size: .74rem; }
	.mbx-pie__in { grid-template-columns: 1fr; }
	/* Versión celular del banner (1030×1377): el botón queda arriba, sobre el amarillo. */
	.mbx-heroe__btn { left: 13.79%; top: 36.89%; width: 43%; height: 7.41%; gap: 2.2cqw; border-radius: 1.6cqw; font-size: 3.5cqw; }
	.mbx-heroe__btn .mbx-i { width: 4cqw; height: 4cqw; }
}
@media (max-width: 380px) {
	body.mbx.woocommerce-js ul.products, body.mbx .woocommerce ul.products, body.mbx .woocommerce ul.products.columns-3 { grid-template-columns: 1fr; }
	.mbx-ventajas { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
