/* ═══════════════════════════════════════════════════════════════════
   ZOGIO — sistema visual
   Minimal y elegante: blanco, el gris de las fotos de producto
   (#F5F5F5, el mismo fondo que deja el recorte automático) y el
   carbón del logo. El rojo del logo se reserva para la marca, las
   ofertas y los detalles activos.
   Tipografía: Marcellus (romana, como el logo) para títulos y
   Albert Sans para lectura e interfaz.
   ═══════════════════════════════════════════════════════════════════ */

@font-face { font-family: 'Marcellus'; src: url('fonts/marcellus-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Albert Sans'; src: url('fonts/albertsans-latin.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }

:root {
  --rojo: #A10208;
  --rojo-hover: #7E0106;
  --rojo-suave: #F8ECEC;
  --bordo: #6E0105;
  --bordo-2: #4A0204;
  --rubor: #FBF4F3;
  --carbon: #2E3236;
  --tinta: #26292C;
  --grafito: #5E6166;
  --gris: #94969A;
  --linea: #E5E5E6;
  --perla: #F5F5F5;
  --perla-2: #FAFAFA;
  --papel: #FFFFFF;
  --ok: #2F6B4A;
  --ok-suave: #EEF5F0;
  --aviso: #8A5A12;

  --serif: 'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --sans: 'Albert Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --t-xs: .8125rem;
  --t-s: .9375rem;
  --t-m: 1.0625rem;
  --t-l: 1.25rem;
  --t-xl: 1.625rem;
  --t-2xl: clamp(1.9rem, 1.35rem + 2vw, 2.75rem);
  --t-3xl: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);

  --max: 1360px;
  --gutter: clamp(18px, 4vw, 48px);
  --header-h: 72px;

  --r: 4px;
  --r-panel: 10px;
  --ease: cubic-bezier(.25, .6, .2, 1);
}

/* ── Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--sans); font-size: var(--t-m); line-height: 1.6; color: var(--tinta); background: var(--papel); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--tinta); outline-offset: 3px; }
.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; }
.z-skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--tinta); color: #fff; padding: 10px 16px; text-decoration: none; }
.z-skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ── Tipografía ─────────────────────────────────────────────────── */
.z-h1, .z-h2, .z-h3, .z-serif { font-family: var(--serif); font-weight: 400; color: var(--tinta); }
.z-h1 { font-size: var(--t-3xl); line-height: 1.05; letter-spacing: -.01em; }
.z-h2 { font-size: var(--t-2xl); line-height: 1.1; letter-spacing: -.005em; }
.z-h3 { font-size: var(--t-l); line-height: 1.25; }
.z-lead { font-size: var(--t-m); line-height: 1.65; color: var(--grafito); max-width: 44ch; }
.z-muted { color: var(--grafito); }
.z-small { font-size: var(--t-xs); }
.z-num { font-variant-numeric: tabular-nums; }

/* ── Layout ─────────────────────────────────────────────────────── */
.z-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.z-section { padding-block: clamp(56px, 8vw, 120px); }
.z-section--tight { padding-block: clamp(36px, 5vw, 64px); }
.z-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.z-section__head p { color: var(--grafito); max-width: 46ch; }
.z-link { font-size: var(--t-s); font-weight: 500; color: var(--tinta); text-decoration: underline; text-decoration-color: var(--linea); text-underline-offset: 6px; transition: text-decoration-color .2s, color .2s; }
.z-link:hover { text-decoration-color: var(--rojo); color: var(--rojo); }

/* ── Botones ────────────────────────────────────────────────────── */
.z-btn {
  --bg: var(--rojo); --fg: #fff; --bd: var(--rojo);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd); border-radius: var(--r);
  font-size: var(--t-s); font-weight: 500; letter-spacing: .02em;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.z-btn:hover { --bg: var(--bordo); --bd: var(--bordo); }
.z-btn[disabled], .z-btn.is-disabled { --bg: var(--perla); --fg: var(--gris); --bd: var(--linea); cursor: not-allowed; }
.z-btn--ghost { --bg: transparent; --fg: var(--tinta); --bd: var(--tinta); }
.z-btn--ghost:hover { --bg: var(--tinta); --fg: #fff; }
.z-btn--light { --bg: #fff; --fg: var(--rojo); --bd: #fff; }
.z-btn--light:hover { --bg: var(--perla); --bd: var(--perla); }
.z-btn--dark { --bg: var(--carbon); --bd: var(--carbon); }
.z-btn--dark:hover { --bg: var(--tinta); --bd: var(--tinta); }
.z-btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .7); }
.z-btn--outline-light:hover { --bg: #fff; --fg: var(--rojo); --bd: #fff; }
.z-btn--rojo { --bg: var(--rojo); --bd: var(--rojo); }
.z-btn--rojo:hover { --bg: var(--rojo-hover); --bd: var(--rojo-hover); }
.z-btn--block { width: 100%; }
.z-btn--s { min-height: 42px; padding: 0 18px; font-size: var(--t-xs); }
.z-btn svg { width: 18px; height: 18px; flex: none; }
.z-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--tinta); text-decoration: none; position: relative; transition: color .15s; }
.z-iconbtn:hover { color: var(--rojo); }
.z-iconbtn svg { width: 21px; height: 21px; }

/* ── Franja + header ────────────────────────────────────────────── */
.z-strip { background: var(--bordo); color: rgba(255, 255, 255, .92); font-size: 12.5px; letter-spacing: .02em; text-align: center; padding: 9px var(--gutter); }
.z-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.z-header.is-scrolled { border-bottom-color: var(--linea); }
.z-header__in { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.z-logo { justify-self: center; display: flex; align-items: center; text-decoration: none; }
.z-logo span { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--rojo); letter-spacing: .02em; }
.z-nav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.z-nav a { display: block; padding: 8px 0; font-size: var(--t-s); text-decoration: none; color: var(--tinta); border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.z-nav a:hover { border-bottom-color: var(--tinta); }
.z-nav a[aria-current="page"] { border-bottom-color: var(--rojo); }
.z-header__tools { justify-self: end; display: flex; align-items: center; gap: 2px; }
.z-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rojo); color: #fff; font-size: 10.5px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; transition: transform .25s var(--ease); }
.z-badge[data-count="0"] { display: none; }
.z-badge.is-bump { transform: scale(1.3); }
.z-burger { display: none; }
@media (max-width: 1180px) {
  .z-nav, .z-header__tools .z-hide-m { display: none; }
  .z-burger { display: inline-grid; justify-self: start; }
  .z-logo span { font-size: 1.6rem; }
}
@media (max-width: 960px) { .z-header__in > .z-logo--sello { width: 80px; } }
@media (min-width: 1181px) and (max-width: 1360px) { .z-nav ul { gap: 14px; } .z-nav a { font-size: .9rem; } }

/* Menú mobile */
.z-menu { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto; background: var(--papel); transform: translateX(-100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.z-menu.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.z-menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--linea); }
.z-menu__links { list-style: none; margin: 0; padding: 16px var(--gutter); overflow-y: auto; }
.z-menu__links a { display: block; padding: 12px 0; font-family: var(--serif); font-size: 1.75rem; text-decoration: none; }
.z-menu__links a[aria-current="page"] { color: var(--rojo); }
.z-menu__foot { padding: 20px var(--gutter) 28px; display: grid; gap: 12px; border-top: 1px solid var(--linea); font-size: var(--t-s); }
.z-menu__foot a { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.z-menu__foot svg { width: 19px; height: 19px; color: var(--grafito); }

/* Buscador */
.z-search { position: fixed; inset: 0 0 auto 0; z-index: 95; background: var(--papel); border-bottom: 1px solid var(--linea); transform: translateY(-100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
.z-search.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.z-search form { display: flex; align-items: center; gap: 14px; height: calc(var(--header-h) + 36px); }
.z-search form > svg { width: 22px; height: 22px; color: var(--grafito); }
.z-search input { flex: 1; min-width: 0; border: 0; padding: 10px 0; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); background: transparent; outline: none; }
.z-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(38, 41, 44, .35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.z-scrim.is-on { opacity: 1; visibility: visible; transition: opacity .3s; }

/* ── HERO editorial ─────────────────────────────────────────────── */
.z-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: min(78vh, 760px); }
.z-hero__copy { display: grid; align-content: center; gap: 26px; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(40px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.z-hero__copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5.1rem); line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
.z-hero__copy .z-lead { font-size: var(--t-m); }
.z-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 6px; }
.z-hero__media { position: relative; background: var(--perla); display: grid; place-items: center; overflow: hidden; }
.z-hero__media img { width: 86%; max-width: 760px; height: auto; max-height: 80%; object-fit: contain; }
.z-hero__media .z-hero__sello { width: min(56%, 360px); border-radius: 50%; }
.z-hero__caption { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px); display: grid; gap: 2px; font-size: var(--t-xs); text-decoration: none; color: var(--grafito); }
.z-hero__caption strong { font-family: var(--serif); font-weight: 400; font-size: var(--t-l); color: var(--tinta); }
.z-hero__caption:hover strong { color: var(--rojo); }
@media (max-width: 860px) {
  .z-hero { grid-template-columns: 1fr; min-height: 0; }
  .z-hero__media { order: -1; aspect-ratio: 1 / 1; }
  .z-hero__copy { padding: 36px var(--gutter) 8px; gap: 20px; }
}

/* ── Categorías: una fila, la principal (más productos) más ancha ── */
.z-cats { display: grid; grid-template-columns: 1.7fr repeat(var(--n, 3), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.z-cats--1 { grid-template-columns: 1fr; }
.z-cat { position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; height: clamp(340px, 34vw, 480px); background: var(--perla); border-radius: var(--r-panel); overflow: hidden; text-decoration: none; }
.z-cat__img { display: grid; place-items: center; padding: 12% 12% 0; min-height: 0; }
.z-cat__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.z-cat:first-child .z-cat__img { padding: 8% 10% 0; }
.z-cat:hover .z-cat__img img { transform: scale(1.04); }
.z-cat__txt { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 20px 18px; }
.z-cat__txt strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.25rem, 1rem + .8vw, 1.7rem); line-height: 1.1; }
.z-cat:first-child .z-cat__txt strong { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.5rem); }
.z-cat__txt span { font-size: var(--t-xs); color: var(--grafito); white-space: nowrap; }
.z-cat:hover .z-cat__txt strong { color: var(--rojo); }
@media (max-width: 860px) {
  .z-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .z-cat { height: 260px; }
  .z-cat:first-child { grid-column: 1 / -1; height: 360px; }
  .z-cat:last-child:nth-child(even) { grid-column: 1 / -1; height: 240px; }
  .z-cat:not(:first-child) .z-cat__txt span { display: none; }
  .z-cat__txt { padding: 12px 16px 14px; }
}

/* ── Tarjeta de producto ────────────────────────────────────────── */
.z-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 52px) clamp(12px, 1.5vw, 22px); }
.z-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .z-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .z-grid, .z-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.z-card { position: relative; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.z-card__media { position: relative; aspect-ratio: 4 / 5; background: var(--perla); border-radius: var(--r-panel); overflow: hidden; }
.z-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 9%; transition: transform .6s var(--ease); }
.z-card:hover .z-card__media img { transform: scale(1.04); }
.z-card__vacio { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gris); }
.z-card__vacio svg { width: 44%; opacity: .45; stroke-width: 1.2px; }
.z-card__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 12px; letter-spacing: .03em; color: var(--grafito); }
.z-card__tag--oferta { color: var(--rojo); font-weight: 600; }
.z-card__add { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border: 0; border-radius: var(--r); background: rgba(255, 255, 255, .94); color: var(--tinta); font-size: 13px; font-weight: 500; letter-spacing: .02em; transition: opacity .25s var(--ease), transform .25s var(--ease), background-color .2s; }
.z-card__add svg { width: 16px; height: 16px; }
.z-card__add:hover { background: var(--carbon); color: #fff; }
@media (hover: hover) and (min-width: 761px) { .z-card__add { opacity: 0; transform: translateY(8px); } .z-card:hover .z-card__add, .z-card__add:focus-visible { opacity: 1; transform: none; } }
@media (hover: none), (max-width: 760px) { .z-card__add { left: auto; width: 38px; height: 38px; padding: 0; border-radius: 50%; } .z-card__add span { display: none; } }
.z-card__body { display: grid; align-content: start; gap: 3px; padding-top: 14px; }
.z-card__name { font-size: var(--t-s); line-height: 1.4; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.z-card__name::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.z-card__price { display: flex; align-items: baseline; gap: 10px; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.z-card__price strong { font-weight: 600; }
.z-card__price s { font-size: var(--t-xs); color: var(--gris); }
.z-card--oferta .z-card__price strong { color: var(--rojo); }
.z-card__cat, .z-card__talles { font-size: 12.5px; color: var(--gris); }

/* ── Bloque de marca ────────────────────────────────────────────── */
.z-brand { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); border-block: 1px solid var(--linea); }
.z-brand img { width: clamp(120px, 14vw, 190px); border-radius: 50%; }
.z-brand p.z-serif { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.3; max-width: 30ch; }
.z-brand__links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 22px; }
@media (max-width: 760px) { .z-brand { grid-template-columns: 1fr; } .z-brand img { width: 110px; } }

/* ── Beneficios ─────────────────────────────────────────────────── */
.z-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.z-perk { display: grid; gap: 6px; align-content: start; }
.z-perk svg { width: 24px; height: 24px; color: var(--tinta); margin-bottom: 8px; stroke-width: 1.4; }
.z-perk strong { font-weight: 500; }
.z-perk p { font-size: var(--t-s); color: var(--grafito); max-width: 34ch; }
@media (max-width: 760px) { .z-perks { grid-template-columns: 1fr; gap: 26px; } }

/* ── Footer ─────────────────────────────────────────────────────── */
.z-footer { margin-top: clamp(56px, 8vw, 120px); background: var(--perla); color: var(--grafito); font-size: var(--t-s); }
.z-footer a { text-decoration: none; }
.z-footer a:hover { color: var(--tinta); text-decoration: underline; }
.z-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-block: clamp(48px, 6vw, 80px); }
.z-footer__brand { display: grid; gap: 14px; align-content: start; }
.z-footer__brand .z-logo { justify-self: start; }
.z-footer__brand .z-logo span { font-size: 2.6rem; }
.z-footer__brand p { max-width: 34ch; }
.z-footer h3 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; color: var(--tinta); letter-spacing: .04em; margin-bottom: 16px; }
.z-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.z-footer__news { display: flex; margin-top: 8px; border-bottom: 1px solid var(--tinta); max-width: 380px; }
.z-footer__news input { flex: 1; min-width: 0; background: transparent; border: 0; padding: 10px 0; color: var(--tinta); outline: none; }
.z-footer__news input::placeholder { color: var(--gris); }
.z-footer__news button { background: none; border: 0; color: var(--tinta); font-weight: 600; padding: 0 2px; }
.z-footer__bottom { border-top: 1px solid var(--linea); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; font-size: var(--t-xs); }
.z-footer__social { display: flex; gap: 4px; }
.z-footer__social a { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--tinta); }
.z-footer__social a:hover { color: var(--rojo); }
.z-footer__social svg { width: 19px; height: 19px; }
@media (max-width: 860px) { .z-footer__grid { grid-template-columns: 1fr 1fr; } .z-footer__brand { grid-column: 1 / -1; } }

/* ── Página interna ─────────────────────────────────────────────── */
.z-pagehead { padding-block: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 36px); }
.z-pagehead .z-lead { margin-top: 14px; }
.z-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-xs); color: var(--gris); margin-bottom: 16px; list-style: none; padding: 0; }
.z-crumbs a { text-decoration: none; }
.z-crumbs a:hover { color: var(--tinta); }
.z-crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--linea); }

/* ── Tienda ─────────────────────────────────────────────────────── */
.z-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--linea); margin-bottom: 22px; }
.z-tabs::-webkit-scrollbar { display: none; }
.z-tabs a { flex: none; padding: 12px 0; font-size: var(--t-s); text-decoration: none; color: var(--grafito); border-bottom: 1px solid transparent; margin-bottom: -1px; }
.z-tabs a:hover { color: var(--tinta); }
.z-tabs a[aria-current="page"] { color: var(--tinta); border-bottom-color: var(--tinta); }
.z-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.z-toolbar__count { font-size: var(--t-s); color: var(--grafito); }
.z-toolbar__right { display: flex; gap: 10px; align-items: center; }
.z-select.z-select--bare { border: 0; min-height: 40px; padding: 0 30px 0 4px; background-position: right 4px center; font-size: var(--t-s); }
.z-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 26px; }
.z-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 14px; border: 1px solid var(--linea); border-radius: 999px; font-size: var(--t-xs); text-decoration: none; }
.z-pill svg { width: 14px; height: 14px; }
.z-pill:hover { border-color: var(--tinta); }
/* Panel de filtros: cajón lateral en escritorio, hoja inferior en mobile */
.z-filters { position: fixed; top: 0; right: 0; bottom: 0; z-index: 92; width: min(420px, 100%); display: grid; grid-template-rows: auto 1fr auto; background: var(--papel); transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
.z-filters.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.z-filters__close { display: flex; justify-content: space-between; align-items: center; height: var(--header-h); padding-inline: 28px; border-bottom: 1px solid var(--linea); }
.z-filters__body { overflow-y: auto; padding: 24px 28px; display: grid; gap: 30px; align-content: start; }
.z-filters__foot { padding: 18px 28px 24px; border-top: 1px solid var(--linea); display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.z-filters__group { display: grid; gap: 14px; }
.z-filters__title { font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; color: var(--tinta); }
@media (max-width: 640px) { .z-filters { top: auto; width: 100%; max-height: 88vh; border-radius: var(--r-panel) var(--r-panel) 0 0; transform: translateY(100%); } }
.z-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.z-size { position: relative; }
.z-size input { position: absolute; opacity: 0; pointer-events: none; }
.z-size span { display: grid; place-items: center; height: 44px; border: 1px solid var(--linea); border-radius: var(--r); font-size: var(--t-s); font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.z-size span:hover { border-color: var(--tinta); }
.z-size input:checked + span { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.z-size input:focus-visible + span { outline: 2px solid var(--tinta); outline-offset: 2px; }
.z-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.z-catlist label, .z-check { display: flex; align-items: center; gap: 12px; padding: 6px 0; cursor: pointer; font-size: var(--t-s); }
.z-catlist input, .z-check input { accent-color: var(--carbon); width: 17px; height: 17px; }
.z-price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.z-empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(56px, 9vw, 120px) 16px; background: var(--perla-2); border-radius: var(--r-panel); }
.z-empty svg { width: 88px; height: 44px; color: var(--gris); stroke-width: 1.2px; }
.z-empty p { color: var(--grafito); max-width: 42ch; }
.z-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.z-pager a, .z-pager span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; text-decoration: none; font-variant-numeric: tabular-nums; border-bottom: 1px solid transparent; }
.z-pager a:hover { border-bottom-color: var(--tinta); }
.z-pager [aria-current="page"] { border-bottom-color: var(--rojo); }

/* ── Formularios ────────────────────────────────────────────────── */
.z-field { display: grid; gap: 7px; }
.z-field label, .z-label { font-size: var(--t-xs); font-weight: 500; color: var(--grafito); }
.z-field label em, .z-label em { color: var(--rojo); font-style: normal; }
.z-input, .z-select, .z-textarea { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid var(--linea); border-radius: var(--r); background: var(--papel); font-size: 16px; transition: border-color .15s; }
.z-textarea { min-height: 140px; resize: vertical; }
.z-select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--papel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2326292C' stroke-width='1.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.z-input:hover, .z-select:hover, .z-textarea:hover { border-color: var(--gris); }
.z-input:focus, .z-select:focus, .z-textarea:focus { outline: none; border-color: var(--tinta); }
.z-form { display: grid; gap: 18px; }
.z-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.z-form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .z-form__row, .z-form__row--3 { grid-template-columns: 1fr; } }
.z-hp { position: absolute !important; left: -9999px !important; }

.z-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); font-size: var(--t-s); background: var(--perla); }
.z-alert svg { flex: none; width: 19px; height: 19px; margin-top: 2px; }
.z-alert--ok { background: var(--ok-suave); color: var(--ok); }
.z-alert--error { background: var(--rojo-suave); color: var(--rojo-hover); }
.z-alert--info { background: var(--perla); }

/* Toast */
.z-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none; }
.z-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--r); background: var(--carbon); color: #fff; font-size: var(--t-s); box-shadow: 0 12px 32px rgba(38, 41, 44, .22); animation: z-toast-in .3s var(--ease); }
.z-toast svg { flex: none; width: 18px; height: 18px; }
.z-toast--error { background: var(--rojo); }
.z-toast a { color: #fff; margin-left: auto; white-space: nowrap; font-weight: 600; }
.z-toast.is-out { opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
@keyframes z-toast-in { from { opacity: 0; transform: translateY(12px); } }

/* Diálogos */
.z-dialog { width: min(540px, calc(100% - 24px)); max-height: min(88vh, 860px); padding: 0; border: 0; border-radius: var(--r-panel); background: var(--papel); color: var(--tinta); box-shadow: 0 30px 80px rgba(38, 41, 44, .28); }
.z-dialog--wide { width: min(760px, calc(100% - 24px)); }
.z-dialog::backdrop { background: rgba(38, 41, 44, .4); }
.z-dialog[open] { animation: z-dialog-in .3s var(--ease); }
@keyframes z-dialog-in { from { opacity: 0; transform: translateY(12px); } }
.z-dialog__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 26px; background: var(--papel); border-bottom: 1px solid var(--linea); }
.z-dialog__body { padding: 22px 26px 26px; display: grid; gap: 20px; }
@media (max-width: 640px) {
  .z-dialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: var(--r-panel) var(--r-panel) 0 0; }
}

/* Selector rápido */
.z-qa__prod { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; }
.z-qa__prod img, .z-qa__prod .z-qa__ph { width: 72px; height: 88px; object-fit: contain; padding: 6px; background: var(--perla); border-radius: var(--r); }
.z-qa__prod strong { display: block; font-weight: 500; line-height: 1.35; }
.z-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.z-opt { min-width: 54px; height: 48px; padding: 0 14px; border: 1px solid var(--linea); border-radius: var(--r); background: var(--papel); font-size: var(--t-s); font-variant-numeric: tabular-nums; position: relative; transition: border-color .15s, background-color .15s, color .15s; }
.z-opt:hover { border-color: var(--tinta); }
.z-opt.is-selected, .z-opt[aria-pressed="true"] { background: var(--carbon); border-color: var(--carbon); color: #fff; }
.z-opt[disabled] { color: var(--gris); background: var(--perla-2); cursor: not-allowed; text-decoration: line-through; text-decoration-color: var(--gris); }
.z-opt--color { height: 42px; }
.z-opts--swatch { gap: 10px; }
.z-opt--foto { height: auto; min-width: 0; width: 84px; padding: 6px 6px 8px; display: grid; justify-items: center; gap: 6px; font-size: 12px; }
.z-opt--foto img, .z-opt--foto i { width: 64px; height: 64px; border-radius: 10px; background: var(--perla); object-fit: contain; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.z-opt--foto span { line-height: 1.2; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.z-opt--foto[aria-pressed="true"] { background: var(--papel); color: var(--tinta); border-color: var(--rojo); box-shadow: 0 0 0 1px var(--rojo); }
.z-opt__low { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); padding: 0 6px; background: var(--papel); color: var(--rojo); font-size: 10.5px; line-height: 15px; white-space: nowrap; }
.z-opt[aria-pressed="true"] .z-opt__low { background: var(--carbon); color: #ffb3b5; }

/* ── Ficha de producto ──────────────────────────────────────────── */
.z-pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.z-gallery { display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.z-gallery__main { position: relative; aspect-ratio: 1 / 1; max-height: max(340px, calc(100vh - var(--header-h) - 260px)); width: 100%; border-radius: var(--r-panel); background: var(--perla); overflow: hidden; }
.z-gallery__track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -3px; }
.z-gallery__track::-webkit-scrollbar { display: none; }
.z-gallery__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.z-gallery__slide img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.z-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .3s; }
.z-gallery__main img.is-loading { opacity: .3; }
.z-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; }
.z-gallery__nav svg { width: 18px; height: 18px; }
.z-gallery__nav--prev { left: 14px; }
.z-gallery__nav--next { right: 14px; }
.z-gallery__count { position: absolute; z-index: 2; bottom: 16px; left: 50%; transform: translateX(-50%); font-size: 12px; color: var(--grafito); font-variant-numeric: tabular-nums; }
.z-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.z-thumbs button { flex: none; width: 68px; height: 68px; cursor: pointer; padding: 4px; border: 1px solid transparent; border-radius: var(--r); background: var(--perla); overflow: hidden; }
.z-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.z-thumbs button[aria-current="true"] { border-color: var(--rojo); box-shadow: 0 0 0 1px var(--rojo); }
.z-buy { display: grid; gap: 26px; }
.z-buy__name { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.1; text-wrap: balance; }
.z-buy__price { display: grid; gap: 6px; }
.z-buy__price-main { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.z-buy__price-main strong { font-size: var(--t-xl); font-weight: 500; }
.z-buy__price-main s { color: var(--gris); }
.z-buy__off { font-size: var(--t-xs); color: var(--rojo); font-weight: 600; }
.z-buy__transfer { font-size: var(--t-s); color: var(--grafito); }
.z-buy__group { display: grid; gap: 14px; }
.z-buy__group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--t-s); }
.z-buy__group-head span em { font-style: normal; color: var(--grafito); margin-left: 6px; }
.z-buy__guide { background: none; border: 0; padding: 0; font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 4px; color: var(--grafito); }
.z-buy__guide:hover { color: var(--tinta); }
.z-buy__hint { font-size: var(--t-xs); color: var(--grafito); min-height: 1.2em; }
.z-buy__hint.is-low { color: var(--rojo); }
.z-buy__actions { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.z-qty { display: inline-grid; grid-template-columns: 42px 40px 42px; align-items: center; height: 52px; border: 1px solid var(--linea); border-radius: var(--r); }
.z-qty button { height: 100%; border: 0; background: none; font-size: 1.15rem; color: var(--grafito); }
.z-qty button:hover { color: var(--tinta); }
.z-qty input { width: 40px; height: 100%; border: 0; text-align: center; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; }
.z-qty input::-webkit-inner-spin-button, .z-qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.z-acc { border-top: 1px solid var(--linea); }
.z-acc details { border-bottom: 1px solid var(--linea); }
.z-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: var(--t-s); }
.z-acc summary::-webkit-details-marker { display: none; }
.z-acc summary::after { content: ''; width: 9px; height: 9px; border-right: 1.3px solid var(--tinta); border-bottom: 1.3px solid var(--tinta); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
.z-acc details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
.z-acc__body { padding: 0 0 20px; font-size: var(--t-s); color: var(--grafito); display: grid; gap: 10px; }
.z-buy__desc { font-size: var(--t-s); color: var(--grafito); white-space: pre-line; max-width: 62ch; }
.z-sticky-buy { display: none; }
@media (max-width: 960px) {
  .z-pdp { grid-template-columns: 1fr; }
  .z-gallery { position: static; margin-inline: calc(var(--gutter) * -1); }
  .z-gallery__main { border-radius: 0; }
  .z-thumbs { padding-inline: var(--gutter); }
  .z-sticky-buy { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--linea); transform: translateY(110%); transition: transform .3s var(--ease); }
  .z-sticky-buy.is-on { transform: none; }
  .z-sticky-buy div { flex: 1; min-width: 0; line-height: 1.25; }
  .z-sticky-buy strong { display: block; font-weight: 600; font-variant-numeric: tabular-nums; }
  .z-sticky-buy span { font-size: 12px; color: var(--grafito); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
}
.z-reels { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.z-reel { position: relative; flex: none; width: min(240px, 62vw); aspect-ratio: 9 / 16; border-radius: var(--r-panel); overflow: hidden; background: var(--carbon); scroll-snap-align: start; border: 0; padding: 0; }
.z-reel video { width: 100%; height: 100%; object-fit: cover; }
.z-reel__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; transition: opacity .2s; }
.z-reel__play svg { width: 52px; height: 52px; }
.z-reel.is-playing .z-reel__play { opacity: 0; }

.z-table { width: 100%; border-collapse: collapse; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.z-table th { text-align: left; font-size: var(--t-xs); color: var(--grafito); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--tinta); }
.z-table td { padding: 11px 12px; border-bottom: 1px solid var(--linea); }
.z-table tr.is-match td { background: var(--perla); color: var(--rojo); }

/* ── Guía de talles: medidor ────────────────────────────────────── */
.z-medidor { display: grid; gap: 22px; padding: clamp(24px, 4vw, 48px); background: var(--perla); border-radius: var(--r-panel); }
.z-medidor__top { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 16px; }
.z-medidor__dato { display: grid; gap: 4px; padding-bottom: 14px; }
.z-medidor__label { font-size: var(--t-xs); color: var(--grafito); }
.z-medidor__cm { font-family: var(--serif); font-size: var(--t-2xl); line-height: 1; font-variant-numeric: tabular-nums; }
.z-medidor__eq { font-size: var(--t-xs); color: var(--grafito); max-width: 32ch; }
.z-medidor__numero { font-family: var(--serif); font-size: clamp(5.5rem, 3rem + 9vw, 10rem); line-height: .82; color: var(--rojo); font-variant-numeric: tabular-nums; }
.z-medidor__numero.is-tick { animation: z-tick .25s var(--ease); }
@keyframes z-tick { from { opacity: .4; } to { opacity: 1; } }
.z-pie { position: relative; height: clamp(64px, 8vw, 96px); overflow: hidden; }
.z-pie svg { position: absolute; bottom: 0; left: calc(15px + var(--k, .5) * (100% - 30px)); width: min(58%, 300px); height: auto; transform: translateX(-96%); color: var(--tinta); stroke-width: 1.3px; }
.z-regla { position: relative; padding: 4px 15px 0; }
.z-regla__escala { height: 26px; border-top: 1px solid var(--tinta);
  background: repeating-linear-gradient(90deg, var(--tinta) 0 1px, transparent 1px calc(100% / 8.5)) top left / 100% 16px no-repeat,
              repeating-linear-gradient(90deg, var(--gris) 0 1px, transparent 1px calc(100% / 85)) top left / 100% 7px no-repeat; }
.z-regla__nums { position: relative; height: 18px; font-size: 11px; color: var(--grafito); font-variant-numeric: tabular-nums; }
.z-regla__nums span { position: absolute; top: 0; transform: translateX(-50%); }
.z-regla input[type="range"] { position: absolute; inset: -14px 0 auto 0; width: 100%; height: 48px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: ew-resize; }
.z-regla input[type="range"]::-webkit-slider-runnable-track { height: 48px; background: transparent; }
.z-regla input[type="range"]::-moz-range-track { height: 48px; background: transparent; }
.z-regla input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 48px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 48'%3E%3Cpath d='M15 10v38' stroke='%23A10208' stroke-width='1.5'/%3E%3Ccircle cx='15' cy='9' r='6' fill='%23A10208'/%3E%3C/svg%3E") center / contain no-repeat; }
.z-regla input[type="range"]::-moz-range-thumb { width: 30px; height: 48px; border: 0; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 48'%3E%3Cpath d='M15 10v38' stroke='%23A10208' stroke-width='1.5'/%3E%3Ccircle cx='15' cy='9' r='6' fill='%23A10208'/%3E%3C/svg%3E") center / contain no-repeat; }
.z-regla input[type="range"]:focus-visible { outline: none; }
.z-regla input[type="range"]:focus-visible + .z-regla__escala { box-shadow: 0 -3px 0 var(--rojo-suave); }
.z-medidor__ayuda { font-size: var(--t-xs); color: var(--grafito); max-width: 70ch; }
.z-medidor__cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.z-steps { list-style: none; counter-reset: paso; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.z-steps li { counter-increment: paso; display: grid; gap: 8px; font-size: var(--t-s); color: var(--grafito); }
.z-steps li::before { content: counter(paso); font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--rojo); }
.z-steps strong { color: var(--tinta); font-weight: 500; }
@media (max-width: 760px) { .z-steps { grid-template-columns: 1fr; gap: 22px; } }

/* ── Carrito ────────────────────────────────────────────────────── */
.z-cart { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.z-cart__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linea); }
.z-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--linea); transition: opacity .25s, transform .25s; }
.z-line.is-removing { opacity: 0; transform: translateX(16px); }
.z-line__img { width: 110px; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--perla); overflow: hidden; }
.z-line__img img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.z-line__info { display: grid; align-content: start; gap: 6px; }
.z-line__info a { text-decoration: none; line-height: 1.35; }
.z-line__info a:hover { text-decoration: underline; }
.z-line__meta { font-size: var(--t-xs); color: var(--grafito); display: flex; gap: 14px; flex-wrap: wrap; }
.z-line__meta b { color: var(--tinta); font-weight: 500; }
.z-line__side { display: grid; justify-items: end; align-content: space-between; gap: 10px; }
.z-line__price { font-weight: 500; font-variant-numeric: tabular-nums; }
.z-line__remove { background: none; border: 0; padding: 4px 0; color: var(--grafito); font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 3px; }
.z-line__remove:hover { color: var(--rojo); }
.z-line .z-qty { height: 40px; grid-template-columns: 36px 34px 36px; }
.z-line .z-qty input { width: 34px; }
@media (max-width: 640px) {
  .z-line { grid-template-columns: 84px minmax(0, 1fr); }
  .z-line__img { width: 84px; }
  .z-line__side { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; justify-content: space-between; }
}
.z-summary { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; padding: clamp(22px, 2.5vw, 32px); background: var(--perla-2); border: 1px solid var(--linea); border-radius: var(--r-panel); }
.z-summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-s); font-variant-numeric: tabular-nums; }
.z-summary__row--ok { color: var(--ok); }
.z-summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--tinta); font-variant-numeric: tabular-nums; }
.z-summary__total strong { font-family: var(--serif); font-weight: 400; font-size: var(--t-xl); }
.z-summary__note { font-size: var(--t-xs); color: var(--grafito); }
.z-progress { display: grid; gap: 8px; font-size: var(--t-xs); color: var(--grafito); }
.z-progress__bar { height: 3px; background: var(--linea); overflow: hidden; }
.z-progress__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--tinta); transition: width .4s var(--ease); }
.z-progress.is-done .z-progress__bar i { background: var(--ok); }
.z-coupon { display: flex; gap: 8px; }
.z-coupon .z-input { min-height: 46px; text-transform: uppercase; }
.z-coupon .z-btn { min-height: 46px; }
.z-coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r); background: var(--ok-suave); color: var(--ok); font-size: var(--t-s); }
.z-coupon-on button { background: none; border: 0; text-decoration: underline; color: inherit; font-size: var(--t-xs); }
@media (max-width: 960px) { .z-cart { grid-template-columns: 1fr; } .z-summary { position: static; } }

/* ── Checkout ───────────────────────────────────────────────────── */
.z-co { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .z-co { grid-template-columns: 1fr; } }
.z-step { border-top: 1px solid var(--tinta); padding: 26px 0 38px; display: grid; gap: 20px; }
.z-step__head { display: flex; align-items: baseline; gap: 14px; }
.z-step__n { font-family: var(--serif); font-size: var(--t-xl); color: var(--rojo); font-variant-numeric: tabular-nums; }
.z-choice { display: block; position: relative; cursor: pointer; }
.z-choice > input { position: absolute; opacity: 0; pointer-events: none; }
.z-choice__in { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--linea); border-radius: var(--r); transition: border-color .15s; }
.z-choice__in svg { width: 22px; height: 22px; color: var(--gris); grid-row: span 2; }
.z-choice__in strong { font-weight: 500; }
.z-choice__in small { grid-column: 2; font-size: var(--t-xs); color: var(--grafito); }
.z-choice__tag { grid-row: 1 / span 2; grid-column: 3; font-size: var(--t-xs); color: var(--grafito); white-space: nowrap; font-variant-numeric: tabular-nums; }
.z-choice__tag--ok { color: var(--ok); }
.z-choice:hover .z-choice__in { border-color: var(--gris); }
.z-choice > input:checked + .z-choice__in { border-color: var(--tinta); }
.z-choice > input:checked + .z-choice__in svg { color: var(--rojo); }
.z-choice > input:focus-visible + .z-choice__in { outline: 2px solid var(--tinta); outline-offset: 2px; }
.z-choices { display: grid; gap: 10px; }
.z-sub { display: grid; gap: 16px; padding: 20px; border-radius: var(--r); background: var(--perla); }
.z-bank { display: grid; border-radius: var(--r); background: var(--papel); border: 1px solid var(--linea); }
.z-bank div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; font-size: var(--t-s); }
.z-bank div + div { border-top: 1px solid var(--linea); }
.z-bank span { color: var(--grafito); }
.z-bank strong { font-weight: 500; text-align: right; word-break: break-all; }
.z-drop { position: relative; display: grid; justify-items: center; gap: 4px; padding: 24px 16px; border: 1px dashed var(--gris); border-radius: var(--r); background: var(--papel); text-align: center; font-size: var(--t-s); transition: border-color .15s, background-color .15s; }
.z-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.z-drop svg { width: 22px; height: 22px; color: var(--grafito); }
.z-drop small { color: var(--grafito); }
.z-drop.is-over { border-color: var(--tinta); background: var(--perla-2); }
.z-drop.has-file { border-style: solid; border-color: var(--ok); background: var(--ok-suave); }
.z-drop__file { display: none; font-weight: 500; color: var(--ok); }
.z-drop.has-file .z-drop__file { display: block; }
.z-co-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; font-size: var(--t-s); }
.z-co-item__img { position: relative; width: 56px; height: 68px; border-radius: var(--r); background: var(--perla); }
.z-co-item__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.z-co-item__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--carbon); color: #fff; font-size: 11px; display: grid; place-items: center; }
.z-co-item small { display: block; color: var(--grafito); font-size: 12px; }
.z-co-items { display: grid; gap: 16px; max-height: 340px; overflow-y: auto; padding: 8px 4px 4px 0; }

/* ── Cuenta / auth ──────────────────────────────────────────────── */
.z-auth { min-height: calc(100vh - var(--header-h) - 140px); display: grid; place-items: center; padding-block: clamp(40px, 7vw, 96px); }
.z-auth__card { width: min(420px, 100%); display: grid; gap: 24px; }
.z-auth__card > img { display: none; }
.z-auth__alt { font-size: var(--t-s); color: var(--grafito); text-align: center; }
.z-code { text-align: center; font-family: var(--serif); font-size: 1.9rem; letter-spacing: .45em; font-variant-numeric: tabular-nums; padding-left: calc(15px + .45em); }
.z-account { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.z-account__nav { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 2px; }
.z-account__nav a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; font-size: var(--t-s); color: var(--grafito); }
.z-account__nav a:hover { color: var(--tinta); }
.z-account__nav a[aria-current="page"] { color: var(--tinta); }
.z-account__nav a[aria-current="page"]::after { content: ''; flex: 1; height: 1px; background: var(--rojo); max-width: 24px; }
.z-account__nav svg { width: 18px; height: 18px; }
.z-account__who { padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--linea); }
.z-account__who strong { display: block; font-family: var(--serif); font-weight: 400; font-size: var(--t-l); }
.z-account__who span { font-size: var(--t-xs); color: var(--grafito); word-break: break-all; }
@media (max-width: 860px) {
  .z-account { grid-template-columns: 1fr; }
  .z-account__nav { position: static; display: flex; overflow-x: auto; gap: 18px; border-bottom: 1px solid var(--linea); }
  .z-account__nav a { white-space: nowrap; }
  .z-account__nav a[aria-current="page"]::after { display: none; }
  .z-account__nav a[aria-current="page"] { border-bottom: 1px solid var(--rojo); }
  .z-account__who { display: none; }
}
.z-panel { border: 1px solid var(--linea); border-radius: var(--r-panel); padding: clamp(20px, 2.5vw, 30px); display: grid; gap: 18px; }
.z-panel + .z-panel { margin-top: 18px; }
.z-order { border: 1px solid var(--linea); border-radius: var(--r-panel); overflow: hidden; }
.z-order + .z-order { margin-top: 14px; }
.z-order__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 20px; background: var(--perla-2); border-bottom: 1px solid var(--linea); }
.z-order__head strong { font-weight: 500; font-variant-numeric: tabular-nums; }
.z-order__body { padding: 18px 20px; display: grid; gap: 10px; font-size: var(--t-s); }
.z-order__row { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.z-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--grafito); }
.z-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.z-status--pendiente { color: var(--aviso); }
.z-status--pagado, .z-status--confirmado, .z-status--entregado { color: var(--ok); }
.z-status--enviado, .z-status--despachado, .z-status--preparando { color: #2D5591; }
.z-status--cancelado { color: var(--rojo); }
.z-addr { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.z-addr__card { border: 1px solid var(--linea); border-radius: var(--r-panel); padding: 20px; display: grid; gap: 8px; align-content: start; }
.z-addr__card.is-main { border-color: var(--tinta); }
.z-addr__card p { font-size: var(--t-s); color: var(--grafito); }
.z-addr__actions { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.z-addr__actions button { background: none; border: 0; padding: 0; font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 3px; color: var(--grafito); }
.z-addr__actions button:hover { color: var(--tinta); }

/* ── Confirmación ───────────────────────────────────────────────── */
.z-done { display: grid; justify-items: center; text-align: center; gap: 16px; padding-block: clamp(32px, 5vw, 64px); }
.z-done__check { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ok); color: var(--ok); }
.z-done__check svg { width: 32px; height: 32px; stroke-width: 1.6; stroke-dasharray: 30; stroke-dashoffset: 30; animation: z-draw .6s .15s var(--ease) forwards; }
@keyframes z-draw { to { stroke-dashoffset: 0; } }
.z-done__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; text-align: left; }
@media (max-width: 760px) { .z-done__grid { grid-template-columns: 1fr; } }

/* ── Nosotros / contacto / categorías ───────────────────────────── */
.z-story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.z-story__media { background: var(--perla); border-radius: var(--r-panel); aspect-ratio: 4 / 5; display: grid; place-items: center; }
.z-story__media img { width: 62%; border-radius: 50%; }
.z-story__text { display: grid; gap: 20px; color: var(--grafito); max-width: 54ch; }
.z-story__text strong { color: var(--tinta); font-weight: 500; }
@media (max-width: 860px) { .z-story { grid-template-columns: 1fr; } .z-story__media { aspect-ratio: 1; } }
.z-local { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; padding-block: clamp(36px, 5vw, 64px); border-top: 1px solid var(--linea); }
.z-local__datos { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 36px; margin-top: 22px; }
.z-local__dato { display: grid; gap: 2px; font-size: var(--t-s); }
.z-local__dato strong { font-weight: 500; }
.z-local__dato span { color: var(--grafito); }
.z-local__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) { .z-local { grid-template-columns: 1fr; } }
.z-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.z-contact__info { display: grid; border-top: 1px solid var(--linea); }
.z-contact__info a, .z-contact__info div { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 18px 0; border-bottom: 1px solid var(--linea); text-decoration: none; }
.z-contact__info svg { grid-row: span 2; width: 20px; height: 20px; color: var(--grafito); margin-top: 3px; }
.z-contact__info span { font-size: var(--t-xs); color: var(--grafito); }
.z-contact__info strong { font-weight: 500; }
.z-contact__info a:hover strong { color: var(--rojo); }
@media (max-width: 860px) { .z-contact { grid-template-columns: 1fr; } }
.z-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinta); }
.z-index a { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 16px; padding: clamp(16px, 2vw, 26px) 0; border-bottom: 1px solid var(--linea); text-decoration: none; transition: color .2s; }
.z-index strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); line-height: 1.1; }
.z-index span { font-size: var(--t-s); color: var(--grafito); }
.z-index a:hover strong { color: var(--rojo); }

.z-wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; background: var(--papel); color: #1E9E4F; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(38, 41, 44, .16); border: 1px solid var(--linea); transition: transform .2s var(--ease); }
.z-wa:hover { transform: translateY(-2px); }
.z-wa svg { width: 26px; height: 26px; }
body.has-sticky-buy .z-wa { bottom: 92px; }

/* ═══════════════════════════════════════════════════════════════════
   v3 — más marca: rojo del logo, sello visible, secciones con contenido
   ═══════════════════════════════════════════════════════════════════ */

/* Sello del logo centrado en el header, "colgando" como un sello */
.z-header__in { position: relative; }
.z-header__in > .z-logo--sello { justify-self: center; width: 116px; height: 1px; }
.z-logo--sello a { position: absolute; left: 50%; top: 10px; z-index: 3; display: block; width: 104px; height: 104px; margin-left: -52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px #fff, 0 14px 30px rgba(74, 2, 4, .22); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), top .3s var(--ease), box-shadow .3s; }
.z-logo--sello img { width: 100%; height: 100%; border-radius: 50%; }
.z-header.is-scrolled .z-logo--sello a { width: 58px; height: 58px; margin-left: -29px; top: 7px; box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(74, 2, 4, .16); }
@media (max-width: 960px) {
  .z-header__in > .z-logo--sello { width: 80px; }
  .z-logo--sello a { width: 72px; height: 72px; margin-left: -36px; top: 8px; }
  .z-header.is-scrolled .z-logo--sello a { width: 52px; height: 52px; margin-left: -26px; top: 10px; }
}

/* HERO en rojo, producto dentro de un círculo como el sello */
.z-hero3 { position: relative; background: var(--rojo); color: #fff; overflow: hidden; }
.z-hero3::after { content: ''; position: absolute; right: -12vw; bottom: -30vw; width: 60vw; height: 60vw; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; }
.z-hero3__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(84px, 8vw, 120px) clamp(44px, 6vw, 88px); }
.z-hero3__copy { display: grid; gap: 24px; align-content: center; }
.z-hero3__copy h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.7rem, 1.4rem + 4.4vw, 5.3rem); line-height: 1.02; letter-spacing: -.01em; text-wrap: balance; color: #fff; }
.z-hero3__copy .z-lead { color: rgba(255, 255, 255, .85); max-width: 40ch; }
.z-hero3__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.z-hero3__rating { display: flex; align-items: center; gap: 10px; font-size: var(--t-s); color: rgba(255, 255, 255, .88); }
.z-hero3__rating .z-stars { --c: #fff; --c0: rgba(255, 255, 255, .3); font-size: 15px; }
.z-stage { position: relative; width: min(560px, 100%); aspect-ratio: 1; justify-self: center; }
.z-stage__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .9); animation: z-giro 60s linear infinite; }
.z-stage__ring text { font-family: var(--sans); font-size: 15px; letter-spacing: 6px; fill: currentColor; }
@keyframes z-giro { to { transform: rotate(360deg); } }
.z-stage__circle { position: absolute; inset: 10%; border-radius: 50%; background: var(--perla); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 10px rgba(255, 255, 255, .14); }
.z-stage__circle img { width: 82%; height: 82%; object-fit: contain; transition: opacity .35s var(--ease), transform .5s var(--ease); }
.z-stage__circle img.is-out { opacity: 0; transform: translateX(-14px); }
.z-stage__info { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 999px; background: #fff; color: var(--tinta); box-shadow: 0 12px 30px rgba(74, 2, 4, .25); white-space: nowrap; text-decoration: none; max-width: 94%; }
.z-stage__info strong { font-weight: 500; font-size: var(--t-s); overflow: hidden; text-overflow: ellipsis; }
.z-stage__info span { font-size: var(--t-s); color: var(--rojo); font-weight: 600; font-variant-numeric: tabular-nums; }
.z-stage__info i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--rojo); color: #fff; flex: none; }
.z-stage__info i svg { width: 14px; height: 14px; }
.z-stage__dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.z-stage__dots button { width: 56px; height: 56px; padding: 4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: var(--perla); overflow: hidden; transition: border-color .2s, transform .2s; }
.z-stage__dots button img { width: 100%; height: 100%; object-fit: contain; }
.z-stage__dots button[aria-pressed="true"] { border: 2px solid #fff; transform: scale(1.08); }
@media (max-width: 860px) {
  .z-hero3__grid { grid-template-columns: 1fr; padding-top: 72px; }
  .z-hero3__media { order: -1; }
  .z-stage { width: min(380px, 92%); }
  .z-stage__ring text { font-size: 17px; }
}

/* Franja de beneficios */
.z-benefits { border-bottom: 1px solid var(--linea); }
.z-benefits__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.z-benefit { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-size: var(--t-s); }
.z-benefit + .z-benefit { border-left: 1px solid var(--linea); }
.z-benefit svg { flex: none; width: 26px; height: 26px; color: var(--rojo); }
.z-benefit strong { display: block; font-weight: 600; }
.z-benefit span { font-size: var(--t-xs); color: var(--grafito); }
@media (max-width: 960px) {
  .z-benefits__in { grid-template-columns: repeat(4, 78%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .z-benefit { scroll-snap-align: start; }
}

/* Categorías en círculos (eco del sello) */
.z-circles { display: flex; gap: clamp(18px, 3vw, 40px); justify-content: center; flex-wrap: wrap; }
.z-circle { display: grid; justify-items: center; gap: 12px; text-decoration: none; width: clamp(112px, 13vw, 168px); }
.z-circle__img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--perla); display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--linea); transition: box-shadow .25s var(--ease); }
.z-circle__img img { width: 74%; height: 74%; object-fit: contain; transition: transform .5s var(--ease); }
.z-circle:hover .z-circle__img { box-shadow: 0 0 0 2px var(--rojo), 0 0 0 7px var(--rojo-suave); }
.z-circle:hover .z-circle__img img { transform: scale(1.06); }
.z-circle strong { font-family: var(--serif); font-weight: 400; font-size: var(--t-l); line-height: 1.1; text-align: center; }
.z-circle span { font-size: 12px; color: var(--grafito); margin-top: -8px; }
@media (max-width: 760px) { .z-circles { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; } .z-circle { flex: none; width: 108px; } .z-circle strong { font-size: var(--t-m); } }

/* Banners dobles */
.z-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.z-banner { position: relative; display: grid; align-content: end; gap: 12px; min-height: clamp(260px, 26vw, 340px); padding: clamp(26px, 3.5vw, 48px); border-radius: var(--r-panel); overflow: hidden; text-decoration: none; }
.z-banner h3 { position: relative; font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); line-height: 1.08; max-width: 14ch; }
.z-banner p { max-width: 36ch; font-size: var(--t-s); }
.z-banner .z-link { justify-self: start; }
.z-banner--bordo { background: var(--bordo); color: #fff; }
.z-banner--bordo p { color: rgba(255, 255, 255, .8); }
.z-banner--bordo .z-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
.z-banner--bordo .z-banner__big { position: absolute; right: clamp(16px, 3vw, 40px); top: clamp(-10px, -1vw, 0px); font-family: var(--serif); font-size: clamp(6rem, 4rem + 7vw, 11rem); line-height: 1; color: rgba(255, 255, 255, .12); }
.z-banner--perla { background: var(--perla); color: var(--tinta); }
.z-banner--perla p { color: var(--grafito); }
.z-banner__regla { position: absolute; right: clamp(20px, 3vw, 44px); top: clamp(26px, 3vw, 44px); width: 46%; height: 26px; border-top: 1px solid var(--tinta); background: repeating-linear-gradient(90deg, var(--tinta) 0 1px, transparent 1px 10%) top left / 100% 14px no-repeat, repeating-linear-gradient(90deg, var(--gris) 0 1px, transparent 1px 2%) top left / 100% 6px no-repeat; }
.z-banner__regla::after { content: ''; position: absolute; left: 62%; top: -10px; width: 12px; height: 12px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 4px var(--perla); }
@media (max-width: 760px) { .z-banners { grid-template-columns: 1fr; } }

/* Estrellas (puntaje) */
.z-stars { --p: 100%; --c: var(--rojo); --c0: var(--linea); position: relative; display: inline-block; font-size: 13px; line-height: 1; letter-spacing: 2px; color: var(--c0); white-space: nowrap; }
.z-stars::before { content: '★★★★★'; position: absolute; inset: 0 auto 0 0; width: var(--p); overflow: hidden; color: var(--c); }
.z-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grafito); margin-top: 2px; }
.z-card__rating .z-stars { font-size: 11px; letter-spacing: 1px; }

/* Reseñas en la portada */
.z-reviews { background: var(--rubor); }
.z-reviews__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.z-reviews__score { display: flex; align-items: center; gap: 16px; }
.z-reviews__score b { font-family: var(--serif); font-weight: 400; font-size: clamp(3rem, 2rem + 3vw, 4.4rem); line-height: .9; color: var(--rojo); font-variant-numeric: tabular-nums; }
.z-reviews__score span { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--grafito); }
.z-reviews__score .z-stars { font-size: 17px; }
.z-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.z-review { display: grid; align-content: start; gap: 12px; padding: clamp(20px, 2.4vw, 28px); background: #fff; border-radius: var(--r-panel); }
.z-review__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.z-review h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-l); line-height: 1.25; }
.z-review p { font-size: var(--t-s); color: var(--grafito); }
.z-review__who { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: var(--t-xs); color: var(--grafito); }
.z-review__who b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rojo-suave); color: var(--rojo); font-weight: 600; font-size: 14px; flex: none; }
.z-review__who strong { display: block; color: var(--tinta); font-weight: 500; font-size: var(--t-s); }
.z-review__who a { color: var(--grafito); }
.z-chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--rojo-suave); color: var(--bordo); font-size: 12px; white-space: nowrap; }
@media (max-width: 860px) { .z-reviews__head { grid-template-columns: 1fr; } .z-review-grid { grid-template-columns: 1fr; } }

/* Banda de newsletter en rojo + footer bordó */
.z-newsband { background: var(--rojo); color: #fff; margin-top: clamp(56px, 8vw, 110px); }
.z-newsband__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: center; padding-block: clamp(36px, 5vw, 60px); }
.z-newsband h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.1; color: #fff; }
.z-newsband p { color: rgba(255, 255, 255, .82); font-size: var(--t-s); margin-top: 8px; }
.z-newsband form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--r); }
.z-newsband input { flex: 1; min-width: 0; border: 0; padding: 0 12px; font-size: 16px; color: var(--tinta); outline: none; background: transparent; }
.z-newsband button { min-height: 46px; }
@media (max-width: 760px) { .z-newsband__in { grid-template-columns: minmax(0, 1fr); } }
html, body { overflow-x: clip; }
.z-footer { margin-top: 0; background: var(--bordo-2); color: rgba(255, 255, 255, .72); }
.z-footer a:hover { color: #fff; }
.z-footer h3 { color: #fff; }
.z-footer__brand img { width: 96px; height: 96px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.z-footer__bottom { border-top-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .55); }
.z-footer__social a { color: #fff; }
.z-footer__social a:hover { color: #ffb3b5; }
.z-footer__pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.z-footer__pay span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r); font-size: 11.5px; color: rgba(255, 255, 255, .8); }

/* Ficha: puntaje, calce, envío, reseñas */
.z-buy__rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--t-s); color: var(--grafito); }
.z-buy__rating a { color: var(--grafito); }
.z-buy__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.z-ship { display: flex; gap: 8px; margin-top: 4px; }
.z-ship .z-input { min-height: 44px; max-width: 160px; }
.z-ship .z-btn { min-height: 44px; }
.z-ship__out { font-size: var(--t-s); color: var(--tinta); }
.z-acc .z-table { margin-top: 4px; }
.z-acc .z-table td.is-stock { color: var(--rojo); font-weight: 600; }
.z-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.z-trust div { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 14px 8px; border-radius: var(--r); background: var(--perla-2); font-size: 12px; color: var(--grafito); line-height: 1.35; }
.z-trust svg { width: 22px; height: 22px; color: var(--rojo); }
.z-rv { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.z-rv__summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; padding: clamp(22px, 2.5vw, 30px); border-radius: var(--r-panel); background: var(--rubor); }
.z-rv__avg { display: flex; align-items: center; gap: 14px; }
.z-rv__avg b { font-family: var(--serif); font-weight: 400; font-size: 3.6rem; line-height: .9; color: var(--rojo); font-variant-numeric: tabular-nums; }
.z-rv__avg span { display: grid; gap: 6px; font-size: var(--t-xs); color: var(--grafito); }
.z-rv__avg .z-stars { font-size: 16px; }
.z-rv__bars { display: grid; gap: 7px; }
.z-rv__bar { display: grid; grid-template-columns: 26px 1fr 30px; gap: 10px; align-items: center; font-size: 12px; color: var(--grafito); font-variant-numeric: tabular-nums; }
.z-rv__bar i { height: 6px; border-radius: 3px; background: #fff; overflow: hidden; }
.z-rv__bar i::before { content: ''; display: block; height: 100%; width: var(--p); background: var(--rojo); }
.z-fit { display: grid; gap: 8px; }
.z-fit__scale { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12px; color: var(--grafito); text-align: center; }
.z-fit__scale::before { content: ''; position: absolute; left: 16%; right: 16%; top: -9px; height: 2px; background: #fff; }
.z-fit__mark { position: absolute; top: -14px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--rojo); box-shadow: 0 0 0 3px var(--rubor); }
.z-rv__list { display: grid; gap: 0; }
.z-rv__item { display: grid; gap: 10px; padding: 22px 0; border-bottom: 1px solid var(--linea); }
.z-rv__item:first-child { padding-top: 0; }
.z-rv__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--t-xs); color: var(--grafito); }
.z-rv__item h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-l); }
.z-rv__item p { font-size: var(--t-s); color: var(--grafito); white-space: pre-line; }
@media (max-width: 960px) { .z-rv { grid-template-columns: 1fr; } .z-rv__summary { position: static; } }
.z-starpick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.z-starpick input { position: absolute; opacity: 0; pointer-events: none; }
.z-starpick label { font-size: 30px; line-height: 1; color: var(--linea); cursor: pointer; transition: color .12s; }
.z-starpick input:checked ~ label, .z-starpick label:hover, .z-starpick label:hover ~ label { color: var(--rojo); }
.z-starpick input:focus-visible + label { outline: 2px solid var(--tinta); outline-offset: 2px; }
.z-segment { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--linea); border-radius: var(--r); overflow: hidden; }
.z-segment label { position: relative; }
.z-segment input { position: absolute; opacity: 0; }
.z-segment span { display: grid; place-items: center; height: 44px; font-size: var(--t-s); cursor: pointer; }
.z-segment label + label span { border-left: 1px solid var(--linea); }
.z-segment input:checked + span { background: var(--rojo); color: #fff; }
.z-segment input:focus-visible + span { outline: 2px solid var(--tinta); outline-offset: -3px; }

/* Bloque guía en portada (sello + texto) */
.z-sellito { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-panel); border: 1px solid var(--linea); }
.z-sellito img { width: clamp(96px, 11vw, 140px); border-radius: 50%; }
.z-sellito p.z-serif { font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); line-height: 1.3; max-width: 34ch; }
@media (max-width: 860px) { .z-sellito { grid-template-columns: 1fr; } }

/* ═══ v4: reels, visor, tienda con barra lateral y carga infinita ═══ */

/* Fila de reels (formato vertical 9:16) */
.z-reels { display: flex; gap: clamp(10px, 1.4vw, 16px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: var(--linea) transparent; }
.z-reel { position: relative; flex: none; width: clamp(150px, 19vw, 230px); aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--r-panel); overflow: hidden; background: var(--carbon); scroll-snap-align: start; cursor: pointer; isolation: isolate; }
.z-reel img, .z-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.z-reel:hover img, .z-reel:hover video { transform: scale(1.04); }
.z-reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.z-reel__play { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--rojo); }
.z-reel__play svg { width: 16px; height: 16px; margin-left: 2px; }
.z-reel__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1; display: grid; gap: 2px; text-align: left; color: #fff; }
.z-reel__cap strong { font-weight: 500; font-size: var(--t-xs); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.z-reel__cap span { font-size: var(--t-xs); font-weight: 600; font-variant-numeric: tabular-nums; }
.z-reel:focus-visible { outline: 3px solid var(--rojo); outline-offset: 3px; }
@media (max-width: 760px) { .z-reels { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); } .z-reel { width: 42vw; } }

/* Visor de reels a pantalla completa (deslizar hacia arriba/abajo) */
.z-viewer { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0E0E0F; color: #fff; overflow: hidden; }
.z-viewer::backdrop { background: #0E0E0F; }
.z-viewer[open] { animation: z-viewer-in .25s var(--ease); }
@keyframes z-viewer-in { from { opacity: 0; } }
.z-viewer__track { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.z-viewer__track::-webkit-scrollbar { display: none; }
.z-viewer__slide { position: relative; height: 100vh; height: 100dvh; display: grid; place-items: center; scroll-snap-align: start; scroll-snap-stop: always; }
.z-viewer__frame { position: relative; height: min(100dvh - 40px, 900px); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: 14px; overflow: hidden; background: #000; }
.z-viewer__frame video { width: 100%; height: 100%; object-fit: cover; }
.z-viewer__frame::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); pointer-events: none; }
.z-viewer__bar { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 2; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.z-viewer__bar i { display: block; height: 100%; width: 0; background: #fff; }
.z-viewer__info { position: absolute; left: 18px; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 2; display: grid; gap: 10px; }
.z-viewer__info strong { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.z-viewer__info span { font-weight: 600; font-variant-numeric: tabular-nums; }
.z-viewer__info .z-btn { justify-self: start; min-height: 44px; }
.z-viewer__pausa { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; opacity: 0; transition: opacity .2s; pointer-events: none; }
.z-viewer__pausa svg { width: 70px; height: 70px; color: #fff; }
.z-viewer__slide.is-paused .z-viewer__pausa { opacity: 1; }
.z-viewer__tools { position: fixed; top: calc(14px + env(safe-area-inset-top)); right: 14px; z-index: 5; display: flex; gap: 8px; }
.z-viewer__nav { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 5; display: grid; gap: 10px; }
.z-viewer__btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); transition: background-color .2s; }
.z-viewer__btn:hover { background: rgba(255, 255, 255, .26); }
.z-viewer__btn svg { width: 22px; height: 22px; }
.z-viewer__btn[disabled] { opacity: .3; cursor: default; }
@media (max-width: 760px) {
  .z-viewer__frame { height: 100dvh; width: 100vw; border-radius: 0; aspect-ratio: auto; }
  .z-viewer__nav { display: none; }
  .z-viewer__bar { top: calc(10px + env(safe-area-inset-top)); right: 120px; }
}

/* Tienda: filtros en barra lateral (computadora) */
.z-shophead p { margin-top: 12px; max-width: 60ch; }
.z-shop { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.z-filters-btn { display: none; position: relative; }
.z-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); }
@media (min-width: 1025px) {
  .z-shop .z-filters { position: sticky; top: calc(var(--header-h) + 20px); z-index: 1; width: auto; max-height: calc(100vh - var(--header-h) - 40px); transform: none; visibility: visible; background: transparent; grid-template-rows: 1fr auto; overflow: hidden; }
  .z-shop .z-filters__close { display: none; }
  .z-shop .z-filters__body { padding: 4px 6px 16px 0; gap: 28px; scrollbar-width: thin; }
  .z-shop .z-filters__foot { padding: 14px 0 0; border-top: 1px solid var(--linea); }
}
@media (max-width: 1024px) {
  .z-shop { grid-template-columns: 1fr; }
  .z-filters-btn { display: inline-flex; }
}
.z-shop .z-toolbar { justify-content: flex-start; }
.z-shop .z-toolbar #ordenar { margin-left: auto; width: auto; }

/* Carga infinita */
.z-more { display: grid; justify-items: center; gap: 12px; margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.z-more__count { font-size: var(--t-s); color: var(--grafito); }
.z-more__bar { width: min(240px, 70%); height: 2px; background: var(--linea); overflow: hidden; }
.z-more__bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--rojo); transition: width .4s var(--ease); }
.z-more.is-loading [data-more-btn] { pointer-events: none; opacity: .6; }
.z-card.is-new { animation: z-card-in .45s var(--ease) both; }
@keyframes z-card-in { from { opacity: 0; transform: translateY(10px); } }

/* Hero: acceso a la tienda completa */
.z-hero3__all { display: inline-flex; align-items: center; gap: 8px; justify-self: start; color: #fff; font-size: var(--t-s); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(255, 255, 255, .5); }
.z-hero3__all svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.z-hero3__all:hover svg { transform: translateX(3px); }

/* Muestras de color bajo la foto de cada tarjeta */
.z-swatches { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; padding-top: 10px; flex-wrap: wrap; }
.z-swatch { width: 30px; height: 30px; padding: 2px; border: 1px solid var(--linea); border-radius: 50%; background: var(--perla); overflow: hidden; cursor: pointer; transition: border-color .15s, transform .15s; }
.z-swatch img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.z-swatch:hover, .z-swatch.is-on { border-color: var(--tinta); transform: scale(1.08); }
.z-swatch.is-on { box-shadow: 0 0 0 2px var(--papel), 0 0 0 3px var(--tinta); }
.z-swatch--dot { padding: 3px; }
.z-swatch--dot i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.z-swatches__more { font-size: 12px; color: var(--grafito); margin-left: 2px; }
.z-swatches + .z-card__body { padding-top: 8px; }
@media (max-width: 760px) { .z-swatch { width: 28px; height: 28px; } }

/* ═══ Panel del dueño: aprovecha todo el ancho de la pantalla ═══ */
.panel-wrap { width: 100%; }
.panel-sidebar { top: var(--header-h) !important; height: calc(100vh - var(--header-h)) !important; }
.panel-main { max-width: none !important; width: 100%; }
.product-form { max-width: 1100px !important; }
.p-card { max-width: 1180px; }
@media (min-width: 1500px) { .zf-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }

/* ═══ Contacto ═══ */
.z-ctc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.z-ctc__list { display: grid; gap: 22px; }
.z-ctc__item { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.z-ctc__item svg { width: 20px; height: 20px; color: var(--rojo); margin-top: 3px; }
.z-ctc__item h3 { font-family: var(--sans); font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em; color: var(--tinta); margin-bottom: 4px; }
.z-ctc__item p, .z-ctc__item a { font-size: var(--t-s); color: var(--grafito); text-decoration: none; }
.z-ctc__item a:hover { color: var(--rojo); }
.z-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.z-social a { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--linea); border-radius: 50%; color: var(--tinta); transition: border-color .15s, color .15s, background-color .15s; }
.z-social a:hover { background: var(--rojo); border-color: var(--rojo); color: #fff; }
.z-social svg { width: 19px; height: 19px; }
.z-map { aspect-ratio: 4 / 3; border-radius: var(--r-panel); overflow: hidden; background: var(--perla); }
.z-map iframe { width: 100%; height: 100%; border: 0; }
.z-map--vacio { display: grid; place-items: center; text-align: center; padding: 24px; color: var(--grafito); font-size: var(--t-s); }
@media (max-width: 1100px) { .z-ctc { grid-template-columns: 1fr 1fr; } .z-ctc > :last-child { grid-column: 1 / -1; } }
@media (max-width: 720px) { .z-ctc { grid-template-columns: 1fr; } }

/* ═══ Preguntas frecuentes ═══ */
.z-faq { max-width: 860px; }
.z-faq details { border-bottom: 1px solid var(--linea); }
.z-faq details:first-of-type { border-top: 1px solid var(--linea); }
.z-faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; font-size: var(--t-m); }
.z-faq summary::-webkit-details-marker { display: none; }
.z-faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--rojo); transition: transform .2s var(--ease); }
.z-faq details[open] summary::after { transform: rotate(45deg); }
.z-faq details > div { padding: 0 0 22px; color: var(--grafito); font-size: var(--t-s); display: grid; gap: 10px; max-width: 70ch; }

/* Páginas del panel del dueño: sin banda de newsletter ni footer de la tienda
   (dejaban una franja blanca y roja debajo del panel). */
body.z-adminpage .z-newsband, body.z-adminpage .z-footer, body.z-adminpage .z-wa { display: none; }
