/* ==========================================================================
   Marhego – estilos principales
   Índice:
   1. Variables          6. Portada
   2. Base               7. Tarjetas y rejillas
   3. Utilidades         8. Blog y artículos
   4. Cabecera           9. Pie
   5. Botones/enlaces   10. Responsive
   ========================================================================== */

/* 1. Variables ------------------------------------------------------------ */
:root {
	--c-bg: #f5f2ed;          /* fondo hueso */
	--c-surface: #ffffff;
	--c-sand: #e9e3d8;        /* arena, para placeholders y bloques */
	--c-ink: #111110;         /* texto principal */
	--c-stone: #5c5951;       /* texto secundario */
	--c-line: rgba(17, 17, 16, 0.14);
	--c-clay: #a4593a;        /* acento terracota */
	--c-on-dark: #f5f2ed;

	--font: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;

	--fs-xs: 0.8125rem;   /* 13 */
	--fs-sm: 0.875rem;    /* 14 */
	--fs-base: 1rem;      /* 16 */
	--fs-md: 1.25rem;     /* 20 */
	--fs-lg: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
	--fs-xl: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
	--fs-hero: clamp(2.5rem, 1.2rem + 4.6vw, 5.75rem);

	--gutter: clamp(20px, 3vw, 48px);
	--max: 1680px;
	--narrow: 760px;
	--space-section: clamp(64px, 9vw, 140px);
	--radius: 2px;

	--header-h: 64px;
	--announce-h: 32px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-ink);
	font-family: var(--font);
	font-size: var(--fs-base);
	font-weight: 400;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

p { margin: 0 0 1em; }

button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

input, textarea, select { font: inherit; color: inherit; }

:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }

::selection { background: var(--c-ink); color: var(--c-bg); }

/* 3. Utilidades ----------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.section { padding-block: var(--space-section) 0; }
.section--tight { padding-block: clamp(32px, 4vw, 56px) var(--space-section); }
.site-main > .section:last-child { padding-bottom: var(--space-section); }

.section-title { font-size: var(--fs-lg); margin-bottom: clamp(24px, 3vw, 40px); }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head .section-title { margin: 0; }

.eyebrow {
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--c-stone);
	margin-bottom: 1rem;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 999;
	padding: 10px 16px; background: var(--c-ink); color: var(--c-bg);
}

/* Contenedor de imagen con proporción fija */
.media { position: relative; overflow: hidden; background: var(--c-sand); }
.media__img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 1.2s var(--ease), opacity 0.5s var(--ease);
}
.media__img--hover { position: absolute; inset: 0; opacity: 0; }
.media.has-hover:hover .media__img--hover { opacity: 1; }

.media__placeholder {
	position: absolute; inset: 0;
	display: flex; align-items: flex-end;
	padding: 16px;
	background:
		radial-gradient(120% 90% at 30% 20%, #efe9df 0%, transparent 60%),
		linear-gradient(160deg, #e6dfd2 0%, #d9cfbf 100%);
	color: rgba(17, 17, 16, 0.35);
	font-size: var(--fs-xs);
}

/* 4. Cabecera ------------------------------------------------------------- */
.site-top {
	position: sticky;
	top: 0;
	z-index: 50;
}

.announcement {
	height: var(--announce-h);
	display: flex; align-items: center; justify-content: center;
	padding-inline: var(--gutter);
	background: var(--c-ink);
	color: var(--c-on-dark);
	font-size: var(--fs-xs);
	text-align: center;
}
.announcement p { margin: 0; }
.announcement a:hover { text-decoration: underline; }

.site-header {
	position: relative;
	background: var(--c-bg);
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-line);
	transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.site-header__inner {
	height: var(--header-h);
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 48px);
}

.site-header__logo { flex: none; }
.site-logo--text {
	font-size: 1.625rem;
	font-weight: 500;
	letter-spacing: -0.04em;
	line-height: 1;
}
.custom-logo-link img { max-height: 36px; width: auto; }
.has-overlay-header .site-top:not(.is-solid) .custom-logo-link img { filter: brightness(0) invert(1); }

.site-header__nav .nav-menu {
	display: flex;
	gap: clamp(16px, 2vw, 32px);
	list-style: none;
	margin: 0; padding: 0;
	font-size: var(--fs-sm);
}
.nav-menu > li { position: relative; }
.nav-menu a {
	display: inline-block;
	padding-block: 6px;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size 0.35s var(--ease);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a { background-size: 100% 1px; }

/* Submenú desplegable */
.nav-menu .sub-menu {
	position: absolute;
	top: 100%; left: -20px;
	min-width: 220px;
	margin: 0; padding: 14px 20px;
	list-style: none;
	background: var(--c-bg);
	color: var(--c-ink);
	border: 1px solid var(--c-line);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { padding-block: 5px; }

.site-header__right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 32px);
}

.site-header__icons {
	display: flex; align-items: center; gap: 6px;
	list-style: none; margin: 0; padding: 0;
}

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	position: relative;
	border-radius: 50%;
	transition: background-color 0.25s var(--ease);
}
.icon-btn:hover { background: rgba(127, 127, 127, 0.12); }
.icon-btn--round { border: 1px solid var(--c-line); }

.cart-count {
	position: absolute; top: 4px; right: 2px;
	min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: 8px;
	background: var(--c-ink); color: var(--c-bg);
	font-size: 10px; line-height: 16px; text-align: center;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }

.site-header__toggle { display: none; }

/* Cabecera transparente sobre la imagen principal */
.has-overlay-header .site-top {
	position: fixed;
	left: 0; right: 0;
}
.has-overlay-header .site-top:not(.is-solid) .site-header {
	background: transparent;
	color: var(--c-on-dark);
	border-color: rgba(255, 255, 255, 0.22);
}
.has-overlay-header .site-top:not(.is-solid) .cart-count { background: var(--c-on-dark); color: var(--c-ink); }
.has-overlay-header .site-top.is-hidden { transform: translateY(-100%); }
.site-top { transition: transform 0.4s var(--ease); }

/* Buscador desplegable */
.search-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--c-bg);
	color: var(--c-ink);
	border-bottom: 1px solid var(--c-line);
	padding-block: 28px;
}
.search-panel[hidden] { display: none; }

.search-form { display: flex; align-items: center; border-bottom: 1px solid var(--c-ink); max-width: 720px; }
.search-form__input {
	flex: 1;
	border: 0; background: transparent;
	padding: 12px 0;
	font-size: var(--fs-md);
	outline: none;
}
.search-form__submit { width: 44px; height: 44px; display: grid; place-items: center; }

/* Menú móvil */
.mobile-menu {
	position: fixed; inset: 0; z-index: 100;
	background: var(--c-bg);
	padding: 0 var(--gutter) 40px;
	overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__list { list-style: none; margin: 24px 0 0; padding: 0; font-size: var(--fs-lg); letter-spacing: -0.02em; }
.mobile-menu__list li { border-bottom: 1px solid var(--c-line); }
.mobile-menu__list a { display: block; padding: 14px 0; }
.mobile-menu__list .sub-menu { list-style: none; padding: 0 0 12px; margin: 0; font-size: var(--fs-md); color: var(--c-stone); }
.mobile-menu__list .sub-menu li { border: 0; }
.mobile-menu__list .sub-menu a { padding: 6px 0; }

/* Menú móvil en acordeón (v0.5): nivel 1 → columnas (nivel 2) → enlaces (nivel 3) */
.mobile-menu__list li.has-accordion { position: relative; }
.mobile-menu__list li.has-accordion > a { padding-right: 48px; }
.mobile-menu__expand {
	position: absolute; top: 0; right: -10px;
	width: 48px; height: 58px;
	display: grid; place-items: center;
	color: inherit;
}
.mobile-menu__expand::before,
.mobile-menu__expand::after {
	content: ""; grid-area: 1 / 1;
	width: 14px; height: 1px; background: currentColor;
	transition: transform 0.3s var(--ease);
}
.mobile-menu__expand::after { transform: rotate(90deg); }
.has-accordion.is-open > .mobile-menu__expand::after { transform: rotate(0deg); }
.mobile-menu__list .sub-menu .sub-menu { padding: 0 0 8px 14px; font-size: var(--fs-base); }
.mobile-menu__list .sub-menu .has-accordion > .mobile-menu__expand { height: 40px; }
.mobile-menu__list .sub-menu .has-accordion > a { color: var(--c-ink); }
.mobile-menu__list--small { font-size: var(--fs-md); }

/* 5. Botones y enlaces ---------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-size: var(--fs-sm);
	font-weight: 500;
	transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--dark { background: var(--c-ink); color: var(--c-bg); }
.btn--dark:hover { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn--light { background: var(--c-on-dark); color: var(--c-ink); }
.btn--light:hover { background: transparent; color: var(--c-on-dark); border-color: var(--c-on-dark); }
.btn--outline { border-color: currentColor; }
.btn--outline:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: var(--fs-sm);
	font-weight: 500;
}
.link-arrow span {
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 2px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.link-underline {
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: 2px;
}

/* 6. Portada -------------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: flex-end;
	color: var(--c-on-dark);
	isolation: isolate;
}
body:not(.has-overlay-header) .hero { min-height: calc(100svh - var(--header-h) - var(--announce-h)); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media .media__placeholder { background: linear-gradient(160deg, #5c5951 0%, #2a2925 100%); color: rgba(255,255,255,.4); justify-content: flex-end; }
.hero__media::after {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.45) 100%);
}
.hero__content { padding-block: 120px clamp(40px, 6vw, 88px); }
.hero .eyebrow { color: inherit; opacity: 0.85; }
.hero__title { font-size: var(--fs-hero); max-width: 14ch; margin-bottom: 0.35em; line-height: 1.02; }
.hero__text { font-size: var(--fs-md); max-width: 38ch; opacity: 0.9; margin-bottom: 2rem; }

/* Categorías */
.categories__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(12px, 1.4vw, 24px);
}
.categories__grid--3 { grid-template-columns: repeat(3, 1fr); }
.categories__grid--2 { grid-template-columns: repeat(2, 1fr); }
.categories__grid--1 { grid-template-columns: 1fr; }
.category-card { display: block; }
.category-card__media { aspect-ratio: 4 / 5; }
.category-card:hover .media__img { transform: scale(1.04); }
.category-card__title {
	display: flex; align-items: center; justify-content: space-between;
	padding-top: 14px;
	font-size: var(--fs-md);
	letter-spacing: -0.01em;
}
.category-card__title .icon { width: 20px; transition: transform 0.35s var(--ease); }
.category-card:hover .category-card__title .icon { transform: translateX(4px); }

/* Frase de marca */
.manifesto__grid {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: var(--gutter);
	padding-top: clamp(24px, 3vw, 40px);
	border-top: 1px solid var(--c-line);
}
.manifesto__text {
	font-size: var(--fs-xl);
	line-height: 1.12;
	letter-spacing: -0.025em;
	max-width: 22ch;
	margin-bottom: 1.2em;
}

/* Imagen + texto */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 0;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.split__media { aspect-ratio: 4 / 5; }
.split__content { padding: clamp(32px, 6vw, 120px); max-width: 640px; }
.split__title { font-size: var(--fs-lg); line-height: 1.15; }
.split__text { color: var(--c-stone); max-width: 44ch; margin-bottom: 2rem; }
.split--reverse .split__media { order: 2; }
.split--reverse .split__content { justify-self: end; }

/* Carrusel de productos */
.products__head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.products__head .section-title { margin: 0; }
.products__controls { display: flex; align-items: center; gap: 8px; }
.products__controls .link-arrow { margin-right: 16px; }
.products__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--gutter) * 2 - 3 * clamp(12px, 1.4vw, 24px)) / 4);
	gap: clamp(12px, 1.4vw, 24px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	scrollbar-width: none;
}
.products__track::-webkit-scrollbar { display: none; }
.product-card { scroll-snap-align: start; }
.product-card__media { aspect-ratio: 4 / 5; background: var(--c-surface); }
.product-card__info { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-size: var(--fs-sm); }
.product-card__title { font-size: inherit; letter-spacing: 0; margin: 0; }
.product-card__meta { color: var(--c-stone); margin: 0; white-space: nowrap; }
.product-card__meta del { opacity: 0.6; margin-right: 6px; }
.product-card__meta ins { text-decoration: none; }

/* Valores */
.values__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 2vw, 32px);
}
.value__media { aspect-ratio: 1 / 1; margin-bottom: 20px; }
.value__title { font-size: var(--fs-md); margin-bottom: 0.4em; letter-spacing: -0.01em; }
.value__text { color: var(--c-stone); max-width: 36ch; }

/* 7. Tarjetas y rejillas -------------------------------------------------- */
.article-grid {
	display: grid;
	gap: clamp(32px, 3vw, 48px) clamp(16px, 2vw, 32px);
}
.article-grid--2 { grid-template-columns: repeat(2, 1fr); }
.article-grid--3 { grid-template-columns: repeat(3, 1fr); }

.article-card { position: relative; }
.article-card__image { aspect-ratio: 4 / 3; margin-bottom: 18px; }
.article-grid--3 .article-card__image { aspect-ratio: 4 / 5; }
.article-card:hover .media__img { transform: scale(1.04); }
.article-card .eyebrow { margin-bottom: 0.5rem; }
.article-card__title { font-size: var(--fs-md); line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.8em; max-width: 30ch; }
.article-card__cta { font-size: var(--fs-sm); }
.article-card__link { position: absolute; inset: 0; z-index: 1; }

/* 8. Blog, páginas y artículos ------------------------------------------- */
.page-intro { padding-block: clamp(48px, 7vw, 120px) clamp(24px, 3vw, 40px); }
.page-intro__title { font-size: var(--fs-xl); max-width: 18ch; margin: 0; }
.page-intro__text { color: var(--c-stone); max-width: 52ch; margin-top: 1rem; }
.page-intro__search { margin-top: 32px; }
.page-intro--center { text-align: center; }
.page-intro--center .page-intro__title,
.page-intro--center .page-intro__text { margin-inline: auto; }
.page-intro--center .search-form { margin: 32px auto; }

.article-hero { padding-block: clamp(48px, 7vw, 120px) clamp(32px, 4vw, 56px); text-align: center; }
.article-hero__tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.article-hero__tags a {
	display: inline-block; padding: 6px 14px;
	border: 1px solid var(--c-line); border-radius: 100px;
	font-size: var(--fs-xs);
}
.article-hero__tags a:hover { border-color: var(--c-ink); }
.article-hero__title { font-size: var(--fs-xl); margin-inline: auto; max-width: 20ch; }
.article-hero__meta { color: var(--c-stone); font-size: var(--fs-sm); margin: 0; }

.article-banner {
	max-width: var(--max);
	margin-inline: auto;
	aspect-ratio: 16 / 8;
}
.article-banner .media__img { position: absolute; inset: 0; }

.article-body, .page-body { padding-block: clamp(40px, 6vw, 96px) 0; }

/* Contenido del editor */
.entry-content { font-size: 1.0625rem; line-height: 1.65; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content p { margin: 0; }
.entry-content p + p { margin-top: 1em; }
.entry-content h2 { font-size: var(--fs-lg); margin: 1.8em 0 0.6em; }
.entry-content h3 { font-size: var(--fs-md); margin: 1.6em 0 0.5em; }
.entry-content a:not(.btn):not(.wp-block-button__link) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 2em 0; padding: 0; border: 0;
	font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -0.02em;
}
.entry-content blockquote cite { display: block; margin-top: 1em; font-size: var(--fs-sm); color: var(--c-stone); font-style: normal; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { font-size: var(--fs-xs); color: var(--c-stone); margin-top: 10px; }
.entry-content .alignwide { width: min(100vw - var(--gutter) * 2, 1200px); margin-left: 50%; transform: translateX(-50%); max-width: none; }
.entry-content .alignfull { width: 100vw; margin-left: 50%; transform: translateX(-50%); max-width: none; }
.entry-content .wp-block-gallery { gap: clamp(12px, 1.4vw, 24px); }
.entry-content .wp-block-button__link { background: var(--c-ink); color: var(--c-bg); border-radius: var(--radius); padding: 14px 28px; font-size: var(--fs-sm); font-weight: 500; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--c-ink); border: 1px solid currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content hr { border: 0; border-top: 1px solid var(--c-line); margin: 3em 0; }
.entry-content--full > * { max-width: none; }
.entry-content--full > *:not(.alignfull) { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Paleta del editor */
.has-ink-color { color: var(--c-ink); } .has-ink-background-color { background-color: var(--c-ink); }
.has-stone-color { color: var(--c-stone); } .has-stone-background-color { background-color: var(--c-stone); }
.has-sand-color { color: var(--c-sand); } .has-sand-background-color { background-color: var(--c-sand); }
.has-bone-color { color: var(--c-bg); } .has-bone-background-color { background-color: var(--c-bg); }
.has-clay-color { color: var(--c-clay); } .has-clay-background-color { background-color: var(--c-clay); }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }

/* Paginación */
.pagination { margin-top: clamp(48px, 6vw, 80px); }
.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 6px; }
.pagination .page-numbers {
	min-width: 40px; height: 40px; padding: 0 8px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 20px; font-size: var(--fs-sm);
}
.pagination .page-numbers.current { background: var(--c-ink); color: var(--c-bg); }
.pagination a.page-numbers:hover { background: rgba(127,127,127,.12); }

/* Comentarios */
.comments__list { list-style: none; padding: 0; }
.comment-form input:not([type=submit]):not([type=checkbox]),
.comment-form textarea { width: 100%; padding: 12px; border: 1px solid var(--c-line); background: var(--c-surface); }
.comment-form .submit { background: var(--c-ink); color: var(--c-bg); border: 0; padding: 14px 28px; cursor: pointer; }

/* 9. Pie ------------------------------------------------------------------ */
.site-footer {
	margin-top: var(--space-section);
	background: var(--c-ink);
	color: var(--c-on-dark);
	font-size: var(--fs-sm);
}
.site-footer a:hover { opacity: 0.7; }

.site-footer__news {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gutter);
	align-items: end;
	padding-block: clamp(56px, 7vw, 112px) clamp(40px, 5vw, 72px);
	border-bottom: 1px solid rgba(245, 242, 237, 0.18);
}
.site-footer__news-title { font-size: var(--fs-xl); margin-bottom: 0.3em; }
.site-footer__news-text { color: rgba(245, 242, 237, 0.65); max-width: 40ch; margin: 0; }

.newsletter-form {
	display: flex; align-items: center;
	border-bottom: 1px solid rgba(245, 242, 237, 0.6);
}
.newsletter-form input {
	flex: 1; min-width: 0;
	padding: 14px 0;
	background: transparent; border: 0; outline: none;
	color: var(--c-on-dark);
	font-size: var(--fs-md);
}
.newsletter-form input::placeholder { color: rgba(245, 242, 237, 0.55); }
.newsletter-form button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--c-on-dark); }

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gutter);
	padding-block: clamp(40px, 5vw, 72px);
}
.site-footer__contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-group__title,
.link-group__title {
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0;
	margin-bottom: 12px;
	color: var(--c-on-dark);
}
.contact-group a,
.contact-group p { display: block; margin: 0 0 4px; color: rgba(245, 242, 237, 0.65); }
.site-footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.link-group__list { list-style: none; margin: 0; padding: 0; }
.link-group__list li { margin-bottom: 6px; }
.link-group__list a { color: rgba(245, 242, 237, 0.65); }
.link-group__list a:hover { color: var(--c-on-dark); opacity: 1; }

.site-footer__bottom {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
	padding-block: 28px 36px;
	border-top: 1px solid rgba(245, 242, 237, 0.18);
	color: rgba(245, 242, 237, 0.65);
	font-size: var(--fs-xs);
}
.site-footer__brand .site-logo--text { color: var(--c-on-dark); font-size: 1.375rem; }
.site-footer__brand .custom-logo-link img { filter: brightness(0) invert(1); }
.site-footer__meta { display: flex; align-items: center; gap: 12px; }
.site-footer__meta p { margin: 0; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* Formularios genéricos (CF7, MailPoet…) dentro del pie */
.site-footer input[type=email],
.site-footer input[type=text] { background: transparent; color: var(--c-on-dark); border: 0; border-bottom: 1px solid rgba(245,242,237,.6); padding: 12px 0; width: 100%; }
.site-footer input[type=submit] { background: var(--c-on-dark); color: var(--c-ink); border: 0; padding: 12px 24px; cursor: pointer; }

/* Animación de entrada suave */
@media (prefers-reduced-motion: no-preference) {
	.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
	.reveal.is-visible { opacity: 1; transform: none; }
}

/* 10. Responsive ---------------------------------------------------------- */
@media (max-width: 1100px) {
	.products__track { grid-auto-columns: calc((100% - var(--gutter) * 2 - 2 * 16px) / 2.6); }
	.site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
	:root { --header-h: 56px; }
	.site-header__nav { display: none; }
	.site-header__toggle { display: inline-flex; margin-left: -10px; }
	.site-header__inner { gap: 8px; }
	.site-header__logo { position: absolute; left: 50%; transform: translateX(-50%); }
	.hide-mobile { display: none !important; }

	.categories__grid,
	.categories__grid--3,
	.categories__grid--4 { grid-template-columns: repeat(2, 1fr); }
	.manifesto__grid { grid-template-columns: 1fr; }

	.split { grid-template-columns: 1fr; padding-inline: 0; }
	.split--reverse .split__media { order: 0; }
	.split__content { padding: 32px var(--gutter) 0; }

	.values__grid { grid-template-columns: 1fr; gap: 40px; }
	.value__media { aspect-ratio: 4 / 3; }

	.article-grid--3 { grid-template-columns: repeat(2, 1fr); }
	.site-footer__news { grid-template-columns: 1fr; }
	.site-footer__contact { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.products__track { grid-auto-columns: 72%; }
	.article-grid--2,
	.article-grid--3 { grid-template-columns: 1fr; }
	.site-footer__contact,
	.site-footer__links { grid-template-columns: 1fr; }
	.article-banner { aspect-ratio: 4 / 3; }
	.products__controls .icon-btn { display: none; }
}

/* ==========================================================================
   11. v0.2 – estructura editorial ampliada
   ========================================================================== */
:root {
	--c-tile: #ebe7df;        /* fondo de tarjetas de producto */
	--c-footer: #ece8e0;      /* pie claro */
	--sticky-offset: 96px;    /* lo recalcula main.js con la altura real de la cabecera */
}

/* Placeholder SVG */
.media__placeholder { padding: 0; display: block; }
.media__svg { width: 100%; height: 100%; display: block; }

/* Botón píldora (mayúsculas pequeñas, borde fino) */
.btn--pill {
	min-height: 40px; padding: 0 22px;
	border-radius: 999px;
	font-size: var(--fs-xs); font-weight: 500;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.btn--outline-light { border-color: currentColor; color: var(--c-on-dark); }
.btn--outline-light:hover { background: var(--c-on-dark); color: var(--c-ink); border-color: var(--c-on-dark); }
.btn--outline.btn--pill:hover { background: var(--c-ink); color: var(--c-bg); }

/* Insignia */
.badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	padding: 4px 8px;
	background: var(--c-bg); color: var(--c-ink);
	font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}

/* Barra de progreso de los carruseles */
.progress { position: relative; width: min(240px, 50%); height: 1px; margin: clamp(28px, 4vw, 56px) auto 0; background: var(--c-line); }
.progress span { position: absolute; top: -0.5px; left: 0; height: 2px; width: 30%; background: var(--c-ink); transition: left 0.2s linear; }

/* Cabecera: logo a la izquierda, menú centrado, iconos a la derecha */
@media (min-width: 901px) {
	.site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
	.site-header__right { margin-left: 0; justify-self: end; }
}

/* Megamenú (v0.5): un panel por elemento de nivel 1 */
.mega-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: var(--c-bg); color: var(--c-ink);
	border-top: 1px solid var(--c-line);
	box-shadow: 0 40px 60px -40px rgba(17, 17, 16, 0.3);
	animation: mega-in 0.3s var(--ease);
}
.mega-panel[hidden] { display: none; }
@keyframes mega-in { from { opacity: 0; } to { opacity: 1; } }
.mega-panel__inner {
	max-width: var(--max); margin-inline: auto;
	padding: clamp(32px, 3.4vw, 56px) var(--gutter) clamp(36px, 4vw, 64px);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 4vw, 80px);
}
.mega-panel__inner--no-photos { grid-template-columns: 1fr; }
.mega-panel__cols {
	display: grid;
	grid-template-columns: repeat(var(--mega-cols, 2), minmax(0, 1fr));
	gap: 32px clamp(20px, 2.4vw, 40px);
	align-content: start;
}
.mega-panel__title {
	display: block; margin: 0 0 14px;
	font-size: var(--fs-xs); font-weight: 500;
	letter-spacing: 0.08em; text-transform: uppercase;
}
.mega-panel__links { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); line-height: 1.35; }
.mega-panel__links li + li { margin-top: 7px; }
.mega-panel__links a,
.mega-panel__all a {
	color: var(--c-stone);
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: color 0.2s, background-size 0.35s var(--ease);
}
.mega-panel__links a:hover,
.mega-panel__all a:hover { color: var(--c-ink); background-size: 100% 1px; }
a.mega-panel__title:hover { color: var(--c-stone); }
.mega-panel__all { grid-column: 1 / -1; margin: 4px 0 0; font-size: var(--fs-sm); }
.mega-panel__all a { color: var(--c-ink); }
.mega-panel__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.mega-panel__photos--1 { grid-template-columns: minmax(0, 1fr); }
.mega-panel__photo { display: grid; gap: 10px; font-size: var(--fs-sm); }
.mega-panel__photo .media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-sand); }
.mega-panel__photos--1 .mega-panel__photo .media { aspect-ratio: 16 / 10; }
.mega-panel__photo .media__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mega-panel__photo:hover .media__img { transform: scale(1.03); }
.mega-panel__caption { color: var(--c-ink); }
.nav-menu > .menu-has-panel.is-open > a { background-size: 100% 1px; }
.site-header__nav--primary .nav-menu > li > a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1240px) {
	.site-header__nav--primary .nav-menu { gap: 14px; font-size: var(--fs-xs); }
}

/* Panel automático de categorías (v0.4, clase "menu-mega") */
.megamenu__inner {
	max-width: var(--max); margin-inline: auto;
	padding: clamp(28px, 3vw, 48px) var(--gutter);
	display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--gutter);
}
.megamenu__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; align-content: start; }
.megamenu__title { font-size: var(--fs-md); letter-spacing: -0.01em; }
.megamenu__col ul { list-style: none; margin: 10px 0 0; padding: 0; font-size: var(--fs-sm); color: var(--c-stone); }
.megamenu__col li { margin-bottom: 6px; }
.megamenu__col a:hover { color: var(--c-ink); }
.megamenu__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.megamenu__tile { display: grid; gap: 10px; font-size: var(--fs-sm); }
.megamenu__tile .media { aspect-ratio: 4 / 5; display: block; }
.megamenu__tile:hover .media__img { transform: scale(1.04); }

/* Carrito lateral (v0.7) */
body.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 100000; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__backdrop {
	position: absolute; inset: 0;
	background: rgba(17, 17, 16, 0.42);
	opacity: 0; transition: opacity 0.4s var(--ease);
}
.cart-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: clamp(420px, 41vw, 600px); max-width: 100%;
	display: flex; flex-direction: column;
	background: var(--c-bg); color: var(--c-ink);
	transform: translateX(100%); transition: transform 0.4s var(--ease);
	outline: none;
}
.cart-drawer.is-open .cart-drawer__backdrop { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
.cart-drawer__head {
	flex: none; display: flex; align-items: center; gap: 16px;
	padding: 18px var(--gutter);
	border-bottom: 1px solid var(--c-line);
}
.cart-drawer__title { margin: 0; font-size: var(--fs-md); font-weight: 400; letter-spacing: -0.01em; }
.cart-drawer__view { margin-left: auto; font-size: var(--fs-xs); }
.cart-drawer__close { margin-right: -10px; }
.cart-drawer__error { flex: none; margin: 0; padding: 12px var(--gutter); background: var(--c-clay); color: var(--c-on-dark); font-size: var(--fs-sm); }
.cart-drawer__error[hidden] { display: none; }
.cart-drawer__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cart-drawer__scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 var(--gutter) 24px; }
.cart-drawer__label,
.cart-drawer__empty-text { margin: 0 0 14px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.cart-drawer__empty { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: 20px; }
.cart-drawer__empty-text { color: var(--c-stone); }
.cart-drawer__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cart-drawer__tile { display: grid; gap: 10px; font-size: var(--fs-sm); }
.cart-drawer__tile .media { display: block; aspect-ratio: 4 / 5; }
.cart-drawer__progress { padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.cart-drawer__progress p { margin: 0 0 10px; }
.cart-drawer__bar { display: block; height: 2px; background: var(--c-line); }
.cart-drawer__bar i { display: block; height: 100%; background: var(--c-ink); transition: width 0.4s var(--ease); }
.cart-drawer__items { list-style: none; margin: 0; padding: 0; }
.cart-drawer__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--c-line); }
.cart-drawer__thumb { display: block; aspect-ratio: 1 / 1; }
.cart-drawer__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-drawer__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-drawer__name { margin: 0; font-size: var(--fs-base); font-weight: 400; letter-spacing: 0; }
.cart-drawer__meta { margin: 0; color: var(--c-stone); font-size: var(--fs-xs); }
.cart-drawer__meta dl { margin: 0; }
.cart-drawer__meta dt, .cart-drawer__meta dd { display: inline; margin: 0; }
.cart-drawer__meta dd p { display: inline; margin: 0; }
.cart-drawer__line { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 10px; font-size: var(--fs-sm); }
.cart-drawer__qty { display: inline-flex; align-items: center; border: 1px solid var(--c-line); border-radius: 999px; }
.cart-drawer__qty button { width: 32px; height: 32px; }
.cart-drawer__qty button:disabled { opacity: 0.3; cursor: default; }
.cart-drawer__qty span { min-width: 18px; text-align: center; }
.cart-drawer__remove { color: var(--c-stone); font-size: var(--fs-xs); text-decoration: underline; text-underline-offset: 3px; }
.cart-drawer__remove:hover { color: var(--c-ink); }
.cart-drawer__price { margin-left: auto; white-space: nowrap; }
.cart-drawer__suggest { padding-top: 22px; }
.cart-drawer__suggest-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; font-size: var(--fs-sm); }
.cart-drawer__foot { flex: none; padding: 14px var(--gutter) 20px; border-top: 1px solid var(--c-line); }
.cart-drawer__note { margin-bottom: 12px; font-size: var(--fs-sm); }
.cart-drawer__note summary { cursor: pointer; }
.cart-drawer__note p { margin: 8px 0 0; color: var(--c-stone); }
.cart-drawer__subtotal { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: var(--fs-base); }
.cart-drawer__taxes { margin: 0 0 14px; color: var(--c-stone); font-size: var(--fs-xs); }
.cart-drawer__checkout { width: 100%; }
.cart-drawer__loader { position: absolute; inset: 0; background: rgba(245, 242, 237, 0.55); cursor: progress; }
.cart-drawer__loader[hidden] { display: none; }
.is-loading { opacity: 0.55; pointer-events: none; }
@media (max-width: 600px) {
	.cart-drawer__panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.cart-drawer__panel, .cart-drawer__backdrop { transition: none; }
}

/* Botón «+» en las tarjetas */
.product-card-wrap { position: relative; height: 100%; scroll-snap-align: start; }
.product-card-wrap > .product-card:not(.product-card--tile) { display: block; }
.product-card__add {
	position: absolute; top: 12px; right: 12px; z-index: 3;
	width: 36px; height: 36px;
	display: grid; place-items: center;
	background: var(--c-bg); color: var(--c-ink); border-radius: 50%;
	opacity: 0; transition: opacity 0.2s, transform 0.2s;
}
.product-card__add svg { width: 16px; height: 16px; }
.product-card-wrap:hover .product-card__add,
.product-card__add:focus-visible { opacity: 1; }
.product-card__add:hover { transform: scale(1.08); }
.product-card__add.is-loading { opacity: 0.55; }
@media (hover: none) {
	.product-card__add { opacity: 1; }
}

/* Hero: texto abajo a la izquierda */
.hero__title { font-size: clamp(2.5rem, 1rem + 5vw, 6rem); max-width: 10ch; }
.hero__text { font-size: var(--fs-base); max-width: 30ch; }

/* Pestañas de categoría (lista grande + imagen) */
.cat-tabs {
	display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--gutter);
	align-items: center;
	max-width: var(--max); margin-inline: auto;
	padding: var(--space-section) var(--gutter) 0;
}
.cat-tabs__media { display: grid; grid-template-columns: 1fr 64px; gap: 12px; align-items: end; }
.cat-tabs__image { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; }
.cat-tabs__image[hidden] { display: none; }
.cat-tabs__thumbs { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 8px; }
.cat-tabs__thumb { width: 64px; aspect-ratio: 1; opacity: 0.45; transition: opacity 0.3s var(--ease); }
.cat-tabs__thumb.is-active, .cat-tabs__thumb:hover { opacity: 1; }
.cat-tabs__list { list-style: none; margin: 0 0 clamp(28px, 4vw, 56px); padding: 0; }
.cat-tabs__name {
	text-align: left;
	font-size: clamp(2rem, 1rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -0.025em;
	color: rgba(17, 17, 16, 0.32);
	transition: color 0.3s var(--ease);
}
.cat-tabs__name::before { content: '— '; opacity: 0; transition: opacity 0.3s var(--ease); }
.cat-tabs__name:hover { color: rgba(17, 17, 16, 0.6); }
.cat-tabs__name.is-active { color: var(--c-ink); }
.cat-tabs__name.is-active::before { opacity: 1; }
.cat-tabs__text { max-width: 44ch; font-size: var(--fs-sm); }
.cat-tabs__text p { margin-bottom: 28px; }
.cat-tabs__text[hidden] { display: none; }

/* Frase + galería horizontal */
.benefits__labels { display: flex; gap: clamp(24px, 6vw, 96px); }
.benefits__labels .eyebrow { text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-ink); }
.benefits__text {
	font-size: clamp(1.75rem, 1rem + 2.2vw, 3.25rem); line-height: 1.12; letter-spacing: -0.025em;
	max-width: 32ch; margin-bottom: clamp(40px, 6vw, 96px);
}
.benefits__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: clamp(240px, 32vw, 520px);
	gap: clamp(16px, 2vw, 32px);
	overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	align-items: start;
}
.benefits__track::-webkit-scrollbar { display: none; }
.benefit { margin: 0; scroll-snap-align: start; }
.benefit--low { margin-top: clamp(40px, 8vw, 140px); }
.benefit__media { aspect-ratio: 1; margin-bottom: 12px; }
.benefit figcaption { font-size: var(--fs-sm); }

/* Diapositivas a ancho completo */
.slideshow { position: relative; margin-top: var(--space-section); height: min(92svh, 900px); min-height: 520px; overflow: hidden; color: var(--c-on-dark); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { position: absolute; inset: 0; }
.slide__media .media__img, .slide__media .media__placeholder { position: absolute; inset: 0; }
.slide__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%); }
.slide__content { position: absolute; right: var(--gutter); bottom: clamp(48px, 8vw, 120px); width: min(400px, 80%); z-index: 1; }
.slide__content .eyebrow { color: inherit; text-transform: uppercase; letter-spacing: 0.06em; }
.slide__title { font-size: var(--fs-xl); line-height: 1.02; }
.slide__text { font-size: var(--fs-sm); opacity: 0.9; margin-bottom: 24px; }
.slideshow__dots { position: absolute; left: var(--gutter); bottom: 32px; display: flex; gap: 8px; z-index: 2; }
.slideshow__dot { width: 28px; height: 2px; background: rgba(255, 255, 255, 0.4); }
.slideshow__dot.is-active { background: #fff; }

/* Fila de productos con pestañas */
.product-row__head {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.product-row__title { font-size: var(--fs-xl); margin: 0; }
.product-row__controls { display: flex; align-items: center; gap: 8px; }
.product-row__controls .link-arrow { margin-right: 16px; }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pill-tabs__btn {
	padding: 7px 14px; border: 1px solid var(--c-line); border-radius: 999px;
	font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
	transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pill-tabs__btn:hover { border-color: var(--c-ink); }
.pill-tabs__btn.is-active { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }
.product-row__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - var(--gutter) * 2 - 3 * 16px) / 4);
	gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	scroll-padding-inline: var(--gutter);
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.product-row__track::-webkit-scrollbar { display: none; }
.product-card[hidden] { display: none; }
.product-card__media { background: var(--c-tile); }
.product-card__info { display: block; }
.product-card__title { font-size: var(--fs-base); margin: 0 0 4px; }
.product-card__line { margin: 0; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-stone); }
.product-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.product-card__price { margin: 0; font-size: var(--fs-sm); color: var(--c-stone); white-space: nowrap; }
.product-card__price del { opacity: 0.6; margin-right: 6px; }
.product-card__price ins { text-decoration: none; }
.product-card:hover .media__img:not(.media__img--hover) { transform: scale(1.03); }

/* Nuestra historia */
.line-tabs { display: flex; gap: clamp(20px, 3vw, 40px); border-bottom: 1px solid var(--c-line); margin-bottom: clamp(32px, 4vw, 56px); overflow-x: auto; scrollbar-width: none; }
.line-tabs__btn {
	padding: 0 0 14px; margin-bottom: -1px; border-bottom: 1px solid transparent;
	font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-stone);
	white-space: nowrap;
}
.line-tabs__btn.is-active { color: var(--c-ink); border-color: var(--c-ink); }
.story__panel { display: grid; grid-template-columns: 1.25fr 1fr; gap: var(--gutter); align-items: start; }
.story__panel[hidden] { display: none; }
.story__big { aspect-ratio: 3 / 4; }
.story__side { display: grid; gap: clamp(32px, 4vw, 64px); }
.story__small { aspect-ratio: 4 / 5; width: 72%; justify-self: end; }
.story__title { font-size: var(--fs-lg); }
.story__text p { color: var(--c-stone); max-width: 46ch; margin-bottom: 24px; }

/* Opiniones */
.testimonials__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.testimonials__head .eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-ink); }
.testimonials__track {
	display: grid; grid-auto-flow: column;
	grid-auto-columns: clamp(280px, 38vw, 620px);
	gap: clamp(24px, 4vw, 72px);
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
	scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
}
.testimonials__track::-webkit-scrollbar { display: none; }
.quote { margin: 0; scroll-snap-align: start; border-top: 1px solid var(--c-line); padding-top: 20px; }
.quote__author { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-stone); }
.quote__text { margin: 0; font-size: var(--fs-lg); line-height: 1.2; letter-spacing: -0.02em; }

/* Redes */
.social__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.social__title { font-size: var(--fs-lg); margin: 0; }
.social__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.social__item { aspect-ratio: 1; }
.social__item:hover .media__img { transform: scale(1.05); }

/* Revista: tarjetas con la foto enmarcada sobre fondo */
.article-grid--framed .article-card__image { aspect-ratio: 1 / 1; background: var(--c-tile); }
.article-grid--framed .article-card__image .media__img,
.article-grid--framed .article-card__image .media__placeholder { position: absolute; inset: 16% 26%; width: auto; height: auto; }
.journal__back { margin-top: clamp(40px, 5vw, 72px); text-align: center; }
.article-hero--left { text-align: left; }
.article-hero--left .article-hero__title { margin-inline: 0; max-width: 22ch; }
.article-hero--left .article-hero__tags { justify-content: flex-start; }
.article-body > p:first-child { font-size: var(--fs-md); line-height: 1.4; letter-spacing: -0.01em; }

/* Páginas de información con menú lateral */
.info-page__grid { display: grid; grid-template-columns: minmax(160px, 1fr) 3fr; gap: var(--gutter); padding-block: clamp(48px, 7vw, 112px) 0; }
.info-page__nav { position: sticky; top: calc(var(--sticky-offset) + 24px); align-self: start; }
.info-nav { list-style: none; margin: 0; padding: 0; font-size: var(--fs-sm); }
.info-nav li { margin-bottom: 4px; color: var(--c-stone); }
.info-nav a:hover { color: var(--c-ink); }
.info-nav .current-menu-item, .info-nav .current_page_item { color: var(--c-ink); }
.info-nav .current-menu-item > a::before, .info-nav .current_page_item > a::before { content: '— '; }
.info-page__body { max-width: 720px; }
.info-page__title { font-size: var(--fs-xl); margin-bottom: 0.8em; }

/* Pie claro */
.footer-light .site-footer { background: var(--c-footer); color: var(--c-ink); }
.footer-light .site-footer__news { border-color: var(--c-line); grid-template-columns: 1fr; gap: 12px; }
.footer-light .site-footer__news-eyebrow { color: var(--c-ink); text-transform: uppercase; letter-spacing: 0.06em; margin: 0; }
.footer-light .site-footer__news-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.footer-light .site-footer__news-text { color: var(--c-stone); }
.footer-light .newsletter-form { border: 0; }
.footer-light .newsletter-form input { color: var(--c-ink); font-size: clamp(2rem, 1rem + 3vw, 4rem); letter-spacing: -0.03em; padding: 4px 0; }
.footer-light .newsletter-form input::placeholder { color: var(--c-stone); }
.footer-light .newsletter-form button { color: var(--c-ink); border: 1px solid var(--c-line); border-radius: 999px; }
.footer-light .site-footer__grid { grid-template-columns: 1fr 1fr; }
.footer-light .site-footer__contact { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: 15%; gap: 0; }
.footer-light .contact-group { padding-block: 16px; }
.footer-light .contact-group + .contact-group { border-top: 1px solid var(--c-line); }
.footer-light .contact-group__title,
.footer-light .link-group__title { color: var(--c-ink); }
.footer-light .contact-group__title { font-size: var(--fs-md); font-weight: 400; margin-bottom: 6px; }
.footer-light .link-group__title { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-stone); }
.footer-light .contact-group a,
.footer-light .contact-group p,
.footer-light .link-group__list a { color: var(--c-stone); }
.footer-light .link-group__list a:hover { color: var(--c-ink); }
.footer-light .site-footer__bottom { border-color: var(--c-line); color: var(--c-stone); }
.footer-light .site-footer__brand .site-logo--text { color: var(--c-ink); }
.footer-light .site-footer__brand .custom-logo-link img { filter: none; }
.footer-light .site-footer input[type=email],
.footer-light .site-footer input[type=text] { color: var(--c-ink); border-color: var(--c-line); }

/* Responsive v0.2 */
@media (max-width: 1100px) {
	.product-row__track { grid-auto-columns: calc((100% - var(--gutter) * 2 - 2 * 16px) / 2.6); }
	.product-row__head { grid-template-columns: 1fr auto; }
	.pill-tabs { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
	.megamenu__inner { grid-template-columns: 1fr; }
	.mega-panel__inner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.megamenu,
	.mega-panel { display: none !important; }
	.cat-tabs { grid-template-columns: 1fr; }
	.cat-tabs__body { order: -1; }
	.cat-tabs__name { font-size: clamp(1.75rem, 7vw, 2.5rem); }
	.story__panel { grid-template-columns: 1fr; }
	.story__small { width: 60%; }
	.social__grid { grid-template-columns: repeat(3, 1fr); }
	.info-page__grid { grid-template-columns: 1fr; }
	.info-page__nav { position: static; }
	.info-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
	.footer-light .site-footer__grid { grid-template-columns: 1fr; }
	.footer-light .site-footer__contact { margin: 0; }
}
@media (max-width: 600px) {
	.product-row__track { grid-auto-columns: 72%; }
	.product-row__controls .icon-btn, .testimonials__head .icon-btn { display: none; }
	.slide__content { left: var(--gutter); right: var(--gutter); width: auto; }
	.benefits__track { grid-auto-columns: 74%; }
	.testimonials__track { grid-auto-columns: 84%; }
}

/* ==========================================================================
   12. Elementor (v0.4)
   ========================================================================== */
/* Los widgets Marhego ocupan todo el ancho de su contenedor */
.elementor-widget[class*="elementor-widget-marhego-"], .mh-widget { width: 100%; }
.mh-widget__notice { margin: 0; padding: 24px var(--gutter); background: var(--c-tile); font-size: var(--fs-sm); color: var(--c-stone); }

/* Cabecera de Elementor (Personalizar → Plantillas de Elementor):
   el envoltorio es el que se queda fijo arriba */
body:not(.has-overlay-header) .mh-el-location--header { position: sticky; top: 0; z-index: 50; }
body:not(.has-overlay-header) .mh-el-location--header .site-top { position: relative; }
/* En la ficha la cabecera se va al bajar y deja sitio a la barra de compra */
body.single-product:not(.has-overlay-header) .mh-el-location--header { position: relative; }

/* Barra de compra de la ficha: se queda fija si va en su propio contenedor */
.e-con:has(> .elementor-widget-marhego-pdp-bar),
.e-con:has(> .e-con-inner > .elementor-widget-marhego-pdp-bar),
.elementor-section:has(.elementor-widget-marhego-pdp-bar) { position: sticky; top: 0; z-index: 40; }

/* Espacio bajo la última sección, como .site-main > .section:last-child */
.site-main > .elementor-full > .elementor > .elementor-element:last-child .mh-widget > .section:last-child,
.site-main > .mh-el-location > .elementor > .elementor-element:last-child .mh-widget > .section:last-child { padding-bottom: var(--space-section); }

/* Plantilla "Elementor ancho completo" */
.elementor-full { width: 100%; }

/* ==========================================================================
   12. v0.7.1 – Pie: franja de promesas + newsletter y tres columnas
   ========================================================================== */
.site-footer--v2,
.footer-light .site-footer--v2 { background: var(--c-bg); color: var(--c-ink); font-size: var(--fs-sm); }
.site-footer--v2 a:hover { opacity: 1; color: var(--c-ink); }

.site-footer__promises { background: var(--c-sand); }
.site-footer__promises-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
	padding-block: clamp(40px, 5vw, 72px);
}
.footer-promise__title {
	font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.875rem);
	letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px;
}
.footer-promise__text { margin: 0; color: var(--c-stone); }
.footer-promise__text a { color: var(--c-stone); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-line); }
.footer-promise__text a:hover { color: var(--c-clay); }

.site-footer__main {
	display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--gutter);
	padding-block: clamp(48px, 6vw, 88px);
}
.site-footer__eyebrow {
	margin: 0 0 10px; font-size: 11px; font-weight: 500;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-clay);
}
.site-footer__signup { max-width: 380px; }
.site-footer__signup-title { font-size: var(--fs-md); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 12px; }
.site-footer__signup-text { color: var(--c-stone); margin: 0 0 20px; line-height: 1.55; }

.footer-signup { display: grid; gap: 10px; }
.site-footer--v2 .footer-signup input[type=email] {
	width: 100%; padding: 15px 16px;
	background: var(--c-surface); color: var(--c-ink);
	border: 1px solid var(--c-line); border-radius: var(--radius);
	font-size: var(--fs-sm); outline: none;
}
.site-footer--v2 .footer-signup input[type=email]:focus { border-color: var(--c-ink); }
.site-footer--v2 .footer-signup input::placeholder { color: var(--c-stone); }
.footer-signup__btn {
	min-height: 50px; padding: 0 20px;
	background: var(--c-ink); color: var(--c-bg); border-radius: var(--radius);
	font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
	transition: background 0.3s var(--ease);
}
.footer-signup__btn:hover { background: var(--c-clay); }
.site-footer__legal-note { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: var(--c-stone); }
.site-footer__legal-note a { text-decoration: underline; text-underline-offset: 2px; }

.site-footer--v2 .link-group__title,
.footer-light .site-footer--v2 .link-group__title {
	font-size: var(--fs-base); font-weight: 500; letter-spacing: -0.01em; text-transform: none;
	color: var(--c-ink); margin: 0 0 18px;
}
.site-footer--v2 .link-group__list li { margin-bottom: 10px; }
.site-footer--v2 .link-group__list a { color: var(--c-stone); transition: color 0.2s; }
.site-footer--v2 .link-group__list a:hover { color: var(--c-ink); }

.site-footer--v2 .site-footer__bottom { border-top: 1px solid var(--c-line); color: var(--c-stone); }
.site-footer--v2 .site-footer__brand .custom-logo-link img { filter: none; max-height: 56px; width: auto; }
.site-footer--v2 .legal-menu a { color: var(--c-stone); }

@media (max-width: 1100px) {
	.site-footer__main { grid-template-columns: 1fr 1fr 1fr; }
	.site-footer__signup { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 900px) {
	.site-footer__promises-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
	.site-footer__main { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
