/* ==========================================================================
   Gave Beauty — estilos del tema
   Tokens medidos de la referencia (ver referencia/NOTAS.md): paleta arena, titulares Bricolage
   Grotesque en minúscula, texto de interfaz Instrument Sans 13 px, todo a sangre, sin sombras.
   Índice: 1 tokens · 2 base · 3 botones/etiquetas · 4 resaltado a mano · 5 header · 6 cajones ·
           7 tarjeta/carrusel · 8 portada · 9 ficha · 10 footer · 11 páginas Woo · 12 movimiento
   ========================================================================== */

/* ------------------------------------------------------------------ 1 tokens */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--cream: #faf4f0;
	--ink: #321e1e;
	--sand: #f1e4d3;
	--olive: #666a53;
	--accent: #f6a429;
	--line: #e6dfdb;
	--photo: #fefefa;          /* fondo de las fotos de producto (muestreado de los packshots) */
	--ink-60: rgba(50, 30, 30, .6);
	--ink-30: rgba(50, 30, 30, .3);
	--ink-10: rgba(50, 30, 30, .1);
	--dark-line: #463333;
	--font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
	--font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: 20px;
	--section-y: 40px;
	--stack: 32px;
	--header-h: 56px;
	--announce-h: 39px;
	--radius-pill: 30px;
	--btn-h: 41px;
	--ease: cubic-bezier(.4, 0, .2, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);

	/* escala fluida: 390 px → 1440 px (valores medidos en la referencia) */
	--fs-hero: clamp(47.3px, calc(34.1px + 3.38vw), 99px);
	--fs-h1: clamp(43.6px, calc(33.61px + 2.562vw), 84px);
	--fs-h2: clamp(36.3px, calc(28.13px + 2.095vw), 70px);
	--fs-h3: clamp(29px, calc(23.54px + 1.4vw), 52px);
	--fs-h4: clamp(25.4px, calc(20.87px + 1.162vw), 44px);
	--fs-h5: clamp(19.9px, calc(17.63px + .581vw), 30px);
	--fs-h6: clamp(17.1px, calc(15.95px + .2952vw), 22px);
	--fs-h7: clamp(14.4px, calc(13.69px + .181vw), 17px);
}
@media (min-width: 1024px) {
	:root { --gutter: 48px; --section-y: 72px; --stack: 48px; --header-h: 64px; --announce-h: 44px; --btn-h: 46px; }
}

/* ------------------------------------------------------------------- 2 base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.is-locked { overflow: hidden; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font: 400 12px/1.4 var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 13px; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
[hidden] { display: none !important; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.screen-reader-text, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-pill); }
.skip-link:focus { top: 8px; }

.t-hero, .t-h1, .t-h2, .t-h3, .t-h4, .t-h5, .t-h6, .t-h7, .h3, .h4 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: lowercase;
	letter-spacing: -.05em;
	line-height: .9;
}
.t-hero { font-size: var(--fs-hero); }
.t-h1 { font-size: var(--fs-h1); }
.t-h2 { font-size: var(--fs-h2); }
.t-h3, .h3 { font-size: var(--fs-h3); }
.t-h4, .h4 { font-size: var(--fs-h4); }
.t-h5 { font-size: var(--fs-h5); }
.t-h6 { font-size: var(--fs-h6); }
.t-h7 { font-size: var(--fs-h7); }

.subheading { font: 500 11px/1.2 var(--font-body); text-transform: lowercase; }
@media (min-width: 768px) { .subheading { font-size: 12px; } }

.badge-dot { display: inline-flex; align-items: center; gap: 12px; font: 500 12px/1.2 var(--font-body); text-transform: lowercase; }
.badge-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.badge { display: inline-block; background: #fff; color: #000; font: 600 9px/14px var(--font-display); letter-spacing: -.5px; text-transform: uppercase; padding: 2px 6px; }
@media (min-width: 768px) { .badge { font-size: 10px; } }

.prose p + p { margin-top: 1em; }
.prose ul { list-style: disc; padding-left: 1.25em; margin: 1em 0; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

/* --------------------------------------------------- 3 botones y controles */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: var(--btn-h); padding: 0 35px;
	border: 1px solid transparent; border-radius: var(--radius-pill);
	font: 400 12px/1 var(--font-body); text-transform: lowercase; white-space: nowrap;
	cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
@media (min-width: 768px) { .btn { font-size: 13px; padding: 0 41px; } }
.btn__text { display: block; position: relative; overflow: hidden; height: 1.35em; line-height: 1.35em; }
.btn__in { display: block; position: relative; transition: transform .3s var(--ease); }
.btn__in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; text-align: center; }
.btn:hover .btn__in, .btn:focus-visible .btn__in { transform: translateY(-100%); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--cream { background: var(--cream); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--olive { background: var(--olive); color: #fff; border-color: var(--olive); }
.btn[disabled], .btn.disabled { opacity: .45; cursor: not-allowed; }
.btn.is-busy { opacity: .6; pointer-events: none; }

.gb-circle-btn, .circle-arrow {
	display: grid; place-items: center; border-radius: 50%; background: var(--ink-10); color: var(--ink);
	transition: background-color .2s var(--ease), opacity .25s;
}
.gb-circle-btn { width: 28px; height: 28px; }
.gb-circle-btn .icon { width: 12px; height: 12px; }
.gb-circle-btn:hover, .circle-arrow:hover { background: rgba(50, 30, 30, .18); }

.icon { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon * { vector-effect: non-scaling-stroke; }

/* Steppers de cantidad */
.gb-qty { display: inline-flex; align-items: center; border: 1px solid var(--ink-30); border-radius: var(--radius-pill); height: 31px; }
.gb-qty button { width: 30px; height: 100%; display: grid; place-items: center; border-radius: var(--radius-pill); }
.gb-qty button .icon { width: 11px; height: 11px; stroke-width: 1.4; }
.gb-qty button:disabled { opacity: .3; cursor: default; }
.gb-qty__n { min-width: 24px; text-align: center; font-size: 12px; }
.gb-qty--field { height: var(--btn-h); border-color: var(--ink); flex: none; }
.gb-qty--field button { width: 44px; }
.gb-qty--field .qty { width: 34px; height: 100%; border: 0; background: transparent; text-align: center; font: 400 13px var(--font-body); color: var(--ink); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.gb-qty--field .qty::-webkit-outer-spin-button, .gb-qty--field .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ------------------------------------------------- 4 resaltado dibujado a mano */
.hl { position: relative; display: inline-block; white-space: nowrap; }
.hl__w { position: relative; z-index: 1; }
.hl__svg { position: absolute; overflow: visible; pointer-events: none; fill: none; stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; }
.hl__svg path { vector-effect: non-scaling-stroke; }
.hl--circle .hl__svg { left: -.12em; top: -.08em; width: calc(100% + .24em); height: calc(100% + .26em); stroke-width: 2.2px; }
.hl--underline .hl__svg { left: -.02em; bottom: -.1em; width: calc(100% + .04em); height: .22em; }
.hl--underline .hl__a { stroke-width: 5px; }
.hl--underline .hl__b { stroke-width: 3px; stroke-opacity: .8; }
.hl--box .hl__svg { left: -.14em; top: .06em; width: calc(100% + .28em); height: .92em; fill: var(--accent); stroke: none; transform: rotate(-2.2deg); z-index: 0; }

/* ------------------------------------------------- 5 anuncios y header */
.announce {
	position: relative; z-index: 61; height: var(--announce-h); background: #fff; color: var(--ink);
	display: grid; grid-template-columns: 24px minmax(0, 560px) 24px; column-gap: 16px; justify-content: center; align-items: center;
	padding: 0 12px; border-bottom: 1px solid #ebe9e9;
}
@media (min-width: 768px) { .announce { column-gap: 38px; } }
.announce__msgs { position: relative; height: 100%; display: grid; place-items: center; text-align: center; }
.announce__msg { grid-area: 1 / 1; font: 500 10px/1.25 var(--font-body); text-transform: lowercase; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
@media (min-width: 768px) { .announce__msg { font-size: 11px; } }
.announce__msg.is-active { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
.announce__msg a { text-decoration: underline; text-underline-offset: 2px; }
.announce__arrow { width: 24px; height: 24px; display: grid; place-items: center; }
.announce__arrow .icon { width: 10px; height: 10px; stroke-width: 1.5; }

.site-header {
	position: sticky; top: 0; z-index: 60;
	background: var(--cream); color: var(--ink);
	transition: transform .35s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.site-header.is-hidden { transform: translateY(-101%); }
.site-header.is-transparent { background: transparent; }
.site-header[data-tone="dark"].is-transparent { color: #fff; }
.site-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: var(--header-h); padding: 0 20px;
}
@media (max-width: 1023px) { .site-header__inner { grid-template-columns: 1fr auto; } }
@media (min-width: 1024px) { .site-header__inner { padding: 0 28px; } }

.wordmark { justify-self: start; font: 600 14px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; font-stretch: 100%; }
@media (min-width: 1024px) { .wordmark { font-size: 15.5px; letter-spacing: .12em; } }

.site-nav { display: none; }
@media (min-width: 1024px) { .site-nav { display: block; } }
.site-nav__list { display: flex; gap: 24px; justify-content: center; }
.site-nav__list a { position: relative; display: block; padding: 6px 0; font: 500 12px/1 var(--font-body); text-transform: lowercase; white-space: nowrap; }
.site-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.site-nav__list a:hover::after, .site-nav__list .current-menu-item > a::after, .site-nav__list .current-product_cat-ancestor > a::after { transform: scaleX(1); }

.site-header__tools { justify-self: end; display: flex; align-items: center; margin-right: -8px; }
.tool { position: relative; display: grid; place-items: center; width: 40px; height: 40px; color: inherit; }
@media (min-width: 1024px) { .tool { width: 32px; } .tool--menu { display: none; } }
.tool--account { display: none; }
@media (min-width: 1024px) { .tool--account { display: grid; } }
.tool .icon--shut { display: none; }
html.menu-open .tool--menu .icon--open { display: none; }
html.menu-open .tool--menu .icon--shut { display: block; }
.gb-cart-count { display: none; }
.gb-cart-count.has-items {
	display: block; position: absolute; top: 5px; right: 1px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px;
	background: var(--ink); color: var(--cream); font: 600 9px/14px var(--font-body); text-align: center;
}
.site-header[data-tone="dark"].is-transparent .gb-cart-count.has-items { background: #fff; color: var(--ink); }

/* El header se superpone al hero en la portada */
.gb-has-hero .hero { margin-top: calc(var(--header-h) * -1); }

/* Menú móvil: panel bajo el header */
.mobile-menu {
	position: fixed; left: 0; right: 0; bottom: 0; top: var(--menu-top, 95px); z-index: 55;
	background: var(--cream); overflow-y: auto; padding: 36px 24px 40px;
	border-top: 1px solid var(--line);
}
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
html.menu-open .site-header { transform: none; background: var(--cream); color: var(--ink); }
.mobile-menu__list { display: grid; gap: 14px; }
.mobile-menu__list a { display: block; font: 400 var(--fs-h4)/1 var(--font-display); letter-spacing: -.05em; text-transform: lowercase; padding: 6px 0; }
.mobile-menu__rule { margin: 32px 0 24px; }
.mobile-menu__sub { display: grid; gap: 18px; }
.mobile-menu__sub a { font-size: 11px; text-transform: lowercase; }

/* ------------------------------------------------------------ 6 cajones */
.gb-drawer { position: fixed; inset: 0; z-index: 100; }
.gb-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transition: opacity .35s var(--ease); }
.gb-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%);
	background: var(--cream); color: var(--ink); display: flex; flex-direction: column;
	transform: translateX(100%); transition: transform .45s var(--ease-out);
}
.gb-drawer.is-open .gb-drawer__overlay { opacity: 1; }
.gb-drawer.is-open .gb-drawer__panel { transform: none; }

.gb-cart__inner { display: flex; flex-direction: column; min-height: 0; flex: 1; transition: opacity .2s; }
.gb-cart__inner.is-busy { opacity: .55; pointer-events: none; }
.gb-cart__head { display: grid; grid-template-columns: 28px 1fr 28px; align-items: center; padding: 20px 20px 12px; }
@media (min-width: 768px) { .gb-cart__head { padding: 20px 20px 12px; } }
.gb-cart__title { display: flex; justify-content: center; align-items: center; gap: 8px; font: 400 var(--fs-h7)/1 var(--font-display); letter-spacing: -.05em; text-transform: lowercase; }
.gb-cart__title .icon { width: 16px; height: 16px; }
.gb-cart__scroll { flex: 1; overflow-y: auto; padding: 8px 20px 0; }
@media (min-width: 768px) { .gb-cart__scroll { padding: 16px 32px 0; } .gb-cart__head { padding: 20px 20px 12px; } }
.gb-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.gb-line__img { display: block; width: 88px; aspect-ratio: 4 / 5; background: var(--photo); }
.gb-line__img img { width: 100%; height: 100%; object-fit: cover; }
.gb-line__info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0; }
.gb-line__name { font: 500 12px/1.3 var(--font-body); text-transform: lowercase; }
.gb-line__variant { font-size: 12px; color: var(--ink-60); }
.gb-line__ctrl { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.gb-line__remove { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; color: var(--ink-60); }
.gb-line__remove:hover { color: var(--ink); }
.gb-line__price { font: 500 12px/1.3 var(--font-body); white-space: nowrap; }
.gb-cart__foot { border-top: 1px solid var(--line); padding: 20px 20px 24px; background: var(--cream); }
@media (min-width: 768px) { .gb-cart__foot { padding: 24px 32px 28px; } }
.gb-cart__total { display: flex; justify-content: space-between; align-items: baseline; text-transform: uppercase; font-size: 12px; margin-bottom: 16px; }
.gb-cart__total strong { font-weight: 600; text-transform: none; }
.gb-cart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gb-cart__actions .btn { padding: 0 12px; width: 100%; }
.gb-cart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 40px 24px 120px; text-align: center; }

.gb-search__form { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); }
.gb-search__form input[type="search"] { flex: 1; min-width: 0; height: 44px; border: 0; background: transparent; font: 400 16px var(--font-body); color: var(--ink); outline: none; }
.gb-search__form input::placeholder { color: var(--ink-60); }
.gb-search__block { padding: 32px 20px; display: grid; gap: 20px; }
.gb-search__block ul { display: grid; gap: 12px; }
.gb-search__block a { display: inline-block; }
.gb-search__block a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ------------------------------------------- 7 tarjeta de producto y carrusel */
.card { position: relative; aspect-ratio: 2 / 3; background: var(--photo); overflow: hidden; }
.card__media { position: absolute; inset: 0; }
.card__img { position: absolute; inset: 0; display: block; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }
.card__img--alt { opacity: 0; transform: scale(1.05); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.card__img--alt img { object-fit: cover; }
.card__badges { position: absolute; top: 16px; left: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; pointer-events: none; }
.card__info { position: absolute; left: 0; right: 0; bottom: 38px; text-align: center; padding: 0 12px; z-index: 2; transition: opacity .2s var(--ease); }
.card__title { font: 400 12px/1.4 var(--font-body); }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { font-size: 12px; line-height: 1.4; color: var(--ink-60); }
.card__price del { opacity: .8; margin-left: 6px; }
.card__price ins { text-decoration: none; color: #fa3f3f; }
.card__swatches { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 4; display: flex; justify-content: center; gap: 7px; }
.card__swatches .dot { display: block; width: 13px; height: 13px; border-radius: 50%; background: var(--c, #ddd); border: 1px solid rgba(50, 30, 30, .18); }
.card__swatches .dot.is-on { outline: 1px solid var(--ink); outline-offset: 2px; }
.card__cta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3; opacity: 0; transform: translateY(6px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease); display: none; }
.card__cta .btn { width: 100%; }
.card--sw .card__cta { bottom: 40px; }
.card__quick { position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; display: grid; place-items: center; color: var(--ink); }
@media (hover: hover) and (min-width: 768px) {
	.card__cta { display: block; }
	.card__quick { display: none; }
	.card:hover .card__img--alt, .card:focus-within .card__img--alt { opacity: 1; transform: none; }
	.card:hover .card__cta, .card:focus-within .card__cta { opacity: 1; transform: none; pointer-events: auto; }
	.card:hover .card__info, .card:focus-within .card__info { opacity: 0; }
}

.carousel { position: relative; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: 66%;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.carousel__track::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .carousel__track { grid-auto-columns: 34%; } }
@media (min-width: 1100px) { .carousel__track { grid-auto-columns: 25%; } }
.card-wrap { scroll-snap-align: start; border-right: 1px solid var(--line); min-width: 0; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.carousel__track.is-dragging a { pointer-events: none; }
.circle-arrow { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; z-index: 5; opacity: 0; pointer-events: none; }
.circle-arrow--next { right: var(--gutter); }
.circle-arrow--prev { left: var(--gutter); }
.circle-arrow .icon { width: 18px; height: 18px; }
@media (hover: hover) and (min-width: 768px) {
	.carousel.has-next:hover .circle-arrow--next, .carousel.has-prev:hover .circle-arrow--prev { opacity: 1; pointer-events: auto; }
}
.carousel__progress { display: none; width: 180px; height: 2px; margin: 48px auto 0; background: var(--ink-30); }
.carousel.has-overflow .carousel__progress { display: block; }
.carousel__progress span { display: block; height: 100%; width: 66%; background: var(--ink); transition: transform .12s linear; }

/* --------------------------------------------------------------- 8 portada */
.gb-home { overflow-x: clip; }

/* 8.1 slideshow */
.hero { position: relative; background: var(--photo); color: var(--ink); }
.hero[data-tone="dark"] { color: #fff; }
.hero__slides { display: grid; }
.hero__slide {
	grid-area: 1 / 1; display: grid; grid-template-columns: 1fr; position: relative;
	opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease, visibility 0s; }
.hero__slide[data-tone="dark"] { color: #fff; }
.hero__photos { display: contents; }
.hero__photo { position: relative; overflow: hidden; height: min(125vw, 640px); order: -1; }
.hero__photo--1 { display: none; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__text { padding: 28px var(--gutter) 72px; }
.hero__title { margin-bottom: 24px; }
.hero__p { max-width: 424px; margin-bottom: 24px; }
@media (min-width: 1024px) {
	.hero__slides { height: clamp(560px, 50vw, 800px); }
	.hero__slide { grid-template-columns: 40% 30% 30%; grid-template-rows: 100%; height: 100%; }
	.hero__photo { order: 0; height: 100%; }
	.hero__photo--0 { grid-column: 2; grid-row: 1; }
	.hero__photo--1 { display: block; grid-column: 3; grid-row: 1; }
	.hero__text { grid-column: 1; grid-row: 1; align-self: center; padding: var(--header-h) 24px 0 var(--gutter); }
	.hero__title { margin-bottom: 32px; }
	.hero__p { margin-bottom: 32px; }
}
.hero__ui { position: absolute; right: var(--gutter); bottom: 20px; display: flex; align-items: center; gap: 28px; z-index: 3; }
@media (min-width: 1024px) { .hero__ui { bottom: 34px; right: 32px; } }
.hero__dots { display: flex; gap: 18px; }
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .3; padding: 0; position: relative; transition: opacity .3s; }
.hero__dot::after { content: ""; position: absolute; inset: -12px -6px; }
.hero__dot.is-active { opacity: 1; }
.hero__pause { width: 24px; height: 24px; display: grid; place-items: center; }
.hero__pause .icon { width: 14px; height: 14px; stroke-width: 1.6; }
.hero__pause .icon--play { display: none; }
.hero.is-paused .hero__pause .icon--pause { display: none; }
.hero.is-paused .hero__pause .icon--play { display: block; }
.hero[data-tone="dark"] .hero__ui { color: #fff; }

/* 8.2 colección destacada */
.fcoll { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.fcoll__tabs { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 0 var(--gutter) 28px; align-items: center; }
@media (min-width: 1024px) { .fcoll__tabs { padding-bottom: 40px; } }
.tab { display: inline-flex; align-items: center; opacity: .3; transition: opacity .25s var(--ease); line-height: 1; }
.tab::before { content: ""; width: 0; height: .55em; aspect-ratio: 1; border-radius: 50%; background: var(--ink); margin-right: 0; transition: width .3s var(--ease), margin .3s var(--ease); flex: none; }
.tab.is-active { opacity: 1; }
.tab.is-active::before { width: .55em; margin-right: .48em; }
.tab:not(.is-active):hover { opacity: .6; }
.fcoll__panel { animation: gb-fade .4s var(--ease) both; }
.fcoll .carousel__progress { margin-top: 32px; }
@media (min-width: 1024px) { .fcoll .carousel__progress { margin-top: 48px; } }

/* 8.3 bloques de categorías */
.catblocks__row { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.catblocks__row::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .catblocks__row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; } }
.catblock { position: relative; aspect-ratio: 4 / 5; background: var(--photo); scroll-snap-align: start; overflow: hidden; border-right: 1px solid var(--line); }
.catblock:last-child { border-right: 0; }
.catblock > img { position: absolute; left: 0; top: 0; width: 100%; height: 86%; object-fit: contain; object-position: 50% 0; transition: transform 1.2s var(--ease-out); }
.catblock:hover > img { transform: scale(1.03); }
.catblock__link { position: absolute; inset: 0; z-index: 1; }
.catblock__label { position: absolute; top: 24px; left: 24px; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); pointer-events: none; }
.catblock__btn { position: absolute; left: 24px; bottom: 24px; z-index: 2; }
@media (min-width: 768px) { .catblock__label { top: 48px; left: 48px; } .catblock__btn { left: 48px; bottom: 48px; } }

/* 8.4 mosaico (grilla dinámica) */
.mosaic { padding: var(--section-y) var(--gutter); overflow: hidden; }
.mosaic__stage { position: relative; }
.mosaic__text { max-width: 480px; margin-bottom: 40px; }
.mosaic__text h2 { margin-bottom: 28px; }
.mosaic__text p { max-width: 424px; margin-bottom: 28px; }
.mosaic__item a { display: block; background: var(--photo); overflow: hidden; }
.mosaic__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mosaic__item figcaption { margin-top: 8px; font-size: 12px; }
.mosaic__doodle { display: none; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; position: absolute; pointer-events: none; }
.mosaic__doodle path { vector-effect: non-scaling-stroke; }
@media (max-width: 1023px) {
	.mosaic__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; align-items: start; }
	.mosaic__text { grid-column: 1 / -1; margin-bottom: 8px; }
	.mosaic__item--c { grid-column: 1 / -1; width: 64%; justify-self: end; }
	.mosaic__item--b { margin-top: 40px; }
}
@media (min-width: 1024px) {
	.mosaic { padding: 0 var(--gutter); }
	.mosaic__stage { aspect-ratio: 1344 / 980; }
	.mosaic__text { position: absolute; left: 0; top: 14%; width: 34%; max-width: none; margin: 0; }
	.mosaic__item { position: absolute; margin: 0; }
	.mosaic__item--a { left: 12.6%; top: 59%; width: 17.8%; }
	.mosaic__item--b { left: 44.2%; top: 15%; width: 24.1%; }
	.mosaic__item--c { left: 77.5%; top: 41.5%; width: 24.1%; }
	.mosaic__doodle { display: block; }
	.mosaic__doodle--spark { left: 36%; top: 72%; width: 7%; }
	.mosaic__doodle--heart { left: 72.4%; top: 12%; width: 6.4%; }
	.mosaic__doodle--lash { left: 55%; top: 66%; width: 10%; }
}

/* 8.5 texto con imagen */
.tmedia { display: grid; grid-template-columns: 1fr; }
.tmedia__visual { position: relative; aspect-ratio: 1; background: var(--photo); overflow: hidden; }
.tmedia__bg { position: absolute; inset: -8%; width: 116%; height: 116%; max-width: none; object-fit: cover; filter: blur(26px) saturate(1.35); }
.tmedia__inset { position: absolute; left: 50%; top: 50%; width: 47.6%; aspect-ratio: 1; margin-left: -23.8%; margin-top: -23.8%; overflow: hidden; background: var(--photo); }
.tmedia__inset img { width: 100%; height: 100%; object-fit: cover; }
.tmedia__body { background: var(--sand); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.tmedia__head { max-width: 624px; display: grid; gap: 28px; }
.tmedia__foot { max-width: 576px; display: grid; gap: 28px; justify-items: start; }
@media (min-width: 768px) {
	.tmedia { grid-template-columns: 1fr 1fr; min-height: clamp(560px, 50vw, 720px); }
	.tmedia__visual { aspect-ratio: auto; }
	.tmedia__body { padding: 48px; }
}

/* 8.6 texto de lectura */
.reading { position: relative; height: 296vh; }
.reading__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 0 var(--gutter); }
.reading__inner { max-width: 850px; text-align: center; display: grid; justify-items: center; gap: 28px; }
.reading__text { line-height: .95; }
.reading__text .rw { transition: opacity .12s linear; }
.reading__cta { transition: opacity .15s linear; }
html:not(.js) .reading, .reading.is-static { height: auto; }
html:not(.js) .reading__sticky, .reading.is-static .reading__sticky { position: static; height: auto; padding: var(--section-y) var(--gutter); }

/* 8.7 fondo fijo */
.fixedbg { position: relative; min-height: calc(100vh - var(--header-h)); clip-path: inset(0); background: var(--sand); overflow: hidden; display: grid; padding: 24px var(--gutter); gap: 24px; align-content: space-between; }
.fixedbg__layer { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); }
.fixedbg__layer img { width: 100%; height: 100%; object-fit: cover; }
.fixedbg__layer img:nth-child(n + 7) { display: none; }
.fixedbg__card { position: relative; z-index: 1; background: var(--cream); color: var(--ink); padding: 24px; }
.fixedbg__card--title { justify-self: start; display: grid; gap: 20px; max-width: 100%; }
.fixedbg__card--text { justify-self: stretch; display: grid; gap: 16px; justify-items: start; }
.fixedbg__card--text p { max-width: 400px; }
.fixedbg__card--text .t-h6 { margin-bottom: 4px; }
@media (min-width: 1024px) {
	.fixedbg { padding: 48px; min-height: calc(100vh - var(--header-h)); }
	.fixedbg__layer { position: fixed; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); }
	.fixedbg__layer img:nth-child(n + 7) { display: block; }
	.fixedbg__card { padding: 32px 48px 36px; }
	.fixedbg__card--title { padding-bottom: 36px; }
	.fixedbg__card--text { justify-self: end; width: 480px; padding: 48px; }
}

/* ---------------------------------------------------------- 9 ficha */
.pdp__main { display: grid; grid-template-columns: 1fr; }
.pdp__gallery { position: relative; }
.pdp__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdp__track::-webkit-scrollbar { display: none; }
.pdp__img { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 5; background: var(--photo); overflow: hidden; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__zoom { position: absolute; right: 16px; bottom: 16px; width: 40px; height: 40px; display: grid; place-items: center; color: var(--ink); z-index: 2; }
.pdp__zoom .icon { width: 22px; height: 22px; stroke-width: 1; }
.pdp__dots { display: flex; justify-content: center; gap: 18px; padding: 18px 0 0; }
.pdp__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); opacity: .3; padding: 0; position: relative; }
.pdp__dot::after { content: ""; position: absolute; inset: -12px -6px; }
.pdp__dot.is-active { opacity: 1; }
.pdp__info { padding: 28px var(--gutter) var(--section-y); }
.pdp__badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.pdp__title { margin-bottom: 14px; }
.pdp__price { color: var(--ink); }
.pdp__price del { opacity: .6; margin-left: 8px; }
.pdp__price ins { text-decoration: none; color: #fa3f3f; }
.pdp__rule { margin: 24px 0 26px; }
.pdp__legend { font-size: 12px; margin-bottom: 12px; }
@media (min-width: 768px) { .pdp__legend { font-size: 13px; } }
.pdp__legend span { color: var(--ink-60); margin-right: 4px; }
.pdp__legend strong { font-weight: 400; }
.pdp__swatches { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--c, #ddd); border: 1px solid rgba(50, 30, 30, .16); padding: 0; position: relative; transition: transform .2s var(--ease); }
.swatch:not(.is-static):hover { transform: scale(1.06); }
.swatch.is-on { outline: 1px solid var(--ink); outline-offset: 3px; }
.swatch.is-static { cursor: default; }
table.variations { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }
.js table.variations { display: block; }
.single_variation { display: none !important; }
.pdp__buy { display: flex; gap: 8px; }
.pdp__buy .btn { flex: 1; }
.pdp__now { width: 100%; margin-top: 8px; font-weight: 500; }
.pdp__now .btn__text { font-weight: 500; }
.pdp__msg { min-height: 0; font-size: 12px; color: #c0392b; margin-top: 10px; }
.pdp__msg:empty { display: none; }
.pdp__short { margin-top: 26px; }
.pdp__short p + p { margin-top: .8em; }
.pdp__acc { margin-top: 32px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: grid; grid-template-columns: 20px 1fr 16px; align-items: center; gap: 16px; height: 45px; cursor: pointer; font-size: 12px; }
@media (min-width: 768px) { .acc summary { height: 60px; font-size: 13px; } }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 20px; height: 20px; }
.acc summary .icon--chevron { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.acc[open] summary .icon--chevron { transform: rotate(180deg); }
.acc__body { padding: 0 0 22px 36px; color: var(--ink); }
.specs { margin: 0; display: grid; gap: 8px; }
.specs > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.specs dt { color: var(--ink-60); }
.specs dd { margin: 0; }

.marquee { background: var(--sand); overflow: hidden; height: 96px; display: flex; align-items: center; }
.marquee__track { display: flex; width: max-content; animation: gb-marquee 50s linear infinite; }
.marquee__group { display: flex; flex: none; }
.marquee__word { display: block; padding: 0 40px; font: 400 clamp(26px, calc(20px + 1.5vw), 36px)/1 var(--font-display); letter-spacing: -.05em; text-transform: lowercase; white-space: nowrap; }
@media (min-width: 768px) { .marquee { height: 128px; } }

.details { display: grid; grid-template-columns: 1fr; }
.details__body { background: var(--ink); color: var(--cream); padding: var(--section-y) var(--gutter); }
.details__body .t-h3 { margin: 24px 0 24px; }
.details__intro { max-width: 576px; margin-bottom: 14px; }
.details__rows { margin-top: 32px; border-bottom: 1px solid var(--dark-line); }
.details__rows li { display: flex; align-items: flex-start; gap: 16px; padding: 22px 0; border-top: 1px solid var(--dark-line); }
.details__check { width: 20px; height: 20px; border-radius: 50%; background: var(--cream); color: var(--ink); display: grid; place-items: center; flex: none; margin-top: -1px; }
.details__check .icon { width: 11px; height: 11px; stroke-width: 1.6; }
.details__photo { aspect-ratio: 1; background: var(--photo); overflow: hidden; }
.details__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
@media (min-width: 768px) {
	.details { grid-template-columns: 1fr 1fr; min-height: clamp(560px, 50vw, 720px); }
	.details__body { padding: 48px; }
	.details__photo { aspect-ratio: auto; }
}

.related.fcoll { padding-top: var(--section-y); }
.related .fcoll__tabs .tab::before { width: .55em; margin-right: .48em; }

@media (min-width: 1024px) {
	.pdp__main { grid-template-columns: 1fr 1fr; align-items: start; }
	.pdp__gallery { position: sticky; top: 0; }
	.pdp__track { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow: visible; }
	.pdp__img { flex: none; }
	.pdp__img.is-big { grid-column: 1 / -1; }
	.pdp__dots { display: none; }
	.pdp__info { position: sticky; top: 83px; padding: 64px clamp(32px, 6.94vw, 100px) 72px; }
	.pdp__rule { margin: 24px 0 28px; }
}
/* Móvil: la galería es un carrusel; el mismo marcado, sin la grilla */
@media (max-width: 1023px) { .pdp__img.is-big, .pdp__img { grid-column: auto; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: var(--cream); display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox__img { max-width: calc(100vw - 160px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; margin-top: -24px; }
.lightbox__nav--next { right: 20px; top: 50%; margin-top: -24px; }
.lightbox .icon { width: 18px; height: 18px; }
@media (max-width: 767px) { .lightbox__img { max-width: 100vw; max-height: 80vh; } .lightbox__nav { top: auto; bottom: 20px; margin: 0; } .lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; } }

/* ---------------------------------------------------------- 10 footer */
.site-footer { background: var(--ink); color: var(--cream); padding-top: 56px; overflow: hidden; }
@media (min-width: 1024px) { .site-footer { padding-top: 77px; } }
.site-footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; padding: 0 var(--gutter); }
.fcol .subheading { margin-bottom: 18px; }
.fcol ul { display: grid; gap: 14px; }
.fcol li { font-size: 13px; }
.fcol a { display: inline-block; }
.fcol a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fcol--about { grid-column: 1 / -1; max-width: 384px; }
.fcol--about p { line-height: 1.5; }
@media (min-width: 900px) {
	.site-footer__top { grid-template-columns: 215px 215px minmax(0, 384px); gap: 0 48px; }
	.fcol--about { grid-column: auto; }
}
.site-footer__word { margin: 56px var(--gutter) 0; font: 400 19vw/.78 var(--font-display); letter-spacing: -.05em; text-transform: lowercase; white-space: nowrap; color: var(--cream); padding-bottom: .06em; }
@media (min-width: 1024px) { .site-footer__word { margin-top: 64px; } }
.site-footer__bar { border-top: 1px solid var(--dark-line); padding: 28px var(--gutter); text-align: center; font-size: 12px; color: var(--cream); margin-top: 40px; }
@media (min-width: 1024px) { .site-footer__bar { padding: 40px var(--gutter); margin-top: 64px; } }

/* ------------------------------------- 11 tienda, categoría y páginas Woo */
.gb-shop__inner { padding: var(--section-y) 0 0; }
.gb-shop .woocommerce-products-header { padding: 0 var(--gutter) 32px; }
.gb-shop .page-title, .gb-shop .woocommerce-products-header__title { font: 400 var(--fs-h2)/.9 var(--font-display); letter-spacing: -.05em; text-transform: lowercase; }
.gb-shop .term-description { margin-top: 16px; max-width: 576px; }
.gb-shop ul.products { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.gb-shop ul.products .card-wrap { border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .gb-shop ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gb-shop ul.products { grid-template-columns: repeat(4, 1fr); } }
.gb-shop .woocommerce-pagination { padding: 40px var(--gutter); text-align: center; }
.gb-shop .woocommerce-pagination ul { display: inline-flex; gap: 8px; }
.gb-shop .woocommerce-pagination a, .gb-shop .woocommerce-pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); }
.gb-shop .woocommerce-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.gb-shop .woocommerce-info { margin: 0 var(--gutter); }

.gb-page__inner { max-width: 1240px; margin: 0 auto; padding: calc(var(--section-y) - 8px) var(--gutter) calc(var(--section-y) + 24px); }
.gb-page__inner--center { text-align: center; display: grid; justify-items: center; gap: 24px; padding-top: 120px; padding-bottom: 120px; }
.gb-page__title { margin-bottom: 32px; }
.gb-page__article + .gb-page__article { margin-top: 40px; }
.gb-page .wp-block-woocommerce-cart, .gb-page .wp-block-woocommerce-checkout { max-width: none; }

.woocommerce-message, .woocommerce-error, .woocommerce-info, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 0; color: var(--ink); font-size: 13px;
}
.woocommerce-error { border-left-color: #c0392b; }
.woocommerce-message a.button, .woocommerce-info a.button { float: right; margin-left: 12px; }
.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .wp-element-button,
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 32px; border: 1px solid var(--ink); border-radius: var(--radius-pill);
	background: var(--ink); color: #fff; font: 400 13px var(--font-body); text-transform: lowercase; cursor: pointer; text-decoration: none;
}
.woocommerce .button.alt, .woocommerce button.button.alt, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--olive); border-color: var(--olive); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="password"], .woocommerce input[type="tel"],
.wc-block-components-text-input input, .wc-block-components-textarea textarea, .wc-block-components-combobox .components-combobox-control__input {
	border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 12px 14px; font: 400 14px var(--font-body); color: var(--ink); width: 100%;
}
.woocommerce table.shop_table { border-collapse: collapse; width: 100%; border: 1px solid var(--line); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px; border-top: 1px solid var(--line); text-align: left; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 32px; }
.woocommerce-MyAccount-navigation a { text-transform: lowercase; }
.woocommerce-MyAccount-navigation .is-active a { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) { .woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 48px; } .woocommerce-MyAccount-navigation ul { display: grid; } }
.woocommerce-account:not(.logged-in) .woocommerce, .woocommerce-account .woocommerce-form-login { display: block; max-width: 460px; }

/* ----------------------------------------------------------- 12 movimiento */
@keyframes gb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gb-marquee { to { transform: translateX(-25%); } }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i, 0) * 140ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__title { opacity: 0; transform: translateY(20px); }
.js .hero__slide.is-active .hero__title, .js .hero__title.is-in { opacity: 1; transform: none; transition: opacity .6s ease .15s, transform .6s ease .15s; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js .hero__title { opacity: 1; transform: none; }
	.marquee__track { animation: none; }
	.fixedbg__layer { position: absolute; }
}
