/* Electroluz — catálogo. Diseño siempre claro (no cambia con el modo oscuro del celular).
   Concepto (v2, editorial): galería sobria en tonos hueso, mucho aire, fotos protagonistas,
   títulos en serif y textos chicos y prolijos. El azul y el rojo del logo bajan a un
   azul tinta y un rojo ladrillo, y aparecen solo como detalles finos. */
:root {
  --bg: #f5f2ec;
  --surface: #fbf9f5;
  --ink: #1d1f26;
  --muted: #6f6a62;
  --line: #e1dcd2;
  --line-strong: #cfc8bb;
  --navy: #1f2a4d;
  --navy-ink: #1f2a4d;
  --navy-hover: #151d38;
  --red: #a8392f;
  --red-ink: #9a3229;
  --art-bg: #ece7de;
  --art-line: #77716a;
  --art-muted: #cdc6b9;
  --warm: #ffd98a;
  --wa: #1f2a4d;
  --wa-hover: #151d38;
  --focus: #1f2a4d;
  --shadow: 0 1px 2px rgba(29, 31, 38, .05), 0 10px 30px rgba(29, 31, 38, .06);
  --font-display: 'Instrument Serif', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', 'Helvetica Neue', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --radius: 2px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --media-bg: #efebe4;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 40; background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 1px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; margin: 0; letter-spacing: -.005em; }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
@media (min-width: 900px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }

/* Etiqueta chica en mayúsculas (se usa en todo el sitio) */
.eyebrow, .brandline, .fgroup h3, .site-footer h2, .code {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}

/* ── Encabezado ───────────────────────────────── */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.brand { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
/* El logo tiene fondo blanco: "multiply" lo funde con el fondo hueso sin alterar sus colores. */
.brand img, .foot-logo img { mix-blend-mode: multiply; }
.brand img { height: 38px; width: auto; }
.search {
  flex: 1; min-width: 0; max-width: 460px; margin-left: auto; display: flex; align-items: center; gap: 10px;
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 0 2px; height: 42px;
  transition: border-color .2s;
}
.search:focus-within { border-color: var(--ink); }
.search svg { flex-shrink: 0; color: var(--muted); width: 17px; height: 17px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 16px; height: 100%; }
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { display: none; }
.search .clear { border: 0; background: transparent; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.search .clear:hover { color: var(--ink); }
.main-nav { display: flex; gap: 4px; }
.main-nav a {
  text-decoration: none; font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding: 10px 12px; white-space: nowrap; position: relative;
}
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.main-nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
.header-search-row { display: none; padding-bottom: 8px; }
@media (max-width: 760px) {
  .header-row .search { display: none; }
  .header-search-row { display: block; }
  .header-search-row .search { max-width: none; }
  .brand img { height: 32px; }
  .header-row { justify-content: space-between; padding-block: 10px; }
  .main-nav a { padding: 8px 8px; font-size: 11.5px; letter-spacing: .14em; }
  .main-nav a::after { left: 8px; right: 8px; }
}

.demo-note {
  font-size: 13px; color: var(--muted); background: var(--surface);
  border-bottom: 1px solid var(--line); padding-block: 7px;
}
.demo-note b { color: var(--ink); font-weight: 600; }
.tag-demo {
  display: inline-block; font: 500 10.5px/1 var(--font-mono); letter-spacing: .1em;
  color: var(--red-ink); border: 1px solid currentColor; padding: 3px 6px; vertical-align: 1px; background: var(--surface);
}

/* ── Detalle de marca: línea roja · texto · línea azul (como en el logo, en versión fina) ── */
.brandline { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.brandline::before, .brandline::after { content: ""; height: 1px; width: 18px; flex-shrink: 0; }
.brandline::before { background: var(--red); }
.brandline::after { background: var(--navy-ink); }

/* ── Botones ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
#app .btn { font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-sm { min-height: 42px; padding: 0 16px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .4; cursor: default; }
.linkbtn { border: 0; background: none; padding: 6px 0; color: var(--ink); font-size: 14px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.linkbtn:hover { color: var(--red-ink); }

/* ── Portada ───────────────────────────────── */
.hero { padding-top: clamp(36px, 7vw, 96px); }
.hero-copy {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px 56px; align-items: end;
  padding-bottom: clamp(28px, 5vw, 64px);
}
.hero-copy .brandline { grid-column: 1 / -1; }
.hero h1 {
  font-size: clamp(46px, 8.4vw, 124px); line-height: .94; letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--navy-ink); }
.hero-side { display: flex; flex-direction: column; gap: 24px; padding-bottom: .6em; }
.hero p.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--muted); margin: 0; max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 320px; max-height: 78vh; overflow: hidden;
  background: radial-gradient(90% 110% at 50% 72%, #4a4438 0%, #2a2620 52%, #1a1814 100%);
}
.hero-art .cord { position: absolute; left: 50%; top: 0; width: 1px; height: 40%; background: #d8cfbf; opacity: .6; }
.hero-art .shade { position: absolute; left: 50%; top: 38%; width: min(24%, 280px); aspect-ratio: 2 / 1.05; transform: translateX(-50%); }
.hero-art .shade svg { width: 100%; height: 100%; }
.hero-art .beam {
  position: absolute; left: 50%; top: 52%; width: 110%; height: 80%; transform: translateX(-50%);
  background: radial-gradient(40% 60% at 50% 0%, rgba(255, 220, 150, .42), rgba(255, 220, 150, 0) 70%);
  pointer-events: none;
}
.hero-art .stamp { position: absolute; right: 20px; bottom: 18px; font: 500 10.5px/1 var(--font-mono); letter-spacing: .14em; color: rgba(255, 255, 255, .5); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art .beam { animation: warmup 1.8s ease-out both; }
  @keyframes warmup { from { opacity: .3; } to { opacity: 1; } }
}
.hero-art.has-photo { background: var(--art-bg); }
.hero-art.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-side { padding-bottom: 0; }
  .hero-art { aspect-ratio: 4 / 3.4; min-height: 0; }
  .hero-art .shade { width: 40%; top: 32%; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ── Secciones ───────────────────────────────── */
.section { padding-block: clamp(48px, 8vw, 110px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: clamp(22px, 3vw, 36px); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-head > div { display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -.015em; }
.section-head a.more {
  font-size: 12.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.section-head a.more:hover { color: var(--red-ink); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 36px 20px; }
.cat-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; }
.cat-card .art { aspect-ratio: 4 / 5; background: var(--art-bg); display: grid; place-items: center; overflow: hidden; }
.cat-card .art svg { width: 70%; height: 100%; transition: transform .6s var(--ease); }
.cat-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .art img, .cat-card:hover .art svg { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) { .cat-card:hover .art img, .cat-card:hover .art svg { transform: none; } }
.cat-card .label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.cat-card .label strong { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.1; }
.cat-card .label span { font-size: 12px; color: var(--muted); letter-spacing: .04em; white-space: nowrap; }
.cat-card:hover .label strong { color: var(--navy-ink); }
@media (max-width: 560px) {
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .cat-card .label { flex-direction: column; gap: 2px; }
  .cat-card .label strong { font-size: 21px; }
}

/* ── Tarjetas de producto ───────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 44px 20px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; } }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; aspect-ratio: 4 / 5; background: var(--media-bg); display: grid; place-items: center;
  text-decoration: none; overflow: hidden;
}
/* Las fotos con fondo blanco se funden con el fondo arena: todas las tarjetas se ven parejas. */
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .card:hover .card-media img { transform: none; } }
.card-media svg { width: 78%; height: 78%; }
.card-media .badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-media .pending { position: absolute; bottom: 12px; left: 10px; right: 10px; text-align: center; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.card-body { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.code { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); }
.card h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 500; line-height: 1.35; letter-spacing: 0; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--navy-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.meta { margin: 0; font-size: 13.5px; color: var(--muted); }
/* En la tarjeta, los botones pasan a ser enlaces de texto, como en un catálogo editorial. */
.card-actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
#app .card-actions .btn {
  min-height: 36px; padding: 0; background: none; border: 0; border-radius: 0; color: var(--ink);
  font-size: 11.5px; letter-spacing: .14em; justify-content: flex-start; gap: 7px; position: relative;
}
#app .card-actions .btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; opacity: .35; transition: opacity .2s; }
#app .card-actions .btn:hover::after { opacity: 1; }
#app .card-actions .btn-wa { color: var(--navy-ink); }
#app .card-actions .btn-wa:hover { color: var(--red-ink); }
#app .card-actions .btn svg { width: 15px; height: 15px; }
@media (max-width: 560px) {
  .card h3 { font-size: 14.5px; }
  .meta { font-size: 12.5px; }
  .card-actions { gap: 0 14px; }
  .wa-long { display: none; }
}
@media (min-width: 561px) { .wa-short { display: none; } }

/* ── Catálogo: barra de filtros y resultados ───────────────────────────────── */
.page-head { padding-block: clamp(28px, 5vw, 64px) 8px; display: flex; flex-direction: column; gap: 16px; }
.page-head h1 { font-size: clamp(44px, 7vw, 96px); line-height: .95; letter-spacing: -.02em; }
.crumbs { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.cat-strip { display: flex; gap: 22px; overflow-x: auto; padding: 14px 0 0; margin-top: 8px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 2px;
  border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; text-decoration: none;
  font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .2s, border-color .2s;
}
.chip:hover { color: var(--ink); }
.chip[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.chip.active {
  min-height: 34px; padding: 0 12px; margin: 0; border: 1px solid var(--line-strong); color: var(--ink); background: var(--surface);
}
.chip.active:hover { border-color: var(--ink); }
.chip .x { font-size: 16px; line-height: 1; color: var(--muted); }

.catalog { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 28px; padding-bottom: 40px; }
.filters-panel { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: flex; flex-direction: column; gap: 30px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin; }
.fgroup h3 { color: var(--ink); margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.fgroup ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.opt { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 2px 0; cursor: pointer; font-size: 14.5px; }
.opt:hover span:not(.n):not(.swatch) { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.opt input { width: 16px; height: 16px; accent-color: var(--navy); margin: 0; flex-shrink: 0; }
.opt .n { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.opt.zero { opacity: .45; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .16); flex-shrink: 0; }
.catlink { display: flex; justify-content: space-between; gap: 8px; text-decoration: none; padding: 7px 0; font-size: 14.5px; color: var(--muted); }
.catlink:hover { color: var(--ink); }
.catlink[aria-current="page"] { color: var(--ink); font-weight: 600; }
.catlink[aria-current="page"] span:first-child::before { content: ""; display: inline-block; width: 12px; height: 1px; background: var(--red); vertical-align: middle; margin-right: 8px; }
.catlink .n { color: var(--muted); font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 22px; }
.toolbar .count { margin-right: auto; font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.toolbar .count span { font-variant-numeric: tabular-nums; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sort select {
  min-height: 40px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; background: transparent;
  padding: 0 4px; color: var(--ink); font-size: 14px; letter-spacing: 0; text-transform: none; cursor: pointer;
}
.open-filters { display: none; }
.active-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }

.more-row { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 56px; color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.empty { text-align: center; padding: 64px 16px; background: transparent; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty h2 { font-size: 34px; }
.empty p { margin: 0; color: var(--muted); max-width: 44ch; }

@media (max-width: 900px) {
  .catalog { grid-template-columns: minmax(0, 1fr); padding-top: 18px; }
  .filters-panel.desktop { display: none; }
  .open-filters { display: inline-flex; }
}

/* Panel de filtros en celular */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(29, 31, 38, .42); z-index: 60; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; max-height: 86vh; display: flex; flex-direction: column;
  background: var(--bg); box-shadow: 0 -10px 40px rgba(0, 0, 0, .14);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--gutter-r) 12px var(--gutter-l); border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-size: 30px; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; }
.iconbtn:hover { background: var(--art-bg); }
.sheet-body { overflow-y: auto; padding: 18px var(--gutter-r) 18px var(--gutter-l); display: flex; flex-direction: column; gap: 26px; }
.sheet-foot { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 12px var(--gutter-r) 14px var(--gutter-l); border-top: 1px solid var(--line); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: rise .26s var(--ease); }
  @keyframes rise { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
}

/* ── Ficha de producto ───────────────────────────────── */
.product { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding-block: 16px 24px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); }
.gallery-main { position: relative; aspect-ratio: 4 / 5; max-height: 82vh; background: var(--media-bg); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 9%; mix-blend-mode: multiply; }
.gallery-main svg { width: 72%; height: 72%; }
.gallery-main .pending { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 13px; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 85%, transparent); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.gallery-nav:hover { background: var(--surface); }
.gallery-nav.prev { left: 14px; } .gallery-nav.next { right: 14px; }
.thumbs { display: flex; gap: 10px; overflow-x: auto; }
.thumbs button { width: 72px; height: 88px; flex-shrink: 0; border: 0; border-bottom: 1px solid transparent; background: var(--media-bg); padding: 6px; cursor: pointer; opacity: .6; transition: opacity .2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; border-bottom-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pinfo { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding-top: 4px; }
.pinfo h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1; letter-spacing: -.015em; overflow-wrap: anywhere; }
.pinfo .brandname { font-size: 11.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); order: -1; }
.desc { margin: 0; font-size: 16.5px; line-height: 1.7; max-width: 58ch; color: #3b3d44; }
.specs { margin: 0; border-top: 1px solid var(--ink); }
.specs div { display: grid; grid-template-columns: minmax(120px, 40%) minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.specs dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.specs dd.mono { font-family: var(--font-mono); font-size: 13.5px; }
.price { font-family: var(--font-display); font-size: 32px; margin: 0; }
.cta-box { display: flex; flex-direction: column; gap: 10px; }
.cta-box p { margin: 0; font-size: 13.5px; color: var(--muted); }
.notice { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .gallery-main { aspect-ratio: 1 / 1; }
}

/* ── Pie ───────────────────────────────── */
.site-footer { background: var(--art-bg); color: var(--ink); margin-top: clamp(64px, 10vw, 140px); border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: clamp(44px, 6vw, 72px) 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-logo { width: fit-content; }
.foot-logo img { height: 44px; width: auto; }
.site-footer h2 { color: var(--muted); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; }
.site-footer a svg { width: 17px; height: 17px; color: var(--muted); }
.site-footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.site-footer p { margin: 18px 0 0; color: var(--muted); max-width: 32ch; font-family: var(--font-display); font-size: 22px; line-height: 1.25; }
.foot-bottom { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line-strong); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-bottom .rule { display: inline-flex; gap: 10px; align-items: center; }
.foot-bottom .rule i { width: 18px; height: 1px; display: inline-block; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ── WhatsApp flotante ───────────────────────────────── */
.wa-fab {
  position: fixed; z-index: 50; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--navy); color: #fff; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(31, 42, 77, .25); transition: background .2s;
}
.wa-fab:hover { background: var(--navy-hover); }
@media (max-width: 560px) { .wa-fab { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }

.loading { padding: 80px 0; display: grid; place-items: center; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--art-bg), var(--surface), var(--art-bg)); background-size: 200% 100%; animation: sk 1.4s linear infinite; border-radius: var(--radius); }
@keyframes sk { to { background-position: -200% 0; } }
