/* ============================================================
   268 Padel Club · carta
   Papel cálido + tinta + un solo acento (rojo del club).
   Display condensada (Anton) para titulares; Archivo para leer.
   ============================================================ */

:root {
  /* superficie */
  --paper: #f5f1e8;
  --paper-2: #efe8db;
  --ink: #15130f;
  --ink-soft: #38332b;
  --muted: #6b6253;

  /* línea */
  --line: rgba(21, 19, 15, 0.14);
  --line-strong: rgba(21, 19, 15, 0.32);

  /* acento único */
  --red: #d21e26;
  --red-deep: #8e1116;
  --red-dark: #ff5f64;

  /* acción */
  --green: #0c7c3e;
  --green-dark: #0a6834;

  --paper-on-ink: #f3eee4;

  /* tipografía */
  --display: "Anton", "Arial Narrow", "Haettenschweiler", Impact, sans-serif;
  --body: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* forma */
  --radius: 2px;
  --radius-pill: 999px;

  --wrap: 1180px;
  --shadow: 0 18px 50px rgba(21, 19, 15, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

svg,
img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.section--dark :focus-visible,
.footer :focus-visible {
  outline-color: var(--paper-on-ink);
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 12px;
  top: -70px;
  z-index: 200;
  padding: 11px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip:focus {
  top: 12px;
}

/* ---------- barra superior ---------- */

.topbar {
  background: var(--ink);
  color: var(--paper);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-block: 8px;
}

.topbar-brand,
.topbar-note {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar-note {
  color: rgba(245, 241, 232, 0.55);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -28px;
  width: 280px;
  height: 240px;
  background-image: radial-gradient(var(--red) 2.1px, transparent 2.4px);
  background-size: 20px 20px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse at 68% 32%, #000 18%, transparent 70%);
  mask-image: radial-gradient(ellipse at 68% 32%, #000 18%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: end;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(30px, 5vw, 56px) clamp(26px, 4vw, 44px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  flex: none;
}

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}

.wordmark-num {
  font-family: var(--display);
  font-size: clamp(96px, 17vw, 196px);
  font-weight: 400;
  line-height: 0.76;
  letter-spacing: -0.015em;
}

.wordmark-name {
  margin-top: 3px;
  font-family: var(--display);
  font-size: clamp(23px, 3.5vw, 42px);
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.hero-copy {
  max-width: 42ch;
  margin: 18px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

.hero-card {
  align-self: end;
  border-top: 2px solid var(--ink);
  padding-top: 3px;
}

.hero-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.hero-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-value {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.hero-row .rate {
  justify-self: start;
}

/* ---------- tasa ---------- */

.rate {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.45);
  font-size: 11.5px;
  line-height: 1;
  white-space: nowrap;
}

.rate-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.rate-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.rate-date {
  font-size: 10px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rate-refresh {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-left: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.rate-refresh::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
}

.rate-refresh:hover {
  color: var(--ink);
  border-color: var(--line-strong);
}

.rate-refresh.is-spinning svg {
  animation: spin 0.9s linear infinite;
}

.rate.is-fallback {
  border-style: dashed;
}

.rate[hidden],
.cur[hidden],
.hero-row--rate[hidden],
.total-row[hidden] {
  display: none;
}

/* ---------- navegación sticky ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.navbar.is-stuck {
  box-shadow: 0 8px 26px rgba(21, 19, 15, 0.07);
}

.nav-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}

.search {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1 1 300px;
  max-width: 420px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(21, 19, 15, 0.07);
}

.search > svg {
  flex: none;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--body);
  font-size: 13.5px;
  outline: none;
}

.search input::placeholder {
  color: var(--muted);
  opacity: 1;
}

.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-clear {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 19, 15, 0.08);
  color: var(--ink-soft);
  cursor: pointer;
}

.search-clear:hover {
  background: var(--ink);
  color: var(--paper);
}

.search-clear[hidden] {
  display: none;
}

.search kbd {
  flex: none;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--body);
  font-size: 10px;
  color: var(--muted);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.rate--compact {
  padding: 4px 9px;
  background: none;
  border-color: var(--line);
}

.rate--compact .rate-refresh {
  display: none;
}

.cur {
  display: inline-flex;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.cur button {
  min-width: 54px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cur button + button {
  border-left: 1px solid var(--line-strong);
}

.cur button:hover {
  color: var(--ink);
}

.cur button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.chips {
  display: flex;
  gap: 8px;
  padding: 11px 0 12px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip-num {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.chip[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip[aria-current="true"] .chip-num {
  color: rgba(245, 241, 232, 0.55);
}

/* ---------- secciones ---------- */

.menu-root {
  min-height: 40vh;
}

.section {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 128px;
}

.section-pad {
  padding-block: clamp(30px, 4.5vw, 54px) clamp(26px, 4vw, 46px);
}

.section-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 20px;
}

.sec-num {
  padding-top: 9px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 4.3vw, 48px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.004em;
  text-transform: uppercase;
}

.sec-blurb {
  max-width: 52ch;
  margin: 9px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.section-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-note::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.section--dark {
  background: var(--ink);
  color: var(--paper-on-ink);
  border-bottom-color: var(--ink);
}

.section--dark .sec-num {
  color: var(--red-dark);
}

.section--dark .sec-blurb {
  color: rgba(243, 238, 228, 0.62);
}

.section--dark .section-note {
  color: rgba(243, 238, 228, 0.6);
}

.section--dark .item,
.section--dark .lrow {
  border-bottom-color: rgba(243, 238, 228, 0.14);
}

.section--dark .list-grid {
  display: block;
  column-count: 2;
  column-gap: clamp(24px, 4vw, 56px);
}

.section--dark .list {
  break-inside: avoid;
  margin-bottom: 16px;
}

/* ---------- ítems en tarjeta ---------- */

.items--cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  column-gap: clamp(24px, 4vw, 56px);
}

.items--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--line);
}

.item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.item-cat {
  margin: 0 0 1px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
}

.item-name {
  margin: 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.002em;
  overflow-wrap: break-word;
}

.price {
  flex: none;
  padding: 5px 7px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body[data-currency="VES"] .price,
body[data-currency="VES"] .lprice {
  font-size: 12px;
  letter-spacing: 0;
}

.item-desc {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  max-width: 58ch;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.item-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.item-meta {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.add {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.add .plus {
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-1px);
}

.add:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.add[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.section--dark .price {
  background: var(--paper);
  color: var(--ink);
}

.section--dark .item-desc,
.section--dark .item-meta {
  color: rgba(243, 238, 228, 0.6);
}

.section--dark .add {
  border-color: rgba(243, 238, 228, 0.3);
  color: var(--paper-on-ink);
}

.section--dark .add:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- opciones ---------- */

.opts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 2px;
}

.opts-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.opt-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opt {
  position: relative;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-soft);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.opt::after {
  content: "";
  position: absolute;
  inset: -7px;
}

.opt:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.opt[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.section--dark .opts-label {
  color: rgba(243, 238, 228, 0.6);
}

.section--dark .opt {
  border-color: rgba(243, 238, 228, 0.3);
  color: var(--paper-on-ink);
}

.section--dark .opt:hover {
  border-color: var(--paper);
}

.section--dark .opt[aria-pressed="true"] {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- listas con puntos guía ---------- */

.list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 10px clamp(24px, 4vw, 56px);
  align-items: start;
}

.list {
  min-width: 0;
}

.list--split {
  column-count: 2;
  column-gap: clamp(24px, 4vw, 56px);
}

.list--split .lrow {
  break-inside: avoid;
}

.lgroup {
  margin: 0 0 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.section--dark .lgroup {
  color: var(--red-dark);
}

.lrow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px dotted var(--line);
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.lrow:hover .lname {
  color: var(--red);
}

.section--dark .lrow:hover .lname {
  color: var(--red-dark);
}

.lname {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.15s ease;
}

.lnote {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}

.section--dark .lnote {
  color: rgba(243, 238, 228, 0.55);
}

.ldots {
  flex: 1 1 auto;
  min-width: 10px;
  border-bottom: 1px dotted var(--line-strong);
  transform: translateY(-2px);
  opacity: 0.7;
}

.section--dark .ldots {
  border-bottom-color: rgba(243, 238, 228, 0.32);
}

.lprice {
  flex: none;
  padding-left: 2px;
  font-size: 13.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lplus {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-left: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lrow:hover .lplus {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.section--dark .lplus {
  border-color: rgba(243, 238, 228, 0.3);
  color: rgba(243, 238, 228, 0.6);
}

.section--dark .lrow:hover .lplus {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ---------- extras ---------- */

.extras {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: 16px clamp(24px, 4vw, 56px);
  margin-block: clamp(28px, 4.5vw, 46px) clamp(44px, 6vw, 72px);
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  scroll-margin-top: 128px;
}

.extras-head .sec-num {
  display: block;
  padding-top: 0;
  margin-bottom: 6px;
}

.extras h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 3.4vw, 38px);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.extras .sec-blurb {
  margin-top: 7px;
}

/* ---------- resultados de búsqueda ---------- */

.results {
  padding-block: clamp(26px, 4vw, 44px) clamp(40px, 6vw, 72px);
  min-height: 50vh;
}

.results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.results-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.results-count {
  font-size: 11.5px;
  color: var(--muted);
}

.results-clear {
  margin-left: auto;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.results-clear:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.results .items--cards {
  margin-top: 14px;
}

mark {
  padding: 0 1px;
  border-radius: 1px;
  background: rgba(210, 30, 38, 0.14);
  color: var(--red-deep);
  font-weight: inherit;
}

.no-results {
  max-width: 58ch;
  padding-block: clamp(30px, 5vw, 52px) 10px;
}

.no-results h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.no-results p {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.suggest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.suggest button {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: none;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
}

.suggest button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.load-error {
  padding: 60px 0;
  font-size: 14px;
  color: var(--red-deep);
}

/* ---------- footer ---------- */

.footer {
  position: relative;
  overflow: hidden;
  padding-block: clamp(32px, 5vw, 52px) 22px;
  background: var(--ink);
  color: var(--paper-on-ink);
}

.footer::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -34px;
  width: 230px;
  height: 190px;
  background-image: radial-gradient(var(--red) 2.1px, transparent 2.4px);
  background-size: 18px 18px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse at 60% 60%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse at 60% 60%, #000, transparent 72%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
}

body.has-cart .footer {
  padding-bottom: 104px;
}

.footer-brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.footer-mark {
  font-family: var(--display);
  font-size: clamp(40px, 7vw, 62px);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.footer-name {
  font-family: var(--display);
  font-size: clamp(13px, 2vw, 18px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-dark);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 32px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 238, 228, 0.18);
}

.footer-label {
  margin: 0 0 5px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 238, 228, 0.5);
}

.footer-col p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(243, 238, 228, 0.82);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 26px;
  font-size: 10.5px;
  color: rgba(243, 238, 228, 0.5);
}

/* ---------- barra de pedido ---------- */

.cartbar[hidden] {
  display: none;
}

.cartbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
  background: linear-gradient(to top, rgba(245, 241, 232, 0.98) 38%, rgba(245, 241, 232, 0));
}

.cartbar-btn {
  display: flex;
  align-items: center;
  gap: 11px;
  width: min(100%, 540px);
  height: 56px;
  padding: 0 7px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(21, 19, 15, 0.28);
  pointer-events: auto;
}

.cartbar-btn.is-bump {
  animation: bump 0.3s ease;
}

.cartbar-count {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cartbar-label {
  flex: 1;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
}

.cartbar-total {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cartbar-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-left: 1px;
  border-radius: 50%;
  background: rgba(245, 241, 232, 0.12);
  font-size: 16px;
}

/* ---------- drawer ---------- */

.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 100;
}

.drawer-root[hidden] {
  display: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 19, 15, 0.45);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(462px, 100%);
  background: var(--paper);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.22);
  animation: drawer-in 0.26s cubic-bezier(0.22, 0.7, 0.3, 1);
}

.drawer::before {
  content: "";
  flex: none;
  height: 3px;
  background: var(--red);
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex: none;
  padding: 16px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.drawer-sub {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.drawer-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.drawer-close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 20px 22px;
}

.drawer-foot {
  flex: none;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
}

.cart-lines:empty {
  display: none;
}

.cline {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cline-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cline-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.cline-opts {
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--muted);
}

.cline-del {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  margin: -4px -4px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.cline-del:hover {
  background: rgba(21, 19, 15, 0.07);
  color: var(--red-deep);
}

.cline-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
}

.cline-unit {
  font-size: 10.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.cline-sub {
  font-size: 13.5px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stepper {
  display: inline-flex;
  align-items: center;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.stepper button {
  width: 34px;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.stepper button:hover {
  background: rgba(21, 19, 15, 0.06);
}

.stepper span {
  min-width: 26px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cline-note {
  margin-top: 6px;
}

.cline-note summary {
  display: inline-block;
  padding: 4px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}

.cline-note summary::-webkit-details-marker {
  display: none;
}

.cline-note summary::before {
  content: "+ ";
}

.cline-note[open] summary::before {
  content: "− ";
}

.cline-note input {
  width: 100%;
  height: 34px;
  margin-top: 4px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--body);
  font-size: 12px;
  color: var(--ink);
}

.cart-empty {
  padding: 30px 0 18px;
}

.cart-empty h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.cart-empty p {
  max-width: 32ch;
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.cart-empty button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.cart-empty button:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- checkout ---------- */

.checkout {
  padding-top: 18px;
}

.checkout-title {
  margin: 0 0 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.seg label {
  position: relative;
  display: grid;
  place-items: center;
  height: 42px;
  border-right: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.seg label:last-child {
  border-right: 0;
}

.seg input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.seg label:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
}

.seg label:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: -3px;
}

.mode-fields {
  display: flex;
  flex-direction: column;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 12px;
  min-width: 0;
}

.field label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--body);
  font-size: 13.5px;
  color: var(--ink);
}

.field input:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.field.is-error input {
  border-color: var(--red);
  background: #fdf4f4;
}

.field-err {
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--red-deep);
  font-weight: 500;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ---------- totales ---------- */

.totals {
  margin-bottom: 12px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 3px 0;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.total-row--muted {
  color: var(--muted);
}

.total-row--grand {
  margin-top: 5px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}

.total-alt {
  min-height: 15px;
  font-size: 10.5px;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--green);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease;
}

.wa:hover {
  background: var(--green-dark);
}

.wa.is-off {
  opacity: 0.5;
  pointer-events: none;
}

.drawer-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.link-btn {
  min-height: 32px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-btn:hover {
  color: var(--ink);
}

.dot-sep {
  color: var(--muted);
  font-size: 10px;
}

.drawer-note {
  margin: 6px 0 0;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
  color: var(--muted);
}

/* ---------- avisos ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 120;
  max-width: calc(100% - 32px);
  padding: 9px 15px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-size: 11.5px;
  line-height: 1.4;
  text-align: center;
  transform: translateX(-50%);
}

.toast[hidden] {
  display: none;
}

body.is-locked .toast {
  display: none;
}

.noscript {
  margin: 0;
  padding: 18px 20px;
  background: var(--paper-2);
  border-top: 1px solid var(--line-strong);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- animaciones ---------- */

@keyframes drawer-in {
  from {
    opacity: 0.6;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- adaptación ---------- */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-card {
    max-width: 540px;
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .topbar-note {
    display: none;
  }

  .hero::before {
    width: 190px;
    height: 170px;
    opacity: 0.4;
  }

  .hero-inner {
    gap: 22px;
  }

  .wordmark-num {
    font-size: clamp(104px, 34vw, 150px);
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 14px;
  }

  .nav-top {
    flex-wrap: wrap;
    gap: 9px;
  }

  .search {
    flex: 1 1 100%;
    max-width: none;
    height: 44px;
  }

  .search kbd {
    display: none;
  }

  .nav-tools {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  .rate--compact {
    font-size: 11px;
  }

  .chips {
    padding-bottom: 10px;
  }

  .chip {
    height: 44px;
  }

  .cur {
    height: 46px;
  }

  .rate-refresh {
    width: 32px;
    height: 32px;
  }

  .section {
    scroll-margin-top: 190px;
  }

  .section-head {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 16px;
  }

  .sec-num {
    padding-top: 7px;
    font-size: 10px;
  }

  .items--cards {
    grid-template-columns: 1fr;
  }

  .items--pair {
    grid-template-columns: 1fr;
  }

  .item {
    padding: 15px 0 13px;
  }

  .add {
    min-height: 44px;
  }

  .list--split {
    column-count: 1;
  }

  .list-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section--dark .list-grid {
    column-count: 1;
  }

  .extras {
    grid-template-columns: 1fr;
    scroll-margin-top: 190px;
  }

  .extras .sec-blurb {
    margin-bottom: 4px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .drawer {
    width: 100%;
  }

  .drawer-close {
    width: 44px;
    height: 44px;
  }

  .stepper {
    height: 46px;
  }

  .stepper button {
    width: 44px;
  }

  .cline-del {
    width: 44px;
    height: 44px;
  }

  .cart-empty button,
  .results-clear {
    min-height: 44px;
  }

  .link-btn {
    min-height: 44px;
  }

  .cline-note summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0;
  }

  .drawer-body {
    padding-inline: 18px;
  }

  .drawer-foot,
  .drawer-head {
    padding-inline: 18px;
  }

  .wa {
    min-height: 54px;
  }

  .toast {
    bottom: 88px;
  }
}

@media (max-width: 380px) {
  .wordmark-num {
    font-size: 92px;
  }

  .cartbar {
    padding-inline: 10px;
  }

  .cartbar-label {
    font-size: 9.5px;
    letter-spacing: 0.08em;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
