/* Tokens. HEX de Pantone son aproximados (ver data.js). */
:root {
  --paper: #F2F1EC;      /* base, cercano a Cloud Dancer 11-4201 */
  --paper-2: #E7E5DE;
  --card: #FBFAF7;
  --ink: #17191C;
  --ink-2: #4B4E53;
  --muted: #6D6F72;
  --line: #D8D5CD;
  --b2b: #C42A3F;        /* Rojo Hibiscus: acción de compra (ver "Paleta de la marca" al final) */
  --b2b-ink: #A51F33;
  --b2b-soft: #FCE8EB;
  --ok: #2E7A4E;
  --warn: #9A5B00;
  --bad: #A3252F;
  --wa: #1FAF55;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(23, 25, 28, .10);
  --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --f-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.55 var(--f-body); font-variation-settings: 'wdth' 100;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select { font: inherit; }
code { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .02em; }
:focus-visible { outline: 2px solid var(--b2b); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 900px) { .wrap { padding-inline: 32px; } }

/* Tipografía */
h1, h2, h3, .h1, .h2 { font-family: var(--f-display); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; margin: 0; }
.h1 { font-size: clamp(2.3rem, 6.2vw, 4.6rem); font-weight: 800; font-variation-settings: 'wdth' 72; text-transform: uppercase; }
.h2, h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; font-variation-settings: 'wdth' 78; text-transform: uppercase; }
h3 { font-size: 1.1rem; font-weight: 700; }
.eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 1.3em; border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; letter-spacing: .01em;
  transition: transform .15s var(--ease), background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-b2b { background: var(--b2b); border-color: var(--b2b); color: #fff; }
.btn-b2b:hover { background: var(--b2b-ink); border-color: var(--b2b-ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.sm { min-height: 36px; font-size: .85rem; padding: 0 .9em; }
.btn.block { display: flex; width: 100%; }
.btn.disabled { opacity: .4; pointer-events: none; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; font-weight: 700; color: inherit; }
.row { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.grow { flex: 1; }

/* Header */
#site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: .8rem; padding: 7px 16px; min-height: 32px; }
.announce p { margin: 0; transition: opacity .3s, transform .3s var(--ease); }
.announce p.out { opacity: 0; transform: translateY(-6px); }
.bar { display: flex; align-items: center; gap: 14px; height: 64px; }
.logo { font-family: var(--f-display); font-weight: 900; font-variation-settings: 'wdth' 62; font-size: 1.7rem; letter-spacing: .02em; text-decoration: none; }
.logo span { font-size: .55em; vertical-align: super; font-weight: 500; }
.nav { display: flex; gap: 20px; margin-left: 12px; }
.nav { align-self: stretch; }
.nav-item { display: flex; }
.nav .nav-top { display: flex; align-items: center; text-decoration: none; font-weight: 600; font-size: .95rem; padding: 0; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .2s; }
.nav .nav-top:hover, .nav-item.open .nav-top { box-shadow: inset 0 -2px 0 var(--ink); }
.nav .nav-top.nav-b2b { color: var(--b2b); }
.nav .nav-top.nav-b2b:hover, .nav-item.open .nav-top.nav-b2b { box-shadow: inset 0 -2px 0 var(--b2b); }
.search { position: relative; margin-left: auto; flex: 0 1 280px; }
.search input { width: 100%; height: 40px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 0 12px; }
.suggest { position: absolute; top: 46px; left: 0; right: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; z-index: 5; }
.suggest a { display: flex; justify-content: space-between; gap: 8px; padding: 8px; border-radius: 4px; text-decoration: none; font-size: .9rem; }
.suggest a:hover { background: var(--paper-2); }
.suggest p { margin: 8px; font-size: .88rem; color: var(--muted); }
.sg-color { justify-content: flex-start !important; align-items: center; font-weight: 600; }
.sg-color i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.mode { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--card); }
.mode button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700; transition: background .2s, color .2s; }
.mode button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
body[data-mode="mayor"] .mode button[data-mode="mayor"][aria-pressed="true"] { background: var(--b2b); color: #fff; }
.icon-btn { background: none; border: 0; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; position: relative; }
.icon-btn:hover { background: var(--paper-2); }
.count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--b2b); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }
.only-m { display: none; }

@media (max-width: 1180px) { .search { flex-basis: 200px; } .nav { gap: 14px; } }
.nav .nav-top { white-space: nowrap; }
@media (max-width: 1023px) {
  .only-m { display: inline-grid; }
  .bar { height: auto; flex-wrap: wrap; padding-block: 8px; gap: 8px; }
  .logo { margin-right: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  body.menu-open .nav { display: flex; }
  .nav .nav-top { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); box-shadow: none !important; }
  .search { order: 5; flex: 1 1 100%; margin: 0; }
}

/* Menú desplegable */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 29;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(23, 25, 28, .08);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .22s var(--ease), visibility 0s linear .22s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { display: flex; gap: 48px; padding-block: 28px 32px; }
.mega-col { display: grid; gap: 10px; align-content: start; flex: 0 1 220px; min-width: 0; }
.mega-h { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
a.mega-h:hover { color: var(--ink); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega li a { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; text-decoration: none; font-size: .95rem; }
.mega li a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega li small { color: var(--muted); font-family: var(--f-mono); font-size: .72rem; }
.mega .mega-all { font-weight: 700; margin-top: 4px; }
.mega-col.mega-tiers { flex-basis: 380px; }
.mega-tiers li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .9rem; font-variant-numeric: tabular-nums; }
.mega-tiers .btn { justify-self: start; }
.mega-feat { display: grid; gap: 4px; align-content: start; text-decoration: none; flex: 0 0 210px; margin-left: auto; }
.mega-img { background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 4 / 3.4; display: grid; place-items: center; overflow: hidden; }
.mega-img .garment { width: 42%; transition: transform .35s var(--ease); }
.mega-feat:hover .mega-img .garment { transform: translateY(-3px) scale(1.04); }
.mega-feat b { font-size: .95rem; }
.b2b-t { color: var(--b2b); font-weight: 700; }
@media (max-width: 1023px) {
  .nav { max-height: calc(100vh - 150px); overflow-y: auto; }
  .nav-item { display: block; }
  .nav .nav-top { justify-content: space-between; }
  .nav .nav-top::after { content: '+'; font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
  .nav-item.open .nav-top::after { transform: rotate(45deg); }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; }
  .nav-item.open .mega { display: block; }
  .mega .wrap { padding-inline: 0; }
  .mega-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 8px 16px; }
  .mega-col.mega-tiers { grid-column: 1 / -1; }
  .mega-feat, .mega-tiers p { display: none; }
}

/* Footer */
#site-footer { border-top: 1px solid var(--line); margin-top: 64px; padding-block: 40px 90px; }
.foot { display: grid; gap: 28px; grid-template-columns: 2fr 1fr 1fr 1fr; }
.foot h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.foot a:not(.logo) { display: block; text-decoration: none; padding: 4px 0; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.legal { padding-top: 24px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 25; display: flex; align-items: center; gap: 6px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 16px 10px 12px; border-radius: 999px; box-shadow: var(--shadow); }
.wa-float:hover { filter: brightness(1.05); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding-block: 40px 32px; }
.hero .lead { margin: 18px 0 26px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 4 / 4.4; display: grid; place-items: center; overflow: hidden; max-width: 100%; }
.hero-art .garment { width: 62%; transition: opacity .35s, transform .5s var(--ease); }
#hero-garments.swap .garment { opacity: 0; transform: translateY(10px) scale(.97); }
.hero-art figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; font-size: .8rem; display: flex; align-items: center; gap: 8px; }
.hero-art figcaption i, .season-sw i, .sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.hero-art .stamp { position: absolute; top: 14px; left: 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--card); padding: 4px 8px; border-radius: 3px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 20px; }
  .hero-art { aspect-ratio: 16 / 10; }
  .hero-art .garment { width: 34%; }
}

/* Franja de condiciones: responde las 4 preguntas del mayorista */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact { padding: 18px 16px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact b { display: block; font-family: var(--f-display); font-variation-settings: 'wdth' 75; font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.fact span { font-size: .86rem; color: var(--ink-2); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

.section { padding-block: 56px 8px; }
.section-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-h p { margin: 6px 0 0; }

/* Categorías */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { text-decoration: none; display: grid; gap: 4px; }
.cat-img { background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 1; display: grid; place-items: center; transition: background .2s; }
.cat-img .garment { width: 62%; transition: transform .35s var(--ease); }
.cat:hover .cat-img .garment { transform: translateY(-4px) rotate(-2deg); }
.cat span { font-weight: 700; }
@media (max-width: 900px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* Tarjetas de producto */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; } }
.card { display: grid; gap: 10px; align-content: start; }
.card-img { position: relative; display: grid; place-items: center; background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 4 / 5; overflow: hidden; }
.card-img .g-main { width: 70%; }
.card-img .garment { transition: transform .4s var(--ease); }
.card:hover .card-img .garment { transform: scale(1.04); }
.tag { position: absolute; top: 10px; left: 10px; z-index: 1; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; background: var(--card); padding: 3px 7px; border-radius: 3px; }
.tag.dark { background: var(--ink); color: var(--paper); }
.card-body { display: grid; gap: 6px; }
.card-name { text-decoration: none; font-weight: 600; line-height: 1.3; }
.card-name:hover { text-decoration: underline; }
.card-price { display: grid; gap: 1px; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; }
.price.b2b { color: var(--b2b); }
.card-meta { margin: 0; }
.swatches { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.swatches .sw { width: 18px; height: 18px; padding: 0; cursor: pointer; box-shadow: 0 0 0 2px var(--paper); transition: box-shadow .15s; }
.swatches .sw.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.swatches.lg .sw { width: 30px; height: 30px; }

/* Calculadora y niveles */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.calc-in { padding: 24px; display: grid; gap: 14px; align-content: start; }
.calc-in input[type=range] { width: 100%; accent-color: var(--b2b); }
.calc-out { padding: 24px; background: var(--ink); color: var(--paper); display: grid; gap: 14px; align-content: start; }
.calc-out dl { margin: 0; display: grid; gap: 12px; }
.calc-out dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.calc-out dd { margin: 0; font-family: var(--f-display); font-variation-settings: 'wdth' 75; font-size: 1.7rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-out .hl { color: #F2B6C3; }
.tier-rows { display: grid; gap: 6px; }
.tier-rows div { display: flex; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 4px; font-variant-numeric: tabular-nums; transition: background .25s, border-color .25s, color .25s; }
.tier-rows div.on { background: var(--b2b); border-color: var(--b2b); color: #fff; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { border-top: 2px solid var(--ink); padding-top: 14px; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .75rem; color: var(--muted); }
.steps h3 { margin: 6px 0; }
.steps p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* Temporada */
.seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.season { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 6px; background: var(--card); transition: border-color .2s, transform .2s var(--ease); }
.season:hover { border-color: var(--ink); transform: translateY(-2px); }
.season h3 { font-size: 1.4rem; font-family: var(--f-display); font-variation-settings: 'wdth' 75; text-transform: uppercase; }
.season p { margin: 0; }
.season-sw { display: flex; }
.season-sw i { width: 44px; height: 44px; margin-right: -10px; border: 3px solid var(--card); }
@media (max-width: 800px) { .seasons { grid-template-columns: 1fr; } }

/* Confianza */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust > div { border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; }
.trust h3 { margin-bottom: 6px; }
.trust p { margin: 0; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 800px) { .trust { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 400; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--ink-2); }
.faq { max-width: 820px; }

/* Catálogo */
.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-block: 28px 16px; flex-wrap: wrap; }
.cat-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cat-tools select { height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 0 10px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.view-toggle button { border: 0; background: var(--card); padding: 0 12px; height: 38px; font-size: .85rem; font-weight: 600; }
.view-toggle button[aria-pressed="true"] { background: var(--b2b); color: #fff; }
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 120px; max-height: calc(100vh - 140px); overflow: auto; }
.filters-h { display: none; }
fieldset { border: 0; border-bottom: 1px solid var(--line); margin: 0; padding: 14px 0; }
legend { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 0; margin-bottom: 8px; float: left; width: 100%; }
fieldset > *:not(legend) { clear: both; }
.chk { display: flex; gap: 8px; align-items: center; padding: 4px 0; cursor: pointer; }
.chk input { accent-color: var(--ink); width: 18px; height: 18px; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.size-chip input, .color-chip input { position: absolute; opacity: 0; }
.size-chip span { display: grid; place-items: center; height: 36px; border: 1px solid var(--line); border-radius: 4px; font-size: .82rem; cursor: pointer; background: var(--card); }
.size-chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size-chip input:focus-visible + span, .color-chip input:focus-visible + i { outline: 2px solid var(--b2b); outline-offset: 2px; }
.color-grid { display: grid; gap: 4px; }
.color-chip { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; padding: 3px 0; }
.color-chip i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); }
.color-chip input:checked + i { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--ink); }
.color-chip input:checked ~ span { font-weight: 700; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; min-height: 0; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 10px; font-size: .82rem; text-transform: capitalize; }
.chip:hover { border-color: var(--ink); }
.open-filters { display: none; }
.empty { padding: 40px 0; display: grid; gap: 12px; justify-items: start; }
@media (max-width: 899px) {
  .layout { grid-template-columns: 1fr; }
  .open-filters { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 82vh; background: var(--paper); z-index: 40; padding: 0 16px 16px; border-radius: 14px 14px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.2); transform: translateY(105%); transition: transform .3s var(--ease); }
  body.filters-open .filters { transform: none; }
  .filters-h { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--paper); padding: 14px 0; border-bottom: 1px solid var(--line); z-index: 1; }
  .filters-apply { position: sticky; bottom: 0; background: var(--paper); padding-top: 12px; }
}
@media (min-width: 900px) { .filters-apply { display: none; } }

/* Pedido rápido y matriz talla × color */
.quick { display: grid; gap: 18px; }
.quick-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); padding: 14px; }
.quick-item header { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 10px; }
.quick-item header .price { margin-left: auto; }
.matrix-wrap { overflow-x: auto; }
.matrix { border-collapse: collapse; width: 100%; font-size: .88rem; }
.matrix th, .matrix td { padding: 6px 4px; text-align: center; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix thead th { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); font-weight: 500; }
.matrix tbody th { text-align: left; white-space: nowrap; font-weight: 600; padding-right: 10px; }
.matrix tbody th .sw { vertical-align: -2px; margin-right: 6px; }
.matrix input { width: 52px; height: 38px; text-align: center; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); font-variant-numeric: tabular-nums; }
.matrix input:not(:placeholder-shown) { border-color: var(--b2b); background: var(--b2b-soft); font-weight: 700; }
.matrix small { display: block; font-size: .66rem; margin-top: 2px; }
.matrix .low { color: var(--warn); }
.matrix .out { color: var(--muted); display: inline-block; padding-top: 10px; }
.matrix .rt { font-weight: 800; font-variant-numeric: tabular-nums; padding-top: 14px; }
.curve { display: flex; gap: 8px; align-items: center; margin-top: 10px; flex-wrap: wrap; }

/* Medidor de nivel */
.meter { display: grid; gap: 8px; padding: 12px 14px; background: var(--b2b-soft); border-radius: var(--radius); }
.meter p { margin: 0; font-size: .9rem; }
.meter.compact { border-radius: 0; }
.track { position: relative; height: 8px; background: var(--b2b-track); border-radius: 4px; overflow: hidden; }
.track span { position: absolute; inset: 0 auto 0 0; background: var(--b2b); border-radius: 4px; transition: width .5s var(--ease); }
.track i { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--card); }

/* PDP */
.crumbs { padding-block: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.gallery { position: sticky; top: 120px; display: grid; gap: 10px; }
.g-stage { background: var(--paper-2); border-radius: var(--radius); aspect-ratio: 4 / 4.6; display: grid; place-items: center; }
.g-stage .garment { width: 58%; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: .3; transform: translateY(6px); } }
.g-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.g-thumbs button { flex: 0 0 72px; aspect-ratio: 1; background: var(--paper-2); border: 1px solid transparent; border-radius: 4px; padding: 8px; }
.g-thumbs button:hover { border-color: var(--ink); }
.buy { display: grid; gap: 16px; }
.buy h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; font-variation-settings: 'wdth' 75; text-transform: uppercase; }
.pdp-price { font-size: 1.8rem; font-weight: 800; margin: 0; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 8px; }
.label { font-size: .9rem; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 52px; height: 48px; border: 1px solid var(--line); background: var(--card); border-radius: 4px; font-weight: 600; display: grid; place-items: center; line-height: 1; padding: 0 8px; }
.size small { font-size: .6rem; color: var(--warn); font-weight: 500; }
.size.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.size:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.sizes.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 1.2rem; }
.qty output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty.sm button { width: 30px; height: 30px; font-size: 1rem; }
.qty.sm output { min-width: 22px; font-size: .85rem; }
.tiers { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .92rem; }
.tiers th { text-align: left; font-family: var(--f-mono); font-size: .7rem; font-weight: 500; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; border-bottom: 1px solid var(--ink); }
.tiers td { padding: 9px 8px; border-bottom: 1px solid var(--line); }
.tiers tr.on td { background: var(--b2b); color: #fff; }
.pdp-sum { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.assure { list-style: none; padding: 14px 0; margin: 0; display: grid; gap: 8px; border-block: 1px solid var(--line); color: var(--ink-2); }
.wrap-inner { padding-top: 56px; display: grid; gap: 20px; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .gallery { position: static; }
  .g-stage { aspect-ratio: 4 / 3.4; }
  .g-stage .garment { width: 40%; }
}

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(23,25,28,.45); z-index: 50; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); z-index: 51; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow); visibility: hidden; }
.drawer.open { transform: none; visibility: visible; }
.drawer-h { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; padding-top: calc(12px + env(safe-area-inset-top, 0px)); border-bottom: 1px solid var(--line); }
.drawer-h h2 { font-size: 1.3rem; }
.drawer-items { flex: 1; overflow: auto; padding: 0 16px; }
.drawer-f { border-top: 1px solid var(--line); padding: 14px 16px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-img { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 4px; padding: 6px; }
.line-body { display: grid; gap: 4px; min-width: 0; }
.line-top { display: flex; justify-content: space-between; gap: 8px; }
.line-top a { text-decoration: none; font-weight: 600; }
.line-vars { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: .84rem; }
.line-vars li { display: flex; align-items: center; gap: 6px; }
.line-vars .sw { width: 12px; height: 12px; }
.line-vars .qty { margin-left: auto; }
.totals { margin: 0; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; font-size: .92rem; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; }
.totals .strike { text-decoration: line-through; color: var(--muted); }
.totals .save dd { color: var(--ok); font-weight: 700; }
.totals .grand { font-size: 1.15rem; font-weight: 800; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .grand dt { color: var(--ink); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: 12px 16px; border-radius: var(--radius); z-index: 60; font-size: .9rem; max-width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; }
.toast.show { animation: toastIn .3s var(--ease); }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Página mayoristas */
.b2b-hero { padding-block: 40px 24px; display: grid; gap: 18px; max-width: 880px; }
.conditions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.conditions > div { padding: 18px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.conditions > div:nth-child(3n+1) { border-left: 0; }
.conditions > div:nth-child(-n+3) { border-top: 0; }
.conditions h3 { font-size: .98rem; margin-bottom: 4px; }
.conditions p { margin: 0; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 760px) { .conditions { grid-template-columns: 1fr; } .conditions > div { border-left: 0 !important; border-top: 1px solid var(--line) !important; } .conditions > div:first-child { border-top: 0 !important; } }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.lead-form .full { grid-column: 1 / -1; }
.lead-form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.lead-form input, .lead-form select, .co input, .co select { height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 12px; background: var(--paper); font-weight: 400; width: 100%; }
.lead-form .opts { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 400; }
.ok-box { background: var(--b2b-soft); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; }
@media (max-width: 640px) { .lead-form { grid-template-columns: 1fr; } }

/* Checkout */
.co-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; padding-top: 24px; }
.co { display: grid; gap: 20px; }
.co fieldset { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.co fieldset legend { float: none; padding: 0 6px; margin: 0; width: auto; }
.co label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.co .full { grid-column: 1 / -1; }
.pay { display: grid; gap: 8px; grid-column: 1 / -1; }
.pay label { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; font-weight: 600; cursor: pointer; background: var(--paper); }
.pay label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pay input { width: 18px; height: 18px; accent-color: var(--ink); }
.pay small { font-weight: 400; color: var(--muted); margin-left: auto; }
.co-side { position: sticky; top: 120px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 14px; }
.co-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .9rem; }
.co-lines li { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: start; }
.co-lines .sw { width: 12px; height: 12px; margin-top: 5px; }
@media (max-width: 860px) { .co-layout { grid-template-columns: 1fr; } .co-side { position: static; order: -1; } .co fieldset { grid-template-columns: 1fr; } }

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

/* Ficha: dos precios lado a lado que también funcionan como pestañas */
.buy-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bm { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, box-shadow .2s, background .2s; }
.bm:hover { border-color: var(--ink); }
.bm-l { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bm-p { font-size: 1.6rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; }
.bm-s { font-size: .8rem; color: var(--ink-2); }
.bm.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bm.b2b .bm-p { color: var(--b2b); }
.bm.b2b.on { border-color: var(--b2b); box-shadow: inset 0 0 0 1px var(--b2b); background: var(--b2b-soft); }
.card-price small { font-weight: 500; font-size: .74rem; }
.card-price .price.b2b { font-size: .95rem; }

/* Tallas agrupadas (dama / caballero / pantalón) y equipos */
.size-group { margin: 10px 0 6px; font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.size-group:first-of-type { margin-top: 0; }
.chk .sw { width: 14px; height: 14px; }
.mega li a span { display: inline-flex; align-items: center; gap: 8px; }
.mega li .sw { width: 14px; height: 14px; }

/* =====================================================================
   Estilo editorial (inspirado en tiendas de moda colombianas):
   fondo blanco, tipografía geométrica gruesa en mayúsculas, bordes rectos,
   imágenes a todo el ancho y encabezado transparente sobre la portada.
   ===================================================================== */
:root {
  --paper: #FFFFFF;
  --paper-2: #F1F1EF;
  --card: #FFFFFF;
  --line: #E4E4E1;
  --radius: 0px;
  --f-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}
body { font-size: 15px; letter-spacing: .005em; }
code { font-family: 'IBM Plex Mono', ui-monospace, Consolas, monospace; }
.h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.01em; }
.h2, h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); font-weight: 900; letter-spacing: -.005em; }
.eyebrow, .mega-h, legend, .tag, .bm-l, .foot h4, .calc-out dt, .tiers th, .matrix thead th { font-weight: 700; letter-spacing: .12em; }
.btn { text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: transparent; color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn.outline-light:hover { background: #fff; color: var(--ink); }
.see-all { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; text-underline-offset: 4px; }

/* Encabezado: menú a la izquierda, marca al centro, búsqueda y pedido a la derecha */
.bar { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; height: 68px; }
.nav { justify-self: start; margin: 0; gap: 20px; }
.nav .nav-top { text-transform: uppercase; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
@media (max-width: 1280px) { .nav { gap: 14px; } .nav .nav-top { font-size: .7rem; letter-spacing: .02em; } .bar-actions .search { width: 170px; flex-basis: 170px; } .logo { font-size: 1.15rem; } }
.nav .nav-top:hover, .nav-item.open .nav-top,
.nav .nav-top.nav-b2b:hover, .nav-item.open .nav-top.nav-b2b { box-shadow: inset 0 -2px 0 currentColor; }
.logo { justify-self: center; font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .08em; font-variation-settings: normal; }
.bar-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.bar-actions .search { margin: 0; flex: 0 1 220px; width: 220px; }
.search input { border-radius: 0; font-size: .85rem; }
#site-header { transition: background .3s, color .3s, border-color .3s; }
@media (max-width: 1023px) {
  .bar { grid-template-columns: 44px 1fr 44px; grid-template-areas: "menu logo cart" "search search search"; height: auto; padding-block: 6px 10px; row-gap: 6px; }
  #menu-btn { grid-area: menu; }
  .bar .logo { grid-area: logo; margin: 0; }
  .bar-actions { display: contents; }
  .bar-actions .search { grid-area: search; width: 100%; flex: none; }
  .cart-btn { grid-area: cart; justify-self: end; }
}

/* Home: encabezado transparente sobre la portada hasta que se baja */
body.home #site-header { position: fixed; left: 0; right: 0; }
body.home:not(.menu-open) #site-header:not(.solid):not(:has(.nav-item.open)) { background: transparent; border-bottom-color: transparent; color: #fff; }
body.home:not(.menu-open) #site-header:not(.solid):not(:has(.nav-item.open)) .announce { background: rgba(0, 0, 0, .22); }
body.home:not(.menu-open) #site-header:not(.solid):not(:has(.nav-item.open)) .nav-b2b { color: #fff; }
body.home:not(.menu-open) #site-header:not(.solid):not(:has(.nav-item.open)) .search input { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .55); color: #fff; }
body.home:not(.menu-open) #site-header:not(.solid):not(:has(.nav-item.open)) .search input::placeholder { color: rgba(255, 255, 255, .8); }
body.home:not(.menu-open) #site-header:not(.solid):not(:has(.nav-item.open)) .icon-btn:hover { background: rgba(255, 255, 255, .15); }

/* Portada a todo el ancho: titular gigante y prendas flotando */
.hero-full { position: relative; min-height: min(100vh, 880px); background: var(--hero-bg); color: #fff; overflow: hidden; display: flex; align-items: flex-end; padding-block: 140px 56px; }
.hero-word { position: absolute; left: 0; right: 0; top: 16%; margin: 0; display: grid; justify-items: center; font-weight: 900; font-size: clamp(56px, 10.5vw, 190px); white-space: nowrap; line-height: .84; letter-spacing: -.03em; color: var(--hero-word); pointer-events: none; user-select: none; }
.hero-float { position: absolute; inset: 0; pointer-events: none; }
.fl { position: absolute; width: clamp(120px, 17vw, 270px); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .3)); transform: rotate(var(--r, 0deg)); animation: floaty 7s ease-in-out infinite; }
.fl-1 { left: 6%;  top: 20%; --r: -9deg; }
.fl-2 { left: 29%; top: 36%; --r: 7deg;  animation-delay: -2s; }
.fl-3 { right: 29%; top: 16%; --r: -4deg; animation-delay: -4s; }
.fl-4 { right: 7%;  top: 34%; --r: 10deg; animation-delay: -1s; }
.fl-5 { left: 47%; top: 50%; --r: -6deg; width: clamp(90px, 11vw, 170px); animation-delay: -3s; }
@keyframes floaty { 50% { transform: rotate(var(--r, 0deg)) translateY(-14px); } }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 14px; justify-items: start; }
.hero-copy h1 { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 800; text-transform: uppercase; max-width: 24em; }
.hero-copy p { margin: 0; max-width: 40em; opacity: .92; }
@media (max-width: 760px) {
  .hero-full { min-height: 680px; padding-top: 150px; }
  .hero-word { top: 21%; font-size: 17vw; white-space: normal; text-align: center; }
  .fl { width: 30vw; }
  .fl-1 { left: 2%; top: 22%; } .fl-2 { left: 30%; top: 36%; } .fl-3 { right: 4%; top: 20%; } .fl-4, .fl-5 { display: none; }
}

/* Franja de condiciones por mayor */
.facts-band { background: var(--ink); color: #fff; }
.facts-band .facts { border: 0; }
.facts-band .fact { border-left-color: rgba(255, 255, 255, .16); padding-block: 16px; }
.facts-band .fact:nth-child(n+3) { border-top-color: rgba(255, 255, 255, .16); }
.facts-band .fact b { font-family: var(--f-display); font-size: 1.05rem; font-weight: 800; text-transform: uppercase; font-variation-settings: normal; }
.facts-band .fact span { color: rgba(255, 255, 255, .7); font-size: .8rem; }

/* Tarjetas de producto: foto grande, nombre en mayúsculas */
.card-img { aspect-ratio: 3 / 4; background: var(--paper-2); }
.card-name { text-transform: uppercase; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.tag { font-weight: 700; }

/* Banners de colección a todo el ancho */
.collection { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 560px; color: #fff; margin-top: 56px; }
.collection + .collection { margin-top: 0; }
.collection.reverse .collection-art { order: 2; }
.collection-art { display: grid; place-items: center; background: rgba(0, 0, 0, .14); overflow: hidden; }
.collection-art .garment { width: min(42%, 340px); filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .3)); transition: transform .6s var(--ease); }
.collection:hover .collection-art .garment { transform: translateY(-8px) rotate(-3deg); }
.collection-copy { padding: 48px clamp(24px, 6vw, 96px); display: grid; align-content: center; gap: 24px; justify-items: start; }
.collection-copy h2 { font-size: clamp(2.6rem, 6vw, 5rem); letter-spacing: -.02em; }
.collection-copy ul { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 30em; }
.collection-copy li { padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .3); text-transform: uppercase; font-weight: 700; font-size: .86rem; letter-spacing: .04em; }
.collection-copy li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .3); }
@media (max-width: 800px) {
  .collection { grid-template-columns: 1fr; min-height: 0; }
  .collection.reverse .collection-art { order: 0; }
  .collection-art { aspect-ratio: 4 / 3; }
  .collection-art .garment { width: 36%; }
}

/* Pie de página oscuro */
#site-footer { background: var(--ink); color: #fff; border-top: 0; }
#site-footer .muted, #site-footer .foot a:not(.logo) { color: rgba(255, 255, 255, .7); }
#site-footer .foot a:hover { color: #fff; }
#site-footer .logo { color: #fff; }

@media (prefers-reduced-motion: reduce) { .fl { animation: none; } }

/* Niveles de precio por mayor: 4 columnas con un ejemplo real */
.tiers-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.ts { display: grid; gap: 6px; align-content: start; padding: 26px 22px 28px; border-left: 1px solid var(--line); }
.ts:first-child { border-left: 0; padding-left: 0; }
.ts p { margin: 0; }
.ts-name { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.ts-qty { font-size: .9rem; font-weight: 600; text-transform: uppercase; }
.ts-qty b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.ts-off { font-size: 1.5rem; font-weight: 900; color: var(--b2b); }
.ts.detal .ts-off { font-size: 1rem; font-weight: 700; color: var(--ink-2); padding-block: 6px; }
.ts-ex { font-size: .82rem; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px !important; font-variant-numeric: tabular-nums; }
.ts-ex s { color: var(--muted); }
.ts-ex b { color: var(--ink); font-size: .95rem; }
.ts-extra { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tiers-cta { margin-top: 24px; }
@media (max-width: 800px) {
  .tiers-strip { grid-template-columns: 1fr 1fr; }
  .ts { padding: 20px 14px; }
  .ts:nth-child(3) { border-left: 0; padding-left: 0; }
  .ts:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Banners de sección: fondos claros y botón rojo de compra en los dos.
   HEX aproximados; validar con guía física Pantone. */

/* Mujer: rosa claro, tinte de Rosy Future 15-1910 TCX */
.c-mujer { background: #F9DCE2; color: var(--ink); }
.c-mujer .collection-art { background: #FCEBEF; }
.c-mujer .collection-copy li { border-color: rgba(28, 28, 30, .14) !important; }

/* Hombre: plateado claro, Glacier Gray 14-4102 TCX con brillo metálico */
.c-hombre { background: linear-gradient(115deg, #E4E6E9 0%, #F3F4F5 45%, #DDE0E3 100%); color: var(--ink); }
.c-hombre .collection-art { background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #E9EBED 55%, #D3D6DA 100%); }
.c-hombre .collection-copy li { border-color: rgba(28, 28, 30, .14) !important; }

/* =====================================================================
   Paleta de la marca (HEX aproximados de Pantone; validar con guía física)
   - Protagonista: rojo Hibiscus 18-1762 TCX. Portada, precio por mayor,
     botones de compra, etiquetas "Nuevo" y estados activos.
   - Base: blanco, negro Jet Black 19-0303 TCX y gris claro para fotos.
   - Secciones: Mujer en rosa Rosy Future 15-1910 TCX (familia del rojo);
     Hombre en negro con plateado Pantone 877 C.
   - Excepción: verde de WhatsApp, para que se reconozca el botón.
   ===================================================================== */
:root {
  --brand: #DD3848;       /* Hibiscus: superficies grandes (portada) */
  --b2b: #C42A3F;         /* Hibiscus oscurecido: texto y botones (5,6:1 sobre blanco) */
  --b2b-ink: #A51F33;
  --b2b-soft: #FCE8EB;
  --b2b-track: rgba(196, 42, 63, .18);
  --ink: #1C1C1E;         /* Jet Black */
  --hero-bg: var(--brand);
  --hero-word: #FFFFFF;
}
.tag:not(.dark) { background: var(--b2b); color: #fff; }
.hero-full .hero-word { text-shadow: 0 6px 30px rgba(0, 0, 0, .12); }

/* En tablet y celular el encabezado es más alto (lleva la búsqueda): bajar el titular */
@media (max-width: 1023px) { .hero-full .hero-word { top: 178px; } .fl-1, .fl-3 { top: 200px; } }

/* El rojo se reserva para precios por mayor y acciones de compra; las filas activas van en negro */
.tiers tr.on td { background: var(--ink); color: #fff; }

/* Banners Mujer y Hombre lado a lado y más bajos, para acortar la página */
.collections { display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px; }
.collections .collection { position: relative; display: block; min-height: 360px; margin: 0; overflow: hidden; }
.collections .collection-art { position: absolute; inset: 0; display: grid; place-items: center end; padding-right: 10%; aspect-ratio: auto; }
.collections .collection-art .garment { width: min(38%, 230px); }
.collections .collection-copy { position: relative; z-index: 1; min-height: 360px; padding: 32px clamp(20px, 4vw, 48px); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px; }
.collections .collection-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
@media (max-width: 800px) {
  .collections { grid-template-columns: 1fr; }
  .collections .collection, .collections .collection-copy { min-height: 240px; }
  .collections .collection-art .garment { width: min(34%, 150px); }
}

/* Compra por mayor paso a paso (ficha de producto y "Pedido por mayor") */
.wp { display: grid; gap: 14px; }
.wp-step { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; font-weight: 700; font-size: .95rem; }
.wp-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 800; flex: none; }
.wp-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-color { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: .88rem; }
.wp-color:hover { border-color: var(--ink); }
.wp-color.on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.wp-color .sw { width: 18px; height: 18px; }
.wp-badge { position: absolute; top: -9px; right: -9px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--b2b); color: #fff; font-size: .72rem; display: grid; place-items: center; }
.wp-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.wp-size { display: grid; justify-items: center; gap: 6px; padding: 12px 8px 8px; border: 1.5px solid var(--line); background: var(--card); }
.wp-size.has { border-color: var(--b2b); background: var(--b2b-soft); }
.wp-size.out { opacity: .5; }
.wp-s { font-weight: 800; font-size: 1.05rem; }
.wp-size small { font-size: .7rem; color: var(--warn); min-height: 1em; }
.wp-size.out small { color: var(--muted); }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); background: #fff; }
.stepper button { width: 36px; height: 38px; border: 0; background: none; font-size: 1.2rem; line-height: 1; }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper button:not(:disabled):hover { background: var(--paper-2); }
.stepper input { width: 40px; border: 0; border-inline: 1px solid var(--line); text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wp-curve { justify-self: start; font-size: .88rem; }
.wp-summary { display: grid; gap: 6px; }
.wp-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.wp-line .sw { width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; }
.wp-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1rem; font-variant-numeric: tabular-nums; }
.wp-total b { font-size: 1.3rem; }

/* Barra de progreso con las metas escritas debajo */
.track-labels { position: relative; height: 16px; font-size: .68rem; font-weight: 700; color: var(--muted); }
.track-labels span { position: absolute; top: 2px; transform: translateX(-50%); white-space: nowrap; }
.track-labels span:last-child { transform: translateX(-100%); }
.track-labels span.ok { color: var(--b2b); }
.meter { padding-bottom: 10px; }

/* Lista "Pedido por mayor": cada prenda se abre para elegir tallas */
.quick-item { padding: 0; }
.quick-row { display: grid; grid-template-columns: 56px 1fr auto auto auto; align-items: center; gap: 16px; width: 100%; padding: 10px 14px; border: 0; background: none; text-align: left; }
.quick-img { display: grid; place-items: center; width: 56px; aspect-ratio: 1; background: var(--paper-2); padding: 6px; }
.quick-name { display: grid; gap: 2px; }
.quick-price { display: grid; justify-items: end; }
.quick-in { font-size: .8rem; font-weight: 700; color: var(--b2b); }
.quick-body { padding: 4px 14px 18px; border-top: 1px solid var(--line); }
@media (max-width: 640px) {
  .quick-row { grid-template-columns: 48px 1fr auto; gap: 10px; }
  .quick-in { grid-column: 2 / 3; }
  .quick-row .btn { grid-column: 3; grid-row: 1 / 3; }
}

/* Avisos de la regla "mínimo 4 piezas por prenda" */
.wp-rule { margin: 0; padding: 10px 12px; background: var(--paper-2); font-size: .86rem; }
.wp-rule.ok { background: #EAF4EE; color: var(--ok); font-weight: 600; }
.line-rule { margin: 2px 0 0; font-size: .78rem; color: var(--b2b); font-weight: 600; }

/* Aviso de guardado automático del pedido */
.wp-saved { margin: 0; min-height: 1.2em; font-size: .82rem; font-weight: 600; color: var(--ok); }
.wp-view:disabled { opacity: .45; cursor: default; transform: none; }
