/*
 * Rinde · diseño 2 «Góndola de vidrio» (html.d2). Enzo, 01/12: «mejor que Yapa, identidad única, animaciones,
 * navegación 3D liquid glass». Es el diseño de fábrica y el único desde el 03/12 (ya no se puede apagar).
 *
 * La identidad sale del súper argentino: la etiqueta amarilla de la góndola con el precio de oferta, el sello rojo del
 * descuento pegado medio torcido, el ticket de la caja. Arriba, una aurora verde y manteca; abajo, la barra de vidrio
 * líquido con una gota que se desliza a la pestaña activa.
 */
/* 03/12 (Enzo: «el fondo no me convence, los colores también»): paleta más limpia y calma. Un verde de marca, el
 * amarillo de la etiqueta y el rojo sólo para el descuento; neutros con un toque de verde para que todo combine. */
html.d2 {
  --marca: #0a6b4e; --marca-2: #13956f; --marca-suave: #e3f3eb; --menta: #d5f0e2;
  --etiqueta: #ffd84a; --etiqueta-borde: #ecbd00; --sello: #e03a2e; --desc: #e03a2e; --desc-suave: #fdeceb;
  --fondo: #f4f5f1; --superficie: #fff; --tinta: #101916; --suave: #4f5b56; --tenue: #6a7570; --borde: #e6e8e2;
  --radio: 22px;
  --sombra: 0 1px 2px rgb(16 25 22 / .04), 0 6px 20px -12px rgb(16 25 22 / .18);
  --sombra-alta: 0 2px 4px rgb(16 25 22 / .05), 0 20px 40px -22px rgb(10 107 78 / .42);
  --resorte: cubic-bezier(.34, 1.56, .64, 1);
}
html.d2 body { background: var(--fondo); position: relative; }
/* Arriba, un lavado menta parejo con una rejilla de puntos que se desvanece (la misma familia que VANISUR). Va con la
 * página, no fijo, y sin desenfoque: se pinta una sola vez y no cuesta nada al bajar. */
html.d2 body::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 440px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(rgb(10 107 78 / .13) 1px, transparent 1.3px) 0 0 / 18px 18px,
    linear-gradient(180deg, #dcf0e5 0%, rgb(220 240 229 / .55) 45%, rgb(244 245 241 / 0) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
html.d2 h1 { font-size: 36px; letter-spacing: -.045em; }
html.d2 .sub { color: var(--suave); }

/* ── La barra de vidrio líquido ─────────────────────────────────────────────── */
html.d2 .pestanas {
  left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); padding: 7px 6px; border-radius: 32px;
  background: linear-gradient(180deg, rgb(255 255 255 / .9), rgb(255 255 255 / .78));
  backdrop-filter: blur(18px) saturate(1.15); -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(255 255 255 / .35), inset 0 0 22px rgb(255 255 255 / .35),
    0 1px 2px rgb(16 25 22 / .06), 0 18px 40px -18px rgb(16 25 22 / .35);
  overflow: visible; isolation: isolate;
}
/* Brillo del vidrio: un reflejo arriba a la izquierda y un borde de luz. */
html.d2 .pestanas::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(120% 90% at 12% -10%, rgb(255 255 255 / .9), transparent 42%),
              linear-gradient(100deg, transparent 55%, rgb(255 255 255 / .35) 70%, transparent 82%);
  mix-blend-mode: soft-light;
}
html.d2 .pestanas a { position: relative; z-index: 2; color: #46534e; transition: transform .25s var(--resorte), color .25s; }
html.d2 .pestanas a svg { transition: transform .35s var(--resorte), filter .35s; }
html.d2 .pestanas a[aria-current="page"] { color: var(--marca); }
html.d2 .pestanas a[aria-current="page"] svg { transform: translateY(-2px) scale(1.12); fill: currentColor; fill-opacity: .22; filter: drop-shadow(0 4px 6px rgb(11 93 69 / .35)); }
html.d2 .pestanas a.hundida { transform: scale(.9) translateY(1px); }
/* La gota: una burbuja de vidrio más espesa, apenas verde, con su propio reflejo. La mueve lib/movimiento.js. */
html.d2 .gota {
  position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 0; width: 64px; border-radius: 24px; pointer-events: none;
  background: linear-gradient(180deg, rgb(255 255 255 / .95), rgb(220 241 231 / .75));
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgb(11 93 69 / .12), 0 6px 16px -6px rgb(11 93 69 / .45), 0 0 0 1px rgb(255 255 255 / .8);
  transition: transform .5s cubic-bezier(.3, .7, .2, 1), opacity .3s;
}
html.d2 .gota::after { content: ''; position: absolute; inset: 3px 10px auto; height: 40%; border-radius: 20px; background: linear-gradient(180deg, rgb(255 255 255 / .95), transparent); }
html.d2 .globo { z-index: 3; box-shadow: 0 2px 6px rgb(0 0 0 / .18); }

/* ── Identidad: la marca, la etiqueta de góndola y el sello de descuento ───── */
html.d2 .marca-top { display: inline-flex; align-items: flex-end; font-weight: 800; font-size: 27px; letter-spacing: -.05em; color: var(--marca); margin: 6px 0 -6px; }

.marca-top { display: none; }

/* El precio de oferta va en la etiqueta amarilla de la góndola, con su agujerito. */
html.d2 .oferta .precio, html.d2 .precio-ficha .precio, html.d2 .facil-total {
  position: relative; display: inline-flex; align-items: center; background: var(--etiqueta); color: #141414; border-radius: 10px;
  padding: 4px 12px 4px 20px; box-shadow: inset 0 -2px 0 var(--etiqueta-borde), 0 6px 14px -8px rgb(120 90 0 / .6);
}
html.d2 .oferta .precio::before, html.d2 .precio-ficha .precio::before, html.d2 .facil-total::before {
  content: ''; position: absolute; left: 7px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: var(--fondo); box-shadow: inset 0 1px 1px rgb(0 0 0 / .25);
}
/* El descuento: un sello rojo pegado medio torcido. */
html.d2 .insignia-desc { background: var(--sello); border-radius: 8px; box-shadow: none; padding: 3px 9px; }

/* Tarjetas: más redondas, sin la raya roja, con el borde de un ticket y un apretón al tocarlas. */
html.d2 .tarjeta, html.d2 .oferta { border-radius: var(--radio); border-color: rgb(230 226 216 / .9); }
html.d2 .oferta { border-left: 1px solid rgb(230 226 216 / .9); transition: transform .2s ease, box-shadow .2s ease; }
html.d2 .oferta:active, html.d2 .facil-toque:active, html.d2 .tarjeta.invitacion:active { transform: scale(.98); }
html.d2 .oferta .foto-caja { background: radial-gradient(circle at 50% 45%, #fff 55%, #f2efe6); border-radius: 18px; }
html.d2 .cinta { background: var(--marca); border-radius: 999px; letter-spacing: .1em; box-shadow: 0 6px 14px -6px rgb(11 93 69 / .7); }
/* La mejor oferta: una tarjeta menta clara con la etiqueta amarilla; el verde queda para los botones. */
html.d2 .oferta.destacada {
  background: linear-gradient(165deg, #ecf8f1 0%, #dcf1e6 100%); color: var(--tinta); border: 1px solid rgb(10 107 78 / .14);
  box-shadow: var(--sombra-alta); overflow: visible;
}
html.d2 .oferta.destacada .cinta { background: var(--etiqueta); color: #141414; box-shadow: 0 6px 14px -8px rgb(120 90 0 / .55); }
html.d2 .oferta.destacada .foto-caja { background: #fff; box-shadow: 0 10px 24px -14px rgb(16 25 22 / .35); }
html.d2 .oferta.destacada .pastilla { background: rgb(255 255 255 / .75); border-color: rgb(10 107 78 / .14); }
html.d2 .oferta.destacada .pastilla.principal { background: #fff; border-color: var(--desc); }
html.d2 .oferta.destacada .verificada { color: var(--marca); }

/* Botones: el + verde con relieve, que rebota al tocarlo. */
html.d2 .agregar { background: linear-gradient(180deg, #149273, #0b5d45); box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 8px 16px -8px rgb(11 93 69 / .8); transition: transform .3s var(--resorte); }
html.d2 .agregar:active { transform: scale(.85); }
html.d2 .boton.primario, html.d2 .facil-boton:not(.secundario), html.d2 .facil-listo {
  background: linear-gradient(180deg, #149273, #0b5d45); box-shadow: inset 0 1px 0 rgb(255 255 255 / .3), 0 12px 24px -12px rgb(11 93 69 / .8);
}
html.d2 .corazon[aria-pressed="true"] { background: #fff0ee; border-color: #ffd2cc; }

/* Los súper de arriba: aros de vidrio. */
html.d2 .super-logo, html.d2 .super-sello { box-shadow: 0 0 0 3px rgb(255 255 255 / .9), 0 10px 20px -10px rgb(15 27 23 / .45); transition: transform .3s var(--resorte); }
html.d2 .super[aria-pressed="true"] .super-logo { box-shadow: 0 0 0 3px var(--etiqueta), 0 10px 20px -10px rgb(15 27 23 / .45); transform: translateY(-3px); }

/* Pestañas de góndola y chips: píldoras de vidrio. */
/* Góndolas: píldoras en vez de subrayado; la activa, oscura con resorte. */
html.d2 .gondolas-pestanas { gap: 8px; border-bottom: 0; padding: 4px 16px 8px; }
html.d2 .gondolas-pestanas button { border: 1px solid var(--borde); border-radius: 999px; padding: 9px 16px; font-size: 15px; background: rgb(255 255 255 / .7); margin: 0; transition: transform .3s var(--resorte), background .2s, color .2s; }
html.d2 .gondolas-pestanas button:active { transform: scale(.93); }
html.d2 .gondolas-pestanas button[aria-pressed="true"], html.d2 .chips button[aria-pressed="true"], html.d2 .chips-dias button[aria-pressed="true"] {
  background: var(--tinta); border-color: var(--tinta); color: #fff; box-shadow: 0 8px 16px -10px rgb(0 0 0 / .6);
}
html.d2 .campo-buscar { background: rgb(255 255 255 / .75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 18px; box-shadow: inset 0 1px 0 #fff, var(--sombra); }

/* Compra fácil: tarjetas que se levantan al marcarlas y un tilde que aparece con resorte. */
html.d2 .facil-toque { border-radius: 26px; transition: transform .25s var(--resorte), border-color .2s, background .2s, box-shadow .25s; box-shadow: var(--sombra); }
html.d2 .facil-card.elegido .facil-toque { transform: translateY(-3px); box-shadow: var(--sombra-alta); }
html.d2 .facil-card.elegido .facil-tilde { animation: d2-pop .45s var(--resorte); }
html.d2 .facil-total { font-size: 44px; padding: 6px 18px 6px 28px; margin-top: 10px; }
html.d2 .facil-total::before { left: 10px; width: 9px; height: 9px; margin-top: -4.5px; }

/* ── Movimiento ─────────────────────────────────────────────────────────────── */
@keyframes d2-entra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes d2-pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
@keyframes d2-brillo { from { background-position: -200% 0; } to { background-position: 200% 0; } }
html.d2 .vista.entra > * { animation: d2-entra .38s cubic-bezier(.2, .7, .2, 1) both; }
html.d2 .vista.entra :is(.supers-fila > *, .gondolas > *, .tiles > *) {
  animation: d2-entra .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--n, 0) * 45ms + 60ms);
}
html.d2 .bola-vuela {
  position: fixed; z-index: 50; width: 18px; height: 18px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, #fff, var(--etiqueta) 45%, #e9b800); box-shadow: 0 4px 10px rgb(120 90 0 / .5);
}
/* Mientras carga: renglones que brillan en vez de un texto suelto. */
html.d2 .vacio.cargando { color: transparent; height: 120px; border-radius: 22px; background: linear-gradient(90deg, #ece8de 25%, #f8f6f0 50%, #ece8de 75%) 0 0 / 200% 100%; animation: d2-brillo 1.3s linear infinite; }
html.d2 .aviso-flotante { border-radius: 18px; background: rgb(15 27 23 / .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); animation: d2-entra .3s var(--resorte); }

/* ── Más movimiento (01/12: «más movimientos y animaciones») ─────────────────── */
/* Las tarjetas entran cuando aparecen al bajar (lib/movimiento.js → revelar). */
html.d2 .por-ver { opacity: 0; transform: translateY(22px) scale(.98); }
html.d2 .por-ver.visto { opacity: 1; transform: none; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(min(var(--n, 0), 6) * 50ms); }
/* La etiqueta de precio se balancea colgada de su agujerito; el sello se pega con un golpe. */
@keyframes d2-colgar { 0% { transform: rotate(-9deg); } 35% { transform: rotate(5deg); } 60% { transform: rotate(-2.5deg); } 80% { transform: rotate(1deg); } 100% { transform: rotate(0); } }
@keyframes d2-sello { 0% { transform: scale(1.9); opacity: 0; } 55% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1); } }
/* La marca: letras que suben de a una y la etiqueta que cae, se hamaca y queda inclinada. */
@keyframes d2-letra { from { opacity: 0; transform: translateY(70%) rotate(8deg); } to { opacity: 1; transform: none; } }
html.d2 .marca-viva .letra { display: inline-block; animation: d2-letra .55s cubic-bezier(.2, .8, .2, 1.2) both; animation-delay: calc(var(--l) * 70ms + 100ms); }
@keyframes d2-etiq { 0% { transform: translateY(-.8em) rotate(-70deg); opacity: 0; } 35% { transform: rotate(18deg); opacity: 1; } 55% { transform: rotate(-30deg); } 72% { transform: rotate(-6deg); } 86% { transform: rotate(-18deg); } 100% { transform: rotate(-14deg); } }
/* Cada tanto la etiqueta de la portada se mueve sola, como si pasara alguien por la góndola. */
@keyframes d2-etiq-viento { 0%, 88%, 100% { transform: rotate(-14deg); } 92% { transform: rotate(-24deg); } 96% { transform: rotate(-8deg); } }
html.d2 .marca-viva .etiq { animation: d2-etiq 1.3s cubic-bezier(.3, .7, .3, 1) .5s both, d2-etiq-viento 7s ease-in-out 3s infinite; }
/* El banner: el puntito activo se llena con el tiempo que falta para pasar; las fotos flotan; el sello late. */
@keyframes d2-llenar { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
html.d2 .banner-puntos button[aria-selected="true"] { background: #cfd8d3 linear-gradient(var(--marca), var(--marca)) no-repeat 0 0 / 0% 100%; animation: d2-llenar 5s linear both; }
@keyframes d2-flotar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes d2-latir { 0%, 100% { scale: 1; } 50% { scale: 1.07; } }
html.d2 .lamina-boton { transition: transform .25s var(--resorte); } html.d2 .lamina:active .lamina-boton { transform: scale(.94); }
/* La onda al tocar y los papelitos del festejo. */
html.d2 .onda { position: absolute; border-radius: 50%; background: rgb(255 255 255 / .55); pointer-events: none; z-index: 0; }
html.d2 .papelito { position: fixed; z-index: 60; width: 10px; height: 14px; border-radius: 3px; pointer-events: none; }
/* Los íconos de la barra saltan al elegirlos. */
@keyframes d2-salto { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-7px) scale(1.18); } 70% { transform: translateY(1px) scale(1.05); } 100% { transform: translateY(-2px) scale(1.12); } }
html.d2 .pestanas a[aria-current="page"] svg { animation: d2-salto .5s cubic-bezier(.3, 1.3, .5, 1); }
/* El escáner de la portada respira, para que se note que existe. */
@keyframes d2-respira { 0%, 100% { box-shadow: 0 0 0 0 rgb(18 135 106 / .35), var(--sombra); } 50% { box-shadow: 0 0 0 8px rgb(18 135 106 / 0), var(--sombra); } }

@media (prefers-reduced-motion: reduce) {
  html.d2 .por-ver { opacity: 1; transform: none; }
  html.d2 *, html.d2 *::before, html.d2 *::after { animation: none !important; transition: none !important; }
}


/* Fotos grandes (Enzo, 01/12: «la foto del producto no se ve, tiene que ser más grande»). */
html.d2 .oferta:not(.destacada) { align-items: center; gap: 14px; }
html.d2 .oferta:not(.destacada) .foto-caja { padding: 4px; }
html.d2 .oferta:not(.destacada) .foto { width: 108px; height: 116px; border-radius: 16px; }
html.d2 .oferta.destacada .foto.grande { width: 150px; height: 170px; }
html.d2 .fila-producto .foto { width: 76px; height: 76px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--borde); padding: 4px; }
html.d2 .lista-res .fila-producto { padding: 12px 14px; gap: 14px; }
@media (max-width: 360px) {
  html.d2 .oferta:not(.destacada) .foto { width: 88px; height: 96px; }
  html.d2 .oferta.destacada .foto.grande { width: 116px; height: 136px; }
  html.d2 .fila-producto .foto { width: 64px; height: 64px; }
}

/* ── Prolijo (03/12, «anti TOC»): todo en su lugar, nada a medio salir ni torcido ─────────────── */
/* El corazón, adentro de la esquina de la foto (como en los mosaicos), no montado a medias sobre el borde. */
html.d2 .foto-caja .corazon { top: 8px; left: 8px; width: 32px; height: 32px; }
html.d2 .oferta.destacada .foto-caja .corazon { top: 10px; left: 10px; }
/* Los enlaces de ir a algo, en el verde de la marca; el rojo queda sólo para el descuento. */
html.d2 .ver { color: var(--marca); }
/* Títulos de sección parejos: mismo tamaño, mismo aire arriba y abajo, alineados por la base con su enlace. */
html.d2 h2, html.d2 .titulo-fila b { font-size: 20px; letter-spacing: -.025em; }
html.d2 .titulo-fila { align-items: baseline; margin: 28px 0 12px; }
/* Precios con cifras del mismo ancho: los números no bailan entre una tarjeta y otra. */
html.d2 :is(.precio, .mosaico-precio, .pastilla, .insignia-desc, .mosaico-pct, s) { font-variant-numeric: tabular-nums; }
/* La etiqueta amarilla, sin el borde inferior que la hacía ver chueca; el agujerito queda centrado. */
html.d2 .oferta .precio, html.d2 .precio-ficha .precio, html.d2 .facil-total { box-shadow: 0 4px 12px -8px rgb(120 90 0 / .55); border: 1px solid var(--etiqueta-borde); }
html.d2 .franja-electro .titulo-fila { margin: 0 0 2px; }

/* Las animaciones de siempre, de vuelta (Enzo, 03/12: «dejá las animaciones como antes, no saques eso»). */
html.d2 .visto :is(.precio-fila .precio) { transform-origin: 11px 50%; animation: d2-colgar 1s cubic-bezier(.3, .6, .3, 1) .15s both; }
html.d2 .visto .insignia-desc:not(.chica) { animation: d2-sello .5s cubic-bezier(.3, 1.4, .5, 1) .35s both; }
html.d2 .marca-top .etiq { animation: d2-etiq-viento 7s ease-in-out 3s infinite; }
html.d2 .lamina-fotos img { animation: d2-flotar 3.2s ease-in-out infinite; }
html.d2 .lamina-fotos img:nth-child(2) { animation-delay: -.8s; } html.d2 .lamina-fotos img:nth-child(3) { animation-delay: -1.6s; } html.d2 .lamina-fotos img:nth-child(4) { animation-delay: -2.4s; }
html.d2 .lamina-sello { animation: d2-latir 1.8s ease-in-out infinite; }
html.d2 .cabeza .redondo[href="#/escanear"] { animation: d2-respira 2.6s ease-in-out 1.5s 3; }
html.d2 .lamina-producto img { animation: d2-flotar 3.4s ease-in-out infinite; }
html.d2 .lamina-pct { animation: d2-latir 1.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { html.d2 *, html.d2 *::before, html.d2 *::after { animation: none !important; } }

/* ── El banner en 3D (Enzo, 03/12: «mejores banner con calidad… todo mejorado 3D») ─────────────────
 * Cada lámina es una placa con volumen: brillo arriba, sombra adentro abajo, luces grandes de fondo y dos sombras
 * afuera (la de contacto y la lejana). El producto está parado en perspectiva, quieto, sobre su sombra en el piso.
 * (03/12: Enzo vio el banner «temblar» en el iPhone: el giro que seguía al dedo, con transición, se recalculaba en
 * cada cuadro mientras pasaba solo, y el vidrio del rótulo parpadea en Safari dentro de un carrusel. Salieron los dos.) */
html.d2 .lamina::before {
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .32), inset 0 -22px 34px -22px rgb(0 0 0 / .32),
    0 2px 4px rgb(16 25 22 / .1), 0 26px 44px -24px rgb(16 25 22 / .55);
}
html.d2 .lamina::after {
  content: ''; position: absolute; inset: 0 16px; border-radius: 26px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 90% at 100% 0%, rgb(255 255 255 / .2), transparent 60%),
    radial-gradient(45% 70% at 88% 120%, rgb(255 255 255 / .12), transparent 70%),
    linear-gradient(115deg, transparent 38%, rgb(255 255 255 / .08) 46%, transparent 54%);
}
html.d2 .lamina-promo::after { background: radial-gradient(70% 90% at 100% 0%, rgb(255 255 255 / .45), transparent 60%), radial-gradient(45% 70% at 88% 120%, rgb(255 255 255 / .25), transparent 70%); }
html.d2 .lamina-texto b { text-shadow: 0 1px 2px rgb(0 0 0 / .14); }
html.d2 .lamina-promo .lamina-texto b { text-shadow: none; }
/* Botones con relieve: luz arriba, canto abajo. */
html.d2 .lamina-boton {
  background: linear-gradient(180deg, #ffe683, #ffd23a); box-shadow: inset 0 1px 0 rgb(255 255 255 / .75), inset 0 -2px 0 rgb(150 110 0 / .25), 0 8px 16px -8px rgb(0 0 0 / .55);
}
html.d2 .lamina-promo .lamina-boton { background: linear-gradient(180deg, #2b2b2b, #111); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 8px 16px -8px rgb(0 0 0 / .6); }
html.d2 .lamina-rotulo { box-shadow: inset 0 1px 0 rgb(255 255 255 / .25); }
/* El producto, de pie en perspectiva, con su sombra en el piso. */
html.d2 .lamina-producto { perspective: 700px; }
html.d2 .lamina-producto img, html.d2 .lamina-fotos {
  transform: rotateY(-14deg) rotateX(4deg);
  will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; /* una capa propia: flota sin redibujarse */
}
html.d2 .lamina-producto img { box-shadow: inset 0 0 0 1px rgb(0 0 0 / .04), -10px 18px 28px -14px rgb(0 0 0 / .55), 0 2px 4px rgb(0 0 0 / .12); }
html.d2 .lamina-producto::after, html.d2 .lamina-fotos::after {
  content: ''; position: absolute; left: 14%; right: 14%; bottom: -6px; height: 16px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgb(0 0 0 / .38), transparent); pointer-events: none;
}
html.d2 .lamina-fotos { position: relative; perspective: 700px; transform-style: preserve-3d; }
html.d2 .lamina-fotos img { box-shadow: -6px 12px 18px -10px rgb(0 0 0 / .5), 0 1px 2px rgb(0 0 0 / .1); }
/* El sello de la promo, una moneda: luz arriba a la izquierda y canto. */
html.d2 .lamina-sello {
  background: radial-gradient(circle at 32% 26%, #ff6a5c 0%, #e5392b 52%, #b9261b 100%);
  box-shadow: inset 0 2px 0 rgb(255 255 255 / .35), inset 0 -6px 12px rgb(0 0 0 / .25), inset 0 0 0 4px rgb(255 255 255 / .2), 0 16px 26px -12px rgb(150 30 20 / .85);
}
/* El logo de la canasta, en una placa con canto. */
html.d2 .lamina-logo-img { box-shadow: 0 0 0 4px #ffd84a, inset 0 -3px 0 rgb(0 0 0 / .06), 0 18px 30px -14px rgb(0 0 0 / .75); }

/* ── Fondo con calidad: una luz blanca arriba a la derecha sobre el menta, como si entrara por una ventana ── */
html.d2 body::before {
  background:
    radial-gradient(rgb(10 107 78 / .12) 1px, transparent 1.3px) 0 0 / 18px 18px,
    radial-gradient(55% 60% at 88% 0%, rgb(255 255 255 / .85), transparent 70%),
    radial-gradient(50% 55% at 0% 10%, rgb(255 216 74 / .10), transparent 70%),
    linear-gradient(180deg, #d9efe3 0%, rgb(220 240 229 / .55) 45%, rgb(244 245 241 / 0) 100%);
}
/* Tarjetas con profundidad real: una sombra de contacto corta y una lejana suave. */
html.d2 {
  --sombra: 0 1px 1px rgb(16 25 22 / .04), 0 2px 6px -2px rgb(16 25 22 / .06), 0 14px 28px -18px rgb(16 25 22 / .26);
}
