/* Mercado Vivo — estilos del tema */
/* Fuentes locales (SIL Open Font License, ver assets/fonts/LICENSE-*) */
@font-face { font-family: "Fraunces"; src: url(../fonts/fraunces-latin-var.woff2) format("woff2-variations"), url(../fonts/fraunces-latin-var.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-500.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter-latin-600.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
	--mv-green-900: #1e3d27;
	--mv-green-700: #2f5d3a;
	--mv-green-500: #4f8a4b;
	--mv-green-100: #e5efe1;
	--mv-earth: #b5562f;
	--mv-earth-100: #f6e4d9;
	--mv-sun: #e9b949;
	--mv-cream: #faf7f0;
	--mv-paper: #ffffff;
	--mv-ink: #1f2a22;
	--mv-muted: #5d6b61;
	--mv-line: #e3ddd0;
	--mv-radius: 14px;
	--mv-radius-sm: 8px;
	--mv-shadow: 0 1px 2px rgba(31, 42, 34, .06), 0 6px 20px rgba(31, 42, 34, .06);
	--mv-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--mv-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--mv-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--mv-cream);
	color: var(--mv-ink);
	font: 400 16px/1.55 var(--mv-font);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mv-green-700); text-underline-offset: 2px; }
a:hover { color: var(--mv-green-900); }
h1, h2, h3 { font-family: var(--mv-serif); font-weight: 700; line-height: 1.15; color: var(--mv-green-900); margin: 0 0 .5em; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--mv-sun); outline-offset: 2px; }

.mv-container { width: 100%; max-width: var(--mv-max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .mv-container { padding: 0 24px; } }
.mv-skip { position: absolute; left: -9999px; }
.mv-skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 6px; }
.mv-icon { flex: none; }

/* Botones */
.mv-btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .7em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1.1 var(--mv-font); text-decoration: none; cursor: pointer;
	background: var(--mv-green-100); color: var(--mv-green-900); transition: background .15s, transform .05s;
}
.mv-btn:active, .woocommerce .button:active { transform: translateY(1px); }
.mv-btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button, .woocommerce #place_order, .woocommerce a.checkout-button {
	background: var(--mv-green-700) !important; color: #fff !important;
}
.mv-btn--primary:hover, .woocommerce .button.alt:hover, .woocommerce .single_add_to_cart_button:hover { background: var(--mv-green-900) !important; color: #fff; }
.mv-btn--ghost { background: transparent; border-color: var(--mv-green-700); color: var(--mv-green-700); }
.mv-btn--ghost:hover { background: var(--mv-green-100); }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #d5e5cf; color: var(--mv-green-900); }

/* Barra superior y encabezado */
.mv-topbar { background: var(--mv-green-900); color: #f1efe6; font-size: 13px; text-align: center; padding: 7px 0; }
.mv-header { background: var(--mv-paper); border-bottom: 1px solid var(--mv-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .mv-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mv-header { top: 0; } }
.mv-header__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 68px; }
.mv-logo { display: inline-flex; align-items: center; text-decoration: none; }
.mv-logo img { max-height: 52px; width: auto; }
.mv-logo__text { font: 700 22px var(--mv-serif); color: var(--mv-green-900); }
.mv-burger, .mv-nav__close, .mv-nav__toggle { background: none; border: 0; color: var(--mv-ink); padding: 8px; cursor: pointer; border-radius: 8px; }
.mv-search { grid-column: 1 / -1; order: 3; padding-bottom: 12px; }
.mv-search form { display: flex; }
.mv-search input[type=search] { flex: 1; min-width: 0; height: 44px; border: 1.5px solid var(--mv-line); border-right: 0; border-radius: 999px 0 0 999px; padding: 0 16px; font: inherit; background: var(--mv-cream); }
.mv-search button { height: 44px; border: 0; border-radius: 0 999px 999px 0; padding: 0 18px; background: var(--mv-green-700); color: #fff; font: 600 14px var(--mv-font); cursor: pointer; }
.mv-header__actions { display: flex; align-items: center; gap: 6px; justify-self: end; }
.mv-account-link { color: var(--mv-ink); padding: 8px; display: inline-flex; }
.mv-cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--mv-green-100); color: var(--mv-green-900); text-decoration: none; font-weight: 600; font-size: 14px; }
.mv-cart-link__count { position: absolute; top: -2px; left: 26px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--mv-earth); color: #fff; font-size: 11px; line-height: 19px; text-align: center; }
.mv-cart-link__total .woocommerce-Price-currencySymbol { margin-right: 1px; }
@media (max-width: 479px) { .mv-cart-link__total { display: none; } }
@media (min-width: 900px) {
	.mv-header__row { grid-template-columns: auto minmax(260px, 560px) 1fr; gap: 28px; }
	.mv-burger { display: none; }
	.mv-search { grid-column: auto; order: 0; padding: 0; }
}

/* Navegación de categorías */
.mv-nav__list { list-style: none; margin: 0; padding: 0; }
.mv-nav__list a { text-decoration: none; color: var(--mv-ink); }
.mv-nav__more { background: none; border: 0; font: inherit; color: var(--mv-ink); cursor: pointer; }
.mv-count { color: var(--mv-muted); font-size: 12px; }
.mv-nav__head { display: none; }
@media (max-width: 899px) {
	.mv-nav { position: fixed; inset: 0 auto 0 0; width: min(88vw, 360px); background: var(--mv-paper); transform: translateX(-100%); transition: transform .2s ease; overflow-y: auto; z-index: 60; box-shadow: var(--mv-shadow); }
	.mv-nav.is-open { transform: none; }
	.mv-nav .mv-container { padding: 0; }
	.mv-nav__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--mv-line); }
	.mv-nav__list > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--mv-line); }
	.mv-nav__list > li > a, .mv-nav__more { flex: 1; padding: 14px 16px; font-weight: 500; text-align: left; }
	.mv-nav__toggle { padding: 14px 16px; transition: transform .15s; }
	.mv-nav__toggle[aria-expanded=true] { transform: rotate(90deg); }
	.mv-nav__sub { display: none; width: 100%; list-style: none; margin: 0; padding: 0 0 10px 16px; }
	.mv-nav__sub.is-open { display: block; }
	.mv-nav__sub a { display: block; padding: 9px 16px; }
	body.mv-nav-open { overflow: hidden; }
	.mv-backdrop { position: fixed; inset: 0; background: rgba(20, 30, 22, .45); z-index: 59; }
}
@media (min-width: 900px) {
	.mv-nav { border-top: 1px solid var(--mv-line); }
	.mv-nav__list { display: flex; flex-wrap: nowrap; gap: 2px; }
	.mv-nav__list > li { position: relative; }
	.mv-nav__list > li.is-mega { position: static; }
	.mv-nav .mv-container { position: relative; }
	.mv-nav__list > li > a, .mv-nav__more { display: block; padding: 12px 12px; font-size: 14px; font-weight: 500; white-space: nowrap; }
	.mv-nav__list > li:first-child > a { font-weight: 700; color: var(--mv-green-700); }
	.mv-nav__list > li.has-children > a::after, .mv-nav__more::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .6; }
	.mv-nav__list > li > a:hover { color: var(--mv-green-700); }
	.mv-nav__toggle { display: none; }
	.mv-nav__list > li.is-mega > .mv-nav__sub { left: 24px; right: 24px; min-width: 0; grid-template-columns: repeat(4, 1fr); }
	.mv-nav__list > li:last-child > .mv-nav__sub { left: auto; right: 0; }
	.mv-nav__sub { position: absolute; left: 0; top: 100%; min-width: 280px; display: none; grid-template-columns: 1fr; gap: 0 12px; list-style: none; margin: 0; padding: 16px; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); box-shadow: var(--mv-shadow); z-index: 70; }
	.mv-nav__list > li:hover > .mv-nav__sub, .mv-nav__list > li:focus-within > .mv-nav__sub { display: grid; }
	.mv-nav__sub a { display: block; padding: 6px 8px; border-radius: 6px; font-size: 14px; }
	.mv-nav__sub a:hover { background: var(--mv-green-100); }
	.mv-nav__all { grid-column: 1 / -1; border-bottom: 1px solid var(--mv-line); margin-bottom: 6px; padding-bottom: 6px; }
	.mv-nav__all a { font-weight: 600; color: var(--mv-green-700); }
}

/* Generales */
.mv-main { padding: 24px 0 64px; min-height: 50vh; }
.mv-home { padding-top: 0; }
.mv-page-title { font-size: clamp(28px, 4vw, 40px); }
.mv-prose-wrap { max-width: 860px; }
.mv-prose { background: var(--mv-paper); border-radius: var(--mv-radius); padding: clamp(20px, 4vw, 40px); }
.mv-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mv-earth); }
.mv-section { padding: 40px 0 8px; }
.mv-section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.mv-section__head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0; }
.mv-section__head > a { font-weight: 600; text-decoration: none; }
.mv-section__lead { margin: 6px 0 0; color: var(--mv-muted); max-width: 640px; }
.mv-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.mv-pill--fp { background: var(--mv-earth-100); color: var(--mv-earth); }

/* Hero */
.mv-hero { background: linear-gradient(160deg, #eaf2e4 0%, var(--mv-cream) 60%); border-bottom: 1px solid var(--mv-line); padding: 40px 0; overflow: hidden; }
.mv-hero__grid { display: grid; gap: 28px; align-items: center; }
.mv-hero__title { font-size: clamp(34px, 6vw, 58px); margin-bottom: .3em; }
.mv-hero__text { font-size: 18px; color: var(--mv-muted); max-width: 560px; }
.mv-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mv-hero__search { background: var(--mv-paper); border-radius: 20px; padding: 22px; box-shadow: var(--mv-shadow); }
.mv-hero__search label { display: block; font: 700 20px var(--mv-serif); color: var(--mv-green-900); margin-bottom: 12px; }
.mv-hero__search-row { display: flex; gap: 8px; }
.mv-hero__search input[type=search] { flex: 1; min-width: 0; height: 52px; border: 1.5px solid var(--mv-line); border-radius: 999px; padding: 0 18px; font: inherit; font-size: 16px; background: var(--mv-cream); }
.mv-hero__search .mv-btn { width: 52px; padding: 0; }
.mv-hero__hints { margin: 14px 0 0; font-size: 14px; color: var(--mv-muted); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.mv-hero__hints a { color: var(--mv-green-700); }
@media (min-width: 900px) { .mv-hero { padding: 64px 0; } .mv-hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }

/* Franja de confianza */
.mv-strip { background: var(--mv-paper); border-bottom: 1px solid var(--mv-line); }
.mv-strip__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.mv-strip__grid > div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mv-muted); }
.mv-strip__grid strong { display: block; color: var(--mv-ink); font-size: 14px; }
.mv-strip .mv-icon { color: var(--mv-green-500); margin-top: 2px; }
@media (min-width: 900px) { .mv-strip__grid { grid-template-columns: repeat(4, 1fr); } }

/* Categorías */
.mv-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .mv-cats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .mv-cats { grid-template-columns: repeat(6, 1fr); } }
.mv-cat { display: flex; flex-direction: column; height: 100%; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); padding: 10px; text-decoration: none; color: var(--mv-ink); transition: border-color .15s, box-shadow .15s; }
.mv-cat:hover { border-color: var(--mv-green-500); box-shadow: var(--mv-shadow); color: var(--mv-ink); }
.mv-cat__img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mv-green-100); display: grid; place-items: center; color: var(--mv-green-500); margin-bottom: 10px; }
.mv-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.mv-cat__img .mv-icon { width: 40px; height: 40px; }
.mv-cat__name { font-weight: 600; font-size: 15px; line-height: 1.25; }
.mv-cat__count { font-size: 12px; color: var(--mv-muted); margin-top: 2px; }

/* Chips */
.mv-chips ul, .mv-chips__list { list-style: none; margin: 0 0 20px; padding: 0 0 4px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.mv-chip { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: var(--mv-paper); border: 1px solid var(--mv-line); color: var(--mv-ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.mv-chip:hover { border-color: var(--mv-green-500); color: var(--mv-green-700); }
.mv-chip.is-active { background: var(--mv-green-700); border-color: var(--mv-green-700); color: #fff; }
.mv-chips ul, .mv-chips__list { -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); padding-right: 40px; }
.mv-chips ul::-webkit-scrollbar, .mv-chips__list::-webkit-scrollbar { height: 6px; }
.mv-chips ul::-webkit-scrollbar-thumb, .mv-chips__list::-webkit-scrollbar-thumb { background: var(--mv-line); border-radius: 3px; }
.mv-season .mv-chips__list { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; padding-right: 0; }

/* Temporada */
.mv-season { background: linear-gradient(180deg, transparent, #f2ead9 40%, transparent); padding-bottom: 24px; }

/* Formato pequeño (banda) */
.mv-fp__box { display: grid; gap: 18px; align-items: center; background: var(--mv-earth-100); border-radius: 20px; padding: clamp(22px, 4vw, 40px); }
.mv-fp__box h2 { margin-bottom: .3em; }
.mv-fp__box p { margin: 0; max-width: 620px; color: #5b4a40; }
@media (min-width: 800px) { .mv-fp__box { grid-template-columns: 1fr auto; } }

/* Origen */
.mv-origin { padding-top: 56px; }
.mv-origin__grid { display: grid; gap: 28px; background: var(--mv-green-900); color: #e8efe5; border-radius: 24px; padding: clamp(24px, 5vw, 56px); }
.mv-origin h2 { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.mv-origin p { color: #cfdccb; max-width: 520px; }
.mv-origin .mv-btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); margin-top: 8px; }
.mv-origin .mv-btn--ghost:hover { background: rgba(255,255,255,.08); }
.mv-origin__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.mv-origin__facts li { background: rgba(255,255,255,.06); border-radius: 14px; padding: 16px 18px; }
.mv-origin__facts strong { display: block; color: #fff; font-family: var(--mv-serif); font-size: 18px; }
.mv-origin__facts span { color: #cfdccb; font-size: 14px; }
@media (min-width: 900px) { .mv-origin__grid { grid-template-columns: 1fr 1fr; align-items: center; } }

/* ---------- WooCommerce: grilla ---------- */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0 0 24px !important; padding: 0; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
@media (min-width: 700px) { .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .woocommerce ul.products.columns-4, .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; position: relative; display: flex; flex-direction: column; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); padding: 10px 10px 14px; transition: box-shadow .15s, border-color .15s; }
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product:hover { box-shadow: var(--mv-shadow); border-color: #d4ccbb; }
.woocommerce ul.products li.product a img { border-radius: 10px; margin: 0 0 10px; aspect-ratio: 1; object-fit: cover; background: var(--mv-green-100); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 600 15px/1.3 var(--mv-font); color: var(--mv-ink); padding: 0; margin: 0 0 4px; }
.mv-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 6px; min-height: 20px; font-size: 12.5px; color: var(--mv-muted); }
.woocommerce ul.products li.product .price { color: var(--mv-green-900); font-weight: 700; font-size: 16px; margin: auto 0 10px; }
.woocommerce ul.products li.product .price del { color: var(--mv-muted); font-weight: 400; font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 0; min-height: 42px; padding: 10px 14px; font-size: 14px; line-height: 1.2; text-align: center; }
.woocommerce ul.products li.product .added_to_cart { display: block; text-align: center; font-size: 13px; padding-top: 6px; }
.woocommerce span.onsale { min-height: 0; min-width: 0; line-height: 1; padding: 6px 9px; border-radius: 999px; background: var(--mv-earth); color: #fff; font-size: 12px; font-weight: 700; top: 16px !important; left: 16px !important; right: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product .star-rating { display: none; }
.woocommerce ul.products li.product-category a { display: flex; flex-direction: column; height: 100%; color: var(--mv-ink); }
.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title { font: 600 15px/1.3 var(--mv-font); color: var(--mv-ink); padding: 2px 0 0; margin: 0; }
.woocommerce ul.products li.product-category mark.count { display: block; background: none; padding: 0; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--mv-muted); }

/* Archivo */
.mv-breadcrumb { font-size: 13px; color: var(--mv-muted); margin: 0 0 12px; }
.mv-breadcrumb a { color: var(--mv-muted); }
.mv-crumb-sep { margin: 0 6px; opacity: .5; }
.woocommerce-products-header__title { font-size: clamp(28px, 4vw, 40px); }
.term-description { color: var(--mv-muted); max-width: 760px; }
.woocommerce .woocommerce-result-count { color: var(--mv-muted); font-size: 14px; margin: 8px 0 16px; }
.woocommerce .woocommerce-ordering select { height: 40px; border-radius: 999px; border: 1px solid var(--mv-line); padding: 0 14px; background: var(--mv-paper); font: inherit; font-size: 14px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; justify-content: center; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--mv-paper); border: 1px solid var(--mv-line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--mv-green-700); color: #fff; border-color: var(--mv-green-700); }

/* ---------- Página de producto ---------- */
.woocommerce div.product { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.woocommerce div.product > * { min-width: 0; }
.woocommerce div.product .woocommerce-product-gallery { max-width: 100%; overflow: hidden; }
@media (min-width: 900px) { .woocommerce div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: 100% !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images img { border-radius: var(--mv-radius); background: var(--mv-paper); }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .product_title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--mv-green-900); font-size: 28px; font-weight: 700; }
.woocommerce div.product p.price del { font-size: 18px; color: var(--mv-muted); font-weight: 400; }
.woocommerce div.product p.price ins { text-decoration: none; }
.mv-ficha { margin: 18px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; overflow: hidden; }
.mv-ficha__row { padding: 10px 14px; box-shadow: 1px 1px 0 var(--mv-line); }
.mv-ficha__row--cientifico, .mv-ficha__row--otros { grid-column: 1 / -1; }
.mv-ficha dt { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--mv-muted); }
.mv-ficha dd { margin: 2px 0 0; font-weight: 600; }
.mv-formato { margin: 0 0 18px; }
.mv-formato__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.mv-formato__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mv-formato__opt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1.5px solid var(--mv-line); border-radius: 12px; text-decoration: none; color: var(--mv-ink); background: var(--mv-paper); }
.mv-formato__opt:hover { border-color: var(--mv-green-500); color: var(--mv-ink); }
.mv-formato__opt.is-active { border-color: var(--mv-green-700); box-shadow: inset 0 0 0 1px var(--mv-green-700); background: #f5faf3; }
.mv-formato__opt strong { font-size: 14px; }
.mv-formato__opt span { font-weight: 700; color: var(--mv-green-900); }
.mv-formato__opt span del { font-weight: 400; color: var(--mv-muted); font-size: 13px; }
.mv-formato__opt span ins { text-decoration: none; }
.mv-formato__opt small { color: var(--mv-muted); }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 16px; }
.woocommerce .quantity .qty { width: 84px; height: 52px; border-radius: 999px; border: 1.5px solid var(--mv-line); text-align: center; font: 600 16px var(--mv-font); }
.mv-confianza { list-style: none; margin: 0 0 18px; padding: 14px 16px; display: grid; gap: 10px; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; font-size: 14px; }
.mv-confianza li { display: flex; align-items: center; gap: 10px; }
.mv-confianza .mv-icon { color: var(--mv-green-500); }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--mv-muted); display: grid; gap: 4px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 -1px; display: flex; gap: 4px; overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 1px solid transparent; border-radius: 10px 10px 0 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; font-weight: 600; color: var(--mv-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--mv-paper); border-color: var(--mv-line); border-bottom-color: var(--mv-paper); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--mv-green-900); }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 0 12px 12px 12px; padding: clamp(18px, 3vw, 32px); max-width: none; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: 26px; margin-top: 16px; }

/* ---------- Carrito, checkout, cuenta ---------- */
.mv-minbar { background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; padding: 12px 14px; margin: 0 0 16px; }
.mv-minbar__text { margin: 0 0 8px; font-size: 14px; }
.mv-minbar__track { height: 8px; background: var(--mv-green-100); border-radius: 999px; overflow: hidden; }
.mv-minbar__track span { display: block; height: 100%; background: linear-gradient(90deg, var(--mv-sun), var(--mv-green-500)); border-radius: inherit; transition: width .3s; }
.mv-minbar.is-done { border-color: var(--mv-green-500); background: #f3f9f0; }
.mv-minbar.is-done .mv-minbar__track span { background: var(--mv-green-500); }
.woocommerce table.shop_table { border-radius: 12px; background: var(--mv-paper); border-color: var(--mv-line); border-collapse: separate; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border-color: var(--mv-line); padding: 12px; }
.woocommerce-cart table.cart img { width: 64px; border-radius: 8px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; max-width: 480px; }
@media (min-width: 900px) { .woocommerce .cart-collaterals { display: flex; justify-content: flex-end; } }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce .select2-container .select2-selection--single {
	border: 1.5px solid var(--mv-line); border-radius: 10px; min-height: 46px; padding: 10px 12px; background: var(--mv-paper); font: inherit;
}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered { line-height: 24px; padding: 0; }
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow { height: 44px; }
.woocommerce form .form-row label { font-weight: 500; font-size: 14px; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review, .woocommerce-checkout h3#order_review_heading { background: transparent; }
@media (min-width: 1000px) {
	.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 40px; align-items: start; }
	.woocommerce-checkout form.checkout > * { grid-column: 1; }
	.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
	.woocommerce-checkout h3#order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
	.woocommerce-checkout h3#order_review_heading { grid-row: 1; }
	.woocommerce-checkout #order_review { grid-row: 2 / span 4; position: sticky; top: 130px; }
}
.woocommerce-checkout #payment { background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box { background: var(--mv-green-100); border-radius: 10px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--mv-green-100); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: 12px; border-top-width: 0; border-left: 4px solid var(--mv-green-500); background: var(--mv-paper); }
.woocommerce-error { border-left-color: var(--mv-earth); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--mv-green-500); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; text-decoration: none; border-bottom: 1px solid var(--mv-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--mv-green-100); font-weight: 600; }
.widget_shopping_cart .mv-minbar { margin: 0 0 12px; }

/* Entradas */
.mv-posts { display: grid; gap: 20px; }
.mv-post-card { background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); padding: 18px; }
.mv-post-card__img img { border-radius: 10px; margin-bottom: 12px; }
.mv-post-card h2 { font-size: 22px; }
.mv-post-card h2 a { text-decoration: none; color: inherit; }

/* Pie */
.mv-footer { background: #17301f; color: #c7d3c4; margin-top: 24px; font-size: 14px; }
.mv-footer a { color: #e4ece1; text-decoration: none; }
.mv-footer a:hover { color: #fff; text-decoration: underline; }
.mv-footer__grid { display: grid; gap: 28px; padding-top: 48px; padding-bottom: 32px; grid-template-columns: 1fr 1fr; }
.mv-footer__about { grid-column: 1 / -1; }
.mv-footer .mv-logo img { max-height: 56px; filter: brightness(0) invert(1); opacity: .92; }
.mv-footer .mv-logo__text { color: #fff; }
.mv-footer__title { font: 600 13px var(--mv-font); text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 12px; }
.mv-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mv-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0 84px; font-size: 13px; color: #8fa18c; }
@media (min-width: 900px) { .mv-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .mv-footer__about { grid-column: auto; } .mv-footer__bottom { padding-bottom: 16px; } }

/* WhatsApp */
.mv-wa { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.2); transition: transform .15s; }
.mv-wa:hover { color: #fff; transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Carrito/checkout dentro de widgets de Elementor: el editor de texto agrega <br> sueltos */
.woocommerce a.button br, .woocommerce button.button br, .woocommerce .return-to-shop br { display: none; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .mv-btn { text-transform: none; letter-spacing: normal; line-height: 1.2; }
.woocommerce .return-to-shop { margin: 8px 0 0; }
.woocommerce-info::before, .woocommerce-message::before, .woocommerce-error::before { display: none; }
.woocommerce-info, .woocommerce-message, .woocommerce-error { padding: 14px 18px !important; margin: 0 0 16px !important; box-shadow: var(--mv-shadow); }
.woocommerce-message .button, .woocommerce-info .button { float: right; min-height: 36px; padding: 6px 14px; font-size: 13px; }
.mv-shop .elementor-section.elementor-section-boxed > .elementor-container { max-width: none; }
.mv-shop .elementor-column-gap-default > .elementor-column > .elementor-element-populated { padding: 0; }

/* El plugin "Envo Elementor for WooCommerce" pinta en naranjo/mayúsculas todo botón dentro de Elementor */
.mv-main .elementor-element .button, .mv-main .elementor-element button[type="submit"], .mv-main .elementor-element input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7em 1.3em;
	border-radius: 999px; border: 1.5px solid transparent; background: var(--mv-green-100); color: var(--mv-green-900);
	font: 600 15px/1.2 var(--mv-font); text-transform: none; letter-spacing: normal; box-shadow: none;
}
.mv-main .elementor-element .button:hover, .mv-main .elementor-element button[type="submit"]:hover { background: #d5e5cf; color: var(--mv-green-900); }
.mv-main .elementor-element .button.alt, .mv-main .elementor-element .checkout-button, .mv-main .elementor-element #place_order { background: var(--mv-green-700); color: #fff; }
.mv-main .elementor-element .button:disabled, .mv-main .elementor-element .button[disabled] { opacity: .45; cursor: not-allowed; }
.woocommerce table.cart td.actions { padding: 14px; }
.woocommerce table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px !important; height: 46px; border: 1.5px solid var(--mv-line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 14px; background: var(--mv-paper); margin: 0 !important; }
.woocommerce table.cart td.product-remove a.remove { color: var(--mv-muted) !important; font-weight: 400; }
.woocommerce table.cart td.product-remove a.remove:hover { background: var(--mv-earth-100); color: var(--mv-earth) !important; }
.woocommerce table.cart td.product-name a { color: var(--mv-ink); font-weight: 600; text-decoration: none; }
@media (max-width: 768px) { .woocommerce table.cart td.actions .coupon { flex-wrap: wrap; } .woocommerce table.cart td.actions .coupon .input-text { width: 100% !important; } }

/* Checkout y Mi cuenta usan la plantilla "Elementor ancho completo": darles el mismo ancho que el resto */
body.woocommerce-page > .woocommerce,
body.woocommerce-page > .elementor,
body.elementor-template-full-width > .woocommerce { width: 100%; max-width: var(--mv-max); margin: 0 auto; padding: 28px 16px 64px; }
@media (min-width: 768px) { body.woocommerce-page > .woocommerce, body.elementor-template-full-width > .woocommerce { padding: 36px 24px 72px; } }
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-size: 22px; margin: 8px 0 14px; }
.woocommerce form .form-row.woocommerce-invalid label { color: inherit; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--mv-line); }
.woocommerce form .form-row.woocommerce-validated input.input-text, .woocommerce form .form-row.woocommerce-validated select { border-color: var(--mv-line); }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row select:focus, .woocommerce form .form-row textarea:focus { border-color: var(--mv-green-500); outline: none; box-shadow: 0 0 0 3px var(--mv-green-100); }
.woocommerce form .form-row .required { color: var(--mv-earth); text-decoration: none; }

/* ---------- Cuenta: menú del encabezado ---------- */
.mv-account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--mv-ink); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px; border-radius: 999px; cursor: pointer; }
.mv-account-link:hover { background: var(--mv-green-100); color: var(--mv-green-900); }
@media (max-width: 699px) { .mv-account-link__text { display: none; } }
.mv-account { position: relative; }
.mv-account > summary { list-style: none; }
.mv-account > summary::-webkit-details-marker { display: none; }
.mv-account[open] > summary { background: var(--mv-green-100); }
.mv-account__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; box-shadow: var(--mv-shadow); z-index: 80; }
.mv-account__menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--mv-ink); text-decoration: none; font-size: 14px; }
.mv-account__menu a:hover { background: var(--mv-green-100); }
.mv-account__logout { border-top: 1px solid var(--mv-line); margin-top: 6px; padding-top: 6px; }
.mv-account__logout a { color: var(--mv-muted); }

/* ---------- Mi cuenta ---------- */
.woocommerce-account .woocommerce { display: grid; gap: 24px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px minmax(0, 1fr); align-items: start; } }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { color: var(--mv-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; color: var(--mv-muted); }
@media (max-width: 899px) {
	.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; border-radius: 999px; }
	.woocommerce-account .woocommerce-MyAccount-navigation li a { white-space: nowrap; border-bottom: 0; padding: 10px 14px; font-size: 14px; }
}
.mv-dash { display: grid; gap: 18px; }
.mv-dash__hello { font-size: clamp(26px, 3.4vw, 34px); margin: 0; }
.mv-dash__card { background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); padding: clamp(16px, 3vw, 24px); }
.mv-dash__card h3 { font-size: 22px; margin: 0 0 4px; }
.mv-dash__link { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: #fbf4e4; border-color: #ecd9ae; }
.mv-dash__link p { margin: 4px 0 0; color: var(--mv-muted); font-size: 14px; }
.mv-dash__last-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mv-dash__meta { margin: 0; color: var(--mv-muted); font-size: 14px; }
.mv-dash__thumbs { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mv-dash__thumbs li { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--mv-green-100); }
.mv-dash__thumbs img { width: 100%; height: 100%; object-fit: cover; margin: 0 !important; }
.mv-dash__thumbs span { position: absolute; right: 3px; bottom: 3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: rgba(31, 42, 34, .8); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.mv-dash__more { display: grid; place-items: center; font-weight: 600; color: var(--mv-green-700); }
.mv-dash__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mv-dash__tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .mv-dash__tiles { grid-template-columns: repeat(4, 1fr); } }
.mv-dash__tiles a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 12px; text-decoration: none; color: var(--mv-ink); }
.mv-dash__tiles a:hover { border-color: var(--mv-green-500); }
.mv-dash__tiles span { font-size: 13px; color: var(--mv-muted); }
.mv-status { display: inline-block; white-space: nowrap; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--mv-green-100); color: var(--mv-green-900); }
.mv-status--processing { background: #fbf0d4; color: #7a5a12; }
.mv-status--on-hold, .mv-status--pending { background: var(--mv-earth-100); color: var(--mv-earth); }
.mv-status--cancelled, .mv-status--failed, .mv-status--refunded { background: #eee; color: #666; }
.woocommerce-account table.woocommerce-orders-table .button { min-height: 36px; padding: 6px 12px; font-size: 13px; margin: 2px 4px 2px 0; }
.woocommerce-account table.woocommerce-orders-table .button.mv-pedir { background: var(--mv-green-700); color: #fff; }
.woocommerce-checkout .woocommerce-account-fields { margin-top: 8px; }
.woocommerce-checkout .create-account label.checkbox { display: flex; gap: 8px; align-items: flex-start; background: var(--mv-green-100); padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.woocommerce-account .woocommerce::before, .woocommerce-account .woocommerce::after,
.woocommerce-checkout form.checkout::before, .woocommerce-checkout form.checkout::after { display: none !important; }
.mv-account-link__text { white-space: nowrap; }

.mv-backdrop[hidden] { display: none; }
@media (min-width: 900px) { .mv-backdrop { display: none !important; } }
@media (max-width: 599px) { .mv-topbar__sep, .mv-topbar__msg + .mv-topbar__sep ~ .mv-topbar__msg { display: none; } }

/* ---------- Acceso con código ---------- */
.mv-login { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 860px) { .mv-login { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.mv-login__card { background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); padding: clamp(20px, 3.5vw, 32px); }
.mv-login__card h2 { font-size: 26px; margin-bottom: 6px; }
.mv-login__lead { color: var(--mv-muted); margin: 0 0 16px; }
.mv-login__form { display: grid; gap: 10px; }
.mv-login__form label { font-weight: 500; font-size: 14px; }
.mv-login__form .input-text { height: 50px; border: 1.5px solid var(--mv-line); border-radius: 12px; padding: 0 16px; font: inherit; font-size: 16px; background: var(--mv-cream); }
.mv-login__form .input-text:focus { outline: none; border-color: var(--mv-green-500); box-shadow: 0 0 0 3px var(--mv-green-100); }
.mv-otp-input { text-align: center; letter-spacing: 10px; font-size: 26px !important; font-weight: 600; }
.mv-login__submit { width: 100%; min-height: 50px; }
.mv-login__links { margin: 12px 0 0; font-size: 14px; color: var(--mv-muted); }
.mv-linkbtn { background: none; border: 0; padding: 0; color: var(--mv-green-700); text-decoration: underline; cursor: pointer; font: inherit; }
.mv-login__password { margin-top: 20px; border-top: 1px solid var(--mv-line); padding-top: 14px; }
.mv-login__password summary { cursor: pointer; color: var(--mv-muted); font-size: 14px; }
.mv-login__password form { margin-top: 12px; border: 0 !important; padding: 0 !important; }
.mv-login__register form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; }

/* Confirmación de pedido y seguimiento */
.mv-box-web { background: #fbf4e4; border: 1px solid #ecd9ae; border-radius: 12px; padding: 18px 20px; margin: 0 0 24px; }
.mv-box-web h2 { font-size: 22px; margin: 0 0 10px; }
.mv-datos-web { width: 100%; border-collapse: collapse; }
.mv-datos-web th, .mv-datos-web td { text-align: left; padding: 6px 0; border-bottom: 1px solid #ecd9ae; font-size: 15px; }
.mv-datos-web th { color: var(--mv-muted); font-weight: 500; width: 40%; }
.mv-tracking { background: #f5faf3; border: 1px solid #d5e5cf; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; }
.mv-tracking code { background: #fff; padding: 2px 6px; border-radius: 6px; }

/* Passkeys */
.mv-login__pk { margin-top: 12px; }
.mv-pk-login { width: 100%; min-height: 48px; }
.mv-pk-login__msg, .mv-pk__msg { font-size: 14px; color: var(--mv-muted); margin: 6px 0 0; min-height: 1em; }
.mv-pk { margin-top: 24px; }
.mv-pk__list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.mv-pk__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: var(--mv-cream); border-radius: 10px; font-size: 14px; }
.mv-pk__list form { margin: 0; }

/* Mi cuenta en celular: que el contenido no se salga del ancho */
.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 240px minmax(0, 1fr); } }
.woocommerce-account .woocommerce-MyAccount-navigation { min-width: 0; }

.woocommerce-account .mv-account-head { grid-column: 1 / -1; }
.woocommerce-account .mv-account-head .mv-dash__hello { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-content > :first-child { margin-top: 0; }

/* ---------- Asistente guiado ---------- */
.mv-as-fab { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: var(--mv-green-700); color: #fff; font: 600 15px var(--mv-font); box-shadow: 0 8px 24px rgba(20, 40, 25, .28); cursor: pointer; transition: transform .15s; }
.mv-as-fab:hover { transform: translateY(-1px); }
.mv-as-fab .mv-icon { width: 22px; height: 22px; }
.mv-as-open .mv-as-fab { display: none; }
.mv-as { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 32px)); display: flex; flex-direction: column; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .22); overflow: hidden; }
.mv-as[hidden] { display: none; }
@media (max-width: 560px) { .mv-as { inset: 0; width: auto; height: auto; border-radius: 0; border: 0; } }
.mv-as__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--mv-green-700); color: #fff; }
.mv-as__head strong { display: block; font: 700 17px var(--mv-serif); }
.mv-as__head small { opacity: .85; font-size: 12.5px; }
.mv-as__close { background: none; border: 0; color: #fff; padding: 6px; border-radius: 8px; cursor: pointer; }
.mv-as__close:hover { background: rgba(255,255,255,.12); }
.mv-as__body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--mv-cream); overscroll-behavior: contain; }
.mv-as__msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; }
.mv-as__msg p { margin: 0 0 8px; }
.mv-as__msg--bot { align-self: flex-start; background: var(--mv-paper); border: 1px solid var(--mv-line); border-top-left-radius: 4px; }
.mv-as__msg--wide { max-width: 100%; width: 100%; }
.mv-as__msg--me { align-self: flex-end; background: var(--mv-green-100); color: var(--mv-ink); border-top-right-radius: 4px; }
.mv-as__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mv-as__chip { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--mv-line); font-size: 13px; text-decoration: none; color: var(--mv-ink); background: var(--mv-cream); }
.mv-as__cards { display: grid; gap: 8px; }
.mv-as__card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; background: var(--mv-cream); }
.mv-as__card img, .mv-as__noimg { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; background: var(--mv-green-100); display: block; }
.mv-as__card-txt { display: grid; gap: 1px; min-width: 0; }
.mv-as__card-txt a { font-weight: 600; font-size: 14px; color: var(--mv-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mv-as__card-txt small { color: var(--mv-muted); font-size: 12px; }
.mv-as__fp { font-weight: 600; color: var(--mv-earth); }
.mv-as__price { font-weight: 700; color: var(--mv-green-900); font-size: 14px; }
.mv-as__price del { font-weight: 400; color: var(--mv-muted); font-size: 12px; }
.mv-as__add { border: 0; border-radius: 999px; padding: 8px 12px; background: var(--mv-green-700); color: #fff; font: 600 13px var(--mv-font); cursor: pointer; white-space: nowrap; }
.mv-as__add:disabled { opacity: .7; cursor: default; }
.mv-as__more { margin-top: 8px; width: 100%; padding: 8px; border-radius: 10px; border: 1px dashed var(--mv-line); background: transparent; color: var(--mv-green-700); font: 600 13px var(--mv-font); cursor: pointer; }
.mv-as__more[hidden] { display: none; }
.mv-as__link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.mv-as__foot { padding: 10px 12px 12px; border-top: 1px solid var(--mv-line); background: var(--mv-paper); max-height: 46%; overflow-y: auto; }
.mv-as__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.mv-as__opt { border: 1.5px solid var(--mv-green-700); background: transparent; color: var(--mv-green-700); border-radius: 999px; padding: 8px 12px; font: 600 13.5px var(--mv-font); cursor: pointer; text-align: left; }
.mv-as__opt:hover { background: var(--mv-green-100); }
.mv-as__opt--small { margin-top: 8px; padding: 5px 10px; font-size: 12.5px; }
.mv-as__search { display: flex; gap: 6px; }
.mv-as__search input { flex: 1; min-width: 0; height: 42px; border: 1.5px solid var(--mv-line); border-radius: 999px; padding: 0 14px; font: inherit; font-size: 15px; background: var(--mv-cream); color: var(--mv-ink); }
.mv-as__go { border: 0; border-radius: 999px; padding: 0 16px; background: var(--mv-green-700); color: #fff; font: 600 14px var(--mv-font); cursor: pointer; }
.mv-as__wa { display: inline-block; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: #25d366; color: #fff !important; text-decoration: none; font-weight: 600; }
.mv-as__typing { display: inline-flex; gap: 4px; }
.mv-as__typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--mv-muted); animation: mv-as-dot 1s infinite ease-in-out; }
.mv-as__typing span:nth-child(2) { animation-delay: .15s; } .mv-as__typing span:nth-child(3) { animation-delay: .3s; }
@keyframes mv-as-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 560px) { .mv-as-open { overflow: hidden; } }
.mv-is-dark .mv-as__opt { color: var(--mv-green-500); border-color: var(--mv-green-500); }
.mv-is-dark .mv-as__more { color: var(--mv-green-500); }

/* Encabezado en celular: logo centrado y con aire arriba y abajo */
@media (max-width: 899px) {
	.mv-header__row { grid-template-columns: 1fr auto 1fr; min-height: 0; padding-top: 8px; row-gap: 8px; }
	.mv-burger { justify-self: start; }
	.mv-header .mv-logo { justify-self: center; padding: 2px 0; }
	.mv-header .mv-logo img { max-height: 44px; width: auto; }
	.mv-header__actions { gap: 2px; }
	.mv-search { padding-bottom: 10px; }
}
@media (max-width: 360px) { .mv-theme-toggle { width: 34px; } .mv-header .mv-logo img { max-height: 38px; } }

/* ---------- Conócenos / Aprende / Artículo ---------- */
.mv-nav__list > li.mv-nav__page > a { color: var(--mv-earth); }
/* En escritorio van en la barra superior; en el menú lateral del celular, al final. */
.mv-topbar .mv-container { position: relative; }
.mv-topbar__links { display: none; }
@media (min-width: 900px) {
	.mv-nav__list > li.mv-nav__page { display: none; }
	.mv-topbar__links { display: flex; gap: 18px; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
	.mv-topbar__links a { color: #f1efe6; font-weight: 500; }
	.mv-topbar__links a:hover { text-decoration: underline; }
}
.mv-nav__list > li.is-current > a { color: var(--mv-green-700); text-decoration: underline; text-underline-offset: 6px; }
.mv-about__hero { background: var(--mv-green-100); padding: clamp(28px, 6vw, 64px) 0; }
.mv-about__hero-grid { display: grid; gap: 28px; align-items: center; }
.mv-about__lead { font-size: clamp(17px, 2vw, 20px); color: var(--mv-muted); max-width: 560px; margin: 8px 0 0; }
.mv-about__photo img { width: 100%; height: auto; max-height: 360px; object-fit: cover; border-radius: 20px; display: block; }
@media (min-width: 860px) { .mv-about__hero-grid { grid-template-columns: 1.1fr .9fr; } }
.mv-about__grid { display: grid; gap: 24px; align-items: start; }
.mv-about__grid > * { min-width: 0; }
@media (min-width: 900px) { .mv-about__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.mv-about__story p:last-child { margin-bottom: 0; }
.mv-about__values { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mv-about__values li { display: flex; gap: 14px; align-items: flex-start; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); padding: 16px; }
.mv-about__values svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--mv-green-700); margin-top: 2px; }
.mv-about__values strong { display: block; }
.mv-about__values span { color: var(--mv-muted); font-size: 14px; }
.mv-about__ig #sb_instagram { padding: 0 !important; }
.mv-learn__head { max-width: 720px; padding: clamp(20px, 4vw, 40px) 0 8px; }
.mv-learn__head .mv-section__lead p { margin: 0; }
.mv-learn__grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.mv-learn__card { display: flex; flex-direction: column; gap: 6px; height: 100%; background: var(--mv-paper); border: 1px solid var(--mv-line); border-radius: var(--mv-radius); overflow: hidden; color: inherit; text-decoration: none; padding-bottom: 18px; transition: box-shadow .15s, transform .15s; }
.mv-learn__card:hover { box-shadow: var(--mv-shadow); transform: translateY(-2px); }
.mv-learn__img { aspect-ratio: 16 / 10; background: var(--mv-earth-100); display: grid; place-items: center; margin-bottom: 8px; }
.mv-learn__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv-learn__img svg { width: 40px; height: 40px; color: var(--mv-earth); }
.mv-learn__meta { font-size: 13px; color: var(--mv-muted); padding: 0 18px; }
.mv-learn__title { font-family: var(--mv-serif); font-size: 19px; line-height: 1.25; padding: 0 18px; }
.mv-learn__excerpt { color: var(--mv-muted); font-size: 14px; padding: 0 18px; }
.mv-learn__pag { margin: 24px 0; display: flex; gap: 8px; }
.mv-article__wrap { max-width: 860px; padding-top: 24px; }
.mv-article__head { margin-bottom: 18px; }
.mv-article__head .mv-learn__meta { padding: 0; }
.mv-article__img img { width: 100%; height: auto; border-radius: 20px; display: block; margin-bottom: 20px; }
.mv-article__body img { max-width: 100%; height: auto; border-radius: 12px; }
.mv-article__body .elementor-section .elementor-container { max-width: 100% !important; }

/* Si el feed no trae fotos (token vencido, sin conexión), se muestra solo la tarjeta. */
.mv-ig-fallback { display: none; padding: 28px; border-radius: 20px; background: var(--mv-earth-100); color: inherit; text-decoration: none; text-align: center; }
.mv-ig-fallback strong { display: block; font-family: var(--mv-serif); font-size: 22px; }
.mv-ig-fallback span { color: var(--mv-muted); }
.mv-about__ig:not(:has(#sbi_images > *)) .mv-ig-fallback { display: block; }
.mv-about__ig:not(:has(#sbi_images > *)) #sb_instagram { display: none; }

.mv-topbar__links a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.mv-article__body, .mv-article__body .elementor-widget-text-editor { text-align: left !important; }
@media (min-width: 700px) and (max-width: 999px) { .mv-rel ul.products > li:nth-child(4) { display: none; } }

/* Checkout en escritorio: el resumen del pedido parte arriba, junto al formulario (no debajo). */
@media (min-width: 1000px) {
	.woocommerce-checkout form.checkout { grid-template-rows: auto 1fr; }
	.woocommerce-checkout #customer_details { grid-row: 1 / span 2; }
	.woocommerce-checkout #order_review { grid-row: 2; }
}