/* ============================================================
   VAENTY — destacados.css
   Página /destacados/: vitrina comercial semanal (fondo oscuro).
   Todo va con prefijo .dz- para no chocar con el resto del sitio.
   Animaciones: solo transform/opacity (baratas para la GPU) y todas
   se apagan con prefers-reduced-motion.
   ============================================================ */

.page-destacados {
  --dz-bg: #05070d;
  --dz-bg-2: #080b14;
  --dz-surface: #0c101b;
  --dz-surface-hover: #10162a;
  --dz-line: rgba(255,255,255,0.07);
  --dz-line-strong: rgba(255,255,255,0.14);
  --dz-text: #eef1f8;
  --dz-muted: #9aa3b8;
  --dz-cyan: #3cc8ff;
  --dz-blue: #2f6bff;
  --dz-blue-hover: #4a80ff;
  --dz-violet: #7c5cff;
  --dz-red: #e2263d;
  --dz-red-hover: #f03a50;
  --dz-ok: #34d399;
  --dz-led: #2f7bff;
  background: var(--dz-bg);
  color: var(--dz-text);
}
.page-destacados h1,
.page-destacados h2,
.page-destacados h3 { color: var(--dz-text); }

/* ─── Botones ─────────────────────────────────────────────── */
.dz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 10px;
  color: #fff;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.35s var(--ease-out);
}
.dz-btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.dz-btn:hover svg { transform: translateX(3px); }
.dz-btn:active { transform: scale(0.97); }
.dz-btn--red { background: var(--dz-red); box-shadow: 0 10px 30px -8px rgba(226,38,61,0.55); }
.dz-btn--red:hover { background: var(--dz-red-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(226,38,61,0.65); }
.dz-btn--blue { background: var(--dz-blue); box-shadow: 0 10px 30px -8px rgba(47,107,255,0.55); }
.dz-btn--blue:hover { background: var(--dz-blue-hover); transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(47,107,255,0.65); }
.dz-btn--ghost {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.dz-btn--ghost:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.dz-btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
/* Botón de encabezado de sección: lleva a la tienda ya filtrada. */
.dz-btn--outline {
  flex-shrink: 0;
  padding: 12px 22px; font-size: 16px;
  color: var(--dz-cyan);
  border: 1.5px solid rgba(60,200,255,0.45);
  background: rgba(60,200,255,0.06);
}
.dz-btn--outline:hover { background: rgba(60,200,255,0.14); border-color: var(--dz-cyan); transform: translateY(-2px); }
.dz-btn--outline-light { color: #fff; border-color: rgba(255,255,255,0.45); background: rgba(255,255,255,0.08); }
.dz-btn--outline-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }

.dz-textlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  color: var(--dz-cyan);
  white-space: nowrap;
}
.dz-textlink svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.dz-textlink:hover svg { transform: translateX(3px); }

/* ─── Entrada escalonada del hero (CSS puro, sin JS) ───────── */
.dz-in {
  opacity: 0;
  transform: translateY(18px);
  animation: dzIn 0.7s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 60ms + 40ms);
}
@keyframes dzIn { to { opacity: 1; transform: none; } }

/* ─── 1. HERO ─────────────────────────────────────────────── */
.dz-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: flex-end;
  padding: 120px 0 64px;
  background:
    radial-gradient(ellipse 50% 60% at 12% 85%, rgba(124,92,255,0.16), transparent 70%),
    var(--dz-bg);
}
.dz-hero__stage { position: absolute; inset: 0; z-index: -1; }
.dz-hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(64%, 1040px);
  overflow: hidden;
  /* La foto se funde con el fondo por la izquierda y abajo (máscara, no
     un degradado de color: así no deja costura sobre el brillo violeta). */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 24%);
  mask-composite: intersect;
}
/* Imagen + brillo LED se mueven juntos, muy lento (profundidad). */
.dz-hero__drift {
  position: absolute; inset: 0;
  transform-origin: 60% 65%;
  animation: dzDrift 38s ease-in-out infinite alternate;
  will-change: transform;
}
.dz-hero__drift img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
@keyframes dzDrift {
  from { transform: scale(1.02) translate3d(0,0,0); }
  to   { transform: scale(1.08) translate3d(-1.2%, -0.6%, 0); }
}
/* Luz del chasis: capa propia (la foto base la trae en gris) cuyo color gira
   como una tira RGB. hue-rotate sobre una capa con will-change la anima la
   GPU; el brillo de abajo va dentro, así cambia de color junto con la luz. */
.dz-hero__rgb { position: absolute; inset: 0; pointer-events: none; }
.dz-hero__rgb.is-on { animation: dzRgb 10s linear infinite; will-change: filter; }
@keyframes dzRgb {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(360deg); }
}
/* Brillo LED bajo el auto: respira suave, mezclado con la foto. */
.dz-hero__glow {
  position: absolute;
  left: 8%; right: 8%;
  top: 69%; height: 13%;
  /* Sin filter ni mix-blend-mode: obligaban a repintar en cada cuadro.
     El degradado ya es difuso y solo se anima la opacidad (GPU). */
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--dz-led), rgba(47,123,255,0.35) 38%, transparent 72%);
  opacity: 0.4;
  animation: dzGlow 5.5s ease-in-out infinite alternate;
  will-change: opacity;
  pointer-events: none;
}
@keyframes dzGlow {
  from { opacity: 0.25; }
  to   { opacity: 0.6; }
}
/* Fundidos: la foto se funde con el fondo por la izquierda, abajo y arriba. */
.dz-hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0.7) 0%, rgba(5,7,13,0) 22%);
  pointer-events: none;
}

.dz-hero__inner { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.dz-hero__copy { max-width: 680px; }

.dz-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--dz-cyan);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(60,200,255,0.3);
  background: rgba(60,200,255,0.07);
}
.dz-chip::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--dz-cyan); box-shadow: 0 0 10px var(--dz-cyan);
}

.dz-hero__title {
  margin: 22px 0 18px;
  font-size: clamp(2.7rem, 5.4vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.dz-hero__title > span { display: block; }
.dz-hero__accent {
  background: linear-gradient(95deg, var(--dz-cyan) 0%, var(--dz-blue) 55%, var(--dz-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.dz-hero__text { font-size: 1.08rem; line-height: 1.65; color: #c3cad9; max-width: 460px; }
/* Legibilidad cuando el texto roza la foto (pantallas de ~1000 px). */
.dz-hero__title > span:first-child, .dz-hero__text { text-shadow: 0 2px 22px rgba(5,7,13,0.7); }

.dz-hero__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 30px; }

/* Precio (siempre de DAIA) */
.dz-price { display: flex; flex-direction: column; gap: 4px; min-width: 150px; min-height: 62px; } /* mismo alto con y sin precio: nada salta al cargar */
.dz-price__row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.dz-price__now { font-family: var(--font-heading); font-weight: 700; font-size: 2.3rem; line-height: 1; color: #fff; }
.dz-price__old { font-size: 1rem; color: var(--dz-muted); text-decoration: line-through; }
.dz-off {
  display: inline-flex; align-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 13px; letter-spacing: 0.04em;
  color: #fff; background: var(--dz-red);
  padding: 3px 8px; border-radius: 6px;
}
.dz-stock { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--dz-ok); }
.dz-stock::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dz-stock.is-out { color: var(--dz-muted); }

.dz-skel {
  display: block; border-radius: 8px;
  background: rgba(255,255,255,0.08);
  animation: dzPulse 1.2s ease-in-out infinite alternate;
}
.dz-skel--price { width: 150px; height: 62px; }
@keyframes dzPulse { from { opacity: 0.5; } to { opacity: 1; } }

/* Tarjeta del kit (el producto real, junto al vehículo) */
.dz-kit {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 20px 12px 12px;
  border-radius: 18px;
  background: rgba(10,14,24,0.55);
  border: 1px solid var(--dz-line-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.dz-kit:hover { transform: translateY(-3px); border-color: rgba(60,200,255,0.4); }
.dz-kit img { width: 92px; height: auto; border-radius: 10px; background: #fff; }
.dz-kit__info { display: flex; flex-direction: column; gap: 2px; max-width: 170px; }
.dz-kit__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dz-muted); }
.dz-kit__name { font-family: var(--font-heading); font-weight: 700; font-size: 16px; line-height: 1.2; color: #fff; }

/* ─── 2. Franja de campaña ────────────────────────────────── */
.dz-strip {
  position: relative;
  border-top: 1px solid var(--dz-line);
  border-bottom: 1px solid var(--dz-line);
  background: linear-gradient(90deg, rgba(47,107,255,0.14), rgba(124,92,255,0.10) 45%, rgba(5,7,13,0) 100%), var(--dz-bg-2);
}
.dz-strip[hidden] { display: none; }
.dz-strip__inner { display: flex; align-items: center; gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.dz-strip__dot {
  flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--dz-cyan); box-shadow: 0 0 0 4px rgba(60,200,255,0.15), 0 0 14px var(--dz-cyan);
}
.dz-strip__text { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; margin: 0; }
.dz-strip__text strong {
  font-family: var(--font-heading); font-weight: 700; font-size: 17px;
  letter-spacing: 0.06em; text-transform: uppercase; color: #fff;
}
.dz-strip__text span { font-size: 14px; color: var(--dz-muted); }
.dz-strip__link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; color: var(--dz-cyan);
}
.dz-strip__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.dz-strip__link:hover svg { transform: translateX(3px); }
.dz-strip__link[hidden] { display: none; }

/* Apariciones al bajar: más cortas y con menos recorrido que en el resto
   del sitio, para que el contenido esté listo apenas entra en pantalla. */
.page-destacados .reveal {
  transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.page-destacados .reveal.is-visible { transform: none; }

/* ─── Secciones ───────────────────────────────────────────── */
.dz-section { padding: 88px 0; }
.dz-section--tight { padding: 0; }
.dz-head { margin-bottom: 34px; }
.dz-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.dz-head p { margin-top: 8px; color: var(--dz-muted); font-size: 1rem; }
.dz-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }

/* ─── 3 y 5. Tarjetas de producto ─────────────────────────── */
.dz-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dz-loading, .dz-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 56px 0; color: var(--dz-muted);
}

.dz-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--dz-surface);
  border: 1px solid var(--dz-line);
  border-radius: 18px;
  isolation: isolate; /* la sombra (::after, z-index -1) queda detrás del contenido */
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
/* Sombra de hover en capa aparte: se anima solo su opacidad (barato). */
.dz-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  box-shadow: 0 22px 44px -22px rgba(47,107,255,0.55);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
  pointer-events: none;
}
.dz-card:hover {
  transform: translateY(-5px);
  background-color: var(--dz-surface-hover);
  border-color: rgba(60,200,255,0.3);
}
.dz-card:hover::after { opacity: 1; }
.dz-card__media {
  position: relative; display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  background: #eef0f5;
}
.dz-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; /* aparece suave al terminar de cargar (clase is-loaded) */
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out);
}
.dz-card__media img.is-loaded { opacity: 1; }
.dz-card:hover .dz-card__media img { transform: scale(1.05); }
.dz-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.dz-card__soldout {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; background: rgba(5,7,13,0.78); padding: 4px 9px; border-radius: 6px;
}
.dz-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 16px 18px; }
.dz-card__cat { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dz-cyan); }
.dz-card__name {
  font-family: var(--font-heading); font-weight: 600; font-size: 17px; line-height: 1.25; color: var(--dz-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5em;
  transition: color 0.25s var(--ease-out);
}
.dz-card__name:hover { color: var(--dz-cyan); }
.dz-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-top: auto; }
.dz-card__price .dz-price__now { font-size: 1.45rem; }
.dz-card__price .dz-price__old { font-size: 0.88rem; }
.dz-card__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 6px;
  width: 100%;
  padding: 11px 14px;
  border: 0; border-radius: 10px;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  color: #fff; background: var(--dz-blue);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.dz-card__btn svg { width: 17px; height: 17px; }
.dz-card__btn:hover { background: var(--dz-blue-hover); }
.dz-card__btn:active { transform: scale(0.97); }
.dz-card__btn--ghost { background: transparent; border: 1px solid var(--dz-line-strong); color: var(--dz-text); }
.dz-card__btn--ghost:hover { background: rgba(255,255,255,0.06); }
.dz-card__btn.is-added { background: var(--color-whatsapp); }

/* Tarjetas de espera: mismo tamaño que las reales, así nada salta al llegar el catálogo. */
.dz-card--skel .dz-card__media { background: rgba(255,255,255,0.04); }
.dz-card--skel .dz-card__body { gap: 10px; }
.dz-card--skel .dz-skel { animation-duration: 1s; }
.dz-skel--line { height: 14px; width: 85%; }
.dz-skel--short { width: 45%; }
.dz-skel--btn { height: 40px; width: 100%; margin-top: 18px; border-radius: 10px; }
.dz-card--skel:hover { transform: none; background-color: var(--dz-surface); border-color: var(--dz-line); }
.dz-card--skel:hover::after { opacity: 0; }

/* ─── 4. Ofertas ──────────────────────────────────────────── */
/* Banda propia, distinta de Destacados y Novedades (que van sobre el fondo
   oscuro liso): degradado rojo → morado, textura diagonal y bordes con luz.
   Todo estático (sin animación): no suma trabajo al procesador. */
.dz-section--offers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0 104px;
  background:
    radial-gradient(ellipse 55% 75% at 88% 0%, rgba(124,92,255,0.42), transparent 62%),
    radial-gradient(ellipse 60% 80% at 6% 100%, rgba(226,38,61,0.5), transparent 62%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(226,38,61,0.12), transparent 70%),
    linear-gradient(135deg, #2b0713 0%, #1c0920 48%, #110a26 100%);
}
/* Textura de rayas diagonales muy suave, más visible en el centro. */
.dz-section--offers::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 18px);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 20%, transparent 75%);
  pointer-events: none;
}
/* Bordes superior e inferior con brillo rojo → morado. */
.dz-section--offers::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255,77,99,0.9) 30%, rgba(150,110,255,0.9) 70%, transparent) top / 100% 1px no-repeat,
    linear-gradient(90deg, transparent, rgba(150,110,255,0.7) 30%, rgba(255,77,99,0.7) 70%, transparent) bottom / 100% 1px no-repeat;
  box-shadow: inset 0 24px 40px -30px rgba(255,77,99,0.6), inset 0 -24px 40px -30px rgba(150,110,255,0.5);
  pointer-events: none;
}
/* Marca de agua "OFERTAS" gigante, apenas visible. */
.dz-offers__mark {
  position: absolute; right: -0.04em; bottom: -0.2em; z-index: -1;
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(6rem, 17vw, 15rem); line-height: 1; letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  white-space: nowrap; pointer-events: none; user-select: none;
}
.dz-section--offers .dz-head p { color: #d9c3cf; }
.dz-section--offers .dz-deal {
  background: linear-gradient(155deg, #170c19 0%, #0e0c19 60%, #0c0b17 100%);
  border-color: rgba(255,90,110,0.28);
  box-shadow: 0 24px 48px -30px rgba(0,0,0,0.8);
}
.dz-chip--red {
  margin-bottom: 14px;
  color: #ffd2d8;
  border-color: rgba(255,90,110,0.55);
  background: rgba(226,38,61,0.28);
}
.dz-chip--red::before { background: var(--dz-red); box-shadow: 0 0 10px var(--dz-red); }

.dz-deals { display: grid; gap: 20px; }
.dz-deals.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dz-deals.is-many { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; }
.dz-deals__list { display: flex; flex-direction: column; gap: 14px; }

.dz-deal {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(226,38,61,0.22);
  border-radius: 22px;
  background: linear-gradient(155deg, #16101c 0%, #0d101b 55%, #0b0f1a 100%);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}
/* Línea superior roja → morada: marca la zona de descuentos sin recargar. */
.dz-deal::before {
  content: ''; position: absolute; top: -1px; left: 22px; right: 22px; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--dz-red) 25%, var(--dz-violet) 75%, transparent);
  border-radius: 2px;
}
/* Sombra de hover en capa aparte: solo se anima su opacidad. */
.dz-deal::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  box-shadow: 0 26px 50px -28px rgba(226,38,61,0.55);
  opacity: 0; transition: opacity 0.35s var(--ease-out); pointer-events: none;
}
.dz-deal:hover { transform: translateY(-4px); border-color: rgba(226,38,61,0.45); }
.dz-deal:hover::after { opacity: 1; }
.dz-deal img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.35s var(--ease-out), transform 0.6s var(--ease-out); }
.dz-deal img.is-loaded { opacity: 1; }

/* Tarjeta grande */
.dz-deal--big { display: flex; flex-direction: column; }
.dz-deal__media {
  position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden;
  border-radius: 21px 21px 0 0; background: #eef0f5;
}
.dz-deal--big:hover .dz-deal__media img { transform: scale(1.04); }
.dz-deal__tag {
  position: absolute; top: 14px; left: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 74px; padding: 8px 10px 7px;
  border-radius: 14px;
  background: var(--dz-red); color: #fff;
  box-shadow: 0 10px 24px -8px rgba(226,38,61,0.7);
  font-family: var(--font-heading); line-height: 1;
}
.dz-deal__tag strong { font-size: 30px; font-weight: 700; letter-spacing: -0.01em; }
.dz-deal__tag small { margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.dz-deal__soldout { position: absolute; top: 14px; right: 14px; }
.dz-deal__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.dz-deal__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #ff6b7d; }
.dz-deal__name {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; line-height: 1.15; color: var(--dz-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.25s var(--ease-out);
}
.dz-deal__name:hover { color: var(--dz-cyan); }
.dz-deal--big .dz-deal__name { -webkit-line-clamp: 3; }
.dz-deal__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: auto; }
.dz-deal__now { font-family: var(--font-heading); font-weight: 700; font-size: 2.5rem; line-height: 1; color: #fff; }
.dz-deal__was { font-size: 0.95rem; color: var(--dz-muted); }
.dz-deal__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.dz-deal__save {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 4px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #ff8a98;
  background: rgba(226,38,61,0.12); border: 1px solid rgba(226,38,61,0.28);
}
.dz-deal__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 8px; }
.dz-deal__actions .dz-btn { padding: 13px 24px; font-size: 16px; }
.dz-deal__actions .dz-btn.is-added { background: var(--color-whatsapp); }

/* 1 o 2 ofertas: tarjeta grande en horizontal (foto a la izquierda). */
.dz-deals.is-1 .dz-deal--big,
.dz-deals.is-2 .dz-deal--big { flex-direction: row; }
.dz-deals.is-1 .dz-deal__media,
.dz-deals.is-2 .dz-deal__media { aspect-ratio: auto; border-radius: 21px 0 0 21px; }
.dz-deals.is-1 .dz-deal__media { flex: 0 0 46%; min-height: 380px; }
.dz-deals.is-2 .dz-deal__media { flex: 0 0 44%; min-height: 330px; }
.dz-deals.is-1 .dz-deal__body { padding: 40px 44px; justify-content: center; }
.dz-deals.is-1 .dz-deal__name { font-size: 2rem; }
.dz-deals.is-1 .dz-deal__now { font-size: 3rem; }
.dz-deals.is-1 .dz-deal__price { margin-top: 6px; }
.dz-deals.is-2 .dz-deal__body { padding: 26px 26px 24px; }

/* Lista compacta (3 a 5 ofertas) */
.dz-deal--row {
  flex: 1;
  display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 12px 16px 12px 12px;
  border-radius: 18px;
}
.dz-deal--row::before { left: 18px; right: 18px; }
.dz-deal__thumb { position: relative; display: block; width: 112px; height: 112px; border-radius: 12px; overflow: hidden; background: #eef0f5; }
.dz-deal__tag--sm { top: 6px; left: 6px; min-width: 0; padding: 4px 7px; border-radius: 8px; }
.dz-deal__tag--sm strong { font-size: 15px; }
.dz-deal__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dz-deal--row .dz-deal__name { font-size: 1.05rem; font-weight: 600; }
.dz-deal--row .dz-deal__price { margin-top: 0; gap: 2px 10px; }
.dz-deal--row .dz-deal__now { font-size: 1.45rem; }
.dz-deal--row .dz-deal__save { padding: 2px 8px; font-size: 12px; }
.dz-deal__add {
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--dz-red);
  box-shadow: 0 8px 20px -8px rgba(226,38,61,0.7);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}
.dz-deal__add svg { width: 20px; height: 20px; }
.dz-deal__add:hover { background: var(--dz-red-hover); transform: scale(1.06); }
.dz-deal__add:active { transform: scale(0.94); }
.dz-deal__add.is-added { background: var(--color-whatsapp); }
.dz-deal__out { font-size: 12px; font-weight: 600; color: var(--dz-muted); }

/* ─── 6. Confianza ────────────────────────────────────────── */
.dz-trust { border-top: 1px solid var(--dz-line); border-bottom: 1px solid var(--dz-line); background: var(--dz-bg-2); }
.dz-trust__inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dz-trust__item {
  display: flex; align-items: center; gap: 16px;
  padding: 34px 28px;
  border-left: 1px solid var(--dz-line);
}
.dz-trust__item:first-child { border-left: 0; padding-left: 0; }
.dz-trust__item svg { flex-shrink: 0; width: 30px; height: 30px; color: var(--dz-cyan); }
.dz-trust__item strong { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: #fff; }
.dz-trust__item span { display: block; margin-top: 2px; font-size: 14px; color: var(--dz-muted); }
a.dz-trust__item:hover strong { color: var(--dz-cyan); }

/* ─── 7. CTA final ────────────────────────────────────────── */
.dz-final { position: relative; isolation: isolate; overflow: hidden; padding: 128px 0 136px; text-align: center; }
.dz-final__light {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 40% 55% at 30% 100%, rgba(124,92,255,0.22), transparent 70%),
    radial-gradient(ellipse 40% 55% at 70% 100%, rgba(47,107,255,0.24), transparent 70%);
}
.dz-final__light::after {
  content: ''; position: absolute; left: 12%; right: 12%; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--dz-cyan), var(--dz-violet), transparent);
  box-shadow: 0 0 24px rgba(60,200,255,0.6);
}
.dz-final h2 { max-width: 20ch; margin: 0 auto 34px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; text-wrap: balance; }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dz-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dz-kit { display: none; }
}

@media (max-width: 860px) {
  /* Hero en columna: foto completa arriba (se ve el auto entero),
     texto debajo montado sobre el piso de la foto. */
  .dz-hero { display: block; min-height: 0; padding: 0 0 52px; }
  .dz-hero__stage { position: relative; inset: auto; z-index: 0; }
  .dz-hero__media {
    position: relative; width: 100%; aspect-ratio: 941 / 1000; max-height: 78svh;
    -webkit-mask-image: none; mask-image: none;
  }
  .dz-hero__media::after {
    background:
      linear-gradient(0deg, var(--dz-bg) 0%, rgba(5,7,13,0.55) 22%, rgba(5,7,13,0) 42%),
      linear-gradient(180deg, rgba(5,7,13,0.65) 0%, rgba(5,7,13,0) 18%);
  }
  .dz-hero__drift { animation: none; }
  .dz-hero__inner { margin-top: -14%; flex-direction: column; align-items: stretch; gap: 24px; }
  .dz-hero__title { margin: 16px 0 14px; }
  .dz-hero__buy { margin-top: 24px; }
  .dz-kit { display: flex; align-self: flex-start; }

  .dz-strip__inner { flex-wrap: wrap; }
  .dz-deals.is-2, .dz-deals.is-many { grid-template-columns: 1fr; }
  .dz-deals.is-1 .dz-deal--big, .dz-deals.is-2 .dz-deal--big { flex-direction: column; }
  .dz-deals.is-1 .dz-deal__media, .dz-deals.is-2 .dz-deal__media {
    flex: none; aspect-ratio: 16 / 11; min-height: 0; border-radius: 21px 21px 0 0;
  }
  .dz-deals.is-1 .dz-deal__body { padding: 24px; }
  .dz-deals.is-1 .dz-deal__name { font-size: 1.5rem; }
  .dz-deals.is-1 .dz-deal__now { font-size: 2.4rem; }
  .dz-trust__inner { grid-template-columns: 1fr; }
  .dz-trust__item, .dz-trust__item:first-child { border-left: 0; padding: 22px 0; border-top: 1px solid var(--dz-line); }
  .dz-trust__item:first-child { border-top: 0; }
}

@media (max-width: 640px) {
  .dz-section { padding: 60px 0; }
  .dz-section--offers { padding: 64px 0 72px; }
  .dz-offers__mark { font-size: 5.5rem; bottom: -0.15em; }
  .dz-head { margin-bottom: 24px; }
  .dz-head--row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .dz-head--row .dz-btn--outline { padding: 10px 18px; font-size: 15px; }
  .dz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dz-card__body { padding: 12px 12px 14px; gap: 6px; }
  .dz-card__name { font-size: 15px; }
  .dz-card__price .dz-price__now { font-size: 1.2rem; }
  .dz-card__btn { padding: 10px 8px; font-size: 13.5px; }
  .dz-card__btn svg { display: none; }
  /* Novedades: carril horizontal con imán, en lugar de otra grilla. */
  .dz-grid--rail {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -24px; padding: 4px 24px 12px; scroll-padding: 0 24px;
    scrollbar-width: none;
  }
  .dz-grid--rail::-webkit-scrollbar { display: none; }
  .dz-grid--rail > .dz-card { flex: 0 0 64%; scroll-snap-align: start; }
  .dz-grid--rail > .sr-only { position: absolute; }
  .dz-hero__buy { gap: 16px; }
  .dz-deal__body, .dz-deals.is-2 .dz-deal__body { padding: 18px 18px 20px; }
  .dz-deal__now { font-size: 2.1rem; }
  .dz-deal__name { font-size: 1.3rem; }
  .dz-deal__actions .dz-btn { flex: 1; }
  .dz-deal--row { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 12px; padding: 10px 12px 10px 10px; }
  .dz-deal__thumb { width: 84px; height: 84px; }
  .dz-deal--row .dz-deal__name { font-size: 0.98rem; }
  .dz-deal--row .dz-deal__now { font-size: 1.25rem; }
  .dz-deal__add { width: 42px; height: 42px; }
  .dz-strip__inner { align-items: flex-start; gap: 6px 12px; }
  .dz-strip__dot { margin-top: 8px; }
  .dz-strip__text { flex-basis: calc(100% - 24px); }
  .dz-strip__text strong { font-size: 16px; }
  .dz-strip__link { padding-left: 20px; }
  .dz-hero__buy .dz-btn { width: 100%; }
  .dz-kit img { width: 86px; }
  .dz-final { padding: 96px 0 104px; }
  .dz-final .dz-btn { width: 100%; max-width: 320px; }
}

@media (hover: none) {
  .dz-card:hover { transform: none; }
  .dz-card:hover::after { opacity: 0; }
  .dz-deal:hover { transform: none; }
  .dz-deal:hover::after { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .dz-in { opacity: 1; transform: none; animation: none; }
  .dz-hero__drift, .dz-hero__glow, .dz-skel, .dz-hero__rgb.is-on { animation: none; }
  .dz-card, .dz-card::after, .dz-card__media img, .dz-kit { transition: none; }
  .dz-card__media img { opacity: 1; }
  .dz-deal, .dz-deal::after, .dz-deal img { transition: none; }
  .dz-deal img { opacity: 1; }
  .page-destacados .reveal { transform: none; transition: none; }
}
