/* ================================================================
   ÁGUILA REAL — components.css
   Reorganizado por secciones (en el mismo orden en que aparecen
   en la página) para que sea fácil de ubicar y modificar.

   Índice:
     1. HEADER (nav-bar + menú móvil)
     2. BOTONES (clase .btn y variantes — motion compartido)
     3. HERO (#inicio)
     4. PRESENTACIÓN (#presentacion — fondo de video)
     5. TARJETAS DE PRODUCTO (product-card, usada en varias vistas)
     6. CATÁLOGO — vista previa en el home (#catalogo)
     7. NOSOTROS
     8. WHATSAPP (ventana flotante de la sección nosotros/contacto)
     9. CONTACTO
    10. FOOTER
    11. PÁGINA DE CATÁLOGO COMPLETO / FICHA DE PRODUCTO
    12. RESPONSIVE GLOBAL
    13. ACCESIBILIDAD (prefers-reduced-motion)
   ================================================================ */


/* ================================================================
   1. HEADER
   ================================================================ */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease);
}
.nav-bar::before,
.nav-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity var(--ease);
}
.nav-bar::before {
  background: linear-gradient(180deg, rgba(10,13,10,.55), rgba(10,13,10,0));
  opacity: 1;
}
.nav-bar::after { background: rgba(11,15,12,.82); opacity: 0; }
.nav-bar.is-scrolled::after { opacity: 1; }
.nav-bar.is-scrolled {
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--ease), backdrop-filter .45s cubic-bezier(.22,1,.36,1);
}

/* Para páginas que no arrancan con una imagen oscura debajo del
   header (ej. producto.html): el header queda sólido desde el
   inicio en vez de esperar al scroll, para no perderse contra
   un fondo claro. */
.nav-bar--solid::before { opacity: 0; }
.nav-bar--solid::after { opacity: 1; }
.nav-bar--solid {
  border-bottom-color: var(--line-dark);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-bar__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 82px;
}

.nav-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.nav-bar__brand img {
  width: 85px !important;
  height: 85px !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}
.nav-bar__brand span {
  font: 700 1.3rem/1 var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
}
@media (min-width: 769px) {
  .nav-bar__brand img { width: clamp(64px, 11vh, 105px) !important; height: clamp(64px, 11vh, 105px) !important; }
  .nav-bar__inner { min-height: clamp(70px, 11vh, 82px); }
}
@media (max-width: 768px) {
  .nav-bar__brand img { width: 75px !important; height: 75px !important; }
}

.nav-bar__links { display: flex; gap: 32px; }
.nav-bar__links a {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  opacity: .82;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: opacity var(--ease), border-color var(--ease);
}
.nav-bar__links a.is-active { opacity: 1; border-bottom-color: var(--gold); }

/* Botón "Cotizar por WhatsApp" — mismo motion (levantamiento + relleno) que los botones del hero */
.nav-bar__cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font: 700 .78rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 20px;
  white-space: nowrap;
  transition:
    color .35s ease,
    background .35s ease,
    transform .55s cubic-bezier(.34,1.56,.64,1),
    box-shadow .55s cubic-bezier(.34,1.56,.64,1);
}
.nav-bar__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.68,0,1.01);
}
.nav-bar__cta:focus-visible {
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -10px rgba(var(--gold-rgb),.55);
}
.nav-bar__cta:focus-visible::before { transform: scaleX(1); }

.nav-bar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 30px;
  height: 24px;
}
.nav-bar__toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-bar__toggle[aria-expanded="true"] .nav-bar__toggle-line:first-child { transform: translateY(4px) rotate(45deg); }
.nav-bar__toggle[aria-expanded="true"] .nav-bar__toggle-line:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
  .nav-bar__links a:hover { opacity: 1; border-bottom-color: var(--gold); }
  .nav-bar__cta:hover {
    background: transparent;
    color: var(--ink);
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(var(--gold-rgb),.55);
  }
  .nav-bar__cta:hover::before { transform: scaleX(1); }
}
.nav-bar__links a:active,
.nav-bar__cta:active { opacity: .7; }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 59;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 32px;
  transform: translateY(-100%);
  transition: transform var(--ease-menu);
}
.mobile-panel.is-open { transform: none; }
.mobile-panel__links { display: flex; flex-direction: column; gap: 6px; }
.mobile-panel__links a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 2.2rem;
  color: #fff;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.mobile-panel.is-open .mobile-panel__links a { opacity: 1; transform: none; }
.mobile-panel.is-open .mobile-panel__links a:nth-child(1) { transition-delay: 60ms; }
.mobile-panel.is-open .mobile-panel__links a:nth-child(2) { transition-delay: 120ms; }
.mobile-panel.is-open .mobile-panel__links a:nth-child(3) { transition-delay: 180ms; }
.mobile-panel.is-open .mobile-panel__links a:nth-child(4) { transition-delay: 240ms; }

.mobile-panel__cta {
  align-self: flex-start;
  background: var(--gold);
  color: var(--ink);
  font: 700 .8rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 16px 26px;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s cubic-bezier(.34,1.56,.64,1);
}
.mobile-panel__cta:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -10px rgba(var(--gold-rgb),.45);
}
@media (hover: hover) and (pointer: fine) {
  .mobile-panel__cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px -10px rgba(var(--gold-rgb),.45);
  }
}


/* ================================================================
   2. BOTONES — .btn base + variantes (.btn--gold, .btn--line,
      .btn--dark-line, .btn--whatsapp, .btn--text, .btn--block)
      Todas comparten el mismo lenguaje de motion: levantamiento
      con rebote + sombra; las variantes con fondo transparente
      además llevan un barrido de relleno.
   ================================================================ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  font: 700 .76rem/1 var(--font-body);
  text-transform: uppercase;
  letter-spacing: .08em;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition:
    background var(--ease),
    color var(--ease),
    border-color var(--ease),
    transform .55s cubic-bezier(.34,1.56,.64,1),
    box-shadow .55s cubic-bezier(.34,1.56,.64,1);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--dark-line { border-color: var(--ink); color: var(--ink); }
.btn--whatsapp { background: #2f8f52; color: #fff; border-radius: 14px; }
.btn--whatsapp svg { width: 24px; height: 24px; flex-shrink: 0; }
.btn--text { padding: 0; min-height: auto; border-bottom: 1px solid var(--gold-light); color: var(--gold-light); }
.btn--block { width: 100%; justify-content: center; }
.btn:active { transform: scale(.97); }

/* Barrido de relleno al hover — solo variantes con fondo transparente/borde */
.btn--gold::before,
.btn--line::before,
.btn--dark-line::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.68,0,1.01);
}
.btn--gold::before { background: #ffffff; }
.btn--line::before { background: rgba(255,255,255,.14); }
.btn--dark-line::before { background: var(--ink); }

@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-6px);
    box-shadow: 0 14px 28px -10px rgba(var(--gold-rgb),.55);
  }
  .btn--gold:hover::before { transform: scaleX(1); }

  .btn--line:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-6px);
    box-shadow: 0 14px 28px -10px rgba(255,255,255,.18);
  }
  .btn--line:hover::before { transform: scaleX(1); }

  .btn--dark-line:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-6px);
    box-shadow: 0 14px 28px -10px rgba(17,21,17,.3);
  }
  .btn--dark-line:hover::before { transform: scaleX(1); }

  .btn--whatsapp:hover {
    box-shadow: 0 14px 28px -10px rgba(47,143,82,.5);
    transform: translateY(-6px);
  }

  .btn--text:hover { opacity: .75; }
}
.btn--gold:focus-visible,
.btn--line:focus-visible,
.btn--dark-line:focus-visible,
.btn--whatsapp:focus-visible {
  transform: translateY(-6px);
}
.btn--gold:focus-visible::before,
.btn--line:focus-visible::before,
.btn--dark-line:focus-visible::before { transform: scaleX(1); }

/* WhatsApp del hero: de link de texto subrayado a botón con borde + relleno verde */
.hero-cinema__actions .btn--text {
  padding: 0 28px;
  min-height: 52px;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,.55);
}
.hero-cinema__actions .btn--text::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #2f8f52;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.68,0,1.01);
}
.hero-cinema__actions .btn--text:focus-visible {
  color: #fff;
  border-color: #2f8f52;
  transform: translateY(-6px);
  box-shadow: 0 14px 28px -10px rgba(47,143,82,.5);
}
.hero-cinema__actions .btn--text:focus-visible::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .hero-cinema__actions .btn--text:hover {
    opacity: 1;
    color: #fff;
    border-color: #2f8f52;
    transform: translateY(-6px);
    box-shadow: 0 14px 28px -10px rgba(47,143,82,.5);
  }
  .hero-cinema__actions .btn--text:hover::before { transform: scaleX(1); }
}

.link-arrow {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--forest-mid);
  transition: opacity var(--ease);
}
.link-arrow:active { opacity: .6; }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover { opacity: .65; } }


/* ================================================================
   3. HERO (#inicio)
   ================================================================ */
.hero-cinema {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #050606;
}
.hero-cinema__media { position: absolute; inset: 0; z-index: 0; }
.hero-cinema__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; transform-origin: 50% 50%; }
/* Efecto de scroll (js/modules/hero-motion.js): paralaje suave + desenfoque de movimiento vertical según la velocidad. */
.hero-cinema__media.is-moving img { will-change: transform, filter; }
.hero-cinema__wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(100deg, rgba(5,6,6,.84) 0%, rgba(5,6,6,.55) 32%, rgba(5,6,6,.12) 60%, transparent 76%);
}

/* Fundido inferior: empalma con la cortina de #presentacion (sección 4) */
.hero-cinema__fade-out {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 360px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5,6,6,0) 0%, rgba(5,6,6,.08) 18%, rgba(5,6,6,.25) 38%, rgba(5,6,6,.55) 60%, rgba(5,6,6,.85) 82%, #050606 100%);
  pointer-events: none;
}

.hero-cinema__body {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  max-width: 720px;
  transform: translate(-400px, 0px); /* estado inicial fuera de pantalla: animations.js lo anima a 0 al cargar */
}
.hero-cinema__tag {
  margin: 0 0 28px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero-cinema__title {
  font-family: "Anton", sans-serif !important;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(3rem, min(6vw, 11vh), 7rem);
  line-height: 1.08;
  letter-spacing: .035em;
  margin-bottom: clamp(16px, 3vh, 32px);
  color: #ffffff;
}
.hero-cinema__title span { color: var(--gold); }
.hero-cinema__lead {
  max-width: 460px;
  color: rgba(255, 254, 251, 0.88);
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: .015em;
  margin-top: 24px;
}
.hero-cinema__actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 42px;
}

@media (max-width: 768px) {
  .hero-cinema__title {
    font-size: clamp(3rem, 14vw, 5rem);
    line-height: 1.0;
    letter-spacing: .025em;
    margin-bottom: 26px;
  }
  .hero-cinema__body { transform: translate(0, 0); }
  .hero-cinema__lead { line-height: 1.55; margin-top: 20px; }
  .hero-cinema__actions { margin-top: 32px; }
}

.intro-hero__copy p {
  text-align: left !important;
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  line-height: 1.75;
  max-width: 560px;
  letter-spacing: .01em;
  margin-left: 0;
  margin-right: auto;
}

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head .lead { margin-bottom: 0; }


/* ================================================================
   4. PRESENTACIÓN (#presentacion) — fondo de video
   ================================================================ */
.moves {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #050606; /* respaldo mientras carga el video */
}

/* Transición presentación → catálogo: borde recto y limpio (sin curva). El video y su capa oscura terminan justo donde empieza el crema. */

.moves__video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.moves__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.moves__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5,6,6,.78) 0%, rgba(5,6,6,.32) 38%, rgba(5,6,6,.5) 68%, rgba(5,6,6,.92) 100%),
    linear-gradient(90deg, rgba(5,6,6,.5) 0%, rgba(5,6,6,.05) 30%, rgba(5,6,6,.05) 70%, rgba(5,6,6,.5) 100%);
  pointer-events: none;
}

/* Cortina superior: empalma con .hero-cinema__fade-out (sección 3). Mismo alto y mismos tonos (--ink) para que la costura no se note. */
#presentacion::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  z-index: 2;
  background: linear-gradient(180deg, #050606 0%, rgba(5,6,6,.85) 18%, rgba(5,6,6,.55) 40%, rgba(5,6,6,.25) 62%, rgba(5,6,6,.08) 82%, rgba(5,6,6,0) 100%);
  pointer-events: none;
}

#presentacion .container { position: relative; z-index: 3; }
#presentacion .eyebrow { color: var(--gold); }

.moves__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  gap: 32px;
  margin-bottom: 48px;
}
.moves__title {
  margin: 14px 0 0;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 5rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: #ffffff;
}
.moves__title span { color: var(--gold); }
.moves__desc {
  margin: 0;
  max-width: 560px;
  color: #e0e7df;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
}

.moves__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

.moves__card {
  position: relative;
  display: block;
  overflow: hidden;
  height: clamp(450px, 32vw, 560px);
  border-radius: 4px;
  text-decoration: none;
  outline-offset: 3px;
  transition: transform .4s cubic-bezier(.22,.68,0,1.01), box-shadow .4s ease;
}
.moves__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .6s cubic-bezier(.22,.68,0,1.01);
}
.moves__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,12,0) 40%, rgba(11,15,12,.78) 100%); }
.moves__no {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15rem;
  transition: color .35s ease, transform .35s ease;
}
.moves__body { position: absolute; left: 20px; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.moves__card-title {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.15;
  transition: color .35s ease;
}
.moves__card-desc { color: rgba(255,255,255,.82); font-size: .86rem; line-height: 1.5; }
.moves__card:focus-visible { outline: 2px solid var(--gold); }

@media (hover: hover) and (pointer: fine) {
  .moves__card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -18px rgba(0,0,0,.55); }
  .moves__card:hover img { transform: scale(1.08); }
  .moves__card:hover .moves__no { color: var(--gold); transform: translateY(-2px); }
  .moves__card:hover .moves__card-title { color: var(--gold); }
}
.moves__card:active img { transform: scale(1.02); }

@media (max-width: 1024px) {
  .moves__grid { grid-template-columns: repeat(2, 1fr); }
  .moves__card { height: clamp(400px, 46vw, 500px); }
}
@media (max-width: 768px) {
  .moves__head { grid-template-columns: 1fr; align-items: start; gap: 20px; margin-bottom: 32px; }
  .moves__desc { max-width: none; text-align: left; }
  .moves__grid { grid-template-columns: 1fr; }
  .moves__card { height: clamp(380px, 92vw, 460px); }
}
/* Celulares: el video (vertical, liviano) ocupa la parte alta de la sección y se funde con el fondo oscuro; la sección es larga y no conviene estirarlo todo. */
@media (max-width: 640px) {
  .moves__video-bg { bottom: auto; height: min(78vh, 760px); }
  .moves__video-bg::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(5,6,6,0) 0%, #050606 100%);
    pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .moves__video { animation: none; }
}


/* ================================================================
   5. TARJETAS DE PRODUCTO (product-card) — usadas en la vista
      previa del home y en la página de catálogo completo
   ================================================================ */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card { position: relative; background: var(--paper); border: 1px solid var(--line); transition: transform var(--ease), box-shadow var(--ease); }
.product-card__media { display: block; position: relative; aspect-ratio: 3/4; background: var(--line); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ease-slow); }
.product-card__status { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: var(--forest); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-card__source { position: absolute; left: 12px; bottom: 12px; padding: 5px 9px; background: rgba(17,21,17,.75); color: var(--gold-light); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.product-card__body { padding: 20px 18px 18px; }
.product-card__category { color: var(--forest-mid); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-card__title { margin: 6px 0 0; font-size: 1.1rem; }
.product-card__brand { margin: 4px 0 0; color: var(--forest-mid); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.product-card__year { margin: 4px 0 12px; color: var(--muted); font-size: .76rem; }
.product-card__excerpt { margin: 0 0 16px; color: var(--muted); font-size: .8rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.product-card__specs span { border: 1px solid var(--line); padding: 4px 8px; color: var(--muted); font-size: .64rem; }
.product-card__foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.price { margin: 0; color: var(--ink); font: 600 1.5rem/1 var(--font-display); }
.price small { display: block; font: 500 .62rem var(--font-body); color: var(--muted); margin-top: 4px; text-transform: none; letter-spacing: 0; }
.product-card__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.card-link { color: var(--forest-mid); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; transition: opacity var(--ease); }
.card-link--wa {
  color: #fff;
  background: var(--forest);
  padding: 10px 16px;
  transition: background var(--ease), opacity var(--ease), transform .5s cubic-bezier(.34,1.56,.64,1), box-shadow .5s cubic-bezier(.34,1.56,.64,1);
}
.card-link:active { opacity: .6; }
@media (hover: hover) and (pointer: fine) {
  .card-link--wa:hover { background: var(--forest-mid); transform: translateY(-4px); box-shadow: 0 10px 22px -8px rgba(47,143,82,.4); }
  .product-card:hover { transform: translateY(-6px); }
  .product-card:hover img { transform: scale(1.045); }
  .card-link:hover { opacity: .7; }
}
.product-card:active { transform: translateY(-2px) scale(.99); }


/* ================================================================
   6. CATÁLOGO — vista previa en el home (#catalogo)
      8 productos: 4 filas completas + 4 recortadas a ~20% con
      degradado blanco, botón "Ver catálogo completo" superpuesto
   ================================================================ */
.catshelf { background: var(--cream); position: relative; }
.catshelf__head { max-width: 760px; margin-bottom: 8px; }
.catshelf__title {
  margin: 14px 0 20px;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--ink);
}
.catshelf__desc { max-width: 640px; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

#home-catalog-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
#home-catalog-grid .product-card:nth-child(n + 5) { display: none; }

#home-catalog-grid .product-card__body { padding: 16px 14px 14px; }
#home-catalog-grid .product-card__title { font-size: 1rem; }
#home-catalog-grid .product-card__excerpt { font-size: .76rem; }
#home-catalog-grid .price { font-size: 1.25rem; }

#home-catalog-grid .product-card {
  transition: transform .55s cubic-bezier(.34,1.56,.64,1), box-shadow .55s cubic-bezier(.34,1.56,.64,1);
}
@media (hover: hover) and (pointer: fine) {
  #home-catalog-grid .product-card:hover { transform: translateY(-10px); box-shadow: 0 24px 48px -18px rgba(17,21,17,.35); }
  #home-catalog-grid .product-card:hover .product-card__media img { transform: scale(1.08); }
}

.catshelf__cta--big {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.catshelf__cta--big .btn--gold {
  padding: 0 56px;
  min-height: 64px;
  font-size: .92rem;
  letter-spacing: .1em;
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(var(--gold-rgb), .6), inset 0 1px 0 rgba(255,255,255,.35);
}

@media (max-width: 1024px) {
  #home-catalog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  #home-catalog-grid { grid-template-columns: 1fr; }
  .catshelf__cta--big .btn--gold { width: 100%; }
}
@media (max-width: 1024px) {
  #home-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    overflow: visible;
  }
  #home-catalog-grid .product-card:nth-child(n + 7) { display: none; }
  .catshelf__fade { display: none; }
  .catshelf__cta--overlay {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    margin-top: 28px;
  }
}
@media (max-width: 560px) {
  #home-catalog-grid { grid-template-columns: 1fr; }
  #home-catalog-grid .product-card:nth-child(n + 5) { display: none; }
}


/* ================================================================
   7. NOSOTROS
   ================================================================ */

/* .nosotros__grid / .nosotros__media / .fact-list: ya NO se usan en
   index.html (reemplazadas por .nosotros-cta, en css/nosotros.css). Se dejan
   aquí sin tocar por si las necesitas en otra página. */
.nosotros__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.nosotros__media { position: relative; aspect-ratio: 4/5; }
.nosotros__media img { width: 100%; height: 100%; object-fit: cover; }
.fact-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.fact-list li { display: flex; gap: 20px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 22px; }
.fact-list li:first-child { border-top: 0; padding-top: 0; }
.fact-list li > span { flex-shrink: 0; font: italic 500 1.6rem/1 var(--font-serif); color: var(--gold); }
.fact-list h3 { margin: 0 0 5px; font-size: 1.1rem; }
.fact-list p { margin: 0; color: var(--muted); font-size: .88rem; max-width: 44ch; }

/* La sección .nosotros-cta vive en css/nosotros.css. */


/* ================================================================
   8. WHATSAPP — tarjeta flotante decorativa
   ================================================================ */
.whatsapp-window {
  position: relative;
  width: min(390px, 100%);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(35, 58, 45, 0.88), rgba(8, 22, 15, 0.94));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: whatsapp-window-entry 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.whatsapp-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(var(--gold-rgb), 0.22), transparent 65%);
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}
.whatsapp-window__header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.60rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.whatsapp-window__status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #49c982;
  box-shadow: 0 0 12px rgba(73, 201, 130, 0.65);
  animation: whatsapp-status-pulse 2.2s ease-in-out infinite;
}
.whatsapp-window__dots { margin-left: auto; color: rgba(255, 255, 255, 0.45); letter-spacing: 0.08em; }
.whatsapp-window__content { display: flex; align-items: flex-start; gap: 14px; padding: 23px 0 20px; }
.whatsapp-window__icon {
  display: grid;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(var(--gold-rgb), 0.40);
  border-radius: 12px;
  background: rgba(var(--gold-rgb), 0.09);
  font-size: 1.25rem;
}
.whatsapp-window__label { display: block; margin-bottom: 7px; color: rgba(255, 255, 255, 0.58); font-size: 0.65rem; letter-spacing: 0.04em; }
.whatsapp-window__content h3 { margin: 0; color: #ffffff; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.whatsapp-window__content p { margin: 10px 0 0; color: rgba(255, 255, 255, 0.64); font-size: 0.82rem; line-height: 1.5; }
.whatsapp-window__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 17px;
  border: 1px solid rgba(var(--gold-rgb), 0.55);
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #17633f, #10452f);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 250ms ease, background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}
.whatsapp-window__button span { color: var(--gold); font-size: 1.1rem; transition: transform 250ms ease; }
@media (hover: hover) and (pointer: fine) {
  .whatsapp-window__button:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: linear-gradient(135deg, #237b4e, #145638);
    box-shadow: 0 8px 25px rgba(16, 69, 47, 0.40);
  }
  .whatsapp-window__button:hover span { transform: translate(3px, -3px); }
}
@keyframes whatsapp-window-entry {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes whatsapp-status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 12px rgba(73, 201, 130, 0.65); }
  50% { opacity: 0.45; box-shadow: 0 0 4px rgba(73, 201, 130, 0.25); }
}
@media (max-width: 480px) {
  .whatsapp-window { padding: 17px; border-radius: 18px; }
  .whatsapp-window__content { gap: 11px; }
  .whatsapp-window__content h3 { font-size: 1.25rem; }
}


/* ================================================================
   9. CAMPOS DE FORMULARIO (filtros del catálogo)
   ================================================================ */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; color: var(--muted); }
input, select { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 11px 2px; background: transparent; }
input:focus, select:focus { border-bottom-color: var(--gold); }


/* ================================================================
   10. FOOTER
   ================================================================ */
.footer { background: var(--ink); color: #cbd0c8; padding: 64px 0 22px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 35px; }
.footer .brand { display: flex; align-items: center; gap: 10px; }
.footer .brand img { width: 38px; height: 38px; object-fit: contain; }
.footer .brand span { font: 600 1.05rem/1 var(--font-display); text-transform: uppercase; color: #fff; }
.footer h3 { color: var(--gold); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer ul { padding: 0; list-style: none; font-size: .85rem; }
.footer li { margin: 8px 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: .68rem; flex-wrap: wrap; }

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 8;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2f8f52;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), box-shadow .45s cubic-bezier(.34,1.56,.64,1);
}
.wa-float::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #2f8f52;
  border-radius: 50%;
  animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite;
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 14px 30px -10px rgba(47,143,82,.5); }
}


/* ================================================================
   11. PÁGINA DE CATÁLOGO COMPLETO / FICHA DE PRODUCTO
   ================================================================ */
.page-head { position: relative; min-height: 280px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; padding: 132px 0 56px; }
.page-head__media { position: absolute; inset: 0; z-index: 0; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__wash { position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(17,21,17,.5), rgba(17,21,17,.88)); }
.page-head .container { position: relative; z-index: 1; }
.page-head .eyebrow { color: var(--gold-light); }
.breadcrumbs { padding-top: 132px; font-size: .72rem; letter-spacing: .04em; color: var(--muted); }

.catnav { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 44px 0 28px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav__item {
  position: relative;
  flex: 0 0 auto;
  background: none;
  border: 0;
  padding: 0 0 14px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--ease), transform .35s ease;
}
.catnav__item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}
.catnav__item.is-active { color: var(--forest); }
.catnav__item.is-active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .catnav__item:hover { color: var(--ink); transform: translateY(-2px); } }
.catnav__item:active { opacity: .7; }
.catnav__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.catshelf__toolbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr auto; gap: 20px; align-items: end; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.catshelf__toolbar .field { margin-bottom: 0; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range input { width: auto; flex: 1; min-width: 0; }
.price-range span { color: var(--muted); }
.catshelf__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.active-filters:empty { display: none; }
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
  padding: 6px 10px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: background var(--ease), color var(--ease), transform .35s ease;
}
.active-filter span { font-size: .9rem; line-height: 1; }
@media (hover: hover) and (pointer: fine) { .active-filter:hover { background: var(--forest); color: #fff; transform: translateY(-2px); } }
.active-filter:active { opacity: .7; }
#results-count { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* Grilla de la página de catálogo COMPLETO (catalogo.html) — distinta de #home-catalog-grid */
.catshelf__grid { grid-template-columns: repeat(3, 1fr); }
.empty { padding: 70px 20px; text-align: center; background: var(--paper); border: 1px solid var(--line); }

/* ================================================================
   PAGINACIÓN DEL CATÁLOGO — componente propio (sobrio, 85/15)
   Paleta explícita del pedido, aislada al componente para no tocar
   los tokens globales de variables.css.
   ================================================================ */
#catalog-grid {
  transition: opacity .38s var(--ease-slow), transform .38s var(--ease-slow);
}
#catalog-grid.catalog-grid--transitioning {
  opacity: 0;
  transform: translateY(8px);
}

.pagination {
  --pg-ink: #0B0F0C;
  --pg-forest: #10452F;
  --pg-gold: #D9A404;
  --pg-cream: #F7F5EF;
  --pg-white: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 56px 0 8px;
}

.pagination__count {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.pagination__count::before { content: "Página "; }

.pagination__row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pagination__numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pagination__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--pg-white);
  color: var(--pg-ink);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.pagination__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--pg-gold);
  transform: translateX(-50%);
  transition: width .24s ease;
}
@media (hover: hover) and (pointer: fine) {
  .pagination__item:hover:not(.is-active) {
    background: var(--pg-cream);
    color: var(--pg-forest);
    border-color: var(--pg-forest);
    transform: translateY(-2px);
  }
  .pagination__item:hover:not(.is-active)::after { width: 60%; }
}
.pagination__item:active { transform: translateY(0); }
.pagination__item:focus-visible {
  outline: 2px solid var(--pg-gold);
  outline-offset: 2px;
}
.pagination__item.is-active {
  background: var(--pg-forest);
  border-color: var(--pg-forest);
  color: var(--pg-white);
}
.pagination__item.is-active::after { width: 60%; }

.pagination__ellipsis {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 24px;
  height: 40px;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .1em;
  user-select: none;
}

.pagination__nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--pg-ink);
  border-radius: 3px;
  background: transparent;
  color: var(--pg-ink);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease, opacity .22s ease;
}
.pagination__nav svg { flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .pagination__nav:not(:disabled):hover {
    background: var(--pg-forest);
    border-color: var(--pg-forest);
    color: var(--pg-white);
  }
}
.pagination__nav:focus-visible {
  outline: 2px solid var(--pg-gold);
  outline-offset: 2px;
}
.pagination__nav:disabled {
  opacity: .32;
  cursor: default;
}

@media (max-width: 640px) {
  .pagination { margin: 40px 0 4px; }
  .pagination__row { gap: 10px; width: 100%; justify-content: center; }
  .pagination__nav-label { display: none; }
  .pagination__nav { padding: 0 12px; }
  .pagination__item { min-width: 36px; height: 36px; font-size: .78rem; }
  .pagination__ellipsis { height: 36px; }
}

.product-page { padding: 8px 0 100px; }
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }

/* --- Galería: foto principal + flechas + zoom + miniaturas
   (las flechas y miniaturas solo aparecen si el producto tiene
   más de una imagen — hoy ningún producto real las tiene) --- */
.pd-gallery__main {
  position: relative;
  background: var(--line);
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.pd-gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.pd-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.pd-gallery__nav svg { width: 18px; height: 18px; }
.pd-gallery__nav--prev { left: 14px; }
.pd-gallery__nav--next { right: 14px; }
.pd-gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }

.pd-gallery__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: rgba(17,21,17,.55);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease;
}
.pd-gallery__zoom svg { width: 16px; height: 16px; }
.pd-gallery__zoom:hover { background: rgba(17,21,17,.8); }

.pd-gallery__thumbs { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pd-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
  background: var(--line);
}
.pd-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-gallery__thumb.is-active { border-color: var(--gold); }

/* --- Info: kicker, título + precio, specs, acciones --- */
.pd-kicker { display: inline-flex; align-items: center; color: var(--forest-mid); font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }

.pd-info__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin: 16px 0 24px; }
.pd-title {
  margin: 0;
  flex: 1 1 260px;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  line-height: 1.12;
  color: var(--ink);
}
.pd-title span { color: var(--gold); }

.pd-price-box { flex-shrink: 0; padding: 12px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; text-align: right; }
.pd-price-box .price { margin: 0; }

/* Ficha técnica: tarjeta clara con specs en grilla de íconos */
.pd-specs-card { margin: 0 0 28px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.pd-specs-title { margin: 0 0 18px; font: 700 .7rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pd-specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
.pd-spec-item { display: flex; align-items: flex-start; gap: 10px; }
.pd-spec-icon { width: 20px; height: 20px; margin-top: 1px; color: var(--gold); flex-shrink: 0; }
.pd-spec-label { display: block; margin-bottom: 2px; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pd-spec-value { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); line-height: 1.3; }

.pd-actions { margin-top: 8px; }
.pd-actions .btn--whatsapp svg { width: 22px; height: 22px; }
.source-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; color: var(--muted); font-size: .74rem; line-height: 1.6; }
.source-note svg { width: 15px; height: 15px; margin-top: 1px; flex-shrink: 0; }
.related { background: var(--cream); padding: 90px 0; border-top: 1px solid var(--line); }


/* ================================================================
   12. RESPONSIVE GLOBAL (ajustes que tocan varios componentes
       a la vez; los ajustes propios de una sola sección viven
       dentro de esa sección, más arriba)
   ================================================================ */
@media (max-width: 992px) {
  .nav-bar__links, .nav-bar__cta { display: none; }
  .nav-bar__toggle { display: flex; }
  .intro__grid, .nosotros__grid { grid-template-columns: 1fr; gap: 36px; }
  .nosotros__media { order: -1; aspect-ratio: 16/9; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catshelf__toolbar { grid-template-columns: repeat(2, 1fr); }
  .catshelf__toolbar .btn { grid-column: 1/-1; }
  .product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .section-head { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .catshelf__toolbar { grid-template-columns: 1fr; }
  .catnav { gap: 20px; }
  .hero-cinema__actions { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .pd-info__head { flex-direction: column; }
  .pd-price-box { text-align: left; }
}


/* ================================================================
   13. ACCESIBILIDAD — prefers-reduced-motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-window,
  .whatsapp-window__status,
  .whatsapp-window__button,
  .whatsapp-window__button span,
  .moves__card,
  .moves__card img,
  .moves__card .moves__no,
  .moves__card .moves__card-title,
  .nav-bar__cta,
  .nav-bar__cta::before,
  .mobile-panel__cta,
  .btn--gold,
  .btn--gold::before,
  .btn--line::before,
  .btn--dark-line::before,
  .hero-cinema__actions .btn--text::before,
  #home-catalog-grid .product-card,
  #home-catalog-grid .product-card__media img,
  .card-link--wa,
  .wa-float,
  .catnav__item,
  .active-filter,
  #catalog-grid,
  #catalog-grid.catalog-grid--transitioning,
  .pagination__item,
  .pagination__item::after,
  .pagination__nav {
    animation: none;
    transition: none;
  }
}

/* ================================================================
   Tarjetas del catálogo en el home (#home-catalog-grid) — diseño v2
   ================================================================ */
#home-catalog-grid { gap: 20px; align-items: stretch; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 {
  display: flex; flex-direction: column;
  background: #fff; border: 0; border-radius: 20px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(17,21,17,.06), 0 10px 28px -12px rgba(17,21,17,.22);
}
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__media { aspect-ratio: 1 / 1.02; border-radius: 0 0 18px 18px; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__status,
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__source {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 12px;
  background: rgba(10,12,10,.78); color: #fff; padding: 9px 13px;
  font-size: .68rem; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__status { top: 14px; left: 14px; font-size: .8rem; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__source { left: 14px; bottom: 14px; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .pc-ic { flex: none; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__category { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; letter-spacing: .06em; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__brand { margin: 10px 0 0; color: var(--forest); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__title { margin: 4px 0 10px; font-size: 1.15rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; line-height: 1.2; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__year {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 0 0 12px;
  padding: 6px 12px; border-radius: 10px; background: #f1f1ee; color: var(--ink); font-size: .85rem; font-weight: 600;
}
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__excerpt {
  margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.55; text-transform: uppercase;
  -webkit-line-clamp: 3; min-height: 4.65em;
}
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__divider {
  position: relative; height: 1px; margin: 18px 0 16px; background: var(--line);
}
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  background: #fff; border: 1px solid var(--line); transform: translate(-50%,-50%) rotate(45deg);
}
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.01em; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .price small { font-size: .8rem; margin-top: 6px; }
:is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .product-card__actions { margin-top: auto; padding-top: 18px; align-items: stretch; gap: 10px; }
.pc-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 14px; border-radius: 10px;
  font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-align: center;
  transition: background var(--ease), transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow var(--ease), border-color var(--ease);
}
.pc-btn--gold { background: var(--gold); color: var(--ink); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.pc-btn--line { background: #fff; color: var(--ink); border: 1px solid rgba(17,21,17,.28); }
@media (hover: hover) and (pointer: fine) {
  .pc-btn--gold:hover { background: #f0b410; transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(222,162,2,.6); }
  .pc-btn--line:hover { border-color: var(--gold); background: #fffaf0; }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  :is(#home-catalog-grid,#catalog-grid,#related-grid) .product-card--v2 .price { font-size: 1.6rem; }
}


/* ================================================================
   Catálogo: 4 columnas
   ================================================================ */
.catshelf__grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1200px) { .catshelf__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 992px) { .catshelf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catshelf__grid { grid-template-columns: 1fr; } }

/* ================================================================
   "Tu próxima inversión" — tarjetas de cristal (v2)
   ================================================================ */
/* Capas (de atrás hacia adelante, dentro de la tarjeta aislada):
   tarjeta = vidrio (backdrop-filter sobre el video) -> .moves__scrim (z0: brillo cálido + degradado de lectura + reflejo)
   -> ::after de interactions.css (z1: spotlight dorado al pasar el cursor) -> img (z2) -> texto (z3) -> ::before (z5: borde).
   Las imágenes son WebP recortados al objeto (sin aire transparente): ocupan todo el ancho y se centran en la zona alta. */
.moves__grid { gap: 22px; }
.moves__card {
  --shadow-rest: 0 24px 48px -24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.14);
  isolation: isolate;
  height: clamp(480px, 36vw, 580px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(46,38,28,.58) 0%, rgba(22,18,13,.8) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: var(--shadow-rest);
  transition: transform .4s cubic-bezier(.22,.68,0,1.01), box-shadow .4s ease, border-color .4s ease;
}
.moves__grid .moves__card::before,
.moves__grid .moves__card::after { border-radius: inherit; }
.moves__grid .moves__card::after { z-index: 1; }
.moves__scrim {
  z-index: 0;
  border-radius: inherit;
  background:
    radial-gradient(70% 34% at 50% 41%, rgba(255,226,160,.13), rgba(222,162,2,.07) 55%, rgba(222,162,2,0) 100%),
    linear-gradient(180deg, rgba(12,10,7,0) 56%, rgba(12,10,7,.5) 72%, rgba(12,10,7,.86) 100%);
}
/* reflejo de vidrio: brillo diagonal suave + filo de luz superior */
.moves__scrim::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(155deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.03) 26%, rgba(255,255,255,0) 44%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.moves__card img {
  z-index: 2;
  inset: auto;
  top: 5%;
  left: 0;
  width: 100%;
  height: 66%;
  object-fit: contain;
  object-position: 50% 58%;
  transform-origin: 50% 70%;
  filter: drop-shadow(0 10px 14px rgba(0,0,0,.35));
  pointer-events: none;
}
.moves__body { z-index: 3; left: 0; right: 0; bottom: 0; gap: 10px; padding: 0 20px 22px; }
.moves__row { display: flex; align-items: center; gap: 14px; }
.moves__card-title { flex: 1; font-size: clamp(1.05rem, 1.35vw, 1.3rem); text-wrap: balance; }
.moves__go {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--gold); color: var(--ink);
  box-shadow: 0 6px 16px -6px rgba(222,162,2,.6), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .3s cubic-bezier(.23,1,.32,1), background .3s ease;
}
.moves__go svg { width: 20px; height: 20px; }
.moves__card-desc { color: rgba(255,255,255,.74); font-size: .92rem; line-height: 1.5; }
.moves__card:active .moves__go { transform: scale(.95); }
/* Destacada: filo dorado fino + halo cálido, sin anillo grueso */
.moves__card:first-child {
  border-color: rgba(222,162,2,.75);
  box-shadow: 0 0 0 1px rgba(222,162,2,.28), 0 22px 54px -26px rgba(222,162,2,.6), var(--shadow-rest);
}
.moves__card:first-child .moves__scrim {
  background:
    radial-gradient(70% 34% at 50% 41%, rgba(255,214,120,.18), rgba(222,162,2,.1) 55%, rgba(222,162,2,0) 100%),
    linear-gradient(180deg, rgba(12,10,7,0) 56%, rgba(12,10,7,.5) 72%, rgba(12,10,7,.86) 100%);
}
@media (hover: hover) and (pointer: fine) {
  .moves__grid:has(.moves__card:hover) .moves__card:first-child:not(:hover) { border-color: rgba(255,255,255,.14); box-shadow: var(--shadow-rest); }
  .moves__grid .moves__card:hover {
    border-color: rgba(222,162,2,.75);
    box-shadow: 0 0 0 1px rgba(222,162,2,.3), 0 26px 56px -26px rgba(222,162,2,.55), 0 30px 60px -28px rgba(0,0,0,.8);
  }
  .moves__grid .moves__card:hover img { transform: translateY(-6px) scale(1.04); }
  .moves__card:hover .moves__go { transform: translateX(4px); background: #f0b410; }
}
@media (max-width: 1024px) { .moves__card { height: clamp(480px, 62vw, 560px); } }
@media (max-width: 768px) { .moves__card { height: clamp(460px, 120vw, 540px); } }
@media (prefers-reduced-motion: reduce) {
  .moves__go { transition: none; }
  .moves__grid .moves__card:hover img, .moves__card:hover .moves__go { transform: none; }
}

/* ================================================================
   Ficha de producto (v2)
   ================================================================ */
.pd-gallery__main { aspect-ratio: 4 / 3.1; border-radius: 22px; }
.pd-gallery__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2; padding: 9px 16px; border-radius: 12px;
  background: rgba(10,12,10,.82); color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.pd-gallery__count {
  position: absolute; right: 16px; bottom: 16px; z-index: 2; padding: 6px 14px; border-radius: 10px;
  background: rgba(10,12,10,.78); color: #fff; font-size: .9rem; font-weight: 800;
}
.pd-gallery__thumbs { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.pd-gallery__thumb { aspect-ratio: 4 / 3; border-radius: 12px; border-width: 3px; }

.pd-info__head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; margin: 0 0 22px; }
.pd-info__titlebox { flex: 1 1 280px; min-width: 0; }
.pd-title { flex: none; font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.05; letter-spacing: .01em; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .98rem; }
.pd-meta li { display: inline-flex; align-items: center; gap: 8px; }
.pd-meta svg { width: 18px; height: 18px; color: var(--gold); }
.pd-price-box {
  flex: none; padding: 16px 26px; border: 0; border-radius: 16px; text-align: center;
  background: var(--gold); color: var(--ink); box-shadow: 0 14px 30px -16px rgba(222,162,2,.7);
}
.pd-price-box .price { color: var(--ink); font-size: clamp(1.9rem, 2.6vw, 2.5rem); font-weight: 800; line-height: 1; }
.pd-price-box .price small { margin-top: 6px; color: rgba(17,21,17,.78); font-size: .8rem; font-weight: 600; }

.pd-tabs { display: flex; border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; background: #f2f2ee; overflow: hidden; }
.pd-tab {
  display: inline-flex; align-items: center; gap: 12px; padding: 18px 30px; border: 0; cursor: default;
  background: var(--forest); color: #fff; font: 700 1.05rem var(--font-body);
  box-shadow: inset 0 -4px 0 var(--gold);
}
.pd-tab svg { width: 22px; height: 22px; }
.pd-specs-card { margin: 0 0 24px; padding: 8px 18px 14px; border-radius: 0 0 16px 16px; border: 1px solid var(--line); background: #fff; }
.pd-specs-grid { gap: 0; }
.pd-spec-item { align-items: center; gap: 14px; padding: 20px 14px; border-bottom: 1px solid var(--line); }
.pd-spec-item:nth-child(3n + 1), .pd-spec-item:nth-child(3n + 2) { border-right: 1px solid var(--line); }
.pd-spec-item:nth-last-child(-n + 3) { border-bottom: 0; }
.pd-spec-item:nth-child(3n + 2) { padding-left: 22px; }
.pd-spec-item:nth-child(3n) { padding-left: 22px; }
.pd-spec-icon { width: 34px; height: 34px; margin: 0; color: var(--gold); stroke-width: 1.4; }
.pd-spec-label { margin-bottom: 4px; font-size: .86rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.pd-spec-value { font-size: 1.08rem; font-weight: 800; }

.pd-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 58px; padding: 0 26px;
  border-radius: 14px; font-size: .98rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  transition: background .3s ease, transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease, border-color .3s ease;
}
.pd-btn svg { width: 24px; height: 24px; flex: none; }
.pd-btn--gold { flex: 1 1 280px; background: var(--gold); color: var(--ink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.pd-btn--line { flex: 1 1 200px; background: #fff; color: var(--ink); border: 1px solid rgba(17,21,17,.32); }
@media (hover: hover) and (pointer: fine) {
  .pd-btn--gold:hover { background: #f0b410; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(222,162,2,.7); }
  .pd-btn--line:hover { border-color: var(--gold); background: #fffaf0; }
}
.pd-actions .source-note { flex-basis: 100%; margin-top: 4px; }
@media (max-width: 560px) {
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-spec-item, .pd-spec-item:nth-child(3n + 2), .pd-spec-item:nth-child(3n) { padding-left: 14px; border-right: 0; border-bottom: 1px solid var(--line) !important; }
  .pd-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .pd-price-box { text-align: center; width: 100%; }
}
@media (max-width: 992px) and (min-width: 561px) {
  .pd-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-spec-item:nth-child(3n + 1), .pd-spec-item:nth-child(3n + 2), .pd-spec-item:nth-child(3n) { border-right: 0; padding-left: 14px; }
  .pd-spec-item:nth-child(odd) { border-right: 1px solid var(--line); }
}

/* ================================================================
   Catálogo: barra lateral de filtros a la izquierda
   ================================================================ */
.catalog-layout {
  display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 32px; align-items: start;
  padding: 0 clamp(16px, 2.4vw, 40px);
}
.catfilters { position: sticky; top: 104px; align-self: start; }
.catfilters__inner {
  max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin;
  padding: 22px 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 14px 34px -22px rgba(17,21,17,.35);
}
.catfilters__title { margin: 0 0 18px; font: 800 1.05rem var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.catfilters__title::after { content: ""; display: block; width: 36px; height: 3px; margin-top: 10px; background: var(--gold); border-radius: 2px; }
.catfilters__group { margin-bottom: 16px; }
.catfilters__label { display: block; margin-bottom: 8px; font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.catfilters .catnav { flex-direction: column; gap: 4px; overflow: visible; border: 0; margin: 0; }
.catfilters .catnav__item {
  width: 100%; padding: 10px 12px; border-radius: 10px; text-align: left; white-space: normal; letter-spacing: .04em;
}
.catfilters .catnav__item::after { display: none; }
.catfilters .catnav__item.is-active { background: var(--gold); color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .catfilters .catnav__item:hover { transform: none; background: #f3f0e6; color: var(--ink); }
  .catfilters .catnav__item.is-active:hover { background: var(--gold); }
}
.catfilters__clear { width: 100%; margin-top: 4px; }
.catalog-main { min-width: 0; }
.catalog-main .catshelf__grid { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 1560px) { .catalog-main .catshelf__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1180px) { .catalog-main .catshelf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 20px; }
  .catfilters { position: static; }
  .catfilters__inner { max-height: none; }
  .catfilters .catnav { flex-direction: row; flex-wrap: wrap; }
  .catfilters .catnav__item { width: auto; }
}
@media (max-width: 560px) { .catalog-main .catshelf__grid { grid-template-columns: 1fr; } }

/* ================================================================
   Catálogo: barra más ancha y tarjetas más compactas
   ================================================================ */
.catalog-layout { grid-template-columns: 330px minmax(0, 1fr); gap: 28px; }
.catalog-main .catshelf__grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (min-width: 1380px) { .catalog-main .catshelf__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .catalog-main .catshelf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 992px) { .catalog-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .catalog-main .catshelf__grid { grid-template-columns: 1fr; } }
#catalog-grid .product-card--v2 { border-radius: 16px; }
#catalog-grid .product-card--v2 .product-card__media { aspect-ratio: 1 / .86; }
#catalog-grid .product-card--v2 .product-card__body { padding: 14px 14px 16px; }
#catalog-grid .product-card--v2 .product-card__title { font-size: 1rem; margin-bottom: 8px; }
#catalog-grid .product-card--v2 .product-card__brand { font-size: .72rem; margin-top: 8px; }
#catalog-grid .product-card--v2 .product-card__category { font-size: .66rem; }
#catalog-grid .product-card--v2 .product-card__year { padding: 4px 10px; font-size: .78rem; margin-bottom: 10px; }
#catalog-grid .product-card--v2 .product-card__excerpt { font-size: .72rem; min-height: 4.2em; }
#catalog-grid .product-card--v2 .product-card__divider { margin: 14px 0 12px; }
#catalog-grid .product-card--v2 .price { font-size: 1.5rem; }
#catalog-grid .product-card--v2 .price small { font-size: .72rem; }
#catalog-grid .product-card--v2 .product-card__actions { padding-top: 14px; gap: 8px; }
#catalog-grid .product-card--v2 .pc-btn { min-height: 42px; font-size: .72rem; }
#catalog-grid .product-card--v2 .product-card__status,
#catalog-grid .product-card--v2 .product-card__source { padding: 6px 10px; font-size: .6rem; border-radius: 10px; }
#catalog-grid .product-card--v2 .product-card__status { font-size: .68rem; }

/* ================================================================
   Paginación del catálogo (v2): panel crema, botones grandes dorados
   ================================================================ */
.pagination {
  width: 100%; margin: 48px 0 8px; padding: 28px clamp(16px, 3vw, 40px) 32px; gap: 24px;
  background: linear-gradient(180deg, #fffdf8, #f7f4ec); border-radius: 28px;
  box-shadow: 0 20px 44px -26px rgba(17,21,17,.38), inset 0 1px 0 #fff;
}
.pagination__count { display: flex; align-items: center; gap: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.pagination__count::before { content: none; }
.pagination__count strong { font: 800 1.45rem/1 var(--font-display); }
.pagination__stack { color: var(--pg-gold); }
.pagination__sep { width: 2px; height: 28px; background: rgba(17,21,17,.2); border-radius: 2px; }
.pagination__total { padding: 8px 18px; border-radius: 999px; background: #efe6d2; color: #5c5240; font-size: .95rem; font-weight: 700; }
.pagination__row { width: 100%; justify-content: space-between; gap: 20px; }
.pagination__numbers { gap: 12px; flex-wrap: wrap; justify-content: center; }
.pagination__item {
  min-width: 62px; height: 62px; border: 1px solid rgba(17,21,17,.1); border-radius: 16px; background: #fff;
  font-size: 1.4rem; font-weight: 800; box-shadow: 0 6px 14px -8px rgba(17,21,17,.35);
}
.pagination__item::after { height: 5px; border-radius: 3px 3px 0 0; bottom: 0; background: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .pagination__item:hover:not(.is-active) { background: #fff8e1; color: var(--ink); border-color: var(--pg-gold); transform: translateY(-3px); }
}
.pagination__item.is-active { background: var(--pg-gold); border-color: #b98a00; color: var(--ink); box-shadow: 0 10px 20px -8px rgba(217,164,4,.7); }
.pagination__item.is-active::after { width: 46%; }
.pagination__ellipsis { min-width: 34px; height: 62px; padding-bottom: 0; align-items: center; color: var(--pg-gold); font-size: 1.6rem; font-weight: 900; letter-spacing: .12em; }
.pagination__nav {
  height: 62px; min-width: 170px; justify-content: center; gap: 12px; padding: 0 28px; border-radius: 16px;
  font-size: 1.1rem; letter-spacing: .02em; text-transform: none; font-weight: 800;
}
.pagination__nav svg { width: 22px; height: 22px; }
.pagination__nav--prev { background: #fff; border: 1.5px solid #cfc6b0; color: var(--ink); box-shadow: 0 6px 14px -8px rgba(17,21,17,.35); }
.pagination__nav--next { background: var(--pg-gold); border: 1.5px solid #b98a00; color: var(--ink); box-shadow: 0 12px 24px -10px rgba(217,164,4,.8); }
@media (hover: hover) and (pointer: fine) {
  .pagination__nav--prev:not(:disabled):hover { background: #fff8e1; border-color: var(--pg-gold); color: var(--ink); }
  .pagination__nav--next:not(:disabled):hover { background: #ecb40c; border-color: #b98a00; color: var(--ink); transform: translateY(-2px); }
}
@media (max-width: 900px) {
  .pagination__row { flex-wrap: wrap; justify-content: center; }
  .pagination__numbers { order: -1; flex-basis: 100%; }
  .pagination__nav { flex: 1 1 140px; }
}
@media (max-width: 640px) {
  .pagination { border-radius: 22px; padding: 22px 14px 24px; }
  .pagination__count strong { font-size: 1.15rem; }
  .pagination__item { min-width: 48px; height: 52px; font-size: 1.15rem; border-radius: 13px; }
  .pagination__ellipsis { height: 52px; }
  .pagination__nav { height: 54px; min-width: 0; font-size: 1rem; padding: 0 16px; }
  .pagination__nav-label { display: inline; }
}


/* ================================================================
   Ficha de producto (v3): distribución, jerarquía y visor de imagen
   ================================================================ */
.product-page { padding: 12px 0 110px; }
.product-layout { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); }
.pd-gallery { position: sticky; top: 108px; }
.pd-gallery__main {
  aspect-ratio: 4 / 3.35; border: 0; border-radius: 26px; background: #14110d;
  box-shadow: 0 30px 60px -30px rgba(17,21,17,.55), 0 0 0 1px rgba(17,21,17,.06);
}
.pd-gallery__main::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 78%, rgba(0,0,0,.32) 100%);
}
.pd-gallery__main img { transition: transform .8s cubic-bezier(.22,.68,0,1.01); }
@media (hover: hover) and (pointer: fine) { .pd-gallery__main:hover img { transform: scale(1.035); } }
.pd-gallery__main::after {
  content: "Clic para ampliar"; position: absolute; left: 16px; bottom: 16px; z-index: 2; pointer-events: none;
  padding: 7px 14px; border-radius: 10px; background: rgba(10,12,10,.72); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pd-gallery__badge { z-index: 2; background: var(--gold); color: var(--ink); box-shadow: 0 8px 18px -8px rgba(222,162,2,.8); }
.pd-gallery__zoom { z-index: 2; width: 42px; height: 42px; border-radius: 12px; background: rgba(10,12,10,.72); }
.pd-gallery__count { z-index: 2; }
.pd-gallery__thumbs { margin-top: 16px; }
.pd-gallery__thumb { border-width: 2px; opacity: .8; transition: opacity .25s ease, border-color .25s ease, transform .3s ease; }
.pd-gallery__thumb:hover, .pd-gallery__thumb.is-active { opacity: 1; }

/* Información: cabecera → precio → ficha → acciones, con aire entre bloques */
.pd-info { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.pd-info__head { flex-direction: column; flex-wrap: nowrap; gap: 20px; margin: 0; }
.pd-info__titlebox { flex: none; width: 100%; }
.pd-title { font-size: clamp(2.2rem, 3.6vw, 3.4rem); line-height: 1.02; }
.pd-meta { gap: 10px 14px; margin-top: 16px; }
.pd-meta li { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: .88rem; font-weight: 600; }
.pd-price-box { width: 100%; padding: 18px 26px; text-align: left; }
.pd-price-box .price { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.pd-price-box .price small { margin: 0; text-align: right; font-size: .82rem; max-width: 12em; line-height: 1.25; }

.pd-info .pd-tabs { margin-bottom: -26px; }
.pd-specs-card { margin: 0; padding: 6px 10px 10px; box-shadow: 0 18px 40px -28px rgba(17,21,17,.35); }
.pd-spec-item { gap: 16px; padding: 22px 16px; }
.pd-spec-icon { box-sizing: border-box; width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: #fff4d6; color: #b98a00; stroke-width: 1.6; }
.pd-spec-label { margin-bottom: 5px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.pd-spec-value { font-size: 1.14rem; font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }

.pd-actions { gap: 14px; margin-top: 2px; }
.pd-actions .source-note { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 992px) { .pd-gallery { position: static; } }
@media (max-width: 560px) {
  .pd-gallery__main { aspect-ratio: 4 / 3.4; border-radius: 20px; }
  .pd-price-box .price small { text-align: left; max-width: none; }
}

/* Visor a pantalla completa */
.pd-lightbox {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: rgba(8,10,8,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: pdLbIn .25s ease;
}
@keyframes pdLbIn { from { opacity: 0; } to { opacity: 1; } }
.pd-lightbox__stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 56px 72px; overflow: hidden; }
.pd-lightbox__stage img {
  max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; cursor: zoom-in;
  transition: transform .35s cubic-bezier(.22,.68,0,1.01);
}
.pd-lightbox__stage img.is-zoomed { transform: scale(2.2); cursor: zoom-out; }
.pd-lightbox__btn {
  position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .25s ease, transform .25s ease;
}
.pd-lightbox__btn:hover { background: var(--gold); color: var(--ink); }
.pd-lightbox__close { top: 18px; right: 18px; font-size: 1.2rem; }
.pd-lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.pd-lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.pd-lightbox__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; padding: 6px 16px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-weight: 700; font-size: .9rem; }
@media (max-width: 640px) { .pd-lightbox__stage { padding: 64px 8px; } }


/* ================================================================
   Ficha de producto (v4): proporciones y distribución según el diseño
   ================================================================ */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 118px; padding-bottom: 6px; font-size: .98rem; letter-spacing: 0; color: #555; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: 8px; color: #555; font-weight: 500; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs .crumb-sep { color: #8a8a82; font-size: 1.1rem; }
.breadcrumbs #crumb-name { color: var(--ink); font-weight: 700; }

.product-layout { grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); gap: clamp(28px, 3.4vw, 60px); }

/* Galería */
.pd-gallery__main { aspect-ratio: 664 / 556; border-radius: 22px; }
.pd-gallery__badge { display: inline-flex; align-items: center; gap: 10px; top: 18px; left: 18px; padding: 11px 18px; border-radius: 14px; font-size: .95rem; letter-spacing: .02em; }
.pd-gallery__zoom { top: 18px; right: 18px; width: 44px; height: 44px; }
.pd-gallery__nav { width: 44px; height: 44px; }
.pd-gallery__main::after { left: 18px; bottom: 18px; padding: 10px 16px 10px 44px; font-size: .92rem; border-radius: 12px;
  background: rgba(10,12,10,.74) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='M21 16l-5-5-9 9'/%3E%3C/svg%3E") no-repeat 14px center / 20px; }
.pd-gallery__count { display: none !important; }
.pd-dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; }
.pd-dots[hidden] { display: none; }
.pd-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.75); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.pd-dot.is-active { background: var(--gold); transform: scale(1.15); }
.pd-gallery__thumbs { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.pd-gallery__thumb { aspect-ratio: 152 / 108; border-radius: 14px; border-width: 3px; }
.pd-gallery__thumb.is-active { border-color: var(--gold); box-shadow: 0 6px 16px -8px rgba(222,162,2,.7); }

/* Información */
.pd-info { gap: 0; }
.pd-info__head { gap: 0; }
.pd-title { font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1; }
.pd-meta { margin-top: 22px; gap: 12px; }
.pd-meta li { padding: 10px 20px; font-size: 1rem; background: #fff; box-shadow: 0 6px 14px -8px rgba(17,21,17,.3); }
.pd-meta svg { width: 20px; height: 20px; color: var(--ink); }
.pd-price-box { margin-top: 38px; padding: 20px 34px; border-radius: 20px; box-shadow: 0 14px 28px -18px rgba(222,162,2,.8); }
.pd-price-box .price { flex-wrap: nowrap; gap: 24px; }
.pd-price-box .price__amount { font: 800 clamp(2.4rem, 3.6vw, 3.4rem)/1 var(--font-display); letter-spacing: -.01em; }
.pd-price-box .price__note { display: flex; align-items: center; gap: 14px; padding-left: 26px; border-left: 1px solid rgba(17,21,17,.28); }
.pd-price-box .price__note svg { flex: none; }
.pd-price-box .price__note small { max-width: 11em; text-align: left; font-size: 1rem; font-weight: 600; line-height: 1.25; color: var(--ink); }

/* Pestaña única, centrada */
.pd-info .pd-tabs { justify-content: center; margin: 30px 0 0; border-radius: 18px 18px 0 0; background: #ecebe6; }
.pd-tab { padding: 18px 40px; font-size: 1.1rem; }
.pd-specs-card { margin: 0; padding: 16px; border-radius: 0 0 22px 22px; box-shadow: 0 18px 36px -26px rgba(17,21,17,.35); }
.pd-specs-grid { gap: 14px; grid-template-columns: repeat(2, 1fr); }
.pd-specs-grid .pd-spec-item,
.pd-specs-grid .pd-spec-item:nth-child(n) {
  gap: 16px; padding: 14px 18px; min-height: 88px; border: 1px solid rgba(17,21,17,.1); border-radius: 18px;
  background: #fff; box-shadow: 0 8px 18px -12px rgba(17,21,17,.3);
}
.pd-spec-icon { width: 54px; height: 54px; padding: 13px; border-radius: 50%; background: #fdf0c8; color: #c28f00; }
.pd-spec-label { font-size: .98rem; font-weight: 500; margin-bottom: 3px; }
.pd-spec-value { font-size: 1.2rem; font-weight: 800; line-height: 1.2; }

/* Acciones */
.pd-actions { display: grid; grid-template-columns: 1.18fr 1fr; align-items: stretch; margin-top: 38px; gap: 24px; }
.pd-actions .pd-btn { flex: none; min-width: 0; }
.pd-btn { min-height: 76px; border-radius: 18px; font-size: 1.2rem; font-weight: 800; letter-spacing: 0; line-height: 1.15; }
.pd-btn--gold { flex: 1.18 1 0; justify-content: flex-start; gap: 18px; padding: 0 30px; box-shadow: 0 14px 26px -14px rgba(222,162,2,.9); }
.pd-btn--gold .pd-btn__text { flex: 1; text-align: left; }
.pd-btn--gold .pd-btn__arrow { margin-left: auto; font-size: 1.7rem; }
.pd-btn--line { flex: 1 1 0; gap: 16px; padding: 0 24px; border: 1.5px solid rgba(17,21,17,.35); box-shadow: 0 8px 18px -12px rgba(17,21,17,.3); }
.pd-actions .source-note { grid-column: 1 / -1; margin-top: 4px; padding-top: 0; border-top: 0; font-size: .95rem; }

@media (max-width: 992px) {
  .product-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-price-box { padding: 16px 20px; }
  .pd-price-box .price { flex-wrap: wrap; gap: 12px; }
  .pd-price-box .price__note { padding-left: 0; border-left: 0; }
  .pd-actions { grid-template-columns: 1fr; gap: 14px; }
  .pd-btn { min-height: 64px; font-size: 1.05rem; }
  .pd-btn--gold, .pd-btn--line { flex: 1 1 100%; }
  .pd-tab { padding: 16px 28px; }
}

/* ================================================================
   Botones del hero (v3): píldoras. Principal dorado con relieve; secundario de cristal con icono de WhatsApp.
   ================================================================ */
.hero-cinema__actions { gap: 16px; flex-wrap: wrap; }
.hero-cinema__actions .btn {
  min-height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: .07em;
  justify-content: center;
}
.hero-cinema__actions .btn--gold {
  background: linear-gradient(180deg, #f2b50f 0%, var(--gold) 100%);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 14px 30px -12px rgba(var(--gold-rgb), .75), inset 0 1px 0 rgba(255,255,255,.45);
}
.hero-cinema__actions .btn--text {
  min-height: 56px;
  padding: 0 28px 0 20px;
  color: #fff;
  background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 10px 26px -14px rgba(0,0,0,.6);
}
.hero-cinema__actions .btn__ic {
  flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%;
  background: #25d366; color: #fff; box-sizing: border-box;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
@media (hover: hover) and (pointer: fine) {
  .hero-cinema__actions .btn--text:hover .btn__ic { transform: scale(1.1) rotate(-6deg); }
}
@media (max-width: 720px) {
  .hero-cinema__actions { align-items: stretch; width: 100%; }
  .hero-cinema__actions .btn { width: 100%; }
}

/* ================================================================
   Precio con oferta (priceBefore): arriba el anterior tachado y en gris,
   en medio la insignia roja con el % de descuento, abajo el precio vigente.
   Sin oferta se ve solo el precio, como siempre. Sin animaciones.
   ================================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.price__stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; max-width: 100%; }
.price__before {
  display: block; color: #62665f; font: 600 max(.56em, .88rem)/1.15 var(--font-body); letter-spacing: 0;
  text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: rgba(98,102,95,.9); white-space: nowrap;
}
.price__badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px;
  background: #D62828; color: #fff; font: 800 .8rem/1.2 var(--font-body); letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 4px 10px -5px rgba(214,40,40,.65);
}
.price__badge-ic { flex: none; display: block; }
.price__stack .price__amount { display: block; max-width: 100%; overflow-wrap: anywhere; }
.price--offer small { margin-top: 6px; }
/* Ficha: el bloque de precio crece un poco y la insignia acompaña. */
.pd-price-box .price__stack { gap: 8px; }
.pd-price-box .price__before { font-size: max(.48em, 1rem); }
.pd-price-box .price__badge { padding: 4px 12px 4px 9px; font-size: .86rem; }
.pd-price-box .price__badge-ic { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .price__badge { font-size: .78rem; }
  .pd-price-box .price--offer { flex-wrap: wrap; }
}