/* ============================================================
   FERRE-UTIL · stylesheet
   Mobile-first · Sin azul en ningún estado
   ============================================================ */

/* ============ TOKENS ============ */
:root {
  /* Color */
  --bg:           #FFFFFF;
  --bg-soft:      #FAFAF7;
  --bg-softer:    #F4F2EC;
  --ink:          #1A1A1A;
  --ink-2:        #3C3C3C;
  --ink-3:        #6B6B66;
  --ink-4:        #9A9A92;
  --line:         #E8E6DE;
  --line-2:       #D8D5CB;
  --accent:       #FFCC00;
  --accent-dark:  #E6B800;
  --accent-soft:  #FFF6CC;
  --accent-tint:  #FFFBE6;
  --wa:           #25D366;
  --wa-dark:      #1FB957;
  --ok:           #2E7D32;
  --ok-soft:      #E6F2E7;
  --warn:         #B45309;
  --warn-soft:    #FEF3E2;
  --off:          #8B8B85;
  --off-soft:     #EFEDE5;

  /* Tipografía */
  --font-display: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Radios */
  --r-sm:  6px;
  --r-md:  8px;
  --r-lg:  12px;
  --r-xl:  16px;
  --r-2xl: 22px;
  --r-full: 999px;

  /* Sombras */
  --sh-1: 0 1px 2px rgba(0,0,0,.04);
  --sh-2: 0 2px 8px rgba(0,0,0,.05);
  --sh-3: 0 8px 24px rgba(0,0,0,.08);
  --sh-fab: 0 8px 20px rgba(37,211,102,.35);

  /* Espacios */
  --pad-x: 16px;
  --pad-x-lg: 24px;

  /* Header */
  --h-top: 36px;
  --h-header: 64px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
img, svg { display: block; max-width: 100%; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
[v-cloak] { display: none !important; }

/* SELECCIÓN — no azul */
::selection { background: var(--accent); color: var(--ink); }
::-moz-selection { background: var(--accent); color: var(--ink); }

/* FOCUS GLOBAL — no azul. Solo visible con teclado. */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ UTILITARIOS ============ */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: 820px; }

.ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.ic-sm { width: 16px; height: 16px; }
.ic-lg { width: 28px; height: 28px; }


/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  height: var(--h-top);
  background: var(--ink);
  color: #F2F0E8;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
}
.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar__loc .ic { color: var(--accent); }
.topbar__tasa { color: #DCD9CE; }
.topbar__tasa b { color: var(--accent); font-weight: 700; }

@media (max-width: 480px) {
  .topbar { font-size: 11px; }
  .topbar__loc { gap: 4px; }
}


/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--h-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* LOGO wordmark */
.logo {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.logo__main { color: var(--ink); }
.logo__dot {
  color: var(--accent);
  margin: 0 1px;
  font-weight: 900;
  transform: translateY(-1px);
}
.logo__alt { color: var(--ink); }
.logo--light .logo__main,
.logo--light .logo__alt { color: #FFFFFF; }

/* NAV desktop */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  flex: 1;
  margin-left: 32px;
}
.nav-desktop a {
  padding: 8px 14px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
  border-radius: var(--r-md);
  transition: color .15s, background .15s;
}
.nav-desktop a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-desktop a.active {
  color: var(--ink);
  background: var(--accent-tint);
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  color: var(--ink);
  transition: background .15s;
}
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn--cart .cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.nav-toggle { display: inline-flex; }

/* NAV móvil */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: #FFFFFF;
  border-top: 1px solid var(--line);
  padding: 8px var(--pad-x) 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile__wa {
  margin-top: 8px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--wa) !important;
  font-weight: 700 !important;
  border: 0 !important;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .nav-toggle  { display: none; }
  .nav-mobile  { display: none !important; }
}


/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
  border: 2px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }

.btn--primary {
  background: var(--accent);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(255,204,0,.4);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn--link {
  background: transparent;
  color: var(--ink-3);
  padding: 8px 12px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn--link:hover { color: var(--ink); }

.btn--sm  { padding: 8px 14px; font-size: 13px; }
.btn--lg  { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }


/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO — Fondo azul tipo plano técnico
   ============================================================ */
.hero {
  position: relative;
  background: #0B1E3A;
  min-height: 70vh;
  overflow: hidden;
  border-bottom: 2px solid #1A3A6B;
}

/* Cuadrícula estilo plano técnico */
.hero__blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 360px;
  height: 360px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: .12;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  min-height: 70vh;
  padding-top: 32px;
  padding-bottom: 48px;
}

/* Bloque del logo hero */
.hero__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
}

.hero__logo-line {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(52px, 12vw, 96px);
  line-height: .95;
  letter-spacing: -.03em;
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hero__logo-dot { color: #E63030; margin: 0 2px; }
.hero__logo-main, .hero__logo-alt { color: #FFFFFF; }

.hero__subtitle-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 4px;
  padding: 6px 14px;
  width: fit-content;
}
.hero__subtitle-icon { color: rgba(255,255,255,.4); font-size: 14px; line-height: 1; }
.hero__subtitle-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(14px, 2.5vw, 20px);
  letter-spacing: .18em;
  color: #FFFFFF;
  text-transform: uppercase;
}
.hero__subtitle-accent { color: #E63030; }

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(10px, 1.5vw, 13px);
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  margin-top: 4px;
}

.hero__sub {
  font-size: 16px;
  color: rgba(255,255,255,.65);
  max-width: 480px;
  line-height: 1.6;
  margin-top: 4px;
}

.hero__cta {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Botón ghost sobre fondo oscuro */
.btn--ghost-light {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,.4);
  transition: background .15s, border-color .15s;
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

/* Mosaico de departamentos — 8 tiles cuadrados con foto real, sobre fondo oscuro */
.hero__mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.hero-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
  border: 2px solid #0F1E3C;
  background: #0B1E3A;
  overflow: hidden;
  transition: transform .15s ease, border-color .15s ease;
}
.hero-tile:hover,
.hero-tile:focus-visible {
  transform: translateY(-3px);
  border-color: #E63027;
}
.hero-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-tile__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
}
.hero-tile__icon { width: 42%; height: 42%; }
.hero-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.hero-tile__name {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* Skeleton shimmer mientras se resuelve la foto de cada tile */
.hero-tile--skeleton {
  background: linear-gradient(100deg, #0B1E3A 30%, #16305A 50%, #0B1E3A 70%);
  background-size: 200% 100%;
  animation: hero-tile-shimmer 1.4s ease-in-out infinite;
}
@keyframes hero-tile-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (min-width: 640px) {
  .hero__mosaic { grid-template-columns: repeat(4, 1fr); }
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,204,0,.2);
}
.eyebrow--light { color: rgba(255,255,255,.7); }
.eyebrow--light .eyebrow__dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,204,0,.25);
}



@media (min-width: 900px) {
  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
    padding-top: 56px;
    padding-bottom: 80px;
  }
  .hero__text { flex: 1; max-width: 620px; }
  .hero__mosaic {
    flex: 1;
    max-width: 560px;
    margin: 0;
  }
}


/* ============================================================
   SECCIONES
   ============================================================ */
.section {
  padding: 64px 0;
  background: var(--bg);
}
.section--alt { background: var(--bg-soft); }
.section__head { margin-bottom: 32px; }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.section__title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section__sub {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 15px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink-2);
  transition: gap .15s, color .15s;
}
.link-arrow:hover { color: var(--ink); gap: 10px; }
.link-arrow .ic { width: 18px; height: 18px; }

@media (min-width: 900px) {
  .section { padding: 88px 0; }
}


/* ============================================================
   GRID DE PRODUCTOS · TARJETA
   ============================================================ */
.grid--products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .grid--products { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px){ .grid--products { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.pcard {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--sh-1);
}
.pcard:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}

.pcard__media {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.pcard__media svg {
  width: 48%;
  height: 48%;
  transition: transform .25s ease;
}
.pcard:hover .pcard__media svg { transform: scale(1.06) rotate(-2deg); }

/* tintes por departamento */
.pcard__media--tuberia   { background: #F4F2EC; }
.pcard__media--electrico { background: var(--accent-soft); }
.pcard__media--pintura   { background: #F4F2EC; }
.pcard__media--tanque    { background: var(--accent-tint); }
.pcard__media--bomba     { background: #EFEDE5; }
.pcard__media--general   { background: var(--bg-soft); }

.pcard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  flex: 1;
  background: #FFFFFF;
}
.pcard__dept {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.pcard__name {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}
.pcard__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.pcard__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.pcard__body .btn { margin-top: 6px; padding: 10px 14px; font-size: 13.5px; }


/* ============================================================
   PILL · estado de stock
   ============================================================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--r-full);
  letter-spacing: .01em;
}
.pill .ic { width: 12px; height: 12px; }
.pill--ok   { background: var(--ok-soft);   color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--off  { background: var(--off-soft);  color: var(--off); }


/* ============================================================
   STRIP · franja de confianza
   ============================================================ */
.strip {
  background: var(--accent);
  color: var(--ink);
  padding: 22px 0;
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  letter-spacing: -.005em;
}
.strip__divider {
  width: 1px;
  height: 24px;
  background: rgba(26,26,26,.2);
  display: none;
}
@media (min-width: 700px) {
  .strip__divider { display: block; }
  .strip__item { font-size: 15px; }
}


/* ============================================================
   CTA BLOCK negro
   ============================================================ */
.cta-block {
  background: var(--ink);
  color: #FFFFFF;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 280px;
  height: 280px;
  background: var(--accent);
  border-radius: 50%;
  filter: blur(100px);
  opacity: .25;
}
.cta-block__inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-block h2 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.cta-block p {
  color: #C7C5BE;
  font-size: 16px;
  max-width: 520px;
}
.cta-block .btn { margin-top: 16px; }


/* ============================================================
   PÁGINAS INTERIORES
   ============================================================ */
.page-pad {
  padding: 32px 0 64px;
  min-height: 60vh;
}
.page-head {
  margin-bottom: 28px;
}
.page-head h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}
.page-head p {
  color: var(--ink-3);
  font-size: 15.5px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 20px;
  transition: color .15s;
}
.back-link:hover { color: var(--ink); }


/* ============================================================
   FILTROS · CATÁLOGO
   ============================================================ */
.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 720px) {
  .filters {
    flex-direction: row;
    align-items: center;
  }
  .filters > * { flex: 1; }
  .search { flex: 2; }
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 14px;
  height: 48px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.search > .ic {
  color: var(--ink-4);
  margin-right: 10px;
  width: 18px;
  height: 18px;
}
.search input {
  flex: 1;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: var(--ink);
}
.search input::placeholder { color: var(--ink-4); }
.search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,204,0,.18);
  background: #FFFFFF;
}
.search:focus-within > .ic { color: var(--ink); }
.search__clear {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  color: var(--ink-3);
}
.search__clear:hover { background: var(--bg-soft); color: var(--ink); }
.search__clear .ic { width: 14px; height: 14px; }

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  width: 100%;
  height: 48px;
  padding: 0 42px 0 14px;
  background: #FFFFFF;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14.5px;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.select-wrap select:hover { border-color: var(--line-2); }
.select-wrap select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,204,0,.18);
}
.select-wrap select:disabled {
  background: var(--bg-soft);
  color: var(--ink-4);
  cursor: not-allowed;
  opacity: .6;
}

.results-count {
  margin-bottom: 16px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 500;
}


/* ============================================================
   PAGINACIÓN
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pag-btn {
  padding: 10px 18px;
  background: #FFFFFF;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.pag-btn:hover:not(:disabled) {
  background: var(--ink);
  color: #FFFFFF;
}
.pag-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  border-color: var(--line-2);
}
.pag-info {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-3);
}


/* ============================================================
   ESTADO VACÍO
   ============================================================ */
.empty {
  text-align: center;
  padding: 48px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.empty__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.empty__icon svg { width: 32px; height: 32px; }
.empty h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.empty p {
  color: var(--ink-3);
  font-size: 15px;
  max-width: 380px;
}
.empty .btn { margin-top: 8px; }


/* ============================================================
   DETALLE DE PRODUCTO
   ============================================================ */
.prod-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
.prod-detail__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}
.prod-detail__media svg { width: 38%; height: 38%; }
.prod-detail__info h1 {
  font-size: clamp(26px, 4.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 8px 0 16px;
  color: var(--ink);
}
.prod-detail__price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-bottom: 16px;
}
.prod-detail__amount {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.prod-detail__usd {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .08em;
}
.prod-detail__stock { margin-bottom: 24px; }

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.qty-label {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  height: 44px;
}
.qty button {
  width: 44px;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .15s;
}
.qty button:hover:not(:disabled) { background: var(--accent-tint); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty button .ic { width: 16px; height: 16px; }
.qty span {
  min-width: 44px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.qty--sm { height: 36px; }
.qty--sm button { width: 36px; }
.qty--sm span { min-width: 36px; font-size: 14px; }

.prod-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prod-detail__actions .btn { width: 100%; }

@media (min-width: 900px) {
  .prod-detail {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
  .prod-detail__media { max-width: none; }
  .prod-detail__actions {
    flex-direction: row;
  }
  .prod-detail__actions .btn { width: auto; flex: 1; }
}


/* ============================================================
   CARRITO
   ============================================================ */
.cart-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 12px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  align-items: center;
}
.cart-item__media {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.cart-item__media svg { width: 50%; height: 50%; }
.cart-item__info { min-width: 0; }
.cart-item__info h3 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item__unit {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.cart-item__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.cart-item__sub {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--ink);
}
.btn-remove {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-3);
  border-radius: var(--r-md);
  transition: color .15s, background .15s;
}
.btn-remove:hover {
  color: var(--ink);
  background: var(--bg-soft);
}
.btn-remove .ic { width: 18px; height: 18px; }

@media (min-width: 640px) {
  .cart-item {
    grid-template-columns: 72px 1fr auto;
  }
  .cart-item__controls {
    grid-column: auto;
    border-top: 0;
    padding-top: 0;
    flex-direction: row;
  }
}

.cart-summary {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  color: var(--ink-2);
}
.cart-summary__row--total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.cart-summary__total {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -.02em;
}
.cart-summary__total small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  letter-spacing: .08em;
  margin-left: 4px;
}
.cart-summary__note {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-bottom: 8px;
  font-style: italic;
}
.cart-summary .btn { margin-top: 8px; }


/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 32px;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s, transform .15s;
}
.contact-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.01em;
}
.contact-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.contact-card .btn { align-self: flex-start; margin-top: 4px; }

.contact-map {
  height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.contact-map iframe { width: 100%; height: 100%; display: block; }
@media (min-width: 900px) { .contact-map { height: 100%; min-height: 480px; } }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: #C7C5BE;
  padding: 48px 0 20px;
  margin-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid #2D2D2A;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col p {
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__col p .ic { color: var(--accent); }
.footer__col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 14.5px;
  color: #C7C5BE;
  transition: color .15s;
  padding: 2px 0;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #8B8B85;
}

@media (min-width: 700px) {
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 40px;
  }
}


/* ============================================================
   FAB · WhatsApp
   ============================================================ */
.fab-wa {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--wa);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-fab);
  z-index: 40;
  transition: transform .2s, background .15s, box-shadow .2s;
  animation: fab-pop .6s cubic-bezier(.34,1.56,.64,1) .8s both;
}
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa:hover {
  background: var(--wa-dark);
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37,211,102,.5);
}
.fab-wa:active { transform: scale(.96); }

@keyframes fab-pop {
  from { opacity: 0; transform: scale(.3); }
  to   { opacity: 1; transform: scale(1); }
}

/* Pulso suave */
.fab-wa::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: fab-pulse 2.4s ease-out infinite;
}
@keyframes fab-pulse {
  0%   { transform: scale(1);   opacity: .6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (min-width: 900px) {
  .fab-wa { bottom: 28px; right: 28px; width: 60px; height: 60px; }
  .fab-wa svg { width: 32px; height: 32px; }
}


/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--sh-3);
  z-index: 100;
  max-width: 90vw;
}
.toast .ic { color: var(--accent); width: 18px; height: 18px; }
.toast-enter-active, .toast-leave-active {
  transition: opacity .25s, transform .25s;
}
.toast-enter-from { opacity: 0; transform: translate(-50%, 12px); }
.toast-leave-to   { opacity: 0; transform: translate(-50%, 12px); }

@media (min-width: 900px) {
  .toast { bottom: 32px; left: auto; right: 100px; transform: none; }
  .toast-enter-from, .toast-leave-to { opacity: 0; transform: translateY(12px); }
}


/* ============================================================
   SKELETON · loaders
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 0%, #F0EDE3 50%, var(--bg-soft) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--r-lg);
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton--card  { aspect-ratio: 3 / 4; }
.skeleton--media { aspect-ratio: 1 / 1; max-width: 520px; margin: 0 auto 16px; }
.skeleton--text  { height: 240px; }


/* ============================================================
   AUTOFILL · evita amarillo-azul de Chrome
   ============================================================ */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink);
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
  transition: background-color 9999s ease-in-out 0s;
}


/* ============================================================
   ACCESIBILIDAD · reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .fab-wa::before { display: none; }
}

/* ============================================================
   SECCIÓN MARCAS + PROMO GRID
   ============================================================ */
.section--brands {
  background: var(--bg);
  padding: 64px 0;
}

/* Franja de marcas */
.brands-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.brands-row__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.brands-row__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brand-pill {
  padding: 6px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--ink-2);
  background: #FFFFFF;
  transition: border-color .15s, color .15s;
}
.brand-pill:hover {
  border-color: var(--accent);
  color: var(--ink);
}

/* Grid de productos promo */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 700px) {
  .promo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .promo-card--big {
    grid-column: span 2;
  }
}

/* Tarjeta base */
.promo-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: var(--sh-1);
}
.promo-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--sh-3);
}

/* Badge oferta */
.promo-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #E63030;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 8px;
  border-radius: 4px;
  z-index: 1;
}

/* Imagen / ícono */
.promo-card__img {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  border-bottom: 1px solid var(--line);
}
.promo-card--big .promo-card__img {
  aspect-ratio: 16/9;
}
.promo-card__img--manto { background: #EEF2F7; }
.promo-card__img--bomba { background: var(--bg-softer); }
.promo-card__img svg {
  width: 40%;
  height: 40%;
  color: var(--ink-3);
  transition: transform .25s;
}
.promo-card:hover .promo-card__img svg {
  transform: scale(1.08);
}

/* Cuerpo */
.promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  flex: 1;
}
.promo-card__marca {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.promo-card__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -.005em;
}
.promo-card--big .promo-card__name {
  font-size: 16px;
}
.promo-card__precio {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 4px 0;
}
.promo-card__old {
  font-size: 13px;
  color: var(--ink-4);
  text-decoration: line-through;
}
.promo-card__new {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #E63030;
  letter-spacing: -.02em;
}
.promo-card--sm .promo-card__new {
  font-size: 18px;
}
.promo-card__new small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  margin-left: 2px;
}
.promo-card__body .btn {
  margin-top: auto;
}

@media (min-width: 900px) {
  .section--brands { padding: 88px 0; }
  .brands-row {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}

/* ============================================================
   OFERTAS DEL MOMENTO · franja destacada del HOME
   Reutiliza .pcard entera; solo agrega el badge de descuento y
   el par de precios antes/ahora.
   ============================================================ */
.section--ofertas { background: var(--accent-tint); }

.pcard--oferta { border-color: var(--accent-dark); }
.pcard--oferta .pcard__media { position: relative; }

.oferta-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}

.oferta-precios {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.oferta-antes {
  color: var(--ink-4);
  font-size: 14px;
  text-decoration: line-through;
}


/* ============================================================
   PROGRAMA DE PUNTOS · banner HOME + vista #/puntos
   ============================================================ */
.puntos-banner {
  background: var(--accent-soft);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.puntos-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.puntos-banner__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: 6px;
}
.puntos-banner h2 {
  font-size: clamp(22px, 4.5vw, 32px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.puntos-banner p {
  color: var(--ink-2);
  margin-top: 4px;
}
@media (min-width: 700px) {
  .puntos-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.puntos-grid {
  display: grid;
  gap: 24px;
  padding-bottom: 72px;       /* que el botón flotante de WhatsApp no tape el final del formulario */
}
@media (min-width: 720px) {
  .puntos-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.puntos-pasos {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: paso;
  display: grid;
  gap: 18px;
}
.puntos-pasos li {
  counter-increment: paso;
  position: relative;
  padding-left: 48px;
  display: grid;
  gap: 2px;
}
.puntos-pasos li::before {
  content: counter(paso);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.puntos-pasos b { font-size: 16px; color: var(--ink); }
.puntos-pasos span { color: var(--ink-3); font-size: 15px; }

.puntos-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--sh-1);
}

.puntos-form { display: grid; gap: 16px; }
.campo { display: grid; gap: 6px; }
.campo span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.campo input {
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 16px;            /* 16px evita el zoom automático en iOS */
  color: var(--ink);
  background: var(--bg);
  width: 100%;
}
.campo input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,204,0,.18);
}
.puntos-extra {
  border: 0;
  border-top: 1px dashed var(--line-2);
  margin: 4px 0 0;
  padding: 16px 0 0;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.puntos-extra legend {
  padding: 0 8px 0 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.puntos-extra .opcional {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-4);
}
.puntos-extra__nota {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: -6px;
}
.campo__ayuda {
  color: var(--ink-4);
  font-size: 13px;
}
.campo input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  line-height: 48px;
}

.campo-trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.puntos-error {
  background: var(--warn-soft);
  color: var(--warn);
  border-radius: var(--r-md);
  padding: 10px 12px;
  font-size: 14px;
}
.puntos-legal {
  color: var(--ink-4);
  font-size: 13px;
  text-align: center;
}
.puntos-form .btn:disabled { opacity: .6; cursor: default; }

.puntos-ok {
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
}
.puntos-ok__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-full);
  background: var(--ok-soft);
  color: var(--ok);
  display: grid;
  place-items: center;
}
.puntos-ok h3 { font-size: 20px; color: var(--ink); }
.puntos-ok p  { color: var(--ink-3); }
.puntos-ok .btn { margin-top: 8px; }
.puntos-ok__icon--info { background: var(--accent-soft); color: var(--warn); }

/* QR personal */
.puntos-qr {
  width: min(240px, 70vw);
  height: auto;
  aspect-ratio: 1;
  max-width: 100%;
  image-rendering: pixelated;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin: 8px auto 4px;
  display: block;
}

/* Cuenta de puntos (#/puntos/cuenta) */
.cuenta-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--sh-1);
  max-width: 440px;
  margin: 0 auto 72px;
  text-align: center;
}
.cuenta-ok, .cuenta-error { display: grid; gap: 10px; justify-items: center; }
.cuenta-card h1 {
  font-size: clamp(26px, 6vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.cuenta-error p { color: var(--ink-3); }
.cuenta-puntos {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  background: var(--accent-soft);
  border-radius: var(--r-lg);
  padding: 14px 28px;
  margin: 6px 0;
}
.cuenta-puntos__valor {
  font-family: var(--font-display);
  font-size: clamp(48px, 14vw, 64px);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}
.cuenta-puntos__label { font-size: 18px; font-weight: 600; color: var(--ink-2); }
.cuenta-fecha { color: var(--ink-2); }
.cuenta-cargando { display: grid; gap: 12px; }
