/* BonitaScz: tres colores, los del letrero: rosa, blanco y fucsia. Letra del letrero (Oswald) + Outfit. */
:root {
  --pink: #c8007e;          /* texto, botones y detalles (pasa AA sobre blanco) */
  --pink-deep: #a30066;
  --brand: #fe0ba0;         /* solo para la firma del logo */
  --pink-soft: #ffe8f3;
  --pink-tint: #fff7fb;
  --pink-line: #f6d3e4;
  --pink-mid: #f27bb8;
  --rosa: #fbd3e7;          /* rosa del letrero y de las paredes */
  --ink: #5a0636;           /* fucsia profundo para el texto (no hay negro) */
  --muted: #8a2c5f;
  --white: #fff;
  --grey: #f1e6ec;
  --r1: 999px;              /* botones, chips */
  --r2: 14px;               /* tarjetas, fotos */
  --fh: 'Oswald', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --fb: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --top-h: 72px;
  --pad: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body { background: var(--white); color: var(--ink); font-family: var(--fb); font-size: 16px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.012em; }
h1, h2 { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--r1); font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Botones y chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: var(--r1); border: 1.5px solid transparent; font-weight: 600; font-size: 15px; text-decoration: none; text-align: center; transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.12s var(--ease); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active, .chip:active, .icon-btn:active { transform: scale(0.97); }
.btn-pink { background: var(--pink); color: var(--white); }
.btn-line { border-color: var(--pink); color: var(--pink); background: var(--white); }
.btn-wide { width: 100%; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) {
  .btn-pink:hover { background: var(--pink-deep); }
  .btn-line:hover { background: var(--pink-soft); }
  .btn-pink:hover .arrow { transform: translateX(3px); }
}
.arrow { transition: transform 0.25s var(--ease); }
.link-btn { color: var(--pink); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border: 1.5px solid var(--pink-line); border-radius: var(--r1); background: var(--white); font-weight: 500; font-size: 14.5px; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.12s var(--ease); }
.chip i { width: 16px; height: 16px; border-radius: 50%; background: var(--c); border: 1px solid rgba(90, 6, 54, 0.25); flex: none; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--pink-soft); border-color: var(--pink); color: var(--pink-deep); font-weight: 600; }
.chip[disabled] { opacity: 0.45; text-decoration: line-through; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .chip:not([disabled]):hover { border-color: var(--pink); } }
.count[hidden] { display: none; }
.count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1; }
.avail { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--r1); font-size: 13px; font-weight: 600; line-height: 1.3; }
.avail svg { width: 14px; height: 14px; stroke-width: 2.4; }
.avail.is-on { background: var(--pink-soft); color: var(--pink-deep); }
.avail.is-off { background: var(--grey); color: #54434c; }

/* ---------- Cabecera ---------- */
.top { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--pink-line); }
.top-in { max-width: 1180px; margin: 0 auto; height: var(--top-h); padding: 0 var(--pad); display: flex; align-items: center; gap: 24px; }
.brand { flex: none; display: block; }
.brand-logo { height: 52px; width: 94px; fill: var(--brand); stroke: none; overflow: visible; }
.nav { display: flex; gap: clamp(14px, 2.6vw, 38px); margin: 0 auto; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; transition: color 0.2s var(--ease); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--pink); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.nav a.is-on { color: var(--pink); }
.nav a.is-on::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--pink); } }
.top-act { display: flex; gap: 4px; margin-left: auto; }
.nav + .top-act { margin-left: 0; }
.icon-btn { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--pink); transition: background-color 0.2s var(--ease), transform 0.12s var(--ease); }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn .count { position: absolute; top: 2px; right: 0; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--pink-soft); } }
.menu-btn { display: none; }

/* ---------- Inicio ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); align-items: center; min-height: clamp(360px, 60svh, 520px); background: var(--pink); color: var(--white); overflow: clip; isolation: isolate; }
.hero-mark { position: absolute; z-index: -1; left: -1.5vw; bottom: -0.16em; font-family: var(--fh); font-weight: 700; font-size: clamp(7rem, 24vw, 21rem); line-height: 0.8; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.13); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-copy { padding: 40px 12px 40px max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); display: grid; gap: 18px; justify-items: start; }
.hero h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(2.9rem, 6.4vw, 5.8rem); line-height: 0.96; letter-spacing: 0.005em; color: var(--white); }
.hero h1 em { display: block; font-style: normal; color: var(--rosa); }
.hero-city { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.98rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); }
.hero-city[hidden] { display: none; }
.hero-city svg { width: 20px; height: 20px; flex: none; }
@media (max-width: 560px) { .hero-city { font-size: 0.8rem; letter-spacing: 0.04em; gap: 6px; white-space: nowrap; } .hero-city svg { width: 16px; height: 16px; } }
.hero-sub { max-width: 24rem; font-size: clamp(1.02rem, 1.35vw, 1.22rem); color: var(--white); }
.btn-white { background: var(--white); color: var(--pink); }
@media (hover: hover) and (pointer: fine) { .btn-white:hover { background: var(--rosa); } .btn-white:hover .arrow { transform: translateX(3px); } }
.hero-photo { align-self: stretch; position: relative; min-height: 100%; margin: 28px var(--pad) 28px 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; border-radius: 999px 18px 18px 999px; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9); }

/* ---------- Catálogo ---------- */
.cat { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 84px); }
.cat-head { margin-bottom: 26px; }
.cat-head h2, .how h2, .loc h2 { font-family: var(--fh); color: var(--pink); font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.02; }
.cat-head h2::after, .loc h2::after { content: ''; display: block; width: 52px; height: 3px; border-radius: 3px; background: var(--pink-mid); margin: 12px 0 14px; }
.cat-head p { color: var(--muted); font-size: 1.05rem; }
.tools { display: grid; gap: 18px; margin-bottom: 26px; }
.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--pink); pointer-events: none; }
.search input { width: 100%; min-height: 52px; padding: 0 20px 0 48px; border-radius: var(--r1); border: 1.5px solid var(--pink-line); background: var(--pink-tint); font-size: 16px; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.search input::placeholder { color: #7d6a74; }
.search input:focus { outline: none; border-color: var(--pink); background: var(--white); box-shadow: 0 0 0 3px var(--pink-soft); }
.filters-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: var(--r1); border: 1.5px solid var(--pink); color: var(--pink); font-weight: 600; background: var(--white); }
.filters { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 18px 28px; padding: 4px 0; }
.f-group { border: 0; min-width: 0; }
.f-group legend { font-weight: 600; font-size: 14px; margin-bottom: 9px; color: var(--ink); padding: 0; }
.f-group + .f-group { border-left: 1px solid var(--pink-line); padding-left: 28px; }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; font-weight: 500; font-size: 14.5px; }
.knob { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #d9ced4; transition: background-color 0.25s var(--ease); flex: none; }
.knob::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(90, 6, 54, 0.3); transition: transform 0.25s var(--ease); }
.switch[aria-checked="true"] .knob { background: var(--pink); }
.switch[aria-checked="true"] .knob::after { transform: translateX(18px); }
.result-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--pink-line); }
.result { font-weight: 500; color: var(--muted); font-size: 15px; }
.sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.sort select { min-height: 42px; padding: 0 36px 0 16px; border-radius: var(--r1); border: 1.5px solid var(--pink-line); background: var(--white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='m1 1 5 5 5-5' fill='none' stroke='%23c8007e' stroke-width='1.8' stroke-linecap='round'/></svg>") no-repeat right 14px center; appearance: none; font-weight: 500; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.grid[hidden], .grid > li[hidden] { display: none; }
.card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--pink-line); border-radius: var(--r2); background: var(--white); overflow: hidden; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.card.is-in { opacity: 1; transform: none; }
@media (hover: hover) and (pointer: fine) { .card.is-in:hover { box-shadow: 0 14px 30px rgba(200, 0, 126, 0.12); border-color: var(--pink-mid); } }
.card-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(100deg, var(--pink-soft) 30%, #fff4f9 50%, var(--pink-soft) 70%); background-size: 220% 100%; animation: shimmer 1.6s linear infinite; cursor: pointer; }
.card-img.is-loaded { animation: none; background: var(--pink-soft); }
@keyframes shimmer { to { background-position: -120% 0; } }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 20%); opacity: 0; transition: opacity 0.45s var(--ease), transform 0.7s var(--ease); }
.card-img img.is-loaded { opacity: 1; }
.card-img img.alt { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .card-img.has-alt:hover img.alt.is-loaded { opacity: 1; }
  .card.is-off .card-img.has-alt:hover img.alt.is-loaded { opacity: 0.7; }
  .card-img:hover img.main { transform: scale(1.03); }
}
.card.is-off .card-img img { filter: grayscale(0.7); }
.card.is-off .card-img img.main.is-loaded { opacity: 0.7; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 14px 14px 16px; flex: 1; }
.card h3 { font-family: var(--fh); font-size: 1.12rem; line-height: 1.2; }
.card h3 button { text-align: left; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; }
.price { font-weight: 600; font-size: 1.05rem; }
.price.is-ask { font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes span { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 8px; border: 1.5px solid var(--pink-line); border-radius: var(--r1); font-size: 13px; font-weight: 500; color: var(--pink-deep); }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 2px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1px solid rgba(90, 6, 54, 0.25); }
.card-act { display: grid; gap: 8px; }

/* ---------- Cómo comprar ---------- */
.how { padding: clamp(36px, 5vw, 56px) 0; }
.how .wrap { padding: 0 var(--pad); }
.how-box { background: var(--pink-tint); border-radius: 22px; padding: clamp(24px, 4vw, 40px); }
.how h2 { text-align: center; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; padding: 6px clamp(14px, 3vw, 36px); }
.steps li + li { border-left: 1px solid var(--pink-line); }
.steps svg { width: 38px; height: 38px; color: var(--pink); }
.steps .n { position: absolute; top: 4px; left: calc(50% - 46px); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: var(--white); font-size: 14px; font-weight: 700; }
.steps h3 { font-family: var(--fh); font-size: 1.25rem; margin-top: 4px; color: var(--pink); }
.steps p { color: var(--muted); font-size: 15px; max-width: 18rem; }

/* ---------- Ubicación y envíos ---------- */
.loc { padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 7vw, 84px); }
.loc h2 { margin-bottom: 28px; }
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.loc h3 { font-family: var(--fh); font-size: 1.5rem; margin-bottom: 10px; color: var(--pink); }
address { font-style: normal; font-size: 1.05rem; line-height: 1.6; }
.hours { margin-top: 8px; color: var(--muted); }
.loc-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 20px; }
.map-frame { border-radius: var(--r2); overflow: hidden; border: 1px solid var(--pink-line); background: var(--pink-soft); aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.ship > p { color: var(--muted); max-width: 30rem; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.cities li { padding: 6px 14px; border-radius: var(--r1); background: var(--pink-soft); color: var(--pink-deep); font-weight: 500; font-size: 14px; }
.bo-map { max-width: 420px; margin: 8px 0 0; }
.bo-map svg { width: 100%; height: auto; overflow: visible; stroke: none; }
.b-shadow { fill: rgba(200, 0, 126, 0.1); }
.b-dept { stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.b-edge { fill: none; stroke: #f0b4d2; stroke-width: 2; stroke-linejoin: round; }
.b-arc { fill: none; stroke: var(--pink); stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; opacity: 0.7; }
.b-city { fill: var(--pink); stroke: #fff; stroke-width: 3; }
.b-lab { font-family: var(--fb); font-weight: 600; font-size: 25px; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 6px; stroke-linejoin: round; }
.b-lab-home { font-size: 30px; fill: var(--pink-deep); }
.b-home { fill: var(--pink); stroke: #fff; stroke-width: 1.6; }
.b-ring { fill: none; stroke: var(--pink); stroke-width: 2.5; opacity: 0.4; }

/* ---------- Pantalla de carga ---------- */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; align-content: center; justify-items: center; gap: 26px; background: var(--pink); color: var(--white); transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1), visibility 0s 0.7s; }
.loader[hidden] { display: none; }
.loader.is-out { transform: translateY(-100%); visibility: hidden; }
html.ld-skip .loader { display: none; }
html.is-loading { overflow: hidden; }
.ld-word { display: flex; overflow: clip; padding: 0.08em 0.04em 0.12em; font-family: var(--fh); font-weight: 700; font-size: clamp(3rem, 14vw, 7.5rem); line-height: 1; letter-spacing: 0.01em; }
.ld-word span { display: inline-block; animation: ld-up 0.7s var(--ease) both; animation-delay: calc(var(--i) * 55ms); }
@keyframes ld-up { from { transform: translateY(115%); } }
.ld-bar { position: relative; display: block; width: min(180px, 46vw); height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.ld-bar::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: var(--white); transform-origin: left; animation: ld-fill 1.2s var(--ease) 0.2s both; }
@keyframes ld-fill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .loader { transition-duration: 0.01ms; } .ld-word span, .ld-bar::after { animation: none; } }

/* ---------- Página del Club ---------- */
.top-cta { margin-right: 4px; }
.cl-hero { position: relative; background: var(--pink); color: var(--white); overflow: clip; isolation: isolate; }
.cl-hero .hero-mark { left: auto; right: -2vw; bottom: -0.12em; font-size: clamp(8rem, 30vw, 26rem); }
.cl-hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(48px, 8vw, 100px); }
.cl-copy { display: grid; gap: 22px; justify-items: start; }
.cl-hero h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(3.6rem, 10vw, 8.4rem); line-height: 0.92; letter-spacing: 0.005em; color: var(--white); }
.cl-lead { max-width: 28rem; font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.cl-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.link-w { color: var(--white); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 4px; }
.cl-card { position: relative; justify-self: center; width: min(100%, 430px); aspect-ratio: 1.6; display: grid; align-content: space-between; padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: var(--white); color: var(--pink); box-shadow: 0 30px 60px rgba(90, 6, 54, 0.4); rotate: -5deg; overflow: hidden; isolation: isolate; transition: rotate 0.6s var(--ease); }
.cl-card::after { content: 'BONITASCZ'; position: absolute; z-index: -1; right: -0.05em; bottom: -0.2em; font-family: var(--fh); font-weight: 700; font-size: clamp(5rem, 14vw, 8rem); line-height: 0.8; color: rgba(200, 0, 126, 0.1); white-space: nowrap; }
.cl-card .m-club { color: var(--pink); }
.cl-card .m-name { color: var(--pink); }
.cl-card .m-data dt { color: var(--muted); }
.cl-card .m-data dd { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .cl-hero:hover .cl-card { rotate: -2deg; } }
.m-club { font-family: var(--fh); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rosa); }
.m-name { font-family: var(--fh); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 2.8rem); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.m-data { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 28px; }
.m-data dt { font-size: 13px; color: var(--rosa); font-weight: 600; }
.m-data dd { font-weight: 600; font-size: 1.02rem; }
.m-mark { display: none; }
.member::after { content: 'BONITASCZ'; position: absolute; z-index: -1; right: -0.05em; bottom: -0.2em; font-family: var(--fh); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 0.8; color: rgba(255, 255, 255, 0.14); white-space: nowrap; pointer-events: none; }
.member .m-club, .member .m-data dt { color: var(--white); }
.cl-how { padding: clamp(48px, 7vw, 92px) 0; }
.cl-how h2, .cl-points h2, .cl-join h2 { font-family: var(--fh); color: var(--pink); font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.02; }
.cl-how h2 { margin-bottom: clamp(24px, 4vw, 44px); }
.cl-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cl-steps li { display: grid; justify-items: start; align-content: start; gap: 10px; padding: 6px clamp(16px, 3vw, 40px); }
.cl-steps li:first-child { padding-left: 0; }
.cl-steps li + li { border-left: 1px solid var(--pink-line); }
.cl-steps .ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: var(--white); margin-bottom: 6px; }
.cl-steps svg { width: 32px; height: 32px; }
.cl-steps h3 { font-family: var(--fh); font-size: 1.7rem; color: var(--pink); line-height: 1.05; }
.cl-steps p { color: var(--muted); max-width: 22rem; }
.cl-points { background: var(--pink-soft); padding: clamp(48px, 7vw, 92px) 0; }
.cl-points-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cl-sub { margin: 10px 0 22px; color: var(--muted); font-size: 1.1rem; }
.cl-h3 { font-family: var(--fh); font-size: 1.7rem; color: var(--pink); margin-bottom: 14px; }
.calc { padding: clamp(18px, 3vw, 28px); border-radius: 18px; background: var(--white); border: 1.5px solid var(--pink-line); display: grid; gap: 10px; }
.calc-l { font-weight: 600; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc-l output { color: var(--pink); font-family: var(--fh); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; --fill: 30%; }
.calc input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--pink) var(--fill), var(--pink-line) var(--fill)); }
.calc input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--pink) var(--fill), var(--pink-line) var(--fill)); }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 4px solid var(--pink); box-shadow: 0 2px 8px rgba(90, 6, 54, 0.25); }
.calc input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 4px solid var(--pink); }
.calc-r { min-height: 3.2em; font-weight: 500; font-size: 1.05rem; }
.rewards { display: grid; gap: 10px; }
.rewards li { display: grid; gap: 2px; padding: 16px 20px; border-radius: 16px; background: var(--white); border: 1.5px solid var(--pink-line); }
.rewards b { font-family: var(--fh); font-size: 1.6rem; color: var(--pink); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.05; }
.rewards span { color: var(--ink); font-weight: 500; }
.fine { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.cl-join { padding: clamp(48px, 7vw, 100px) 0; }
.cl-join-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.cl-join-copy { display: grid; gap: 16px; position: sticky; top: calc(var(--top-h) + 24px); }
.cl-join-copy p { color: var(--muted); font-size: 1.12rem; max-width: 26rem; }
.club-form { display: grid; gap: 16px; padding: clamp(22px, 3.4vw, 38px); border-radius: 22px; background: var(--white); border: 1.5px solid var(--pink-line); box-shadow: 0 18px 44px rgba(200, 0, 126, 0.12); }
.club-form[hidden], .member[hidden] { display: none; }
.club-form h3 { font-family: var(--fh); font-size: 1.9rem; color: var(--pink); line-height: 1; }
.club-form fieldset { border: 0; padding: 0; min-width: 0; }
.club-form legend { font-weight: 600; font-size: 14px; margin-bottom: 9px; padding: 0; }
.fld .hint { font-weight: 400; margin-left: 4px; }
.fld input[aria-invalid="true"] { border-color: var(--pink); background: var(--pink-tint); box-shadow: 0 0 0 3px var(--pink-soft); }
.err { color: var(--pink-deep); font-weight: 600; font-size: 14px; }
.err[hidden] { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin-top: 1px; accent-color: var(--pink); cursor: pointer; }
.member { position: relative; overflow: hidden; display: grid; gap: 18px; padding: clamp(24px, 3.6vw, 40px); border-radius: 24px; background: var(--pink); color: var(--white); box-shadow: 0 22px 50px rgba(200, 0, 126, 0.3); isolation: isolate; }
.m-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--pink-line); background: var(--pink-tint); padding: 36px 0 32px; }
.foot-in { display: grid; justify-items: center; gap: 18px; text-align: center; }
.foot-logo { height: 54px; width: 98px; fill: var(--brand); stroke: none; overflow: visible; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--pink-deep); font-weight: 500; text-underline-offset: 3px; }
.made-by { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin-top: 4px; font-size: 0.74rem; line-height: 1.4; color: var(--muted); }
.made-by a { text-underline-offset: 3px; }
.aw-mark { height: 15px; width: auto; flex: none; fill: var(--muted); stroke: none; overflow: visible; }

/* ---------- Ficha de la prenda ---------- */
dialog { color: var(--ink); border: 0; padding: 0; background: var(--white); }
dialog::backdrop { background: rgba(90, 6, 54, 0.5); }
.x { position: absolute; top: 12px; right: 12px; z-index: 5; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--white); color: var(--ink); box-shadow: 0 2px 10px rgba(90, 6, 54, 0.18); transition: transform 0.12s var(--ease); }
.x svg { width: 22px; height: 22px; }
.x:active { transform: scale(0.94); }
.sheet { width: min(1040px, 96vw); max-height: 94svh; margin: auto; border-radius: 20px; overflow: auto; box-shadow: 0 30px 80px rgba(90, 6, 54, 0.3); }
.sheet[open] { animation: pop 0.35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px); } }
.sh-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); }
.sh-gal { padding: 18px; display: grid; gap: 12px; align-content: start; background: var(--pink-tint); }
.sh-main { position: relative; border-radius: var(--r2); overflow: hidden; background: var(--pink-soft); aspect-ratio: 4 / 5; touch-action: pan-y; }
.sh-main img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 20%); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease); }
.sh-main img.is-swap { opacity: 0; }
.sh-main.is-zoom { cursor: zoom-out; }
.sh-main.is-zoom img { transform: scale(1.9); transform-origin: var(--zx, 50%) var(--zy, 50%); transition: transform 0.2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .sh-main { cursor: zoom-in; } }
.gal-nav { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--ink); box-shadow: 0 2px 8px rgba(90, 6, 54, 0.2); }
.gal-nav svg { width: 22px; height: 22px; }
.gal-nav.prev { left: 10px; } .gal-nav.next { right: 10px; }
.gal-nav[hidden] { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.thumbs button { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--pink-soft); transition: border-color 0.2s var(--ease); }
.thumbs button[aria-current="true"] { border-color: var(--pink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 20%); }
.sh-info { padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 14px; align-content: start; }
.sh-cat { color: var(--pink); font-weight: 600; font-size: 14px; }
.sh-info h2 { font-family: var(--fh); font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; padding-right: 40px; color: var(--pink); }
.sh-price { font-weight: 600; font-size: 1.3rem; }
.sh-price.is-ask { font-weight: 500; font-size: 1rem; color: var(--muted); }
.sh-info .avail { justify-self: start; }
.sh-last { color: var(--pink-deep); font-weight: 600; font-size: 14.5px; }
.sh-last[hidden] { display: none; }
.sh-desc { color: var(--muted); max-width: 34rem; }
.sh-field { border: 0; display: grid; gap: 10px; }
.sh-field legend { font-weight: 600; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.hint { font-weight: 400; color: var(--muted); margin-left: 6px; }
.sh-colors { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; font-size: 15px; }
.sh-colors b { font-weight: 600; }
.sh-colors span { display: inline-flex; align-items: center; gap: 8px; }
.sh-colors i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); border: 1px solid rgba(90, 6, 54, 0.25); }
.sh-act { display: grid; gap: 10px; margin-top: 6px; }

/* ---------- Mi lista ---------- */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(430px, 100vw); height: 100svh; max-height: none; display: none; flex-direction: column; box-shadow: -20px 0 60px rgba(90, 6, 54, 0.25); }
.drawer[open] { display: flex; animation: slide 0.35s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.dr-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--pink-line); }
.dr-head h2 { font-family: var(--fh); font-size: 1.8rem; color: var(--pink); }
.dr-head .x { position: static; box-shadow: none; background: var(--pink-soft); color: var(--pink-deep); }
.dr-list { flex: 1; overflow: auto; padding: 8px 20px; }
.dr-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--pink-line); }
.dr-list img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: var(--pink-soft); object-position: var(--focus, 50% 20%); }
.dr-list strong { display: block; text-transform: uppercase; letter-spacing: 0.01em; font-family: var(--fh); font-weight: 500; font-size: 1.02rem; line-height: 1.25; }
.dr-list small { color: var(--muted); font-size: 14px; }
.dr-rm { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--pink); }
.dr-rm svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .dr-rm:hover { background: var(--pink-soft); } }
.dr-empty { padding: 28px 20px; color: var(--muted); flex: 1; }
.dr-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; }
.dr-total b { font-family: var(--fh); font-size: 1.9rem; line-height: 1; color: var(--pink); font-variant-numeric: tabular-nums; }
.dr-total-note { margin-top: -6px; font-size: 13.5px; color: var(--muted); }
.dr-total-note[hidden] { display: none; }
.dr-foot { display: grid; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--pink-line); background: var(--pink-tint); }
.fld { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.fld input { min-height: 46px; padding: 0 16px; border-radius: var(--r1); border: 1.5px solid var(--pink-line); background: var(--white); font-weight: 400; font-size: 16px; }
.fld input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px var(--pink-soft); }

/* ---------- Vacío, aviso ---------- */
.empty { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 20px; border: 1.5px dashed var(--pink-line); border-radius: var(--r2); background: var(--pink-tint); }
.empty[hidden] { display: none; }
.empty svg { width: 44px; height: 44px; color: var(--pink); }
.empty h3 { font-family: var(--fh); font-size: 1.5rem; color: var(--pink); }
.empty p { color: var(--muted); max-width: 28rem; }
.empty-act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.toast { position: fixed; z-index: 400; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translate(-50%, 20px); max-width: min(92vw, 420px); padding: 12px 20px; border-radius: 18px; text-align: center; background: var(--ink); color: var(--white); font-size: 15px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 20px; text-align: center; }

/* ---------- Pantallas medianas ---------- */
@media (max-width: 1060px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .f-group + .f-group { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  :root { --top-h: 64px; }
  .menu-btn { display: grid; }
  .nav { position: absolute; left: 0; right: 0; top: var(--top-h); flex-direction: column; gap: 0; margin: 0; padding: 8px var(--pad) 16px; background: var(--white); border-bottom: 1px solid var(--pink-line); box-shadow: 0 16px 24px rgba(90, 6, 54, 0.08); display: none; }
  .nav.is-open { display: flex; }
  .nav a { min-height: 50px; font-size: 17px; border-bottom: 1px solid var(--pink-tint); }
  .nav a::after { display: none; }
  .brand-logo { height: 46px; width: 83px; }
  .top-act { margin-left: auto; }
  .loc-grid, .cl-hero-in, .cl-points-in, .cl-join-in { grid-template-columns: minmax(0, 1fr); }
  .cl-join-copy { position: static; }
  .cl-card { margin-top: 8px; width: min(100%, 360px); }
  .cl-steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cl-steps li, .cl-steps li:first-child { padding: 0; }
  .cl-steps li + li { border-left: 0; border-top: 1px solid var(--pink-line); padding-top: 24px; }
  .top-cta { display: none; }
  .sheet { width: 100vw; max-width: 100vw; height: 100svh; max-height: 100svh; border-radius: 0; }
  .sh-grid { grid-template-columns: minmax(0, 1fr); }
  .sh-gal { padding: 12px; }
  .sh-main { aspect-ratio: 4 / 5; max-height: 62svh; margin: 0 auto; width: auto; }
  .x { top: 10px; right: 10px; }
  .filters-toggle { display: inline-flex; }
  .filters { display: none; padding: 14px; border: 1.5px solid var(--pink-line); border-radius: var(--r2); background: var(--pink-tint); }
  .filters.is-open { display: grid; }
}
@media (max-width: 680px) {
  .lbl-more { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px 10px 12px; gap: 8px; }
  .card h3 { font-size: 0.98rem; }
  .sizes span { min-width: 30px; height: 28px; font-size: 12.5px; }
  .card-meta { flex-wrap: wrap; }
  .avail { font-size: 12px; padding: 3px 9px; }
  .btn-sm { padding: 0 10px; font-size: 13.5px; min-height: 44px; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); min-height: 320px; }
  .hero-copy { padding: 26px 4px 26px var(--pad); gap: 14px; }
  .hero h1 { font-size: clamp(2rem, 9.6vw, 2.9rem); }
  .hero h1 em { display: inline; }
  .hero-sub { font-size: 0.98rem; }
  .hero-photo { margin: 22px 14px 22px 0; }
  .hero-photo img { border-radius: 999px 14px 14px 999px; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9); }
  .hero .btn { padding: 0 16px; min-height: 46px; font-size: 14px; gap: 8px; white-space: nowrap; }
  .sh-act { position: sticky; bottom: 0; margin: 6px -12px -24px; padding: 12px 12px max(14px, env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--pink-line); }
  .hero-photo img { object-position: 55% 12%; }
  .m-data { grid-template-columns: repeat(2, auto); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--pink-line); padding-top: 22px; }
  .steps .n { left: calc(50% - 44px); }
  .sort { margin-left: 0; width: 100%; justify-content: space-between; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .thumbs { gap: 8px; }
}
@media (max-width: 360px) { .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); } .hero h1 { font-size: 1.85rem; } .hero-sub { font-size: 0.92rem; } .hero .btn { padding: 0 12px; font-size: 13.5px; gap: 6px; } .hero-photo { margin-right: 10px; } }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .card { opacity: 1; transform: none; }
  .card-img { animation: none; }
}

/* ---------- Cuenta del club: pestañas, puntos, historial ---------- */
.auth { display: grid; gap: 14px; }
.auth[hidden], .hist[hidden], .m-pts[hidden], .m-prog[hidden], .m-next[hidden], .m-data > div[hidden] { display: none; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: var(--r1); background: var(--pink-soft); }
.tabs[hidden] { display: none; }
.tab { min-height: 46px; border-radius: var(--r1); font-weight: 600; font-size: 15px; color: var(--pink-deep); transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.tab[aria-selected="true"] { background: var(--pink); color: var(--white); }
.tab:active { transform: scale(0.98); }
.m-pts { display: flex; align-items: baseline; gap: 10px; line-height: 1; }
.m-pts b { font-family: var(--fh); font-weight: 700; font-size: clamp(4rem, 12vw, 6rem); letter-spacing: 0.005em; font-variant-numeric: tabular-nums; }
.m-pts span { font-family: var(--fh); font-size: 1.5rem; text-transform: uppercase; color: var(--rosa); }
.m-prog { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.m-prog i { display: block; height: 100%; border-radius: 10px; background: var(--white); transform-origin: left; transition: transform 0.9s var(--ease); }
.m-next { font-weight: 500; }
.rewards li.is-got { background: var(--pink); border-color: var(--pink); }
.rewards li.is-got b, .rewards li.is-got span, .rewards li.is-got small { color: var(--white); }
.rewards small { color: var(--muted); font-size: 13.5px; }
.hist { display: grid; gap: 10px; margin-top: 22px; }
.hist h3 { font-family: var(--fh); font-size: 1.7rem; color: var(--pink); line-height: 1; }
.hist ul { display: grid; border-radius: 18px; border: 1.5px solid var(--pink-line); background: var(--white); overflow: hidden; }
.hist li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 13px 18px; }
.hist li + li { border-top: 1px solid var(--pink-line); }
.hist time { color: var(--muted); font-size: 14px; }
.hist b { font-family: var(--fh); font-size: 1.3rem; color: var(--pink); font-variant-numeric: tabular-nums; }
.hist b.neg { color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (prefers-reduced-motion: reduce) { .m-prog i { transition: none; } }

/* código de la prenda (B-00001): solo dentro de la ficha, discreto; en las tarjetas no se ve (la búsqueda sí lo entiende) */
.sh-code { font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.sh-code[hidden] { display: none; }
