/* D’Mario Black Days 2026 — escritorio.
   Recorrido horizontal con el sistema grafico de la campana: negro de portada,
   catalogo blanco, tipografia en contorno y etiqueta de precio naranja.
   Solo se carga con raton y pantalla ancha: movil y tablet no la reciben. */

@media (min-width:1024px) and (hover:hover) and (pointer:fine) {
  html { scroll-behavior: smooth; }
  html.dx-ready body { overflow: hidden; background: #0b0b0b; }
  html.dx-ready main, html.dx-ready .navigation, html.dx-ready .quick-index, html.dx-ready .progress { display: none; }

  /* ---------- Estructura ---------- */
  html.dx-ready .dx {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    grid-template-rows: 60px minmax(0, 1fr) 66px;
    color: #fff;
    background: linear-gradient(118deg, #0c0c0c 0 52%, #111 52% 72%, #0b0b0b 72% 88%, #131313 88% 100%);
  }

  /* ---------- Barra superior ---------- */
  .dx-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 clamp(22px, 3vw, 46px);
    border-bottom: 1px solid #ffffff1f;
    position: relative;
    z-index: 3;
  }
  .dx-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; white-space: nowrap; }
  .dmario-wordmark, .dmario-lockup { display: block; width: 100%; height: 100%; object-fit: contain; }
  .dx-when {
    padding: 4px 9px;
    border: 1px solid var(--accent);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #fff;
    white-space: nowrap;
  }
  .dx-tools { margin-left: auto; display: flex; align-items: center; gap: 20px; }
  .dx-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0;
    background: none;
    border: 0;
    color: #cfcfcf;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .dx-search:hover { color: var(--accent); }
  .dx-search kbd, .dx-hint kbd {
    font: inherit;
    font-size: 10px;
    padding: 1px 5px;
    border: 1px solid #ffffff33;
    border-radius: 2px;
    color: #9a9a9a;
  }
  .dx-counter { margin: 0; display: flex; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .dx-counter strong {
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: normal;
    font-size: 19px;
    letter-spacing: .04em;
  }
  .dx-counter span { font-size: 10px; letter-spacing: .16em; color: #6f6f6f; }
  .dx-store {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--accent);
    white-space: nowrap;
  }
  .dx-store:hover { color: var(--accent); }

  /* ---------- Pista horizontal ---------- */
  .dx-track {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #f4600a #141414;
    position: relative;
  }
  .dx-track::-webkit-scrollbar { width: 10px; }
  .dx-track::-webkit-scrollbar-track { background: #141414; }
  .dx-track::-webkit-scrollbar-thumb { background: #f4600a; border: 2px solid #141414; border-radius: 999px; }
  .dx-track.is-dragging { cursor: grabbing; }
  .dx-track:focus-visible { outline: 2px solid #f34b1680; outline-offset: -4px; }
  .dx-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    grid-template-columns: minmax(0, 1fr);
  }
  .dx-inner {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(16px, 2.2vh, 28px) clamp(26px, 4.2vw, 70px);
    display: grid;
    z-index: 1;
  }

  /* ---------- Tipografia de campana ---------- */
  .dx-outline {
    position: absolute;
    z-index: 0;
    margin: 0;
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: normal;
    line-height: .74;
    letter-spacing: .015em;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px #ffffff59;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
  }
  .dx-kicker { margin: 0; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: #8f8f8f; }

  /* ---------- Etiqueta de referencia y precio ---------- */
  .dx-tag { display: grid; justify-items: start; gap: 0; text-align: left; }
  .dx-tag-ref {
    font-family: 'HelveticaLTStd-LightCond', sans-serif;
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #4a4a4a;
    white-space: nowrap;
  }
  .dx-tag-ref b {
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: .08em;
    color: #101010;
  }
  .dx-tag-before { font-size: 11px; color: #8a8a8a; text-decoration: line-through; font-variant-numeric: tabular-nums; }
  .dx-tag-price {
    margin-top: 2px;
    padding: 1px 8px 3px;
    background: var(--accent);
    color: #fff;
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(15px, 1.3vw, 20px);
    letter-spacing: .02em;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    border: 0;
  }
  .dx-tag-price:hover { background: var(--accent-ink); color: #fff; }
  .dx-slide--dark .dx-tag-ref { color: #d2d2d2; }
  .dx-slide--dark .dx-tag-ref b { color: #fff; }
  .dx-slide--dark .dx-tag-before { color: #9a9a9a; }
  .dx-slide--dark .dx-tag-price { box-shadow: 3px 3px 0 #00000059; }

  /* ---------- Portada: lamina horizontal 1920 x 1080 ---------- */
  .dx-slide--cover { display: grid; place-items: center; padding: 0; background: #050505 url('assets/cover-bg.webp') center / cover no-repeat; }
  .dx-poster {
    position: relative;
    width: min(100%, calc(100vh * 16 / 9));
    height: min(100%, calc(100vw * 9 / 16));
    container-type: size;
    overflow: hidden;
    color: #fff;
  }
  .dx-poster-bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
  .dx-poster p { position: absolute; margin: 0; white-space: nowrap; line-height: 1; }

  .dx-hasta { position: absolute; left: 51.88cqw; top: 25.46cqh; width: 3.54cqw; height: 30.28cqh; display: block; }
  .dx-official-lockup { position: absolute; z-index: 3; left: 9.17cqw; top: 43.2cqh; width: 30.99cqw; height: 11.5cqh; }
  .dx-cover-intro .dx-poster-bg { animation: cover-bg-in 1.1s cubic-bezier(.2,.75,.25,1) both; }
  .dx-cover-intro .dx-black, .dx-cover-intro .dx-days { animation: cover-wordmark-in .85s cubic-bezier(.2,.8,.2,1) both; }
  .dx-cover-intro .dx-black { animation-delay: .1s; }
  .dx-cover-intro .dx-days { animation-delay: .22s; }
  .dx-cover-intro .dx-official-lockup { animation: cover-logo-in .75s cubic-bezier(.2,.8,.2,1) .34s both; }
  .dx-cover-intro .dx-pct-num, .dx-cover-intro .dx-pct-sign, .dx-cover-intro .dx-de, .dx-cover-intro .dx-dates { animation: cover-offer-in .72s cubic-bezier(.2,.8,.2,1) .3s both; }
  @keyframes cover-bg-in { from { opacity: .45; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }
  @keyframes cover-wordmark-in { from { opacity: 0; transform: translateY(2.2cqh); } to { opacity: 1; transform: translateY(0); } }
  @keyframes cover-logo-in { from { opacity: 0; transform: translateY(1.4cqh) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
  @keyframes cover-offer-in { from { opacity: 0; transform: translateY(1.2cqh); } to { opacity: 1; } }
  .dx-black { position: absolute; display: block; height: auto; left: 5.05cqw; top: 24.81cqh; width: 39.22cqw; }
  .dx-days { position: absolute; display: block; height: auto; left: 6.82cqw; top: 60.46cqh; width: 35.31cqw; }

  .dx-pct-num, .dx-pct-sign {
    position: absolute;
    margin: 0;
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: normal;
    line-height: 1;
    background-image: url("assets/grain-50.webp?v=1");
    background-size: 6.67cqw 6.67cqw;
    background-repeat: repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(.18cqw .26cqw .1cqw #000000a6);
    transform-origin: left top;
  }
  .dx-pct-num {
    left: 55.56cqw; top: 21.13cqh;
    font-size: 22.4cqw;
    letter-spacing: .06em;
    transform: scaleX(1.3);
  }
  .dx-pct-sign {
    left: 86.13cqw; top: 28.52cqh;
    font-size: 11.2cqw;
    transform: scaleX(1.088);
  }
  .dx-de {
    right: 3.41cqw; top: 48.27cqh;
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    font-size: 1.38cqw;
    letter-spacing: .196em;
    text-transform: uppercase;
    color: #fff;
  }
  .dx-dates {
    left: 56.46cqw; top: 60.65cqh;
    width: 35.78cqw; height: 6.85cqh;
    display: grid;
    place-items: center;
    border: 1px solid #e55204;
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    padding: .28cqh 0 0 .8cqh;
    font-size: 2.23cqw;
    letter-spacing: .211em;
    text-transform: uppercase;
    color: #fff;
    font-variant-numeric: tabular-nums;
  }
  .dx-legal {
    position: absolute;
    inset: 0;
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    font-size: 1.235cqw;
    letter-spacing: .01em;
    color: #b4b4b4;
  }
  .dx-legal p { text-align: center; }
  .dx-legal p:first-child { left: 49.48cqw; right: 2.24cqw; top: 71.18cqh; }
  .dx-legal p:last-child { left: 52.08cqw; right: 4.84cqw; top: 74.18cqh; }
  .dx-legal b { font-weight: normal; text-transform: uppercase; }
  .dx-tel { display: inline-flex; align-items: center; gap: .4em; vertical-align: -.12em; }
  .dx-tel svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-width: 1.7; }

  /* BLACK / DAYS: marquesina continua (sin retorno) en sentidos contrarios */
  @keyframes dxBandRight { from { background-position-x: 0; } to { background-position-x: 62cqw; } }
  @keyframes dxBandLeft { from { background-position-x: 0; } to { background-position-x: -44cqw; } }
  .dx-band-a {
    background-repeat: repeat-x;
    opacity: .55;
    animation: dxBandRight 7s linear infinite;
    will-change: background-position;
  }
  .dx-band-b {
    background-repeat: repeat-x;
    opacity: .55;
    animation: dxBandLeft 9s linear infinite;
    will-change: background-position;
  }
  @media (prefers-reduced-motion: reduce) {
    .dx-band-a, .dx-band-b { animation: none; }
    .dx-cover-intro *, .dx-cover-intro *::before, .dx-cover-intro *::after { animation: none !important; }
  }

  /* Laminas 7 y 9: tachado naranja visible */
  .dx-slide[aria-label*="página 7"] .pg-before,
  .dx-slide[aria-label*="página 9"] .pg-before {
    text-decoration-color: #e55204;
    text-decoration-thickness: .26cqh;
    text-decoration-skip-ink: none;
  }

  /* Lamina 7: tarjetas con marco naranja */
  .dx-card7 { border: .42cqh solid #f4600a; }
  .dx-plate[aria-label="Colección Black Days, página 9"] .dx-card7,
  .dx-plate[aria-label="Colección Black Days, página 13"] .dx-card7,
  .dx-plate[aria-label="Colección Black Days, página 24"] .dx-card7 { border: 0; }
  .dx-plate[aria-label="Colección Black Days, página 9"] .pg-fill.dx-card7,
  .dx-plate[aria-label="Colección Black Days, página 13"] .pg-fill.dx-card7,
  .dx-plate[aria-label="Colección Black Days, página 24"] .pg-fill.dx-card7 { background: transparent !important; }

  /* Separador entre laminas claras: banda negra con filete naranja */
  .dx-gap {
    position: relative;
    display: grid;
    place-items: center;
    height: 9vh;
    background: #050505;
    flex: none;
  }
  .dx-gap span { display: block; width: 7cqw; height: .22cqh; background: #f4600a; }

  /* ---------- Lamina 2: ficha de producto ---------- */
  .dx-slide--product { display: grid; place-items: center; padding: 0; background: #050505 url('assets/p2-bg.svg') center / cover no-repeat; }
  .dx-poster--p2 { background: #070707; }
  .dx-p2-fondo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
  .dx-black2 { position: absolute; display: block; height: auto; left: 3.9cqw; top: 27.2cqh; width: 32.4cqw; }
  .dx-rule2 { position: absolute; left: 5.9cqw; top: 51.2cqh; width: 28.7cqw; height: .58cqh; background: #f4600a; }
  .dx-days2 { position: absolute; display: block; height: auto; left: 3.9cqw; top: 60.0cqh; width: 33.0cqw; }
  .dx-watch {
    position: absolute;
    left: 37.4cqw; top: 1.4cqh;
    width: 31.6cqw; height: auto;
    object-fit: contain;
    filter: drop-shadow(0 1cqh 2.2cqh #000000aa);
    pointer-events: none;
  }
  .dx-buy2 { position: absolute; inset: 0; }
  .dx-buy2 p { position: absolute; margin: 0; white-space: nowrap; line-height: 1; text-align: center; }
  .dx-buy2-ref {
    left: 68.4cqw; width: 24.4cqw; top: 28.9cqh;
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    font-size: 1.95cqw;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #fff;
  }
  .dx-buy2-before {
    left: 68.4cqw; width: 24.4cqw; top: 34.4cqh;
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    font-size: 3.15cqw;
    letter-spacing: .04em;
    color: #fff;
    text-decoration: line-through;
    text-decoration-thickness: .12cqw;
    font-variant-numeric: tabular-nums;
  }
  .dx-buy2-price {
    left: 71.9cqw; top: 42.7cqh;
    width: 23.7cqw; height: 10.4cqh;
    display: grid;
    place-items: center;
    padding-bottom: 1.2cqh;
    background: #f4600a;
    border-radius: 1.5cqh;
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-size: 4.15cqw;
    letter-spacing: .01em;
    color: #fff;
    font-variant-numeric: tabular-nums;
    text-align: center;
  }
  .dx-buy2-cta {
    position: absolute;
    left: 71.6cqw; top: 54.3cqh;
    width: 25cqw; height: 10.9cqh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6cqh;
    box-sizing: border-box;
    white-space: nowrap;
    border: .24cqh solid #f4600a;
    border-radius: 5.45cqh;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-family: 'Poppins-SemiBold', Arial, sans-serif;
    font-size: 3.05cqw;
    line-height: 1;
    letter-spacing: .01em;
    transition: background .18s, border-color .18s;
  }
  .dx-buy2-cta:hover { background: #f4600a; border-color: #f4600a; }
  .dx-buy2-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
  .dx-buy2-cart { width: 1.15em; height: 1.15em; flex: none; }
  .dx-buy2-sep { width: .06em; height: .95em; background: #ffffff; display: block; flex: none; }

  /* ---------- Paginador de laminas ---------- */
  .dx-pager {
    position: fixed;
    left: 50%;
    bottom: clamp(8px, 1.4vh, 18px);
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 8;
  }
  .dx-dot {
    width: 36px;
    height: 26px;
    padding: 0;
    border: 0;
    background: none;
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  .dx-dot::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff3d;
    transition: background .18s, height .18s;
  }
  .dx-dot:hover::before { background: #ffffff8c; }
  .dx-dot:focus-visible { outline: 2px solid #ffffff8c; outline-offset: 2px; }
  .dx-dot[aria-current="true"]::before { background: #e55204; height: 3px; }

  /* ---------- Pagina de catalogo (blanca) ---------- */
  .dx-slide--paper { background: #fff; color: #101010; }
  .dx-paper {
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: clamp(8px, 1.4vh, 18px);
  }
  .dx-paper-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #101010;
  }
  .dx-paper-head b {
    font-family: 'HelveticaLTStd-Comp', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(11px, 1vw, 13px);
    letter-spacing: .36em;
  }
  .dx-paper-head span { font-size: 8px; letter-spacing: .3em; text-transform: uppercase; color: #5f5f5f; }
  .dx-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(0, 1fr);
    gap: clamp(6px, 1.2vh, 16px) clamp(14px, 2.2vw, 42px);
    min-height: 0;
    overflow: hidden;
  }
  .dx-grid--1 { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .dx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dx-item {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 5px;
    height: 100%;
    min-height: 0;
    margin: 0;
    align-content: start;
  }
  .dx-grid--1 .dx-item { width: min(64vh, 560px, 100%); }
  .dx-item-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: none;
    border: 0;
  }
  .dx-item-photo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .dx-item-photo:hover img { opacity: .88; }
  .dx-grid--1 .dx-tag { justify-items: center; text-align: center; }
  .dx-paper-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #5f5f5f;
  }
  .dx-paper-foot a { color: #101010; text-decoration: none; border-bottom: 1px solid #101010; }
  .dx-paper-foot a:hover { color: var(--accent); border-color: var(--accent); }

  /* ---------- Cierre ---------- */
  .dx-close {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(28px, 4vw, 76px);
    max-width: 1180px;
  }
  .dx-close-info { align-self: center; }
  .dx-close .dx-outline { left: -0.02em; bottom: -0.22em; font-size: clamp(60px, 7vw, 106px); }
  .dx-sedes { display: grid; gap: clamp(5px, 1.1vh, 13px); margin: clamp(12px, 2vh, 22px) 0 0; }
  .dx-sede { display: grid; gap: 1px; text-decoration: none; }
  .dx-sede b {
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(14px, 1.25vw, 18px);
    letter-spacing: .04em;
  }
  .dx-sede span { font-family: 'HelveticaLTStd-LightCond', sans-serif; font-size: clamp(12px, 1vw, 14px); letter-spacing: .04em; color: #d6d6d6; }
  .dx-sede:hover b, .dx-sede:hover span { color: var(--accent); }
  .dx-close-social { display: grid; gap: 6px; align-content: center; align-self: center; }
  .dx-rule { height: 1px; background: #ffffff40; margin: 2px 0 8px; }
  .dx-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    color: #fff;
    text-decoration: none;
    font-size: clamp(12px, 1vw, 14px);
    letter-spacing: .08em;
  }
  .dx-link:hover { color: var(--accent); }
  .dx-link svg { width: 15px; height: 15px; flex: none; }
  .dx-close-store {
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    justify-self: start;
    padding: 6px 0;
  }
  .dx-close-store:hover { color: var(--accent); }

  /* ---------- Riel inferior ---------- */
  .dx-rail {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    padding: 0 clamp(22px, 3vw, 46px);
    border-top: 1px solid #ffffff1f;
    position: relative;
    z-index: 3;
  }
  .dx-hint {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 8px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #6f6f6f;
    white-space: nowrap;
  }
  .dx-ticks { display: flex; align-items: center; gap: 2px; flex: 1; min-width: 0; }
  .dx-tick { flex: 1 1 0; max-width: 46px; height: 28px; padding: 0; background: none; display: grid; align-items: center; }
  .dx-tick::before { content: ''; display: block; height: 1px; background: #ffffff33; transition: background .16s, height .16s; }
  .dx-tick:hover::before { background: #ffffff99; }
  .dx-tick[aria-current="true"]::before { background: var(--accent); height: 3px; }
  .dx-arrows { display: flex; gap: 6px; }
  .dx-arrows button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: none;
    border: 1px solid #ffffff33;
    color: #fff;
    transition: border-color .18s, color .18s;
  }
  .dx-arrows button:hover { border-color: var(--accent); color: var(--accent); }
  .dx-arrows button[disabled] { opacity: .3; cursor: default; border-color: #ffffff1f; color: #fff; }
  .dx-arrows svg { width: 15px; height: 15px; }

  /* ---------- Indice ---------- */
  #page-index {
    max-width: 620px;
    margin: auto;
    top: 0; right: 0; bottom: 0; left: 0;
    max-height: 74vh;
    border: 1px solid #ffffff1f;
    border-radius: 0;
    box-shadow: 0 30px 80px #000000a6;
  }
  #page-index[open] { display: block; }
  #index-pages { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: 20px; }
  #index-pages .index-chip:hover, #index-pages .index-chip:focus-visible { border-color: #f4600a; color: #fff; outline: none; }

  /* ---------- Ficha de producto ---------- */
  #product-dialog { max-width: 900px; width: min(900px, calc(100% - 64px)); max-height: min(84vh, 700px); border-radius: 0; }
  #product-dialog[open] { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .product-visual { height: 100%; min-height: 0; padding: 38px; }
  .product-visual img { height: 100%; max-height: min(66vh, 540px); }
  .product-details { padding: 42px 38px 30px; }
  #product-dialog h1 { font-size: 40px; }
  .price-block strong { font-size: 38px; }
  .close-dialog { right: 16px; top: 16px; }

  /* ---------- Asesoria ---------- */
  .wa-launch { z-index: 45; right: 30px; bottom: 170px; width: 48px; height: 48px; }
  #whatsapp-sheet {
    max-width: 520px;
    margin: auto;
    top: 0; right: 0; bottom: 0; left: 0;
    max-height: 80vh;
    border: 1px solid #ffffff1f;
    border-radius: 0;
    box-shadow: 0 30px 80px #000000a6;
  }
}

@media (min-width:1024px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  .dx-tick::before, .dx-arrows button, .dx-search, .dx-store, .dx-link, .dx-item-photo img { transition: none; }
}

/* Version de una sola pagina: la portada es la unica lamina de escritorio. */
@media (min-width:1024px) and (hover:hover) and (pointer:fine) {
  html.dx-single .dx { grid-template-rows: minmax(0, 1fr); }
  html.dx-single .dx-bar,
  html.dx-single .dx-rail { display: none; }
}

/* ---------- Laminas de catalogo: fichas del diseno aprobado ---------- */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
  .dx-plate { display: grid; place-items: center; padding: 0; }
  .dx-plate-inner {
    position: relative;
    width: min(100%, calc(100vh * 16 / 9));
    height: min(100%, calc(100vw * 9 / 16));
    container-type: size;
    overflow: hidden;
  }
  .dx-plate--light .dx-plate-inner { background: #fefefe; color: #101010; }
  .dx-plate--dark .dx-plate-inner { background: #050505; color: #f5f5f5; }
  .dx-plate--approved::before {
    content: '';
    position: absolute;
    inset: -36px;
    background: var(--approved-backdrop) center / cover no-repeat;
    filter: blur(32px);
    opacity: .72;
    pointer-events: none;
  }
  .dx-plate--no-blur::before { display: none; }
  .dx-approved-art { display: block; width: 100%; height: 100%; }
  .dx-plate--programmatic .dx-plate-inner { background: #fff; }
  .dx-plate--programmatic-16 .dx-plate-inner { background: #000 url('assets/p16-background.png?v=20261112-2') center / 100% 100% no-repeat; }
  .p14-product { position: absolute; inset: 0 auto 0 0; width: 15.2%; color: #101010; }
  /* Page 15 cards are children after the logo and divider. The broad
     p14 nth-child rules below must never override their four-column grid. */
  .dx-plate--programmatic-15 .p15-product { width: 18%; }
  .dx-plate--programmatic-15 .p15-product:nth-of-type(1) { left: 5%; }
  .dx-plate--programmatic-15 .p15-product:nth-of-type(2) { left: 28.5%; }
  .dx-plate--programmatic-15 .p15-product:nth-of-type(3) { left: 52%; }
  .dx-plate--programmatic-15 .p15-product:nth-of-type(4) { left: 75.5%; }
  .p16-product { width: 31.5%; height: 52%; border: .18cqh solid #f05a0a; border-radius: 5cqh; box-sizing: border-box; }
  .p16-product:nth-child(2) { left: 30.6%; top: 13.5%; }
  .p16-product:nth-child(3) { left: 63.4%; top: 13.2%; }
  .p16-product:nth-child(4) { left: 39%; top: 67.5%; width: 41%; height: 30%; border: 0; border-radius: 0; }
  .p14-product:nth-child(2) { left: 0; }
  .p14-product:nth-child(3) { left: 15.8%; }
  .p14-product:nth-child(4) { left: 31.6%; }
  .p14-product:nth-child(5) { left: 47.4%; }
  .p14-product:nth-child(6) { left: 63.2%; }
  .p14-product:nth-child(7) { left: 79%; }
  .p14-photo { position: absolute; left: 8%; top: 18%; width: 84%; height: 49%; object-fit: contain; }
  .p15-photo { position: absolute; left: 4%; top: 16%; width: 92%; height: 53%; object-fit: contain; }
  .p16-photo { position: absolute; left: 3%; top: 2%; width: 34%; height: 96%; object-fit: contain; }
  .p16-product:nth-child(4) .p16-photo { left: 0; top: 0; width: 32%; height: 100%; }
  .p14-ref, .p14-before, .p15-ref, .p15-before, .p16-ref, .p16-before { position: absolute; left: 0; width: 100%; margin: 0; text-align: center; line-height: 1; white-space: nowrap; }
  .p14-ref { top: 70.5%; font: 3.15cqh 'HelveticaLTStd-Cond', Arial, sans-serif; }
  .p14-before { top: 74%; font: 3.55cqh 'HelveticaLTStd-LightCond', Arial, sans-serif; text-decoration: line-through; }
  .p14-price { position: absolute; top: 78.7%; left: 7%; width: 86%; height: 5%; display: grid; place-items: center; border-radius: 2.5cqh; background: #e55204; color: white; text-decoration: none; font: 700 4.1cqh 'HelveticaLTStd-BoldCond', Arial, sans-serif; }
  .p14-cta { position: absolute; top: 87%; left: 7%; width: 86%; height: 5%; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 1.2cqh; border: .24cqh solid #e55204; border-radius: 2.5cqh; color: #101010; background: white; text-decoration: none; font: 3.2cqh 'Poppins-SemiBold', Arial, sans-serif; }
  .p14-cta:hover { color: white; background: #e55204; }
  .p15-ref { top: 72%; font: 3.3cqh 'HelveticaLTStd-Cond', Arial, sans-serif; }
  .p15-before { top: 75.8%; font: 3.5cqh 'HelveticaLTStd-LightCond', Arial, sans-serif; text-decoration: line-through; }
  .p15-price { position: absolute; top: 80%; left: 7%; width: 86%; height: 5.5%; display: grid; place-items: center; border-radius: 2.7cqh; background: #e55204; color: white; text-decoration: none; font: 700 4.3cqh 'HelveticaLTStd-BoldCond', Arial, sans-serif; }
  .p15-cta { position: absolute; top: 89%; left: 7%; width: 86%; height: 6.2%; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 1.2cqh; border: .24cqh solid #e55204; border-radius: 3cqh; color: #101010; background: white; text-decoration: none; font: 3.7cqh 'Poppins-SemiBold', Arial, sans-serif; }
  .p15-cta:hover { color: white; background: #e55204; }
  .p16-ref { top: 31%; left: 42%; width: 55%; font: 3.4cqh 'HelveticaLTStd-Cond', Arial, sans-serif; }
  .p16-before { top: 42%; left: 42%; width: 55%; font: 3.6cqh 'HelveticaLTStd-LightCond', Arial, sans-serif; text-decoration: line-through; }
  .p16-price { position: absolute; top: 53%; left: 42%; width: 45%; height: 11%; display: grid; place-items: center; border-radius: 2.8cqh; background: #e55204; color: white; text-decoration: none; font: 700 4.5cqh 'HelveticaLTStd-BoldCond', Arial, sans-serif; }
  .p16-cta { position: absolute; top: 70%; left: 38%; width: 54%; height: 12%; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 1.2cqh; border: .3cqh solid #e55204; border-radius: 3cqh; color: #101010; background: white; text-decoration: none; font: 3.9cqh 'Poppins-SemiBold', Arial, sans-serif; }
  .p16-product:nth-child(4) .p16-ref { left: 61%; top: 8%; width: 37%; }
  .p16-product:nth-child(4) .p16-before { left: 61%; top: 25%; width: 37%; }
  .p16-product:nth-child(4) .p16-price { left: 61%; top: 43%; width: 37%; height: 20%; }
  .p16-product:nth-child(4) .p16-cta { left: 55%; top: 72%; width: 44%; height: 24%; }
  .p16-cta:hover { color: white; background: #e55204; }
  .p14-cta:focus-visible, .p14-price:focus-visible { outline: 2px solid #101010; outline-offset: 3px; }
  .dx-photo-detail { position: absolute; z-index: 2; background: transparent; cursor: zoom-in; }
  .dx-photo-detail:focus-visible { outline: 3px solid #f4600a; outline-offset: -3px; }
  .dx-approved-link { position: absolute; z-index: 4; border-radius: 4px; }
  .dx-approved-link:focus-visible { outline: 3px solid #f4600a; outline-offset: 3px; }
  .pg-logo { position: absolute; display: block; object-fit: contain; object-position: right center; }
  .pg-rule { position: absolute; display: block; background: currentColor; }
  .pg-band { position: absolute; display: block; }
  .pg-fill { position: absolute; display: block; }
  .pg-fill { pointer-events: none; }
  .pg-wave-base { background: url('assets/p22-wave.svg') center / 100% 100% no-repeat !important; }
  .pg-p22-foreground { pointer-events: none; }
  .pg-art { position: absolute; display: block; }
  .pg-watch-clickable { cursor: zoom-in; }
  .pg-watch-clickable:focus-visible { outline: 3px solid #f4600a; outline-offset: 3px; }
  .pg-foreground-hit { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 31%; padding: 0; border: 0; background: transparent; cursor: zoom-in; clip-path: polygon(0 0, 78% 0, 100% 38%, 100% 57%, 78% 100%, 0 100%); }
  .pg-foreground-hit:focus-visible { outline: 3px solid #f4600a; outline-offset: -3px; }
  .pg-clip { position: absolute; display: block; overflow: hidden; }
  .pg-line { position: absolute; display: block; }
  .pg-text {
    position: absolute;
    margin: 0;
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    line-height: 1.05;
    white-space: pre-line;
  }
  .pg-shot { position: absolute; display: block; object-fit: contain; }
  .dx-plate .pg-shot, .dx-plate .pg-clip, .dx-plate .pg-ref, .dx-plate .pg-before, .dx-plate .pg-pill, .dx-plate .pg-cta, .dx-plate .pg-logo,
  .dx-plate .pg-logo, .dx-plate .pg-text, .dx-plate .pg-art, .dx-plate .dx-photo-detail, .dx-plate .dx-approved-link {
    opacity: 0;
    animation: reference-arrive .82s cubic-bezier(.2,.8,.2,1) both;
    animation-delay: calc(var(--ref-index, 0) * 90ms + 120ms);
  }
  .dx-plate .pg-before { --ref-index: 1; }
  .dx-plate .pg-ref { --ref-index: 2; }
  .dx-plate .pg-pill { --ref-index: 3; }
  .dx-plate .pg-cta { --ref-index: 4; }
  .dx-plate .pg-logo, .dx-plate .pg-text, .dx-plate .pg-art { --ref-index: 1; }
  .dx-plate .pg-clip { --ref-index: 0; }
  .dx-plate-inner { animation: plate-arrive .65s ease-out both; }
  @keyframes reference-arrive {
    from { opacity: 0; translate: 0 16px; scale: .985; filter: blur(3px); }
    to { opacity: 1; translate: 0 0; scale: 1; filter: blur(0); }
  }
  @keyframes plate-arrive { from { opacity: .86; } to { opacity: 1; } }
  @media (prefers-reduced-motion: reduce) {
    .dx-plate .pg-shot, .dx-plate .pg-clip, .dx-plate .pg-ref, .dx-plate .pg-before, .dx-plate .pg-pill, .dx-plate .pg-cta, .dx-plate .pg-logo,
    .dx-plate .pg-logo, .dx-plate .pg-text, .dx-plate .pg-art, .dx-plate .dx-photo-detail, .dx-plate .dx-approved-link, .dx-plate-inner {
      opacity: 1; animation: none; filter: none; translate: none; scale: 1;
    }
  }
  .pg-ref, .pg-before {
    position: absolute;
    margin: 0;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .pg-ref {
    font-family: 'HelveticaLTStd-Cond', Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
  }
  .pg-before {
    font-family: 'HelveticaLTStd-LightCond', Arial, sans-serif;
    text-decoration: line-through;
    text-decoration-thickness: .08cqh;
  }
  .pg-pill {
    position: absolute;
    display: grid;
    place-items: center;
    background: var(--desktop-price-pill, #e55204);
    color: #fff;
    text-decoration: none;
    line-height: 1;
    letter-spacing: .01em;
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-variant-numeric: tabular-nums;
    transition: filter .18s;
  }
  /* Tratamiento comun de precio en todas las laminas de escritorio. */
  .pg-pill, .p14-price, .p15-price, .p16-price {
    background-color: var(--desktop-price-pill, #e55204);
    color: #fff;
    border-radius: 999px;
    font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }
  /* Los textos de cada ficha van por encima de las fotos: las fotos de catalogo
     son rectangulos opacos y tapaban la cola de REF / precio de la ficha vecina. */
  .pg-ref, .pg-before, .pg-pill, .pg-cta { z-index: 3; }
  .pg-price { display: block; white-space: nowrap; }
  .pg-pill:hover { filter: brightness(1.07); }
  .pg-pill:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  .pg-cta {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.3cqh;
    box-sizing: border-box;
    white-space: nowrap;
    border: .1cqh solid currentColor;
    color: inherit;
    background: transparent;
    text-decoration: none;
    line-height: 1;
    font-family: 'Poppins-SemiBold', Arial, sans-serif;
    letter-spacing: .01em;
    transition: background .18s, color .18s;
  }
  .dx-plate--dark .pg-cta { border-color: #e55204; }
  .pg-cta:hover { background: #e55204; border-color: #e55204; color: #fff; }
  .pg-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
  .pg-cta--fit { padding: 0; gap: .24em; }
  .pg-cart-wrap { display: inline-flex; align-items: center; justify-content: center; flex: none; }
  .pg-cta-label { display: inline-block; font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif; font-weight: normal; letter-spacing: .035em; }
  .pg-cta--fit .pg-cart { width: 1.2em; height: 1.2em; }
  .pg-cta--fit .pg-sep { height: .85em; }
  .pg-cart { width: 1.35em; height: 1.35em; flex: none; }
  .pg-sep { display: block; width: .07em; height: .92em; background: currentColor; flex: none; }
  .pg-cta:hover .pg-sep { background: #fff; }

  /* Navegacion de coleccion: paso, indice y progreso siempre localizables. */
  .dx-nav {
    position: fixed;
    z-index: 12;
    top: clamp(10px, 1.5vh, 18px);
    left: 50%;
    transform: translateX(-50%);
    width: min(500px, 52vw);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 9px;
    color: #fff;
    background: rgba(10,10,10,.82);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
    backdrop-filter: blur(14px);
  }
  .dx-nav-step, .dx-nav-index {
    flex: none;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: inherit;
    background: transparent;
    font: inherit;
    font-size: 11px;
    letter-spacing: .08em;
    cursor: pointer;
    transition: color .2s, background .2s, border-color .2s, transform .2s;
  }
  .dx-nav-step { width: 36px; padding: 0; }
  .dx-nav-step svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .dx-nav-step:hover:not(:disabled), .dx-nav-index:hover { border-color: #f4600a; color: #fff; background: #f4600a; transform: translateY(-1px); }
  .dx-nav-step:disabled { opacity: .38; cursor: default; }
  .dx-nav-home { border-color: rgba(244,96,10,.65); color: #ff9a60; }
  .dx-nav-step:focus-visible, .dx-nav-index:focus-visible { outline: 2px solid #f4600a; outline-offset: 3px; }
  .dx-nav-status { flex: 1; min-width: 0; display: grid; gap: 4px; justify-items: center; }
  .dx-nav-count { color: #fff; font-family: 'HelveticaLTStd-BoldCond', Arial, sans-serif; font-size: 12px; letter-spacing: .13em; font-variant-numeric: tabular-nums; }
  .dx-nav-progress-track { width: min(100%, 146px); height: 2px; display: block; overflow: hidden; background: rgba(255,255,255,.25); }
  .dx-nav-progress-fill { width: 100%; height: 100%; display: block; background: #f4600a; transform: scaleX(0); transform-origin: left center; transition: transform .28s ease-out; }
  .dx-nav-store { color: inherit; text-decoration: none; font-size: 10px; letter-spacing: .06em; white-space: nowrap; border-bottom: 1px solid #f4600a; padding: 6px 2px; }
  .dx-nav-store:hover { color: #ff8a4b; }
  .dx-nav-store:focus-visible { outline: 2px solid #f4600a; outline-offset: 3px; }

  /* La entrada por lámina usa solo transform y opacidad; conserva nítidas las fotos. */
  .dx-scroll-gsap .dx-plate .pg-shot,
  .dx-scroll-gsap .dx-plate .pg-art,
  .dx-scroll-gsap .dx-plate .dx-approved-art,
  .dx-scroll-gsap .dx-plate .pg-clip,
  .dx-scroll-gsap .dx-plate .pg-ref,
  .dx-scroll-gsap .dx-plate .pg-before,
  .dx-scroll-gsap .dx-plate .pg-pill,
  .dx-scroll-gsap .dx-plate .pg-cta,
  .dx-scroll-gsap .dx-plate .pg-logo,
  .dx-scroll-gsap .dx-plate .pg-text,
  .dx-scroll-gsap .dx-slide--product .dx-watch { animation: none !important; opacity: 1; translate: none; scale: 1; }
}

@media (min-width:1024px) and (hover:hover) and (pointer:fine) { .dmario-wordmark--black, .dmario-lockup--black { filter: brightness(0); } }

@media (max-width:1150px) and (min-width:1024px) and (hover:hover) and (pointer:fine) {
  .dx-nav { width: min(440px, 64vw); }
  .dx-nav-store { display: none; }
}

@media (prefers-reduced-motion: reduce) and (min-width:1024px) and (hover:hover) and (pointer:fine) {
  .dx-nav-step, .dx-nav-index, .dx-nav-progress-fill { transition: none; }
}

@media (min-width: 901px) { .dx-slide[aria-label="Colección Black Days, página 16"] .dx-plate-inner { background: #fff url("assets/p16-background.png?v=20261112-2") center / 100% 100% no-repeat !important; } }
