/* Cosmética de Corea Profesional · sistema visual (guía de marca B2B, 26-11-2026)
   Tipografía única Poppins (autoalojada): Bold en títulos y claims, Medium en subtítulos, Regular en texto.
   Paleta: blanco, beige #F5EFE8, beige oscuro #E2D6C9 y negro; apoyo rosa KOCOSTAR, azul, verde, turquesa y amarillo KOMGO. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-400.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-500.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700.woff2) format("woff2"); }

:root {
  /* principal */
  --white: #FFFFFF; --beige: #F5EFE8; --beige-2: #E2D6C9; --black: #000000;
  /* apoyo: universo de marcas */
  --k-rosa: #FFDDD3; --k-azul: #ECF6FD; --k-verde: #CDD5CD; --g-turquesa: #1FC8C6; --g-amarillo: #FFF176;
  /* nombres heredados, ya con la paleta nueva */
  --ivory: #F5EFE8; --cream: #E2D6C9; --peach: #FFDDD3; --rose: #FFDDD3; --coral: #E0685A; --coral-ink: #B8483B;
  --ink: #000000; --ink-2: #2E2A27; --mute: #6F6761; --line: rgba(0, 0, 0, .14); --line-2: rgba(0, 0, 0, .08);
  --navy: #000000; --navy-deep: #2E2A27; --k-cream: #F5EFE8; --teal: #1FC8C6; --teal-dark: #0B7F7E; --yuja: #FFF176;
  --omija: #E0685A; --omija-soft: #FFDDD3; --bok: #A99BD6; --bok-soft: #ECF6FD; --leaf: #12A57F;
  /* estados */
  --ok: #2E7D5B; --ok-bg: #E3F1EA; --warn: #8A4F05; --warn-bg: #FFF4C2; --bad: #B3261E; --bad-bg: #F9E1DE; --info: #1F4E79; --info-bg: #ECF6FD;
  --serif: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display-k: "Poppins", system-ui, sans-serif;
  --sans-k: "Poppins", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 14px 34px -16px rgba(0, 0, 0, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: 12px; transform: translateY(-300%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { transform: none; }
[hidden] { display: none !important; }

/* ---------- tipografía ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--plain::before { display: none; }
.display { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 7.4vw, 112px); line-height: .98; letter-spacing: -.01em; margin: 0; }
.display em, .h2 em, .h3 em { font-style: normal; color: var(--coral); }
.h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; margin: 0; letter-spacing: -.005em; }
.h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; margin: 0; }
.lead { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); max-width: 56ch; margin: 0; }
.muted { color: var(--mute); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; letter-spacing: .02em; }
.caps { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }
.center { text-align: center; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--ink-2); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--cream); }
.btn--coral { background: var(--coral); border-color: var(--coral); }
.btn--coral:hover { background: var(--coral-ink); }
.btn--danger { background: transparent; color: var(--bad); border-color: var(--bad); }
.btn--danger:hover { background: var(--bad); color: #fff; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 11px; letter-spacing: .12em; }
.btn--xs { min-height: 30px; padding: 0 12px; font-size: 10.5px; letter-spacing: .1em; }
.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.35; padding-block: 10px; }
.btn[disabled], .btn.is-busy { opacity: .45; pointer-events: none; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; font-size: inherit; }
.arrow::after { content: "→"; font-family: var(--sans); letter-spacing: 0; }

/* ---------- cabecera pública ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(245, 239, 232, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-2); }
.top__in { display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; gap: 5px; flex: none; }
.wordmark b { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .16em; white-space: nowrap; }
.wordmark span { font-size: 9.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.wordmark span i { font-style: normal; color: var(--coral); }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { text-decoration: none; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }
.top__cta { display: flex; gap: 10px; align-items: center; }
.top__cta .btn { flex: none; }
.top__cta .btn--ghost[aria-current="page"] { background: var(--ink); color: #fff; }
.top__cta .l-corto, .nav .nav__alta { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; flex: none; }
.burger span { display: block; width: 16px; height: 1px; background: var(--ink); margin: 4px auto; }
/* La cabecera se va compactando antes de pasar al menú; «Iniciar sesión» se ve siempre. */
@media (max-width: 1520px) {
  .top__in { gap: 18px; }
  .nav { gap: 18px; }
  .nav a { letter-spacing: .13em; }
  .top .wordmark span { letter-spacing: .22em; }
  .top__cta { gap: 8px; }
  .top__cta .btn { padding: 0 14px; letter-spacing: .1em; }
}
@media (max-width: 1380px) {
  .nav a[href="/"] { display: none; }
  .top__alta .l-largo { display: none; }
  .top__alta .l-corto { display: inline; }
}
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--ivory); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s var(--ease); z-index: -1; max-height: calc(100dvh - 72px); overflow-y: auto; }
  .nav.is-open { transform: none; }
  .nav a, .nav a[href="/"] { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; letter-spacing: .18em; }
  .burger { display: block; }
  .top__cta { margin-left: auto; }
  .top__cta .btn { min-height: 40px; padding: 0 14px; font-size: 10.5px; letter-spacing: .1em; }
  .top__area .l-largo { display: none; }
  .top__area .l-corto { display: inline; }
}
@media (max-width: 560px) {
  .top__in { gap: 10px; }
  .top .wordmark b { font-size: 15px; letter-spacing: .1em; }
  .top .wordmark span { font-size: 8.5px; letter-spacing: .14em; }
  .top__cta .top__alta { display: none; }
  .nav .nav__alta { display: block; font-weight: 700; color: var(--coral-ink); }
}
@media (max-width: 400px) {
  .top .wordmark b { font-size: 13px; letter-spacing: .06em; }
  .top .wordmark span { font-size: 7.5px; letter-spacing: .08em; }
  .top__login .l-largo { display: none; }
  .top__login .l-corto { display: inline; }
}
@media (max-width: 340px) { .top .wordmark span { display: none; } }

.proto { background: var(--ink); color: #fff; font-size: 12.5px; text-align: center; padding: 8px var(--gutter); line-height: 1.45; }
.proto b { color: var(--rose); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; margin-right: 8px; }
.proto__corto { display: none; }
@media (max-width: 640px) { .proto__largo { display: none; } .proto__corto { display: inline; } }

/* ---------- secciones públicas ---------- */
.wrap { padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }
.section--cream { background: var(--cream); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); max-width: 860px; }
.section__head--split { max-width: none; grid-template-columns: 1fr minmax(0, 420px); align-items: end; gap: 32px; }
@media (max-width: 860px) { .section__head--split { grid-template-columns: 1fr; } }

.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; background:
  radial-gradient(42% 46% at 72% 40%, rgba(232, 180, 168, .55), transparent 70%),
  radial-gradient(36% 40% at 22% 70%, rgba(235, 210, 192, .7), transparent 70%),
  radial-gradient(30% 30% at 90% 85%, rgba(78, 195, 194, .16), transparent 70%); z-index: -1; filter: blur(8px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy { display: grid; gap: 28px; justify-items: start; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note { font-size: 13px; color: var(--mute); max-width: 52ch; margin: 0; }
.hero__art { position: relative; aspect-ratio: 4 / 5; width: 100%; }
.arch { position: absolute; border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__art .arch--a { inset: 0 22% 8% 0; background: var(--peach); }
.hero__art .arch--b { width: 44%; aspect-ratio: 3 / 4; right: 0; bottom: 0; background: var(--teal); border-radius: 28px; }
.hero__art .arch--b img { object-fit: contain; padding: 8%; }
.seal { position: absolute; top: 3%; right: 1%; width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: rgba(255, 255, 255, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid var(--line-2); text-align: center; font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase; line-height: 1.7; font-weight: 600; }
.seal i { font-style: normal; font-family: var(--serif); text-transform: none; letter-spacing: 0; color: var(--coral); font-size: 22px; display: block; line-height: 1.1; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 420px; margin: 0 auto; }
  .seal { width: 104px; height: 104px; font-size: 8.5px; }
}
/* Portátiles con poca altura: la portada entera cabe en la primera pantalla. */
@media (min-width: 861px) and (max-height: 860px) {
  .hero { padding-top: clamp(24px, 4vh, 56px); }
  .display { font-size: clamp(44px, min(7.4vw, 11.5vh), 112px); }
  .hero__copy { gap: 22px; }
  .hero__art { width: min(100%, calc((100svh - 190px) * .8)); justify-self: end; }
  .k-title { font-size: clamp(72px, min(15vw, 24vh), 210px); }
}

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 42s linear infinite; font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); font-weight: 300; white-space: nowrap; }
.marquee__track span:nth-child(4n+3) { font-style: normal; color: var(--coral); }
.marquee__track span.dot { font-size: .5em; align-self: center; opacity: .5; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } html { scroll-behavior: auto; } }

/* Marcas */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
@media (max-width: 860px) { .brands { grid-template-columns: 1fr; } }
.brands__nota { margin: clamp(16px, 2vw, 24px) 0 0; color: var(--ink-2); max-width: 62ch; }
.brandcard { position: relative; border-radius: 28px; overflow: hidden; min-height: 580px; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; text-decoration: none; isolation: isolate; transition: transform .5s var(--ease); }
.brandcard:hover { transform: translateY(-4px); }
.brandcard--koco { background: linear-gradient(160deg, #F3E1D6 0%, #EBC8BC 60%, #E8B4A8 100%); }
.brandcard--komgo { background: var(--teal); color: var(--navy); font-family: var(--sans-k); }
.brandcard__logo { height: 20px; width: auto; align-self: flex-start; }
.brandcard--komgo .brandcard__logo { height: 56px; }
.brandcard__tag { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; }
.brandcard h3 { margin: 0; max-width: 12ch; }
.brandcard--koco h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(38px, 3.8vw, 56px); line-height: 1.02; }
.brandcard--koco h3 em { color: var(--coral); }
.brandcard--komgo h3 { font-family: var(--display-k); font-weight: 700; font-size: clamp(56px, 6vw, 92px); line-height: .9; letter-spacing: .01em; }
.brandcard p { max-width: 30ch; margin: 0; }
.brandcard--koco p { color: var(--ink-2); }
.brandcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; max-width: 30ch; }
.brandcard ul li::before { content: "— "; opacity: .5; }
.brandcard__cta { margin-top: auto; align-self: flex-start; }
.brandcard--komgo .btn { background: var(--navy); border-color: var(--navy); font-family: var(--sans-k); letter-spacing: .02em; text-transform: none; font-size: 15px; font-weight: 600; }
/* Abanico de envases dentro de cada tarjeta de marca */
.fan { position: absolute; right: 5%; bottom: 6%; width: 48%; height: 48%; z-index: -1; pointer-events: none; }
.fan img { position: absolute; bottom: 0; width: 50%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .18)); transition: transform .7s var(--ease); }
.fan img:nth-child(1) { left: 0; transform: rotate(-11deg) translateY(4%); }
.fan img:nth-child(2) { left: 25%; transform: rotate(-1deg) translateY(-8%); z-index: 1; }
.fan img:nth-child(3) { left: 50%; transform: rotate(10deg) translateY(2%); z-index: 2; }
.brandcard:hover .fan img:nth-child(1) { transform: rotate(-15deg) translate(-5%, 2%); }
.brandcard:hover .fan img:nth-child(3) { transform: rotate(14deg) translate(5%, 0); }
.fan--komgo img { width: 58%; }
.fan--komgo img:nth-child(2) { left: 21%; }
.fan--komgo img:nth-child(3) { left: 42%; }
@media (max-width: 560px) {
  .brandcard { min-height: 640px; }
  .fan { width: 74%; height: 34%; right: 6%; bottom: 4%; }
}

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); list-style: none; margin: 0; padding: 0; }
.step { padding: 28px 24px 8px 0; border-right: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 24px; }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--serif); font-size: 64px; font-weight: 300; line-height: 1; color: var(--coral); font-style: normal; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 0; line-height: 1.15; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(2) { border-right: 0; } .step:nth-child(3) { padding-left: 0; } .step { border-bottom: 1px solid var(--line); padding-bottom: 28px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { border-right: 0; padding-left: 0; } }

/* Tarjeta de producto: arco KOCOSTAR y redondeada KOMGO */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
@media (max-width: 760px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard { display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-width: 0; }
.pcard__media { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; background: var(--tint, var(--peach)); overflow: hidden; transition: transform .45s var(--ease); }
.pcard:hover .pcard__media { transform: translateY(-3px); }
.pcard__media img { position: absolute; top: 18%; left: 14%; width: 72%; height: 74%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .14)); }
.pcard__body { display: grid; gap: 4px; text-align: center; }
.pcard__cat { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.pcard__name { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.15; }
.pcard__meta { font-size: 12.5px; color: var(--mute); }
.pcard--komgo .pcard__media { border-radius: 28px; }
.pcard--komgo .pcard__media img { top: 10%; left: 10%; width: 80%; height: 80%; }
.pcard--komgo .pcard__name { font-family: var(--display-k); font-size: 26px; letter-spacing: .02em; color: var(--navy); line-height: 1; }
.pcard--komgo .pcard__cat { color: var(--teal-dark); }
.pcard__lock { font-size: 11.5px; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; justify-content: center; }

/* Selecciones de entrada */
.sels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.sel { background: #fff; border-radius: 24px; padding: clamp(20px, 2.4vw, 30px); display: grid; gap: 16px; box-shadow: 0 1px 0 var(--line-2); align-content: start; text-decoration: none; }
.sel--komgo { background: var(--k-cream); font-family: var(--sans-k); color: var(--navy); }
.sel__title { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0; line-height: 1.1; }
.sel--komgo .sel__title { font-family: var(--display-k); font-weight: 700; font-size: 36px; line-height: 1; letter-spacing: .02em; }
.sel__desc { margin: 0; color: var(--ink-2); font-size: 14px; }
.sel--komgo .sel__desc { color: var(--navy); opacity: .85; }
.sel__items { display: grid; gap: 10px; }
.sel__item { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.sel__thumb { position: relative; flex: none; width: 52px; height: 66px; border-radius: 999px 999px 10px 10px; background: var(--tint, var(--peach)); overflow: hidden; }
.sel--komgo .sel__thumb { border-radius: 14px; }
.sel__thumb img { position: absolute; top: 20%; left: 14%; width: 72%; height: 72%; object-fit: contain; }
.sel--komgo .sel__thumb img { top: 10%; left: 10%; width: 80%; height: 80%; }
.sel__qty { font-size: 12px; color: var(--mute); white-space: nowrap; }

/* Demostraciones */
.demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.demo--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .demo--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .demo { grid-template-columns: 1fr; } .demo--4 { grid-template-columns: repeat(2, 1fr); } }
.demo figure { margin: 0; display: grid; gap: 12px; align-content: start; }
.demo__img { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--cream); }
.demo__img img { width: 100%; height: 100%; object-fit: cover; }
.demo__img--contain img { object-fit: contain; padding: 8%; }
.demo figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.demo figcaption b { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.demo--komgo .demo__img { border-radius: 28px; }
.demo--komgo figcaption { color: var(--navy); }
.demo--komgo figcaption b { font-family: var(--display-k); font-weight: 700; font-size: 28px; color: var(--navy); letter-spacing: .02em; }

/* Ventajas operativas */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.perk { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.perk:nth-child(3n+2), .perk:nth-child(3n) { padding-left: 26px; border-left: 1px solid var(--line); }
.perk__icon { font-family: var(--serif); color: var(--coral); font-size: 28px; line-height: 1; font-style: normal; }
.perk h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; }
.perk p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 860px) { .perks { grid-template-columns: 1fr; } .perk, .perk:nth-child(3n+2), .perk:nth-child(3n) { padding-left: 0; border-left: 0; } }

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); position: relative; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-weight: 300; font-size: 26px; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-2); max-width: 70ch; }

/* Banda de llamada a la acción */
.band { background: var(--ink); color: var(--ivory); border-radius: clamp(24px, 3vw, 40px); padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: end; position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -10%; top: -50%; background: radial-gradient(circle, rgba(232, 80, 63, .35), transparent 65%); z-index: -1; }
.band .h2 em { color: var(--rose); }
.band p { color: rgba(245, 239, 232, .75); margin: 16px 0 0; max-width: 52ch; }
.band .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.band .btn:hover { background: #fff; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; } }

/* KOMGO: página de marca */
.komgo-page { background: var(--k-cream); color: var(--navy); font-family: var(--sans-k); }
.komgo-page .top { background: rgba(255, 255, 255, .92); border-color: rgba(0, 0, 0, .12); }
.komgo-page .nav a, .komgo-page .wordmark { color: var(--ink); }
.k-hero { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 72px) 0 clamp(32px, 5vw, 64px); }
.k-hero__circle { position: absolute; width: min(110vw, 900px); aspect-ratio: 1; border-radius: 50%; background: var(--teal); left: 50%; top: 58%; transform: translate(-50%, -50%); z-index: 0; }
.k-hero__in { position: relative; z-index: 1; text-align: center; display: grid; gap: 18px; justify-items: center; }
.k-pill { display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 14px; }
.k-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.k-title { font-family: var(--display-k); font-weight: 700; font-size: clamp(72px, 15vw, 210px); line-height: .82; margin: 0; letter-spacing: .005em; }
.k-tag { display: inline-block; background: var(--yuja); color: var(--navy); font-family: var(--display-k); font-size: clamp(26px, 3.6vw, 48px); padding: 6px 22px 2px; border-radius: 14px; border: 3px solid var(--navy); transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--navy); line-height: 1; }
.k-packs { display: flex; justify-content: center; align-items: flex-end; width: min(100%, 720px); margin: 6px auto 0; }
.k-packs img { width: 36%; min-width: 0; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .25)); }
.k-packs img:nth-child(1) { transform: rotate(-9deg) translateX(16%); }
.k-packs img:nth-child(2) { width: 42%; position: relative; z-index: 1; }
.k-packs img:nth-child(3) { transform: rotate(9deg) translateX(-16%); }
.k-lead { max-width: 52ch; margin: 0; font-size: 17px; }
main { overflow-x: clip; }
.komgo-page main .btn { font-family: var(--sans-k); text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 600; }
.k-btn { background: var(--navy); border-color: var(--navy); color: #fff; font-family: var(--sans-k); text-transform: none; letter-spacing: .02em; font-size: 15px; font-weight: 600; }
.k-btn:hover { background: var(--navy-deep); }
.k-btn--ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.k-btn--ghost:hover { background: var(--navy); color: #fff; }
.k-h2 { font-family: var(--display-k); font-weight: 700; font-size: clamp(48px, 7vw, 104px); line-height: .9; margin: 0; letter-spacing: .01em; }
.k-h2 em { font-style: normal; color: var(--omija); }
.k-eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--teal-dark); }
.k-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.k-step { border-radius: 28px; padding: 28px; display: grid; gap: 12px; align-content: start; min-height: 220px; }
.k-step b { font-family: var(--display-k); font-weight: 700; font-size: 44px; line-height: .9; }
.k-step p { margin: 0; }
.k-step:nth-child(1) { background: var(--teal); }
.k-step:nth-child(2) { background: var(--yuja); }
.k-step:nth-child(3) { background: var(--omija-soft); }
@media (max-width: 760px) { .k-steps { grid-template-columns: 1fr; } .k-step { min-height: 0; } }
.k-flavours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .k-flavours { grid-template-columns: 1fr; } }
.k-flavour { border-radius: 36px; padding: 28px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; }
.k-flavour img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.k-flavour h3 { font-family: var(--display-k); font-weight: 700; font-size: 56px; line-height: .9; margin: 0; }
.k-flavour p { margin: 0; font-size: 14.5px; }
.k-flavour dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; font-size: 13px; }
.k-flavour dt { font-weight: 700; }
.k-flavour dd { margin: 0; }
.k-flavour--yuja { background: var(--yuja); }
.k-flavour--omija { background: var(--omija-soft); }
.k-flavour--bokbunja { background: var(--bok-soft); }
.k-band { background: var(--navy); color: #fff; border-radius: 44px; padding: clamp(36px, 6vw, 88px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.k-band .k-h2 em { color: var(--yuja); }
.k-band p { color: rgba(255, 255, 255, .82); }
.k-band .btn { background: var(--yuja); color: var(--navy); border-color: var(--yuja); }
@media (max-width: 860px) { .k-band { grid-template-columns: 1fr; } }
.k-strip { background: var(--navy); color: #fff; overflow: hidden; padding: 14px 0; transform: rotate(-1.5deg); margin: 8px -2%; }
.k-strip .marquee__track { font-family: var(--display-k); font-size: 30px; gap: 28px; color: #fff; animation-duration: 30s; }
.k-strip .marquee__track span:nth-child(4n+3) { color: var(--yuja); font-style: normal; }

/* Pie */
.foot { margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 13.5px; }
.komgo-page .foot { border-color: rgba(0, 0, 0, .2); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { margin: 0 0 14px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a, .foot .link { text-decoration: none; color: var(--ink-2); }
.komgo-page .foot a, .komgo-page .foot .link { color: var(--navy); }
.foot a:hover, .foot .link:hover { text-decoration: underline; }
.foot p { margin: 12px 0 0; color: var(--ink-2); max-width: 40ch; }
.foot__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); color: var(--mute); font-size: 12px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > :first-child { grid-column: 1 / -1; } }

/* ---------- formularios ---------- */
.form { display: grid; gap: 18px; }
/* Las filas pasan a menos columnas cuando la caja es estrecha (no solo cuando la pantalla lo es). */
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; align-items: start; }
.form__row--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
@media (max-width: 640px) { .form__row, .form__row--3 { grid-template-columns: 1fr; } }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.form legend { font-family: var(--serif); font-size: 24px; padding: 0; margin-bottom: 4px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.field small { color: var(--mute); font-size: 12px; }
.input, .select, .textarea { width: 100%; min-width: 0; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 12px 14px; font-size: 16px; transition: border-color .2s; }
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--bad); }
.input[type="file"] { padding: 8px 10px; font-size: 14px; color: var(--mute); cursor: pointer; }
.input[type="file"]::file-selector-button { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--ivory); border: 1px solid var(--ink); border-radius: 999px; padding: 10px 16px; margin-right: 12px; cursor: pointer; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice label { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 2px; cursor: pointer; background: #fff; }
.choice label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice label:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 2px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice b { font-weight: 600; font-size: 14px; }
.choice small { color: var(--mute); font-size: 12px; }
@media (max-width: 640px) { .choice { grid-template-columns: 1fr; } }
.code-input { font-family: var(--serif); font-size: 34px; letter-spacing: .4em; text-align: center; }

.card { background: #fff; border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); box-shadow: 0 1px 0 var(--line-2); }
.card--flat { box-shadow: none; border: 1px solid var(--line); }
.panel { max-width: 560px; margin: clamp(32px, 6vw, 80px) auto; display: grid; gap: 24px; padding: 0 var(--gutter); }
.panel--wide { max-width: 900px; }
.panel__head { display: grid; gap: 12px; }
.notice { border-radius: 14px; padding: 14px 16px; font-size: 14px; display: grid; gap: 4px; }
.notice--info { background: var(--info-bg); color: var(--info); }
.notice--ok { background: var(--ok-bg); color: var(--ok); }
.notice--warn { background: var(--warn-bg); color: var(--warn); }
.notice--bad { background: var(--bad-bg); color: var(--bad); }
.notice b { font-weight: 700; }
.notice p { margin: 0; }

/* Páginas legales */
.legal { max-width: 760px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.pend { background: var(--warn-bg); color: var(--warn); padding: 0 4px; border-radius: 4px; font-weight: 600; font-size: .92em; }

/* Consentimiento: aceptar y rechazar con la misma visibilidad */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; font-size: 14px; }
.consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ---------- área privada ---------- */
.app { min-height: 100dvh; display: grid; grid-template-rows: auto auto 1fr; grid-template-columns: minmax(0, 1fr); }
.appbar { position: sticky; top: 0; z-index: 40; background: rgba(245, 239, 232, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.appbar__in { display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.appnav { display: flex; gap: 2px; margin: 0 auto; }
.appnav a { text-decoration: none; padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.appnav a[aria-current="page"] { background: var(--ink); color: #fff; }
.appnav a:hover:not([aria-current="page"]) { background: var(--cream); }
.cartbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 1px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; background: #fff; flex: none; }
.cartbtn b { min-width: 22px; height: 22px; border-radius: 11px; background: var(--coral); color: #fff; display: inline-grid; place-items: center; font-size: 11.5px; padding: 0 6px; }
.cartbtn svg { width: 18px; height: 18px; }
.userbtn { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; text-decoration: none; font-weight: 700; font-size: 13px; }
.tabbar { display: none; }
@media (max-width: 1080px) {
  .appnav { display: none; }
  .appbar__in { height: 58px; }
  .appbar .cartbtn { margin-left: auto; }
}
@media (max-width: 440px) {
  .appbar__in { gap: 10px; }
  .cartbtn { padding: 8px 12px; }
  .cartbtn > span:not([data-cart-icon]) { display: none; }
}
@media (max-width: 1080px) {
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; text-decoration: none; font-size: 10.5px; font-weight: 600; color: var(--mute); }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--ink); }
  .appmain { padding-bottom: 96px !important; }
}
.appmain { padding: clamp(20px, 3vw, 40px) var(--gutter) 64px; max-width: 1440px; width: 100%; margin: 0 auto; }
.pagehead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.pagehead h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4vw, 54px); margin: 0; line-height: 1.05; }
.pagehead h1 em { font-style: normal; color: var(--coral); }
.crumbs { font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.crumbs a { color: inherit; }
/* Dos o tres columnas solo si cada una tiene sitio de verdad; si no, se apilan. */
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(440px, (100% - 24px) / 2)), 1fr)); gap: 20px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, max(280px, (100% - 44px) / 3)), 1fr)); gap: 20px; }
.grid2 > *, .grid3 > *, .split > * { min-width: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
@media (max-width: 1080px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 16px; align-content: start; }
.stack--sm { gap: 8px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.row--between { justify-content: space-between; }
/* Columna fija al bajar; si no cabe en la pantalla, core.js la pega por abajo (ajustarPegajosa). */
.sticky { position: sticky; top: 84px; }
@media (max-width: 1080px) { .sticky { position: static; } }

.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--cream); color: var(--ink-2); line-height: 1.5; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--bad { background: var(--bad-bg); color: var(--bad); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--plain::before { display: none; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 13px; background: #fff; cursor: pointer; text-decoration: none; font-weight: 500; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.brandtabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 520px; width: 100%; }
.brandtab { border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 0 12px; height: 48px; display: grid; place-items: center; cursor: pointer; font-weight: 600; font-size: 13px; text-decoration: none; }
.brandtab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.brandtab--koco { font-family: var(--serif); letter-spacing: .24em; font-size: 15px; font-weight: 500; }
.brandtab--komgo { font-family: var(--display-k); font-size: 21px; font-weight: 400; letter-spacing: .04em; color: var(--navy); }
.brandtab--komgo[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.search { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search input { padding-left: 42px; border-radius: 999px; min-height: 46px; }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; opacity: .55; pointer-events: none; }

/* Producto en el área privada */
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 16px; }
@media (max-width: 560px) { .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.bcard { background: #fff; border-radius: 22px; padding: 12px 12px 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 var(--line-2); min-width: 0; }
/* Todas las tarjetas de una fila igual: nombre a dos líneas y compra siempre abajo. */
.bcard__foot { margin-top: auto; display: grid; gap: 10px; }
.bcard__media { position: relative; display: block; aspect-ratio: 1; border-radius: 999px 999px 14px 14px; background: var(--tint, var(--peach)); overflow: hidden; }
.bcard--komgo .bcard__media { border-radius: 18px; }
.bcard__media img { position: absolute; top: 20%; left: 15%; width: 70%; height: 72%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .14)); transition: transform .45s var(--ease); }
.bcard__media:hover img { transform: translateY(-3px); }
.bcard--komgo .bcard__media img { top: 10%; left: 10%; width: 80%; height: 80%; }
.bcard__name { font-family: var(--serif); font-size: 19px; line-height: 1.15; text-decoration: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 2.3em; }
.bcard--komgo .bcard__name { font-family: var(--display-k); color: var(--navy); font-size: 23px; letter-spacing: .02em; line-height: 1; min-height: 2em; }
.bcard__ref { font-size: 11px; color: var(--mute); letter-spacing: .04em; line-height: 1.45; min-height: 2.9em; }
.price { display: grid; gap: 1px; }
.price__main { font-size: 20px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.price__label { font-size: 11px; color: var(--mute); line-height: 1.35; }
.price__rec { font-size: 12px; color: var(--ink-2); }
.price__was { text-decoration: line-through; color: var(--mute); font-weight: 400; font-size: 13px; margin-right: 6px; }
.rules { font-size: 11.5px; color: var(--mute); line-height: 1.45; }
.stepper { display: inline-grid; grid-template-columns: 36px minmax(44px, 56px) 36px; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; height: 40px; flex: none; }
.stepper button { border: 0; background: transparent; cursor: pointer; font-size: 18px; }
.stepper button:hover { background: var(--cream); }
.stepper input { border: 0; text-align: center; width: 100%; font-weight: 600; -moz-appearance: textfield; appearance: textfield; background: transparent; font-size: 15px; min-width: 0; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.buy .btn { flex: 1; min-width: 0; padding: 0 12px; }
@media (max-width: 560px) { .bcard .buy { flex-direction: column; align-items: stretch; } .bcard .stepper { width: 100%; grid-template-columns: 36px 1fr 36px; } }

/* Ficha de producto */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery { display: grid; gap: 12px; }
.gallery__main { margin: 0; aspect-ratio: 1; border-radius: 999px 999px 24px 24px; background: var(--tint, var(--peach)); overflow: hidden; position: relative; }
.gallery__main img { position: absolute; top: 19%; left: 16%; width: 68%; height: 70%; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .16)); }
.pdp--komgo .gallery__main img { top: 10%; left: 10%; width: 80%; height: 80%; }
.gallery__main img.is-cover, .pdp--komgo .gallery__main img.is-cover { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.gallery__main figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .9); border-radius: 999px; padding: 4px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.pdp--komgo .gallery__main { border-radius: 28px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; }
.thumbs button { flex: none; width: 72px; height: 72px; border-radius: 14px; border: 1px solid var(--line); background: #fff; padding: 6px; cursor: pointer; overflow: hidden; }
.thumbs button img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.thumbs button[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.pdp__title { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; margin: 6px 0 8px; }
.pdp--komgo .pdp__title { font-family: var(--display-k); font-weight: 700; color: var(--navy); font-size: clamp(44px, 4.6vw, 68px); line-height: .92; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 13.5px; }
.specs dt { color: var(--mute); }
.specs dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.box { border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: grid; gap: 12px; background: #fff; }
.box h2, .box h3 { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-family: var(--sans); font-weight: 700; }
.box--sale { border-color: var(--ink); }
.sum { display: grid; gap: 6px; font-size: 14px; margin: 0; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.sum .total { font-size: 18px; font-weight: 700; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.sum .total dt { color: var(--ink); }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 14px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 20px; line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc__body { padding: 0 0 18px; color: var(--ink-2); font-size: 14px; white-space: pre-line; }
.acc__body p { margin: 0 0 8px; }
.video { position: relative; border-radius: 20px; overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; max-height: 560px; max-width: 320px; }
.video video { width: 100%; height: 100%; object-fit: cover; }
/* Ficha comercial: mosaico de fotos, activos, pasos de uso y argumentos de mostrador */
.mosaico { display: grid; gap: 10px; }
.mosaico__item { position: relative; display: block; width: 100%; border: 0; padding: 0; margin: 0; border-radius: 20px; overflow: hidden; background: var(--tint, var(--peach)); cursor: zoom-in; }
.mosaico__item.is-main { aspect-ratio: 1 / .9; border-radius: 999px 999px 24px 24px; }
.mosaico__fila { display: flex; gap: 10px; }
.mosaico__fila > * { flex: 1 1 0; min-width: 0; height: clamp(112px, 13vw, 170px); }
.mosaico__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mosaico__item.is-pack img { position: absolute; inset: 14% 14% 10%; width: 72%; height: 76%; object-fit: contain; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .16)); }
.mosaico__item:hover img { transform: scale(1.04); }
.mosaico__tag { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 3px 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.mosaico__dato { border-radius: 20px; background: #fff; border: 1px solid var(--line-2); padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 0; overflow: hidden; }
.mosaico__dato b { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 34px); line-height: 1; }
.mosaico__dato span { font-size: 12px; color: var(--mute); line-height: 1.35; }
.mosaico__dato.is-largo b { font-size: clamp(18px, 1.8vw, 24px); }
.pdp--komgo .mosaico__item.is-main { border-radius: 28px; }
.pdp--komgo .mosaico__dato b { font-family: var(--display-k); color: var(--navy); letter-spacing: .02em; }
@media (max-width: 560px) { .mosaico__dato span { font-size: 11px; } .mosaico__tag { font-size: 9px; } }
.activos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.activos li { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 12.5px; background: #fff; }
.pdp--komgo .activos li { border-color: var(--navy); color: var(--navy); }
.uso { margin-top: clamp(40px, 6vw, 72px); }
.uso__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.uso__head .h2 { margin: 0; }
.uso__tiempo { background: var(--ink); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.uso__grid { display: grid; gap: 20px; }
.uso__grid.has-foto { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
@media (max-width: 860px) { .uso__grid.has-foto { grid-template-columns: 1fr; } }
.uso__foto { margin: 0; border-radius: 24px; overflow: hidden; min-height: 280px; background: var(--peach); }
.uso__foto img { width: 100%; height: 100%; object-fit: cover; }
.uso__foto.is-diagrama img { object-fit: contain; padding: 4%; }
.uso__grid.has-foto .pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.uso__grid.has-foto .paso:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 480px) { .uso__grid.has-foto .pasos { grid-template-columns: 1fr; } }
.pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.paso { background: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 18px; display: grid; gap: 10px; align-content: start; }
.paso__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.paso__n { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--coral); }
.paso p { margin: 0; font-size: 15px; }
.uso--komgo .paso { background: var(--k-cream); font-family: var(--sans-k); color: var(--navy); }
.uso--komgo .paso__n { font-family: var(--display-k); color: var(--navy); }
.uso--komgo .paso:nth-child(2) { background: var(--yuja); }
.uso--komgo .uso__tiempo { background: var(--navy); }
.uso--komgo .h2 { font-family: var(--display-k); color: var(--navy); letter-spacing: .01em; }
.uso--komgo .h2 em { font-style: normal; color: var(--teal-dark); }
.uso--komgo .uso__foto { background: var(--k-cream); }
.mostrador { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 22px; }
.mostrador .h2 { margin: 0; }
.mostrador__card { border-radius: 20px; padding: 22px; background: var(--cream); display: grid; gap: 10px; align-content: start; }
.mostrador__card p { margin: 0; }
.pdp__mas { margin-top: clamp(32px, 5vw, 56px); display: grid; gap: 18px; max-width: 860px; }
.ampliada { margin: 0; position: relative; border-radius: 18px; overflow: hidden; background: var(--tint, var(--peach)); aspect-ratio: 1; }
.ampliada img { width: 100%; height: 100%; object-fit: cover; }
.ampliada.is-pack img { object-fit: contain; padding: 8%; }
.ampliada figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 3px 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }

/* Carrito */
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); align-items: center; }
.cart-line__thumb { position: relative; flex: none; width: 72px; height: 88px; border-radius: 999px 999px 12px 12px; background: var(--tint, var(--peach)); overflow: hidden; }
.cart-line__thumb.is-komgo { border-radius: 14px; }
.cart-line__thumb img { position: absolute; top: 20%; left: 14%; width: 72%; height: 72%; object-fit: contain; }
.cart-line__thumb.is-komgo img { top: 10%; left: 10%; width: 80%; height: 80%; }
.cart-line__right { display: grid; gap: 6px; justify-items: end; text-align: right; }
@media (max-width: 640px) { .cart-line { grid-template-columns: 56px minmax(0, 1fr); } .cart-line__thumb { width: 56px; height: 70px; } .cart-line__right { grid-column: 1 / -1; justify-items: start; text-align: left; grid-template-columns: auto auto; justify-content: space-between; align-items: center; } }
.errline { color: var(--bad); font-size: 12.5px; }
.warnline { color: var(--warn); font-size: 12.5px; }
.progress { height: 6px; border-radius: 3px; background: var(--cream); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--coral); border-radius: 3px; transition: width .4s var(--ease); }
.empty { text-align: center; padding: 56px 16px; color: var(--mute); display: grid; gap: 14px; justify-items: center; }
.empty .h3 { color: var(--ink); }

/* Tablas */
.tablewrap { overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 var(--line-2); }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 600; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: #fff; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; }
.table .nw { white-space: nowrap; }
@media (max-width: 1520px) { .table th, .table td { padding-inline: 10px; } .table th { letter-spacing: .1em; } }
.table a { text-decoration: none; font-weight: 600; }
.table a:hover { text-decoration: underline; }
/* En móvil las tablas del área de farmacias se apilan: cada fila es una ficha y cada dato lleva su etiqueta. Nada se corta ni hay que deslizar. */
@media (max-width: 640px) {
  .table--apila, .table--apila tbody, .table--apila tr, .table--apila td { display: block; width: 100%; }
  .table--apila thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table--apila tr { padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
  .table--apila tr:last-child { border-bottom: 0; }
  .table--apila td, .table--apila tr:last-child td { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 3px 0; border: 0; text-align: right; white-space: normal; }
  .table--apila td::before { content: attr(data-label); flex: none; text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
  .table--apila td:first-child, .table--apila tr:last-child td:first-child { display: block; text-align: left; font-size: 15px; font-weight: 600; padding-bottom: 6px; }
  .table--apila td:first-child::before { content: none; }
  .table--apila td:first-child .tiny { font-weight: 400; }
  .table--apila td > .badge { white-space: normal; text-align: left; }
}
.table input.input, .table select.select { min-height: 36px; padding: 6px 8px; font-size: 13.5px; border-radius: 8px; min-width: 72px; }

/* Historial */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; padding: 0 0 18px 22px; font-size: 13.5px; }
.timeline li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.timeline li::after { content: ""; position: absolute; left: 7.5px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline time { display: block; color: var(--mute); font-size: 11.5px; }

/* Indicadores */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 14px; }
.kpi { background: #fff; border-radius: 18px; padding: 18px 20px; display: grid; gap: 4px; text-decoration: none; box-shadow: 0 1px 0 var(--line-2); }
.kpi b { font-family: var(--serif); font-weight: 600; font-size: 40px; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.kpi span { font-size: 12.5px; color: var(--ink-2); }
.kpi.is-alert b { color: var(--coral); }

/* Avisos flotantes y diálogos */
.toasts { position: fixed; top: 76px; right: 16px; left: 16px; z-index: 80; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 14px; max-width: 420px; box-shadow: var(--shadow); animation: tin .3s var(--ease); }
.toast--bad { background: var(--bad); }
@keyframes tin { from { opacity: 0; transform: translateY(-6px); } }
.modal { border: 0; border-radius: 22px; padding: 0; max-width: min(640px, calc(100vw - 24px)); width: 100%; box-shadow: var(--shadow); color: var(--ink); background: var(--ivory); }
.modal::backdrop { background: rgba(0, 0, 0, .45); }
.modal__in { padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; max-height: 86vh; overflow: auto; }
.modal h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }

/* Administración */
.admin { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100dvh; }
.side { background: var(--ink); color: var(--ivory); padding: 22px 14px; display: flex; flex-direction: column; gap: 2px; position: sticky; top: 0; height: 100dvh; overflow-y: auto; }
.side .wordmark { margin: 0 8px 22px; color: var(--ivory); }
.side .wordmark span { color: rgba(245, 239, 232, .55); }
.side__group { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(245, 239, 232, .45); padding: 14px 12px 6px; }
.side a { color: rgba(245, 239, 232, .8); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.side a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side a[aria-current="page"] { background: var(--ivory); color: var(--ink); font-weight: 600; }
.side a .n { background: var(--coral); color: #fff; border-radius: 999px; font-size: 11px; padding: 0 7px; min-width: 20px; text-align: center; line-height: 18px; }
.side__foot { margin-top: auto; padding: 12px; font-size: 12px; color: rgba(245, 239, 232, .6); display: grid; gap: 8px; }
.side__foot .link { color: var(--ivory); text-align: left; }
.adminmain { padding: 28px clamp(16px, 3vw, 40px) 64px; min-width: 0; }
.admintop { display: none; }
.scrim { display: none; }
/* Con la barra lateral, la columna de acciones cabe al lado de las tablas solo en pantallas anchas. */
.adminmain .split { grid-template-columns: minmax(0, 1fr) 340px; }
.adminmain .sticky { top: 24px; }
@media (max-width: 1400px) {
  .adminmain .split { grid-template-columns: minmax(0, 1fr); }
  .adminmain .sticky { position: static; }
}
@media (max-width: 1100px) {
  .admin { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 268px; z-index: 70; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .side.is-open { transform: none; }
  .side.is-open + .scrim { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 65; }
  .admintop { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--ivory); z-index: 50; }
  .admintop .burger { margin-left: 0; }
}
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a, .tabs button { text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; background: #fff; cursor: pointer; }
.tabs [aria-pressed="true"], .tabs [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs .n { margin-left: 6px; opacity: .7; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
.checklist li::before { content: "○"; color: var(--warn); flex: none; }
.checklist li.is-ok::before { content: "●"; color: var(--ok); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; font-size: 13.5px; margin: 0; }
.kv dt { color: var(--mute); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dd { margin-bottom: 8px; } }
.verif { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; background: #fff; }
.verif.is-ok { border-color: var(--ok); background: var(--ok-bg); }
.qr { width: 220px; height: 220px; border-radius: 12px; background: #fff; padding: 8px; margin: 0 auto; }
.loader { display: grid; place-items: center; padding: 64px; color: var(--mute); }
.loader::before { content: ""; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
pre.mono, code.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px; }
pre.mono { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0; max-height: 360px; overflow: auto; }
/* Bandeja de correos de prueba (solo local) */
.inbox { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
.inbox__item { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 14px; display: grid; gap: 3px; cursor: pointer; font-size: 13px; color: var(--ink); }
.inbox__item[aria-current="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.inbox__item b { font-weight: 600; }
.inbox__code { font: 400 44px/1 var(--serif); letter-spacing: .18em; font-variant-numeric: lining-nums; color: var(--coral); }
.inbox__frame { width: 100%; min-height: 420px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
@media (max-width: 860px) { .inbox { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bcard__name { font-size: 17px; -webkit-line-clamp: 3; } .bcard--komgo .bcard__name { font-size: 21px; } }

/* Documentos: pestañas de compra y venta */
.doctabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 640px; margin-bottom: 22px; }
.doctab { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 16px; text-align: left; cursor: pointer; font-weight: 700; font-size: 14px; display: grid; gap: 2px; }
.doctab small { font-weight: 500; font-size: 12px; color: var(--mute); }
.doctab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.doctab[aria-selected="true"] small { color: rgba(255, 255, 255, .72); }
@media (max-width: 480px) { .doctab { padding: 10px 12px; font-size: 13px; } }
.docfichas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.docficha { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 18px; padding: 12px; }
.docficha__img { position: relative; width: 72px; height: 88px; border-radius: 999px 999px 12px 12px; background: var(--tint, var(--peach)); overflow: hidden; }
.docficha__img.is-komgo { border-radius: 14px; }
.docficha__img img { position: absolute; top: 18%; left: 14%; width: 72%; height: 72%; object-fit: contain; }
.docficha__name { font-weight: 600; text-decoration: none; line-height: 1.3; }

/* =====================================================================
   26-11-2026 · Guía de marca B2B (Poppins, paleta neutra, píldoras negras,
   tarjetas redondeadas sobre beige y rosa suave, formas orgánicas).
   ===================================================================== */
body { font-size: 15px; line-height: 1.6; }
/* La zona pública va sobre blanco; el área de cliente y la administración, sobre beige con tarjetas blancas. */
body[data-page] { background: var(--white); }
:focus-visible { outline-color: var(--ink); }

/* Títulos principales en mayúsculas y negrita; subtítulos en Medium. */
.display, .h2, .pagehead h1, .k-title, .k-h2, .pdp__title, .legal h1 { font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.display { font-size: clamp(32px, 5vw, 66px); line-height: 1.04; }
.h2 { font-size: clamp(24px, 3.1vw, 42px); line-height: 1.1; }
.h3 { font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; line-height: 1.2; }
.display em, .h2 em, .h3 em, .pagehead h1 em, .brandcard--koco h3 em { color: inherit; }
.lead { font-size: clamp(15px, 1.15vw, 17px); }
.eyebrow { font-weight: 500; letter-spacing: .2em; }
.eyebrow::before { display: none; }
.caps { font-weight: 600; letter-spacing: .12em; }
.pagehead h1 { font-size: clamp(24px, 3vw, 40px); line-height: 1.1; }
.pdp__title, .pdp--komgo .pdp__title { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.1; color: var(--ink); }
.k-title { font-size: clamp(44px, 9vw, 120px); line-height: .95; }
.k-h2 { font-size: clamp(26px, 3.6vw, 48px); line-height: 1.08; }
.k-h2 em { color: var(--teal-dark); }
.k-band .k-h2 em { color: var(--yuja); }
.k-tag { font-weight: 700; font-size: clamp(18px, 2.4vw, 30px); padding: 8px 20px; border-width: 2px; box-shadow: 3px 3px 0 var(--ink); }
.k-step b { font-size: 26px; line-height: 1.1; font-weight: 700; }
.k-flavour h3 { font-size: 32px; line-height: 1.05; text-transform: uppercase; }
.k-strip .marquee__track { font-size: 20px; font-weight: 700; }
.k-strip { background: var(--ink); }
.k-band { background: var(--ink); }
.k-pill::before { background: var(--teal); }
.k-eyebrow { font-weight: 600; }
.komgo-page { background: var(--white); color: var(--ink); }
.komgo-page main .btn, .k-btn, .brandcard--komgo .btn { text-transform: uppercase; letter-spacing: .06em; font-size: 12px; font-weight: 600; }
.k-btn--ghost { border-width: 1px; }
.marquee__track { font-weight: 600; font-size: clamp(18px, 2vw, 26px); text-transform: uppercase; }
.marquee__track span:nth-child(4n+3) { color: var(--mute); }
.step__n { font-size: 36px; font-weight: 700; }
.step h3, .perk h3 { font-size: 18px; font-weight: 600; }
.perk__icon { font-size: 18px; font-weight: 700; }
.pcard__name, .pcard--komgo .pcard__name { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--ink); }
.sel__title, .sel--komgo .sel__title { font-size: 21px; font-weight: 700; line-height: 1.15; letter-spacing: 0; }
.sel--komgo { color: var(--ink); }
.sel--komgo .sel__desc { color: var(--ink-2); opacity: 1; }
.demo figcaption b, .demo--komgo figcaption b { font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.demo--komgo figcaption { color: var(--ink-2); }
.form legend { font-size: 18px; font-weight: 600; }
.code-input { font-weight: 700; font-size: 30px; }
.legal h2 { font-size: 19px; font-weight: 600; }
.bcard__name, .bcard--komgo .bcard__name { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: 0; color: var(--ink); min-height: 2.6em; }
.mosaico__dato b, .pdp--komgo .mosaico__dato b { font-weight: 700; font-size: clamp(18px, 2vw, 26px); color: var(--ink); letter-spacing: 0; }
.mosaico__dato.is-largo b { font-size: clamp(15px, 1.5vw, 19px); }
.paso__n, .uso--komgo .paso__n { font-size: 26px; font-weight: 700; color: var(--ink); }
.uso--komgo .paso { color: var(--ink); }
.uso--komgo .h2 { color: var(--ink); }
.kpi b { font-weight: 700; font-size: 32px; }
.kpi.is-alert b { color: var(--coral-ink); }
.modal h2 { font-size: 22px; font-weight: 700; }
.inbox__code { font: 700 38px/1 var(--sans); color: var(--ink); }
.brandtab--koco, .brandtab--komgo { font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink); }
.brandtab--komgo[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.faq summary { font-size: clamp(15px, 1.3vw, 17px); font-weight: 500; padding: 18px 40px 18px 0; }
.faq summary::after { top: 12px; font-weight: 400; font-size: 24px; }
.faq details p { font-size: 14.5px; }

/* Botones: píldora negra; el secundario, píldora con borde. */
.btn { font-size: 12px; letter-spacing: .06em; font-weight: 600; min-height: 46px; padding: 0 24px; }
.btn--sm { font-size: 11.5px; letter-spacing: .05em; min-height: 38px; }
.btn--xs { letter-spacing: .04em; }
.btn--ghost { background: var(--white); }
.btn--coral { background: var(--ink); border-color: var(--ink); }
.btn--coral:hover { background: var(--ink-2); }
.arrow::after { content: "→"; }
.card { border-radius: var(--radius); }
.input, .select, .textarea { border-radius: 14px; }
.field > span { letter-spacing: .06em; font-weight: 500; font-size: 11.5px; }
.cartbtn b, .side a .n { background: var(--ink); }
.progress i { background: var(--ink); }
.panel .card { background: var(--beige); box-shadow: none; }
body[data-page] .card--flat { background: var(--white); }
.table th { letter-spacing: .08em; }
.notice { border-radius: 16px; }
.proto b { color: var(--k-rosa); }
.band::before { background: radial-gradient(circle, rgba(255, 221, 211, .28), transparent 65%); }
.band .h2 em { color: var(--k-rosa); }
.side { background: var(--ink); }

/* ---------- Cabecera pública ---------- */
.top { background: rgba(255, 255, 255, .9); }
.komgo-page .top { background: rgba(255, 255, 255, .9); }
.top__in { height: 76px; gap: 20px; }
.wordmark { gap: 4px; }
.wordmark b { font-weight: 700; font-size: 19px; line-height: 1; letter-spacing: -.005em; white-space: normal; max-width: 9.2em; text-transform: uppercase; }
.wordmark span { font-size: 8.5px; letter-spacing: .2em; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.wordmark span i { color: inherit; }
.top .wordmark { flex-direction: row; align-items: center; gap: 14px; }
.side .wordmark b, .admintop .wordmark b, .appbar .wordmark b { max-width: none; white-space: nowrap; font-size: 15px; }
.nav { gap: clamp(14px, 1.6vw, 28px); }
.nav a { font-size: 11.5px; letter-spacing: .06em; font-weight: 500; }
.top__cta { gap: 6px; }
.iconbtn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; text-decoration: none; background: transparent; border: 0; cursor: pointer; flex: none; color: var(--ink); }
.iconbtn:hover { background: var(--beige); }
.iconbtn svg { width: 22px; height: 22px; }
.iconbtn b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 10.5px; display: grid; place-items: center; padding: 0 5px; font-weight: 600; }
.top__cta .btn { margin-left: 6px; }
.burger { border-color: transparent; }
.burger span { height: 1.5px; width: 20px; margin: 5px auto; }
@media (max-width: 1380px) { .nav a[href="/"] { display: block; } .top .wordmark span { display: none; } }
@media (max-width: 1240px) {
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; background: var(--white); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s var(--ease); z-index: -1; max-height: calc(100dvh - 76px); overflow: auto; margin: 0; }
  .nav.is-open { transform: none; }
  .nav a, .nav a[href="/"] { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-2); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .burger { display: block; }
  .top__cta { margin-left: auto; }
  .top .wordmark span { display: block; }
}
@media (max-width: 1180px) { .nav { inset: 76px 0 auto 0; background: var(--white); } }
@media (max-width: 640px) {
  .top__in { height: 64px; gap: 6px; }
  .nav, .nav.is-open { inset: 64px 0 auto 0; }
  .top .wordmark { flex-direction: column; align-items: flex-start; gap: 3px; }
  .top .wordmark b { font-size: 15px; letter-spacing: 0; }
  .top .wordmark span { font-size: 7px; letter-spacing: .14em; }
  .top__cta .btn { min-height: 36px; padding: 0 12px; font-size: 10px; letter-spacing: .03em; margin-left: 2px; }
  .top__cta .iconbtn--buscar { display: none; }
  .iconbtn { width: 36px; height: 36px; }
  .burger { width: 36px; height: 40px; }
}
@media (max-width: 400px) { .top .wordmark b { font-size: 13.5px; } .top .wordmark span { display: none; } .top__cta .btn { padding: 0 10px; } }
/* Móviles muy estrechos (320-350 px): la cabecera pública se aprieta un poco más para que el menú no se salga. */
@media (max-width: 350px) { .top__in { gap: 2px; } .top .wordmark b { font-size: 12.5px; } .top__cta { gap: 2px; } .top__cta .btn { padding: 0 8px; font-size: 9.5px; letter-spacing: 0; margin-left: 0; } .iconbtn { width: 32px; height: 36px; } .burger { width: 30px; } }
.nav .nav__alta { display: none; }
@media (max-width: 1240px) { .nav .nav__alta { display: block; font-weight: 700; color: var(--ink); } }

/* ---------- Secciones nuevas de la portada ---------- */
.sec { padding: clamp(44px, 6vw, 88px) 0; }
.sec--beige { background: var(--beige); }
.sec__head { display: grid; gap: 10px; margin-bottom: clamp(24px, 3vw, 40px); max-width: 780px; }
.sec__head p { margin: 0; color: var(--ink-2); font-size: clamp(14.5px, 1.1vw, 16.5px); }
.kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); }

.h-hero { position: relative; overflow: hidden; background: #F3E5DA; isolation: isolate; }
.h-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; z-index: -1; }
.h-hero__in { min-height: clamp(420px, 44vw, 620px); display: grid; align-content: center; gap: 22px; padding-block: clamp(40px, 6vw, 80px); justify-items: start; }
.h-hero__in > * { max-width: min(560px, 46vw); }
.h-hero .display { font-size: clamp(30px, 4.3vw, 60px); }
.h-hero .lead { color: var(--ink-2); }
.h-hero__note { font-size: 12.5px; color: var(--mute); margin: 0; }
@media (max-width: 760px) {
  .h-hero { display: flex; flex-direction: column; }
  .h-hero__img { position: relative; order: 2; height: 250px; object-position: 80% 30%; z-index: 0; }
  .h-hero__in { min-height: 0; padding-block: 34px 26px; gap: 18px; }
  .h-hero__in > * { max-width: none; }
  .h-hero .hero__actions { width: 100%; }
  .h-hero .hero__actions .btn { flex: 1 1 100%; }
}

/* Dos universos */
.univ { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.ucard { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; border-radius: 30px; padding: clamp(24px, 3.4vw, 48px); overflow: hidden; text-decoration: none; color: var(--ink); isolation: isolate; min-height: 300px; }
.ucard--koco { background: linear-gradient(105deg, #FFF1EC 0%, var(--k-rosa) 100%); }
.ucard--komgo { background: linear-gradient(105deg, var(--k-azul) 0%, #CFF3F2 100%); }
/* forma orgánica de fondo */
.ucard::before { content: ""; position: absolute; width: 58%; aspect-ratio: 1.5; right: -8%; bottom: -34%; background: rgba(255, 255, 255, .55); border-radius: 62% 38% 46% 54% / 55% 48% 52% 45%; z-index: -1; }
.ucard__copy { display: grid; gap: 12px; justify-items: start; }
.ucard__logo { height: 22px; width: auto; }
.ucard--komgo .ucard__logo { height: 54px; }
.ucard h3 { margin: 4px 0 0; font-size: clamp(18px, 2vw, 26px); font-weight: 700; text-transform: uppercase; line-height: 1.15; max-width: 16ch; }
.ucard p { margin: 0; color: var(--ink-2); max-width: 40ch; font-size: 14.5px; }
.ucard .btn { margin-top: 8px; }
.ucard__fan { position: relative; height: clamp(190px, 22vw, 300px); }
.ucard__fan img { position: absolute; bottom: 0; height: 100%; width: 42%; object-fit: contain; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .16)); transition: transform .6s var(--ease); }
.ucard__fan img:nth-child(1) { left: 2%; transform: rotate(-9deg) translateY(4%); }
.ucard__fan img:nth-child(2) { left: 29%; transform: translateY(-4%); z-index: 1; }
.ucard__fan img:nth-child(3) { left: 56%; transform: rotate(9deg) translateY(4%); }
.ucard:hover .ucard__fan img:nth-child(1) { transform: rotate(-12deg) translate(-4%, 2%); }
.ucard:hover .ucard__fan img:nth-child(3) { transform: rotate(12deg) translate(4%, 2%); }
@media (max-width: 760px) { .ucard { grid-template-columns: 1fr; min-height: 0; } .ucard__fan { height: 190px; } }

/* Mucho más que un distribuidor / Te lo ponemos fácil */
.puntos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--beige); border-radius: 28px; padding: clamp(18px, 2.4vw, 34px) clamp(8px, 1.4vw, 20px); }
.punto { display: grid; gap: 8px; justify-items: center; text-align: center; padding: 10px clamp(10px, 1.6vw, 26px); border-left: 1px solid var(--line-2); align-content: start; }
.punto:first-child { border-left: 0; }
.punto svg { width: 34px; height: 34px; margin-bottom: 4px; }
.punto h3 { margin: 0; font-size: 13.5px; font-weight: 700; text-transform: uppercase; line-height: 1.25; letter-spacing: .01em; }
.punto p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .puntos { grid-template-columns: 1fr 1fr; row-gap: 18px; } .punto:nth-child(odd) { border-left: 0; } }
@media (max-width: 420px) { .punto { padding-inline: 8px; } .punto h3 { font-size: 12px; } .punto p { font-size: 12.5px; } }
.facil { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px); }
.facil__item { display: flex; align-items: center; gap: 14px; }
.facil__item svg { width: 34px; height: 34px; flex: none; }
.facil__item b { font-size: 13px; text-transform: uppercase; line-height: 1.25; font-weight: 700; display: block; }
.facil__item span { font-size: 13px; color: var(--ink-2); display: block; }
@media (max-width: 900px) { .facil { grid-template-columns: 1fr 1fr; row-gap: 22px; } }
@media (max-width: 420px) { .facil { grid-template-columns: 1fr; } }

/* Cuatro pasos */
.pasos4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.paso4 { position: relative; background: var(--beige); border-radius: 24px; padding: 22px 20px 24px; display: grid; gap: 8px; align-content: start; }
.paso4:nth-child(even) { background: #FFF1EC; }
.paso4__n { font-size: 15px; font-weight: 700; color: var(--coral-ink); width: 38px; height: 30px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 999px; }
.paso4 h3 { margin: 6px 0 0; font-size: 15px; font-weight: 700; text-transform: uppercase; line-height: 1.2; }
.paso4 p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.paso4:not(:last-child)::after { content: "→"; position: absolute; right: calc(clamp(26px, 3vw, 44px) / -2 - 9px); top: 50%; transform: translateY(-50%); font-size: 18px; width: 18px; text-align: center; }
@media (max-width: 900px) { .pasos4 { grid-template-columns: 1fr 1fr; gap: 14px; } .paso4::after { display: none; } }
@media (max-width: 420px) { .pasos4 { grid-template-columns: 1fr; } }

/* Preguntas y banda final */
.faq { max-width: none; border-top: 1px solid var(--line); }
.cta-final { background: var(--ink); color: #fff; border-radius: clamp(24px, 3vw, 36px); padding: clamp(28px, 4.4vw, 60px) clamp(22px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-final::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1.4; right: -10%; top: -60%; background: rgba(255, 221, 211, .16); border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%; z-index: -1; }
.cta-final .h2 { color: #fff; }
.cta-final p { margin: 10px 0 0; color: rgba(255, 255, 255, .78); max-width: 52ch; }
.cta-final .btn { background: var(--beige); color: var(--ink); border-color: var(--beige); }
.cta-final .btn:hover { background: #fff; }
@media (max-width: 760px) { .cta-final { grid-template-columns: 1fr; } }

/* ---------- Packs ---------- */
.packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pack { border-radius: 26px; padding: clamp(16px, 1.8vw, 24px); display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 14px 18px; align-items: start; background: var(--beige); min-width: 0; }
.pack:nth-child(3n+2) { background: #FFF1EC; }
.pack:nth-child(3n) { background: var(--k-azul); }
.pack__media { position: relative; aspect-ratio: 1; border-radius: 18px; background: rgba(255, 255, 255, .6); overflow: hidden; }
.pack__media > img { width: 100%; height: 100%; object-fit: cover; }
.pack__fan { position: absolute; inset: 10% 6% 8%; }
.pack__fan img { position: absolute; bottom: 0; height: 100%; width: 46%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .16)); }
.pack__fan img:nth-child(1) { left: 0; transform: rotate(-8deg); }
.pack__fan img:nth-child(2) { left: 27%; z-index: 1; transform: translateY(-3%); }
.pack__fan img:nth-child(3) { left: 54%; transform: rotate(8deg); }
.pack__fan img:only-child { left: 20%; width: 60%; transform: none; }
.pack__body { display: grid; gap: 8px; align-content: start; min-width: 0; }
.pack__tag { justify-self: start; background: var(--beige-2); border-radius: 999px; padding: 3px 12px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.pack h3 { margin: 0; font-size: 18px; font-weight: 700; text-transform: uppercase; line-height: 1.15; overflow-wrap: anywhere; }
.pack p { margin: 0; font-size: 13px; color: var(--ink-2); }
.pack__lista { list-style: none; margin: 0; padding: 0; font-size: 12.5px; color: var(--ink-2); display: grid; gap: 2px; }
.pack__lista b { font-weight: 600; color: var(--ink); }
.pack__compra { grid-column: 1 / -1; display: grid; gap: 10px; }
.pack__precio { display: grid; gap: 1px; }
.pack__precio b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pack__precio span { font-size: 12px; color: var(--ink-2); }
.pack .buy .btn { flex: 1; }
@media (max-width: 420px) { .pack { grid-template-columns: 1fr; } .pack__media { aspect-ratio: 16 / 10; } }
/* Pack de temporada (Navidad): tarjeta grande a todo el ancho, foto a un lado y la compra al otro. */
.packs .pack.pack--destacado { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 26px) clamp(20px, 3.4vw, 52px); align-items: center; padding: clamp(18px, 2.6vw, 36px); background: var(--white); border: 1px solid var(--line-2); }
.pack--destacado .pack__media { grid-row: 1 / span 2; border-radius: 22px; background: #FFF1EC; }
.pack--destacado .pack__body { gap: 12px; align-self: end; }
.pack--destacado .pack__tag { background: var(--ink); color: #fff; padding: 5px 14px; font-size: 11px; }
.pack--destacado h3 { font-size: clamp(24px, 3.1vw, 40px); line-height: 1.05; }
.pack--destacado p { font-size: 15.5px; max-width: 56ch; }
.pack--destacado .pack__lista { font-size: 14.5px; gap: 4px; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
.pack--destacado .pack__compra { grid-column: 2; align-self: start; grid-template-columns: auto 1fr; align-items: center; gap: 14px 22px; }
.pack--destacado .pack__precio b { font-size: clamp(26px, 2.6vw, 34px); }
.pack--destacado .buy .btn { flex: 0 1 auto; padding-inline: 28px; }
@media (max-width: 760px) {
  .packs .pack.pack--destacado { grid-template-columns: 1fr; }
  .pack--destacado .pack__media { grid-row: auto; aspect-ratio: 4 / 3; }
  .pack--destacado .pack__compra { grid-column: 1; grid-template-columns: 1fr; }
  .pack--destacado .pack__lista { grid-template-columns: 1fr; }
}

/* ---------- Catálogo ---------- */
.cat-hero { position: relative; overflow: hidden; background: linear-gradient(100deg, #FBF4EF 0%, #FFE9E2 60%, var(--k-rosa) 100%); isolation: isolate; }
.cat-hero::before { content: ""; position: absolute; width: 52%; aspect-ratio: 1.5; right: -6%; top: -30%; background: rgba(255, 255, 255, .5); border-radius: 60% 40% 48% 52% / 52% 46% 54% 48%; z-index: -1; }
.cat-hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center; min-height: clamp(200px, 20vw, 280px); padding-block: 26px; }
.cat-hero__copy { display: grid; gap: 10px; }
.cat-hero h1 { margin: 0; font-size: clamp(30px, 4.4vw, 58px); font-weight: 700; text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.cat-hero h1 em { display: block; font-style: normal; color: var(--coral); }
.cat-hero p { margin: 0; color: var(--ink-2); max-width: 44ch; font-size: clamp(14.5px, 1.2vw, 17px); }
.cat-hero__fan { position: relative; height: clamp(170px, 19vw, 260px); }
.cat-hero__fan img { position: absolute; bottom: -8%; height: 104%; width: 46%; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .16)); }
.cat-hero__fan img:nth-child(1) { left: 12%; transform: rotate(-7deg); }
.cat-hero__fan img:nth-child(2) { left: 46%; transform: rotate(6deg); }
@media (max-width: 760px) { .cat-hero__in { grid-template-columns: 1fr; } .cat-hero__fan { display: none; } }
.appmain > .cat-hero { border-radius: 28px; margin-bottom: 4px; }
.appmain > .cat-hero .wrap { padding-inline: clamp(18px, 3vw, 44px); }

.cat { display: grid; gap: clamp(22px, 3vw, 40px); padding-block: 22px 8px; }
.cat__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.cat__chips .chip { text-transform: uppercase; font-size: 11.5px; letter-spacing: .06em; font-weight: 600; padding: 11px 22px; border-color: var(--ink); }
.cat__sec { display: grid; gap: 16px; border-top: 1px solid var(--line-2); padding-top: clamp(18px, 2.4vw, 30px); }
.cat__sec > header { display: grid; gap: 4px; }
.cat__sec > header p { margin: 0; color: var(--ink-2); }
.cat__grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(18px, 2.4vw, 36px); align-items: start; }
.filtros { display: grid; gap: 6px; position: sticky; top: 92px; }
.filtros details { border-top: 1px solid var(--line); padding: 12px 0 8px; }
.filtros summary { list-style: none; cursor: pointer; font-weight: 700; text-transform: uppercase; font-size: 13.5px; display: flex; justify-content: space-between; align-items: center; }
.filtros summary::-webkit-details-marker { display: none; }
.filtros summary::after { content: ""; width: 8px; height: 8px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.filtros details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.filtros__ops { display: grid; gap: 8px; padding-top: 12px; }
.filtros label { display: flex; align-items: center; gap: 10px; font-size: 13.5px; cursor: pointer; }
.filtros input { width: 17px; height: 17px; accent-color: var(--ink); margin: 0; flex: none; }
.filtros label span { color: var(--mute); font-size: 12.5px; }
.cat__barra { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; font-size: 13.5px; margin-bottom: 14px; }
.cat__barra label { display: inline-flex; align-items: center; gap: 8px; }
.cat__barra select { border: 0; background: transparent; font-weight: 600; padding: 6px 2px; cursor: pointer; max-width: 60vw; }
.cat__barra .search { max-width: 280px; min-width: 180px; }
.cat__barra .search input { min-height: 40px; font-size: 14px; }
.cgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 208px), 1fr)); gap: clamp(10px, 1.2vw, 18px); }
@media (max-width: 900px) {
  .cat__grid { grid-template-columns: 1fr; }
  .filtros { position: static; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
  .filtros details:not([open]) { padding-bottom: 12px; }
}
@media (max-width: 560px) { .filtros { grid-template-columns: 1fr; } .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }

.ccard { background: var(--white); border-radius: 22px; padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 0 var(--line-2), 0 10px 26px -20px rgba(0, 0, 0, .25); min-width: 0; border: 1px solid var(--line-2); }
.ccard__marca { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ccard__media { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; background: var(--tint, var(--beige)); overflow: hidden; }
.ccard__media img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .14)); transition: transform .4s var(--ease); }
.ccard__media:hover img { transform: translateY(-3px); }
.ccard__name { font-weight: 600; font-size: 14px; line-height: 1.3; text-decoration: none; min-height: 2.6em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ccard__formato { font-size: 12.5px; color: var(--ink-2); }
.ccard__pie { margin-top: auto; display: grid; gap: 8px; }
.ccard .buy { flex-wrap: nowrap; }
.ccard .buy .btn { background: var(--white); color: var(--ink); padding: 0 10px; }
.ccard .buy .btn:hover { background: var(--ink); color: #fff; }
.ccard .stepper { grid-template-columns: 30px minmax(34px, 44px) 30px; height: 38px; }
.ccard__lock { font-size: 12px; color: var(--ink-2); display: grid; gap: 8px; }
@media (max-width: 560px) { .ccard { padding: 10px 10px 12px; border-radius: 18px; } .ccard .buy { flex-wrap: wrap; } .ccard .stepper { width: 100%; grid-template-columns: 36px 1fr 36px; } .ccard .buy .btn { flex: 1 1 100%; } }

/* Precio: PVL unitario, PVP recomendado, formato de compra y total de la cantidad elegida */
.precio { display: grid; gap: 2px; }
.precio__pvl { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.precio__pvl small { font-size: 11.5px; font-weight: 500; color: var(--ink-2); }
.precio__pvl s { font-size: 12.5px; font-weight: 400; color: var(--mute); margin-right: 6px; }
.precio__lin { font-size: 12px; color: var(--ink-2); }
.precio__lin b { font-weight: 600; color: var(--ink); }
.precio__total { font-size: 12.5px; background: var(--beige); border-radius: 10px; padding: 6px 10px; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.precio__total b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.precio--ficha { gap: 10px; }
.precio--ficha .precio__pvl { font-size: 30px; }
.precio--ficha dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
.precio--ficha dt { color: var(--ink-2); }
.precio--ficha dd { margin: 0; font-weight: 600; }
.precio--ficha .precio__total { font-size: 15px; padding: 12px 14px; border-radius: 14px; }
.precio--ficha .precio__total b { font-size: 19px; }

/* Carrito: packs, muestra gratuita y aviso de ficha */
.cart-pack { border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin: 14px 0; display: grid; gap: 10px; background: var(--beige); }
.cart-pack__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.cart-pack ul { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--ink-2); display: grid; gap: 2px; }
.muestra { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: center; border-radius: 20px; padding: 14px; background: linear-gradient(105deg, var(--k-azul), #CFF3F2); margin-top: 16px; }
.muestra.is-on { outline: 2px solid var(--ink); }
.muestra__img { width: 84px; height: 84px; border-radius: 14px; background: #fff; overflow: hidden; }
.muestra__img img { width: 100%; height: 100%; object-fit: contain; }
.muestra b { display: block; font-size: 14.5px; }
.muestra p { margin: 2px 0 8px; font-size: 13px; color: var(--ink-2); }
.muestra .tag0 { display: inline-block; background: var(--ink); color: #fff; border-radius: 999px; font-size: 10.5px; font-weight: 600; padding: 2px 10px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.aviso-ficha { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--g-amarillo); color: var(--ink); border-radius: 18px; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }
.aviso-ficha p { margin: 0; flex: 1 1 260px; }

/* Área de cliente: barra y navegación */
.appbar { background: rgba(255, 255, 255, .94); }
.appnav a { font-weight: 500; font-size: 12.5px; letter-spacing: .03em; }
.tabbar a { font-weight: 500; }
.userbtn { font-weight: 600; border-color: var(--ink); }
.box { border-radius: 20px; }
.box h2, .box h3 { letter-spacing: .1em; }
.mostrador__card { background: var(--white); }
.sel { border: 1px solid var(--line-2); }
.foot { background: var(--beige); margin-top: clamp(48px, 6vw, 96px); border-top: 0; }
.komgo-page .foot a, .komgo-page .foot .link { color: var(--ink-2); }
.foot h4 { letter-spacing: .1em; font-weight: 700; }
.brandcard { border-radius: 30px; min-height: 0; }
.brandcard--koco { background: linear-gradient(105deg, #FFF1EC 0%, var(--k-rosa) 100%); }
.brandcard--komgo { background: linear-gradient(105deg, var(--k-azul) 0%, #CFF3F2 100%); color: var(--ink); }
.brandcard--koco h3, .brandcard--komgo h3 { font-size: clamp(20px, 2.2vw, 30px); font-weight: 700; text-transform: uppercase; line-height: 1.12; letter-spacing: 0; }
.brandcard--komgo .btn { background: var(--ink); border-color: var(--ink); }
.k-hero__circle { background: var(--teal); opacity: .9; border-radius: 58% 42% 52% 48% / 50% 54% 46% 50%; }
.k-step:nth-child(1) { background: #CFF3F2; }
.k-step:nth-child(3) { background: var(--k-rosa); }
.k-flavour--yuja { background: var(--yuja); }
.pcard__media { border-radius: 22px; }
.sel__thumb, .cart-line__thumb, .docficha__img, .bcard__media { border-radius: 14px; }
.mosaico__item.is-main { border-radius: 28px; }
.arch { border-radius: 30px; }

/* Ajustes tras la revisión visual */
.top .wordmark { flex-direction: column; align-items: flex-start; gap: 4px; }
.wordmark b { max-width: none; white-space: nowrap; }
.side .wordmark br, .admintop .wordmark br, .appbar .wordmark br { display: none; }
@media (max-width: 1380px) { .top .wordmark span { display: block; } }
@media (max-width: 400px) { .top .wordmark span { display: none; } }
.h-hero__in { min-height: clamp(400px, 36vw, 560px); }
.h-hero__in > * { max-width: min(540px, 38vw); }
.h-hero .display { font-size: clamp(28px, 3.9vw, 56px); }
@media (max-width: 760px) { .h-hero__in { min-height: 0; } .h-hero__in > * { max-width: none; } }
.sec--beige .pack, .appmain .pack { background: var(--white); }
.sec--beige .pack:nth-child(3n+2), .appmain .pack:nth-child(3n+2) { background: #FFF1EC; }
.sec--beige .pack:nth-child(3n), .appmain .pack:nth-child(3n) { background: var(--k-azul); }
.precio__total { flex-wrap: wrap; }
.precio__total > span { white-space: nowrap; }
.muestra__on { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 13px; }
@media (min-width: 761px) { .h-hero__in > * { max-width: min(500px, 33vw); } }
.section--cream { background: var(--beige); }

/* 27-11-2026: referencias sin precio confirmado y novedades aún sin stock («Próximamente») */
.precio-pendiente { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.precio--ficha .precio-pendiente { font-size: 20px; color: var(--ink); }
.precio--ficha .btn { justify-self: start; }
.ccard__lock .badge { justify-self: start; }
.pcard__prox { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; justify-content: center; font-size: 12px; color: var(--ink-2); }
.pcard__prox > span { white-space: nowrap; }
/* Activos con nombres largos (Rice Fit): en móvil el texto del dato se corta con «…» en vez de salirse por arriba. */
@media (max-width: 560px) { .mosaico__dato span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } }
/* Pasos con y sin foto en la misma fila: el texto de los pasos sin foto se alinea abajo, a la altura del de los que la llevan. */
.pasos:has(.paso__img) .paso:not(:has(.paso__img)) { align-content: end; }
