/* Visual system adapted from the public design of soynicafit.com
   (cream, ink, yellow, cyan; Unbounded / Figtree / IBM Plex Mono;
   sticky bar, side nav, sticker headline, offset label, pill controls).
   Brand copy, logo, photos and seasonal illustrations are Lotus only. */

:root {
  --bg: #f0e9df;
  --surface: #fffdf9;
  --sunk: #e6ddd0;
  --ink: #0a0a0a;
  --muted: #55504a;
  --line: #d9cfc1;
  --accent: #f9c600;
  --accent-ink: #000000;
  --accent-soft: #fbeba6;
  --blue: #30caf5;
  --leaf: #06617c;
  --leaf-soft: #cdeffa;
  --danger: #b3261e;
  --pumpkin: #9a4a0b;
  --pumpkin-soft: #f6dfc6;
  --cacao: #5a3b2a;
  --cacao-soft: #e8dccf;
  --xmas: #b0122b;
  --xmas-soft: #f8dde0;
  --shadow: 0 10px 30px rgba(10, 10, 10, 0.1);
  --f-display: "Unbounded", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 14px;
  --bar-h: 68px;
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050505;
    --surface: #141414;
    --sunk: #1e1e1e;
    --ink: #f0e9df;
    --muted: #aba398;
    --line: #2c2c2c;
    --accent: #f9c600;
    --accent-ink: #000000;
    --accent-soft: #3a3005;
    --blue: #30caf5;
    --leaf: #7fddf8;
    --leaf-soft: #0d3340;
    --danger: #ff8a80;
    --pumpkin: #f0a060;
    --pumpkin-soft: #33220f;
    --cacao: #d8b49e;
    --cacao-soft: #2b201a;
    --xmas: #ff8a94;
    --xmas-soft: #3a1418;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #050505;
  --surface: #141414;
  --sunk: #1e1e1e;
  --ink: #f0e9df;
  --muted: #aba398;
  --line: #2c2c2c;
  --accent: #f9c600;
  --accent-ink: #000000;
  --accent-soft: #3a3005;
  --blue: #30caf5;
  --leaf: #7fddf8;
  --leaf-soft: #0d3340;
  --danger: #ff8a80;
  --pumpkin: #f0a060;
  --pumpkin-soft: #33220f;
  --cacao: #d8b49e;
  --cacao-soft: #2b201a;
  --xmas: #ff8a94;
  --xmas-soft: #3a1418;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  padding-inline: 16px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img { max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, .label h2, .cathead h3 {
  font-family: var(--f-display);
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection { background: var(--accent); color: #000; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
}
.skip:focus { top: 10px; }

.wrap { max-width: var(--max); margin-inline: auto; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price {
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  white-space: nowrap;
}

/* Header */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  margin-inline: -16px;
  padding-inline: 16px;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 0;
  padding-bottom: 4px;
}
.bar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--bar-h);
}
.bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(-45deg, var(--xmas) 0 8px, var(--surface) 8px 16px);
  pointer-events: none;
}
.logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo img { height: 48px; width: auto; max-width: none; display: block; }
.menubtn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 11px;
  flex: none;
}
.menubtn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }
.cartbtn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  min-height: 44px;
}
.cartbtn:hover { filter: brightness(1.08); }

/* Shell + side nav */
.shell {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.side {
  position: sticky;
  top: 84px;
  max-height: calc(100vh - 100px);
  overflow: auto;
  padding: 20px 4px 24px;
  scrollbar-width: thin;
}
.sidehead { display: none; }
.sidecap {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 16px 12px 4px;
}
.side a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.3;
}
.side a span {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  color: inherit;
  opacity: 0.8;
}
.side a:hover { background: var(--sunk); color: var(--ink); }
.side a.on { background: var(--ink); color: var(--bg); }
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 55;
}

main { min-width: 0; padding-bottom: 12px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-block: 44px 56px;
}
.hero > * { min-width: 0; }
.hero h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero h1 em,
.hero h1 mark {
  font-style: normal;
  color: #000;
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero h1 em { background: var(--blue); }
.hero h1 mark { background: var(--accent); }
.lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 34em;
  margin-top: 18px;
}
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-size: 16px;
  min-height: 48px;
  background: transparent;
}
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.ghost { border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.small { padding: 8px 14px; font-size: 14px; min-height: 44px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--leaf-soft);
  color: var(--leaf);
}

.label {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 18px 20px;
  box-shadow: 8px 8px 0 var(--xmas);
  transform: rotate(-1.5deg);
  width: 100%;
  max-width: 420px;
  justify-self: end;
}
.label h2 {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  border-bottom: 10px solid var(--ink);
  padding-bottom: 8px;
}
.label .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 9px;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
}
.label .row:last-of-type { border-bottom: 5px solid var(--ink); }
.label .row b { font-weight: 700; white-space: nowrap; }
.label .row span { text-align: right; color: var(--muted); }
.label small {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
}

/* Menu */
section { padding-block: 48px; border-top: 1px solid var(--line); }
.sechead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 8px;
}
h2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  width: min(100%, 520px);
  justify-content: flex-end;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 14px;
  min-width: 0;
  flex: 1 1 220px;
  min-height: 44px;
}
.search input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  min-width: 0;
}
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.resultcount {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 8px 0 14px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 12px;
  margin-bottom: 8px;
  scrollbar-width: thin;
  position: sticky;
  top: calc(76px + env(safe-area-inset-top, 0px));
  z-index: 15;
  background: var(--bg);
}
.filters a {
  flex: none;
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.filters a.on,
.filters a[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
@media (min-width: 981px) {
  .filters { display: none; }
}

.catgroup { scroll-margin-top: 8px; }
.cathead {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 34px 0 14px;
}
.catgroup.is-first .cathead { margin-top: 4px; }
.cathead h3 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}
.cathead .catcount {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ph {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  overflow: hidden;
  background: var(--sunk);
}
.ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ph .mark {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ph.hasimg .mark {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.tag, .ribbon {
  z-index: 1;
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  max-width: calc(100% - 24px);
}
.tag.off, .ribbon {
  background: var(--xmas-soft);
  color: var(--danger);
  font-weight: 700;
}
.ph.hasimg .tag:not(.off) { top: auto; bottom: 12px; }

.tone-a { background: radial-gradient(circle at 80% 15%, var(--blue) 0 30%, transparent 31%), var(--leaf-soft); color: var(--leaf); }
.tone-b { background: radial-gradient(circle at 85% 20%, var(--surface) 0 28%, transparent 29%), var(--cacao-soft); color: var(--cacao); }
.tone-c { background: radial-gradient(circle at 82% 18%, var(--accent) 0 30%, transparent 31%), var(--accent-soft); color: var(--ink); }
.tone-d { background: radial-gradient(circle at 80% 15%, var(--surface) 0 30%, transparent 31%), var(--pumpkin-soft); color: var(--pumpkin); }
.tone-e { background: radial-gradient(circle at 80% 15%, var(--accent) 0 30%, transparent 31%), var(--leaf-soft); color: var(--leaf); }

.body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.body .top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.body h4 {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}
.desc { font-size: 14px; color: var(--muted); }
.desc.sizes {
  font-family: var(--f-mono);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--sunk);
  border-radius: 8px;
  padding: 7px 9px;
}
.badge {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--xmas-soft);
  color: var(--danger);
}
.card.off .ph img { filter: grayscale(0.45); }
.empty {
  padding: 40px 16px;
  text-align: center;
  color: var(--muted);
  border: 1.5px dashed var(--line);
  border-radius: var(--r);
  margin-top: 8px;
}
.note { font-size: 13.5px; color: var(--muted); margin-top: 22px; max-width: 62em; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding-block: 36px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
footer > * { min-width: 0; }
footer b { color: var(--ink); display: block; margin-bottom: 6px; }
.footlogo {
  height: 84px;
  width: auto;
  display: block;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.footlinks { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.footlinks a { text-decoration: none; color: var(--muted); font-weight: 600; }
.footlinks a:hover { color: var(--ink); }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 0px; }
  #menu { scroll-margin-top: 84px; }
  .shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .menubtn { display: flex; }
  .side {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    max-height: none;
    z-index: 60;
    background: var(--surface);
    padding: 16px 12px calc(28px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.25);
  }
  .side.open { transform: none; }
  .sidehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px 8px;
  }
  .sidehead b {
    font-family: var(--f-display);
    font-size: 18px;
    text-transform: uppercase;
  }
  .sidehead .x {
    border: 0;
    background: none;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
    width: 44px;
    height: 44px;
  }
  .filters {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .catgroup { scroll-margin-top: 156px; }
  .hero { padding-block: 28px 36px; gap: 28px; }
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .label { justify-self: stretch; max-width: none; width: calc(100% - 14px); transform: none; }
}

@media (max-width: 760px) {
  footer { grid-template-columns: 1fr; }
  section { padding-block: 32px; }
  .tools { width: 100%; justify-content: stretch; }
  .search { flex-basis: 100%; }
  .lede { font-size: 17px; }
}

@media (max-width: 380px) {
  .logo img { height: 38px; }
  .bar .wrap { gap: 10px; }
  .cartbtn { padding: 8px 12px; font-size: 14px; }
}

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

@media print {
  .bar, .side, .filters, .tools, .scrim, .skip, .ctas { display: none !important; }
  .shell { display: block; }
  body { background: #fff; color: #000; padding: 0; }
  .card { break-inside: avoid; box-shadow: none; }
  .hero { display: block; }
  .label { box-shadow: none; transform: none; }
}

/* card resumen eliminada */
.hero { grid-template-columns: 1fr; }
