/* Nukleo — panel "Chips NFC" (puerta de entrada)

   Pantalla completa con su propio scroll (la puerta bloquea el de la página). Fondo blanco con
   franjas grises alternas (.nfc__band). Acento azul cobalto (--nfc-accent); nada del rojo
   anaranjado del resto de la web. Títulos en Inter Tight, grotesca apretada (referencia del
   usuario: paulkalkbrenner.net, con una foto metida entre las palabras del título), que se
   subrayan al entrar. Todo va apareciendo según se baja ([data-rv] → .is-in, nfc.js).
   Portada: título a todo el ancho; debajo, texto + estrellas + botones y la placa de Google en 3D
   con reseñas de ejemplo que salen de una en una (nfc.js). Catálogos: Google Maps y Redes
   sociales en carrusel infinito y Restaurantes solo; la ficha de cada producto es de cristal
   líquido sobre un halo con sus colores (--tint1/--tint2). Productos en CSS 3D (nfc3d.js). */

@property --tint1 {
  syntax: "<color>";
  inherits: true;
  initial-value: #c9d6ff;
}

@property --tint2 {
  syntax: "<color>";
  inherits: true;
  initial-value: #ffe3a3;
}

.gate__panel.nfc {
  --nfc-bg: #ffffff;
  --nfc-gray: #f2f2ef;
  --nfc-ink: #111111;
  --nfc-soft: rgba(17, 17, 17, 0.62);
  --nfc-faint: rgba(17, 17, 17, 0.4);
  --nfc-line: rgba(17, 17, 17, 0.1);
  --nfc-accent: #2346ff;
  --nfc-rs: #ff4b3e; /* el rojo de la marca richsmart, solo para su nombre */
  --nfc-off: #111111;
  --nfc-gold: #f5b301;
  --nfc-gold-deep: #dd9a00;
  --nfc-pad: calc(clamp(1.25rem, 4vw, 4rem) + max(var(--sa-l), var(--sa-r)));
  --nfc-head: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --nfc-warm: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  /* cristal: relleno, canto de luz y elevación, compartidos por barra, fichas y tarjetas */
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.48) 100%);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(17, 17, 17, 0.04),
    0 1px 1px rgba(17, 17, 17, 0.04), 0 8px 18px -8px rgba(17, 17, 17, 0.12), 0 28px 60px -24px rgba(17, 17, 17, 0.28);

  position: fixed;
  inset: 0;
  z-index: 5;
  width: auto;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--nfc-bg);
  color: var(--nfc-ink);
  font-family: var(--font-display);
  animation: nfc-in 800ms var(--ease-out-expo) both;
}

@keyframes nfc-in {
  from {
    clip-path: inset(100% 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.nfc__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nfc svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nfc button {
  font: inherit;
}

.nfc ::selection {
  background: var(--nfc-accent);
  color: #fff;
}

.nfc__wrap {
  min-height: 100%;
  padding: 0 var(--nfc-pad);
}

/* franjas grises a todo el ancho (salen del relleno lateral de .nfc__wrap) */
.nfc__band {
  margin-inline: calc(-1 * var(--nfc-pad));
  padding-inline: var(--nfc-pad);
  background: var(--nfc-gray);
}

/* ---------- Aparición al bajar ---------- */

[data-rv] {
  opacity: 0;
  translate: 0 1.75rem;
  transition: opacity 900ms ease calc(var(--rv-i, 0) * 90ms), translate 1100ms var(--ease-out-expo) calc(var(--rv-i, 0) * 90ms);
}

[data-rv].is-in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Barra superior (fija, de cristal) ---------- */

.nfc__bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin: 0 calc(-1 * var(--nfc-pad));
  padding: calc(0.75rem + var(--sa-t)) var(--nfc-pad) 0.75rem;
  border-bottom: 1px solid var(--nfc-line);
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
}

.gate__back.nfc__back {
  justify-self: start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.55rem 0.95rem 0.55rem 0.75rem;
  border: 1px solid var(--nfc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--nfc-ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 250ms ease, background-color 250ms ease, color 250ms ease;
}

.nfc__back:hover,
.nfc__back:focus-visible {
  border-color: var(--nfc-ink);
  background: var(--nfc-ink);
  color: #fff;
  outline: none;
}

.nfc__bar-nav {
  display: flex;
  gap: 0.2rem;
  padding: 0.25rem;
  border: 1px solid var(--nfc-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.nfc__bar-nav button {
  padding: 0.45rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--nfc-soft);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease;
}

.nfc__bar-nav button:hover,
.nfc__bar-nav button:focus-visible {
  background: var(--nfc-ink);
  color: #fff;
  outline: none;
}

/* ---------- Portada ---------- */

.nfc__hero {
  padding: clamp(1.25rem, 3.5vh, 2.25rem) 0 clamp(3rem, 7vh, 5rem);
}

.nfc__hero-top {
  display: flex;
  justify-content: flex-end;
}

.nfc__sig {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0 0.28em;
  margin: 0;
  font-size: clamp(1.8rem, 0.9rem + 2.4vw, 3.6rem);
  line-height: 1;
  text-align: right;
}

.nfc__sig-rm {
  color: var(--nfc-rs);
  font-family: var(--nfc-warm);
  font-style: italic;
  font-weight: 700;
  font-synthesis: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.nfc__sig-x {
  color: var(--nfc-faint);
  font-weight: 400;
  font-size: 0.6em;
}

.nfc__sig-nk {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.nfc__sig-nk span,
.nfc__title-dot,
.nfc__cat-t span {
  color: var(--nfc-accent);
}

/* el título: grotesca apretada a todo el ancho, con una foto metida entre las palabras */
.nfc__title {
  margin: clamp(0.75rem, 2.5vh, 1.75rem) 0 0;
  font-family: var(--nfc-head);
  font-size: clamp(4rem, 0.8rem + 11vw, 13.5rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.nfc__title-in {
  position: relative;
  display: inline-block;
  padding-bottom: 0.2em;
  white-space: nowrap;
}

/* subrayado de los títulos: una línea que se dibuja al entrar */
.nfc__title-in::after,
.nfc__cat-t::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0.12em;
  bottom: 0;
  height: max(3px, 0.045em);
  border-radius: 999px;
  background: var(--nfc-ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1300ms var(--ease-out-expo) 450ms;
}

.nfc__title.is-in .nfc__title-in::after,
.nfc__cat-t.is-in::after {
  transform: scaleX(1);
}

.nfc__hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(1rem, 3vh, 2rem);
}

.nfc__hero-copy {
  padding-top: clamp(1rem, 4vh, 2.5rem);
}

/* tres ventajas en una línea, bajo los botones */
.nfc__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  padding: clamp(1.25rem, 3vh, 1.75rem) 0 0;
  border-top: 1px solid var(--nfc-line);
  list-style: none;
}

.nfc__perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem 0.5rem 0.55rem;
  border: 1px solid var(--nfc-line);
  border-radius: 999px;
  background: var(--nfc-gray);
  font-size: 0.85rem;
  font-weight: 500;
}

.nfc__perks svg {
  width: 1.1rem;
  height: 1.1rem;
  padding: 0.15rem;
  border-radius: 50%;
  background: var(--nfc-accent);
  color: #fff;
  stroke-width: 2.4;
}

.nfc__lead {
  max-width: 34rem;
  margin: 0;
  color: var(--nfc-soft);
  font-size: clamp(1.1rem, 0.95rem + 0.55vw, 1.4rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.nfc__rating {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
}

.nfc__rating p {
  margin: 0;
  color: var(--nfc-soft);
  font-size: 0.92rem;
  line-height: 1.35;
}

.nfc__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: clamp(1.5rem, 3.5vh, 2.25rem);
}

.nfc__hero-visual {
  position: relative;
  isolation: isolate;
}

/* círculos finos de fondo y el halo con los colores de Google */
.nfc__hero-visual::before,
.nfc__hero-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  aspect-ratio: 1;
  border: 1px solid var(--nfc-line);
  border-radius: 50%;
  translate: -50% -50%;
  pointer-events: none;
}

.nfc__hero-visual::before {
  width: 94%;
}

.nfc__hero-visual::after {
  width: 66%;
  border-style: dashed;
}

.nfc__halo {
  position: absolute;
  z-index: -1;
  inset: 12% 10% 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side at 32% 38%, rgba(66, 133, 244, 0.3), transparent),
    radial-gradient(closest-side at 70% 55%, rgba(251, 188, 5, 0.3), transparent),
    radial-gradient(closest-side at 45% 78%, rgba(52, 168, 83, 0.22), transparent);
  filter: blur(34px);
  pointer-events: none;
}

.nfc__media--hero {
  width: min(100%, 26rem);
  margin: 0 auto;
}

/* tarjeta de cristal "Acerca el móvil" */
.nfc__float {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--glass-edge);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  backdrop-filter: blur(16px) saturate(1.8);
  box-shadow: var(--glass-shadow);
  pointer-events: none;
  animation: nfc-float 6s ease-in-out infinite;
}

@keyframes nfc-float {
  50% {
    translate: 0 -0.5rem;
  }
}

.nfc__float--tap {
  right: 0;
  top: 8%;
  gap: 0.8rem;
  padding: 0.85rem 1.4rem 0.85rem 0.9rem;
  border-radius: 999px;
  font-size: clamp(1rem, 0.85rem + 0.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nfc__float--tap svg {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0.45rem;
  border-radius: 50%;
  background: var(--nfc-accent);
  color: #fff;
  stroke-width: 2;
}

/* ---------- Reseñas de ejemplo que salen de una en una, alrededor del círculo ---------- */
/* nfc.js coloca cada tarjeta en un punto del anillo (--x/--y) y el clamp la mantiene dentro. */

.nfc__reviews {
  position: absolute;
  z-index: 7;
  inset: 0;
  pointer-events: none;
}

.nfc__review {
  --w: min(17.5rem, 70vw);
  position: absolute;
  left: clamp(calc(var(--w) / 2), var(--x, 50%), calc(100% - var(--w) / 2));
  top: var(--y, 80%);
  width: var(--w);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.9rem 0.85rem;
  border: 1px solid var(--glass-edge);
  border-radius: 1.1rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(18px) saturate(1.8);
  backdrop-filter: blur(18px) saturate(1.8);
  box-shadow: var(--glass-shadow);
  opacity: 0;
  translate: 0 1.25rem;
  scale: 0.96;
  transition: opacity 500ms ease, translate 700ms var(--ease-out-expo), scale 700ms var(--ease-out-expo);
}

.nfc__review.is-on {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

.nfc__review.is-off {
  opacity: 0;
  translate: 0 -1rem;
  scale: 0.97;
  transition-duration: 600ms;
}

.nfc__review-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: hsl(var(--hue) 70% 88%);
  color: hsl(var(--hue) 55% 30%);
  font-weight: 600;
  font-size: 0.95rem;
}

.nfc__review-body {
  display: grid;
  flex: 1;
  gap: 0.28rem;
  min-width: 0;
}

.nfc__review-top {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.nfc__review-top b {
  font-size: 0.85rem;
  font-weight: 600;
}

.nfc__review-top span {
  color: var(--nfc-faint);
  font: 500 0.6rem/1 var(--font-mono);
  letter-spacing: 0.06em;
}

.nfc__review-c {
  color: var(--nfc-soft);
  font-size: 0.8rem;
  line-height: 1.35;
}

.nfc__review-g {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--nfc-line);
  color: #4285f4;
  font-size: 0.72rem;
  font-weight: 700;
}

.nfc__review .nfc__stars {
  font-size: 0.8rem;
}

.nfc__review.is-on .nfc__star-fill {
  animation: nfc-star-fill 420ms cubic-bezier(0.3, 0.7, 0.2, 1) calc(350ms + var(--i) * 120ms) forwards;
}

.nfc__review.is-static .nfc__star-fill {
  animation: none;
  clip-path: none;
}

/* ---------- Estrellas que se rellenan de dorado ---------- */

.nfc__stars {
  display: inline-flex;
  gap: 0.18em;
  font-size: 0.95rem;
}

.nfc__stars--big {
  flex: none;
  font-size: clamp(1.6rem, 1.2rem + 0.8vw, 2.1rem);
}

.nfc__star {
  position: relative;
  display: block;
  width: 1em;
  height: 1em;
}

.nfc .nfc__star svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(17, 17, 17, 0.06);
  stroke: rgba(17, 17, 17, 0.2);
  stroke-width: 1.1;
}

.nfc .nfc__star svg.nfc__star-fill {
  fill: var(--nfc-gold);
  stroke: var(--nfc-gold-deep);
  filter: drop-shadow(0 0.08em 0.12em rgba(221, 154, 0, 0.35));
  clip-path: inset(0 100% 0 0);
}

/* la grande: se rellenan una tras otra al aparecer, con un pequeño golpe */
.nfc__rating.is-in .nfc__stars--big .nfc__star {
  animation: nfc-star-pop 480ms var(--ease-out-expo) calc(500ms + var(--i) * 190ms) both;
}

.nfc__rating.is-in .nfc__stars--big .nfc__star-fill {
  animation: nfc-star-fill 520ms cubic-bezier(0.3, 0.7, 0.2, 1) calc(420ms + var(--i) * 190ms) forwards;
}

@keyframes nfc-star-fill {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes nfc-star-pop {
  0%,
  100% {
    scale: 1;
  }
  45% {
    scale: 1.22;
  }
}

/* ---------- Cómo funciona: franja gris con los 3 pasos ---------- */

.nfc__how {
  padding-block: clamp(3rem, 8vh, 5rem);
}

.nfc__steps {
  --g: clamp(1.5rem, 4vw, 4rem);
  --ic: 3.2rem;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--g);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* una línea une los tres iconos y se dibuja al entrar */
.nfc__steps::before,
.nfc__steps::after {
  content: "";
  position: absolute;
  top: calc(var(--ic) / 2);
  left: calc(var(--ic) / 2);
  right: calc((100% - 2 * var(--g)) / 3 - var(--ic) / 2);
  height: 1px;
  background: rgba(17, 17, 17, 0.14);
}

.nfc__steps::after {
  background: var(--nfc-accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 1600ms var(--ease-out-expo) 500ms;
}

.nfc__steps.is-in::after {
  transform: scaleX(1);
}

.nfc__steps li {
  position: relative;
  z-index: 1;
}

.nfc__step-ic {
  display: grid;
  place-items: center;
  width: var(--ic);
  height: var(--ic);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 50%;
  background: linear-gradient(160deg, #fff, #f7f7f5);
  box-shadow: 0 0 0 6px var(--nfc-gray), inset 0 1px 0 #fff, 0 10px 20px -10px rgba(17, 17, 17, 0.3);
  color: var(--nfc-accent);
  transition: translate 400ms var(--ease-out-expo);
}

.nfc__steps li:hover .nfc__step-ic {
  translate: 0 -3px;
}

.nfc__step-ic svg {
  width: 1.3rem;
  height: 1.3rem;
}

.nfc__step-n {
  display: block;
  margin-top: 1.2rem;
  color: var(--nfc-faint);
  font: 500 0.72rem/1 var(--font-mono);
  letter-spacing: 0.1em;
}

.nfc__steps b {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--nfc-head);
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.nfc__steps p {
  max-width: 22rem;
  margin: 0.4rem 0 0;
  color: var(--nfc-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ---------- Catálogos ---------- */

.nfc__cat {
  padding-block: clamp(3.5rem, 9vh, 6rem) clamp(3rem, 7vh, 5rem);
}

.nfc__cat-h {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 24rem);
  gap: 0.5rem clamp(1rem, 3vw, 2.5rem);
  align-items: end;
}

.nfc__cat-n {
  align-self: start;
  padding-top: 0.6rem;
  color: var(--nfc-accent);
  font: 500 0.8rem/1 var(--font-mono);
  letter-spacing: 0.1em;
}

.nfc__cat-t {
  position: relative;
  justify-self: start;
  margin: 0;
  padding-bottom: 0.22em;
  font-family: var(--nfc-head);
  font-size: clamp(3rem, 1.2rem + 5.4vw, 7rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.nfc__cat-t em {
  color: var(--nfc-faint);
  font-style: normal;
}

.nfc__cat-p {
  margin: 0;
  padding-bottom: 0.6rem;
  color: var(--nfc-soft);
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- Carrusel ---------- */

.nfc__carousel {
  /* --fit: lo que ocupan barra, pie de los productos, controles y ficha (medido); así el
     carrusel entero, ficha incluida, cabe en una pantalla de portátil */
  --fit: 31rem;
  --card-w: clamp(11rem, min(23vw, (100dvh - var(--fit)) / 1.25), 21rem);
  --step: calc(var(--card-w) * 1.02);
  position: relative;
  isolation: isolate;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

/* halo de color bajo la ficha: le da al cristal algo que refractar */
.nfc__aura {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -2rem;
  width: min(62rem, 100%);
  height: 62%;
  translate: -50% 0;
  background: radial-gradient(38% 52% at 32% 62%, color-mix(in srgb, var(--tint1) 42%, transparent), transparent 72%),
    radial-gradient(38% 52% at 68% 52%, color-mix(in srgb, var(--tint2) 40%, transparent), transparent 72%);
  filter: blur(42px);
  pointer-events: none;
  transition: --tint1 900ms ease, --tint2 900ms ease;
}

.nfc__stage {
  position: relative;
  height: calc(var(--card-w) * 1.25 + 4.2rem);
  outline: none;
  touch-action: pan-y;
  user-select: none;
}

.nfc__stage:focus-visible .nfc__item.is-center .nfc__media {
  outline: 2px solid var(--nfc-accent);
  outline-offset: 6px;
}

.nfc__item {
  --o: 0;
  --s: 1;
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  margin-left: calc(var(--card-w) / -2);
  transform: translateX(calc(var(--o) * var(--step))) scale(var(--s));
  transform-origin: 50% 40%;
  transition: transform 750ms var(--ease-out-expo), opacity 500ms ease, visibility 0s;
}

.nfc__item.is-center {
  z-index: 3;
}

/* (sin filter: un filtro sobre un producto 3D obliga a redibujarlo entero aparte en cada cambio;
   medido, era parte de los tirones al hacer scroll en móvil) */
.nfc__item.is-side {
  --s: 0.76;
  z-index: 2;
  opacity: 0.5;
  cursor: pointer;
}

.nfc__item.is-side:hover {
  opacity: 0.8;
}

/* fuera de escena: además de transparente, sin dibujar (visibility, en cuanto termina de irse);
   antes se seguían componiendo sus capas 3D aunque no se vieran */
.nfc__item.is-off {
  --s: 0.6;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 750ms var(--ease-out-expo), opacity 500ms ease, visibility 0s linear 500ms;
}

/* el que da la vuelta (de un extremo al otro) no cruza el escenario: salta, ya invisible */
.nfc__item.is-jump {
  transition: none;
}

/* el hueco del producto: sin fondo, el producto flota con su propia sombra */
.nfc__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 1.4rem;
}

.nfc__cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0.9rem 0.2rem 0;
}

.nfc__cap b {
  overflow: hidden;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nfc__tag {
  flex: none;
  padding: 0.32rem 0.55rem;
  border: 1px solid var(--nfc-line);
  border-radius: 999px;
  color: var(--nfc-soft);
  font: 500 0.6rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nfc__tag--off {
  border-color: var(--nfc-ink);
  background: var(--nfc-ink);
  color: #fff;
}

.nfc__info {
  display: none;
}

/* ---------- Agotados: producto apagado y un sello encima ---------- */

.nfc__item.is-soldout .p3d {
  filter: grayscale(1) contrast(0.9);
  opacity: 0.4;
}

.nfc__item.is-soldout .nfc__cap b {
  color: var(--nfc-faint);
}

.nfc__stamp {
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: 5;
  padding: 0.55rem 1.1rem;
  border: 2px solid var(--nfc-ink);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.95), inset 0 0 0 4px rgba(17, 17, 17, 0.45),
    0 14px 30px -14px rgba(17, 17, 17, 0.5);
  color: var(--nfc-ink);
  font: 600 clamp(0.95rem, 0.7rem + 0.7vw, 1.3rem)/1 var(--font-mono);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  pointer-events: none;
  translate: -50% -50%;
  rotate: -13deg;
}

/* ---------- Controles: una pastilla de cristal con flechas, puntos y contador ---------- */

.nfc__ctrl {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  width: max-content;
  margin: 0.75rem auto 0;
  padding: 0.3rem;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: var(--glass-shadow);
}

.nfc__arrow {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--nfc-ink);
  cursor: pointer;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms var(--ease-out-expo);
}

.nfc__arrow svg {
  width: 1rem;
  height: 1rem;
}

.nfc__arrow:hover,
.nfc__arrow:focus-visible {
  background: var(--nfc-ink);
  color: #fff;
  outline: none;
}

.nfc__arrow:active {
  transform: scale(0.92);
}

.nfc__dots {
  display: flex;
  gap: 0.4rem;
  padding: 0 0.55rem;
}

.nfc__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.14);
  cursor: pointer;
  transition: width 400ms var(--ease-out-expo), background-color 300ms ease;
}

.nfc__dot[aria-current="true"] {
  width: 1.5rem;
  background: var(--nfc-accent);
}

.nfc__count {
  padding: 0 0.5rem 0 0.2rem;
  color: var(--nfc-faint);
  font: 500 0.7rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Ficha del producto: cristal líquido, elevada, que se inclina hacia el ratón ---------- */

.nfc__detail {
  --tx: 0deg;
  --ty: 0deg;
  --lift: 0px;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 1.5rem clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
  max-width: 62rem;
  margin: 2rem auto 0;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  border: 1px solid var(--glass-edge);
  border-radius: 1.75rem;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(26px) saturate(1.9);
  backdrop-filter: blur(26px) saturate(1.9);
  box-shadow: var(--glass-shadow), inset 0 0 30px rgba(255, 255, 255, 0.35);
  transform: perspective(1400px) rotateX(var(--ty)) rotateY(var(--tx)) translateY(var(--lift));
  transition: transform 700ms var(--ease-out-expo), box-shadow 700ms var(--ease-out-expo), opacity 220ms ease,
    translate 380ms var(--ease-out-expo);
}

.nfc__detail:hover {
  --lift: -6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 30px rgba(255, 255, 255, 0.35), 0 1px 1px rgba(17, 17, 17, 0.04),
    0 14px 26px -10px rgba(17, 17, 17, 0.16), 0 44px 80px -28px rgba(17, 17, 17, 0.34);
}

/* canto de luz: más brillante arriba a la izquierda */
.nfc__detail::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.15) 70%, rgba(255, 255, 255, 0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

/* reflejo que sigue al ratón (por debajo del texto) */
.nfc__detail::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(26rem circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.75), transparent 55%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}

.nfc__detail:hover::after {
  opacity: 1;
}

.nfc__detail.is-swapping {
  opacity: 0;
  translate: 0 0.75rem;
}

.nfc__detail > * {
  margin: 0;
}

.nfc__d-kicker {
  margin: 0 0 0.6rem;
  color: var(--nfc-accent);
  font: 500 0.68rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nfc__d-kicker--off {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: var(--nfc-ink);
  color: #fff;
}

.nfc__d-name {
  margin: 0;
  font-family: var(--nfc-head);
  font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.nfc__d-text {
  margin: 0.75rem 0 0;
  color: var(--nfc-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.nfc__d-list {
  display: grid;
  gap: 0.65rem;
  padding: 0.25rem 0 0;
  list-style: none;
  font-size: 0.95rem;
  line-height: 1.35;
}

.nfc__d-list li {
  position: relative;
  padding-left: 1.75rem;
}

.nfc__d-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.05em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--nfc-accent) 12%, transparent)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%232346ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>")
    center / 72% no-repeat;
}

.nfc__d-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.nfc__d-price {
  margin: 0;
  font-family: var(--nfc-head);
  font-size: clamp(2.8rem, 2rem + 2vw, 4rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nfc__d-price small {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--nfc-faint);
  font: 500 0.66rem/1 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nfc__d-price i {
  margin-left: 0.04em;
  font-size: 0.5em;
  font-style: normal;
}

.nfc__d-price.is-off {
  color: rgba(17, 17, 17, 0.2);
}

.nfc__d-price.is-off small {
  color: var(--nfc-ink);
}

/* ---------- Botones ---------- */

.nfc__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  height: 3rem;
  padding: 0 1.35rem;
  border: 1px solid var(--nfc-ink);
  border-radius: 999px;
  background: var(--nfc-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 20px -10px rgba(17, 17, 17, 0.55);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 250ms ease, border-color 250ms ease, color 250ms ease, translate 250ms var(--ease-out-expo),
    box-shadow 250ms ease;
}

.nfc__cta:hover,
.nfc__cta:focus-visible {
  border-color: var(--nfc-accent);
  background: var(--nfc-accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 12px 24px -10px color-mix(in srgb, var(--nfc-accent) 70%, transparent);
  outline: none;
  translate: 0 -1px;
}

.nfc__cta-i {
  width: 0.95rem;
  height: 0.95rem;
  transition: translate 300ms var(--ease-out-expo);
}

.nfc__cta:hover .nfc__cta-i {
  translate: 0.2rem 0;
}

.nfc__cta-i--down {
  rotate: 90deg;
}

.nfc__cta:hover .nfc__cta-i--down {
  translate: 0 0.2rem;
}

.nfc__cta--ghost {
  border-color: var(--nfc-line);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: none;
  color: var(--nfc-ink);
}

.nfc__cta--ghost:hover,
.nfc__cta--ghost:focus-visible {
  border-color: var(--nfc-ink);
  background: var(--nfc-ink);
  box-shadow: none;
  color: #fff;
}

.nfc__cta--big {
  height: 3.6rem;
  padding: 0 2rem;
  font-size: 1.05rem;
}

/* ---------- Restaurantes: un solo producto ---------- */

.nfc__solo {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  margin-top: clamp(2rem, 5vh, 3.5rem);
}

.nfc__solo .nfc__aura {
  left: auto;
  right: 0;
  bottom: 10%;
  width: 70%;
  height: 80%;
  translate: none;
}

.nfc__detail--solo {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: none;
  margin: 0;
}

.nfc__detail--solo .nfc__d-main {
  grid-column: 1 / -1;
}

.nfc__detail--solo .nfc__d-buy {
  align-self: end;
}

/* ---------- Productos en 3D (nfc3d.js) ---------- */
/* Sin librerías: cada producto es un pequeño montaje de CSS 3D. La cara es la foto recortada
   (src/assets/nfc/), sin fondo: las esquinas las recorta --rad. El grosor son capas apiladas con
   la misma silueta (--edge); las placas de pie llevan su pie en "L" hacia atrás (--foot) y una
   sombra en el suelo que gira con ellas. nfc3d.js pone las medidas (--W, --H, --t, --D, --rad) y,
   en cada fotograma, el giro, el reflejo (--sx) y el sombreado de cada cara (--shf/--shb). */

.p3d {
  --W: 200px;
  --H: 300px;
  --t: 6px;
  --D: 0px;
  --rad: 8px;
  --edge: #e6e6e2;
  --back: #f3f3f1;
  --foot: #f6f6f4;
  --foot-edge: #dcdcd8;
  --mark: rgba(17, 17, 17, 0.26);
  position: absolute;
  left: 50%;
  top: 46%;
  width: var(--W);
  height: var(--H);
  translate: -50% -50%;
  perspective: 1300px;
  perspective-origin: 50% 30%;
  cursor: pointer;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.p3d--stand {
  top: 44%;
}

.nfc__item.is-center .p3d,
.nfc__media--solo .p3d,
.nfc__media--hero .p3d {
  cursor: grab;
}

.nfc__media.is-grabbing .p3d {
  cursor: grabbing;
}

.p3d__rig,
.p3d__body {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.p3d__rig {
  transform-origin: 50% 60% calc(var(--D) / -2);
  will-change: transform;
}

.p3d__front,
.p3d__back,
.p3d__layer {
  position: absolute;
  inset: 0;
  border-radius: var(--rad);
}

/* las placas de pie se doblan abajo hacia el pie: esquinas redondas solo arriba */
.p3d--stand .p3d__front,
.p3d--stand .p3d__back,
.p3d--stand .p3d__layer {
  border-radius: var(--rad) var(--rad) 0 0;
}

.p3d__layer {
  background: var(--edge);
  transform: translateZ(calc(var(--k) * var(--t) * -1));
}

.p3d__front {
  overflow: hidden;
  background: #fff center / 100% 100% no-repeat;
  transform: translateZ(0.4px);
  backface-visibility: hidden;
}

.p3d__back {
  overflow: hidden;
  background: var(--back);
  transform: translateZ(calc(var(--t) * -1 - 0.4px)) rotateY(180deg);
  backface-visibility: hidden;
}

/* sombreado según hacia dónde mira cada cara, y el reflejo que la recorre al girar */
.p3d__front::before,
.p3d__back::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000;
  opacity: var(--shf, 0);
  pointer-events: none;
}

.p3d__back::before {
  opacity: var(--shb, 0);
}

.p3d__front::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 255, 255, 0.12) 53%, transparent 62%);
  background-size: 300% 100%;
  background-position: var(--sx, 50%) 0;
  opacity: 0.75;
  pointer-events: none;
}

.p3d--sticker .p3d__front::after {
  opacity: 0.45;
}

/* trasera de las placas: lisa, con la firma discreta abajo */
.p3d__mark {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7%;
  margin: 0;
  color: var(--mark);
  font-size: calc(var(--W) * 0.075);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.p3d__rm {
  font-family: var(--nfc-warm);
  font-style: italic;
  font-weight: 700;
  font-synthesis: none;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.p3d__nk {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.p3d__nk b {
  font-weight: inherit;
}

.p3d i {
  font-style: normal;
  opacity: 0.6;
}

/* trasera de las pegatinas: son a doble cara, el mismo diseño impreso (imagen en línea, nfc3d.js) */
.p3d--sticker .p3d__back {
  background: #fff center / 100% 100% no-repeat;
}

/* las ADHESIVAS (data-back="liner", nfc3d.js): por detrás, el papel protector estampado con
   "richsmart × Nukleo.", el corte para despegarlo y un sello NFC */
.p3d--sticker .p3d__back.p3d__liner {
  background: #f6f4ee;
}

.p3d__rows {
  position: absolute;
  inset: -45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(var(--W) * 0.055);
  rotate: -28deg;
}

.p3d__rows p {
  margin: 0;
  color: rgba(17, 17, 17, 0.45);
  font-size: calc(var(--W) * 0.068);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.p3d__rows p:nth-child(even) {
  translate: -14% 0;
}

.p3d__rows .p3d__rm {
  color: rgba(255, 75, 62, 0.75);
}

.p3d__sep {
  margin: 0 0.7em;
  opacity: 0.4;
}

.p3d__slit {
  position: absolute;
  left: 0;
  right: 0;
  top: 64%;
  border-top: 1px dashed rgba(17, 17, 17, 0.3);
}

.p3d__seal {
  position: absolute;
  left: 50%;
  top: 36%;
  display: flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45em 0.8em 0.45em 0.45em;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.1), 0 0.3em 0.8em rgba(17, 17, 17, 0.12);
  color: #111;
  font-size: calc(var(--W) * 0.078);
  line-height: 1;
  white-space: nowrap;
  translate: -50% -50%;
}

.p3d__seal > span:first-child {
  padding: 0.35em 0.5em;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font: 500 0.62em/1 var(--font-mono);
  letter-spacing: 0.12em;
}

.p3d__seal .p3d__rm {
  color: var(--nfc-rs);
}

.p3d--sticker .p3d__back.p3d__liner::after {
  display: none;
}

.p3d--sticker .p3d__back::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.5) 47%, rgba(255, 255, 255, 0.12) 53%, transparent 62%);
  background-size: 300% 100%;
  background-position: calc(100% - var(--sx, 50%)) 0;
  opacity: 0.45;
  pointer-events: none;
}

/* el pie en "L": sale del canto de abajo hacia atrás y apoya en la mesa */
.p3d__foot {
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(var(--H) - var(--t));
  height: var(--D);
  transform-origin: 50% 0;
  transform: rotateX(-90deg);
  transform-style: preserve-3d;
}

.p3d__flayer {
  position: absolute;
  inset: 0;
  border-radius: 0 0 var(--rad) var(--rad);
  background: var(--foot-edge);
  transform: translateZ(calc(var(--k) * var(--t)));
}

.p3d__flayer--top {
  background: linear-gradient(180deg, var(--foot) 0%, color-mix(in srgb, var(--foot) 90%, #000) 100%);
}

.p3d__shadow {
  position: absolute;
  left: -20%;
  width: 140%;
  top: var(--H);
  height: calc(var(--D) * 1.6);
  transform-origin: 50% 0;
  transform: rotateX(-90deg) translate3d(0, -14%, 1.5px);
  background: radial-gradient(closest-side, rgba(17, 17, 17, 0.3), rgba(17, 17, 17, 0.1) 60%, transparent);
  pointer-events: none;
}

/* pegatinas: flotan, con una sombra en el suelo que no gira */
.p3d__drop {
  position: absolute;
  left: 14%;
  right: 14%;
  top: calc(100% + 9%);
  height: 11%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 17, 17, 0.2), transparent);
  pointer-events: none;
}

/* aviso de que se puede girar, solo en el del centro y hasta que se gira por primera vez */
.p3d__hint {
  position: absolute;
  left: 50%;
  bottom: 1%;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  color: var(--nfc-soft);
  font: 500 0.66rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  translate: -50% 0;
  transition: opacity 400ms ease;
}

.nfc__item.is-center .p3d__hint,
.nfc__media--solo .p3d__hint {
  opacity: 1;
}

.nfc__media.was-turned .p3d__hint {
  opacity: 0;
}

/* (el pie es el final común, .finale--nfc en global.css) */

/* ---------- Coordinación con la puerta ---------- */

/* el robot "bc" no asoma sobre este panel; el aviso "Email copiado" sube por encima de la puerta */
.gate:has(.nfc:not([hidden])) ~ .peek-bot[data-side="bc"] {
  visibility: hidden;
}

.gate:has(.nfc:not([hidden])) ~ .toast {
  z-index: 120;
}

/* ---------- Tablet y móvil ---------- */

@media (max-width: 64rem) {
  .nfc__bar {
    grid-template-columns: auto 1fr;
  }

  .nfc__bar-nav {
    justify-self: end;
  }
}

@media (max-width: 60rem) {
  .nfc__hero-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .nfc__hero-visual {
    width: min(100%, 30rem);
    justify-self: center;
  }

  .nfc__cat-h {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nfc__cat-p {
    grid-column: 2;
  }

  .nfc__detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .nfc__detail .nfc__d-main {
    grid-column: 1 / -1;
  }

  .nfc__d-buy {
    align-self: end;
  }

  .nfc__solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .nfc__media--solo {
    width: min(100%, 24rem);
    justify-self: center;
  }
}

/* pantallas bajas (portátiles): ficha y controles más compactos, para que el producto no encoja tanto */
@media (min-width: 42.01rem) and (max-height: 56rem) {
  .nfc__carousel {
    --fit: 25.5rem;
  }

  .nfc__ctrl {
    margin-top: 0.4rem;
  }

  .nfc__carousel .nfc__detail {
    margin-top: 1rem;
    padding: 1.1rem 1.6rem;
    border-radius: 1.4rem;
  }

  .nfc__carousel .nfc__d-kicker {
    margin-bottom: 0.4rem;
  }

  .nfc__carousel .nfc__d-name {
    font-size: clamp(1.5rem, 1rem + 1.1vw, 2.1rem);
  }

  .nfc__carousel .nfc__d-text {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.45;
  }

  .nfc__carousel .nfc__d-list {
    gap: 0.45rem;
    font-size: 0.9rem;
  }

  .nfc__carousel .nfc__d-buy {
    gap: 0.6rem;
  }

  .nfc__carousel .nfc__d-price {
    font-size: clamp(2.2rem, 1.6rem + 1.4vw, 3rem);
  }
}

@media (max-width: 42rem) {
  /* en móvil también: los tres catálogos en una fila que se desliza con el dedo, junto a Volver */
  .nfc__bar {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .nfc__bar-nav {
    justify-self: stretch;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nfc__bar-nav::-webkit-scrollbar {
    display: none;
  }

  .nfc__bar-nav button {
    flex: none;
    padding: 0.45rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .nfc__hero-top {
    justify-content: flex-start;
  }

  .nfc__sig {
    justify-content: flex-start;
    font-size: 1.6rem;
    text-align: left;
  }

  .nfc__title {
    font-size: clamp(2.6rem, 14vw, 6rem);
  }

  .nfc__rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .nfc__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
  }

  .nfc__steps::before,
  .nfc__steps::after {
    top: calc(var(--ic) / 2);
    bottom: calc(var(--ic) / 2);
    left: calc(var(--ic) / 2);
    right: auto;
    width: 1px;
    height: auto;
  }

  .nfc__steps::after {
    transform: scaleY(0);
    transform-origin: 50% 0;
  }

  .nfc__steps.is-in::after {
    transform: scaleY(1);
  }

  .nfc__steps li {
    display: grid;
    grid-template-columns: var(--ic) minmax(0, 1fr);
    column-gap: 1rem;
  }

  .nfc__step-ic {
    grid-row: 1 / span 3;
  }

  .nfc__step-n {
    margin-top: 0.2rem;
  }

  .nfc__carousel {
    --card-w: 64vw;
    --step: calc(var(--card-w) * 0.9);
  }

  .nfc__item.is-side {
    --s: 0.72;
  }

  .nfc__detail,
  .nfc__detail--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .nfc__d-buy {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .nfc__d-price {
    text-align: left;
  }

  .nfc__cta--big {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) and (width < 0px) {
  .gate__panel.nfc,
  .nfc__float,
  .nfc__rating.is-in .nfc__stars--big .nfc__star {
    animation: none;
  }

  .nfc .nfc__star svg.nfc__star-fill {
    animation: none;
    clip-path: none;
  }

  [data-rv],
  .nfc__title-in::after,
  .nfc__cat-t::after,
  .nfc__steps::after,
  .nfc__item,
  .nfc__detail {
    transition: none;
  }
}
