/* POUWI — sitio móvil (Figma: POUWI WEB DESIGN V4 · 04 Mobile 390)
   Diseñado a 390 px. Fluido de 320 a 430 px; en pantallas más anchas se centra como app. */

:root {
  --ink: #161616;
  --muted: #6b6b6b;
  --bg: #ffffff;
  --surface: #f4f4f2;
  --line: #e6e6e3;
  --accent: #e6fa99;
  --placeholder: #e4e3de;
  --brown: #351411;
  --seg: #f4f5f7;
  --live: #3bb273;
  --r-pill: 999px;
  --r-card: 20px;
  --r-img: 16px;
  --r-sm: 12px;
  --app: min(100vw, 430px);
  --grad-sky: linear-gradient(180deg, #f4f7e1 0%, #6fa9c8 100%);
  --grad-viewer: linear-gradient(180deg, #fafaee 0%, #61a6bc 138.38%);
  --shade: linear-gradient(180deg, rgba(13,13,13,0) 35%, rgba(13,13,13,.62) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--placeholder); }
body {
  margin: 0 auto; max-width: 430px; min-height: 100vh; position: relative;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; line-height: 1.4; color: var(--ink); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
@media (min-width: 431px) { body { box-shadow: 0 0 0 1px var(--line), 0 30px 80px rgba(0,0,0,.08); } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; text-align: inherit; }
h1, h2, h3, p, ul, figure, blockquote, dl, dd { margin: 0; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-scroll { overflow: hidden; }
.pre { white-space: pre; }

/* ---------- type (Mobile/* styles) ---------- */
.t-label { font-size: 11px; font-weight: 500; line-height: 1.3; letter-spacing: .66px; text-transform: uppercase; }
.t-micro { font-size: 10px; font-weight: 500; line-height: 1.2; }
.t-caption { font-size: 12px; font-weight: 400; line-height: 1.35; }
.t-sub { font-size: 14px; font-weight: 400; line-height: 1.4; }
.t-body { font-size: 15px; font-weight: 400; line-height: 1.5; }
.t-pname { font-size: 13px; font-weight: 600; line-height: 1.25; letter-spacing: .52px; text-transform: uppercase; }
.t-price { font-size: 15px; font-weight: 600; line-height: 1.25; letter-spacing: .6px; }
.t-hero { font-size: 26px; font-weight: 600; line-height: 1.05; letter-spacing: -.52px; }
.t-section { font-size: 24px; font-weight: 600; line-height: 1.05; letter-spacing: -.48px; }
.t-card { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -.44px; }
.t-h3 { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.2px; }
.muted { color: var(--muted); }
.white { color: #fff; }
.center { text-align: center; }

/* ---------- buttons, chips, badges ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 46px; padding: 0 20px; border-radius: var(--r-pill); border: 1.2px solid transparent;
  font-size: 11px; font-weight: 500; line-height: 1; letter-spacing: .44px; text-transform: uppercase; white-space: nowrap;
  transition: opacity .2s;
}
.btn:active { opacity: .8; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-white { background: #fff; border-color: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline-white { border-color: #fff; color: #fff; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-block { width: 100%; }
.btn-44 { height: 44px; }
.btn:disabled { opacity: .5; cursor: default; }

.chip {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1.2px solid var(--line); background: #fff; color: var(--ink);
  font-size: 14px; line-height: 1.4; white-space: nowrap;
}
.chip[aria-checked="true"], .chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-soldout { background: var(--surface); border-color: var(--line); color: var(--muted); text-decoration: line-through; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips-row::-webkit-scrollbar { display: none; }
.badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: var(--r-pill); font-size: 10px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.badge-dark { background: var(--ink); color: #fff; }
.badge-white { background: #fff; color: var(--ink); }
.badge-accent { background: var(--accent); color: var(--ink); }

/* swatches (Mobile/Swatch: 34 box, 26 circle, selected = 1.5px ring) */
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches.spread { justify-content: space-between; gap: 0; flex-wrap: nowrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; position: relative; }
.swatch::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--c); }
.swatch.is-white::before { box-shadow: inset 0 0 0 1px var(--line); }
.swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
.swatch.is-soldout::after { content: ""; position: absolute; width: 30px; height: 1.5px; background: var(--muted); transform: rotate(-45deg); }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); display: block; }

/* segmented (Hub / Segmented) */
.seg { display: flex; gap: 2px; padding: 4px; width: 100%; max-width: 323px; margin: 0 auto; background: var(--seg); border-radius: var(--r-pill); }
.seg button { flex: 1; padding: 11px 4px; border-radius: var(--r-pill); font-size: 14px; font-weight: 500; line-height: normal; color: var(--brown); text-align: center; }
.seg button[aria-checked="true"] { background: var(--ink); color: #fff; }

/* inputs */
.input { width: 100%; height: 46px; border: 0; border-radius: var(--r-pill); background: var(--surface); padding: 0 16px; font-size: 14px; line-height: 1.4; color: var(--ink); outline: none; }
.input::placeholder { color: var(--muted); }
.input:focus { box-shadow: inset 0 0 0 1.2px var(--ink); }
.input.on-white { background: #fff; }
.input-wrap { position: relative; }
.input-wrap .count { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 10px; font-weight: 500; color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-right: 52px; }
textarea.input { height: auto; min-height: 120px; border-radius: 20px; padding: 14px 16px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.form-ok { background: var(--accent); border-radius: var(--r-img); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.form-err { color: #b3261e; font-size: 12px; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }

/* ---------- announcement + header ---------- */
.announce { height: 28px; padding: 8px 16px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; line-height: 1.2; white-space: pre; overflow: hidden; }
.site-header { position: sticky; top: 0; z-index: 50; height: 54px; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.h-left, .h-right { width: 96px; height: 20px; display: flex; align-items: center; }
.h-right { justify-content: flex-end; gap: 14px; }
.burger { display: flex; flex-direction: column; gap: 5px; padding: 12px 12px 12px 0; margin: -12px 0; }
.burger i { display: block; width: 20px; height: 2px; background: var(--ink); }
.logo { display: block; width: 82.71px; height: 19px; }
.logo img { width: 100%; height: 100%; }
.ico { width: 18px; height: 18px; display: block; position: relative; }
.ico::after { content: ""; position: absolute; inset: -12px -7px; }
.ico svg { width: 18px; height: 18px; }
.cart-count { border: 1.5px solid var(--ink); border-radius: 5px; padding: 2px 7px; font-size: 10px; font-weight: 500; line-height: 1.2; position: relative; min-width: 21px; text-align: center; }
.cart-count::after { content: ""; position: absolute; inset: -12px -8px; }

/* ---------- overlays: scrim, drawers, sheets ---------- */
.scrim { position: fixed; top: 0; bottom: 0; left: 50%; width: var(--app); transform: translateX(-50%); background: rgba(22,22,22,.4); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.panel { position: fixed; top: 0; bottom: 0; left: 50%; width: var(--app); z-index: 90; overflow-y: auto; transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.panel.from-left { transform: translateX(calc(-50% - var(--app))); }
.panel.from-right { transform: translateX(calc(-50% + var(--app))); }
.panel.is-open { transform: translateX(-50%); }
.sheet {
  position: fixed; left: 50%; bottom: 0; width: var(--app); z-index: 95; background: #fff; border-radius: 24px 24px 0 0;
  max-height: 92vh; overflow-y: auto; transform: translate(-50%, 105%); transition: transform .32s cubic-bezier(.2,.7,.2,1);
}
.sheet.is-open { transform: translate(-50%, 0); }
.sheet-in { padding: 20px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 18px; }
.sheet-in.tight { padding-top: 12px; gap: 14px; }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 0 auto; flex: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.x { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.2px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: flex-end; }
.sheet-actions { display: flex; gap: 10px; }
.sheet-actions .btn-dark { flex: 1; }

/* menu drawer (M02) */
.menu { background: var(--surface); }
.menu-head { height: 54px; background: #fff; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.menu-head .x { justify-content: flex-start; width: 70px; }
.menu-head .acct { width: 70px; text-align: right; }
.menu-tabs { background: #fff; display: flex; gap: 20px; padding: 14px 20px 12px; overflow-x: auto; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tabs button { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; line-height: 1.3; letter-spacing: .72px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.menu-tabs button::after { content: ""; height: 2px; width: 100%; background: transparent; }
.menu-tabs button[aria-selected="true"] { color: var(--ink); }
.menu-tabs button[aria-selected="true"]::after { background: var(--ink); }
.menu-list { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mrow { background: #fff; border-radius: var(--r-card); padding: 12px; display: flex; gap: 12px; align-items: center; }
.mthumb { width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; flex: none; background: var(--surface); }
.mthumb img { width: 100%; height: 100%; object-fit: cover; }
.mthumb.contain img { object-fit: contain; mix-blend-mode: multiply; padding: 4px; }
.mthumb.dark { background: #242424; }
.mthumb.dark img { object-fit: contain; padding: 6px; }
.mtext { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.feature { margin: 0 16px 16px; height: 190px; border-radius: var(--r-card); position: relative; overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: #fff; isolation: isolate; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.feature::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,13,0) 35%, rgba(13,13,13,.65) 100%); }
.menu-links { padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.4; }
.menu-links .row { display: flex; gap: 8px; align-items: center; }
.lang { border: 1px solid var(--ink); border-radius: var(--r-pill); padding: 6px 12px; font-size: 12px; line-height: 1.35; }

/* cart drawer (M08) */
.cart { background: #fff; display: flex; flex-direction: column; overflow: hidden; }
.cart-head { height: 56px; flex: none; padding: 0 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.ship { flex: none; padding: 14px 20px; display: flex; flex-direction: column; gap: 8px; }
.ship .track { height: 6px; border-radius: var(--r-pill); background: var(--surface); overflow: hidden; }
.ship .fill { height: 100%; border-radius: 6px; background: var(--accent); transition: width .3s; }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 20px 16px; display: flex; flex-direction: column; gap: 16px; }
.line { display: flex; gap: 12px; align-items: flex-start; }
.line-img { width: 76px; height: 76px; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; flex: none; }
.line-img img { width: 100%; height: 100%; object-fit: contain; }
.line-img.cover img { object-fit: cover; }
.line-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.line-top { display: flex; justify-content: space-between; gap: 8px; }
.line-price { font-size: 14px; font-weight: 500; line-height: 1.25; white-space: nowrap; }
.perso { align-self: flex-start; background: var(--surface); border-radius: var(--r-pill); padding: 5px 10px; font-size: 10px; font-weight: 500; line-height: 1.2; }
.line-ctl { display: flex; justify-content: space-between; align-items: center; font-size: 12px; line-height: 1.35; }
.stepper { display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 12px; }
.stepper button { width: 16px; text-align: center; font-size: 12px; line-height: 1.35; }
.line-ctl a, .line-ctl .edit { text-decoration: none; }
.upsell-head { display: flex; justify-content: space-between; align-items: center; }
.ucard { background: var(--surface); border-radius: 18px; padding: 10px; display: flex; gap: 12px; align-items: center; }
.ucard img { width: 76px; height: 76px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.ucard .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ucard .plus { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.strike { text-decoration: line-through; }
.summary { flex: none; background: #fff; border-top: 1px solid var(--line); padding: 14px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; }
.srow { display: flex; justify-content: space-between; font-size: 12px; line-height: 1.35; }
.srow span:first-child { color: var(--muted); }
.express { display: flex; gap: 8px; }
.express a, .express button { flex: 1; border-radius: var(--r-sm); padding: 12px 10px; font-size: 12px; line-height: 1.35; text-align: center; border: 1px solid var(--line); background: #fff; }
.express .dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.cart-empty { padding: 60px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cart-empty img { width: 140px; height: 140px; border-radius: var(--r-card); object-fit: cover; background: #fff; }
.cart-empty .actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }

/* ---------- home (M01) ---------- */
.hero { position: relative; height: 486px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 16px 20px 28px; text-align: center; color: #fff; isolation: isolate; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,13,0) 35%, rgba(13,13,13,.8) 100%); }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.hero .btns { display: flex; gap: 8px; }

.rail { display: flex; gap: 10px; overflow-x: auto; padding: 0 20px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }
.sec { padding: 24px 0 28px; }
.sec-head { height: 60px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; }
.sec-head.h38 { height: 38px; }

.pcard { position: relative; width: 300px; height: 375px; border-radius: var(--r-card); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; isolation: isolate; color: #fff; }
.pcard > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pcard.shade::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--shade); }
.pcard-top { display: flex; justify-content: space-between; align-items: center; }
.pcard-media { flex: 1; min-height: 0; border-radius: var(--r-sm); overflow: hidden; position: relative; }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard-info { display: flex; flex-direction: column; gap: 3px; }
.pcard .btn { align-self: flex-start; height: 44px; }
.g-brown { background: linear-gradient(180deg, #6a3c00 0%, #351411 100%); }
.g-red { background: linear-gradient(180deg, #89312a 0%, #351411 100%); }

.peek { background: linear-gradient(180deg, #fafaee 0%, #61a6bc 100%); padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 12px; }

/* folder hub (shared: home peek, M06, M07) */
.hub { width: 100%; max-width: 350px; margin: 0 auto; }
.ftabs { position: relative; height: 40px; }
.ftab { position: absolute; top: 0; width: 36.57%; height: 40px; display: block; }
.ftab svg { position: absolute; inset: 0; width: 98.7%; height: 100%; }
.ftab svg path { fill: #fff; opacity: .5; }
.ftab.on svg path { opacity: 1; }
.ftab .lbl { position: absolute; top: 13.5px; display: flex; gap: 6px; align-items: baseline; white-space: nowrap; color: var(--muted); font-size: 12.5px; line-height: normal; }
.ftab .lbl b { font-size: 9px; font-weight: 500; }
.ftab.on .lbl { color: var(--ink); font-weight: 600; }
.ftab:nth-child(1) { left: 2.29%; z-index: 3; } .ftab:nth-child(1) .lbl { left: 29.3%; }
.ftab:nth-child(2) { left: 32%; z-index: 2; } .ftab:nth-child(2) .lbl { left: 16.4%; }
.ftab:nth-child(3) { left: 61.71%; z-index: 1; } .ftab:nth-child(3) .lbl { left: 30.1%; }
.ftab.on { z-index: 4 !important; }
@media (max-width: 370px) { .ftab .lbl { font-size: 11px; gap: 4px; } .ftab:nth-child(2) .lbl { left: 11%; } }
.fwin { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 8px; display: flex; flex-direction: column; }
.viewer { position: relative; height: 228px; border-radius: 14px; overflow: hidden; background: var(--grad-viewer); }
.viewer .render { position: absolute; left: 12.6%; top: 56px; width: 74.9%; height: 118px; object-fit: contain; }
.viewer .vph { position: absolute; left: 12.6%; top: 56px; width: 74.9%; height: 118px; border-radius: 14px; background: rgba(255,255,255,.55); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--muted); text-align: center; padding: 8px; }
.vpill { position: absolute; background: #fff; padding: 6px 10px; font-size: 8.5px; font-weight: 500; letter-spacing: .68px; line-height: normal; white-space: pre; color: var(--ink); }
.vpill.step { left: 10px; top: 10px; border-radius: 12px; display: flex; flex-direction: column; gap: 5px; }
.vpill .bars { display: flex; gap: 3px; }
.vpill .bars i { width: 34px; height: 2.5px; border-radius: 2px; background: var(--line); display: block; }
.vpill .bars i.on { background: var(--ink); }
.vpill.r360 { right: 10px; top: 10px; border-radius: var(--r-pill); }
.vpill.live { left: 50%; transform: translateX(-50%); top: 196px; border-radius: var(--r-pill); max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.vpill.live .dot { color: var(--live); }
.vpill.live.green { color: var(--live); }
.fopts { padding: 12px 6px 6px; display: flex; flex-direction: column; gap: 10px; }
.fopts .row { display: flex; justify-content: space-between; align-items: center; }
.fopts .row .k { font-size: 10px; font-weight: 500; letter-spacing: .6px; line-height: normal; }
.fopts .row .v { font-size: 14px; font-weight: 600; line-height: normal; }
.fopts .help { font-size: 10px; color: var(--muted); line-height: normal; }
.ftoggle { padding-top: 12px; }

.story { padding: 8px 20px 28px; }
.story-card { position: relative; height: 440px; border-radius: var(--r-img); overflow: hidden; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; }
.story-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.story-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,13,0) 20%, rgba(13,13,13,.85) 100%); }
.play { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 12px; margin: 0 auto; }
.story-card .ov { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.ugc-sec { padding: 24px 0 37px; display: flex; flex-direction: column; gap: 18px; }
.ugc { position: relative; width: 180px; height: 320px; border-radius: var(--r-img); overflow: hidden; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; isolation: isolate; }
.ugc > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ugc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--shade); }
.ugc .sp { height: 30px; }
.ugc .play { font-size: 14px; }
.chip-white { background: #fff; color: var(--ink); border-radius: var(--r-pill); padding: 7px 12px; font-size: 12px; line-height: 1.35; white-space: nowrap; }
.cta-pad { padding: 0 20px; }

.reviews { padding: 8px 0 28px; }
.review { width: 250px; background: var(--surface); border-radius: var(--r-img); padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }

.ig-sec { padding: 8px 0; display: flex; flex-direction: column; gap: 12px; }
.ig { width: 220px; height: 275px; border-radius: var(--r-sm); overflow: hidden; display: block; }
.ig img { width: 100%; height: 100%; object-fit: cover; }

.news { background: var(--accent); padding: 32px 20px 28px; display: flex; flex-direction: column; gap: 12px; }
.news form { display: flex; flex-direction: column; gap: 12px; }

/* footer */
.footer { padding: 24px 20px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.fcols { display: flex; justify-content: space-between; gap: 8px; }
.fcol { display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.35; white-space: nowrap; }
.divider { height: 1px; background: var(--line); }
.legal { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.wordmark img { width: 100%; height: auto; }

/* ---------- collection (M03.1/.2/.3) ---------- */
.coll-head { padding: 28px 20px 16px; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.coll-toggle { padding: 0 20px 12px; }
.coll-filters { position: sticky; top: 54px; z-index: 20; background: #fff; padding: 4px 20px 16px; display: flex; justify-content: space-between; align-items: center; }
.coll-filters .chips { flex-wrap: nowrap; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding: 0 16px; }
.tile { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tmedia { position: relative; height: 214px; border-radius: var(--r-img); background: var(--surface); overflow: hidden; }
.tmedia .prod { position: absolute; top: 32px; bottom: 32px; left: 10px; right: 10px; width: calc(100% - 20px); height: calc(100% - 64px); padding: 14px 20px; object-fit: contain; mix-blend-mode: multiply; transition: opacity .3s; }
.tmedia .ph { position: absolute; inset: 0; background: var(--placeholder); }
.tmedia .worn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.tmedia .wshade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0) 55%, rgba(13,13,13,.55) 100%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.tmedia .wname { position: absolute; left: 12px; bottom: 54px; color: #fff; opacity: 0; transition: opacity .35s; }
.tile.worn-on .worn, .tile.worn-on .wshade, .tile.worn-on .wname { opacity: 1; }
.tile.worn-on .prod, .tile.worn-on .ed { opacity: 0; }
.tmedia .tlink { position: absolute; inset: 0; z-index: 1; }
.tmedia .ed { position: absolute; top: 10px; left: 10px; background: #fff; border-radius: var(--r-pill); padding: 4px 8px; font-size: 10px; font-weight: 500; line-height: 1.2; }
.tmedia .vp { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: #fff; border-radius: var(--r-pill); padding: 5px 8px; font-size: 10px; font-weight: 500; line-height: 1.2; white-space: pre; }
.tmedia .qa { position: absolute; right: 10px; bottom: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.tinfo { display: flex; flex-direction: column; gap: 4px; }
.tinfo .row { display: flex; justify-content: space-between; align-items: center; gap: 4px; font-size: 12px; line-height: 1.35; }
.search-box { padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }
.sfield { height: 46px; background: var(--surface); border-radius: var(--r-pill); padding: 0 16px; display: flex; align-items: center; gap: 10px; }
.sfield input { flex: 1; border: 0; background: none; outline: none; font-size: 14px; line-height: 1.4; min-width: 0; }
.sfield svg { width: 18px; height: 18px; flex: none; }
.empty { background: var(--surface); padding: 24px 20px 32px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* ---------- PDP (M04/M05) ---------- */
.gal { height: 451px; padding: 4px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.gmain { position: relative; height: 348px; flex: none; border-radius: var(--r-img); padding: 14px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: center; touch-action: pan-y; }
.gmain.g-blue { background: linear-gradient(180deg, #cee7ef 0%, #82b5c5 100%); }
.gmain.g-cream { background: linear-gradient(180deg, #fafaee 0%, #61a6bc 100%); }
.gtop { width: 100%; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.gimg-wrap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.gimg { max-width: none; }
.gimg.cut { width: 255px; height: 216px; object-fit: contain; transform: rotate(-8.66deg); }
.gimg.photo { width: 100%; height: 100%; object-fit: cover; }
.gph { width: 70%; height: 46%; border-radius: var(--r-img); background: rgba(255,255,255,.5); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--muted); }
.gdots { display: flex; gap: 6px; position: relative; z-index: 2; }
.gdots i { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: block; }
.gdots i.on { background: var(--ink); }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button { width: 82px; height: 82px; border-radius: var(--r-sm); overflow: hidden; flex: none; background: var(--surface); position: relative; }
.thumbs button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs img.cut { object-fit: contain; padding: 6px; }
.pinfo { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.ptitle { display: flex; flex-direction: column; gap: 6px; }
.ptitle .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt { display: flex; flex-direction: column; gap: 10px; }
.olabel { display: flex; gap: 8px; align-items: center; }
.olabel.sb { justify-content: space-between; }
.olabel .k { color: var(--muted); }
.shapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shape { background: #fff; border: 1.2px solid var(--line); border-radius: var(--r-img); padding: 8px; display: flex; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
.shape[aria-current="true"] { border: 2px solid var(--ink); padding: 7.2px; }
.shape .well { width: 100%; height: 56px; border-radius: var(--r-sm); background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.shape .well img { width: 90%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.sizes { display: flex; gap: 8px; }
.sizes .chip { flex: 1; padding: 0; }
.fitbox { background: var(--surface); border-radius: var(--r-img); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.namecard { background: var(--surface); border-radius: var(--r-img); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.namecard .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.namecard .foil { display: flex; gap: 8px; align-items: center; }
.drows { display: flex; flex-direction: column; gap: 8px; }
.drows div { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; line-height: 1.35; }
.drows dt { color: var(--muted); }
.acc { border-top: 1px solid var(--line); }
.acc > button { width: 100%; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; line-height: 1.4; }
.acc > button .ic { font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -.2px; }
.acc .body { padding: 0 0 16px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; line-height: 1.35; color: var(--muted); }
.acc .body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.acc.faq { padding: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.acc.faq > button { padding: 0; }
.acc.faq .body { padding: 0; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.uses figure { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.35; }
.uses img, .uses .ph { width: 100%; height: 100px; border-radius: var(--r-sm); object-fit: cover; background: var(--placeholder); }
.tunica { background: var(--surface); border-radius: var(--r-img); padding: 12px 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upsell { padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 12px; }
.up { background: var(--surface); border-radius: var(--r-card); padding: 12px; display: flex; gap: 12px; align-items: center; }
.up img { width: 72px; height: 72px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.up .txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sticky { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: var(--app); z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(28px + env(safe-area-inset-bottom)); }
body.has-sticky { padding-bottom: 87px; }

/* size guide (M04.3 / M10.2) */
.measure { background: var(--surface); border-radius: var(--r-img); padding: 12px; display: flex; gap: 12px; align-items: center; }
.measure img { width: 108px; height: 108px; border-radius: var(--r-sm); object-fit: cover; object-position: center 22%; flex: none; }
.measure .txt { display: flex; flex-direction: column; gap: 4px; }
.finder { display: flex; gap: 8px; align-items: center; }
.finder .cm { position: relative; width: 118px; flex: none; }
.finder .cm input { height: 44px; padding-right: 40px; }
.finder .cm span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--ink); pointer-events: none; }
.finder .res { background: var(--accent); border-radius: var(--r-pill); padding: 10px 14px; font-size: 12px; line-height: 1.35; }
.breeds { display: flex; flex-direction: column; gap: 8px; }
.breed { display: flex; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); background: #fff; border-radius: 14px; width: 100%; }
.breed[aria-checked="true"] { background: var(--surface); border: 1.5px solid var(--ink); padding: 7.5px 9.5px; }
.breed img { width: 44px; height: 44px; border-radius: 10px; background: #fff; flex: none; object-fit: contain; }
.breed .t { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.breed .t .top { display: flex; gap: 8px; align-items: baseline; }

/* ---------- hub M06 ---------- */
.intro { background: linear-gradient(180deg, #ffffff 0%, #cee7ef 100%); padding: 24px 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.doors { padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.door { border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.door.b { background: var(--grad-sky); }
.door.a { border: 1.2px solid var(--line); background: #fff; }
.door .btn { align-self: flex-start; }
.door .hub { max-width: 350px; zoom: .9086; }
.door .dimg { height: 120px; border-radius: 14px; background: var(--surface); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.door .dimg img { width: 100%; height: 100%; object-fit: contain; }
.steps { display: flex; flex-direction: column; gap: 12px; }
.step { background: var(--surface); border-radius: var(--r-img); padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.step .n { background: var(--ink); color: var(--accent); border-radius: var(--r-pill); padding: 6px 10px; font-size: 10px; font-weight: 500; line-height: 1.2; flex: none; }
.step .t { display: flex; flex-direction: column; gap: 2px; }

/* ---------- builder M07 ---------- */
body.builder { background: var(--grad-sky); }
.btop { height: 56px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.bwrap { padding: 0 20px 20px; }
.bpanel { padding: 16px 8px 8px; display: flex; flex-direction: column; gap: 16px; }
.lrow { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lrow .k { color: var(--muted); }
.fit { background: var(--surface); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.charms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.charm { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.charm[aria-checked="true"] { border: 1.5px solid var(--ink); padding: 3.5px; }
.charm img { width: 100%; height: 60px; object-fit: cover; border-radius: 10px; }
.cert { background: var(--surface); border-radius: var(--r-card); padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.bsticky { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: var(--app); z-index: 40; background: #fff; border-top: 1px solid var(--line); padding: 12px 20px calc(28px + env(safe-area-inset-bottom)); display: flex; gap: 12px; align-items: center; }
.bsticky .tot { display: flex; flex-direction: column; gap: 2px; }
.bsticky .btn { flex: 1; }
body.builder main { padding-bottom: 100px; }
.closed { background: var(--grad-sky); padding: 40px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.folder { display: flex; flex-direction: column; align-items: flex-start; }
.ftab-dark { background: var(--ink); color: var(--accent); border-radius: 12px 12px 0 0; padding: 8px 16px; font-size: 10px; font-weight: 500; line-height: 1.2; }
.fbody { background: var(--surface); width: 300px; max-width: calc(100vw - 40px); padding: 20px; border-radius: 0 20px 20px 20px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.fbody img { width: 240px; height: 110px; object-fit: contain; }
.closed .actions { width: 100%; display: flex; flex-direction: column; gap: 10px; }

/* ---------- checkout M09 ---------- */
.co-head { height: 56px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.co-head .logo { width: 78.36px; height: 18px; }
.co-sum { background: var(--surface); }
.co-sum > button { width: 100%; height: 44px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; line-height: 1.35; }
.co-lines { padding: 0 20px 14px; display: flex; flex-direction: column; gap: 10px; }
.co-line { display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.35; }
.co-line img { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; background: #fff; flex: none; }
.co-line .n { flex: 1; min-width: 0; }
.co-form { padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 14px; }
.co-express { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-express button { border-radius: var(--r-sm); padding: 14px 10px; font-size: 12px; line-height: 1.35; text-align: center; border: 1px solid var(--line); background: #fff; }
.co-express button.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.co-express button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent), 0 0 0 3px var(--ink); }
.field { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 14px; font-size: 14px; line-height: 1.4; background: #fff; outline: none; }
.field::placeholder { color: var(--muted); }
.field:focus { border-color: var(--ink); }
.radios { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.radio { display: flex; gap: 12px; align-items: center; padding: 14px; border-bottom: 1px solid var(--line); cursor: pointer; background: #fff; }
.radio:last-child { border-bottom: 0; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio .dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; flex: none; }
.radio .lab { flex: 1; font-size: 14px; line-height: 1.4; }
.radio:has(input:checked) { background: var(--surface); }
.radio:has(input:checked) .dot { box-shadow: inset 0 0 0 6px var(--ink); }
.gift { background: var(--surface); border-radius: var(--r-sm); padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 12px; line-height: 1.35; cursor: pointer; }
.gift input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1.2px solid var(--ink); border-radius: 4px; background: #fff; flex: none; margin: 0; display: grid; place-items: center; }
.gift input:checked { background: var(--ink); }
.gift input:checked::after { content: "✓"; color: #fff; font-size: 11px; line-height: 1; }
.trust { padding-top: 4px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.35; }

/* ---------- password M11 ---------- */
body.pw { background: #fff; }
.pw-page { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 20px 18px; }
.pw-bg { position: absolute; inset: -20px; filter: blur(12px); }
.pw-bg img { width: 100%; height: 100%; object-fit: cover; }
.pw-bg::after { content: ""; position: absolute; inset: 0; background: rgba(13,20,31,.35); }
.pw-card { position: relative; width: 353px; max-width: 100%; height: 614px; border-radius: 29px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.25); padding: 20px 20px 22px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; background: #c9dceb; isolation: isolate; }
.pw-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pw-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180.156deg, rgba(77,115,143,0) 27.559%, rgba(0,13,23,.8) 99.922%); }
.pw-access { width: 100%; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.pw-access .input { background: #fff; }
.pw-access .pwd { height: 48px; padding: 0 18px; }
.pw-notify { width: 100%; display: flex; gap: 8px; }
.pw-notify .input { flex: 1; background: #fff; }
.pw-social { width: 100%; padding-top: 6px; display: flex; justify-content: space-between; font-size: 10px; font-weight: 500; line-height: 1.2; color: #fff; }

/* ---------- secondary pages M10 ---------- */
.hero-img { position: relative; height: 440px; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0) 45%, rgba(13,13,13,.7) 100%); }
.blk { padding: 24px 20px; display: flex; flex-direction: column; gap: 12px; }
.blk.surface { background: var(--surface); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.trio figure { display: flex; flex-direction: column; gap: 6px; font-size: 12px; line-height: 1.35; }
.trio img { width: 100%; height: 120px; border-radius: var(--r-sm); object-fit: cover; }
.ph-head { padding: 28px 20px 16px; display: flex; flex-direction: column; gap: 8px; }
.ph-head.brown { background: linear-gradient(180deg, #6a3c00 0%, #351411 100%); color: #fff; padding-bottom: 20px; gap: 12px; }
.ph-head.cream { background: linear-gradient(180deg, #fcfadd 2.42%, #d3e7ee 69.81%, #a6d7ea 105.38%); padding-bottom: 20px; gap: 12px; }
.contact-card { position: relative; min-height: 256px; border-radius: var(--r-card); overflow: hidden; padding: 120px 20px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; color: #fff; isolation: isolate; }
.contact-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; z-index: -2; }
.contact-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,13,.25) 0%, rgba(13,13,13,.8) 100%); }
.contact-card .btn { align-self: flex-start; }
.icard { border-radius: var(--r-card); padding: 16px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }
.icard.accent { background: var(--accent); }
.pouch-ph { width: 110px; height: 110px; border-radius: var(--r-sm); background: var(--placeholder); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 500; color: var(--muted); flex: none; }
.center-page { min-height: 60vh; padding: 48px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.mstep { display: flex; gap: 12px; align-items: flex-start; }
.mstep img { width: 72px; height: 72px; border-radius: var(--r-sm); background: #fff; flex: none; object-fit: contain; }
.mstep .t { display: flex; flex-direction: column; gap: 4px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 110px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); font-size: 12px; opacity: 0; transition: opacity .25s, transform .25s; z-index: 120; pointer-events: none; white-space: nowrap; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

[data-name], [data-b="nombre"] { text-transform: uppercase; }
[data-name]::placeholder, [data-b="nombre"]::placeholder { text-transform: none; }
