/* =========================================================
   Segundazo · estilos
   Tema claro, minimalista. Un solo acento: verde petróleo.
   ========================================================= */

:root {
  /* Color */
  --bg: #f3f4f2;
  --surface: #ffffff;
  --surface-2: #f7f8f6;
  --text: #1a2120;
  --text-2: #3d4745;
  --muted: #5d6866;
  --border: #e2e5e2;
  --border-strong: #cfd4d0;

  --accent: #0f5c58;
  --accent-hover: #0b4744;
  --accent-soft: #e5f0ee;
  --accent-ink: #0b4744;

  --ok: #1d7444;
  --ok-soft: #e7f3ec;
  --warn: #8a5300;
  --warn-soft: #fbf0dc;
  --sold: #5d6866;
  --sold-soft: #eceeec;

  --ph-bg: #f1f2f0;
  --ph-ink: #9aa29f;

  /* Tipografía */
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  /* Títulos, precios y logo: grotesca con carácter (cifras tabulares) */
  --font-display: "Bricolage Grotesque", "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Forma */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-1: 0 1px 2px rgba(20, 30, 28, .05), 0 1px 1px rgba(20, 30, 28, .03);
  --shadow-2: 0 6px 20px rgba(20, 30, 28, .08), 0 2px 6px rgba(20, 30, 28, .05);
  --ring: 0 0 0 3px rgba(15, 92, 88, .35);

  --container: 1240px;
  --gutter: 16px;
  --header-h: 64px;
}

@media (min-width: 720px) {
  :root { --gutter: 24px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
main { flex: 1 0 auto; outline: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, .logo-text, .card-price, .buy-price, .stamp {
  font-family: var(--font-display);
  font-optical-sizing: auto;
}
.card-price, .buy-price { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }
svg { flex-shrink: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; transition: top .15s; min-height: 44px; display: inline-flex; align-items: center;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.1;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--accent-soft); color: var(--accent-ink); }
.btn-secondary:hover { background: #d6e8e5; }
.btn-outline { background: var(--surface); color: var(--accent-ink); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-strong); }
.btn-block { width: 100%; min-height: 50px; font-size: 16px; }
.btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

.ico-wa { fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "logo search wa";
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}
.logo { grid-area: logo; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent); }
.logo-mark svg { display: block; width: 32px; height: 32px; }
.logo-text {
  color: var(--text);
  font-weight: 800; font-size: 22px; letter-spacing: -.015em;
}
.search { grid-area: search; position: relative; max-width: 620px; width: 100%; justify-self: center; }
.search input {
  width: 100%; height: 44px;
  padding: 0 44px 0 44px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 15px;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input::placeholder { color: #7c8683; }
.search input:hover { border-color: #b9c0bc; }
.search input:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: var(--ring); }
.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round;
  pointer-events: none;
}
.search-clear {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--muted);
}
.search-clear:hover { color: var(--text); }
.search-clear[hidden] { display: none; }
.search-clear svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.header-wa { grid-area: wa; }

@media (max-width: 719px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo wa" "search search";
    gap: 10px 12px;
    padding-top: 10px; padding-bottom: 12px;
    min-height: 0;
  }
  .header-wa { min-height: 44px; padding: 0 14px; font-size: 14px; }
  .header-wa svg { width: 18px; height: 18px; }
  .logo-text { font-size: 19px; }
  .logo-mark svg { width: 28px; height: 28px; }
  .search input { height: 44px; font-size: 16px; }
  html { scroll-padding-top: 130px; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 28px; padding-bottom: 4px; }
.hero-eyebrow {
  display: inline-flex; align-items: flex-start; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--accent-ink);
  margin-bottom: 8px;
}
.hero-eyebrow svg { width: 16px; height: 16px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero h1 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15; letter-spacing: -.012em; font-weight: 700;
  max-width: 28ch; text-wrap: balance;
}
.hero-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Toolbar: chips + orden ---------- */
.toolbar { padding: 20px 0 4px; }
.chips {
  display: flex; gap: 8px; flex-wrap: wrap; min-width: 0;
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  height: 40px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: border-color .15s, background-color .15s, color .15s;
  white-space: nowrap;
}
.chip::after { content: ""; position: absolute; inset: -2px 0; } /* área táctil de 44px */
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip .count { color: var(--muted); font-weight: 500; font-size: 13px; }
.chip[aria-pressed="true"] {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.chip[aria-pressed="true"] .count { color: rgba(255, 255, 255, .82); }

.sort { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.sort label { font-size: 14px; color: var(--muted); white-space: nowrap; }
.select-wrap { position: relative; }
.select-wrap select {
  -webkit-appearance: none; appearance: none;
  height: 40px; padding: 0 34px 0 12px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); font: inherit; font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer;
}
.select-wrap select:hover { border-color: var(--border-strong); }
.select-wrap select:focus-visible { outline: none; box-shadow: var(--ring); }
.select-wrap svg {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px; fill: none; stroke: var(--muted); stroke-width: 2.2; pointer-events: none;
}

.results-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 0 14px;
}
.results-meta { font-size: 14px; color: var(--muted); min-width: 0; }
.results-meta strong { color: var(--text); font-weight: 600; }

@media (max-width: 719px) {
  .toolbar { padding: 16px 0 0; }
  .results-bar { padding: 10px 0 12px; }
  .sort label { font-size: 13px; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter);
    scroll-padding: 0 var(--gutter);
  }
  .select-wrap select { height: 44px; }
  .chips::-webkit-scrollbar { display: none; }
  .hero { padding-top: 20px; }
}

/* ---------- Grilla y tarjetas ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 48px;
}
@media (min-width: 720px)  { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1240px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(0, 0, 0, .03);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-2); }
.card:hover .card-title { color: var(--accent-ink); }
.card:focus-visible { box-shadow: var(--ring), var(--shadow-2); border-radius: var(--radius); }

.media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--surface);
  overflow: hidden;
}
/* Tarjetas: todas las fotos en el mismo marco 4:3, recortadas al centro */
.card .media { aspect-ratio: 4 / 3; background: var(--ph-bg); }
.card .media { border-bottom: 1px solid var(--border); }
.media img {
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .3s ease;
}
/* object-position 30 %: en fotos verticales (nevera, lavadora) se ve la parte de arriba (marca, panel)
   en vez de solo el centro; en fotos horizontales 4:3 no cambia nada */
.card .media img { object-fit: cover; object-position: center 30%; transition: opacity .3s ease, transform .4s ease; }
.card:hover .media.is-loaded img { transform: scale(1.03); }
.media.is-loaded img { opacity: 1; }

/* Skeleton shimmer */
.media.is-loading::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, #eef0ed 30%, #f7f8f6 50%, #eef0ed 70%);
  background-size: 300% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* Placeholder "Fotos próximamente" */
.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .9) 0, rgba(255, 255, 255, 0) 62%),
    var(--ph-bg);
  color: var(--ph-ink);
  text-align: center; padding: 16px;
}
.ph::before { /* marco discontinuo sutil: se lee como "espacio reservado", no como error */
  content: ""; position: absolute; inset: 10px;
  border: 1px dashed #d3d8d4; border-radius: 8px; pointer-events: none;
}
.ph svg { width: 26%; max-width: 72px; height: auto; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ph span {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--border);
  font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--muted);
}
.ph small { display: block; max-width: 30ch; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ph-lg { gap: 12px; }
.ph-lg::before { inset: 16px; border-radius: 10px; }
.ph-lg svg { max-width: 96px; width: 22%; }
.ph-lg span { height: 28px; padding: 0 12px; font-size: 13.5px; }

.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  height: 24px; padding: 0 9px;
  border-radius: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  background: var(--surface); color: var(--text-2);
  box-shadow: 0 0 0 1px var(--border);
}
.badge svg { width: 12px; height: 12px; }
.badge-destacado { background: var(--accent); color: #fff; box-shadow: none; }
.badge-destacado svg { fill: currentColor; }

.stamp {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  padding: 6px 16px;
  border: 2px solid currentColor; border-radius: 8px;
  font-size: 15px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(255, 255, 255, .92);
}
.stamp-reservado { color: var(--warn); }
.stamp-vendido { color: var(--sold); }

.card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 16px; flex: 1; }
.card-price { font-size: 23px; font-weight: 700; letter-spacing: -.005em; line-height: 1.15; color: var(--text); }
.card-price.is-convenir { font-size: 17px; font-weight: 700; color: var(--text-2); }
.save { font-size: 13px; font-weight: 600; color: var(--ok); }
.card-title {
  margin-top: 4px;
  font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--text-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: calc(1.4em * 2);
  transition: color .15s;
}
.card-meta { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cond { font-size: 12.5px; color: var(--muted); }
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-ink);
}

.card.is-vendido { opacity: .62; }
.card.is-vendido img { filter: grayscale(1); }
.card.is-vendido .card-price { text-decoration: line-through; text-decoration-thickness: 1.5px; color: var(--muted); }

@media (max-width: 719px) {
  .card-body { padding: 10px 11px 13px; }
  .card-price { font-size: 19px; }
  .card-price.is-convenir { font-size: 15px; }
  .card-title { font-size: 13.5px; }
  .save { font-size: 12px; }
  .badges { top: 8px; left: 8px; }
  .badge { height: 22px; padding: 0 7px; font-size: 11px; }
  .stamp { font-size: 12px; padding: 4px 10px; letter-spacing: .1em; }
  .ph span { font-size: 11px; height: 22px; padding: 0 8px; }
  .ph::before { inset: 6px; }
  .ph svg { width: 30%; }
}

/* ---------- Estados ---------- */
.empty {
  background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
  padding: 48px 24px; text-align: center; margin-bottom: 48px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.empty svg { width: 56px; height: 56px; fill: none; stroke: var(--ph-ink); stroke-width: 1.5; stroke-linecap: round; margin-bottom: 4px; }
.empty h2 { font-size: 20px; font-weight: 700; }
.empty p { color: var(--muted); max-width: 46ch; }
.empty .btn { margin-top: 10px; }
.notice { padding: 64px 16px; text-align: center; color: var(--muted); }

/* ---------- Detalle ---------- */
.crumbs { padding: 18px 0 14px; font-size: 13.5px; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: 4px 6px; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex-shrink: 0; }
.crumbs li:last-child { flex-shrink: 1; overflow: hidden; }
.crumbs li + li::before { content: "›"; color: #a3aba8; }
.crumbs a { color: var(--accent-ink); font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 48ch; }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  grid-template-areas: "gallery buy" "info buy";
  gap: 20px 24px;
  align-items: start;
}
.pdp-gallery { grid-area: gallery; }
.pdp-buy { grid-area: buy; position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-info { grid-area: info; display: flex; flex-direction: column; gap: 20px; }

.panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  border: 1px solid rgba(0, 0, 0, .03);
}

/* Galería */
.gallery { padding: 20px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
.gallery.single { grid-template-columns: minmax(0, 1fr); }
.thumbs { display: flex; flex-direction: column; gap: 8px; }
.thumb {
  position: relative; width: 72px; aspect-ratio: 1; padding: 4px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--surface); overflow: hidden;
  transition: border-color .15s;
}
.thumb:hover { border-color: var(--border-strong); }
.thumb[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.thumb .media { aspect-ratio: auto; position: absolute; inset: 4px; }

.stage { position: relative; min-width: 0; }
.stage .media { aspect-ratio: 4 / 3.4; border-radius: var(--radius); background: var(--surface-2); }
.gallery.no-fotos .stage .media { aspect-ratio: 16 / 9; }
.stage-btn { display: block; position: relative; width: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; border-radius: var(--radius); touch-action: pan-y; }
.stage-btn .media { width: 100%; }
.g-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .95);
  box-shadow: var(--shadow-1);
  display: grid; place-items: center; color: var(--text);
  opacity: .9; transition: opacity .15s, box-shadow .15s;
}
.g-nav:hover { opacity: 1; box-shadow: var(--shadow-2); }
.g-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.g-prev { left: 8px; }
.g-next { right: 8px; }
.g-count {
  position: absolute; right: 10px; bottom: 10px; z-index: 4;
  padding: 3px 9px; border-radius: 999px;
  background: rgba(26, 33, 32, .72); color: #fff; font-size: 12px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.g-zoom-hint {
  position: absolute; left: 10px; bottom: 10px; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(255, 255, 255, .92); color: var(--text-2); box-shadow: 0 0 0 1px var(--border);
  pointer-events: none;
}
.g-zoom-hint svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Caja de compra */
.buy { padding: 24px; display: flex; flex-direction: column; }
.buy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.buy .cond { font-size: 13.5px; }
.buy h1 { margin-top: 8px; font-size: 23px; line-height: 1.25; letter-spacing: -.005em; font-weight: 600; overflow-wrap: anywhere; }
.buy-price { margin-top: 16px; font-size: 38px; font-weight: 700; letter-spacing: -.01em; line-height: 1.05; }
.buy-price.is-convenir { font-size: 26px; }
.buy-price.is-vendido { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.buy-ref { margin-top: 6px; font-size: 14px; color: var(--muted); }
.buy-ref .save { font-size: 14px; }
.buy .tag { margin-top: 12px; align-self: flex-start; height: 26px; padding: 0 10px; font-size: 13px; }

.status {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-disponible { background: var(--ok-soft); color: var(--ok); }
.status-reservado { background: var(--warn-soft); color: var(--warn); }
.status-vendido { background: var(--sold-soft); color: var(--sold); }

.facts { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.facts svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.facts strong { display: block; color: var(--text); font-weight: 600; }
.facts span { color: var(--muted); }

.buy-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.buy-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.buy-alert {
  margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 14px; line-height: 1.45;
}
.buy-alert.reservado { background: var(--warn-soft); color: var(--warn); }
.buy-alert.vendido { background: var(--sold-soft); color: var(--text-2); }

/* Secciones de info */
.section { padding: 24px; }
.section h2 { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.specs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 12px 16px; }
.specs th { width: 38%; font-weight: 600; color: var(--text); background: var(--surface-2); }
.specs td { color: var(--text-2); overflow-wrap: anywhere; }
.specs tr + tr th, .specs tr + tr td { border-top: 1px solid var(--border); }
.specs td[colspan] { background: var(--surface); }
.desc { color: var(--text-2); font-size: 15.5px; line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; max-width: 72ch; }

.related { padding: 36px 0 56px; }
.related-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.related-head h2 { font-size: 22px; font-weight: 700; }
.related-head a { font-size: 14px; font-weight: 600; color: var(--accent-ink); display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
.related-head a:hover { text-decoration: underline; text-underline-offset: 3px; }
.rail { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.rail > .card:nth-child(n+6) { display: none; }

@media (max-width: 999px) {
  .pdp { grid-template-columns: minmax(0, 1fr) 340px; }
  .rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rail > .card:nth-child(n+5) { display: none; }
}
@media (max-width: 839px) {
  .pdp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "gallery" "buy" "info"; gap: 12px; }
  .pdp-buy { position: static; }
  .pdp-info { gap: 12px; }
  .gallery { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 10px; }
  .thumbs { flex-direction: row; order: 2; overflow-x: auto; scrollbar-width: none; padding: 2px; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumb { width: 60px; flex-shrink: 0; }
  .stage .media { aspect-ratio: 1 / 1; }
  .rail {
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: minmax(150px, 44%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px;
    scroll-padding: 0 var(--gutter);
    gap: 12px;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > .card { scroll-snap-align: start; }
  .rail > .card:nth-child(n+5) { display: flex; }
}
@media (max-width: 719px) {
  .crumbs { padding: 12px 0 10px; font-size: 13px; }
  .crumbs [aria-current] { max-width: none; }
  .buy { padding: 18px; }
  .buy h1 { font-size: 21px; }
  .buy-price { font-size: 34px; }
  .section { padding: 18px; }
  .specs th, .specs td { padding: 10px 12px; }
  .specs th { width: 42%; }
  .g-nav { width: 44px; height: 44px; }
  .g-zoom-hint { display: none; }
  .gallery.no-fotos .stage .media { aspect-ratio: 4 / 3; }
  .related { padding: 24px 0 40px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(14, 19, 18, .94);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 72px;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lb-stage { flex: 1; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-figure figcaption { color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.lb-close, .lb-nav {
  position: absolute; border: 0; border-radius: 50%;
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: background-color .15s;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox :focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
@media (max-width: 719px) {
  .lightbox { padding: 64px 8px 24px; }
  .lb-nav { top: auto; bottom: 16px; transform: none; }
  .lb-figure { padding-bottom: 56px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-top: 36px; padding-bottom: 28px; }
.footer-brand .logo-text { font-size: 20px; }
.footer-brand p { margin-top: 10px; color: var(--muted); font-size: 14px; max-width: 46ch; }
.footer-col h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 10px; }
.footer-col p { font-size: 14px; color: var(--text-2); }
.footer-col p + p { margin-top: 4px; }
.footer-col a { color: var(--accent-ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { padding-bottom: 18px; font-size: 13px; color: var(--muted); }
.footer-bottom > div { border-top: 1px solid var(--border); padding-top: 14px; display: flex; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
@media (max-width: 719px) {
  .footer-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
  .site-footer { padding-bottom: 72px; }
}

/* ---------- WhatsApp flotante (móvil) ---------- */
.fab-wa {
  position: fixed; z-index: 50;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  display: none; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 8px 24px rgba(15, 92, 88, .35), 0 2px 6px rgba(0, 0, 0, .12);
}
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:active { transform: scale(.96); }
@media (max-width: 719px) { .fab-wa { display: grid; } }
.fab-wa[hidden] { display: none !important; }
.fab-wa { transition: opacity .2s, transform .2s; }
.fab-wa.is-off { opacity: 0; transform: scale(.8); pointer-events: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: #fff; font-size: 14px; font-weight: 600;
  padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-2);
  transition: opacity .2s, transform .2s;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 719px) { .toast { bottom: 88px; } }

/* ---------- Vista: transición sutil ---------- */
.view { animation: viewIn .25s ease both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.stage:has(.ph) .g-zoom-hint { display: none; }
.stage:has(.ph) .stage-btn { cursor: default; }

/* Etiqueta en fotos de referencia (del fabricante, no del artículo real) */
.ref-tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 1;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(20, 24, 22, .72); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .01em; line-height: 1.4;
  pointer-events: none;
}
.stage .ref-tag, .lb-stage .ref-tag { font-size: 12px; left: 12px; top: 12px; bottom: auto; }

/* =========================================================
   Movimiento: transiciones y entradas
   ========================================================= */
:root { --ease-out: cubic-bezier(.22, .8, .3, 1); }

.site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(20, 30, 28, .07); }

.btn { transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s, transform .12s; }
.btn:active, .chip:active { transform: scale(.97); }
.g-nav:active { transform: translateY(-50%) scale(.94); }
.chip { transition: border-color .15s, background-color .2s, color .2s, transform .12s; }

@media (hover: hover) and (pointer: fine) {
  .card { transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out); }
  .card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20, 30, 28, .1), 0 3px 8px rgba(20, 30, 28, .05); }
}
.card:active { transform: scale(.985); }

/* Tarjetas: entrada escalonada al cambiar de categoría, orden o vista */
.grid.is-entering .card {
  animation: cardIn .45s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Detalle: los paneles entran en cascada */
.detail .pdp > * { animation: cardIn .45s var(--ease-out) backwards; }
.detail .pdp-buy { animation-delay: 70ms; }
.detail .pdp-info { animation-delay: 140ms; }
.detail .related { animation: cardIn .45s var(--ease-out) .2s backwards; }

/* Lightbox: fundido */
.lightbox:not([hidden]) { animation: fadeIn .2s ease both; }
.lightbox:not([hidden]) .lb-stage img { animation: zoomIn .25s var(--ease-out) both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

/* =========================================================
   Búsqueda: exactos + por coincidencia
   ========================================================= */
.res-head {
  display: flex; align-items: center; gap: 8px;
  font-size: 17px; font-weight: 700; margin: 4px 0 12px;
}
.res-head span {
  display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 7px;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink);
  font-family: var(--font); font-size: 12.5px; font-weight: 700;
}
.res-sub { margin: -6px 0 14px; font-size: 14px; color: var(--muted); }
.grid + .res-head { margin-top: -16px; padding-top: 22px; border-top: 1px solid var(--border); }
.no-exact {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; margin-bottom: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14.5px; color: var(--text-2);
  animation: cardIn .35s var(--ease-out) both;
}
.no-exact svg { width: 22px; height: 22px; margin-top: 1px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.link-btn {
  border: 0; background: none; padding: 0; font: inherit; font-weight: 700;
  color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.link-btn:hover { color: var(--accent); }

/* Espacio para que el chat flotante no tape el pie de página */
.site-footer { padding-bottom: 76px; }
@media (max-width: 719px) { .site-footer { padding-bottom: 84px; } }

/* =========================================================
   Chat con Rony (abajo a la derecha)
   ========================================================= */
.chat {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  pointer-events: none; /* solo sus hijos reciben clics */
}
.chat > * { pointer-events: auto; }

.chat-avatar {
  position: relative; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #14736e, #0b4744); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
}
.chat-avatar.sm { width: 34px; height: 34px; font-size: 15px; }
.chat-online {
  position: absolute; right: -1px; bottom: -1px; width: 12px; height: 12px; border-radius: 50%;
  background: #25d366; border: 2px solid #fff;
}

/* Botón redondo */
.chat-launcher {
  position: relative; order: 3;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 26px rgba(15, 92, 88, .38), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s var(--ease-out), background-color .15s, box-shadow .2s;
}
.chat-launcher:hover { background: var(--accent-hover); transform: translateY(-2px); }
.chat-launcher:active { transform: scale(.94); }
.chat-launcher:focus-visible { box-shadow: var(--ring), 0 10px 26px rgba(15, 92, 88, .38); border-radius: 50%; }
.chat-launcher svg { grid-area: 1 / 1; width: 28px; height: 28px; transition: transform .25s var(--ease-out), opacity .2s; }
.chat-launcher .ico-chat path { fill: currentColor; }
.chat-launcher .ico-chat circle { fill: var(--accent); transition: fill .15s; }
.chat-launcher:hover .ico-chat circle { fill: var(--accent-hover); }
.chat-launcher .ico-close { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: rotate(-90deg) scale(.6); }
.chat[data-state="open"] .ico-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.chat[data-state="open"] .ico-close { opacity: 1; transform: none; }
.chat-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  background: #e5484d; color: #fff; font-size: 12px; font-weight: 700;
  border: 2px solid #fff;
  animation: badgePop .4s var(--ease-out) both;
}
@keyframes badgePop { from { transform: scale(0); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
/* Pulso suave mientras hay mensaje sin leer */
.chat.has-unread .chat-launcher::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent); z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse { from { transform: scale(1); opacity: .45; } to { transform: scale(1.6); opacity: 0; } }

/* Notificación (burbuja de Rony) */
.chat-teaser-wrap {
  position: relative; order: 2;
  max-width: min(320px, calc(100vw - 32px));
  opacity: 0; transform: translateY(10px) scale(.96); transform-origin: bottom right;
  transition: opacity .22s ease, transform .3s var(--ease-out);
}
.chat-teaser-wrap.is-in { opacity: 1; transform: none; }
.chat-teaser {
  display: flex; align-items: flex-start; gap: 10px; text-align: left;
  padding: 12px 34px 12px 12px; border: 1px solid var(--border);
  background: var(--surface); border-radius: 16px 16px 4px 16px;
  box-shadow: 0 14px 36px rgba(20, 30, 28, .16), 0 2px 6px rgba(20, 30, 28, .06);
  transition: box-shadow .2s, transform .2s var(--ease-out);
}
.chat-teaser:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(20, 30, 28, .2), 0 2px 6px rgba(20, 30, 28, .06); }
.chat-teaser-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.chat-teaser-text strong { color: var(--text); font-size: 14px; }
.chat-teaser-text span {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.chat-teaser-x {
  position: absolute; top: 4px; right: 4px;
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent;
  display: grid; place-items: center; color: var(--muted);
}
.chat-teaser-x:hover { background: var(--surface-2); color: var(--text); }
.chat-teaser-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* Panel */
.chat-panel {
  order: 1;
  width: min(370px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 110px));
  max-height: min(560px, calc(100dvh - 110px));
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: 0 24px 60px rgba(20, 30, 28, .22), 0 4px 12px rgba(20, 30, 28, .08);
  opacity: 0; transform: translateY(16px) scale(.96); transform-origin: bottom right;
  transition: opacity .2s ease, transform .28s var(--ease-out);
}
.chat-panel.is-in { opacity: 1; transform: none; }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 8px 12px 16px;
  background: linear-gradient(135deg, #0f5c58, #0b4744); color: #fff;
}
.chat-head .chat-avatar { background: #fff; color: var(--accent); }
.chat-head .chat-online { border-color: #0f5c58; }
.chat-who { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.chat-who strong { font-size: 16px; font-family: var(--font-display); }
.chat-who span { font-size: 12.5px; color: rgba(255, 255, 255, .8); }
.chat-min {
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: #fff;
  display: grid; place-items: center; transition: background-color .15s;
}
.chat-min:hover { background: rgba(255, 255, 255, .14); }
.chat-min svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.chat-min:focus-visible { box-shadow: 0 0 0 3px rgba(255, 255, 255, .55); border-radius: 50%; }

.chat-body {
  flex: 1; min-height: 150px; overflow-y: auto; overscroll-behavior: contain;
  padding: 16px 14px 10px;
  display: flex; flex-direction: column; gap: 8px;
  background-color: #eef3f1;
}
.msg {
  max-width: 86%; padding: 9px 12px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
  box-shadow: 0 1px 1px rgba(20, 30, 28, .06);
  animation: msgIn .3s var(--ease-out) both;
}
.msg-in { align-self: flex-start; background: #fff; color: var(--text); border-top-left-radius: 4px; }
.msg-out { align-self: flex-end; background: #d6efe9; color: var(--text); border-top-right-radius: 4px; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa6a3; animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

.quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; animation: msgIn .3s var(--ease-out) .1s both; }
.quick-btn {
  min-height: 36px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid #b7d6d0; background: #fff; color: var(--accent-ink);
  font-size: 13.5px; font-weight: 600; text-align: left; line-height: 1.3;
  transition: background-color .15s, border-color .15s, transform .12s;
}
.quick-btn:hover { background: var(--accent-soft); border-color: var(--accent); }
.quick-btn:active { transform: scale(.97); }

.chat-form {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 10px 10px 6px 12px; border-top: 1px solid var(--border); background: var(--surface);
}
.chat-form textarea {
  flex: 1; min-width: 0; resize: none; display: block;
  height: 44px; min-height: 44px; max-height: 112px; padding: 11px 14px;
  border: 1px solid var(--border-strong); border-radius: 22px;
  background: var(--surface-2); font: inherit; font-size: 16px; line-height: 1.35; color: var(--text);
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.chat-form textarea::placeholder { color: #7c8683; }
.chat-form textarea:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: var(--ring); }
.chat-send {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: #1fa855; color: #fff;
  transition: background-color .15s, transform .15s var(--ease-out);
}
.chat-send:hover:not(:disabled) { background: #188f47; }
.chat-send:active:not(:disabled) { transform: scale(.92); }
.chat-send:disabled { background: #c9d3d0; cursor: default; }
.chat-send svg { width: 20px; height: 20px; margin-left: -2px; fill: currentColor; }
.chat-send:focus-visible { border-radius: 50%; }
.chat-foot { padding: 0 12px 10px; font-size: 11.5px; color: var(--muted); text-align: center; background: var(--surface); }

@media (max-width: 719px) {
  .chat { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); gap: 10px; }
  .chat-launcher { width: 54px; height: 54px; }
  .chat-panel { width: calc(100vw - 24px); max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); }
  .chat-teaser-wrap { max-width: min(340px, calc(100vw - 24px)); }
  .fab-wa { bottom: max(12px, env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); }
}
@media print { .chat, .fab-wa { display: none !important; } }
/* El chat (a la derecha) reemplaza al botón flotante de WhatsApp en todas las vistas */
.fab-wa { display: none !important; }

/* Precio anterior tachado, semitransparente, al lado del precio actual */
.was {
  display: inline-block; margin-left: .3em;
  font-family: var(--font); font-size: .58em; font-weight: 500; letter-spacing: 0;
  color: var(--muted); opacity: .7;
  text-decoration: line-through; text-decoration-thickness: 1.5px;
  white-space: nowrap; vertical-align: .08em;
}
.buy-price .was { font-size: .5em; margin-left: .4em; }
@media (max-width: 719px) {
  .card-price .was { display: block; margin: 2px 0 0; font-size: 13.5px; text-decoration-thickness: 1px; vertical-align: 0; }
}
