/*
Theme Name: Secuoya
Theme URI: https://secuoyafood.com
Author: Swiss Cactus
Author URI: https://swisscactus.com
Description: Tema a medida para Secuoya Food – Vitamina C de Acerola. Diseño claro y natural, tienda con WooCommerce y Stripe, selector de idiomas y textos editables en Apariencia → Personalizar.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: secuoya
Tags: e-commerce, custom-colors, custom-logo, one-column, two-columns
*/

/* ==========================================================================
   0. Fuentes (incluidas en el tema, licencia OFL)
   ========================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }

/* ==========================================================================
   1. Variables
   ========================================================================== */
:root {
	/* Paleta Secuoya v2: lino cálido, verde pino, tierra cálida, eucalipto, azul acero y plata */
	--cream: #fbf8f3;      /* Lino cálido: fondo principal */
	--cream-2: #f4efe7;    /* Lino un poco más profundo: secciones alternas */
	--sand: #e8efea;       /* Eucalipto muy suave: fondos de tarjetas */
	--white: #ffffff;
	--ink: #26332c;        /* Texto de lectura */
	--muted: #5d6a62;
	--line: #d1d5db;       /* Plata: líneas y bordes finos */
	--pine: #1b3b2b;       /* Verde pino profundo: títulos y autoridad */
	--green: #4a7c59;      /* Verde eucalipto: iconos y botones secundarios */
	--green-dark: #3b6447;
	--terra: #bf754f;      /* Tierra cálida: botones de compra */
	--terra-dark: #a5603d;
	--steel: #2c4a6f;      /* Azul acero: datos de formulación */
	--footer: #f1ece3;

	--serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: 16px;
	--header-h: 68px;
	--radius: 3px;
}

@media (min-width: 900px) {
	:root {
		--gutter: 40px;
		--header-h: 84px;
	}
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	top: 0 !important; /* Google Translate */
	overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pine); }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 400;
	line-height: 1.12;
	margin: 0 0 .5em;
	color: var(--pine);
}

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 1000;
	background: var(--white);
	padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.icon { flex-shrink: 0; }

/* Tipografía reutilizable */
.kicker {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 14px;
}

.h-serif {
	font-family: var(--serif);
	font-weight: 400;
	font-size: clamp(2rem, 3.3vw, 2.75rem);
	line-height: 1.1;
}

.rule {
	display: block;
	width: 44px;
	height: 1px;
	background: currentColor;
	opacity: .55;
	margin: 0 0 22px;
}

/* Botones */
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 28px;
	border: 1px solid var(--terra);
	border-radius: var(--radius);
	background: var(--terra);
	color: #fff;
	font-family: var(--sans);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.2;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
	text-decoration: none;
}
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
	background: var(--terra-dark);
	border-color: var(--terra-dark);
	color: #fff;
}
.btn--ghost {
	background: transparent;
	border-color: var(--green);
	color: var(--green);
}
.btn--ghost:hover { background: var(--green); border-color: var(--green); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	border-bottom: 1px solid var(--ink);
	padding-bottom: 4px;
}
.link-arrow:hover { color: var(--green); border-color: var(--green); }
.link-arrow { color: var(--pine); border-bottom-color: var(--pine); }

.icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--green);
	flex-shrink: 0;
}

/* ==========================================================================
   3. Barra superior y encabezado
   ========================================================================== */
.topbar {
	background: var(--cream-2);
	color: var(--pine);
	border-bottom: 1px solid var(--line);
	text-align: center;
	font-size: 11.5px;
	letter-spacing: .08em;
	padding: 8px var(--gutter);
}
.topbar p { margin: 0; }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--cream);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 20px rgba(44, 43, 39, .04);
}
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }

.header-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	height: var(--header-h);
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--pine);
	margin-right: auto;
	min-width: 0;
	flex-shrink: 1;
}
.brand:hover { color: var(--pine); }
.brand-mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.brand-name {
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: .22em;
	text-transform: uppercase;
	white-space: nowrap;
}
@media (max-width: 359px) {
	.brand-name { font-size: 12px; letter-spacing: .14em; }
	.header-inner { gap: 8px; }
}
@media (min-width: 900px) {
	.brand-mark { width: 48px; height: 48px; }
	.brand-name { font-size: 16px; letter-spacing: .3em; }
}

/* Menú */
.main-nav .nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav a {
	color: var(--pine);
	font-size: 13.5px;
	letter-spacing: .02em;
	position: relative;
}
.main-nav a:hover { color: var(--green); }

@media (min-width: 900px) {
	.main-nav .nav-list { display: flex; gap: 30px; }
	.main-nav a { padding: 6px 0; }
	.main-nav .current-menu-item > a::after,
	.main-nav a:hover::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 1px;
		background: currentColor;
	}
	.menu-toggle { display: none !important; }
}

@media (max-width: 899px) {
	.main-nav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: var(--nav-top, var(--header-h));
		background: var(--cream);
		border-top: 1px solid var(--line);
		padding: 24px var(--gutter) 40px;
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity .2s, transform .2s, visibility .2s;
		overflow-y: auto;
		z-index: 99;
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.main-nav .nav-list li { border-bottom: 1px solid var(--line); }
	.main-nav a {
		display: block;
		padding: 16px 0;
		font-family: var(--serif);
		font-size: 1.7rem;
		letter-spacing: 0;
	}
	.main-nav .current-menu-item > a { color: var(--green); }
}

.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }

.cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	color: var(--ink);
}
.cart-count {
	position: absolute;
	top: 3px;
	right: 1px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9px;
	background: var(--terra);
	color: #fff;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 18px;
	text-align: center;
}
.cart-count.is-empty { display: none; }

.menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-right: -6px;
	border: 0;
	background: none;
	color: var(--ink);
	cursor: pointer;
}
.menu-toggle .menu-close { display: none; }
.nav-open .menu-toggle .menu-open { display: none; }
.nav-open .menu-toggle .menu-close { display: inline-flex; }
.menu-toggle span { display: inline-flex; }

/* Selector de idioma */
.lang { position: relative; }
.lang-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	height: 42px;
	padding: 0 4px;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .08em;
	color: var(--ink);
}
.lang-menu {
	position: absolute;
	right: 0;
	top: 100%;
	min-width: 150px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 12px 30px rgba(44, 43, 39, .1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
	z-index: 120;
}
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
	display: block;
	width: 100%;
	padding: 9px 16px;
	border: 0;
	background: none;
	text-align: left;
	font-size: 13.5px;
	cursor: pointer;
}
.lang-menu button:hover { background: var(--cream-2); }

/* Google Translate: ocultar su barra */
.goog-te-banner-frame,
iframe.skiptranslate,
.skiptranslate > iframe,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-te-spinner-pos,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { display: none; }

/* ==========================================================================
   4. Inicio: carrusel
   ========================================================================== */
.hero {
	position: relative;
	background: var(--cream);
	overflow: hidden;
}
.hero-track { position: relative; }

.slide {
	display: none;
	grid-template-columns: 1fr;
	animation: fade .7s ease;
}
.slide.is-active { display: grid; }

@keyframes fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

.slide-media {
	order: -1;
	aspect-ratio: 4 / 3.4;
	overflow: hidden;
	background: var(--cream-2);
}
.slide-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: zoom 8s ease-out both;
}
@keyframes zoom {
	from { transform: scale(1.06); }
	to { transform: scale(1); }
}

.slide-body {
	padding: 28px var(--gutter) 84px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}
.slide-title {
	color: var(--pine);
	font-family: var(--serif);
	font-weight: 300;
	text-transform: uppercase;
	font-size: clamp(2.5rem, 5.2vw, 4.6rem);
	line-height: 1.02;
	letter-spacing: .01em;
	margin: 0 0 18px;
	max-width: 12ch;
}
.slide-text {
	font-size: 1.05rem;
	max-width: 30ch;
	margin-bottom: 28px;
	color: var(--ink);
}

.hero-controls {
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 18px;
	font-size: 12px;
	letter-spacing: .12em;
	color: var(--muted);
}
.hero-dots { display: flex; gap: 8px; align-items: center; }
.dot {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: var(--line);
	cursor: pointer;
	transition: width .3s, background .3s;
}
.dot.is-active { width: 30px; background: var(--pine); }
.hero-arrows { display: flex; gap: 6px; margin-left: auto; }
.arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
}
.arrow:hover { border-color: var(--ink); }
.arrow--prev svg { transform: rotate(180deg); }

@media (min-width: 900px) {
	.slide { grid-template-columns: 5fr 6fr; min-height: min(640px, calc(100vh - var(--header-h) - 34px)); }
	.slide-media { order: 0; aspect-ratio: auto; }
	.slide-body {
		padding: 72px 48px 110px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
	}
	.hero-controls {
		left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
		right: calc(6 / 11 * 100% + 40px);
		bottom: 40px;
	}
}

/* ==========================================================================
   5. Iconos / ventajas
   ========================================================================== */
.features {
	background: var(--white);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.features-list {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 28px var(--gutter);
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 12px;
}
.features-list li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--ink);
}
.features-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.features-list .icon { color: var(--green); }
@media (min-width: 640px) {
	.features-list { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
	.features-list li:last-child:nth-child(odd) { grid-column: auto; }
}
@media (min-width: 900px) {
	.features-list { padding: 36px var(--gutter); }
}

.features--values { background: var(--cream); border: 0; }
.features--values .features-list { padding-top: 48px; padding-bottom: 48px; }
.features--values li { font-size: 13.5px; }

/* ==========================================================================
   6. Secciones divididas (imagen + texto)
   ========================================================================== */
.split {
	display: grid;
	grid-template-columns: 1fr;
	background: var(--cream);
}
.split-media { overflow: hidden; background: var(--cream-2); }
.split-media img {
	width: 100%;
	height: 100%;
	min-height: 260px;
	max-height: 520px;
	object-fit: cover;
}
.split-body {
	padding: 36px var(--gutter) 48px;
	align-self: center;
	max-width: 620px;
}
.split-body p { color: var(--muted); }
.split--sand { background: var(--sand); }

@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split-media img { max-height: none; min-height: 460px; }
	.split-body { padding: 64px 56px; }
}

/* ==========================================================================
   7. Producto destacado y frase
   ========================================================================== */
.featured { background: var(--cream-2); padding: 0; }
.featured-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
}
.featured-media {
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.featured-media img { max-height: 440px; width: auto; mix-blend-mode: multiply; }
.featured-body { padding: 36px var(--gutter) 52px; align-self: center; }
.featured-body p { color: var(--muted); }
.featured-price {
	font-family: var(--serif);
	font-size: 2.4rem;
	color: var(--pine) !important;
	margin: 8px 0 4px;
	line-height: 1.1;
}
.featured-price small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.featured-price del { opacity: .5; font-size: .7em; }
.featured-price ins { text-decoration: none; }

.price-note {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--green) !important;
	margin-bottom: 20px;
}

@media (min-width: 900px) {
	.featured { padding: 72px var(--gutter); }
	.featured-inner { grid-template-columns: 1fr 1fr; background: var(--white); }
	.featured-media { padding: 40px; }
	.featured-body { padding: 56px; }
}

.quote {
	text-align: center;
	padding: 72px var(--gutter) 80px;
	background: var(--cream);
}
.quote-mark { width: 72px; height: 72px; margin: 0 auto 22px; opacity: .65; }
.quote-title {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	line-height: 1.15;
	margin: 0 auto 12px;
	max-width: 22ch;
}
.quote-text { color: var(--muted); max-width: 46ch; margin: 0 auto; }

/* ==========================================================================
   8. Sobre nosotros
   ========================================================================== */
.hero--page .slide-body { padding-bottom: 44px; }
.hero--page .slide-title { max-width: 14ch; }
@media (min-width: 900px) {
	.hero--page .slide { min-height: 520px; }
	.hero--page .slide-body { padding-bottom: 72px; }
}

.story { background: var(--white); border-top: 1px solid var(--line); }
.story-inner {
	max-width: 720px;
	margin: 0 auto;
	padding: 64px var(--gutter) 72px;
	text-align: center;
}
.story-mark { width: 64px; height: 64px; margin: 0 auto 20px; opacity: .7; }
.story p { color: var(--muted); font-size: 1rem; }
.story .btn-row { margin-top: 28px; }

/* ==========================================================================
   9. Contacto
   ========================================================================== */
.contact-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 40px var(--gutter) 64px;
	display: grid;
	gap: 40px;
}
.contact-info h1 { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.contact-info > p { color: var(--muted); max-width: 46ch; }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .icon-circle { width: 50px; height: 50px; color: var(--green); border-color: var(--line); background: var(--white); }
.contact-list strong { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.contact-list a, .contact-list span { color: var(--ink); }
.inline-links { display: flex; gap: 16px; }

.contact-form-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	padding: 28px 20px;
}
@media (min-width: 900px) {
	.contact-inner { grid-template-columns: 1fr 1fr; gap: 64px; padding: 72px var(--gutter) 96px; align-items: start; }
	.contact-form-wrap { padding: 40px; }
}

/* Formularios */
.contact-form label,
.woocommerce form .form-row label {
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	margin-bottom: 6px;
	color: var(--ink);
}
.contact-form input,
.contact-form textarea,
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce-page form .form-row .input-text,
.select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus,
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus { border-color: var(--green); outline: none; }
.contact-form p { margin-bottom: 16px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-privacy { font-size: 12.5px; color: var(--muted); }
.form-notice {
	padding: 12px 16px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	font-size: 14px;
}
.form-notice.is-ok { background: var(--sand); color: var(--pine); }
.form-notice.is-error { background: #f6e3dc; color: #7a2f17; }

.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; }

/* ==========================================================================
   10. Páginas de texto
   ========================================================================== */
.page-content {
	max-width: 820px;
	margin: 0 auto;
	padding: 40px var(--gutter) 72px;
}
.page-content--wide { max-width: var(--wrap); }
.page-header { margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(2.3rem, 4.5vw, 3.3rem); margin: 0; }
.entry h2 { font-size: 1.75rem; margin-top: 1.6em; }
.entry h3 { font-size: 1.4rem; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry li { margin-bottom: .45em; }
.entry-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
	.page-content { padding: 64px var(--gutter) 96px; }
}

/* ==========================================================================
   11. Pie de página
   ========================================================================== */
.site-footer { background: var(--footer); color: var(--ink); font-size: 14px; border-top: 1px solid var(--line); }
.footer-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 52px var(--gutter) 32px;
	display: grid;
	gap: 36px;
	grid-template-columns: 1fr 1fr;
}
.footer-brand,
.footer-col:last-child { grid-column: 1 / -1; }
.brand--footer, .brand--footer:hover { color: var(--pine); margin-bottom: 16px; }
.footer-brand p { max-width: 36ch; color: var(--muted); }
.site-footer h2 {
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--pine);
	margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--green); }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { color: var(--green); }
.footer-contact a, .footer-contact span { word-break: break-word; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--pine);
	background: var(--white);
}
.social a:hover { border-color: var(--green); color: var(--green); }
.footer-bottom {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 20px var(--gutter) 28px;
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	font-size: 12.5px;
	color: var(--muted);
}
.footer-bottom p { margin: 0; }
.pay-note { display: inline-flex; gap: 6px; align-items: center; }

@media (min-width: 900px) {
	.footer-inner { grid-template-columns: 2fr 1fr 1fr 1.3fr; padding-top: 72px; }
	.footer-brand,
	.footer-col:last-child { grid-column: auto; }
}

/* ==========================================================================
   12. Página del producto
   ========================================================================== */
.shop-wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 16px 0 0;
}
.breadcrumb {
	font-size: 12px;
	color: var(--muted);
	padding: 0 var(--gutter) 16px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

.pd {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
.pd > * { min-width: 0; }

/* Galería */
.pd-gallery { position: relative; }
.pd-main {
	background: #fff;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
	padding: 10px var(--gutter);
	margin: 0;
	background: var(--cream);
}
.pd-thumbs button {
	display: block;
	width: 100%;
	padding: 0;
	border: 1px solid var(--line);
	background: #fff;
	cursor: pointer;
	opacity: .65;
	transition: opacity .2s, border-color .2s;
}
.pd-thumbs button:hover,
.pd-thumbs button.is-active { opacity: 1; border-color: var(--ink); }
.pd-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* Resumen */
.pd-summary { padding: 28px var(--gutter) 8px; }
.pd-title {
	color: var(--pine);
	font-family: var(--serif);
	font-weight: 300;
	text-transform: uppercase;
	font-size: clamp(2.3rem, 4vw, 3.2rem);
	line-height: 1.05;
	margin-bottom: 6px;
}
.product-sub { font-size: 1.02rem; color: var(--ink); margin-bottom: 14px; }
.pd-price {
	font-family: var(--serif);
	font-size: 2.2rem;
	color: var(--pine);
	margin: 0 0 4px;
	line-height: 1.1;
}
.pd-price small { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.pd-short {
	color: var(--muted);
	font-size: 13.5px;
	margin: 14px 0 18px;
	max-width: 52ch;
}
.product-features {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px 4px;
}
.product-features li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-align: center;
	font-size: 11.5px;
	line-height: 1.3;
}
.product-features .icon {
	box-sizing: content-box;
	padding: 9px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--white);
	color: var(--steel);
}
.product-size {
	color: var(--steel);
	font-size: 13px;
	font-weight: 600;
	padding: 12px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin-bottom: 20px;
}
.pd-buy {
	display: flex;
	width: 100%;
	margin-bottom: 22px;
	background: var(--terra);
	border-color: var(--terra);
	color: #fff;
}
.pd-buy:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: #fff; }

.trust-list {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 13px;
	color: var(--muted);
}
.trust-list li { display: flex; gap: 10px; align-items: center; }
.trust-list .icon { color: var(--green); flex-shrink: 0; }
.product-legend {
	font-size: 11.5px;
	color: var(--muted);
	border-left: 2px solid var(--line);
	padding-left: 12px;
	font-style: italic;
}

/* Pestañas */
.pd-tabs {
	grid-column: 1 / -1;
	padding: 28px var(--gutter) 40px;
}
.pd-tablist {
	display: flex;
	gap: 26px;
	overflow-x: auto;
	margin: 0 0 24px;
	border-bottom: 1px solid var(--line);
	-webkit-overflow-scrolling: touch;
}
.pd-tablist button {
	flex-shrink: 0;
	padding: 12px 0;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	font: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--muted);
	cursor: pointer;
}
.pd-tablist button[aria-selected="true"] { color: var(--pine); border-bottom-color: var(--pine); }
.pd-panel { max-width: 760px; color: var(--muted); }
.pd-panel ul { padding-left: 1.2em; }
.pd-panel p + p, .pd-panel p + ul, .pd-panel ul + p { margin-top: 12px; }

.nutri-table { width: 100%; max-width: 480px; border-collapse: collapse; font-size: 14px; }
.nutri-table th, .nutri-table td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--ink); }
.nutri-table td { text-align: right; font-weight: 600; color: var(--steel); }
.nutri-note { font-size: 12px; margin-top: 10px; }

.split--product { grid-column: 1 / -1; background: var(--cream-2); }

@media (min-width: 520px) {
	.pd-buy { display: inline-flex; width: auto; min-width: 260px; }
}

@media (min-width: 900px) {
	.shop-wrap { padding-top: 24px; }
	.pd { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); column-gap: 56px; padding: 0 var(--gutter); }
	.breadcrumb { padding-bottom: 20px; }
	.pd-gallery { padding-left: 96px; }
	.pd-thumbs {
		position: absolute;
		left: 0;
		top: 0;
		width: 78px;
		grid-template-columns: 1fr;
		padding: 0;
		background: transparent;
	}
	.pd-summary { padding: 8px 0 0; }
	.pd-tabs { padding: 56px 0 48px; }
	.split--product { margin: 0 calc(-1 * var(--gutter)) 0; }
}

/* ==========================================================================
   14. Versión 3: portada, cifras y proceso, esencia enmarcada
   ========================================================================== */
.site-header { border-bottom-color: var(--line); }

.portada { background: var(--cream); }
.portada-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 40px var(--gutter) 56px;
	display: grid;
	gap: 36px;
	align-items: center;
}
.portada-body { order: 2; }
.portada-title {
	font-family: var(--serif);
	font-weight: 300;
	color: var(--pine);
	font-size: clamp(3rem, 6.4vw, 5.6rem);
	line-height: .98;
	letter-spacing: -.01em;
	margin: 0 0 22px;
	text-wrap: balance;
}
.portada-text {
	color: var(--muted);
	font-size: 1.05rem;
	max-width: 40ch;
	margin-bottom: 26px;
}
.portada-price {
	font-family: var(--serif);
	font-size: 2.3rem;
	line-height: 1.1;
	color: var(--pine);
	margin: 0 0 4px;
}
.portada-price small { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.portada-price del { opacity: .5; font-size: .7em; }
.portada-price ins { text-decoration: none; }
.portada .btn-row { margin-top: 4px; }

.portada-media {
	order: 1;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 12px 0 0;
}
.portada-disc {
	position: absolute;
	width: min(86%, 520px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--sand);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.portada-img {
	position: relative;
	width: min(48%, 300px);
	filter: drop-shadow(0 24px 30px rgba(27, 59, 43, .18));
}
@media (min-width: 900px) {
	.portada-img { width: min(52%, 320px); }
}
.portada-chips {
	list-style: none;
	margin: 0;
	padding: 0;
}
.chip {
	position: absolute;
	z-index: 2;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	color: var(--steel);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(27, 59, 43, .06);
}
.chip--1 { left: 2%; top: 18%; }
.chip--2 { right: 2%; top: 46%; }
.chip--3 { left: 8%; bottom: 10%; }

@media (min-width: 900px) {
	.portada-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 56px;
		padding: 72px var(--gutter) 96px;
	}
	.portada-body { order: 0; }
	.portada-media { order: 0; padding: 0; min-height: 520px; }
}

.features { background: var(--white); }

/* Cifras y proceso */
.proceso { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proceso-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 64px var(--gutter) 72px;
}
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head .h-serif { margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 1.02rem; margin: 0 auto; max-width: 52ch; }
.kicker--steel { color: var(--steel); }

.figures {
	list-style: none;
	margin: 0 0 48px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.figures li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 14px;
	text-align: center;
}
.figures li:nth-child(odd) { border-right: 1px solid var(--line); }
.figures li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.fig-num {
	font-family: var(--serif);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	line-height: 1;
	color: var(--steel);
	font-variant-numeric: lining-nums tabular-nums;
}
.fig-lbl { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 28px;
}
.steps li { border-top: 1px solid var(--line); padding-top: 18px; }
.step-num {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .24em;
	color: var(--steel);
	margin-bottom: 10px;
}
.steps h3 { font-size: 1.6rem; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14px; margin: 0; }

@media (min-width: 640px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
@media (min-width: 900px) {
	.proceso-inner { padding: 104px var(--gutter) 112px; }
	.section-head { margin-bottom: 56px; }
	.figures { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 72px; }
	.figures li { padding: 30px 18px; }
	.figures li:nth-child(odd) { border-right: 0; }
	.figures li:nth-child(-n+2) { border-bottom: 0; }
	.figures li + li { border-left: 1px solid var(--line); }
	.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Esencia enmarcada */
.esencia { background: var(--cream); }
.esencia-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 56px var(--gutter) 64px;
	display: grid;
	gap: 32px;
	align-items: center;
}
.esencia-media { margin: 0; }
.esencia-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 2px;
}
.esencia-body p { color: var(--muted); }
@media (min-width: 900px) {
	.esencia-inner {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
		gap: 72px;
		padding: 112px var(--gutter);
	}
	.esencia-media img { aspect-ratio: 4 / 5; }
	.esencia-body { max-width: 520px; }
}

.quote { border-top: 1px solid var(--line); }
.quote .btn-row { margin-top: 28px; }
@media (min-width: 900px) {
	.quote { padding: 104px var(--gutter) 112px; }
}
@media (max-width: 899px) {
	.portada-media { flex-direction: column; }
	.portada-disc { top: 50%; }
	.portada-chips {
		position: relative;
		z-index: 2;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		margin-top: 18px;
	}
	.chip { position: static; }
}
@media (max-width: 899px) {
	.chip { padding: 6px 11px; font-size: 11.5px; letter-spacing: .02em; }
	.portada-chips { gap: 6px; }
}

/* Portada con foto (v3.1) */
.portada-media--photo {
	padding: 0;
	min-height: 0;
	display: block;
	margin: -40px calc(-1 * var(--gutter)) 0;
}
.portada-photo { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
	.portada-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
	.portada-title { font-size: clamp(3rem, 5vw, 4.6rem); }
	.portada-media--photo { margin: 0; min-height: 0; }
	.portada-photo { border-radius: 2px; box-shadow: 0 18px 40px rgba(27, 59, 43, .10); }
}

/* Frasco junto a «Del campo a tu frasco» */
.proceso-head { margin-bottom: 40px; }
.proceso-head .section-head { margin-bottom: 0; }
.proceso-bottle {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 28px;
	height: 240px;
}
.proceso-disc {
	position: absolute;
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background: var(--sand);
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
.proceso-bottle img {
	position: relative;
	width: 125px;
	filter: drop-shadow(0 16px 20px rgba(27, 59, 43, .16));
}
@media (min-width: 900px) {
	.proceso-head.has-img {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		align-items: center;
		gap: 48px;
		max-width: 980px;
		margin: 0 auto 56px;
	}
	.proceso-head.has-img .section-head { text-align: left; margin: 0; }
	.proceso-head.has-img .section-lead { margin: 0; }
	.proceso-bottle { margin-top: 0; height: 300px; }
	.proceso-disc { width: 260px; height: 260px; }
	.proceso-bottle img { width: 160px; }
}
