/* ==========================================================================
   charco creativo — demo.css
   Las tiendas de muestra (demo.php): la tienda que le armaríamos a cada marca.

   El color de la marca llega en --marca (y --sobre-marca, el del texto
   encima). Lo demás es el sistema de charco: blanco, off-white #f5f5f7, Onyx,
   píldoras y vidrio, con la letra Inter. Y lo que hace que una demo «golpee»
   (pedido de Nico, 11-11-2026: «un diseño bien charco creativo… todo animado
   y con efecto»):
     - la entrada: cae una gota en el charco y por las ondas aparece la tienda;
     - botones con brillo que cruza y una onda donde se tocan (la gota);
     - tarjetas que se inclinan hacia el mouse, como los íconos del Apple TV,
       con una luz que lo sigue;
     - entradas de keynote (suben desenfocadas, de a una) y fotos que se
       acomodan desde más cerca, como en apple.com;
     - el producto vuela al carrito y la foto de la tarjeta se transforma en la
       de la página del producto (View Transitions);
     - el «Deslizá para pagar» de charco.
   La franja de arriba, la entrada y «Qué incluye» son de charco (vidrio
   oscuro y azul #0071e3), no de la marca. Con «reducir movimiento», todo
   quieto. Los movimientos los prende js/demo.js.
   ========================================================================== */

:root {
  --marca: #1d1d1f;
  --sobre-marca: #ffffff;
  --fondo: #ffffff;
  --fondo-2: #f5f5f7;
  --fondo-3: #ebebef;
  --linea: #e8e8ed;
  --linea-2: #d2d2d7;
  --tinta: #1d1d1f;
  --tinta-2: #6e6e73;
  --tinta-3: #86868b;
  --azul: #0071e3;
  --letra: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --titulos: var(--letra);
  --peso-titulos: 700;
  --tracking-titulos: -0.035em;
  --franja: 44px;
  --anuncio: 36px;
  --barra: 64px;
  --radio: 18px;
  --curva: cubic-bezier(0.2, 0.8, 0.2, 1);
  --rebote: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ancho: 1360px;
  /* Con 100vw y no 100%: el mismo número en cualquier elemento (los carriles
     salen hasta el borde con margen negativo y tienen que restar lo mismo) */
  --margen: max(clamp(20px, 4vw, 56px), calc((100vw - var(--ancho)) / 2));
  --demora: 0s;
  /* Sin color-mix (navegadores viejos): grises */
  --marca-05: rgba(0, 0, 0, 0.03);
  --marca-glow: rgba(0, 0, 0, 0.28);
  --marca-clara: #8e8e93;
  --sobre-16: rgba(255, 255, 255, 0.16);
  --sobre-24: rgba(255, 255, 255, 0.24);
  --ic-flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ic-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E");
  --ic-abajo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --ic-tilde: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5.5 12.5 4.2 4.2 8.8-9.4'/%3E%3C/svg%3E");
  --ic-cruz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E");
}
@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --marca-05: color-mix(in srgb, var(--marca) 5%, transparent);
    --marca-glow: color-mix(in srgb, var(--marca) 45%, transparent);
    --marca-clara: color-mix(in srgb, var(--marca) 50%, white);
    --sobre-16: color-mix(in srgb, var(--sobre-marca) 16%, transparent);
    --sobre-24: color-mix(in srgb, var(--sobre-marca) 26%, transparent);
  }
}
.dt-con-intro { --demora: 1.3s; }
.dp-en-marco { --franja: 0px; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--franja) + var(--barra) + 16px);
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}
body.dt {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font: 400 16px/1.5 var(--letra);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; }
::selection { background: var(--marca); color: var(--sobre-marca); }
@media (min-width: 900px) { .dt-solo-celu { display: none !important; } }
@media (max-width: 899px) { .dt-solo-compu { display: none !important; } }

/* ==========================================================================
   charco: la franja, la entrada, «Qué incluye» y el teléfono
   ========================================================================== */
.dp-franja {
  position: sticky; top: 0; z-index: 60;
  height: var(--franja);
  display: flex; align-items: center; gap: 14px;
  padding: 0 10px 0 16px;
  background: rgba(13, 14, 16, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7;
  font: 400 13px/1.3 -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  letter-spacing: -0.01em;
}
.dp-franja__charco { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.dp-franja__charco img { border-radius: 5px; }
.dp-franja__texto { flex: 1; min-width: 0; margin: 0; color: #a1a1a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-franja__texto strong { color: #f5f5f7; font-weight: 600; }
.dp-franja__acciones { display: flex; gap: 8px; }
.dp-boton {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 14px; border-radius: 980px;
  font: 500 13px/1 -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s var(--curva);
}
.dp-boton:active { transform: scale(0.97); }
.dp-boton--vidrio { background: rgba(255, 255, 255, 0.12); color: #fff; box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.2); }
.dp-boton--vidrio:hover { background: rgba(255, 255, 255, 0.2); }
.dp-boton--azul { background: var(--azul); color: #fff; }
.dp-boton--azul:hover { background: #0077ed; }
.dp-boton--grande { height: 50px; padding: 0 24px; font-size: 16px; width: 100%; }
/* «Hablemos» llama la atención cada tanto con una onda azul */
.dp-franja .dp-boton--azul { animation: dp-llama 3.6s ease-out 5s infinite; }
@media (max-width: 760px) {
  .dp-franja { gap: 10px; padding-left: 12px; }
  .dp-franja__largo, .dp-solo-compu, .dp-franja__charco span { display: none; }
}

/* --- La entrada: la gota --------------------------------------------------------
   0 s cae la gota · 0,4 s se abren tres ondas · 0,5 s aparece «Propuesta para
   <marca>» · 1,35 s el charco se abre en un círculo y deja ver la tienda.
   El agujero es una máscara con --hueco (registrada con @property para que se
   anime; sin eso, la entrada se apaga de una). */
@property --hueco { syntax: "<length>"; inherits: false; initial-value: 0px; }
.dp-intro { display: none; }
.dt-con-intro .dp-intro {
  --hueco: 0px;
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  overflow: hidden;
  background: radial-gradient(120% 85% at 50% 45%, #0a84ff 0%, #0064d2 32%, #00377d 68%, #001a3a 100%);
  color: #fff;
  font-family: var(--letra);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent var(--hueco), #000 calc(var(--hueco) + 1px));
  mask: radial-gradient(circle at 50% 50%, transparent var(--hueco), #000 calc(var(--hueco) + 1px));
  animation: dp-intro-abre 0.85s cubic-bezier(0.7, 0, 0.25, 1) 1.35s forwards;
}
.dp-intro--salta { animation: dp-intro-sale 0.35s ease forwards !important; }
.dp-intro__luz {
  position: absolute; left: -25vmax; top: -35vmax;
  width: 80vmax; height: 80vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), transparent 62%);
  animation: dp-intro-luz 2.2s ease-out both;
}
.dp-intro__gota {
  position: absolute; left: 50%; top: 50%;
  width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, rgba(255, 255, 255, 0.75) 45%, rgba(255, 255, 255, 0.35));
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.7);
  animation: dp-gota-cae 0.44s cubic-bezier(0.55, 0, 1, 0.45) both;
}
.dp-intro__onda {
  position: absolute; left: 50%; top: 50%;
  width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.28), inset 0 0 26px rgba(255, 255, 255, 0.16);
  opacity: 0;
  animation: dp-onda 1.6s cubic-bezier(0.15, 0.6, 0.3, 1) 0.4s forwards;
}
.dp-intro__onda + .dp-intro__onda { animation-delay: 0.56s; }
.dp-intro__onda + .dp-intro__onda + .dp-intro__onda { animation-delay: 0.72s; }
.dp-intro__texto { position: relative; padding: 0 24px; text-align: center; animation: dp-intro-texto 1.5s var(--curva) 0.45s both; }
.dp-intro__firma { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 20px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: rgba(255, 255, 255, 0.82); }
.dp-intro__firma img { border-radius: 5px; }
.dp-intro__sobre { margin: 0; font-size: clamp(15px, 1.6vw, 19px); color: rgba(255, 255, 255, 0.74); }
.dp-intro__marca { margin: 6px 0 0; font-size: clamp(42px, 7.4vw, 104px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; text-shadow: 0 10px 50px rgba(0, 20, 60, 0.35); text-wrap: balance; }

/* --- Qué incluye: el lado de charco ------------------------------------------------- */
.dp-incluye {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 90;
  width: min(460px, calc(100vw - 20px)); overflow: auto; overscroll-behavior: contain;
  padding: 20px 28px 32px;
  border-radius: 28px;
  background: rgba(13, 14, 16, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  color: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: dt-desde-derecha 0.55s var(--curva);
}
.dp-incluye__cabeza { display: flex; align-items: center; justify-content: space-between; }
.dp-incluye__marca { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; font-weight: 600; }
.dp-incluye__marca img { border-radius: 6px; }
.dp-incluye__titulo { margin: 30px 0 24px; font-size: clamp(26px, 3vw, 32px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; animation: dt-entra-blur 0.7s var(--curva) 0.1s both; }
.dp-incluye__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.dp-incluye__lista li { position: relative; padding-left: 32px; color: #a1a1a6; font-size: 15px; line-height: 1.45; animation: dt-entra-blur 0.6s var(--curva) both; }
.dp-incluye__lista li:nth-child(1) { animation-delay: 0.16s; }
.dp-incluye__lista li:nth-child(2) { animation-delay: 0.21s; }
.dp-incluye__lista li:nth-child(3) { animation-delay: 0.26s; }
.dp-incluye__lista li:nth-child(4) { animation-delay: 0.31s; }
.dp-incluye__lista li:nth-child(5) { animation-delay: 0.36s; }
.dp-incluye__lista li:nth-child(6) { animation-delay: 0.41s; }
.dp-incluye__lista li:nth-child(7) { animation-delay: 0.46s; }
.dp-incluye__lista li:nth-child(8) { animation-delay: 0.51s; }
.dp-incluye__lista li:nth-child(9) { animation-delay: 0.56s; }
.dp-incluye__lista li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.dp-incluye__lista strong { display: block; color: #f5f5f7; font-weight: 600; }
.dp-incluye__pie { display: grid; gap: 16px; margin-top: 30px; text-align: center; }
.dp-incluye__mas { color: #2997ff; font-size: 14px; text-decoration: none; }
.dp-incluye__mas:hover { text-decoration: underline; }

/* --- La tienda en el celular ------------------------------------------------------------- */
.dp-celular {
  position: fixed; inset: 0; z-index: 95;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: rgba(13, 14, 16, 0.74);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: dt-aparece 0.3s;
  perspective: 1400px;
}
.dp-celular__marco {
  position: relative;
  height: min(844px, calc(100vh - 110px)); aspect-ratio: 390 / 844;
  padding: 11px;
  border-radius: 58px;
  background: #1d1d1f;
  box-shadow: 0 0 0 1.5px #48484a, 0 0 0 4px #1d1d1f, 0 50px 120px rgba(0, 0, 0, 0.55);
  animation: dp-telefono 0.9s var(--curva) both;
}
.dp-celular__marco iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 47px; background: #fff; }
.dp-celular__isla { position: absolute; z-index: 2; top: 22px; left: 50%; width: 31%; height: 30px; transform: translateX(-50%); border-radius: 20px; background: #000; }
.dp-celular__cerrar { animation: dt-entra-blur 0.6s var(--curva) 0.35s both; }
.dp-en-marco body.dt { padding-top: 50px; }
.dp-en-marco body.dt::before { content: ""; position: fixed; inset: 0 0 auto; height: 50px; z-index: 100; background: #fff; }
.dp-en-marco .dt-barra { top: 50px; }
.dp-en-marco .dt-herramientas { top: calc(50px + var(--barra)); }
.dp-en-marco .dt-carrito, .dp-en-marco .dt-menu, .dp-en-marco .dt-filtros { top: 58px; }
.dp-en-marco .dt-buscador { top: 50px; }

/* ==========================================================================
   La tienda
   ========================================================================== */

/* --- Lo que se anuncia arriba: pasa solo, como una marquesina ----------------- */
.dt-anuncio {
  position: relative; overflow: hidden;
  height: var(--anuncio);
  display: flex; align-items: center; justify-content: center;
  background: var(--marca); color: var(--sobre-marca);
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
}
.dt-anuncio__pista { display: flex; flex: none; margin: 0; white-space: nowrap; }
.dt-anuncio__pista span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; }
.dt-anuncio__pista span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.dt-anuncio--corre { justify-content: flex-start; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.dt-anuncio--corre .dt-anuncio__pista { animation: dt-marquesina var(--dur, 40s) linear infinite; }
.dt-anuncio--corre:hover .dt-anuncio__pista { animation-play-state: paused; }

/* --- La barra de la tienda: vidrio ------------------------------------------------ */
.dt-barra {
  position: sticky; top: var(--franja); z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s, background-color 0.4s;
}
.dt-barra--scroll { background: rgba(255, 255, 255, 0.72); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.07); }
.dt-barra--marca { background: var(--marca); color: var(--sobre-marca); box-shadow: none; }
.dt-barra__fila {
  height: var(--barra);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--margen);
}
.dt-barra__izq { display: flex; align-items: center; gap: 6px; }
.dt-barra__logo { justify-self: center; display: flex; align-items: center; height: 100%; text-decoration: none; transition: transform 0.5s var(--curva); }
.dt-barra__logo:hover { transform: scale(1.04); }
/* Alto fijo y ancho según la proporción del logo: los SVG que traen solo viewBox (sin width ni
   height) no tienen tamaño propio y con width/height auto la columna «auto» los dejaba en 0. */
.dt-barra__logo img { display: block; height: 36px; width: auto; max-width: 190px; object-fit: contain; }
.dt-barra__nombre { font-family: var(--titulos); font-weight: var(--peso-titulos); font-size: 22px; letter-spacing: var(--tracking-titulos); white-space: nowrap; }
.dt-barra__iconos { justify-self: end; display: flex; gap: 4px; }
.dt-icono {
  position: relative; isolation: isolate;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background-color 0.2s, transform 0.25s var(--curva);
}
.dt-icono:hover { background: rgba(0, 0, 0, 0.05); }
.dt-icono:active { transform: scale(0.9); }
.dt-barra--marca .dt-icono:hover { background: rgba(255, 255, 255, 0.15); }
.dt-icono svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dt-icono__cuenta {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--marca); color: var(--sobre-marca);
  font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.dt-barra--marca .dt-icono__cuenta { background: var(--sobre-marca); color: var(--marca); }
/* Cuando llega algo al carrito: salta y suelta una onda */
.dt-icono--late { animation: dt-icono-late 0.7s var(--rebote); }
.dt-icono--late .dt-icono__cuenta { animation: dt-late 0.5s var(--rebote); }
.dt-buscar-pildora {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; min-width: 210px; padding: 0 16px 0 12px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.045);
  color: var(--tinta-2);
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s, min-width 0.5s var(--curva);
}
.dt-buscar-pildora:hover { background: rgba(0, 0, 0, 0.075); color: var(--tinta); min-width: 240px; }
.dt-buscar-pildora svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dt-barra--marca .dt-buscar-pildora { background: rgba(255, 255, 255, 0.14); color: inherit; }
/* Una línea del color de la marca que se llena al bajar la página */
@supports (animation-timeline: scroll()) {
  .dt-barra::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: var(--marca);
    transform-origin: 0 50%;
    transform: scaleX(0);
    animation: dt-progreso linear both;
    animation-timeline: scroll(root block);
  }
  .dt-barra--marca::after { background: var(--sobre-marca); }
}
@media (max-width: 899px) {
  .dt-barra__fila { grid-template-columns: 48px 1fr 92px; gap: 8px; }
  .dt-barra__logo img { height: 30px; max-width: 150px; }
}

/* --- Las colecciones, en la compu ---------------------------------------------------- */
.dt-menu-compu {
  display: flex; justify-content: center; gap: 32px;
  padding: 12px var(--margen) 13px;
  border-bottom: 1px solid var(--linea);
  font-size: 14px; font-weight: 500;
}
.dt-menu-compu a { position: relative; padding: 4px 0; color: var(--tinta-2); text-decoration: none; transition: color 0.25s; }
.dt-menu-compu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px;
  background: var(--marca);
  transform: scaleX(0); transform-origin: 50% 50%;
  transition: transform 0.5s var(--curva);
}
.dt-menu-compu a:hover, .dt-menu-compu a[aria-current] { color: var(--tinta); }
.dt-menu-compu a:hover::after, .dt-menu-compu a[aria-current]::after { transform: scaleX(1); }

/* ==========================================================================
   Botones: brillo que cruza, se elevan con la luz de la marca, se hunden al
   tocarlos y sueltan una onda donde se tocaron (la gota, js/demo.js)
   ========================================================================== */
.dt-boton {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 980px;
  background: var(--marca); color: var(--sobre-marca);
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.4s var(--curva), box-shadow 0.4s var(--curva), background-color 0.25s, color 0.25s;
}
.dt-boton::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 22%, rgba(255, 255, 255, 0.3) 46%, rgba(255, 255, 255, 0.06) 56%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.95s var(--curva);
  pointer-events: none;
}
.dt-boton:hover::before { transform: translateX(130%); }
@media (hover: hover) {
  .dt-boton:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px var(--marca-glow), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
}
.dt-boton:active { transform: translateY(0) scale(0.97); transition-duration: 0.12s; }
.dt-boton[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.dt-boton--ancho { width: 100%; }
.dt-boton--borde { background: transparent; color: var(--tinta); box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.14); }
.dt-boton--borde::before { background: linear-gradient(105deg, transparent 22%, rgba(0, 0, 0, 0.06) 46%, transparent 70%); }
@media (hover: hover) {
  .dt-boton--borde:hover { background: rgba(0, 0, 0, 0.03); box-shadow: inset 0 0 0 1.5px var(--tinta), 0 14px 28px -16px rgba(0, 0, 0, 0.3); }
}
.dt-boton--claro {
  background: var(--sobre-16); color: var(--sobre-marca);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: inset 0 1px 0 var(--sobre-24), inset 0 0 0 1px var(--sobre-16);
}
@media (hover: hover) { .dt-boton--claro:hover { background: var(--sobre-24); box-shadow: inset 0 1px 0 var(--sobre-24), inset 0 0 0 1px var(--sobre-24), 0 18px 40px -16px rgba(0, 0, 0, 0.45); } }
/* La flecha que se adelanta: en los que llevan a otra página */
.dt-portada__acciones > .dt-boton:not(.dt-boton--borde)::after,
.dt-banner .dt-boton::after,
.dt-todos .dt-boton::after {
  content: ""; flex: none; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: var(--ic-flecha) center / contain no-repeat;
  mask: var(--ic-flecha) center / contain no-repeat;
  transition: transform 0.5s var(--curva);
}
.dt-portada__acciones > .dt-boton:hover::after,
.dt-banner .dt-boton:hover::after,
.dt-todos .dt-boton:hover::after { transform: translateX(4px); }
/* La gota: la onda donde se tocó (la agrega js/demo.js y se borra sola) */
.dt-gota {
  position: absolute; z-index: -1;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.22;
  transform: translate(-50%, -50%) scale(0);
  animation: dt-gota 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  pointer-events: none;
}

/* ==========================================================================
   La portada
   ========================================================================== */
.dt-portada {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 88px); align-items: center;
  padding: clamp(28px, 5vw, 84px) var(--margen) clamp(40px, 6vw, 96px);
}
.dt-etiqueta-sup { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tinta-2); }
.dt-portada__etiqueta {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0; padding: 7px 14px 7px 12px;
  border-radius: 980px;
  background: var(--fondo-2); color: var(--tinta);
}
.dt-portada__etiqueta::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--marca);
  animation: dt-pulso 2.4s ease-out infinite;
}
.dt-portada__titulo {
  margin: 18px 0 0;
  font-family: var(--titulos); font-weight: var(--peso-titulos);
  font-size: clamp(42px, 5.6vw, 84px); line-height: 1.0; letter-spacing: var(--tracking-titulos);
  text-wrap: balance;
}
/* El título sube palabra por palabra desde atrás de una línea (js/demo.js lo parte) */
.dt-palabra { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.04em 0.12em; margin: 0 -0.04em -0.12em; }
.dt-palabra > span { display: inline-block; }
.dt-portada__bajada { margin: 20px 0 0; max-width: 30em; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; color: var(--tinta-2); text-wrap: pretty; }
.dt-portada__acciones { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 0; }
.dt-portada__visual { position: relative; }
.dt-portada__fotos { display: grid; gap: 14px; height: clamp(380px, calc(100vh - 290px), 660px); }
.dt-portada__foto {
  position: relative; display: block; overflow: hidden;
  border-radius: 26px;
  background: var(--fondo-2);
  translate: calc(var(--px, 0) * var(--prof, 0px)) calc(var(--py, 0) * var(--prof, 0px));
  transition: translate 1s var(--curva);
}
.dt-portada__foto img { width: 100%; height: 100%; object-fit: cover; }
.dt-portada__foto:nth-child(1) { --prof: -18px; }
.dt-portada__foto:nth-child(2) { --prof: 22px; --n: 1; }
.dt-portada__foto:nth-child(3) { --prof: 30px; --n: 2; }
.dt-portada__fotos--2 { grid-template-columns: 1fr 1fr; }
.dt-portada__fotos--2 .dt-portada__foto:first-child { margin-bottom: 56px; }
.dt-portada__fotos--2 .dt-portada__foto:last-child { margin-top: 56px; }
.dt-portada__fotos--3 { grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; }
.dt-portada__fotos--3 .dt-portada__foto:first-child { grid-row: span 2; }
/* El destacado: vidrio encima de las fotos, se mueve al revés que ellas */
.dt-portada__chip {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  max-width: min(340px, calc(100% - 36px));
  padding: 8px 10px 8px 8px;
  border-radius: 22px;
  color: var(--tinta); text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.4), 0 20px 44px rgba(0, 0, 0, 0.2);
  translate: calc(var(--px, 0) * -18px) calc(var(--py, 0) * -18px);
  transition: translate 1s var(--curva);
}
.dt-portada__chip img { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #fff; }
.dt-portada__chip-texto { display: grid; min-width: 0; line-height: 1.25; }
.dt-portada__chip-texto small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--tinta-2); }
.dt-portada__chip-texto strong { margin-top: 1px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dt-portada__chip-texto span { font-size: 13px; color: var(--tinta-2); }
.dt-portada__chip i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--marca); color: var(--sobre-marca); transition: transform 0.5s var(--rebote); }
.dt-portada__chip i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dt-portada__chip:hover i { transform: translateX(3px) scale(1.06); }
.dt-portada--sin-fotos { grid-template-columns: minmax(0, 1fr); }
.dt-sacudir { animation: dt-sacudir 0.5s var(--curva); }
@media (max-width: 760px) {
  .dt-portada { grid-template-columns: 1fr; padding-top: 14px; gap: 26px; }
  .dt-portada__visual { order: -1; }
  .dt-portada__fotos { height: clamp(300px, 56vh, 460px); }
  .dt-portada__fotos--2 .dt-portada__foto:first-child { margin-bottom: 28px; }
  .dt-portada__fotos--2 .dt-portada__foto:last-child { margin-top: 28px; }
  .dt-portada__titulo { font-size: clamp(38px, 11vw, 52px); }
  .dt-portada__acciones .dt-boton { flex: 1 1 auto; }
  .dt-portada__chip { left: 10px; bottom: 10px; gap: 10px; padding: 6px 8px 6px 6px; border-radius: 18px; }
  .dt-portada__chip img { width: 46px; height: 46px; border-radius: 12px; }
}

/* ==========================================================================
   Secciones, colecciones y productos
   ========================================================================== */
.dt-seccion { padding: clamp(30px, 4.5vw, 64px) var(--margen); }
.dt-seccion__cabeza { display: flex; align-items: flex-end; gap: 16px; margin-bottom: clamp(18px, 2.2vw, 30px); }
.dt-seccion__titulo {
  flex: 1; min-width: 0; margin: 0;
  font-family: var(--titulos); font-weight: var(--peso-titulos);
  font-size: clamp(28px, 3.2vw, 46px); line-height: 1.06; letter-spacing: var(--tracking-titulos);
  text-wrap: balance;
}
.dt-seccion__mas { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 2px; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.dt-seccion__mas::after {
  content: ""; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: var(--ic-flecha) center / contain no-repeat; mask: var(--ic-flecha) center / contain no-repeat;
  transition: transform 0.5s var(--curva);
}
.dt-seccion__mas:hover::after { transform: translateX(4px); }
.dt-seccion__flechas { display: flex; gap: 8px; }
.dt-flecha {
  position: relative; overflow: hidden; isolation: isolate;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--fondo-2);
  transition: background-color 0.2s, transform 0.25s var(--curva);
}
.dt-flecha:hover { background: var(--fondo-3); }
.dt-flecha:active { transform: scale(0.9); }
.dt-flecha svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Comprá por colección: mosaicos que se inclinan --------------------------------- */
.dt-mosaicos { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.dt-mosaicos--2 { --cols: 2; }
.dt-mosaicos--4 { --cols: 4; }
.dt-mosaico {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: var(--fondo-2);
  color: #fff; text-decoration: none;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.8s var(--curva), box-shadow 0.6s var(--curva);
}
.dt-mosaico.dt-mueve { transition: transform 0.15s ease-out, box-shadow 0.6s var(--curva); }
@media (hover: hover) { .dt-mosaico:hover { box-shadow: 0 34px 64px -28px rgba(0, 0, 0, 0.45); } }
.dt-mosaico__foto, .dt-mosaico__foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dt-mosaico__foto img { object-fit: cover; transition: scale 1.4s var(--curva); }
.dt-mosaico:hover .dt-mosaico__foto img { scale: 1.07; }
.dt-mosaico::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.5)); pointer-events: none; }
.dt-mosaico::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.4), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none;
}
.dt-mosaico:hover::after { opacity: 1; }
.dt-mosaico__texto {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 14px 14px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.dt-mosaico__texto strong { min-width: 0; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2); }
.dt-mosaico__texto > span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.88); white-space: nowrap; }
.dt-mosaico__texto svg {
  width: 30px; height: 30px; padding: 7px; border-radius: 50%;
  background: #fff; color: #1d1d1f;
  fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.5s var(--rebote);
}
.dt-mosaico:hover .dt-mosaico__texto svg { transform: translateX(3px) scale(1.08); }
@media (max-width: 760px) {
  .dt-mosaicos {
    display: flex; gap: 10px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--margen);
    margin: 0 calc(var(--margen) * -1); padding: 4px var(--margen) 8px;
    scrollbar-width: none;
  }
  .dt-mosaicos::-webkit-scrollbar { display: none; }
  .dt-mosaico { flex: 0 0 78%; scroll-snap-align: start; }
}

/* --- Grillas y carriles ---------------------------------------------------------------- */
.dt-grilla { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(12px, 1.6vw, 22px); }
@media (max-width: 1000px) { .dt-grilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .dt-grilla { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 10px; } }
.dt-carril {
  --hueco-c: clamp(12px, 1.6vw, 22px);
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--hueco-c)) / 4.25);
  gap: var(--hueco-c);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--margen);
  margin: 0 calc(var(--margen) * -1); padding: 8px var(--margen) 16px;
  scrollbar-width: none;
}
.dt-carril::-webkit-scrollbar { display: none; }
.dt-carril > .dt-prod { scroll-snap-align: start; }
@media (max-width: 1000px) { .dt-carril { grid-auto-columns: calc((100% - 2 * var(--hueco-c)) / 2.7); } }
@media (max-width: 640px) { .dt-carril { grid-auto-columns: 44%; } }

/* --- La tarjeta de producto: se inclina hacia el mouse con una luz que lo sigue ------ */
.dt-prod { position: relative; min-width: 0; }
.dt-prod__media {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  border-radius: var(--radio);
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.8s var(--curva), box-shadow 0.6s var(--curva);
}
.dt-prod__media.dt-mueve { transition: transform 0.15s ease-out, box-shadow 0.6s var(--curva); }
@media (hover: hover) { .dt-prod:hover .dt-prod__media { box-shadow: 0 28px 52px -28px rgba(0, 0, 0, 0.42); } }
.dt-prod__foto { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 3 / 4; border-radius: var(--radio); background: var(--fondo-2); }
.dt-prod__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s var(--curva), scale 1.3s var(--curva); }
.dt-prod__otra { opacity: 0; }
.dt-prod__foto::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.5), transparent 55%);
  mix-blend-mode: soft-light;
  opacity: 0; transition: opacity 0.5s;
  pointer-events: none;
}
@media (hover: hover) {
  .dt-prod:hover .dt-prod__otra { opacity: 1; }
  .dt-prod:hover .dt-prod__foto img { scale: 1.05; }
  .dt-prod:hover .dt-prod__foto::after { opacity: 1; }
}
.dt-sello {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 6px 10px; border-radius: 980px;
  background: rgba(255, 255, 255, 0.74);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  color: var(--tinta);
  font-size: 12px; font-weight: 600; line-height: 1;
}
.dt-sello--oferta { background: var(--marca); color: var(--sobre-marca); box-shadow: 0 6px 16px -6px var(--marca-glow); }
/* El «+»: vidrio redondo que se estira a «Agregar» (o «Elegir talle») */
.dt-prod__sumar {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  overflow: hidden; isolation: isolate;
  height: 42px; min-width: 42px; padding: 0 12px;
  display: flex; align-items: center; justify-content: center; gap: 0;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  color: var(--tinta);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 6px 20px rgba(0, 0, 0, 0.16);
  opacity: 0; transform: translateY(8px) scale(0.9);
  transition: opacity 0.35s var(--curva), transform 0.5s var(--rebote), background-color 0.25s, color 0.25s, gap 0.4s var(--curva);
}
.dt-prod__rotulo { max-width: 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 600; transition: max-width 0.5s var(--curva); }
.dt-prod__sumar svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; transition: transform 0.5s var(--curva); }
.dt-prod:hover .dt-prod__sumar, .dt-prod__sumar:focus-visible { opacity: 1; transform: none; }
.dt-prod__sumar:hover { background: var(--marca); color: var(--sobre-marca); gap: 6px; }
.dt-prod__sumar:hover .dt-prod__rotulo { max-width: 150px; }
.dt-prod__sumar:hover svg { transform: rotate(90deg); }
@media (hover: none) { .dt-prod__sumar { opacity: 1; transform: none; height: 38px; min-width: 38px; right: 8px; bottom: 8px; padding: 0 10px; } }
.dt-prod__info { padding: 14px 4px 0; }
.dt-prod__nombre { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.35; letter-spacing: -0.012em; }
.dt-prod__nombre a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: none; }
.dt-prod__precio { margin: 6px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.dt-prod__precio s { color: var(--tinta-3); font-size: 13px; font-weight: 400; }
.dt-prod__mas { margin: 4px 0 0; font-size: 13px; color: var(--tinta-3); }

/* --- La colección grande: el color de la marca con luces que se mueven ----------- */
.dt-banner {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center;
  gap: clamp(24px, 4vw, 60px);
  min-height: clamp(440px, 44vw, 620px);
  margin: clamp(20px, 3vw, 40px) var(--margen);
  padding: clamp(32px, 5vw, 72px);
  border-radius: 36px;
  background: var(--marca); color: var(--sobre-marca);
}
.dt-banner__luces { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dt-banner__luces i { position: absolute; width: 38vmax; height: 38vmax; border-radius: 50%; filter: blur(80px); opacity: 0.5; background: var(--marca-clara); animation: dt-luz 24s ease-in-out infinite alternate; }
.dt-banner__luces i:nth-child(1) { left: -12%; top: -40%; }
.dt-banner__luces i:nth-child(2) { right: -18%; bottom: -50%; background: var(--sobre-marca); opacity: 0.14; animation-duration: 30s; animation-delay: -9s; }
.dt-banner__luces i:nth-child(3) { left: 34%; top: 30%; width: 26vmax; height: 26vmax; opacity: 0.32; animation-duration: 20s; animation-delay: -5s; }
.dt-banner__texto { position: relative; z-index: 1; }
.dt-banner .dt-etiqueta-sup { color: inherit; opacity: 0.7; }
.dt-banner__titulo { margin: 0 0 30px; font-family: var(--titulos); font-weight: var(--peso-titulos); font-size: clamp(40px, 5.4vw, 80px); line-height: 1; letter-spacing: var(--tracking-titulos); text-wrap: balance; }
.dt-banner__fotos { position: relative; align-self: stretch; min-height: 340px; display: grid; place-items: center; }
.dt-banner__fotos img {
  position: absolute; width: 50%; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 22px;
  background: var(--fondo-2);
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.55);
  transition: transform 1.1s var(--curva);
}
.dt-banner__fotos img:first-child { z-index: 1; transform: translateX(-30%) rotate(-7deg); }
.dt-banner__fotos img:nth-child(2) { z-index: 2; transform: translateX(30%) translateY(6%) rotate(6deg); }
.dt-banner__fotos img:only-child { width: 60%; transform: rotate(-3deg); }
.dt-banner:hover .dt-banner__fotos img:first-child { transform: translateX(-38%) rotate(-10deg); }
.dt-banner:hover .dt-banner__fotos img:nth-child(2) { transform: translateX(38%) translateY(2%) rotate(9deg); }
.dt-banner:hover .dt-banner__fotos img:only-child { transform: rotate(0deg) scale(1.03); }
@media (max-width: 760px) {
  .dt-banner { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; margin-inline: 12px; padding: 34px 24px 28px; }
  .dt-banner__fotos { min-height: 300px; order: -1; }
  .dt-banner__titulo { margin-bottom: 22px; }
  .dt-banner .dt-boton { width: 100%; }
}
.dt-todos { display: flex; justify-content: center; margin: 0; padding: clamp(10px, 2vw, 30px) var(--margen) clamp(30px, 4vw, 60px); }

/* ==========================================================================
   Todos los productos y cada colección
   ========================================================================== */
.dt-catalogo { padding: 20px var(--margen) clamp(40px, 5vw, 72px); }
.dt-migas { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; font-size: 13px; color: var(--tinta-2); }
.dt-migas a { color: var(--tinta-2); text-decoration: none; transition: color 0.2s; }
.dt-migas a:hover { color: var(--tinta); }
.dt-migas__sep { color: var(--tinta-3); }
.dt-migas [aria-current] { color: var(--tinta); font-weight: 500; }
.dt-catalogo__cabeza { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin: 0 0 clamp(14px, 2vw, 24px); }
.dt-catalogo__titulo {
  margin: 0;
  font-family: var(--titulos); font-weight: var(--peso-titulos);
  font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: var(--tracking-titulos);
  text-wrap: balance;
}
.dt-catalogo__cuenta { padding: 5px 12px; border-radius: 980px; background: var(--fondo-2); color: var(--tinta-2); font-size: 13px; font-weight: 500; }
/* Las colecciones y «Filtrar» quedan pegadas debajo de la barra al bajar */
.dt-herramientas {
  position: sticky; top: calc(var(--franja) + var(--barra)); z-index: 30;
  display: flex; align-items: center; gap: 12px;
  margin: 0 calc(var(--margen) * -1) 18px;
  padding: 10px var(--margen);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
/* Un control segmentado: la píldora del color de la marca se desliza a la elegida */
.dt-pildoras {
  position: relative; min-width: 0;
  display: flex; gap: 2px;
  padding: 4px; border-radius: 980px;
  background: var(--fondo-2);
  overflow-x: auto; scrollbar-width: none;
}
.dt-pildoras::-webkit-scrollbar { display: none; }
.dt-pildoras__marca {
  position: absolute; top: 4px; left: 0; z-index: 0;
  width: 0; height: calc(100% - 8px);
  border-radius: 980px;
  background: var(--marca);
  box-shadow: 0 6px 16px -6px var(--marca-glow);
  opacity: 0;
  transition: transform 0.55s var(--rebote), width 0.55s var(--rebote), opacity 0.3s;
  pointer-events: none;
}
.dt-pildora {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: 980px;
  background: var(--fondo-2);
  font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.3s;
}
.dt-pildora:hover { background: var(--fondo-3); }
.dt-pildoras .dt-pildora { z-index: 1; flex: none; background: none; color: var(--tinta-2); }
.dt-pildoras .dt-pildora:hover { color: var(--tinta); }
.dt-pildoras .dt-pildora[aria-current] { color: var(--sobre-marca); }
.dt-filtrar {
  position: relative; overflow: hidden; isolation: isolate;
  flex: none; margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px;
  border-radius: 980px;
  box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, 0.12);
  font-size: 14px; font-weight: 500;
  transition: box-shadow 0.2s, background-color 0.2s;
}
.dt-filtrar:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.dt-filtrar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dt-filtrar__n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--marca); color: var(--sobre-marca); font-size: 12px; font-weight: 700; animation: dt-pop 0.45s var(--rebote); }
@media (max-width: 640px) {
  .dt-filtrar { padding: 0 13px; }
  .dt-filtrar > span:not(.dt-filtrar__n):not(.dt-gota) { display: none; }
}
.dt-activos { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 20px; }
.dt-activo {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px 7px 14px; border-radius: 980px;
  background: var(--marca); color: var(--sobre-marca);
  font-size: 13px; font-weight: 500;
  animation: dt-pop 0.45s var(--rebote);
}
.dt-activo::after { content: ""; width: 14px; height: 14px; background: currentColor; opacity: 0.8; -webkit-mask: var(--ic-cruz) center / contain no-repeat; mask: var(--ic-cruz) center / contain no-repeat; }
.dt-vacio { display: grid; justify-items: center; gap: 18px; padding: 70px 20px; text-align: center; color: var(--tinta-2); }
.dt-vacio p { margin: 0; font-size: 17px; }

/* ==========================================================================
   La página del producto
   ========================================================================== */
.dt-pdp { padding: 20px var(--margen) 0; }
.dt-pdp__grilla { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.dt-pdp__galeria { position: relative; min-width: 0; }
.dt-galeria { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dt-galeria--1 { grid-template-columns: 1fr; }
.dt-galeria__foto {
  position: relative; display: block; overflow: hidden;
  width: 100%; aspect-ratio: 3 / 4;
  border-radius: 22px;
  background: var(--fondo-2);
  cursor: zoom-in;
}
.dt-galeria--1 .dt-galeria__foto, .dt-galeria--3 .dt-galeria__foto:first-child { aspect-ratio: 4 / 5; }
.dt-galeria--3 .dt-galeria__foto:first-child { grid-column: 1 / -1; }
.dt-galeria__foto img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 50%); transition: scale 0.7s var(--curva); }
/* La lupa: con el mouse encima la foto se acerca adonde apunta */
@media (hover: hover) and (pointer: fine) { .dt-galeria__foto:hover img { scale: 1.65; } }
.js .dt-galeria__foto:not(:first-child) { animation: dt-entra-blur 0.9s var(--curva) both; }
.js .dt-galeria__foto:nth-child(2) { animation-delay: 0.08s; }
.js .dt-galeria__foto:nth-child(3) { animation-delay: 0.16s; }
.js .dt-galeria__foto:nth-child(4) { animation-delay: 0.24s; }
.dt-pdp__datos { position: sticky; top: calc(var(--franja) + var(--barra) + 24px); padding-bottom: 20px; }
.js .dt-pdp__datos > * { animation: dt-entra-blur 0.8s var(--curva) both; }
.js .dt-pdp__datos > :nth-child(2) { animation-delay: 0.05s; }
.js .dt-pdp__datos > :nth-child(3) { animation-delay: 0.1s; }
.js .dt-pdp__datos > :nth-child(4) { animation-delay: 0.14s; }
.js .dt-pdp__datos > :nth-child(5) { animation-delay: 0.18s; }
.js .dt-pdp__datos > :nth-child(6) { animation-delay: 0.22s; }
.js .dt-pdp__datos > :nth-child(7) { animation-delay: 0.26s; }
.js .dt-pdp__datos > :nth-child(n+8) { animation-delay: 0.3s; }
.dt-pdp__col { display: inline-block; margin: 0 0 10px; color: var(--tinta-2); text-decoration: none; transition: color 0.2s; }
.dt-pdp__col:hover { color: var(--tinta); }
.dt-pdp__nombre {
  margin: 0;
  font-family: var(--titulos); font-weight: var(--peso-titulos);
  font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: var(--tracking-titulos);
  text-wrap: balance;
}
.dt-pdp__precio { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 16px 0 0; font-size: 26px; font-weight: 600; letter-spacing: -0.025em; }
.dt-pdp__precio s { font-size: 18px; font-weight: 400; color: var(--tinta-3); }
.dt-pdp__ahorro { padding: 6px 11px; border-radius: 980px; background: var(--marca); color: var(--sobre-marca); font-size: 13px; font-weight: 700; letter-spacing: 0; box-shadow: 0 8px 18px -8px var(--marca-glow); }
.dt-pdp__cuotas { margin: 6px 0 0; font-size: 14px; color: var(--tinta-2); }
.dt-pdp__opcion { margin-top: 26px; }
.dt-pdp__opcion-titulo { margin: 0 0 12px; font-size: 14px; color: var(--tinta-2); }
.dt-pdp__opcion-titulo strong { color: var(--tinta); font-weight: 600; }
.dt-talles { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-talles:empty { display: none; }
.dt-talle {
  position: relative; overflow: hidden; isolation: isolate;
  min-width: 52px; height: 46px; padding: 0 14px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1.5px var(--linea-2);
  font-size: 14px; font-weight: 500;
  transition: box-shadow 0.2s, background-color 0.25s, color 0.25s;
}
.dt-talle:hover { box-shadow: inset 0 0 0 1.5px var(--tinta); }
.dt-talle[aria-pressed="true"] { background: var(--marca); color: var(--sobre-marca); box-shadow: 0 8px 18px -8px var(--marca-glow); animation: dt-pop 0.45s var(--rebote); }
.dt-pdp__comprar { display: flex; gap: 10px; margin-top: 26px; }
.dt-pdp__comprar .dt-boton { flex: 1; min-width: 0; }
.dt-pdp [data-comprar-ya] { margin-top: 10px; }
.dt-cantidad { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 3px; border-radius: 980px; box-shadow: inset 0 0 0 1.5px var(--linea-2); font-size: 14px; font-weight: 500; }
.dt-cantidad button { position: relative; overflow: hidden; isolation: isolate; width: 28px; height: 28px; border-radius: 50%; font-size: 17px; line-height: 1; transition: background-color 0.2s; }
.dt-cantidad button:hover { background: var(--fondo-2); }
.dt-cantidad > span { min-width: 16px; text-align: center; font-variant-numeric: tabular-nums; }
.dt-cantidad--grande { flex: none; margin-top: 0; height: 52px; padding: 4px; gap: 2px; }
.dt-cantidad--grande button { width: 44px; height: 44px; font-size: 20px; }
.dt-cantidad--grande > span { display: inline-block; min-width: 26px; font-size: 16px; }
.dt-salta { animation: dt-salta 0.4s var(--rebote); }
.dt-servicios { list-style: none; margin: 26px 0 0; padding: 0; border-radius: 22px; background: var(--fondo-2); overflow: hidden; }
.dt-servicios li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; }
.dt-servicios li + li { border-top: 1px solid rgba(0, 0, 0, 0.06); }
.dt-servicios li > svg {
  flex: none; width: 40px; height: 40px; padding: 9px;
  border-radius: 12px;
  background: linear-gradient(160deg, #fff, #f3f3f6);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), inset 0 1px 0 #fff;
  fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.dt-servicios li > div { flex: 1; min-width: 150px; font-size: 13px; line-height: 1.4; color: var(--tinta-2); }
.dt-servicios strong { display: block; color: var(--tinta); font-size: 14px; font-weight: 600; }
.dt-servicios__logos { flex: none; display: flex; gap: 4px; }
.dt-servicios__logos img { width: 52px; height: 26px; object-fit: contain; border-radius: 7px; background: #fff; }
.dt-acordeon { margin-top: 22px; border-top: 1px solid var(--linea); }
.dt-acordeon details { border-bottom: 1px solid var(--linea); }
.dt-acordeon summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 2px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.dt-acordeon summary::-webkit-details-marker { display: none; }
.dt-acordeon summary::after {
  content: ""; flex: none; width: 18px; height: 18px; background: var(--tinta-2);
  -webkit-mask: var(--ic-abajo) center / contain no-repeat; mask: var(--ic-abajo) center / contain no-repeat;
  transition: transform 0.45s var(--curva);
}
.dt-acordeon details[open] summary::after { transform: rotate(180deg); }
/* Se abre deslizándose donde el navegador sabe animar el alto (Chrome 131+); en el resto, de una */
.dt-acordeon details::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--curva), content-visibility 0.5s allow-discrete; }
.dt-acordeon details[open]::details-content { block-size: auto; }
.dt-acordeon__texto { padding: 0 2px 20px; font-size: 14px; line-height: 1.6; color: var(--tinta-2); white-space: pre-line; }
.dt-acordeon__texto p { margin: 0 0 10px; white-space: normal; }
.dt-acordeon__logos { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.dt-acordeon__logos img { width: 78px; height: 39px; object-fit: contain; border-radius: 10px; background: var(--fondo-2); }
.dt-pdp__real { display: inline-flex; margin-top: 18px; font-size: 13px; color: var(--tinta-2); }
.dt-seccion--pdp { padding: clamp(44px, 5vw, 80px) 0 0; }
@media (max-width: 899px) {
  .dt-pdp { padding-top: 12px; }
  .dt-pdp__grilla { grid-template-columns: 1fr; gap: 22px; }
  .dt-pdp__galeria { margin: 0 calc(var(--margen) * -1); }
  .dt-galeria { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .dt-galeria::-webkit-scrollbar { display: none; }
  .dt-galeria__foto, .dt-galeria--3 .dt-galeria__foto:first-child { flex: 0 0 100%; aspect-ratio: 4 / 5; border-radius: 0; scroll-snap-align: start; }
  .js .dt-galeria__foto:not(:first-child) { animation: none; }
  .dt-galeria__cuenta {
    position: absolute; right: 14px; bottom: 14px;
    padding: 6px 11px; border-radius: 980px;
    background: rgba(255, 255, 255, 0.74);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums;
  }
  .dt-pdp__datos { position: static; }
}

/* ==========================================================================
   Cómo se compra (íconos de cerámica que se dibujan al aparecer) y el pie
   ========================================================================== */
.dt-ventajas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: clamp(30px, 4vw, 60px) var(--margen) clamp(50px, 6vw, 96px); }
.dt-ventaja {
  display: flex; flex-direction: column; gap: 16px;
  padding: 22px;
  border-radius: 26px;
  background: var(--fondo-2);
  transition: transform 0.6s var(--curva), box-shadow 0.6s var(--curva), background-color 0.3s;
}
@media (hover: hover) { .dt-ventaja:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.28), inset 0 0 0 1px var(--linea); } }
.dt-ventaja svg {
  flex: none; width: 50px; height: 50px; padding: 12px;
  border-radius: 15px;
  background: linear-gradient(160deg, #fff, #efeff3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 8px 16px -8px rgba(0, 0, 0, 0.2), inset 0 1px 0 #fff;
  fill: none; stroke: var(--tinta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.dt-traza > * { stroke-dasharray: var(--largo); stroke-dashoffset: var(--largo); transition: stroke-dashoffset 1.5s var(--curva) calc(0.3s + var(--i, 0) * 0.12s); }
.dt-r--in .dt-traza > * { stroke-dashoffset: 0; }
.dt-ventaja p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--tinta-2); }
.dt-ventaja strong { display: block; margin-bottom: 3px; color: var(--tinta); font-size: 16px; font-weight: 600; letter-spacing: -0.015em; }
@media (max-width: 1000px) { .dt-ventajas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dt-ventajas { grid-template-columns: 1fr; gap: 10px; } .dt-ventaja { flex-direction: row; align-items: center; padding: 16px; } }

.dt-pie { padding: clamp(40px, 5vw, 64px) var(--margen) 48px; background: var(--fondo-2); color: var(--tinta-2); font-size: 14px; }
.dt-pie__fila { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 32px; }
.dt-pie__marca { display: grid; gap: 14px; justify-items: start; align-content: start; }
.dt-pie__marca img { display: block; height: 32px; width: auto; max-width: 170px; object-fit: contain; object-position: left center; }
.dt--logo-claro .dt-pie__marca img { filter: invert(1); }
.dt-pie__marca a { color: var(--tinta); font-weight: 500; text-decoration: none; }
.dt-pie__col h2 { margin: 0 0 12px; color: var(--tinta); font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.dt-pie__col ul + h2 { margin-top: 22px; }
.dt-pie__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dt-pie__col a, .dt-pie__col button {
  color: var(--tinta-2); font-size: 14px; text-align: left; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color 0.2s, background-size 0.45s var(--curva);
}
.dt-pie__col a:hover, .dt-pie__col button:hover { color: var(--tinta); background-size: 100% 1px; }
.dt-pie__logos { display: flex !important; flex-wrap: wrap; gap: 6px !important; }
.dt-pie__logos img { width: 78px; height: 39px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); }
.dt-pie__nota { margin: 32px 0 0; padding-top: 22px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 12px; line-height: 1.55; color: var(--tinta-3); }
@media (max-width: 900px) { .dt-pie__fila { grid-template-columns: 1fr 1fr; } .dt-pie__marca { grid-column: 1 / -1; } }

/* ==========================================================================
   Lo que se abre encima: carrito, menú, filtros (paneles de vidrio que flotan),
   buscador, fotos grandes, el pago
   ========================================================================== */
.dt-velo { position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, 0.3); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: dt-aparece 0.35s ease; }
.dt-carrito, .dt-menu, .dt-filtros {
  position: fixed; top: 10px; bottom: 10px; z-index: 80;
  width: min(440px, calc(100vw - 20px));
  display: flex; flex-direction: column;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}
.dt-carrito, .dt-filtros { right: 10px; animation: dt-desde-derecha 0.6s var(--curva); }
.dt-menu { left: 10px; animation: dt-desde-izquierda 0.6s var(--curva); }
.dt-carrito__cabeza { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 16px 12px 24px; }
.dt-carrito__cabeza h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.dt-cerrar {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  overflow: hidden; isolation: isolate;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, 0.06);
  transition: background-color 0.2s, transform 0.45s var(--curva);
}
.dt-cerrar:hover { background: rgba(0, 0, 0, 0.11); transform: rotate(90deg); }
.dt-cerrar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.dt-carrito__cabeza .dt-cerrar, .dt-cerrar--fila { position: static; }
.dt-cerrar--claro { position: static; background: rgba(255, 255, 255, 0.12); color: #fff; }
.dt-cerrar--claro:hover { background: rgba(255, 255, 255, 0.22); }
.dt-carrito__vacio { flex: 1; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 30px 24px; text-align: center; color: var(--tinta-2); }
.dt-carrito__vacio::before {
  content: ""; width: 88px; height: 88px; border-radius: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l-1 12H7L6 8Z'/%3E%3Cpath d='M9 8a3 3 0 0 1 6 0'/%3E%3C/svg%3E") center / 40px no-repeat, linear-gradient(160deg, #fff, #efeff3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 14px 30px -14px rgba(0, 0, 0, 0.25), inset 0 1px 0 #fff;
  animation: dt-flota 5s ease-in-out infinite;
}
.dt-carrito__vacio p { margin: 0; font-size: 16px; }
.dt-carrito__lista { flex: 1; list-style: none; margin: 0; padding: 0 24px; overflow: auto; overscroll-behavior: contain; }
.dt-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.dt-carrito__lista--entra .dt-item, .dt-item--nuevo { animation: dt-item-entra 0.6s var(--curva) both; }
.dt-carrito__lista--entra .dt-item:nth-child(2) { animation-delay: 0.05s; }
.dt-carrito__lista--entra .dt-item:nth-child(3) { animation-delay: 0.1s; }
.dt-carrito__lista--entra .dt-item:nth-child(n+4) { animation-delay: 0.15s; }
.dt-item__foto { display: block; width: 76px; height: 100px; overflow: hidden; border-radius: 14px; background: var(--fondo-2); }
.dt-item__foto img { width: 100%; height: 100%; object-fit: cover; }
.dt-item__nombre { margin: 0 0 2px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.dt-item__nombre a { text-decoration: none; }
.dt-item__detalle { margin: 0; color: var(--tinta-2); font-size: 13px; }
.dt-item__precio { font-size: 14px; font-weight: 600; white-space: nowrap; }
.dt-carrito__pie { padding: 16px 24px 22px; border-top: 1px solid var(--linea); background: rgba(255, 255, 255, 0.7); }
.dt-carrito__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 16px; }
.dt-carrito__total strong { font-size: 22px; letter-spacing: -0.025em; }
.dt-carrito__seguir { display: block; width: 100%; margin-top: 8px; padding: 11px; border-radius: 980px; color: var(--tinta-2); font-size: 14px; font-weight: 500; transition: background-color 0.2s, color 0.2s; }
.dt-carrito__seguir:hover { background: var(--fondo-2); color: var(--tinta); }
.dt-carrito__nota { margin: 8px 0 0; color: var(--tinta-3); font-size: 12px; line-height: 1.45; text-align: center; }
.dt-menu__lista { display: grid; padding: 4px 24px; }
.dt-menu__lista a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--linea);
  font-size: 24px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none;
  animation: dt-entra-izq 0.6s var(--curva) both;
}
.dt-menu__lista a::after { content: ""; width: 18px; height: 18px; background: var(--tinta-3); -webkit-mask: var(--ic-chevron) center / contain no-repeat; mask: var(--ic-chevron) center / contain no-repeat; }
.dt-menu__lista a:nth-child(2) { animation-delay: 0.05s; }
.dt-menu__lista a:nth-child(3) { animation-delay: 0.1s; }
.dt-menu__lista a:nth-child(4) { animation-delay: 0.15s; }
.dt-menu__lista a:nth-child(5) { animation-delay: 0.2s; }
.dt-menu__lista a:nth-child(n+6) { animation-delay: 0.25s; }
.dt-menu__buscar { display: flex; align-items: center; gap: 10px; margin: 18px 24px; padding: 14px 18px; border-radius: 16px; background: var(--fondo-2); color: var(--tinta-2); font-size: 16px; text-align: left; }
.dt-menu__buscar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.dt-filtros__cuerpo { flex: 1; overflow: auto; overscroll-behavior: contain; padding: 0 24px 20px; }
.dt-filtros__grupo { padding: 18px 0; border-bottom: 1px solid var(--linea); }
.dt-filtros__grupo:last-child { border-bottom: 0; }
.dt-filtros__grupo h3 { margin: 0 0 12px; color: var(--tinta-2); font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; }
.dt-filtros__orden { display: grid; gap: 2px; margin: 0 -10px; }
.dt-filtros__orden button {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 10px; border-radius: 12px;
  font-size: 15px; text-align: left;
  transition: background-color 0.2s;
}
.dt-filtros__orden button:hover { background: var(--fondo-2); }
.dt-filtros__orden button::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--linea-2); transition: box-shadow 0.35s var(--rebote); }
.dt-filtros__orden button[aria-pressed="true"] { font-weight: 600; }
.dt-filtros__orden button[aria-pressed="true"]::after { box-shadow: inset 0 0 0 7px var(--marca); }
/* El interruptor de iOS, con el color de la marca */
.dt-interruptor { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 4px 0; font-size: 15px; text-align: left; }
.dt-interruptor i { position: relative; flex: none; width: 51px; height: 31px; border-radius: 980px; background: #e9e9eb; transition: background-color 0.3s; }
.dt-interruptor i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 1px 1px rgba(0, 0, 0, 0.16); transition: transform 0.45s var(--rebote); }
.dt-interruptor[aria-pressed="true"] i { background: var(--marca); }
.dt-interruptor[aria-pressed="true"] i::after { transform: translateX(20px); }
.dt-filtros__pie { display: grid; grid-template-columns: auto 1fr; gap: 10px; }

/* --- El buscador: baja de arriba, en vidrio ------------------------------------------ */
.dt-buscador {
  position: fixed; top: 0; left: 0; right: 0; z-index: 85;
  max-height: 100dvh;
  display: flex; flex-direction: column;
  border-radius: 0 0 30px 30px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  animation: dt-baja 0.55s var(--curva);
}
.dt-buscador__fila { display: flex; align-items: center; gap: 12px; width: min(840px, 100%); margin: 0 auto; padding: 18px 20px 12px; }
.dt-buscador__fila > svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--tinta-2); stroke-width: 1.8; stroke-linecap: round; }
.dt-buscador__fila input {
  flex: 1; min-width: 0; height: 54px;
  border: 0; background: none; outline: none;
  color: var(--tinta);
  font: 500 clamp(20px, 2.4vw, 28px)/1 var(--letra); letter-spacing: -0.025em;
  -webkit-appearance: none; appearance: none;
}
.dt-buscador__fila input::placeholder { color: var(--tinta-3); }
.dt-buscador__fila input::-webkit-search-cancel-button { display: none; }
.dt-buscador__cuerpo { width: min(840px, 100%); margin: 0 auto; padding: 4px 20px 26px; overflow: auto; overscroll-behavior: contain; }
.dt-buscador__rotulo { margin: 6px 0 12px; color: var(--tinta-2); font-size: 13px; font-weight: 600; }
.dt-buscador__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.dt-buscador__chips .dt-pildora { animation: dt-pop 0.5s var(--rebote) both; }
.dt-buscador__chips .dt-pildora:nth-child(2) { animation-delay: 0.04s; }
.dt-buscador__chips .dt-pildora:nth-child(3) { animation-delay: 0.08s; }
.dt-buscador__chips .dt-pildora:nth-child(n+4) { animation-delay: 0.12s; }
.dt-buscador__resultados { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 4px 10px; }
.dt-buscador__resultados li { animation: dt-entra-blur 0.5s var(--curva) both; }
.dt-buscador__resultados li:nth-child(2) { animation-delay: 0.04s; }
.dt-buscador__resultados li:nth-child(3) { animation-delay: 0.08s; }
.dt-buscador__resultados li:nth-child(4) { animation-delay: 0.12s; }
.dt-buscador__resultados li:nth-child(5) { animation-delay: 0.16s; }
.dt-buscador__resultados li:nth-child(6) { animation-delay: 0.2s; }
.dt-resultado { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 16px; text-decoration: none; transition: background-color 0.2s; }
.dt-resultado:hover { background: rgba(0, 0, 0, 0.04); }
.dt-resultado img { flex: none; width: 56px; height: 70px; border-radius: 12px; object-fit: cover; background: var(--fondo-2); }
.dt-resultado__texto { display: grid; min-width: 0; }
.dt-resultado__texto strong { overflow: hidden; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.dt-resultado__texto span { color: var(--tinta-2); font-size: 14px; }
.dt-buscador [data-ver-resultados] { margin-top: 14px; }

/* --- Las fotos grandes --------------------------------------------------------------- */
.dt-visor { position: fixed; inset: 0; z-index: 95; background: rgba(10, 10, 12, 0.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); animation: dt-aparece 0.35s ease; }
.dt-visor__tira { display: flex; height: 100%; overflow-x: auto; overscroll-behavior: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.dt-visor__tira::-webkit-scrollbar { display: none; }
.dt-visor__foto { flex: 0 0 100%; height: 100%; display: grid; place-items: center; padding: 64px 24px; scroll-snap-align: center; }
.dt-visor__foto img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 14px; animation: dt-zoom-entra 0.6s var(--curva) both; }
.dt-visor__flecha {
  position: absolute; top: 50%;
  width: 52px; height: 52px; margin-top: -26px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background-color 0.2s, transform 0.25s var(--curva);
}
.dt-visor__flecha:hover { background: rgba(255, 255, 255, 0.22); }
.dt-visor__flecha:active { transform: scale(0.92); }
.dt-visor__flecha--izq { left: 20px; }
.dt-visor__flecha--der { right: 20px; }
.dt-visor__flecha svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dt-visor__cuenta { position: absolute; left: 50%; bottom: 22px; margin: 0; padding: 7px 14px; border-radius: 980px; transform: translateX(-50%); background: rgba(255, 255, 255, 0.12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.dt-visor__cerrar { top: 18px; right: 18px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.dt-visor__cerrar:hover { background: rgba(255, 255, 255, 0.24); }
.dt-visor--una .dt-visor__flecha, .dt-visor--una .dt-visor__cuenta { display: none; }
@media (hover: none) { .dt-visor__flecha { display: none; } }

/* --- Las hojas: el pago ------------------------------------------------------------------ */
.dt-hoja {
  position: fixed;
  border: 0; padding: 0;
  width: min(600px, calc(100vw - 32px)); max-width: none;
  max-height: calc(100dvh - 48px);
  border-radius: 30px;
  background: #fff; color: var(--tinta);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
  overflow: auto; overscroll-behavior: contain;
}
.dt-hoja::backdrop { background: rgba(0, 0, 0, 0.4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dt-hoja[open] { animation: dt-hoja-entra 0.6s var(--curva); }
.dt-pago { padding: 40px 34px 0; }
.dt-pago__titulo { margin: 4px 44px 26px 0; font-family: var(--titulos); font-weight: var(--peso-titulos); font-size: clamp(26px, 3vw, 34px); letter-spacing: var(--tracking-titulos); line-height: 1.1; text-wrap: balance; }
.dt-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.dt-hoja[open] .dt-paso { animation: dt-entra-blur 0.7s var(--curva) both; }
.dt-hoja[open] .dt-paso:nth-child(2) { animation-delay: 0.08s; }
.dt-hoja[open] .dt-paso:nth-child(3) { animation-delay: 0.16s; }
.dt-paso { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; }
.dt-paso__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--marca); color: var(--sobre-marca); font-size: 13px; font-weight: 700; box-shadow: 0 6px 14px -6px var(--marca-glow); }
.dt-paso strong { display: block; margin: 3px 0 2px; font-size: 16px; font-weight: 600; }
.dt-paso > div > span { color: var(--tinta-2); font-size: 14px; line-height: 1.45; }
.dt-opciones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dt-opciones--pago { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dt-opcion {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 12px 14px; border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--linea-2);
  font-size: 14px; font-weight: 600; text-align: left; line-height: 1.25;
  transition: box-shadow 0.25s, background-color 0.25s;
}
.dt-opcion:hover { box-shadow: inset 0 0 0 1.5px var(--tinta-3); }
.dt-opcion small { color: var(--tinta-2); font-size: 12px; font-weight: 400; }
.dt-opcion img { width: 56px; height: 28px; margin: -3px 0 -2px -4px; object-fit: contain; object-position: left center; }
.dt-opcion svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dt-opcion--elegida { background: var(--marca-05); box-shadow: inset 0 0 0 2px var(--marca), 0 12px 24px -16px var(--marca-glow); }
.dt-opcion--elegida::before, .dt-opcion--elegida::after { content: ""; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; animation: dt-pop 0.45s var(--rebote); }
.dt-opcion--elegida::before { border-radius: 50%; background: var(--marca); }
.dt-opcion--elegida::after { background: var(--sobre-marca); -webkit-mask: var(--ic-tilde) center / 12px no-repeat; mask: var(--ic-tilde) center / 12px no-repeat; }
/* El pie del pago queda pegado abajo, con vidrio, aunque la hoja tenga que bajar */
.dt-pago__pie {
  position: sticky; bottom: 0; z-index: 2;
  margin: 26px -34px 0; padding: 18px 34px 26px;
  border-top: 1px solid var(--linea);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
}
.dt-pago__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; }
.dt-pago__total strong { font-size: 26px; letter-spacing: -0.025em; }
.dt-pago__deslizar { margin-top: 16px; }
.dt-pago__nota { margin: 12px 0 0; color: var(--tinta-3); font-size: 13px; line-height: 1.5; text-align: center; text-wrap: pretty; }
/* La compra hecha: el círculo y el tilde se dibujan y el charco hace ondas */
.dt-pago__exito { display: grid; justify-items: center; padding: 14px 0 30px; text-align: center; }
.dt-pago__exito .dt-pago__titulo { margin: 0 0 10px; animation: dt-entra-blur 0.7s var(--curva) 0.5s both; }
.dt-exito__icono { position: relative; width: 104px; height: 104px; margin: 6px 0 24px; display: grid; place-items: center; }
.dt-exito__icono svg { position: relative; z-index: 1; width: 104px; height: 104px; fill: none; stroke: var(--marca); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dt-exito__icono circle { stroke-dasharray: 151; stroke-dashoffset: 151; transform: rotate(-90deg); transform-origin: 50% 50%; animation: dt-dibuja 0.75s var(--curva) 0.1s forwards; }
.dt-exito__icono path { stroke-width: 3.6; stroke-dasharray: 34; stroke-dashoffset: 34; animation: dt-dibuja 0.45s var(--curva) 0.7s forwards; }
.dt-exito__onda { position: absolute; inset: 0; border-radius: 50%; background: var(--marca); opacity: 0; animation: dt-exito-onda 1.6s cubic-bezier(0.15, 0.6, 0.3, 1) 0.75s both; }
.dt-exito__onda + .dt-exito__onda { animation-delay: 1s; }
.dt-exito__texto { max-width: 30em; margin: 0 0 24px; color: var(--tinta-2); font-size: 15px; line-height: 1.5; text-wrap: pretty; animation: dt-entra-blur 0.7s var(--curva) 0.6s both; }
.dt-pago__exito > .dt-boton, .dt-exito__charco { animation: dt-entra-blur 0.7s var(--curva) 0.7s both; }
.dt-exito__charco { margin-top: 10px; }
@media (max-width: 760px) {
  .dt-hoja { width: 100vw; max-height: calc(100dvh - 16px); margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .dt-hoja[open] { animation-name: dt-sube-hoja; }
  .dt-pago { padding: 30px 20px 0; }
  .dt-pago__pie { margin: 22px -20px 0; padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
  .dt-pago__total strong { font-size: 22px; }
  .dt-pago__deslizar { margin-top: 12px; }
  .dt-pago__nota { margin-top: 8px; font-size: 12px; }
  .dt-pago__exito { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .dt-opciones--pago { grid-template-columns: 1fr; }
  .dt-opciones--pago .dt-opcion { flex-direction: row; align-items: center; gap: 10px; }
}

/* --- «Deslizá para pagar»: el de charco (js/demo.js), con el color de la marca --- */
.dt-desl { width: 100%; }
.dt-desl__pista {
  position: relative; overflow: hidden; isolation: isolate;
  height: 64px; border-radius: 32px;
  background: var(--fondo-2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  color: var(--tinta);
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.dt-desl__relleno { position: absolute; inset: 0 auto 0 0; z-index: 0; width: 64px; border-radius: 32px; background: var(--marca); opacity: 0; transition: opacity 0.2s; }
.dt-desl__texto { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; padding: 0 52px 0 64px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; pointer-events: none; }
/* El brillo que barre el texto, como el «deslizar para desbloquear» del iPhone */
.dt-desl__brillo {
  overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(100deg, rgba(29, 29, 31, 0.45) 0%, rgba(29, 29, 31, 0.45) 40%, #1d1d1f 50%, rgba(29, 29, 31, 0.45) 60%, rgba(29, 29, 31, 0.45) 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: dt-barrer 2.6s linear infinite;
}
.dt-desl[data-estado="listo"] .dt-desl__texto { padding: 0 76px 0 24px; }
.dt-desl[data-estado="listo"] .dt-desl__brillo { background: none; -webkit-text-fill-color: var(--sobre-marca); color: var(--sobre-marca); animation: none; }
.dt-desl__flechas { position: absolute; top: 0; right: 20px; bottom: 0; z-index: 1; display: flex; align-items: center; pointer-events: none; }
.dt-desl__flecha { margin-left: -7px; opacity: 0.22; animation: dt-encender 1.6s ease-in-out infinite; }
.dt-desl__flecha:nth-child(2) { animation-delay: 0.18s; }
.dt-desl__flecha:nth-child(3) { animation-delay: 0.36s; }
.dt-desl__flecha.encendida { opacity: 1; animation: none; }
.dt-desl__perilla {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--tinta);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
  cursor: grab; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.dt-desl__perilla:active { cursor: grabbing; }
.dt-desl__perilla:focus-visible { outline: 3px solid var(--azul); outline-offset: 3px; }
.dt-desl[data-estado="volviendo"] .dt-desl__perilla, .dt-desl[data-estado="reposo"] .dt-desl__perilla { transition: transform 0.55s var(--rebote); }
.dt-desl[data-estado="volviendo"] .dt-desl__relleno, .dt-desl[data-estado="reposo"] .dt-desl__relleno { transition: width 0.55s var(--rebote), opacity 0.2s; }
.dt-desl[data-estado="listo"] .dt-desl__perilla { color: var(--marca); cursor: default; transition: transform 0.3s var(--curva); }
.dt-desl[data-estado="listo"] .dt-desl__relleno { transition: width 0.3s var(--curva); }

/* --- En el celular, «Agregar» queda abajo, en vidrio --------------------------------- */
.dt-barra-compra {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  animation: dt-sube-barra 0.55s var(--rebote);
}
.dt-barra-compra__datos { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.dt-barra-compra__datos strong { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.dt-barra-compra__datos span { color: var(--tinta-2); font-size: 13px; }
.dt-barra-compra .dt-boton { min-height: 46px; padding: 0 22px; }
@media (min-width: 761px) { .dt-barra-compra { display: none !important; } }

/* --- El aviso ------------------------------------------------------------------------------ */
.dt-aviso {
  position: fixed; left: 50%; bottom: 26px; z-index: 99;
  max-width: min(520px, calc(100vw - 32px)); margin: 0;
  padding: 13px 20px; border-radius: 980px;
  background: rgba(29, 29, 31, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  color: #fff;
  font-size: 14px; font-weight: 500; line-height: 1.35; text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  animation: dt-aviso 0.6s var(--rebote);
}
@media (max-width: 760px) {
  .dt-aviso { bottom: auto; top: calc(var(--franja) + var(--barra) + 12px); border-radius: 18px; animation-name: dt-aviso-arriba; }
}

/* --- El producto que vuela al carrito (js/demo.js) ----------------------------------- */
.dt-vuelo { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; }
.dt-vuelo__foto { position: absolute; overflow: hidden; border-radius: 16px; background: var(--fondo-2); box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28); transform: translate(-50%, -50%); }
.dt-vuelo__foto img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Entradas: suben desenfocadas, de a una (js/demo.js pone .dt-r y, cuando se
   ven, .dt-r--in). Separado de transform: las tarjetas se inclinan con él.
   ========================================================================== */
.dt-r { opacity: 0; translate: 0 34px; filter: blur(6px); transition: opacity 0.9s var(--curva), translate 1.1s var(--curva), filter 0.9s var(--curva); transition-delay: calc(var(--i, 0) * 80ms); }
.dt-r--in { opacity: 1; translate: none; filter: none; }
.dt-vista--entra { animation: dt-vt-entra 0.55s var(--curva) both; }
/* La portada: cuando termina la gota (--demora) o de entrada */
.js .dt-portada__etiqueta { animation: dt-entra-blur 0.9s var(--curva) both; animation-delay: calc(var(--demora) + 0.05s); }
.js .dt-portada__titulo:not(.dt-partido) { animation: dt-entra-blur 1s var(--curva) both; animation-delay: calc(var(--demora) + 0.15s); }
.js .dt-partido .dt-palabra > span { animation: dt-palabra 1.05s var(--curva) both; animation-delay: calc(var(--demora) + 0.15s + var(--i, 0) * 70ms); }
.js .dt-portada__bajada { animation: dt-entra-blur 1s var(--curva) both; animation-delay: calc(var(--demora) + 0.5s); }
.js .dt-portada__acciones { animation: dt-entra-blur 1s var(--curva) both; animation-delay: calc(var(--demora) + 0.62s); }
.js .dt-portada__foto { animation: dt-asoma 1.3s var(--curva) both; animation-delay: calc(var(--demora) + 0.1s + var(--n, 0) * 0.13s); }
.js .dt-portada__foto img { animation: dt-acomoda 1.7s var(--curva) both, dt-respira 18s ease-in-out infinite alternate; animation-delay: calc(var(--demora) + 0.1s + var(--n, 0) * 0.13s), calc(3.4s + var(--n, 0) * 0.13s); }
.js .dt-portada__chip { animation: dt-chip 1s var(--rebote) both; animation-delay: calc(var(--demora) + 1s); }
@media (hover: none) {
  .js .dt-portada__chip { animation: dt-chip 1s var(--rebote) both, dt-flota 6s ease-in-out infinite; animation-delay: calc(var(--demora) + 1s), 3.6s; }
}
.js .dt-catalogo__cabeza, .js .dt-catalogo .dt-migas { animation: dt-entra-blur 0.8s var(--curva) both; }

/* ==========================================================================
   Fotos según el catálogo
   ========================================================================== */
/* Producto suelto (botellas, relojes, ollas, zapatos sobre blanco): la foto entera y
   con aire, en vez de recortada para llenar la tarjeta. demo.php: "fotos": "enteras".
   - Donde el gris es del contenedor, el blanco de la foto se funde (multiply).
   - Donde no, fondo blanco y 4 % más oscura toda la imagen: el blanco queda del
     mismo gris que las tarjetas. */
.dt--fotos-enteras .dt-prod__foto img,
.dt--fotos-enteras .dt-galeria__foto img,
.dt--fotos-enteras .dt-mosaico__foto img { object-fit: contain; padding: 10%; mix-blend-mode: multiply; }
.dt--fotos-enteras .dt-mosaico__foto img { padding: 12% 12% 30%; }
.dt--fotos-enteras .dt-mosaico::before { background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.16)); }
.dt--fotos-enteras .dt-mosaico__texto { background: rgba(29, 29, 31, 0.58); }
.dt--fotos-enteras .dt-portada__foto img { object-fit: contain; padding: 9%; background: #fff; filter: brightness(0.96); }
.dt--fotos-enteras .dt-banner__fotos img { object-fit: contain; padding: 8%; background: #fff; }
.dt--fotos-enteras .dt-item__foto img,
.dt--fotos-enteras .dt-resultado img,
.dt--fotos-enteras .dt-portada__chip img,
.dt--fotos-enteras .dt-vuelo__foto img { object-fit: contain; padding: 6px; background: #fff; filter: brightness(0.96); }
.dt--fotos-enteras .dt-visor { background: rgba(255, 255, 255, 0.97); }
.dt--fotos-enteras .dt-visor__flecha, .dt--fotos-enteras .dt-visor__cuenta, .dt--fotos-enteras .dt-visor__cerrar { background: rgba(0, 0, 0, 0.06); color: var(--tinta); box-shadow: none; }
/* Fotos cuadradas que traen su propio fondo (Bubba: el producto sobre gris): tarjetas
   cuadradas, así la foto las llena justa y no se recorta nada. */
.dt--fotos-cuadradas .dt-prod__foto,
.dt--fotos-cuadradas .dt-galeria__foto,
.dt--fotos-cuadradas .dt-galeria--1 .dt-galeria__foto,
.dt--fotos-cuadradas .dt-galeria--3 .dt-galeria__foto:first-child,
.dt--fotos-cuadradas .dt-mosaico,
.dt--fotos-cuadradas .dt-banner__fotos img { aspect-ratio: 1 / 1; }
.dt--fotos-cuadradas .dt-item__foto { height: 76px; }
.dt--fotos-cuadradas .dt-resultado img { height: 56px; }

/* --- La letra clásica (moda, joyas, vinos) ------------------------------------------ */
.dt--clasica .dt-portada__titulo { font-size: clamp(48px, 6.4vw, 100px); line-height: 0.96; }
.dt--clasica .dt-seccion__titulo { font-size: clamp(32px, 3.6vw, 52px); }
.dt--clasica .dt-catalogo__titulo { font-size: clamp(42px, 5.6vw, 84px); }
.dt--clasica .dt-banner__titulo { font-size: clamp(46px, 6vw, 92px); }
.dt--clasica .dt-pdp__nombre { font-size: clamp(32px, 3.4vw, 48px); }
.dt--clasica .dt-etiqueta-sup { letter-spacing: 0.14em; }
@media (max-width: 760px) { .dt--clasica .dt-portada__titulo { font-size: clamp(42px, 12vw, 58px); } }

/* ==========================================================================
   Cambio de página (View Transitions): la página vieja se va y la nueva sube;
   la foto de la tarjeta tocada se transforma en la de la página del producto.
   La barra queda quieta. Sin soporte, la página nueva sube (.dt-vista--entra).
   ========================================================================== */
@supports (view-transition-name: none) {
  .dt-barra { view-transition-name: dt-barra; }
  .dp-franja { view-transition-name: dp-franja; }
  ::view-transition-old(root) { animation: dt-vt-sale 0.3s var(--curva) both; }
  ::view-transition-new(root) { animation: dt-vt-entra 0.55s var(--curva) both; }
  ::view-transition-group(dt-foto) { animation-duration: 0.6s; animation-timing-function: var(--curva); }
  ::view-transition-old(dt-foto), ::view-transition-new(dt-foto) { height: 100%; object-fit: cover; }
  ::view-transition-old(dt-barra), ::view-transition-new(dt-barra), ::view-transition-old(dp-franja), ::view-transition-new(dp-franja) { animation: none; }
}

/* ==========================================================================
   Movimientos
   ========================================================================== */
@keyframes dt-aparece { from { opacity: 0; } }
@keyframes dt-sube { from { opacity: 0; transform: translateY(22px); } }
@keyframes dt-entra-blur { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes dt-entra-izq { from { opacity: 0; transform: translateX(-24px); } }
@keyframes dt-palabra { from { opacity: 0; transform: translateY(105%) rotate(4deg); } }
@keyframes dt-asoma { from { clip-path: inset(100% 0 0 0 round 26px); } to { clip-path: inset(0 0 0 0 round 26px); } }
@keyframes dt-acomoda { from { scale: 1.28; } to { scale: 1; } }
@keyframes dt-respira { from { scale: 1; } to { scale: 1.07; } }
@keyframes dt-chip { from { opacity: 0; transform: translateY(26px) scale(0.88); } }
@keyframes dt-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes dt-pulso { 0% { box-shadow: 0 0 0 0 var(--marca-glow); } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes dt-luz { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, -4vh) scale(1.14); } 100% { transform: translate(-5vw, 5vh) scale(0.92); } }
@keyframes dt-marquesina { to { transform: translateX(-50%); } }
@keyframes dt-progreso { to { transform: scaleX(1); } }
@keyframes dt-gota { to { transform: translate(-50%, -50%) scale(1); opacity: 0; } }
@keyframes dt-pop { 0% { transform: scale(0.82); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes dt-salta { 0% { transform: translateY(-9px); opacity: 0.3; } 100% { transform: none; opacity: 1; } }
@keyframes dt-sacudir { 0%, 100% { transform: none; } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes dt-late { 40% { transform: scale(1.35); } }
@keyframes dt-icono-late { 0% { transform: scale(1); box-shadow: 0 0 0 0 var(--marca-glow); } 35% { transform: scale(1.18); } 100% { transform: scale(1); box-shadow: 0 0 0 16px transparent; } }
@keyframes dt-desde-derecha { from { transform: translateX(calc(100% + 24px)); } }
@keyframes dt-desde-izquierda { from { transform: translateX(calc(-100% - 24px)); } }
@keyframes dt-baja { from { transform: translateY(-100%); } }
@keyframes dt-sube-hoja { from { transform: translateY(100%); } }
@keyframes dt-sube-barra { from { transform: translateY(140%); } }
@keyframes dt-hoja-entra { from { opacity: 0; transform: translateY(34px) scale(0.95); } }
@keyframes dt-item-entra { from { opacity: 0; transform: translateX(24px); } }
@keyframes dt-zoom-entra { from { opacity: 0; transform: scale(0.92); } }
@keyframes dt-aviso { from { opacity: 0; transform: translate(-50%, 26px) scale(0.9); } }
@keyframes dt-aviso-arriba { from { opacity: 0; transform: translate(-50%, -18px) scale(0.92); } }
@keyframes dt-barrer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes dt-encender { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.9; } }
@keyframes dt-dibuja { to { stroke-dashoffset: 0; } }
@keyframes dt-exito-onda { 0% { opacity: 0.22; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2.7); } }
@keyframes dt-vt-sale { to { opacity: 0; transform: translateY(-12px) scale(0.99); } }
@keyframes dt-vt-entra { from { opacity: 0; transform: translateY(20px); } }
@keyframes dp-llama { 0% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(0, 113, 227, 0); } }
@keyframes dp-telefono { from { opacity: 0; transform: rotateX(16deg) translateY(70px) scale(0.92); } }
@keyframes dp-gota-cae {
  0% { opacity: 0; transform: translateY(-48vh) scale(0.7, 1.3); }
  15% { opacity: 1; }
  92% { opacity: 1; transform: translateY(0) scale(0.85, 1.2); }
  100% { opacity: 0; transform: translateY(0) scale(1.9, 0.3); }
}
@keyframes dp-onda { 0% { opacity: 0.95; transform: scale(0.02); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes dp-intro-luz { from { opacity: 0; transform: translate(-6vmax, -6vmax); } to { opacity: 1; transform: translate(6vmax, 4vmax); } }
@keyframes dp-intro-texto {
  0% { opacity: 0; transform: translateY(16px) scale(0.96); filter: blur(10px); }
  35% { opacity: 1; transform: none; filter: blur(0); }
  72% { opacity: 1; transform: scale(1.02); filter: blur(0); }
  100% { opacity: 0; transform: scale(1.1); filter: blur(8px); }
}
@keyframes dp-intro-abre { 85% { opacity: 1; } to { --hueco: 150vmax; opacity: 0; visibility: hidden; } }
@keyframes dp-intro-sale { to { opacity: 0; visibility: hidden; } }

/* Con «reducir movimiento»: todo quieto (las animaciones terminan de una, así lo
   que se dibuja queda dibujado) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
  .dt-r { opacity: 1; translate: none; filter: none; }
}
