.grid {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 28px;
}

@media (min-width:390px) {
  .grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: clamp(14px,2.2vw,26px);
  }
}

@media (min-width:760px) {
  .grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
    row-gap: 34px;
  }
}

@media (min-width:1120px) {
  .grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    row-gap: 42px;
  }
}

/* ================================================================
   CARD Y SHELL
   ================================================================ */

.card {
  position: relative;
  min-width: 0;
  cursor: pointer;
  isolation: isolate;
  transform: none !important;
}

.card-shell {
  position: relative;
  display: flex;
  height: 100%;
  padding: 6px;
  overflow: visible;
  flex-direction: column;

  border: 1px solid var(--line-card);
  border-radius: var(--card-radius);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.026),
      transparent 34%
    ),
    var(--surface-card);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 22px 64px -44px rgba(0,0,0,.96);

  transition:
    transform .42s var(--out),
    border-color .42s var(--out),
    box-shadow .52s var(--out);
}

.card-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;

  background:
    radial-gradient(
      75% 52% at 100% 58%,
      rgba(224,35,21,.19),
      transparent 72%
    );

  transition: opacity .45s var(--out);
}

@media (hover:hover) and (pointer:fine) {
  .card:hover .card-shell,
  .card:focus-within .card-shell {
    border-color: rgba(241,237,228,.19);
    transform: translateY(-3px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.035),
      0 30px 84px -48px rgba(0,0,0,1),
      0 20px 60px -46px rgba(224,35,21,.5);
  }

  .card:hover .card-shell::before,
  .card:focus-within .card-shell::before {
    opacity: 1;
  }
}

/* ================================================================
   IMAGEN Y GALERÍA
   ================================================================ */

.ink-frame {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 3/4;
  overflow: hidden;

  border: 1px solid var(--line-soft-card);
  border-radius: var(--media-radius);
  outline: none;

  background: #141414;
  transform: translateZ(0);
}

.ink-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  opacity: 1;
  pointer-events:none;
}

.ink-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  overflow: hidden;
  border-radius: inherit;
}

.ink-fallback img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ink-fallback .fb-back {
  opacity: 0;
  transition: opacity .5s steps(5);
}

.card.is-inked .ink-fallback .fb-back {
  opacity: 1;
}

.ink-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;

  background:
    radial-gradient(
      120% 95% at -8% 108%,
      var(--red-glow) 0%,
      rgba(156,18,9,.22) 34%,
      transparent 62%
    );

  mix-blend-mode: screen;
}

.card.is-inked .ink-light {
  animation: inkLight .5s steps(5) forwards;
}

@keyframes inkLight {
  from {
    opacity: 0;
    transform: translate(-12%,12%) scale(.8);
  }

  to {
    opacity: 1;
    transform: none;
  }
}


/* ================================================================
   DESCUENTO OVERPRINT
   ================================================================ */

.overprint {
  --mis: 1.25px;

  position: absolute;
  top: 16px;
  right: 15px;
  z-index: 6;

  width: fit-content;
  pointer-events: none;
  user-select: none;
}

.overprint .op-stack {
  display: grid;
  width: fit-content;
  isolation: isolate;
  transform: rotate(-5deg);
  transform-origin: 100% 0;
}

.overprint .op-plate {
  grid-area: 1/1;

  color: var(--red);
  font-family: "Anton",sans-serif;
  font-size: clamp(36px,3.5vw,50px);
  line-height: .9;
  letter-spacing: .005em;
  white-space: nowrap;

  filter: drop-shadow(0 2px 10px rgba(0,0,0,.45));
}

.overprint .op-sym {
  margin-left: .05em;
  font-family: "Fraunces",serif;
  font-size: .58em;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0;
}

.overprint .op-cyan {
  color: var(--cyan);
  opacity: .7;
  transform:
    translate(
      calc(var(--mis) * -1.35),
      calc(var(--mis) * -.95)
    )
    rotate(.22deg);
  filter: url(#plate-c);
}

.overprint .op-under {
  color: var(--paper);
  -webkit-text-stroke:
    calc(var(--mis) * 1.15)
    var(--paper);

  transform:
    translate(
      calc(var(--mis) * .45),
      calc(var(--mis) * .55)
    );

  filter: url(#plate-w);
}

.overprint .op-red {
  color: var(--red);
  mix-blend-mode: multiply;

  transform:
    translate(
      calc(var(--mis) * -.15),
      calc(var(--mis) * -.2)
    );

  filter: url(#plate-r);
}

/* ================================================================
   WISHLIST / CORAZÓN
   ================================================================ */

.wishlist {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;

  display: flex;
  width: 42px;
  height: 42px;
  padding: 0;
  overflow: visible;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(241,237,228,.14);
  border-radius: 8px;

  background: rgba(9,9,9,.66);

  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  -webkit-tap-highlight-color: transparent;

  transition:
    background .2s steps(2),
    border-color .2s steps(2),
    transform .2s steps(2);
}

.wishlist:hover {
  border-color: var(--red);
  background: rgba(224,35,21,.16);
  transform: rotate(-4deg);
}

.wishlist:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.wishlist.active {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 3px 3px 0 rgba(156,18,9,.55);
}

.wishlist.active:hover {
  transform: rotate(-3deg);
}

.wishlist .ink-heart {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;

  overflow: visible;
  pointer-events: none;
}

.wishlist .heart-main {
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.8;
  stroke-linejoin: round;
  transform-origin: 42px 42px;
}

.wishlist.active .heart-main {
  fill: var(--cream);
  stroke: var(--cream);
}

.wishlist .heart-ghost {
  fill: var(--red-deep);
  opacity: 0;
  transform-origin: 42px 42px;
}

.wishlist .heart-ghost.g2 {
  fill: var(--red);
}

.wishlist .blot,
.wishlist .spark,
.wishlist .action-line {
  opacity: 0;
  transform-origin: 42px 42px;
}

.wishlist .blot {
  fill: var(--red);
}

.wishlist .blot.deep {
  fill: var(--red-deep);
}

.wishlist .spark {
  fill: var(--red);
}

.wishlist .spark.pale {
  fill: var(--cream);
}

.wishlist .action-line {
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.6;
  stroke-linecap: square;
}

.wishlist .halftone {
  fill: var(--red);
  opacity: 0;
}

.wishlist[data-frame="a0"] .heart-main {
  transform: scale(.72) rotate(3deg);
}

.wishlist[data-frame="a1"] .heart-main {
  transform: scale(1.35) rotate(-6deg);
}

.wishlist[data-frame="a1"] .heart-ghost {
  opacity: .85;
  transform:
    scale(1.35)
    rotate(-6deg)
    translate(-2.5px,.5px);
}

.wishlist[data-frame="a1"] .heart-ghost.g2 {
  transform:
    scale(1.35)
    rotate(-6deg)
    translate(2.5px,-.5px);
}

.wishlist[data-frame="a1"] .blot.b1,
.wishlist[data-frame="a1"] .action-line {
  opacity: 1;
}

.wishlist[data-frame="a2"] .heart-main {
  transform: scale(.88) rotate(2deg);
}

.wishlist[data-frame="a2"] .blot.b2,
.wishlist[data-frame="a2"] .spark {
  opacity: 1;
}

.wishlist[data-frame="a2"] .action-line {
  opacity: 1;
  transform: scale(1.18);
}

.wishlist[data-frame="a3"] .heart-main {
  transform: scale(1.12) rotate(-4deg);
}

.wishlist[data-frame="a3"] .blot.b3,
.wishlist[data-frame="a3"] .halftone {
  opacity: 1;
}

.wishlist[data-frame="a3"] .spark {
  opacity: 1;
  transform:
    translate(var(--sx2),var(--sy2))
    scale(.8);
}

.wishlist[data-frame="a4"] .heart-main {
  transform: scale(.97) rotate(-3deg);
}

.wishlist[data-frame="a4"] .blot.b4 {
  opacity: 1;
}

.wishlist[data-frame="a4"] .spark {
  opacity: 1;
  transform:
    translate(var(--sx3),var(--sy3))
    scale(.55);
}

.wishlist[data-frame="a4"] .halftone {
  opacity: .5;
  transform: scale(1.15);
}

.wishlist[data-frame="a5"] .heart-main {
  transform: scale(1.03) rotate(-4.5deg);
}

.wishlist[data-frame="a5"] .spark {
  opacity: .6;
  transform:
    translate(
      var(--sx3),
      calc(var(--sy3) + 5px)
    )
    scale(.35);
}

.wishlist[data-frame="a6"] .heart-main {
  transform: scale(1) rotate(-4deg);
}

.wishlist.active:not([data-frame]) .heart-main {
  transform: scale(1) rotate(-4deg);
  animation: inkBoil .66s steps(1) infinite;
}

.wishlist[data-frame="d0"] .heart-main {
  transform: scale(1.12) rotate(2deg);
}

.wishlist[data-frame="d1"] .heart-main {
  transform: scale(.8) rotate(-2deg);
}

.wishlist[data-frame="d1"] .heart-ghost {
  opacity: .5;
  transform:
    scale(.8)
    rotate(-2deg)
    translate(1.5px,0);
}

.wishlist[data-frame="d2"] .heart-main {
  transform: scale(.94);
}

@keyframes inkBoil {
  0%,
  49% {
    transform: scale(1) rotate(-4deg);
  }

  50%,
  100% {
    transform: scale(1.015) rotate(-3.4deg);
  }
}

/* ================================================================
   SELECTOR DE TALLAS
   ================================================================ */

.sizes-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 6;

  display: flex;
  visibility: hidden;
  padding: 52px 12px 13px;
  gap: 7px;
  justify-content: center;

  pointer-events: none;

  background:
    linear-gradient(
      transparent,
      rgba(12,12,12,.92) 55%
    );

  transform: translateY(102%);

  transition:
    transform .35s steps(4),
    visibility 0s linear .35s;
}

.card.sizes-open .sizes-overlay {
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);

  transition:
    transform .35s steps(4),
    visibility 0s linear 0s;
}

.card .size-pill {
  position: relative;
  display: inline-flex;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(241,237,228,.28);
  background: transparent;
  color: var(--cream);

  font-size: 11px;
  font-weight: 600;

  transition: all .18s steps(2);
}

.card .size-pill:hover {
  border-color: var(--cream);
  background: var(--cream);
  color: #000;
  transform: rotate(-3deg);
}

.card .size-pill.selected {
  border-color: var(--red);
  background: var(--red);
  color: var(--cream);
  transform: rotate(-3deg);
}

.card .size-pill:focus {
  outline: none;
}

.card .size-pill:focus-visible {
  border-color: var(--red);
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}

/*
 * El fondo del selector permanece inmóvil durante
 * la advertencia. Solo se mueven las tallas.
 *
 * Esto evita que el overlay deje una franja sin
 * gradiente al desplazarse dentro de .ink-frame,
 * cuyo overflow está oculto.
 */
.card.needs-size .size-pill {
  animation:
    sizeWarning
    .35s
    steps(3);
}

@keyframes sizeWarning {
  0% {
    transform: translateX(0);
  }

  35% {
    transform: translateX(-4px);
  }

  70% {
    transform: translateX(4px);
  }

  100% {
    transform: translateX(0);
  }
}

@media (hover:hover) and (pointer:fine) {
  .card:hover .sizes-overlay {
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);

    transition:
      transform .35s steps(4),
      visibility 0s linear 0s;
  }

  .ink-frame {
    cursor: grab;
  }

  .ink-frame.is-dragging {
    cursor: grabbing;
  }
}


/* ================================================================
   CUERPO EDITORIAL
   ================================================================ */

.card-body {
  display: flex;
  min-height: 245px;
  padding:
    clamp(16px,2vw,21px)
    clamp(11px,1.7vw,17px)
    clamp(12px,1.5vw,16px);

  flex: 1 1 auto;
  flex-direction: column;
}

.card-meta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;

  margin: 0 0 14px;
  padding: 0 0 10px;

  border-bottom: 1px solid var(--line-soft-card);
}

.drop-name {
  min-width: 0;
  overflow: hidden;

  color: rgba(241,237,228,.78);

  font-family:
    "New Rocker",
    serif;
  font-size: clamp(12px,1vw,14px);
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: .025em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;

  font-synthesis: none;

  transition:
    color .3s var(--out),
    text-shadow .3s var(--out);
}

.drop-name::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;

  border-radius: 50%;
  background: var(--red);
  box-shadow: -1px 0 var(--cyan);

  vertical-align: 1px;
}

.card:focus-within .drop-name {
  color: var(--cream);

  text-shadow:
    .5px 0 rgba(224,35,21,.34),
    -.5px 0 rgba(31,182,216,.22);
}

@media (hover:hover) and (pointer:fine) {
  .card:hover .drop-name {
    color: var(--cream);

    text-shadow:
      .5px 0 rgba(224,35,21,.34),
      -.5px 0 rgba(31,182,216,.22);
  }
}

/* ================================================================
   PESTAÑA DE SERIE
   ================================================================ */

.press-index {
  position: relative;
  z-index: 12;

  display: inline-flex;
  width: auto;
  min-width: 70px;
  min-height: 31px;
  margin-right: calc(-1 * clamp(11px,1.7vw,17px));
  padding: 6px 9px 6px 10px;
  align-items: center;
  justify-content: center;
  gap: 6px;

  border: 1px solid rgba(241,237,228,.16);
  border-left-color: rgba(224,35,21,.72);
  border-radius: 5px 0 0 5px;

  background:
    linear-gradient(
      110deg,
      rgba(255,255,255,.028),
      transparent 46%
    ),
    #131211;

  box-shadow:
    8px 12px 28px -17px rgba(0,0,0,.98),
    inset 1px 0 rgba(255,255,255,.025);

  transition:
    transform .32s var(--out),
    border-color .25s steps(2),
    background-color .25s steps(2);
}

.press-index::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: -1px;

  width: 1px;
  background: var(--red);
  opacity: .88;
}

.press-index__label {
  color: rgba(241,237,228,.48);
  font-family: "Fraunces",serif;
  font-size: 9px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: none;
}

.press-index__number {
  color: var(--cream);
  font-family: "Anton",sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .035em;
}

.card.is-inked .press-index,
.card:focus-within .press-index {
  border-color: rgba(224,35,21,.8);
  background: var(--red);
  transform: translateX(2px);
}

.card.is-inked .press-index::before,
.card:focus-within .press-index::before {
  background: var(--cream);
}

.card.is-inked .press-index__label,
.card:focus-within .press-index__label {
  color: rgba(255,255,255,.68);
}

/*
 * Estas reglas posteriores reproducen exactamente la cascada final:
 * is-inked y el foco directo de la card vuelven al estado oscuro.
 */
.card.is-inked .press-index,
.card:focus-visible .press-index {
  border-color: rgba(224,35,21,.52);
  background-color: #171311;
  transform: translateX(2px);
}

.card.is-inked .press-index::before,
.card:focus-visible .press-index::before {
  background: var(--red);
}

.card.is-inked .press-index__label,
.card:focus-visible .press-index__label {
  color: rgba(241,237,228,.64);
}

/* ================================================================
   NOMBRE Y DESCRIPCIÓN
   ================================================================ */

.card-name {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: var(--cream);
}

.product-type {
  display: block;

  color: var(--cream);

  font-family: "Anton",sans-serif;
  font-size: clamp(18px,1.85vw,23px);
  font-weight: 400;
  font-style: normal;
  line-height: .98;
  letter-spacing: .005em;
  text-transform: uppercase;
}

.card-name .product-alias {
  display: block;
  width: fit-content;
  margin-top: 4px;

  color: var(--red);

  font-family: "Fraunces",serif;
  font-size: clamp(18px,1.75vw,22px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: none;
}

.product-description {
  display: -webkit-box;

  width: 100%;
  height: 3.4em;
  min-height: 3.4em;
  max-height: 3.4em;
  margin: 12px 0 0;
  overflow: hidden;

  color: rgba(168,163,154,.88);

  font-family: "Inter",sans-serif;
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.7;
  letter-spacing: .006em;

  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-description.is-empty {
  visibility: hidden;
}

/* ================================================================
   FOOTER, PRECIOS Y CTA
   ================================================================ */

.card-foot {
  display: grid;
  grid-template-columns: minmax(64px,auto) minmax(0,1fr);
  align-items: end;
  gap: 12px;

  margin-top: auto;
  padding-top: 18px;
}

.card-prices {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.price {
  font-family: "Fraunces",serif;
  font-size: clamp(20px,2vw,25px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.02em;
}

.price sup {
  margin-right: 2px;
  color: var(--text-soft);
  font-size: .55em;
  font-weight: 400;
  font-style: italic;
}

.price-old {
  position: relative;
  display: inline-block;
  width: fit-content;

  color: var(--muted);
  font-size: 12px;
}

.price-old svg {
  position: absolute;
  top: 52%;
  left: -4%;
  width: 108%;
  height: 6px;
  overflow: visible;
}

.price-old svg path {
  fill: none;
  stroke: var(--red-deep);
  stroke-width: 1.6;
}

/* ================================================================
   CTA WEBGL
   ================================================================ */

.add-fx {
  --r: 3px;

  position: relative;
  display: inline-flex;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(241,237,228,.22);
  border-radius: 8px;

  color: var(--cream);

  font-size: 11px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;

  isolation: isolate;
  contain: layout style;
  will-change: transform;
  transform: translateZ(0);

  -webkit-tap-highlight-color: transparent;

  transition:
    border-color .35s var(--out),
    box-shadow .5s var(--out);
}

.add-fx:hover {
  border-color: rgba(224,35,21,.85);

  box-shadow:
    0 10px 44px -14px var(--red-glow),
    0 0 0 1px rgba(224,35,21,.12);
}

.add-fx:focus {
  outline: none;
}

.add-fx:focus-visible {
  border-color: var(--red);
  outline: 2px solid var(--cream);
  outline-offset: 3px;

  box-shadow:
    0 0 0 5px rgba(224,35,21,.28),
    0 14px 44px -20px rgba(224,35,21,.68);
}

.add-fx.stamped {
  border-color: var(--red);

  box-shadow:
    0 12px 38px -20px rgba(224,35,21,.68),
    0 0 0 1px rgba(224,35,21,.26);
}

.add-fx.needs-size {
  border-color: var(--cream);
}

.add-fx__gl {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;

  border-radius: var(--r);
  pointer-events: none;
}

.add-fx__content {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 11px;

  pointer-events: none;

  text-shadow:
    0 1px 10px rgba(0,0,0,.55),
    .5px 0 rgba(224,35,21,.28),
    -.5px 0 rgba(31,182,216,.20);
}

.add-fx.is-split .add-fx__content {
  text-shadow:
    0 1px 10px rgba(0,0,0,.55),
    2px 0 rgba(224,35,21,.95),
    -2px 0 rgba(31,182,216,.85);
}

.add-fx.is-split .add-fx__plus svg {
  filter:
    drop-shadow(1.5px 0 rgba(224,35,21,.9))
    drop-shadow(-1.5px 0 rgba(31,182,216,.8));
}

.add-fx__plus {
  display: grid;
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  place-items: center;
}

.add-fx__plus svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.add-fx__lbl {
  position: relative;
  display: block;
  margin-right: -.32em;
  overflow: hidden;
  line-height: 1.4;
}

.add-fx__lbl .lbl-row {
  display: block;
  white-space: nowrap;
}

.add-fx__lbl .lbl-row--dup {
  position: absolute;
  inset: 0;
}

.add-fx__lbl .l {
  display: inline-block;
  transform: translateY(0);

  transition: transform .5s var(--out);
  transition-delay: var(--d,0s);
}

.add-fx__lbl .lbl-row--dup .l {
  color: #ffb2a6;
  transform: translateY(120%);
}

.add-fx:hover .lbl-row:not(.lbl-row--dup) .l {
  transform: translateY(-120%);
}

.add-fx:hover .lbl-row--dup .l {
  transform: translateY(0);
}

.add-fx__ring {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: block;

  border: 1px solid rgba(241,237,228,.95);
  border-radius: var(--r);

  pointer-events: none;
  opacity: 0;
}


/* ================================================================
   CONTADOR DE GALERÍA
   ================================================================ */

.gallery-count {
  position: absolute;
  bottom: 11px;
  left: 11px;
  z-index: 8;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  color: var(--cream);

  font-family: "Fraunces",serif;
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  line-height: 1;
  letter-spacing: .035em;

  text-shadow:
    0 1px 3px rgba(0,0,0,.98),
    0 0 8px rgba(0,0,0,.88);

  pointer-events: none;
  user-select: none;

  transition:
    bottom .28s steps(3),
    opacity .22s steps(2);
}

.gallery-count__current {
  min-width: 1.5em;
  color: var(--red);
  text-align: center;
}

.gallery-count__total {
  min-width: 1.5em;
  color: rgba(241,237,228,.84);
  text-align: center;
}

.gallery-count__separator {
  color: rgba(241,237,228,.48);
  font-weight: 400;
}

.card.sizes-open .gallery-count {
  bottom: 63px;
}

@media (hover:hover) and (pointer:fine) {
  .card:hover .gallery-count {
    bottom: 63px;
  }
}


/* ================================================================
   SWIPE HINT
   ================================================================ */

.swipe-hint {
  display: none;

  border: 1px solid rgba(241,237,228,.14);
  border-radius: 999px;

  animation: none !important;
  transition: opacity .2s steps(2);
}

.card.has-swiped .swipe-hint,
.card.sizes-open .swipe-hint {
  opacity: 0;
  pointer-events: none;
}

@media (hover:none), (pointer:coarse) {
  .swipe-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 5;

    display: flex;
    padding: 5px 8px;
    align-items: center;
    gap: 5px;

    background: rgba(12,12,12,.55);
    color: rgba(241,237,228,.75);

    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);

    font: 600 8px "Inter",sans-serif;
    letter-spacing: .24em;
    text-transform: uppercase;
  }
}

/* ================================================================
   FOCO DE CARD Y GALERÍA
   ================================================================ */

.card:focus,
.ink-frame:focus {
  outline: none;
}

.card:focus-visible .card-shell {
  border-color: rgba(241,237,228,.34);

  box-shadow:
    0 0 0 2px var(--cream),
    0 0 0 5px rgba(224,35,21,.34),
    0 28px 76px -44px rgba(0,0,0,1);
}

.ink-frame:focus-visible {
  box-shadow:
    inset 0 0 0 2px var(--cream),
    inset 0 0 0 4px rgba(224,35,21,.48);
}

/* ================================================================
   MÓVIL
   ================================================================ */

@media (max-width:759px) {
  :root {
    --card-radius: 12px;
    --media-radius: 8px;
  }

  .lab {
    padding-inline: 12px;
  }

  .card-shell {
    padding: 4px;
  }

  .card-body {
    min-height: 238px;
    padding: 13px 8px 9px;
  }

  .card-meta {
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }

   .drop-name {
    font-size: 9px;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .drop-name::before {
    width: 4px;
    height: 4px;
    margin-right: 5px;

    border-radius: 50%;
    vertical-align: 1px;
  }
  
  .press-index {
    min-width: 56px;
    min-height: 27px;
    margin-right: -8px;
    padding: 5px 6px 5px 7px;
    gap: 4px;
    border-radius: 5px 0 0 5px;
  }

  .press-index__label {
    font-size: 7px;
  }

  .press-index__number {
    font-size: 14px;
  }

  .card.is-inked .press-index,
  .card:focus-within .press-index,
  .card:focus-visible .press-index {
    transform: none;
  }

  .product-type {
    font-size: clamp(15px,4.5vw,19px);
    line-height: 1.02;
  }

  .card-name .product-alias {
    margin-top: 3px;
    font-size: clamp(15px,4.4vw,19px);
  }

  .product-description,
  .product-description.is-empty {
    display: -webkit-box;

    height: 2.9em;
    min-height: 2.9em;
    max-height: 2.9em;
    margin-top: 9px;

    font-size: 9.5px;
    line-height: 1.45;
    letter-spacing: .004em;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .product-description.is-empty {
    visibility: hidden;
  }

  .card-foot {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 15px;
  }

  .card-prices {
    min-height: 38px;
  }

  .price {
    font-size: clamp(18px,5.6vw,23px);
  }

  .add-fx {
    height: 43px;
    padding-inline: 8px;
  }

  .add-fx__content {
    gap: 7px;
  }

  .add-fx__lbl {
    font-size: 8px;
  }

  .wishlist {
    top: 10px;
    left: 10px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
  }

  .overprint {
    top: 12px;
    right: 10px;
  }

  .overprint .op-plate {
    font-size: clamp(31px,10vw,41px);
  }

  .card .size-pill {
    min-width: 34px;
    height: 36px;
    padding-inline: 6px;
  }

  .gallery-count {
    bottom: 11px;
    left: 11px;
    gap: 3px;
    font-size: 11px;
  }
  .card.sizes-open .gallery-count {
    bottom: 61px;
  }
  

  .swipe-hint {
    right: 9px;
    bottom: 9px;
  }
}

@media (max-width:389px) {
  .card-body {
    min-height: 218px;
  }

  .product-description,
  .product-description.is-empty {
    height: 3em;
    min-height: 3em;
    max-height: 3em;
    margin-top: 10px;

    font-size: 10.5px;
    line-height: 1.5;
  }

  .card-foot {
    grid-template-columns: minmax(68px,auto) minmax(0,1fr);
  }
}

/* ================================================================
   ACCESIBILIDAD
   ================================================================ */

@media (forced-colors:active) {
  .add-fx:focus-visible,
  .card:focus-visible,
  .ink-frame:focus-visible,
  .card .size-pill:focus-visible {
    outline: 2px solid CanvasText;
    outline-offset: 3px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .card.is-inked .ink-light {
    opacity: 1;
  }

  .card-shell,
  .press-index,
  .gallery-count {
    transform: none !important;
  }

  .wishlist .heart-main {
    transform: none !important;
  }
}

@supports not (-webkit-line-clamp:2) {
  .product-description {
    display: block;
  }
}
