/*
Theme Name: Colors
Author: Estela Gulías
Description: Tema a medida para Colors, tienda de moda y complementos en Moaña (Galicia). WooCommerce.
Version: 1.1.0
Text Domain: colors
*/

:root {
  --paper: #f3eee6;
  --paper-2: #e9e2d6;
  --ink: #15120e;
  --muted: #7a7268;
  --line: rgba(21, 18, 14, .14);
  --rust: #c4441c;
  --wine: #6b1e2b;
  --ochre: #d9a036;
  --moss: #4b5a3c;
  --sky: #a9c1d0;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(16px, 2.6vw, 44px);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --head-h: 64px;
  --top-h: 34px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
::selection { background: var(--rust); color: var(--paper); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.sr, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { padding-inline: var(--gut); }

.eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.link { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; position: relative; padding-bottom: 3px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Botones ---------- */
.btn, .button, .wp-element-button, .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 30px;
  border: 1px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before, .button::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--rust); transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .button:hover::before { transform: none; }
.btn:hover, .button:hover { border-color: var(--rust); color: #fff; }
.btn--light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--light::before { background: #fff; }
.btn--light:hover { color: var(--ink); border-color: #fff; }
.button.disabled, .button:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; grid-template-columns: repeat(5, 1fr); pointer-events: none; }
html:not(.js) .loader, html.seen .loader { display: none; }
.loader span { transform-origin: top; animation: band 1s var(--ease) forwards; animation-delay: calc(1.15s + var(--d)); }
.loader span:nth-child(1) { background: var(--wine); --d: 0s; }
.loader span:nth-child(2) { background: var(--rust); --d: .06s; }
.loader span:nth-child(3) { background: var(--ochre); --d: .12s; }
.loader span:nth-child(4) { background: var(--moss); --d: .18s; }
.loader span:nth-child(5) { background: var(--sky); --d: .24s; }
.loader__word { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); font-size: clamp(64px, 14vw, 220px); line-height: 1; animation: word 1.2s var(--ease) both, wordout .5s ease 1.05s forwards; }
@keyframes band { to { transform: scaleY(0); } }
@keyframes word { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes wordout { to { opacity: 0; } }

/* ---------- Topbar + marquee ---------- */
.topbar { height: var(--top-h); background: var(--ink); color: var(--paper); display: flex; align-items: center; overflow: hidden; position: relative; z-index: 60; }
.marquee { overflow: hidden; width: 100%; }
.marquee__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.marquee--small span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 0 28px; white-space: nowrap; }
.marquee--small span::after { content: "·"; margin-left: 56px; opacity: .5; }
.marquee--big { padding: clamp(40px, 7vw, 110px) 0; border-block: 1px solid var(--line); }
.marquee--big .marquee__track { align-items: center; animation-duration: 45s; }
.marquee--big span { font-size: clamp(54px, 9vw, 150px); line-height: 1; white-space: nowrap; padding: 0 .22em; letter-spacing: -.02em; font-weight: 300; }
.marquee--big .dot { width: .16em; height: .16em; padding: 0; border-radius: 50%; background: var(--rust); font-size: clamp(54px, 9vw, 150px); flex: none; }
.marquee--big .dot:nth-of-type(4n) { background: var(--ochre); }
.marquee--big .dot:nth-of-type(6n) { background: var(--moss); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 80; height: var(--head-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gut);
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: transform .6s var(--ease), background .4s, color .4s, border-color .4s;
}
.site-header.is-hidden { transform: translateY(-101%); }
.has-hero .site-header { position: fixed; top: var(--top-h); left: 0; right: 0; }
.has-hero .site-header:not(.is-solid) { background: transparent; color: #fff; border-color: transparent; }
.has-hero .site-header.is-solid { top: 0; }
.nav { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.nav--right { justify-content: flex-end; }
.nav a, .nav button { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; position: relative; padding: 6px 0; }
.nav a::after, .nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav button:hover::after { transform: scaleX(1); transform-origin: left; }
.logo { font-size: 34px; line-height: 1; display: inline-flex; align-items: baseline; gap: 3px; letter-spacing: -.01em; }
.logo i { width: 7px; height: 7px; border-radius: 50%; background: var(--rust); animation: hue 9s steps(1) infinite; }
@keyframes hue { 0% { background: var(--rust); } 20% { background: var(--ochre); } 40% { background: var(--moss); } 60% { background: var(--sky); } 80% { background: var(--wine); } }
.burger { display: none; width: 30px; height: 30px; position: relative; }
.burger span { position: absolute; left: 3px; right: 3px; height: 1px; background: currentColor; }
.burger span:first-child { top: 11px; } .burger span:last-child { top: 19px; }

@media (max-width: 899px) {
  :root { --head-h: 56px; }
  .nav--left, .nav__hide-m { display: none; }
  .burger { display: block; }
  .logo { font-size: 30px; }
  .site-header { grid-template-columns: auto auto 1fr; column-gap: 14px; }
}

/* ---------- Menú móvil / buscador ---------- */
.menu, .srch {
  position: fixed; inset: 0; z-index: 200; background: var(--paper);
  display: flex; flex-direction: column; padding: 20px var(--gut) 32px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu.is-open, .srch.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu__close, .srch__close, .drawer__head button { align-self: flex-end; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.menu__nav { margin-top: auto; display: flex; flex-direction: column; }
.menu__nav a { font-size: clamp(46px, 13vw, 84px); line-height: 1.08; border-bottom: 1px solid var(--line); padding: 6px 0; overflow: hidden; }
.menu__nav a em { display: block; transform: translateY(110%); transition: transform .9s var(--ease); }
.menu.is-open .menu__nav a em { transform: none; }
.menu__nav a:nth-child(2) em { transition-delay: .05s; } .menu__nav a:nth-child(3) em { transition-delay: .1s; } .menu__nav a:nth-child(4) em { transition-delay: .15s; } .menu__nav a:nth-child(5) em { transition-delay: .2s; }
.menu__foot { margin-top: 28px; display: flex; gap: 22px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.srch { justify-content: flex-start; }
.srch form { margin: auto 0; }
.srch label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.srch input[type=search] { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: none; font-family: var(--serif); font-style: italic; font-size: clamp(36px, 7vw, 96px); color: var(--ink); padding: 8px 0; outline: none; border-radius: 0; }
.srch input::placeholder { color: rgba(21, 18, 14, .25); }

/* ---------- Cesta lateral ---------- */
.scrim { position: fixed; inset: 0; z-index: 140; background: rgba(21, 18, 14, .45); opacity: 0; pointer-events: none; transition: opacity .5s; }
.scrim.is-on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 150; width: min(440px, 100vw); background: var(--paper); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .8s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__head em { font-size: 30px; line-height: 1; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.drawer .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 100%; }
.woocommerce-mini-cart__empty-message { margin: auto; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--muted); padding: 60px 0; text-align: center; }
.woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 76px 1fr; column-gap: 16px; padding: 16px 28px 16px 0; border-bottom: 1px solid var(--line); min-height: 128px; align-content: start; }
.woocommerce-mini-cart-item > a:not(.remove) { display: contents; font-weight: 500; font-size: 14px; }
.woocommerce-mini-cart-item img { grid-row: 1 / span 4; width: 76px; height: 95px; object-fit: cover; }
.woocommerce-mini-cart-item .remove { position: absolute; right: 0; top: 14px; font-size: 20px; line-height: 1; color: var(--muted); }
.woocommerce-mini-cart-item .variation { grid-column: 2; display: flex; gap: 6px; font-size: 12px; color: var(--muted); margin: 2px 0; }
.woocommerce-mini-cart-item .variation p { margin: 0; }
.woocommerce-mini-cart-item .quantity { grid-column: 2; font-size: 13px; color: var(--muted); }
.woocommerce-mini-cart__total { margin-top: auto; display: flex; justify-content: space-between; padding: 22px 0 14px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.woocommerce-mini-cart__total strong { font-weight: 500; }
.woocommerce-mini-cart__buttons { display: grid; gap: 8px; }
.woocommerce-mini-cart__buttons .button:first-child { background: transparent; color: var(--ink); }
.woocommerce-mini-cart__buttons .button:first-child:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; height: calc(100svh - var(--top-h)); min-height: 560px; color: #fff; overflow: hidden; display: flex; align-items: flex-end; background: #2a231c; }
.hero__media { position: absolute; inset: -6% 0; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media img { animation: kb 14s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: none; } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 11, 8, .38) 0%, rgba(15, 11, 8, 0) 32%, rgba(15, 11, 8, .12) 55%, rgba(15, 11, 8, .72) 100%); }
.hero__content { position: relative; width: 100%; padding: 0 var(--gut) clamp(28px, 5vh, 56px); }
.hero__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; }
.hero__title { font-family: var(--sans); font-weight: 300; font-size: clamp(60px, 13.2vw, 232px); line-height: .88; letter-spacing: -.045em; margin-left: -.04em; }
.hero__title em { letter-spacing: -.02em; }
.line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.09em; }
.line > span { display: block; }
.hero__foot { margin-top: clamp(20px, 3vh, 36px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .35); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__foot p { max-width: 40ch; font-size: 15px; }
.hero__links { display: flex; gap: 10px; }
.hero__scroll { position: absolute; right: var(--gut); top: calc(var(--head-h) + 36px); writing-mode: vertical-rl; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.hero__scroll i { width: 1px; height: 54px; background: rgba(255, 255, 255, .4); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@media (max-width: 899px) { .hero__scroll { display: none; } .hero__links { width: 100%; } .hero__links .btn { flex: 1; } }

/* ---------- Encabezados de sección ---------- */
.sec-head { padding: clamp(72px, 11vw, 170px) 0 clamp(28px, 4vw, 56px); display: grid; gap: 14px; }
.sec-head--row { grid-template-columns: 1fr auto; align-items: end; }
.sec-head--row > div:first-child { display: grid; gap: 14px; }
.sec-title { font-weight: 300; font-size: clamp(38px, 6.4vw, 104px); line-height: .98; letter-spacing: -.035em; max-width: 16ch; }
.sec-title em { letter-spacing: -.015em; }

/* ---------- Categorías ---------- */
.cats__grid { display: grid; grid-template-columns: 1.25fr 1fr .85fr; gap: clamp(10px, 1.4vw, 22px); align-items: start; }
.cat { display: block; }
.cat--b { margin-top: clamp(40px, 9vw, 150px); }
.cat--c { margin-top: clamp(20px, 4vw, 64px); }
.cat__media { overflow: hidden; aspect-ratio: 4 / 5.2; background: var(--paper-2); }
.cat__media > div { height: 116%; margin-top: -8%; }
.cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat:hover .cat__media img { transform: scale(1.05); }
.cat__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding-top: 14px; }
.cat__label em { margin-right: auto; }
.cat__label em { font-size: clamp(30px, 3.6vw, 58px); line-height: 1; }
.cat__num { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.cat__go { white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.cat__go i { display: inline-block; font-style: normal; transition: transform .5s var(--ease); }
.cat:hover .cat__go i { transform: translateX(6px); }
@media (max-width: 899px) {
  .cats__grid { grid-template-columns: 1fr 1fr; }
  .cat--a { grid-column: 1 / -1; }
  .cat--b, .cat--c { margin-top: 18px; }
  .cat__label { grid-template-columns: 1fr; gap: 4px; }
  .cat__num { display: none; }
}

/* ---------- Tarjeta de producto ---------- */
.card { position: relative; min-width: 0; }
.card__media { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .7s ease; }
.card__img--alt { opacity: 0; }
.card:hover .card__img { transform: scale(1.04); }
.card:hover .card__img--alt { opacity: 1; }
.card__tag { position: absolute; left: 12px; top: 12px; background: var(--paper); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 5px 9px; }
.card__tag--sale { background: var(--rust); color: #fff; }
.card__cta { position: absolute; left: 12px; right: 12px; bottom: 12px; background: var(--paper); text-align: center; padding: 13px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; transform: translateY(140%); transition: transform .7s var(--ease); }
.card:hover .card__cta { transform: none; }
.card__info { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; align-items: baseline; }
.card__title { font-size: 14px; font-weight: 500; }
.card__price { font-size: 14px; white-space: nowrap; }
.card__price del { color: var(--muted); margin-right: 6px; }
.card__price ins { text-decoration: none; color: var(--rust); }
@media (hover: none) { .card__cta { display: none; } }

/* ---------- Carrusel de novedades ---------- */
.rail-nav { display: flex; gap: 10px; align-items: center; }
.rail-nav button { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; transition: background .4s, color .4s, border-color .4s; }
.rail-nav button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-nav .link { margin-left: 14px; }
.rail { display: flex; gap: clamp(10px, 1.4vw, 22px); overflow-x: auto; padding: 0 var(--gut) 8px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; scroll-padding-left: var(--gut); }
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag a { pointer-events: none; }
.rail .card { flex: 0 0 clamp(240px, 27vw, 430px); scroll-snap-align: start; }
@media (max-width: 899px) { .sec-head--row { grid-template-columns: 1fr; } .rail-nav button { display: none; } .rail-nav .link { margin: 0; } .rail .card { flex-basis: 68vw; } }

/* ---------- Manifiesto ---------- */
.manifesto { margin-top: clamp(80px, 12vw, 190px); background: var(--wine); color: var(--paper); padding: clamp(90px, 15vw, 230px) 0; }
.manifesto .eyebrow { color: inherit; opacity: .7; margin-bottom: 30px; }
.manifesto__text { font-family: var(--serif); font-size: clamp(32px, 5.2vw, 86px); line-height: 1.08; letter-spacing: -.015em; max-width: 21ch; }
.manifesto__text .w { opacity: .22; transition: opacity .5s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__dots { display: flex; gap: 10px; margin-top: 50px; }
.manifesto__dots i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid currentColor; opacity: .5; transition: background .4s, opacity .4s; }
.manifesto__dots i.on { background: currentColor; opacity: 1; }
@media (min-width: 900px) { .manifesto__inner { padding-left: calc(var(--gut) + 16vw); } }

/* ---------- Editorial ---------- */
.look__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(10px, 1.4vw, 22px); row-gap: clamp(40px, 7vw, 120px); align-items: start; }
.look__item--1 { grid-column: 1 / span 6; }
.look__text { grid-column: 8 / span 4; align-self: center; display: grid; gap: 28px; justify-items: start; }
.look__text p { font-size: clamp(17px, 1.5vw, 23px); line-height: 1.45; font-weight: 300; }
.look__item--2 { grid-column: 2 / span 4; }
.look__item--3 { grid-column: 7 / span 6; margin-top: clamp(30px, 8vw, 140px); }
.look__media { overflow: hidden; background: var(--paper-2); }
.look__media > div { height: 114%; margin-top: -7%; }
.look__item--1 .look__media, .look__item--2 .look__media { aspect-ratio: 4 / 5; }
.look__item--3 .look__media { aspect-ratio: 5 / 5.2; }
.look__media img { width: 100%; height: 100%; object-fit: cover; }
.look figcaption { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; }
.look figcaption span { font-family: var(--serif); font-style: italic; font-size: 24px; }
@media (max-width: 899px) {
  .look__item--1, .look__item--3, .look__text { grid-column: 1 / -1; margin-top: 0; }
  .look__item--2 { grid-column: 3 / -1; }
}

/* ---------- Tienda ---------- */
.store { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 110px); align-items: center; padding-block: clamp(72px, 11vw, 170px); }
.store__media { overflow: hidden; aspect-ratio: 5 / 6; background: var(--paper-2); }
.store__media > div { height: 114%; margin-top: -7%; }
.store__media img { width: 100%; height: 100%; object-fit: cover; }
.store__info { display: grid; gap: 22px; justify-items: start; }
.store__lead { font-size: clamp(16px, 1.3vw, 20px); font-weight: 300; max-width: 46ch; }
.store__data { width: 100%; border-top: 1px solid var(--line); }
.store__data > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.store__data dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.store__row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.store__data a:hover { color: var(--rust); }
.store__actions { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
@media (max-width: 899px) { .store { grid-template-columns: 1fr; } .store__data > div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Ventajas ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.perk { padding: 30px 24px 44px 0; display: grid; gap: 8px; align-content: start; }
.perk + .perk { padding-left: 24px; border-left: 1px solid var(--line); }
.perk__n { font-size: 11px; letter-spacing: .14em; color: var(--rust); }
.perk h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 26px; line-height: 1.1; }
.perk p { color: var(--muted); font-size: 14px; max-width: 30ch; }
@media (max-width: 899px) { .perks { grid-template-columns: 1fr 1fr; } .perk:nth-child(3) { padding-left: 0; border-left: 0; } .perk:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(60px, 8vw, 120px) var(--gut) 22px; overflow: hidden; }
.site-footer .eyebrow { color: rgba(243, 238, 230, .5); margin-bottom: 14px; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 140px); }
.footer__title { font-weight: 300; font-size: clamp(28px, 3.4vw, 54px); line-height: 1.04; letter-spacing: -.03em; max-width: 17ch; }
.news { display: flex; margin-top: 30px; border-bottom: 1px solid rgba(243, 238, 230, .4); max-width: 520px; }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: inherit; font: inherit; font-size: 16px; padding: 14px 0; outline: none; }
.news input::placeholder { color: rgba(243, 238, 230, .45); }
.news button { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.news button:hover { color: var(--ochre); }
.news__ok { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ochre); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__cols a { display: block; padding: 4px 0; font-size: 14px; opacity: .85; transition: opacity .3s, color .3s; }
.footer__cols a:hover { opacity: 1; color: var(--ochre); }
.footer__word { font-size: clamp(120px, 31vw, 560px); line-height: .8; text-align: center; margin: clamp(40px, 6vw, 90px) 0 clamp(20px, 3vw, 50px); letter-spacing: -.03em; white-space: nowrap; }
.footer__word em { display: inline-block; background: linear-gradient(90deg, var(--rust), var(--ochre), var(--sky), var(--rust)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 16s linear infinite; padding: 0 .08em .12em; }
@keyframes slide { to { background-position: -300% 0; } }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; border-top: 1px solid rgba(243, 238, 230, .16); padding-top: 18px; }
@media (max-width: 899px) { .footer__top { grid-template-columns: 1fr; } .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- Páginas ---------- */
.pg { padding-bottom: clamp(60px, 9vw, 140px); }
.pg__head, .shop__head { padding: clamp(48px, 7vw, 110px) 0 clamp(26px, 3.4vw, 52px); display: grid; gap: 14px; }
.pg__title, .shop__title { font-weight: 300; font-size: clamp(44px, 8vw, 132px); line-height: .95; letter-spacing: -.04em; max-width: 14ch; }
.shop__title em { letter-spacing: -.02em; }
.shop__desc { max-width: 56ch; color: var(--muted); font-size: 16px; }
.pg:not(.pg--wide) .pg__body { max-width: 760px; }
.pg__intro { max-width: 760px; padding-bottom: 10px; }
.prose { font-size: 17px; line-height: 1.65; font-weight: 300; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; line-height: 1.15; margin-top: 1.6em; }
.prose h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; margin-top: 2em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2em; }

/* ---------- Catálogo ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 26px; }
.chip { border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: background .4s, color .4s, border-color .4s; }
.chip:hover, .chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.shop__body { padding-bottom: clamp(60px, 9vw, 140px); }
.woocommerce-ordering { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.woocommerce-ordering select { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--line); font: inherit; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 22px 8px 0; color: var(--ink); cursor: pointer; border-radius: 0; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 9px) 50%, calc(100% - 4px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3.4vw, 56px) clamp(10px, 1.4vw, 22px); }
ul.products::before, ul.products::after { content: none; }
@media (max-width: 1099px) { ul.products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 699px) { ul.products { grid-template-columns: repeat(2, 1fr); } .card__info { flex-direction: column; gap: 2px; } }
.woocommerce-pagination { margin-top: 60px; }
.woocommerce-pagination ul { display: flex; gap: 6px; justify-content: center; }
.woocommerce-pagination .page-numbers { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; font-size: 13px; }
.woocommerce-pagination .current { background: var(--ink); color: var(--paper); }
.woocommerce-info, .woocommerce-message, .woocommerce-error, .woocommerce-no-products-found .woocommerce-info { list-style: none; border: 1px solid var(--line); padding: 16px 20px; margin: 0 0 24px; display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 14px; }
.woocommerce-message .button, .woocommerce-info .button { min-height: 38px; padding: 0 18px; order: 2; }
.woocommerce-error { border-color: var(--rust); color: var(--rust); }

/* ---------- Ficha de producto ---------- */
.product-page { padding-top: clamp(14px, 2vw, 28px); padding-bottom: clamp(60px, 9vw, 140px); }
.product-page div.product { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(22px, 4.5vw, 84px); align-items: start; }
.pgallery { display: grid; gap: clamp(8px, 1vw, 16px); }
.pgallery--multi { grid-template-columns: 1fr 1fr; }
.pgallery__item { overflow: hidden; background: var(--paper-2); aspect-ratio: 4 / 5; }
.pgallery--single .pgallery__item { max-width: 78%; margin-inline: auto; width: 100%; }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; }
.product-page .summary { position: sticky; top: calc(var(--head-h) + 26px); display: flex; flex-direction: column; gap: 16px; }
.crumbs { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumb-sep { margin: 0 8px; opacity: .5; }
.product_title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(38px, 4.2vw, 68px); line-height: 1; letter-spacing: -.01em; }
.summary .price { font-size: 19px; }
.summary .price del { color: var(--muted); margin-right: 8px; }
.summary .price ins { text-decoration: none; color: var(--rust); }
.woocommerce-product-details__short-description { color: var(--muted); font-size: 15px; max-width: 46ch; }
form.cart { display: grid; gap: 14px; margin-top: 8px; }
table.variations { width: 100%; border-collapse: collapse; }
table.variations th, table.variations td { display: block; text-align: left; padding: 0; }
table.variations label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; display: block; margin-bottom: 10px; }
table.variations select { width: 100%; height: 50px; border: 1px solid var(--line); background: none; font: inherit; padding: 0 14px; border-radius: 0; color: var(--ink); }
.js table.variations select.is-enhanced { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.sizes button { min-width: 52px; height: 46px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; font-weight: 500; transition: background .35s, color .35s, border-color .35s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.reset_variations { display: none !important; }
.single_variation .price, .woocommerce-variation-availability, .woocommerce-variation-description:empty { display: none; }
.woocommerce-variation-add-to-cart, form.cart:not(.variations_form) { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.quantity .qty { width: 100%; height: 54px; border: 1px solid var(--line); background: none; text-align: center; font: inherit; color: var(--ink); border-radius: 0; -moz-appearance: textfield; }
.single_add_to_cart_button { min-height: 54px; width: 100%; }
.single_add_to_cart_button.is-loading { opacity: .6; pointer-events: none; }
.acc { border-top: 1px solid var(--line); margin-top: 14px; }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 17px 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary::after { content: "+"; font-size: 18px; font-weight: 300; transition: transform .4s var(--ease); }
.acc__item[open] summary::after { transform: rotate(45deg); }
.acc__body { padding: 0 0 20px; color: var(--muted); font-size: 15px; max-width: 52ch; }
.acc__body p + p { margin-top: .8em; }
.acc__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.related { grid-column: 1 / -1; margin-top: clamp(70px, 10vw, 150px); }
.related > h2 { font-weight: 300; font-size: clamp(32px, 4.6vw, 72px); letter-spacing: -.035em; line-height: 1; margin-bottom: clamp(24px, 3vw, 44px); }
@media (max-width: 899px) {
  .product-page div.product { grid-template-columns: 1fr; }
  .product-page .summary { position: static; }
  .pgallery--multi { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .pgallery--multi .pgallery__item { flex: 0 0 84%; scroll-snap-align: center; }
  .pgallery--single .pgallery__item { max-width: none; }
}

/* ---------- Cesta, pago y cuenta (bloques de WooCommerce) ---------- */
.wc-block-cart, .wc-block-checkout, .woocommerce-account .woocommerce { font-family: var(--sans); }
.wc-block-components-product-name { font-weight: 500; text-decoration: none; }
.wc-block-components-text-input input, .wc-blocks-components-select__select, .woocommerce form .input-text, .woocommerce form select { border-radius: 0 !important; }
.wc-block-components-button:not(.is-link):hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.wc-block-components-totals-item__label, .wc-block-cart-items__header { letter-spacing: .04em; }
.woocommerce form .form-row { display: grid; gap: 6px; margin-bottom: 14px; }
.woocommerce form .input-text { height: 50px; border: 1px solid var(--line); background: none; padding: 0 14px; font: inherit; width: 100%; }
.woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.woocommerce-MyAccount-navigation a { border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; display: block; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--paper); }
.woocommerce-form-login, .woocommerce-form-register { max-width: 460px; }
.woocommerce-account h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32px; margin-bottom: 16px; }

/* ---------- Estados de animación (solo si hay JS + GSAP) ---------- */
.anim .js-reveal { opacity: 0; transform: translateY(34px); }
.anim .js-clip { clip-path: inset(100% 0 0 0); }
.anim .js-split .wi { transform: translateY(105%); }
.js-split .wo { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.js-split .wi { display: inline-block; will-change: transform; }
.anim .js-hero-line { transform: translateY(105%); }
.anim .js-hero-fade { opacity: 0; }
body.is-leaving .site-main { opacity: 0; transform: translateY(-12px); transition: opacity .35s ease, transform .35s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .marquee__track { animation: none; }
}
