/* Yourself · storefront. Mobile first. */
/* the footer already leaves room for the phone tab bar (its own bottom padding), so the body needs none: that
   padding used to show as a beige strip under the dark footer. Short pages (404, empty favourites) push the footer
   to the bottom of the screen instead of leaving it halfway up. */
body.store #app { min-height: 100svh; display: flex; flex-direction: column; }
body.store #app > main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 36px); }
.sec-title { font-size: clamp(20px, 2.4vw, 32px); font-weight: var(--w-head); letter-spacing: var(--ls-display); }
.sec-title--caps { text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(17px, 1.8vw, 24px); }
.eyebrow { font: 600 11px/1 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; }
.lede { font-size: clamp(15px, 1.3vw, 17px); color: var(--ink-soft); max-width: 56ch; }
.sec-head .link-arrow { white-space: nowrap; flex: none; } /* "Ver todas" on one line next to the title */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.link-arrow .ico { transition: transform 180ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ico { transform: translateX(4px); } }

/* ---------- Announcement ---------- */
.announce { display: block; text-align: center; font: 500 12px/1.3 var(--font-text); letter-spacing: 0.06em; padding: 9px var(--gutter); text-decoration: none; position: relative; z-index: 60; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: 10px var(--gutter) 0; pointer-events: none; transition: color 220ms var(--ease-out); }
.hdr__bar {
  pointer-events: auto; max-width: var(--maxw); margin: 0 auto; height: 60px; border-radius: var(--r-lg);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 8px 0 10px;
  --glass-alpha: 0.5;
}
.hdr.is-over { color: #fff; }
.hdr.is-over .hdr__bar { --glass-tint: 30, 26, 22; --glass-alpha: 0.12; border-color: rgba(255,255,255,.28); }
.hdr__left, .hdr__right { display: flex; align-items: center; gap: 2px; }
.hdr__right { justify-content: flex-end; }
.hdr__logo { display: grid; place-items: center; height: 44px; padding: 0 8px; color: inherit; }
.hdr__logo .wordmark { height: 20px; }
.hdr__nav { display: none; }
.hdr__nav button { display: inline-flex; align-items: center; gap: 4px; }
.hdr__nav a, .hdr__nav button { font: 500 12px/1 var(--font-text); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 14px 12px; border-radius: var(--r-sm); }
.hdr__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.fit-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--r-pill); font: 600 11px/1 var(--font-text); letter-spacing: 0.06em; text-transform: uppercase; box-shadow: inset 0 0 0 1px currentColor; opacity: .92; }
.fit-chip b { font-weight: 700; }
.hdr .only-desk { display: none; }
@media (min-width: 900px) {
  .hdr__bar { height: 64px; padding: 0 10px 0 14px; }
  .hdr__nav { display: flex; gap: 2px; }
  .hdr .only-desk { display: inline-grid; }
  .hdr .fit-chip.only-desk { display: inline-flex; }
  .hdr .only-mobile { display: none; }
  .hdr__logo .wordmark { height: 22px; }
}
.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: 80px; max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto; border-radius: var(--r-lg); padding: 22px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; pointer-events: auto; color: var(--ink); --glass-alpha: 0.72; animation: drop 220ms var(--ease-out); }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(.99); } }
.mega a { display: grid; gap: 10px; text-decoration: none; font: 500 12px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.mega img { aspect-ratio: 4/5; object-fit: cover; width: 100%; border-radius: var(--r-sm); }

/* ---------- Mobile tab bar ---------- */
.tabbar { position: fixed; z-index: 70; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); height: 62px; border-radius: var(--r-lg); display: grid; grid-template-columns: repeat(5, 1fr); --glass-alpha: 0.55; }
.tabbar a, .tabbar button { display: grid; place-items: center; align-content: center; gap: 3px; font: 600 10px/1 var(--font-text); letter-spacing: .04em; text-decoration: none; position: relative; color: var(--ink); }
.tabbar [aria-current="page"] { font-weight: 800; }
.tabbar [aria-current="page"] .ico { stroke-width: 2.2; }
.tabbar .count-dot { top: 6px; right: calc(50% - 22px); }
@media (min-width: 900px) { .tabbar { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: max(600px, 100svh); margin-top: -84px; overflow: clip; color: #fff; background: #2a241f; }
.announce + .hdr + main .hero { margin-top: -84px; }
.hero[data-size="large"] { height: max(560px, 80svh); }
.hero[data-size="medium"] { height: max(480px, 60svh); }
.hero[data-size="strip"] { height: max(400px, 42svh); }
.hero[data-size="strip"] .hero__glass h1, .hero[data-size="strip"] .hero__glass h2 { font-size: clamp(28px, 3.6vw, 52px); }
.hero[data-size="strip"] .hero__glass p, .hero[data-size="strip"] .hero__word { display: none; }
/* slide change: fade (default), slide, zoom or blur. Timings come from the designer as CSS variables; --ms is the store-wide pace */
.hero { --tr: calc(var(--tr-dur, .9s) * var(--ms, 1)); }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity var(--tr) var(--ease-io), transform var(--tr) var(--ease-io), filter var(--tr) var(--ease-io), visibility 0s var(--tr); }
.hero__slide.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity var(--tr) var(--ease-io), transform var(--tr) var(--ease-io), filter var(--tr) var(--ease-io); }
.hero[data-tr="slide"] .hero__slide { opacity: 1; transform: translate3d(100%, 0, 0); }
.hero[data-tr="slide"][data-dir="-1"] .hero__slide { transform: translate3d(-100%, 0, 0); }
.hero[data-tr="slide"] .hero__slide.is-out { transform: translate3d(-100%, 0, 0); visibility: visible; transition: transform var(--tr) var(--ease-io), visibility 0s var(--tr); }
.hero[data-tr="slide"][data-dir="-1"] .hero__slide.is-out { transform: translate3d(100%, 0, 0); }
.hero[data-tr="slide"] .hero__slide:not(.is-on):not(.is-out) { transition: none; }
.hero[data-tr="slide"] .hero__slide.is-on { transform: none; }
.hero[data-tr="zoom"] .hero__slide { transform: scale(1.08); }
.hero[data-tr="zoom"] .hero__slide.is-out { transform: scale(.96); }
.hero[data-tr="blur"] .hero__slide { filter: blur(22px) saturate(1.3); transform: scale(1.03); }
.hero[data-tr="zoom"] .hero__slide.is-on, .hero[data-tr="blur"] .hero__slide.is-on { transform: none; filter: none; }
.hero__bg { position: absolute; inset: -6% 0; will-change: transform; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fd); }
@media (max-width: 899px) { .hero__bg img { object-position: var(--fm); } }
.hero__slide.is-on[data-anim="kenburns"] .hero__bg img { animation: kb calc(var(--kb-dur, 14s) * var(--ms, 1)) var(--ease-io) both; }
.hero__slide.is-on[data-anim="zoom"] .hero__bg img { animation: zoomout calc(2.2s * var(--ms, 1)) var(--ease-out) both; }
@keyframes kb { from { transform: scale(1.12) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
@keyframes zoomout { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--fd); opacity: 0; transition: opacity 600ms var(--ease-out); }
.hero__video.is-ready { opacity: 1; }
/* pause for the banner videos (they play for everyone, also with "reduce motion"; this is the way to stop them) */
.hero__pause { position: absolute; z-index: 4; right: 16px; top: 92px; width: 44px; height: 44px; border-radius: var(--r-pill); display: grid; place-items: center; color: #fff; }
@media (min-width: 900px) { .hero__pause { top: auto; bottom: 22px; right: 22px; } } /* same row as the carousel controls; on phones they sit at the top, clear of the tab bar */
@media (max-width: 899px) { .hero__video { object-position: var(--fm); } }
.hero__arrow { width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; color: #fff; transition: transform 140ms var(--ease-out); }
.hero__arrow:active { transform: scale(.94); }
@media (min-width: 900px) { .hero__arrow { width: 46px; height: 46px; } }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,16,12,.38) 0%, rgba(20,16,12,0) 22%), linear-gradient(0deg, rgba(20,16,12,.55) 0%, rgba(20,16,12,0) 46%); }
.hero__word { position: absolute; left: 50%; top: 21%; width: min(92vw, 1500px); transform: translateX(-50%); color: rgba(255,255,255,.9); pointer-events: none; will-change: transform; }
.hero__word .wordmark { width: 100%; height: auto; }
.hero__glass {
  position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: calc(92px + var(--safe-b));
  border-radius: var(--r-xl); padding: 22px 20px 20px; display: grid; gap: 12px; will-change: transform;
  --glass-tint: 255, 255, 255; --glass-alpha: 0.1;
}
.hero__glass h1, .hero__glass h2 { font-size: clamp(34px, 9vw, 76px); font-weight: var(--w-display); letter-spacing: var(--ls-display); line-height: 0.98; }
.hero__glass p { font-size: 15px; line-height: 1.5; opacity: .92; max-width: 42ch; }
/* phones: the announcement bar pushes the banner down by its height, so the box (and its buttons) sat behind the
   bottom tab bar on the first screen; lift it by about one bar so the buttons are always visible and tappable */
@media (max-width: 899px) { .announce + .hdr + main .hero:not([data-size="medium"]):not([data-size="strip"]) .hero__glass { bottom: calc(136px + var(--safe-b)); } }
/* light text (the default white) gets a soft shadow so it stays readable when the photo behind the glass is bright */
.hero__slide[data-ink="light"] .hero__glass :is(h1, h2, p, .eyebrow) { text-shadow: 0 1px 2px rgba(20,16,12,.22), 0 2px 18px rgba(20,16,12,.34); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.hero__ctas .glass-btn { color: #fff; }
.hero__nav { position: absolute; z-index: 4; left: 50%; top: 92px; transform: translateX(-50%); display: flex; align-items: center; gap: 8px; }
.hero__dots { display: flex; gap: 2px; }
.hero__dots button { position: relative; width: 34px; height: 34px; display: grid; place-items: center; }
.hero__dots button::after { content: ""; position: absolute; inset: -5px; } /* 44px to tap, same small dots */
/* the active dot fills up while the banner is showing; when it is full the next banner comes in */
.hero__timer { position: absolute; left: 6px; top: calc(50% - 3.5px); width: 22px; height: 7px; border-radius: var(--r-pill); background: #fff; transform-origin: left center; transform: scaleX(0); animation: dotfill var(--auto, 7s) linear forwards; pointer-events: none; }
.hero[data-progress="false"] .hero__timer { opacity: 0; }
.hero[data-progress="true"] .hero__dots button[aria-current="true"]::before { background: rgba(255,255,255,.42); }
.hero.is-paused .hero__timer { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: rgba(255,255,255,.5); transition: width 300ms var(--ease-out), background-color 200ms; }
.hero__dots button[aria-current="true"]::before { width: 22px; background: #fff; }
/* banner text entrance: rise (default), fade, left, blur, letters-free "pop", or none */
.hero__slide .tx > * { opacity: 0; }
.hero__slide[data-text="rise"] .tx > * { transform: translateY(18px); }
.hero__slide[data-text="left"] .tx > * { transform: translateX(-32px); }
.hero__slide[data-text="blur"] .tx > * { filter: blur(12px); transform: scale(1.03); }
.hero__slide[data-text="pop"] .tx > * { transform: scale(.86); }
.hero__slide.is-on .tx > * { animation: rise calc(var(--tx-dur, .76s) * var(--ms, 1)) var(--ease-out) forwards; }
.hero__slide[data-text="pop"].is-on .tx > * { animation-timing-function: cubic-bezier(.34, 1.56, .64, 1); }
.hero__slide.is-on .tx > *:nth-child(2) { animation-delay: calc(.09s * var(--ms, 1)); }
.hero__slide.is-on .tx > *:nth-child(3) { animation-delay: calc(.17s * var(--ms, 1)); }
.hero__slide.is-on .tx > *:nth-child(4) { animation-delay: calc(.25s * var(--ms, 1)); }
.hero__slide[data-text="none"] .tx > * { opacity: 1; transform: none; filter: none; animation: none; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@media (min-width: 900px) {
  .hero { margin-top: -94px; }
  .hero__word { top: auto; bottom: 7%; width: min(86vw, 1400px); }
  .hero__glass { left: var(--gutter); right: auto; bottom: auto; top: 50%; translate: 0 -40%; width: min(540px, 42vw); padding: 34px 34px 30px; border-radius: var(--r-xl); }
  .hero__slide[data-align="right"] .hero__glass { left: auto; right: var(--gutter); }
  .hero__slide[data-align="center"] .hero__glass { left: 50%; translate: -50% -40%; text-align: center; }
  .hero__slide[data-align="center"] .hero__ctas { justify-content: center; }
  .hero__glass h1, .hero__glass h2 { font-size: clamp(48px, 5.4vw, 84px); }
  .hero__nav { top: auto; bottom: 22px; }
  .hero[data-size="medium"] .hero__glass, .hero[data-size="strip"] .hero__glass { top: auto; bottom: 84px; translate: 0 0; }
  .hero[data-size="medium"] .hero__slide[data-align="center"] .hero__glass, .hero[data-size="strip"] .hero__slide[data-align="center"] .hero__glass { translate: -50% 0; }
}

/* ---------- Marquee (moving tape) ---------- */
.marquee { --mq-gap: 48px; overflow: hidden; white-space: nowrap; padding: 15px 0; font: 500 12px/1 var(--font-text); letter-spacing: .18em; text-transform: uppercase; }
.marquee[data-size="sm"] { --mq-gap: 32px; padding: 9px 0; font-size: 11px; }
.marquee[data-size="lg"] { --mq-gap: 64px; padding: 22px 0; font: var(--w-head) clamp(22px, 3.4vw, 40px)/1 var(--font-display); letter-spacing: .02em; }
.marquee[data-caps="false"] { text-transform: none; letter-spacing: .04em; }
.marquee__track { display: inline-flex; gap: var(--mq-gap); padding-right: var(--mq-gap); animation: mq calc(var(--mq, 40s) * var(--ms, 1)) linear infinite; animation-direction: var(--mq-dir, normal); }
.marquee[data-pause="true"]:hover .marquee__track { animation-play-state: paused; }
.marquee__track span::after { content: var(--sep, "✦"); margin-left: var(--mq-gap); opacity: .6; font-size: .8em; }
.marquee[data-sep="false"] .marquee__track span::after { content: none; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .marquee__track { animation: none; } }
.mq-wrap { position: relative; isolation: isolate; --tilt: calc(var(--tilt-n, 0) * 1deg); }
/* room above and below so the tilted tape is never cut: about tan(angle) x half the screen width */
.mq-wrap.is-tilted { overflow: clip; padding-block: calc(max(var(--tilt-n), calc(var(--tilt-n) * -1)) * .9vw + 8px); }
.mq-wrap.is-tilted > .marquee { width: 112%; margin-left: -6%; transform: rotate(var(--tilt)); box-shadow: 0 10px 30px rgba(20,16,12,.12); }
.mq-wrap.is-tilted > .marquee--b { transform: rotate(calc(var(--tilt) * -1)); margin-top: -2.6em; position: relative; z-index: -1; }
.mq-wrap.is-double:not(.is-tilted) > .marquee--b { margin-top: 0; }
/* announcement bar variants */
.announce--tape { padding: 0; }
.announce--tape .marquee { padding: 9px 0; }
.announce--rotate { overflow: hidden; }
.announce__msg { display: block; animation: ann-in calc(.5s * var(--ms, 1)) var(--ease-out) both; }
@keyframes ann-in { from { opacity: 0; transform: translateY(70%); } }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin: 0 calc(-1 * var(--gutter)) 22px; padding-inline: var(--gutter); scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 40px; padding: 0 18px; border-radius: var(--r-pill); font: 500 13px/1 var(--font-text); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); scroll-snap-align: start; transition: background-color 160ms var(--ease-out), color 160ms; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--canvas); box-shadow: none; }
@media (min-width: 900px) { .tabs { margin-inline: 0; padding-inline: 0; } }

/* ---------- Product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 6px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 10px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(62%, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) { .rail { grid-auto-columns: calc((100% - 3 * 18px) / 3.3); gap: 18px; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 4 * 18px) / 4.4); } }

.card { position: relative; display: grid; gap: 10px; align-content: start; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); isolation: isolate; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 420ms var(--ease-out), transform 900ms var(--ease-out); }
.card__media img.alt { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__media img.main { transform: scale(1.035); }
  .card:hover .card__media img.alt { opacity: 1; }
  .card:hover .quick { opacity: 1; transform: none; pointer-events: auto; }
}
.card__link { position: absolute; inset: 0; z-index: 1; }
.badges { position: absolute; z-index: 2; left: 8px; top: 8px; display: grid; gap: 6px; justify-items: start; pointer-events: none; }
/* under the price, never over the photo */
.card__ready { display: inline-flex; align-items: center; gap: 7px; padding-left: 3px; font: 600 11px/1.2 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.card__ready .dot { width: 6px; height: 6px; border-radius: 9px; background: var(--ok); box-shadow: 0 0 0 3px rgba(31,122,77,.16); flex: none; }
.card__promo { justify-self: start; display: inline-block; padding: 3px 8px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--sale) 10%, transparent); color: color-mix(in srgb, var(--sale) 82%, #000); font: 700 10.5px/1.2 var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-pill); font: 700 10px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); --glass-alpha: .55; }
.badge--sale { background: var(--sale); color: #fff; border: 0; box-shadow: 0 4px 12px rgba(179,38,30,.28); }
.badge .dot { width: 7px; height: 7px; border-radius: 9px; background: var(--ok); box-shadow: 0 0 0 3px rgba(31,122,77,.18); }
.fav { position: absolute; z-index: 3; right: 8px; top: 8px; width: 38px; height: 38px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink); --glass-alpha: .5; }
@media (pointer: coarse) { .fav { width: 42px; height: 42px; right: 6px; top: 6px; } } /* heart: bigger target for a thumb */
.fav[aria-pressed="true"] svg { fill: var(--sale); stroke: var(--sale); }
.quick { position: absolute; z-index: 3; left: 8px; right: 8px; bottom: 8px; border-radius: var(--r-md); padding: 10px; display: grid; gap: 8px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out); --glass-alpha: .62; color: var(--ink); }
.quick__label { font: 600 10px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; text-align: center; }
.quick__sizes { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
.quick__sizes button { min-width: 38px; height: 32px; border-radius: var(--r-xs); font: 600 12px/1 var(--font-text); background: rgba(255,255,255,.7); }
.quick__sizes button:hover { background: var(--ink); color: #fff; }
.quick__sizes button.is-mine { box-shadow: inset 0 0 0 1.5px var(--ink); }
.card__info { display: grid; gap: 5px; padding-inline: 2px; }
.card__name { font: 600 12.5px/1.35 var(--font-text); letter-spacing: .02em; }
/* "Multiple color": a quiet hint that the dress comes in several colours. The letters slowly run through a soft
   rainbow (muted so it sits with the brand); still with "reduce motion" or when the owner turns motion off. */
.multicolor { display: inline-block; margin-left: 4px; font: 700 9.5px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; vertical-align: .14em;
  background: linear-gradient(90deg, #c2566b, #cf8a4a, #bfa23d, #5f9e72, #4d8fb5, #7a69b8, #b25aa0, #c2566b) 0 50% / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: multicolor 9s linear infinite; }
@keyframes multicolor { to { background-position: 300% 50%; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .multicolor { animation: none; } }
.card__fit { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.card__fit .ok { color: var(--ok); font-weight: 700; }
.swatches { display: flex; gap: 5px; }
.swatches i { width: 12px; height: 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }

/* ---------- Price (discounts must read instantly) ---------- */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-variant-numeric: tabular-nums; }
.price__now { font: 500 13.5px/1.2 var(--font-text); }
.price.is-sale .price__now { color: var(--sale); }
.price__was { font-size: 12px; color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(95,90,84,.7); }
.price__save { flex-basis: 100%; font: 600 11px/1.2 var(--font-text); letter-spacing: .04em; color: var(--sale); }
.price--lg .price__now { font-size: 20px; font-weight: 600; }
.price--lg .price__was { font-size: 15px; }
.price--lg .price__save { font-size: 13px; }

/* ---------- Collage ---------- */
.collage { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 240px; display: flex; align-items: end; color: #fff; text-decoration: none; isolation: isolate; background: #cfc6b9; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1100ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,16,12,.58), rgba(20,16,12,0) 58%); }
.tile__in { padding: 18px; display: grid; gap: 6px; }
.tile__in h3 { font-size: clamp(22px, 2.6vw, 38px); font-weight: var(--w-display); text-transform: uppercase; letter-spacing: .02em; }
.tile__in p { font-size: 13px; opacity: .9; max-width: 30ch; }
.tile__in .glass-btn { justify-self: start; min-height: 40px; padding: 0 16px; margin-top: 8px; color: #fff; }
.tile:nth-child(1) { grid-column: 1 / -1; min-height: 120vw; }
/* phones: a last tile left alone in its row takes the full width instead of leaving a hole beside it */
@media (max-width: 899px) { .tile:last-child:nth-child(even) { grid-column: 1 / -1; } }
.tile--promo .tile__in h3 { font-size: clamp(36px, 5vw, 72px); font-weight: var(--w-display); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.04); } }
@media (min-width: 900px) {
  .collage { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 340px 340px; gap: 14px; }
  .tile:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
  .tile:nth-child(2) { grid-column: 2; grid-row: 1; }
  .tile:nth-child(3) { grid-column: 3; grid-row: 1; }
  .tile:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
  .tile__in { padding: 28px; }
}

/* ---------- Fit finder (signature) ---------- */
.fit { display: grid; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--ink); color: var(--canvas); position: relative; isolation: isolate; }
.fit__media { position: relative; min-height: 340px; }
.fit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fit__panel { position: relative; margin: -120px 12px 12px; border-radius: var(--r-lg); padding: 24px 20px; display: grid; gap: 16px; }
.fit__panel h2 { font-size: clamp(30px, 4vw, 52px); font-weight: var(--w-display); line-height: 1; }
.fit__panel p { color: rgba(246,243,238,.82); font-size: 15px; }
.fit__inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fit__inputs label { display: grid; gap: 6px; font: 600 10px/1 var(--font-text); letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,238,.8); }
.fit__inputs .input { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; text-align: center; padding: 10px 6px; font-weight: 600; }
.fit__inputs .input::placeholder { color: rgba(255,255,255,.45); }
.fit__inputs .input:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.fit__pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.fit__pick button { min-height: 52px; border-radius: var(--radius); font: 700 13px/1 var(--font-text); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); color: inherit; transition: background-color 160ms var(--ease-out), color 160ms, transform 120ms; }
.fit__pick button:active { transform: scale(.96); }
.fit__pick button[aria-pressed="true"] { background: var(--canvas); color: var(--ink); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .fit__pick button:hover { background: rgba(255,255,255,.2); } }
.fit__toggle { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 40px; font: 600 13px/1.3 var(--font-text); color: inherit; opacity: .85; text-decoration: underline; text-underline-offset: 4px; }
.fit__result { display: grid; gap: 8px; padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,.08); }
.fit__size { font: var(--w-display) 44px/1 var(--font-display); letter-spacing: var(--ls-display); }
.fit__ruler { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.fit__ruler span { text-align: center; padding: 8px 0; border-radius: var(--r-xs); font: 600 11px/1 var(--font-text); background: rgba(255,255,255,.06); color: rgba(246,243,238,.6); transition: background-color 300ms var(--ease-out), color 300ms; }
.fit__ruler span.is-on { background: var(--canvas); color: var(--ink); }
@media (min-width: 900px) {
  .fit { grid-template-columns: 1fr 1fr; min-height: 620px; }
  .fit__media { min-height: 0; }
  .fit__panel { margin: 0; align-self: center; margin-left: -120px; margin-right: 48px; padding: 40px; }
}

/* ---------- Bundle ---------- */
.bundle { display: grid; gap: 18px; padding: 18px; border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--e1); }
.bundle__head { display: grid; gap: 8px; }
.bundle__items { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.bundle__plus { width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--canvas); }
.bundle__pick { display: grid; gap: 8px; text-decoration: none; }
.bundle__pick img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); width: 100%; }
.bundle__pick span { font-size: 13px; font-weight: 600; }
.bundle__save { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 14px; border-radius: var(--r-pill); background: var(--sale); color: #fff; font: 700 12px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
@media (min-width: 900px) { .bundle { grid-template-columns: 0.9fr 1.1fr; align-items: center; padding: 36px; gap: 40px; } }

/* ---------- Promo banner ---------- */
.promo { display: grid; border-radius: var(--r-xl); overflow: hidden; }
.promo__media { min-height: 300px; position: relative; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__copy { padding: clamp(24px, 4vw, 64px); display: grid; gap: 14px; align-content: center; }
.promo__copy h2 { font-size: clamp(32px, 4.4vw, 64px); font-weight: var(--w-display); }
.promo--noimg { min-height: 0 !important; grid-template-columns: 1fr !important; }
@media (min-width: 900px) { .promo { grid-template-columns: 1fr 1fr; min-height: 520px; } .promo--image-left .promo__media { order: -1; } .promo--image-right .promo__media { order: 2; } }

/* ---------- Trust & footer ---------- */
.trust { display: grid; gap: 14px; }
.trust__row { display: grid; gap: 10px; grid-template-columns: 1fr; }
/* the footer already carries payment and shipping logos: on phones show them only once */
.trust__item { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--e1); }
.trust__item .ico-wrap { width: 44px; height: 44px; border-radius: var(--radius); display: grid; place-items: center; background: var(--canvas); }
.trust__item b { display: block; font-size: 14px; }
.trust__item span { font-size: 13px; color: var(--ink-soft); }
@media (min-width: 700px) { .trust__row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trust__row { grid-template-columns: repeat(4, 1fr); } }
.footer { background: var(--ink); color: color-mix(in srgb, var(--canvas) 90%, transparent); padding: clamp(48px, 7vw, 88px) 0 calc(110px + var(--safe-b)); margin-top: clamp(48px, 7vw, 96px); }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }
.footer a { color: inherit; text-decoration: none; }
.footer .btn--wa { color: #fff; } /* "inherit" above turned its text beige: 4.2:1 on the green */
.footer a:hover { text-decoration: underline; }
.footer__top { display: grid; gap: 36px; }
.footer__brand .wordmark { height: 30px; color: var(--canvas); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.footer h2, .footer h4 { font: 600 11px/1 var(--font-text); letter-spacing: .18em; text-transform: uppercase; color: color-mix(in srgb, var(--canvas) 70%, transparent); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
/* links keep their look and spacing, but the finger gets a 40px-tall target */
@media (pointer: coarse) { .footer li > a, .footer li > button { display: inline-flex; align-items: center; min-height: 40px; margin-block: -10px; } }
.footer .pay-logos { display: flex; gap: 10px; }
.footer .btn--light { color: var(--ink); }
.footer__pay { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 14px; }
.footer__legal { margin-top: 24px; font-size: 12px; color: color-mix(in srgb, var(--canvas) 62%, transparent); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.2fr 2fr; } .footer__cols { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Collection page ---------- */
.col-hero { padding-top: clamp(24px, 4vw, 56px); padding-bottom: 16px; display: grid; gap: 10px; }
.col-hero h1 { font-size: clamp(28px, 3.6vw, 52px); font-weight: var(--w-display); letter-spacing: var(--ls-display); }
.toolbar { position: sticky; top: 78px; z-index: 20; display: flex; gap: 8px; align-items: center; padding: 8px; margin: 12px 0 22px; border-radius: var(--r-md); --glass-alpha: .6; overflow-x: auto; scrollbar-width: none; }
.toolbar::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); font: 600 12px/1 var(--font-text); background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--canvas); box-shadow: none; }
.toolbar .select { width: auto; min-height: 38px; padding: 0 34px 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; background-color: rgba(255,255,255,.6); }
@media (pointer: coarse) {
  .chip { height: 40px; }
  .toolbar .select { min-height: 40px; }
  .btn--sm { min-height: 40px; }
  .hint > a[href="/"] { display: inline-block; padding: 11px 4px; margin: -11px -4px; } /* "Inicio" in the trail */
}
.empty { text-align: center; padding: 64px 16px; display: grid; gap: 14px; justify-items: center; color: var(--ink-soft); }

/* ---------- Product page ---------- */
.pdp { display: grid; gap: 22px; padding-top: 8px; }
.gallery { position: relative; margin-inline: calc(-1 * var(--gutter)); }
.gallery__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track figure { margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--surface); position: relative; }
.gallery__track img, .gallery__track video { width: 100%; height: 100%; object-fit: cover; display: block; }
.vsound { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink); --glass-alpha: .55; z-index: 1; }
.vsound[aria-pressed="true"] { background: var(--ink); color: var(--canvas); }
.gallery__dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; gap: 6px; padding: 8px 10px; border-radius: var(--r-pill); --glass-alpha: .4; }
.gallery__dots i { width: 6px; height: 6px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 30%, transparent); transition: width 240ms var(--ease-out); }
.gallery__dots i.on { width: 18px; background: var(--ink); }
.pdp__info { display: grid; gap: 18px; align-content: start; }
.pdp__name { font-size: clamp(20px, 2vw, 28px); font-weight: var(--w-head); letter-spacing: var(--ls-display); line-height: 1.15; }
.pdp__status { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 6px 12px; border-radius: var(--r-pill); font: 600 12px/1.2 var(--font-text); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.pill .dot { width: 7px; height: 7px; border-radius: 9px; background: var(--ok); }
.pill--wait .dot { background: var(--warn); }
.opt-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.size {
  position: relative; min-height: 58px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong);
  display: grid; place-items: center; align-content: center; gap: 3px; font: 600 14px/1 var(--font-text);
  transition: box-shadow 140ms var(--ease-out), background-color 140ms, transform 120ms;
}
.size small { font: 500 11.5px/1.1 var(--font-text); color: var(--ink-soft); letter-spacing: .02em; }
.size[aria-pressed="true"] { background: var(--ink); color: var(--canvas); box-shadow: none; }
.size[aria-pressed="true"] small { color: rgba(246,243,238,.75); }
.size.is-mine::after { content: "Tu talla"; position: absolute; top: -8px; right: 6px; padding: 3px 7px; border-radius: 99px; background: var(--ok); color: #fff; font: 700 9px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.size:active { transform: scale(.97); }
/* "Entrega inmediata": sizes without stock in this tone, crossed out */
.size.is-out { color: color-mix(in srgb, var(--ink-soft) 62%, transparent); background: transparent; box-shadow: inset 0 0 0 1px var(--line); cursor: not-allowed; background-image: linear-gradient(to top right, transparent calc(50% - .5px), var(--line-strong) calc(50% - .5px), var(--line-strong) calc(50% + .5px), transparent calc(50% + .5px)); }
.size.is-out small { color: inherit; }
.size.is-out:active { transform: none; }
.ready-note { display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; align-items: start; padding: 12px 14px; border-radius: var(--radius); background: rgba(31,122,77,.07); font-size: 13px; color: var(--ink-soft); }
.ready-note svg { color: var(--ok); margin-top: 1px; }
.ready-note b { color: var(--ink); }
.ready-note .link-arrow { grid-column: 2; justify-self: start; padding: 4px 0; font-size: 13px; }
.colors { display: flex; gap: 10px; flex-wrap: wrap; }
/* product page colour choice: small calm swatches, thin ring on the chosen one, "+N" when there are many */
.colorpick { display: grid; gap: 12px; }
.colorpick__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.colorpick__head b { font: 600 14px/1.2 var(--font-text); }
.colorpick__count { margin-left: auto; font-size: 12px; color: var(--ink-soft); letter-spacing: .02em; }
.colorpick__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.color { width: 32px; height: 32px; border-radius: 99px; background: var(--c, #ccc); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); position: relative; transition: transform 160ms var(--ease-out); }
.color::before { content: ""; position: absolute; inset: -6px; border-radius: 99px; } /* 44px touch target, same small look; the 12px gap keeps neighbours apart */
.color[aria-pressed="true"]::after { content: ""; position: absolute; inset: -4px; border-radius: 99px; box-shadow: 0 0 0 1.5px var(--ink); }
@media (hover: hover) { .color:hover { transform: scale(1.08); } }
.colorpick__more { position: relative; height: 32px; min-width: 44px; padding: 0 12px; border-radius: 99px; font: 600 12px/1 var(--font-text); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface); }
.qty { display: inline-grid; grid-template-columns: 44px 40px 44px; align-items: center; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface); height: 48px; }
.qty button { height: 100%; display: grid; place-items: center; }
.qty output { text-align: center; font-weight: 700; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.addi-note { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-soft); padding: 12px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 54px; font: 600 13px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .ico { transition: transform 200ms var(--ease-out); }
.accordion details[open] summary .ico { transform: rotate(180deg); }
.accordion .acc-body { padding: 0 0 18px; font-size: 14px; color: var(--ink-soft); display: grid; gap: 10px; }
.sticky-buy { position: fixed; z-index: 65; left: 10px; right: 10px; bottom: calc(80px + var(--safe-b)); border-radius: var(--r-lg); padding: 8px 8px 8px 16px; display: flex; align-items: center; gap: 10px; justify-content: space-between; --glass-alpha: .66; transform: translateY(calc(100% + 120px)); visibility: hidden; transition: transform 300ms var(--ease-out), visibility 0s 300ms; }
.sticky-buy.on { transform: none; visibility: visible; transition: transform 300ms var(--ease-out); }
.sticky-buy .price__now { font-size: 15px; }
@media (min-width: 900px) {
  .pdp { grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 28px; }
  .gallery { margin: 0; }
  .gallery__track { grid-auto-flow: row; grid-template-columns: 1fr 1fr; gap: 10px; overflow: visible; }
  .gallery__track figure { border-radius: var(--radius); overflow: hidden; }
  .gallery__track figure:first-child:nth-last-child(odd), .gallery__track figure:only-child { grid-column: 1 / -1; }
  .gallery__dots { display: none; }
  .pdp__info { position: sticky; top: 100px; }
  .sizes { grid-template-columns: repeat(6, 1fr); }
  .sticky-buy { display: none; }
}

/* ---------- Overlays: drawer / sheet / modal ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(20,16,12,.38); animation: fade 220ms var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; z-index: 90; inset: auto 0 0 0; max-height: 92svh; border-radius: var(--r-xl) var(--r-xl) 0 0; display: grid; grid-template-rows: auto 1fr auto; background: var(--canvas); box-shadow: var(--e3); animation: sheet-up 320ms var(--ease-out); padding-bottom: var(--safe-b); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 8px 22px; }
.drawer__head h2 { font-size: 22px; font-weight: var(--w-head); }
.drawer__grab { width: 40px; height: 5px; border-radius: 9px; background: var(--line-strong); margin: 8px auto 0; }
.drawer__body { overflow-y: auto; padding: 4px 22px 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--canvas); }
@media (min-width: 900px) {
  .drawer { inset: 12px 12px 12px auto; width: min(460px, 92vw); max-height: none; border-radius: var(--r-xl); animation: drawer-in 340ms var(--ease-out); }
  .drawer__grab { display: none; }
  @keyframes drawer-in { from { transform: translateX(105%); } }
}
.modal { position: fixed; z-index: 95; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); overflow: auto; border-radius: var(--r-xl); background: var(--canvas); box-shadow: var(--e3); animation: pop 260ms var(--ease-out); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -48%) scale(.97); } }
.modal__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 14px 8px 22px; background: inherit; z-index: 2; }
.modal__body { padding: 4px 22px 22px; display: grid; gap: 16px; }

/* cart lines */
.line { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-sm); }
.line__top { display: flex; justify-content: space-between; gap: 8px; }
.line__name { font-weight: 600; font-size: 14px; text-decoration: none; }
.line__meta { font-size: 12px; color: var(--ink-soft); }
.line__bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.line .qty { height: 40px; grid-template-columns: 40px 30px 40px; }
.line__del { flex: none; width: 40px; height: 40px; margin: -6px -8px 0 0; }
.progress { display: grid; gap: 8px; padding: 14px; border-radius: var(--r-md); background: var(--surface); font-size: 13px; }
.progress__bar { height: 6px; border-radius: var(--r-xs); background: var(--line); overflow: hidden; }
.progress__bar i { display: block; height: 100%; background: var(--ink); border-radius: var(--r-xs); transition: width 400ms var(--ease-out); }
.bundle-hit { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius); background: rgba(179,38,30,.07); color: var(--sale); font-size: 13px; font-weight: 600; }

/* search */
.search { position: fixed; z-index: 95; inset: 0; background: color-mix(in srgb, var(--canvas) 86%, transparent); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); overflow-y: auto; animation: fade 200ms var(--ease-out); }
.search__bar { position: sticky; top: 0; display: flex; gap: 8px; align-items: center; padding: 14px var(--gutter); }
.search__bar .icon-btn { flex: none; }
.search__bar .input { border-radius: var(--r-pill); height: 54px; padding-left: 20px; font-size: 17px; }

/* popups */
.pop { position: fixed; z-index: 96; color: var(--pop-color); }
.pop__card { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--pop-bg); box-shadow: var(--e3); display: grid; }
.pop__card.glass { background: color-mix(in srgb, var(--pop-bg) 72%, transparent); }
.pop__media { position: relative; }
.pop__media img { width: 100%; height: 100%; object-fit: cover; }
.pop__body { padding: 22px; display: grid; gap: 10px; }
.pop__body h2 { font-size: clamp(26px, 3vw, 36px); font-weight: var(--w-display); }
.pop__code span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pop__code--locked { min-height: 44px; padding-right: 14px; }
.pop__code--locked span { flex: none; overflow: visible; letter-spacing: .12em; opacity: .45; }
.pop__code--locked small { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px/1.3 var(--font-text); letter-spacing: 0; text-align: right; opacity: .8; }
.pop__code { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: var(--radius); border: 1.5px dashed currentColor; font: 700 16px/1 var(--font-text); letter-spacing: .14em; }
.pop__close { position: absolute; z-index: 3; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; color: var(--ink); --glass-alpha: .55; }
/* square: image square on the left, copy on the right */
.pop--square .pop__card { width: min(760px, calc(100vw - 32px)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; max-height: calc(100svh - 32px); overflow-y: auto; }
/* square photo, or taller when the text needs more room (it never pushes into the text column) */
.pop--square .pop__media { min-height: min(380px, 48vw); }
.pop--square .pop__media img { position: absolute; inset: 0; }
.pop--square .pop__body { align-content: center; padding: 32px 28px; }
/* vertical: a 4:5 poster, copy sits on a glass panel over the photo */
.pop--vertical .pop__card { width: min(400px, calc(100vw - 32px)); aspect-ratio: 4 / 5; max-height: calc(100svh - 40px); }
.pop--vertical .pop__media { position: absolute; inset: 0; }
.pop--vertical .pop__body { position: relative; align-self: end; margin: 10px; border-radius: var(--r-lg); padding: 18px; background: color-mix(in srgb, var(--pop-bg) 62%, transparent); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.pop--center { left: 50%; top: 50%; transform: translate(-50%, -50%); animation: pop 300ms var(--ease-out); }
.pop--right { right: 18px; bottom: 18px; animation: sheet-up 340ms var(--ease-out); }
.pop--left { left: 18px; bottom: 18px; animation: sheet-up 340ms var(--ease-out); }
.pop--bar { left: 10px; right: 10px; }
.pop--bar.pop--bottom { bottom: calc(82px + var(--safe-b)); }
.pop--bar.pop--top { top: 82px; }
.pop--bar .pop__card { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: var(--r-lg); }
.pop--bar .pop__body { padding: 0; flex: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.pop--bar .pop__body h2 { font: 600 14px/1.3 var(--font-text); letter-spacing: .01em; }
.pop--bar .pop__close { position: static; width: 40px; height: 40px; flex: none; }
.pop--floating .pop__card { width: min(320px, calc(100vw - 20px)); grid-template-columns: 96px 1fr; }
.pop--floating .pop__media { aspect-ratio: auto; }
.pop--floating .pop__body { padding: 14px 44px 14px 14px; gap: 6px; }
.pop--floating .pop__body h2 { font-size: 18px; }
/* popups: shared details */
.scrim--pop { z-index: 95; background: rgba(20,16,12,.3); }
.pop__grab { display: none; }
.pop__cta { justify-self: start; }
.pop__ok { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: color-mix(in srgb, currentColor 7%, transparent); font-size: 14px; line-height: 1.35; }
.pop__ok .ico { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: var(--r-pill); background: var(--ok, #1baf7a); color: #fff; }
@keyframes pop-sheet { from { transform: translateY(100%); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 899px) {
  /* Phones: every modal-type popup is a bottom sheet — photo on top melting into the offer, big title, a coupon
     ticket, full-width actions, one thumb away. Pull it down to close. Never covers more than 88% of the screen. */
  .scrim--pop { background: rgba(20,16,12,.42); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .pop--center, .pop--right, .pop--left { left: 0; right: 0; top: auto; bottom: 0; transform: none; animation: pop-sheet 560ms cubic-bezier(.2, .9, .22, 1.04) both; }
  .pop--square .pop__card, .pop--vertical .pop__card { width: 100%; aspect-ratio: auto; max-height: min(88svh, 780px); border-radius: var(--r-xl) var(--r-xl) 0 0; grid-template-columns: 1fr; align-content: start; overflow-y: auto; overscroll-behavior: contain; padding-bottom: var(--safe-b); background: var(--pop-bg); box-shadow: 0 -20px 60px rgba(20,16,12,.3); transition: transform 260ms var(--ease-out); }
  .pop--square .pop__media, .pop--vertical .pop__media { position: relative; inset: auto; width: 100%; aspect-ratio: 5 / 4; max-height: 38svh; min-height: 0; }
  .pop--square .pop__media img, .pop--vertical .pop__media img { position: absolute; inset: 0; object-position: 50% 10%; } /* faces sit high in fashion photos */
  .pop--square .pop__media::after, .pop--vertical .pop__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 52%, var(--pop-bg) 100%); }
  .pop--square .pop__body, .pop--vertical .pop__body { position: relative; z-index: 1; margin: -44px 0 0; padding: 0 22px 22px; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; align-self: auto; gap: 14px; }
  .pop--square .pop__body h2, .pop--vertical .pop__body h2 { font-size: 36px; line-height: 1; letter-spacing: -.015em; }
  .pop--square .pop__body > p, .pop--vertical .pop__body > p { font-size: 15px !important; line-height: 1.45; }
  .pop__grab { display: block; position: absolute; z-index: 4; top: 9px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 99px; background: rgba(255,255,255,.85); box-shadow: 0 1px 4px rgba(0,0,0,.25); }
  .pop--square .pop__close, .pop--vertical .pop__close { top: 16px; right: 16px; width: 42px; height: 42px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 2px 10px rgba(0,0,0,.18); }
  .pop__code { padding: 8px 8px 8px 18px; border-radius: var(--r-md); font-size: 19px; letter-spacing: .16em; background: color-mix(in srgb, currentColor 5%, transparent); }
  .pop__code .btn { min-height: 44px; }
  .pop__body form .btn, .pop__body form .input { min-height: 50px !important; }
  .pop__consent { font-size: 12px !important; line-height: 1.45; opacity: .78; grid-template-columns: 22px 1fr !important; }
  .pop__consent input { width: 20px !important; height: 20px !important; }
  .pop--square .pop__cta, .pop--vertical .pop__cta { justify-self: stretch; min-height: 52px; font-size: 13px; }
  /* the content arrives a beat after the sheet, one line after the other */
  .pop--square .pop__body > *, .pop--vertical .pop__body > * { animation: pop-in 520ms var(--ease-out) both; animation-delay: 180ms; }
  .pop--square .pop__body > :nth-child(2), .pop--vertical .pop__body > :nth-child(2) { animation-delay: 230ms; }
  .pop--square .pop__body > :nth-child(3), .pop--vertical .pop__body > :nth-child(3) { animation-delay: 280ms; }
  .pop--square .pop__body > :nth-child(4), .pop--vertical .pop__body > :nth-child(4) { animation-delay: 330ms; }
  .pop--square .pop__body > :nth-child(5), .pop--vertical .pop__body > :nth-child(5) { animation-delay: 380ms; }
  .pop--square .pop__body > :nth-child(n+6), .pop--vertical .pop__body > :nth-child(n+6) { animation-delay: 430ms; }
  .pop--floating { left: 10px; right: 10px; bottom: calc(82px + var(--safe-b)); animation: pop-in 420ms var(--ease-out) both; }
  .pop--floating .pop__card { width: 100%; border-radius: var(--r-lg); }
  .pop--bar .pop__card { border-radius: var(--r-lg); box-shadow: 0 10px 30px rgba(20,16,12,.22); }
}
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .pop, html:not(.force-motion) .pop__body > *, html:not(.force-motion) .scrim--pop { animation: none !important; } }
@media (min-width: 900px) { .pop--bar { left: 50%; right: auto; transform: translateX(-50%); width: min(860px, 90vw); } .pop--bar.pop--bottom { bottom: 18px; } .pop--bar.pop--top { top: 92px; } }

/* cookie notice: above the tab bar on phones, a corner card on desktop; never blocks the page */
.cookies { position: fixed; z-index: 97; left: 10px; right: 10px; bottom: calc(82px + var(--safe-b)); display: grid; gap: 12px; padding: 16px; border-radius: var(--r-lg); color: var(--ink); --glass-alpha: 0.82; box-shadow: var(--e3); animation: cookies-in 320ms var(--ease-out); max-height: calc(100svh - 110px); overflow-y: auto; }
@keyframes cookies-in { from { opacity: 0; transform: translateY(16px); } }
.cookies__text { display: grid; gap: 4px; }
.cookies__text b { font: 700 14px/1.2 var(--font-text); }
.cookies__text p { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-soft); }
.cookies__text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookies__opts { display: grid; gap: 4px; }
.cookies__opt { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 8px 0; cursor: pointer; border-top: 1px solid var(--line); }
.cookies__opt input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); }
.cookies__opt span { display: grid; gap: 2px; font-size: 13px; }
.cookies__opt small { color: var(--ink-soft); font-size: 12px; line-height: 1.4; }
.cookies__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies__btns .btn { flex: 1 1 auto; min-height: 44px; }
@media (min-width: 900px) { .cookies { left: auto; right: 18px; bottom: 18px; width: 420px; } }
@media (prefers-reduced-motion: reduce) { html:not(.force-motion) .cookies { animation: none; } }

/* checkout */
.co { display: grid; gap: 22px; padding-top: 20px; }
.co__steps { display: grid; gap: 14px; }
.co__card { min-width: 0; overflow-wrap: anywhere; } /* a long reference never pushes the card past the screen */
.co__card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; box-shadow: var(--e1); }
.co__card h2 { font-size: 22px; font-weight: var(--w-head); display: flex; gap: 10px; align-items: center; }
.co__card h2 .n { width: 28px; height: 28px; border-radius: var(--r-pill); display: grid; place-items: center; background: var(--ink); color: var(--canvas); font: 600 13px/1 var(--font-text); }
.row2 { display: grid; gap: 12px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.pay-opt { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--line-strong); cursor: pointer; transition: box-shadow 150ms var(--ease-out), background-color 150ms; }
.pay-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: #fbfaf8; }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 2px 0 0; }
.pay-opt__title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; }
.pay-opt__logos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.pay-opt__logos img { height: 18px; width: auto; }
.pay-opt p { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.notice { padding: 16px; border-radius: var(--r-md); background: #fff7ea; box-shadow: inset 0 0 0 1px #f0d9b5; font-size: 13px; display: grid; gap: 8px; }
.notice ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.co__summary { background: var(--surface); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; box-shadow: var(--e1); align-self: start; }
@media (min-width: 1000px) { .co { grid-template-columns: 1.3fr 1fr; gap: 32px; } .co__summary { position: sticky; top: 100px; } }
.bank { display: grid; gap: 6px; padding: 16px; border-radius: var(--r-md); background: var(--canvas); font-size: 14px; }
.bank b { font-variant-numeric: tabular-nums; }

/* prose (policies) */
.prose { max-width: 72ch; display: grid; gap: 14px; font-size: 16px; line-height: 1.7; }
.prose h1 { font-size: clamp(28px, 3.6vw, 48px); font-weight: var(--w-display); margin-bottom: 8px; }
.prose h2 { font-size: 24px; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose .callout { padding: 16px 18px; border-radius: var(--r-md); background: #fff7ea; box-shadow: inset 0 0 0 1px #f0d9b5; font-weight: 600; font-size: 15px; }
.policy-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 18px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table th { font: 600 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.size-table tr.is-mine td { background: rgba(31,122,77,.08); font-weight: 700; }

/* ---------- Cursor: negative circle (desktop only) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 10000; pointer-events: none; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transform: translate3d(-100px, -100px, 0); transition: width 260ms var(--ease-out), height 260ms var(--ease-out), margin 260ms var(--ease-out), opacity 200ms; display: none; }
.cursor.is-big { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
.cursor.is-text { width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 2px; }
.cursor.is-down { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
.cursor.is-hidden { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor { display: block; }
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor label, html.has-cursor summary { cursor: none; }
  html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }
}
@media (prefers-reduced-motion: reduce) { .cursor { transition: none; } }

/* reveal on scroll */
/* Addi widget under the product price */
.addi-widget { min-height: 0; }
.addi-widget:empty { display: none; }

/* ---------- Section entrance (set per section in the designer) ---------- */
.rv { --fx-t: calc(var(--fx-dur, .7s) * var(--ms, 1)); opacity: 0; transform: translateY(24px); transition: opacity var(--fx-t) var(--ease-out) var(--fx-delay, 0s), transform var(--fx-t) var(--ease-out) var(--fx-delay, 0s), filter var(--fx-t) var(--ease-out) var(--fx-delay, 0s); }
[data-fx="fade"] .rv { transform: none; }
[data-fx="zoom"] .rv { transform: scale(.94); }
[data-fx="left"] .rv { transform: translateX(-48px); }
[data-fx="right"] .rv { transform: translateX(48px); }
[data-fx="blur"] .rv { transform: translateY(10px); filter: blur(14px); }
[data-fx="curtain"] .rv { clip-path: inset(0 0 100% 0); transform: none; transition-property: opacity, clip-path; }
[data-fx="curtain"] .rv.in { clip-path: inset(0 0 0 0); }
.rv.in { opacity: 1; transform: none; filter: none; }
[data-fx="none"] .rv { opacity: 1; transform: none; filter: none; transition: none; }
/* one by one: cards, tiles and benefits appear in sequence */
[data-stagger] .rv :is(.grid, .rail, .collage, .trust__row, .bundle__items) > * { opacity: 0; transform: translateY(22px); transition: opacity var(--fx-t) var(--ease-out), transform var(--fx-t) var(--ease-out); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > * { opacity: 1; transform: none; }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(2) { transition-delay: calc(var(--fx-delay, 0s) + .08s * var(--ms, 1)); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(3) { transition-delay: calc(var(--fx-delay, 0s) + .16s * var(--ms, 1)); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(4) { transition-delay: calc(var(--fx-delay, 0s) + .24s * var(--ms, 1)); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(5) { transition-delay: calc(var(--fx-delay, 0s) + .32s * var(--ms, 1)); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(6) { transition-delay: calc(var(--fx-delay, 0s) + .40s * var(--ms, 1)); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(7) { transition-delay: calc(var(--fx-delay, 0s) + .48s * var(--ms, 1)); }
[data-stagger] .rv.in :is(.grid, .rail, .collage, .trust__row, .bundle__items) > :nth-child(n+8) { transition-delay: calc(var(--fx-delay, 0s) + .56s * var(--ms, 1)); }
/* photo motion inside sections: zoom on hover (default), slow zoom loop, slow pan loop, or still */
[data-media="breathe"] :is(.tile, .promo__media, .fit__media) img { animation: breathe calc(var(--media-dur, 12s) * var(--ms, 1)) ease-in-out infinite alternate; }
[data-media="pan"] :is(.tile, .promo__media, .fit__media) img { animation: pan calc(var(--media-dur, 12s) * var(--ms, 1)) ease-in-out infinite alternate; }
[data-media="none"] .tile:hover img { transform: none; }
@media (hover: hover) and (pointer: fine) { [data-media="hover"] :is(.promo__media, .fit__media) img { transition: transform 1100ms var(--ease-out); } [data-media="hover"] :is(.promo, .fit):hover :is(.promo__media, .fit__media) img { transform: scale(1.04); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes pan { from { transform: scale(1.12) translate3d(-3%, 0, 0); } to { transform: scale(1.12) translate3d(3%, 0, 0); } }
/* replaying an entrance from the designer */
.fx-reset .rv, .fx-reset .rv * { transition: none !important; }
.fx-reset .tx > *, .fx-reset .hero__bg img, .fx-reset .hero__timer { animation: none !important; }
/* store-wide switch: no decorative motion at all (the banner clock keeps running) */
html.no-motion *:not(.hero__timer), html.no-motion *::before, html.no-motion *::after { animation: none !important; transition: none !important; }
html.no-motion .rv, html.no-motion [data-stagger] .rv * { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
html.no-motion .hero__slide .tx > * { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) :is(.rv, [data-stagger] .rv *) { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  html:not(.force-motion) .hero__slide .tx > * { opacity: 1; transform: none; filter: none; }
}
/* designer preview: hover outline, picked section with its name */
[data-section] { scroll-margin-top: 96px; }
html.pick [data-section] { position: relative; cursor: pointer; }
html.pick [data-section]:hover { outline: 2px dashed rgba(42,120,214,.55); outline-offset: -2px; }
[data-section].is-picked { outline: 2px solid #2a78d6 !important; outline-offset: -2px; }
[data-section].is-picked::before { content: attr(data-pick-label); position: absolute; z-index: 50; left: 10px; top: 10px; padding: 5px 10px; border-radius: 8px; background: #2a78d6; color: #fff; font: 600 11px/1.2 var(--font-text); letter-spacing: .02em; pointer-events: none; }
[data-section].is-picked[data-pick-label=""]::before { content: none; }
[data-type="hero"].is-picked::before { top: 96px; }
.preview-badge { position: fixed; z-index: 99; left: 12px; top: 12px; padding: 6px 10px; border-radius: 99px; font: 700 10px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; background: #ffd25e; color: #141312; }

/* the glass box follows the banner's size (Grande, Mediano, Franja): smaller box, text and buttons */
.hero[data-size="large"] .hero__glass { padding: 18px 18px 16px; gap: 10px; }
.hero[data-size="large"] .hero__glass h1, .hero[data-size="large"] .hero__glass h2 { font-size: clamp(30px, 8vw, 64px); }
.hero[data-size="medium"] .hero__glass { padding: 16px 16px 14px; gap: 8px; border-radius: var(--r-lg); bottom: calc(76px + var(--safe-b)); }
.hero[data-size="medium"] .hero__glass h1, .hero[data-size="medium"] .hero__glass h2 { font-size: clamp(26px, 7vw, 52px); }
.hero[data-size="medium"] .hero__glass p { font-size: 13.5px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.hero[data-size="strip"] .hero__glass { padding: 12px 14px; gap: 6px; border-radius: var(--r-md); bottom: calc(64px + var(--safe-b)); }
.hero[data-size="strip"] .hero__glass h1, .hero[data-size="strip"] .hero__glass h2 { font-size: clamp(22px, 6vw, 40px); }
.hero[data-size="medium"] .hero__ctas, .hero[data-size="strip"] .hero__ctas { margin-top: 2px; gap: 8px; }
.hero[data-size="medium"] .hero__ctas .glass-btn, .hero[data-size="strip"] .hero__ctas .glass-btn { min-height: 40px; padding: 0 16px; font-size: 12px; }
@media (min-width: 900px) {
  .hero[data-size="large"] .hero__glass { width: min(480px, 38vw); padding: 28px 28px 24px; }
  .hero[data-size="large"] .hero__glass h1, .hero[data-size="large"] .hero__glass h2 { font-size: clamp(42px, 4.6vw, 72px); }
  .hero[data-size="medium"] .hero__glass { width: min(420px, 34vw); padding: 22px 24px 20px; bottom: 72px; }
  .hero[data-size="medium"] .hero__glass h1, .hero[data-size="medium"] .hero__glass h2 { font-size: clamp(34px, 3.8vw, 56px); }
  .hero[data-size="strip"] .hero__glass { width: min(380px, 30vw); padding: 16px 20px; bottom: 60px; }
  .hero[data-size="strip"] .hero__glass h1, .hero[data-size="strip"] .hero__glass h2 { font-size: clamp(26px, 2.8vw, 42px); }
}

/* phones first: a compact glass box that leaves the photo in charge (all sizes) */
@media (max-width: 899px) {
  .hero__glass { left: 14px; right: 14px; padding: 14px 14px 12px; gap: 7px; border-radius: var(--r-lg); bottom: calc(70px + var(--safe-b)); }
  .hero__glass h1, .hero__glass h2 { font-size: clamp(26px, 7.4vw, 34px); line-height: 1; }
  .hero__glass p { font-size: 13px; line-height: 1.4; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .hero__ctas { margin-top: 2px; gap: 8px; }
  .hero__ctas .glass-btn { min-height: 40px; padding: 0 16px; font-size: 12px; }
  .hero[data-size="large"] .hero__glass { padding: 12px 13px 11px; }
  .hero[data-size="large"] .hero__glass h1, .hero[data-size="large"] .hero__glass h2 { font-size: clamp(24px, 6.8vw, 30px); }
  .hero[data-size="medium"] .hero__glass { padding: 11px 12px 10px; gap: 6px; bottom: calc(60px + var(--safe-b)); }
  .hero[data-size="medium"] .hero__glass h1, .hero[data-size="medium"] .hero__glass h2 { font-size: clamp(22px, 6vw, 27px); }
  .hero[data-size="medium"] .hero__glass p { -webkit-line-clamp: 1; }
  .hero[data-size="strip"] .hero__glass { left: 12px; right: auto; max-width: calc(100% - 24px); padding: 9px 12px; gap: 5px; border-radius: var(--r-md); bottom: calc(52px + var(--safe-b)); }
  .hero[data-size="strip"] .hero__glass h1, .hero[data-size="strip"] .hero__glass h2 { font-size: clamp(19px, 5.2vw, 23px); }
  .hero[data-size="medium"] .hero__ctas .glass-btn, .hero[data-size="strip"] .hero__ctas .glass-btn { min-height: 36px; padding: 0 13px; font-size: 11px; }
}

/* "Entrega inmediata" under the price: whole on narrow phone cards (it was cut) */
.card__info { min-width: 0; }
.card__ready { flex-wrap: wrap; white-space: normal; max-width: 100%; }
@media (max-width: 599px) { .card__ready { font-size: 10px; letter-spacing: .03em; gap: 6px; padding-left: 2px; } }

/* collage on phones: the small tiles (half width) get a title that fits, also in "promoción" style */
@media (max-width: 899px) {
  .tile__in { min-width: 0; max-width: 100%; }
  .tile__in h3 { overflow-wrap: anywhere; hyphens: auto; }
  .tile:not(:nth-child(1)) .tile__in { padding: 12px; gap: 4px; }
  .tile:not(:nth-child(1)) .tile__in h3, .tile--promo:not(:nth-child(1)) .tile__in h3 { font-size: clamp(16px, 4.6vw, 20px); letter-spacing: .01em; line-height: 1.05; }
  .tile:not(:nth-child(1)) .tile__in p { font-size: 12px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .tile:not(:nth-child(1)) .tile__in .glass-btn { min-height: 34px; padding: 0 12px; margin-top: 4px; font-size: 11px; }
  .tile--promo:nth-child(1) .tile__in h3 { font-size: clamp(30px, 9vw, 44px); }
}

.card__ready-c { color: var(--ink); margin-left: 2px; }

/* product page: "Todas las opciones" / "Listo para enviar" (the same page from every section) */
.ready-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: var(--r-md); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.ready-switch button { display: grid; gap: 3px; justify-items: start; text-align: left; padding: 10px 12px; border-radius: var(--r-sm); font: 600 13px/1.2 var(--font-text); color: var(--ink-soft); min-height: 52px; }
.ready-switch button span { display: inline-flex; gap: 6px; align-items: center; }
.ready-switch button small { font: 500 11px/1.3 var(--font-text); color: var(--ink-soft); }
.ready-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ready-switch button[aria-pressed="true"] svg { color: var(--ok); }

.sumrow--note { font-size: 12.5px; color: var(--ink-soft); }


/* product page: every text link reaches a 44px touch target without moving the layout */
.colorpick__more::before { content: ""; position: absolute; inset: -6px 0; }
.pdp nav.hint a, .pdp .acc-body a { display: inline-block; padding-block: 13px; margin-block: -13px; }
.pdp nav.hint a { padding-inline: 7px; margin-inline: -7px; }
.opt-head .link-arrow { min-height: 44px; padding-block: 0; }

/* How to measure: the brand's silhouette with the tape lines (inherits the text colour of its panel) */
.measure-guide { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.measure-guide svg { width: 72px; height: auto; display: block; }
.measure-guide ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 13px; line-height: 1.4; }
.measure-guide b { display: block; font: 600 11px/1.2 var(--font-text); letter-spacing: .1em; text-transform: uppercase; }
.prose .measure-guide { grid-template-columns: 104px 1fr; max-width: 520px; }
.prose .measure-guide svg { width: 104px; }

/* ---------- Flat look: the pieces that float in the glass look sit flush ---------- */
/* header: a full-width bar; over the banner it is transparent with white type */
html[data-glass="off"] .hdr { padding: 0; }
html[data-glass="off"] .hdr__bar { max-width: none; border-width: 0 0 1px; padding-left: max(4px, calc(var(--gutter) - 12px)); padding-right: max(4px, calc(var(--gutter) - 12px)); }
html[data-glass="off"] .hdr.is-over .hdr__bar { background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,0)) no-repeat; border-color: transparent; }
html[data-glass="off"] .mega { top: 64px; left: 0; right: 0; max-width: none; border-width: 1px 0; }
/* phone tab bar and sticky buy bar: attached to the bottom edge */
html[data-glass="off"] .tabbar { left: 0; right: 0; bottom: 0; height: calc(58px + var(--safe-b)); padding-bottom: var(--safe-b); border-width: 1px 0 0; }
html[data-glass="off"] .sticky-buy { left: 0; right: 0; bottom: calc(58px + var(--safe-b)); border-width: 1px 0 0; }
/* banner copy straight on the photo, no box */
html[data-glass="off"] .hero__glass { background: none; border: 0; box-shadow: none; padding-left: 0; padding-right: 0; }
html[data-glass="off"] .hero__slide[data-ink="light"] .hero__glass :is(h1, h2, p, .eyebrow) { text-shadow: 0 1px 2px rgba(0,0,0,.25), 0 2px 16px rgba(0,0,0,.3); }

/* ---------- Titles in capitals (Admin → Diseñador → Estilo) ---------- */
html[data-caps="on"] :is(h1, h2, h3, .sec-title, .pdp__name, .card__name, .drawer__head h2, .co__card h2, .eyebrow) { text-transform: uppercase; }
/* favourite heart on product photos: a light square, no frame */
html[data-glass="off"] .fav { background: rgba(255,255,255,.86); border-color: transparent; }

/* size finder window: dark, solid in the flat look */
.modal--fit { background: color-mix(in srgb, var(--ink) 86%, transparent); color: var(--canvas); }
html[data-glass="off"] .modal--fit { background: var(--ink); }
/* pop-ups in the flat look: their own colour, solid (no blur behind a see-through card) */
html[data-glass="off"] .pop__card.glass { background: var(--pop-bg); }
@media (min-width: 900px) { html[data-glass="off"] .pop--vertical .pop__body { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--pop-bg); } }
/* titles in capitals take more room: pop-up titles a step smaller so they fit their box */
html[data-caps="on"] :is(.pop--square, .pop--vertical) .pop__body h2 { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.05; }
@media (max-width: 899px) { html[data-caps="on"] .pop--square .pop__body h2, html[data-caps="on"] .pop--vertical .pop__body h2 { font-size: 29px; } }
/* PC collections menu in the flat look: a clear edge over the page */
html[data-glass="off"] .mega { box-shadow: 0 18px 30px -18px rgba(0,0,0,.25); }
/* "Tu talla": the brand's silhouette, faint, behind the content (the panel's own text colour at low opacity) */
.body-mark { position: absolute; z-index: -1; right: -4%; bottom: 0; height: 92%; width: auto; opacity: .09; pointer-events: none; }
.fit__panel, .modal--fit { isolation: isolate; } /* the mark stays behind the content, above the panel colour */
