/* Diseño basado en el PDF "Catálogo Rediseñado DISTRIONLINE.LH" */
:root {
  --ink: #0f172a;
  --text: #334155;
  --text-soft: #475569;
  --muted: #64748b;
  --accent: #0284c7;
  --accent-ink: #0369a1;
  --line: #e2e8f0;
  --card: #f8fafc;
  --pill: #e0f2fe;
  --bg: #ffffff;
  --radius: 10px;
  --navy: #0b1f3a;
  --navy-2: #123a66;
  --sky: #7dd3fc;
  --amber: #fbbf24;
  --amber-ink: #3b2400;
  --font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Lexend', 'Source Sans 3', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
}
button, input, select { font: inherit; }
h1, h2, h3 { font-family: var(--font-head); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ── Encabezado profesional (página pública) ── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.masthead {
  background:
    radial-gradient(900px 340px at 85% -10%, rgba(56, 189, 248, 0.22), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}

/* Franja de beneficios en carrusel */
.ticker {
  position: relative;
  background: rgba(2, 8, 23, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ticker-in { position: relative; display: flex; align-items: center; justify-content: center; padding-top: 9px; padding-bottom: 24px; }
.ticker-slides { display: grid; width: 100%; }
.tk {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
.tk.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.tk-ico { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: rgba(125, 211, 252, 0.16); color: var(--sky); }
.tk-ico svg { width: 17px; height: 17px; }
.tk:first-child .tk-ico { background: var(--amber); color: var(--amber-ink); }
.tk-tx { display: grid; font-size: 14px; line-height: 1.3; text-align: left; }
.tk-tx strong { font-weight: 700; }
.tk-tx span { color: #cbd5e1; font-size: 13px; }
.ticker-dots { position: absolute; left: 0; right: 0; bottom: 2px; display: flex; justify-content: center; }
.dot { position: relative; width: 26px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; }
.dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.38); transform: translate(-50%, -50%); transition: width 0.25s, background 0.25s; }
.dot.is-on::after { width: 20px; background: var(--amber); }
@media (min-width: 820px) {
  .ticker-in { padding-bottom: 9px; }
  .ticker-dots { left: auto; right: 16px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .tk-tx { display: block; }
  .tk-tx strong::after { content: ' · '; font-weight: 400; color: #94a3b8; }
  .tk-tx span { font-size: 14px; }
}

/* Marca + slogan + aviso de envío */
.mh-main { display: grid; gap: 22px; padding-top: 30px; padding-bottom: 34px; align-items: center; }
@media (min-width: 820px) { .mh-main { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; padding-top: 42px; padding-bottom: 46px; } }
.mh-kicker { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); }
.mh-brand h1 { margin: 0; font-size: clamp(30px, 7vw, 46px); font-weight: 800; letter-spacing: -0.8px; line-height: 1.05; color: #fff; }
.mh-brand h1 span { color: var(--sky); }
.mh-slogan { margin: 12px 0 0; font-family: var(--font-head); font-size: clamp(21px, 4.6vw, 30px); font-weight: 600; line-height: 1.2; color: #fff; }
.mh-slogan::after { content: '.'; color: var(--amber); }
.mh-tag { margin: 10px 0 0; font-size: 14px; color: #cbd5e1; }
.mh-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn-main, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px; border-radius: 12px;
  font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.btn-main { background: #fff; color: var(--navy); }
.btn-main:hover { background: #e0f2fe; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-ghost svg { width: 20px; height: 20px; fill: #25d366; flex: none; }

.mh-ship {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--amber);
  color: var(--amber-ink);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.mh-ship-ico { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--amber-ink); color: var(--amber); }
.mh-ship-ico svg { width: 32px; height: 32px; }
.mh-ship strong { display: block; font-family: var(--font-head); font-size: clamp(18px, 4.2vw, 23px); font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.2px; }
.mh-ship span { display: block; margin-top: 5px; font-size: 14px; font-weight: 600; line-height: 1.35; }

@media (prefers-reduced-motion: reduce) {
  .tk, .dot::after, .btn-main, .btn-ghost { transition: none; }
  html { scroll-behavior: auto; }
}

.page { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* ── Encabezado ── */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding: 28px 0 14px;
  border-bottom: 3px solid var(--accent);
}
.brand h1 {
  margin: 0;
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--ink);
}
.brand h1 span { color: var(--accent); }
.sub {
  margin: 4px 0 0;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}
.meta { text-align: right; font-size: 13px; color: var(--text-soft); display: grid; gap: 2px; }
.meta strong { font-weight: 700; }

/* ── Buscador y categorías ── */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 -16px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.search {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>") no-repeat 14px center;
  color: var(--ink);
  font-size: 16px; /* 16px evita el zoom automático en iPhone */
}
.search:focus { outline: 2px solid var(--accent); outline-offset: 1px; background-color: #fff; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.chip:hover { border-color: var(--accent); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── Secciones ── */
.cat { padding-top: 22px; scroll-margin-top: 110px; }
.cat h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--ink);
}

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }

/* ── Tarjeta de producto ── */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  break-inside: avoid;
}
.card:hover { border-color: #bae6fd; box-shadow: 0 8px 22px rgba(2, 132, 199, 0.12); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }
.photo {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.noimg { font-size: 12px; color: var(--muted); }
.card h3 {
  margin: 0;
  min-height: 2.8em;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}
.price {
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--pill);
  color: var(--accent-ink);
  text-align: center;
  font-size: 16px;
  font-weight: 800;
}
.price--off { background: #f1f5f9; color: var(--muted); font-size: 13px; }
.card--off .photo { opacity: 0.45; }

.state { padding: 48px 0; text-align: center; color: var(--muted); }

footer {
  display: grid;
  gap: 14px;
  margin-top: 40px;
  padding: 34px max(16px, calc((100% - 1148px) / 2)) 96px;
  background:
    radial-gradient(800px 300px at 10% 110%, rgba(56, 189, 248, 0.18), transparent 70%),
    linear-gradient(200deg, var(--navy-2) 0%, var(--navy) 100%);
  font-size: 14px;
  color: #cbd5e1;
}
footer p { margin: 0; }
footer a { color: #e2e8f0; }
.foot-note { color: #cbd5e1; }
.foot-alcohol { font-weight: 600; color: #fff; }
.foot-ship {
  display: flex; align-items: center; gap: 12px;
  width: fit-content; max-width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--amber); color: var(--amber-ink);
  font-size: 14px; line-height: 1.35;
}
.foot-ship strong { font-family: var(--font-head); font-weight: 800; }
.foot-ship-ico { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--amber-ink); color: var(--amber); }
.foot-ship-ico svg { width: 20px; height: 20px; }
.foot-contact { display: flex; flex-wrap: wrap; gap: 8px; }
.fc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}
a.fc:hover { border-color: var(--sky); background: rgba(255, 255, 255, 0.12); }
.fc svg { width: 20px; height: 20px; flex: none; }
.fc--wa svg { color: #25d366; }
.fc--ig svg { color: #f472b6; }
.fc--fb svg { color: #60a5fa; }
.fc--off { opacity: 0.5; padding: 7px 11px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.foot-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }
.foot-links a:hover { text-decoration-color: #fff; }
.foot-links .arrep {
  padding: 3px 11px;
  border: 1px solid var(--sky);
  border-radius: 8px;
  color: var(--sky);
  font-weight: 700;
  text-decoration: none;
}
.foot-id { font-size: 13px; color: #94a3b8; }
.foot-sign {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: #94a3b8;
}
.foot-sign a { font-weight: 700; text-decoration: none; color: var(--sky); }
.foot-sign a:hover { text-decoration: underline; }

/* ── WhatsApp ── */
/* El plan gratis de Netlify superpone un cartel de 64 px abajo a la derecha:
   todo lo flotante queda por encima de esa franja. */
.wa {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 30;
  display: none;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}
.wa.is-on { display: grid; }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* ── Confirmación de edad ── */
dialog.age {
  width: min(420px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
dialog.age::backdrop { background: rgba(15, 23, 42, 0.96); }
.age-box { display: grid; gap: 14px; padding: 28px 24px; text-align: center; }
.age-box h2 { margin: 0; font-size: 24px; color: var(--ink); }
.age-box p { margin: 0; font-size: 14px; color: var(--text-soft); }
.age-yes {
  padding: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.age-yes:hover { background: var(--accent-ink); }
.age-no { font-size: 14px; font-weight: 600; color: var(--muted); }
.age-box .age-ship { padding: 10px 12px; border-radius: 10px; background: var(--amber); color: var(--amber-ink); font-size: 14px; font-weight: 600; }
.age-ship strong { display: block; font-family: var(--font-head); font-weight: 800; }

.ship-note {
  display: flex; align-items: center; gap: 10px;
  margin: 10px 0 0; padding: 10px 12px;
  border-radius: 10px;
  background: var(--amber); color: var(--amber-ink);
  font-size: 14px; line-height: 1.35;
}
.ship-note svg { width: 26px; height: 26px; flex: none; }

/* ── Pedido (carrito) ── */
.buy { min-height: 38px; }
.buy:empty { display: none; }
.add-btn {
  width: 100%;
  padding: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  background: #fff;
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.add-btn:hover { background: var(--pill); }

.stepper {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  height: 38px;
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.stepper button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.stepper button:hover { background: var(--accent-ink); }
.stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.stepper--sm { grid-template-columns: 32px 44px 32px; height: 32px; }
.stepper--sm button { font-size: 18px; }
.stepper--sm input { font-size: 15px; }

.cartbar {
  position: fixed;
  left: 50%;
  bottom: 76px;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(calc(100vw - 24px), 560px);
  padding: 13px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
  transform: translateX(-50%);
  cursor: pointer;
}
.cartbar[hidden] { display: none; }
.cartbar strong { font-size: 17px; font-weight: 800; }
.cb-go { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }
body.has-cart .wa { bottom: 148px; }
body.has-cart footer { padding-bottom: 170px; }

dialog.cart {
  width: min(520px, 100vw);
  max-width: 100vw;
  max-height: 100dvh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  color: var(--text);
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.4);
}
dialog.cart[open] { display: flex; flex-direction: column; max-height: min(92dvh, 760px); }
dialog.cart::backdrop { background: rgba(15, 23, 42, 0.55); }
@media (max-width: 560px) {
  dialog.cart { width: 100vw; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  dialog.cart[open] { max-height: 92dvh; }
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { margin: 0; font-size: 19px; color: var(--ink); }
.cart-head .x {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.cart-body { flex: 1; overflow-y: auto; padding: 4px 18px 14px; display: grid; gap: 12px; align-content: start; }
.cart-line {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line .thumb { grid-row: span 2; width: 52px; height: 52px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line .nm { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.cart-line .unit { font-size: 12px; color: var(--muted); }
.cart-line .sub { grid-column: 3; grid-row: 1; justify-self: end; font-weight: 800; color: var(--accent-ink); }
.cart-line .stepper { grid-column: 3; grid-row: 2; justify-self: end; }
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 15px;
  color: var(--text-soft);
}
.cart-total strong { font-size: 24px; font-weight: 800; color: var(--ink); }
.cart label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--text-soft); }
.cart label small { font-weight: 400; color: var(--muted); }
.cart input:not([type='number']), .cart textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  resize: vertical;
}
.cart input:focus, .cart textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.hint { margin: 0; font-size: 12px; color: var(--muted); }
.hint:empty { display: none; }
.cart-foot { padding: 12px 18px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: #fff; border-radius: 0 0 16px 16px; }
.send {
  display: block;
  padding: 14px;
  border-radius: 12px;
  background: #25d366;
  color: #04301a;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
}
.send[aria-disabled='true'] { background: #e2e8f0; color: var(--muted); pointer-events: none; }
.cart-sub { display: flex; justify-content: space-between; }
.link { border: 0; background: none; padding: 6px 2px; color: var(--accent-ink); font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.link--danger { color: #b91c1c; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 84px;
  z-index: 100;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-err { background: #b91c1c; }


/* ── Logo ── */
.mh-logo { margin: 0 0 4px; line-height: 0; }
.mh-logo img { display: block; width: min(290px, 74vw); height: auto; }
@media (min-width: 820px) { .mh-logo img { width: 380px; } }
.foot-logo { display: inline-block; width: fit-content; line-height: 0; }
.foot-logo img { display: block; width: 190px; height: auto; }
.masthead--legal .brand { display: flex; align-items: center; gap: 10px; }
.masthead--legal .brand-mark { display: block; width: 46px; height: auto; }
.age-logo { display: block; width: 190px; height: auto; margin: 0 auto -4px; }

/* ── Escritorio: filtro en columna izquierda (en celular queda arriba como siempre) ── */
.side-ship { display: none; }
@media (min-width: 900px) {
  .page--shop {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 0 30px;
    align-items: start;
    padding-top: 26px;
  }
  .page--shop .bar {
    position: sticky;
    top: 16px;
    z-index: 5;
    margin: 0;
    padding: 16px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    background: #fff;
    backdrop-filter: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.06);
    gap: 14px;
  }
  .page--shop .chips { flex-direction: column; gap: 2px; overflow: visible; padding: 0; }
  .page--shop .chips::before {
    content: 'Categorías';
    padding: 0 10px 6px;
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--muted);
  }
  .page--shop .chip {
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    font-size: 14px;
    white-space: normal;
  }
  .page--shop .chip:hover { background: #f1f5f9; }
  .page--shop .chip.is-active { background: var(--navy); color: #fff; }
  .page--shop .side-ship {
    display: block;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--amber);
    color: var(--amber-ink);
    font-size: 13px;
    line-height: 1.35;
  }
  .page--shop .side-ship strong { display: block; font-family: var(--font-head); font-weight: 800; }
  .page--shop .cat { scroll-margin-top: 20px; }
  .page--shop .cat:first-of-type, .page--shop #catalog > .cat:first-child { padding-top: 0; }
}

/* ── Páginas legales: mismo encabezado oscuro ── */
.masthead--legal .mh-legal { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; }
.masthead--legal .brand { text-decoration: none; }
.masthead--legal h1 { margin: 0; font-size: clamp(22px, 5vw, 28px); font-weight: 800; letter-spacing: -0.4px; color: #fff; }
.masthead--legal h1 span { color: var(--sky); }
.masthead--legal .back { color: #e2e8f0; font-weight: 600; }
.masthead--legal .back:hover { color: #fff; }

@media print {
  .bar, .wa, .buy, .cartbar { display: none !important; }
  .page { padding-bottom: 0; }
  .cat { scroll-margin-top: 0; }
}
