/* ============================================================
   FICHA DE PRODUCTO — rediseño (octubre 2026)
   Lo carga producto.html DESPUÉS de styles.css. Todo va bajo .pdp / .pdp-main (clases pdp-*), así no pisa
   nada de las otras páginas. js/producto.js sigue leyendo los mismos ids, .console-btn, .account-btn,
   [data-value] y [data-tour]; las clases visuales (.active, .is-out, .is-hidden, .is-sold) las pone él.
   Reglas de esta hoja:
     · espaciado en escala 4/8/12/16/24/32/48
     · texto >= 12px y >= 4.5:1 sobre su fondo (3:1 el grande); táctiles >= 44px
     · glow SOLO en la opción elegida y en el botón de compra
     · movimiento de 150–250 ms, apagado con prefers-reduced-motion
   ============================================================ */

.pdp-main {
  --pdp-surface: #0d1428;
  --pdp-surface-2: #111a33;
  --pdp-surface-3: #16213f;
  --pdp-line: rgba(139, 92, 246, 0.16);
  --pdp-line-soft: rgba(255, 255, 255, 0.07);
  --pdp-text: #eef1fb;
  --pdp-soft: #c9d3ee;
  --pdp-muted: #aab8dc;
  --pdp-dim: #8f9dc4;
  --pdp-violet: #7c3aed;
  --pdp-violet-2: #8b5cf6;
  --pdp-violet-soft: rgba(124, 58, 237, 0.14);
  --pdp-lilac: #c4b5fd;
  --pdp-blue: #60a5fa;
  --pdp-ok: #6ee7b7;
  --pdp-bad: #fca5a5;
  --pdp-focus: #c4b5fd;
  --pdp-t: 0.2s ease;
}

/* El fondo del dueño (el de la Home) lo pone la regla compartida de styles.css para toda la tienda. */

/* styles.css tiene reglas por id (#product-title, #summary-price, #btn-buy-now, #btn-add-cart) que comparte
   psplus_producto.html y por eso no se tocan: acá se pisan con más especificidad (.pdp #id). */
.pdp #product-title { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.12; letter-spacing: -0.005em; }
.pdp #product-title.is-long { font-size: clamp(24px, 2.1vw, 30px); }
.pdp #summary-price { color: #b69cff !important; }
.pdp #btn-buy-now:disabled, .pdp #btn-buy-now[aria-disabled="true"] { opacity: 1; }
.pdp #btn-add-cart:disabled, .pdp #btn-add-cart[aria-disabled="true"] { opacity: 0.75; }

/* Un atributo hidden gana siempre sobre los display de esta hoja */
.pdp [hidden] { display: none !important; }

/* Solo lectores de pantalla */
.pdp-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Contenedor de la página ───────────────────────────────── */
.client-main.pdp-main {
  width: 100%; max-width: 1320px; margin: 0 auto;
  padding: 12px 32px 64px;
  gap: 16px;
  align-content: start;
}

.pdp-main .breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin: 0; color: var(--pdp-dim); font: 500 15px/1.3 "Rajdhani", sans-serif;
}
.pdp-main .breadcrumb a { color: var(--pdp-muted); text-decoration: none; transition: color var(--pdp-t); }
.pdp-main .breadcrumb a:hover { color: var(--pdp-lilac); }
.pdp-main .breadcrumb a:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 2px; border-radius: 6px; }
body.has-header-px .pdp-main .breadcrumb a { min-height: 32px; }
.pdp-main .breadcrumb > span:last-child { color: var(--pdp-soft); overflow-wrap: anywhere; }

/* ── Grilla: izquierda producto, derecha compra ────────────── */
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  grid-template-rows: auto auto auto 1fr;
  grid-template-areas:
    "crumb buy"
    "media buy"
    "about buy"
    ".     buy";
  column-gap: 48px;
  row-gap: 24px;
  align-items: start;
  color: var(--pdp-text);
}
.pdp > .breadcrumb { grid-area: crumb; margin-bottom: -8px; }
.pdp-media { grid-area: media; min-width: 0; }
.pdp-buy { grid-area: buy; min-width: 0; }
.pdp-about { grid-area: about; min-width: 0; }
.pdp-benefits { grid-area: ben; min-width: 0; }

/* ── Imagen única ──────────────────────────────────────────── */
.pdp-cover {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1 / 1; width: 100%;
  border-radius: 20px;
  isolation: isolate;
}
/* Fondo ambiental: la misma portada, ampliada, desenfocada y oscurecida, llena el recuadro (sin franjas vacías). */
.pdp-cover-bg {
  /* Resplandor: la misma portada, desenfocada, asoma por detrás y debajo (como una luz ambiente del color del juego) */
  position: absolute; inset: 8% 6% -2%; z-index: -1; border-radius: 24px;
  background: var(--pdp-cover-url, none) center / cover no-repeat;
  filter: blur(36px) saturate(1.4);
  opacity: 0; transform: translateY(14px); transition: opacity 0.35s ease;
  pointer-events: none;
}
.pdp-cover.has-image .pdp-cover-bg { opacity: 0.55; }
.pdp-cover.is-loading, .pdp-cover.is-fallback { background: linear-gradient(160deg, #0f1831 0%, #0a1124 100%); overflow: hidden; }
/* La portada nítida "flota" encima: alto del recuadro menos un margen, ancho según su proporción, nunca recortada. */
.pdp-cover-img {
  position: absolute; z-index: 1; display: block;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: auto; height: auto; max-width: 100%; max-height: 100%;
  object-fit: contain; object-position: center;
  border-radius: 20px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.07);
  opacity: 0; transition: opacity 0.25s ease;
}
.pdp-cover.has-image .pdp-cover-img { opacity: 1; }
.pdp-cover-fallback { position: relative; z-index: 1; }
.pdp-cover-fallback { display: none; width: 72px; height: 72px; color: rgba(167, 139, 250, 0.5); }
.pdp-cover.is-fallback .pdp-cover-fallback { display: inline-flex; }
.pdp-cover.is-loading::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(139, 92, 246, 0.1) 50%, transparent 80%);
  background-size: 200% 100%;
  animation: pdp-shimmer 1.4s linear infinite;
}
@keyframes pdp-shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* ── Descripción ───────────────────────────────────────────── */
.pdp-about-title {
  margin: 0 0 8px;
  color: var(--pdp-dim); font: 700 13px/1.2 "Oxanium", sans-serif; letter-spacing: 0.16em; text-transform: uppercase;
}
.pdp-desc {
  margin: 0;
  color: var(--pdp-soft); font: 500 17px/1.55 "Rajdhani", sans-serif;
  white-space: pre-line; overflow-wrap: anywhere;
}
/* Recortada: el texto corre seguido (4 líneas llenas); al expandir se respetan los párrafos de la descripción real */
.pdp-desc.is-collapsed {
  white-space: normal;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4;
  overflow: hidden;
}
.pdp-desc-toggle {
  display: inline-flex; align-items: center; min-height: 44px; margin: 4px 0 0; padding: 0;
  border: 0; background: none; cursor: pointer;
  color: var(--pdp-lilac); font: 600 16px/1 "Rajdhani", sans-serif;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(196, 181, 253, 0.4);
  transition: color var(--pdp-t);
}
.pdp-desc-toggle:hover { color: #fff; }
.pdp-desc-toggle:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 2px; border-radius: 6px; }

/* ── Beneficios: una sola caja con 4 ítems ─────────────────── */
.pdp-benefits {
  list-style: none; margin: 0; padding: 16px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px;
  background: rgba(13, 20, 40, 0.6);
  border: 1px solid var(--pdp-line-soft);
  border-radius: 16px;
}
.pdp-benefits li { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pdp-ben-ico {
  flex-shrink: 0; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(8, 12, 28, 0.85); border: 1px solid rgba(139, 92, 246, 0.2);
}
.pdp-ben-ico .px-icon { width: 20px; height: 20px; color: #a78bfa; }
.pdp-ben-copy { display: block; min-width: 0; }
.pdp-ben-copy strong { display: block; color: var(--pdp-text); font: 600 14px/1.25 "Oxanium", sans-serif; }
.pdp-ben-copy small { display: block; margin-top: 2px; color: var(--pdp-muted); font: 500 14px/1.3 "Rajdhani", sans-serif; }
/* Con ancho de sobra los cuatro ítems van en una sola fila (ícono arriba, texto centrado) */
@media (min-width: 1200px) {
  .pdp-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px 12px; }
  .pdp-benefits li { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ── Columna de compra ─────────────────────────────────────── */
.pdp-buy {
  padding: 16px 24px 24px;
  background: linear-gradient(180deg, rgba(17, 26, 51, 0.82), rgba(10, 16, 34, 0.82));
  border: 1px solid var(--pdp-line);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(2, 6, 18, 0.35);
}
@media (min-width: 1024px) and (min-height: 640px) {
  .pdp-buy { position: sticky; top: calc(var(--pxh-h, 72px) + 16px); }
}

.pdp-eyebrow {
  display: inline-block; margin: 0 0 6px; padding: 3px 12px; border-radius: 999px;
  color: #ddd6fe; background: rgba(124, 58, 237, 0.2); border: 1px solid rgba(167, 139, 250, 0.4);
  font: 700 12px/1.3 "Oxanium", sans-serif; letter-spacing: 0.16em; text-transform: uppercase;
}
.pdp-thumb { display: none; }
.pdp-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pdp-title {
  margin: 0; min-width: 0;
  color: var(--pdp-text); font: 700 clamp(26px, 2.5vw, 36px)/1.12 "Oxanium", sans-serif; letter-spacing: -0.005em;
  overflow-wrap: anywhere;
}

.pdp-fav {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: var(--pdp-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--pdp-line-soft); border-radius: 12px;
  transition: color var(--pdp-t), border-color var(--pdp-t), background var(--pdp-t), transform 0.15s ease;
}
.pdp-fav .px-icon { width: 22px; height: 22px; color: currentColor; }
.pdp-fav:hover:not(:disabled) { color: #fff; border-color: rgba(167, 139, 250, 0.5); background: var(--pdp-violet-soft); }
.pdp-fav:active:not(:disabled) { transform: scale(0.94); }
.pdp-fav:disabled { opacity: 0.55; cursor: progress; }
.pdp-fav:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 2px; }
.pdp-fav.is-active { color: #ff7a9c; border-color: rgba(255, 122, 156, 0.5); background: rgba(255, 77, 122, 0.12); }
.pdp-fav.is-active svg path { fill: currentColor; }

/* "Te avisamos si baja de precio": fila con el interruptor, debajo del título y el corazón */
.pdp-follow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; min-height: 44px; padding: 0 4px 0 12px;
  border: 1px solid var(--pdp-line-soft); border-radius: 12px; background: rgba(255, 255, 255, 0.03);
}
.pdp-follow-txt { color: var(--pdp-muted); font-size: 13px; font-weight: 500; line-height: 1.3; min-width: 0; }
.pdp-switch { position: relative; flex: 0 0 auto; width: 56px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.pdp-switch::before {
  content: ""; position: absolute; left: 8px; top: 11px; width: 40px; height: 22px; border-radius: 999px;
  background: rgba(148, 163, 184, 0.38); transition: background var(--pdp-t);
}
.pdp-switch-knob {
  position: absolute; left: 11px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease;
}
.pdp-switch[aria-checked="true"]::before { background: var(--pdp-violet-2, #7c3aed); }
.pdp-switch[aria-checked="true"] .pdp-switch-knob { transform: translateX(18px); }
.pdp-switch:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 2px; border-radius: 12px; }
.pdp-switch:disabled { opacity: 0.55; cursor: progress; }

/* Badges */
.pdp-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; min-height: 28px; }
.pdp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  font: 600 13px/1.3 "Rajdhani", sans-serif; letter-spacing: 0.03em;
  border: 1px solid transparent;
}
.pdp-badge--plat { color: #bfdbfe; background: rgba(96, 165, 250, 0.1); border-color: rgba(96, 165, 250, 0.32); }
.pdp-badge--ok { color: var(--pdp-ok); background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.32); }
.pdp-badge--out { color: var(--pdp-bad); background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.38); }
.pdp-badge--muted { color: var(--pdp-muted); background: rgba(255, 255, 255, 0.04); border-color: var(--pdp-line-soft); }
.pdp-badge .px-icon { width: 16px; height: 16px; color: currentColor; }
.pdp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

/* Aviso "Primero elegí tu consola": resalta el paso 1 */
.pdp-step.is-nudge { animation: pdp-nudge 0.4s ease; }
@keyframes pdp-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ── Pasos ─────────────────────────────────────────────────── */
.pdp-step { margin-top: 14px; }
.pdp-step-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  color: var(--pdp-text); font: 600 15px/1.2 "Oxanium", sans-serif; letter-spacing: 0.03em;
}
.pdp-step-num {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  color: #ddd6fe; background: var(--pdp-violet-soft); border: 1px solid rgba(167, 139, 250, 0.45);
  font: 700 13px/1 "Oxanium", sans-serif;
}

/* Botón de opción (consola y tipo de cuenta) */
.pdp-opt {
  position: relative; box-sizing: border-box;
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  margin: 0; font: inherit; color: var(--pdp-text); text-align: left; cursor: pointer;
  background: var(--pdp-surface-2);
  border: 1.5px solid var(--pdp-line-soft); border-radius: 14px;
  transition: border-color var(--pdp-t), background var(--pdp-t), box-shadow var(--pdp-t), transform 0.15s ease, color var(--pdp-t);
}
.pdp-opt:hover:not(:disabled):not(.active) { border-color: rgba(167, 139, 250, 0.42); background: #141f3d; }
.pdp-opt:active:not(:disabled) { transform: scale(0.985); }
.pdp-opt:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 3px; }
.pdp-opt.active {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--pdp-violet-2);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35), 0 0 22px rgba(124, 58, 237, 0.24);
}
.pdp-opt.is-hidden { display: none; }
.pdp-opt:disabled, .pdp-opt[aria-disabled="true"] { cursor: not-allowed; background: #0b1124; border-color: rgba(255, 255, 255, 0.05); color: var(--pdp-dim); }
.pdp-opt.is-pulse { animation: pdp-pulse 0.25s ease; }
@keyframes pdp-pulse { 0% { transform: scale(0.97); } 60% { transform: scale(1.015); } 100% { transform: scale(1); } }

/* Anillo / check de selección */
.pdp-check {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  color: #fff; background: transparent;
  border: 1.5px solid rgba(170, 184, 220, 0.4);
  transition: background var(--pdp-t), border-color var(--pdp-t);
}
.pdp-check svg { width: 14px; height: 14px; stroke-width: 3; opacity: 0; transform: scale(0.5); transition: opacity var(--pdp-t), transform var(--pdp-t); }
.pdp-opt.active .pdp-check { background: var(--pdp-violet); border-color: var(--pdp-violet-2); }
.pdp-opt.active .pdp-check svg { opacity: 1; transform: none; }
.pdp-opt:disabled .pdp-check { border-color: rgba(255, 255, 255, 0.12); }

/* Paso 1: consola */
.pdp-consoles { display: flex; gap: 12px; }
.pdp-consoles:has(.is-hidden) .pdp-console { flex: 0 1 calc(50% - 6px); }
.pdp-console {
  flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0 16px;
  display: flex; align-items: center; gap: 12px;
}
/* Logo de PlayStation (marca de Sony Interactive Entertainment), usado para indicar compatibilidad; trazo de Simple Icons (CC0). */
.pdp-opt-ico { width: 22px; height: 22px; flex-shrink: 0; color: var(--pdp-soft); transition: color var(--pdp-t); }
.pdp-opt:disabled .pdp-opt-ico { color: var(--pdp-dim); opacity: 0.7; }
.pdp-opt.active .pdp-opt-ico { color: var(--pdp-lilac); }
.pdp-opt-name { font: 700 22px/1 "Oxanium", sans-serif; letter-spacing: 0.02em; }
.pdp-console .pdp-check { margin-left: auto; }
.pdp-opt-tag {
  margin-left: auto; padding: 2px 8px; border-radius: 999px;
  color: var(--pdp-bad); background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.35);
  font: 600 12px/1.3 "Rajdhani", sans-serif; letter-spacing: 0.02em; white-space: nowrap;
}
.pdp-console:has(.pdp-opt-tag:not([hidden])) .pdp-check { display: none; }

/* Paso 2: tipo de cuenta */
.pdp-accounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pdp-account {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "head check" "price price" "state state" "hint hint";
  align-content: start; gap: 0 8px;
  min-width: 0; padding: 10px 16px;
}
.pdp-acc-head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.pdp-acc-title { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.pdp-acc-ico { width: 20px; height: 20px; color: #a78bfa; }
.pdp-opt:disabled .pdp-acc-ico { color: var(--pdp-dim); }
.pdp-account .pdp-check { grid-area: check; align-self: start; }
.pdp-acc-name { font: 700 17px/1.2 "Oxanium", sans-serif; letter-spacing: 0.02em; }
.pdp-reco {
  padding: 1px 8px; border-radius: 6px;
  color: #ddd6fe; background: rgba(124, 58, 237, 0.3);
  font: 700 12px/1.5 "Oxanium", sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
}
.pdp-acc-priceline { grid-area: price; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; margin-top: 2px; min-width: 0; }
.pdp-acc-price { color: var(--pdp-text); font: 700 26px/1.15 "Oxanium", sans-serif; letter-spacing: -0.01em; }
.pdp-acc-old { color: var(--pdp-dim); font: 500 16px/1.2 "Rajdhani", sans-serif; text-decoration: line-through; }
.pdp-acc-off {
  align-self: center; padding: 1px 8px; border-radius: 6px;
  color: #ddd6fe; background: rgba(124, 58, 237, 0.3);
  font: 700 12px/1.5 "Oxanium", sans-serif; letter-spacing: 0.02em;
}
.pdp-acc-state { grid-area: state; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-height: 22px; font: 600 15px/1.3 "Rajdhani", sans-serif; }
.pdp-avail { display: inline-flex; align-items: center; gap: 8px; color: var(--pdp-ok); }
.pdp-sold {
  padding: 1px 8px; border-radius: 6px;
  color: var(--pdp-bad); background: rgba(248, 113, 113, 0.14); border: 1px solid rgba(248, 113, 113, 0.4);
  font: 700 12px/1.5 "Oxanium", sans-serif; letter-spacing: 0.08em; text-transform: uppercase;
}
.pdp-nostock { display: inline-flex; align-items: center; gap: 8px; color: var(--pdp-muted); }
.pdp-acc-state .pdp-pending { color: var(--pdp-dim); font-weight: 500; }
.pdp-acc-hint { grid-area: hint; color: var(--pdp-muted); font: 500 14px/1.3 "Rajdhani", sans-serif; }
.pdp-account.is-sold .pdp-acc-price { color: var(--pdp-dim); }
.pdp-account.is-sold .pdp-acc-name { color: var(--pdp-muted); }

/* Aviso de combinación sin stock */
.pdp-avail-note {
  margin: 12px 0 0; padding: 8px 12px; border-radius: 10px;
  color: #fcd34d; background: rgba(251, 191, 36, 0.07); border: 1px solid rgba(251, 191, 36, 0.24);
  font: 600 15px/1.4 "Rajdhani", sans-serif;
}

/* ¿Qué diferencia hay? */
.pdp-help { margin-top: 4px; }
.pdp-help-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 4px; margin-left: -4px; cursor: pointer;
  list-style: none;
  color: #9dbdf7; font: 600 15px/1.3 "Rajdhani", sans-serif;
  transition: color var(--pdp-t);
}
.pdp-help-link::-webkit-details-marker { display: none; }
.pdp-help-link::marker { content: ""; }
.pdp-help-link .px-icon { width: 18px; height: 18px; color: var(--pdp-blue); }
.pdp-help-link .pdp-help-chev { width: 16px; height: 16px; color: var(--pdp-dim); transition: transform var(--pdp-t); }
.pdp-help[open] .pdp-help-chev { transform: rotate(90deg); }
.pdp-help-link:hover { color: #fff; }
.pdp-help-link:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 2px; border-radius: 8px; }
.pdp-help[open] .pdp-help-link { color: #fff; }
.pdp-help-body {
  margin-top: 4px; padding: 12px 16px;
  background: rgba(96, 165, 250, 0.06); border-left: 2px solid rgba(96, 165, 250, 0.45); border-radius: 4px 12px 12px 4px;
  color: var(--pdp-soft); font: 500 15px/1.5 "Rajdhani", sans-serif;
}
.pdp-help-body p { margin: 0; }
.pdp-help-body p + p { margin-top: 8px; }
.pdp-help-body strong { color: var(--pdp-text); }

/* ── Resumen "Tu compra" ───────────────────────────────────── */
.pdp-summary {
  display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0;
  transition: grid-template-rows 0.25s ease, opacity 0.2s ease, margin-top 0.25s ease;
}
.pdp-summary[data-state="partial"], .pdp-summary[data-state="ready"] { grid-template-rows: 1fr; margin-top: 12px; opacity: 1; }
.pdp-summary-inner { min-height: 0; overflow: hidden; }
.pdp-summary-card {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: 10px 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(96, 165, 250, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 16px;
  transition: border-color var(--pdp-t);
}
.pdp-summary[data-state="ready"] .pdp-summary-card { border-color: rgba(167, 139, 250, 0.5); }
.pdp-summary-info { min-width: 0; }
.pdp-summary-label, .pdp-total-label {
  margin: 0; color: var(--pdp-dim); font: 700 12px/1.2 "Oxanium", sans-serif; letter-spacing: 0.16em; text-transform: uppercase;
}
.pdp-summary-config { margin: 4px 0 0; color: var(--pdp-text); font: 600 18px/1.3 "Rajdhani", sans-serif; }
.pdp-summary-config .pdp-pending { color: var(--pdp-dim); font-weight: 500; }
.pdp-summary-total { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pdp-total-price { color: #b69cff; font: 700 30px/1 "Oxanium", sans-serif; letter-spacing: -0.01em; }
.pdp-total-price.is-bump { animation: pdp-bump 0.25s ease; }
@keyframes pdp-bump { 0% { transform: scale(0.94); opacity: 0.6; } 100% { transform: scale(1); opacity: 1; } }

/* Aviso de Pixeleros Coins (estilo base en styles.css): acá, más discreto */
.pdp-buy .pd-coins { margin-top: 8px; padding: 8px 12px; gap: 8px; border-radius: 12px; }
.pdp-buy .pd-coins-ico .px-coin { width: 20px; height: 20px; }
.pdp-buy .pd-coins-txt { font-size: 15px; line-height: 1.35; }
.pdp-buy .pd-coins-txt small { display: inline; margin: 0 0 0 4px; font-size: 13px; }
/* Ficha en oferta (programa solo-Catálogo): una línea discreta que explica por qué no hay cashback; sin ⓘ (no hay condición que desplegar) */
.pdp-buy .pd-coins.is-oferta { background: transparent; border-color: rgba(154, 168, 201, 0.28); }
.pdp-buy .pd-coins.is-oferta .pd-coins-txt { color: #b9bfd6; font-weight: 500; }
.pdp-buy .pd-coins.is-oferta .pd-coins-ico { opacity: 0.75; }
.pdp-buy .pd-coins.is-oferta .pdc-info { display: none; }
/* Primera compra (cashback doble): para quien no inició sesión, línea neutra aparte y siempre visible (también en celular) */
.pdp-buy .pd-coins-txt .pdc-promo { display: block; margin: 2px 0 0; font-size: 13px; line-height: 1.3; color: var(--coin-text, #fde68a); }

/* ── Acciones ──────────────────────────────────────────────── */
.pdp-actions { display: grid; gap: 8px; margin-top: 16px; }
.pdp-cta {
  position: relative; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 56px; margin: 0; padding: 0 24px; cursor: pointer;
  color: #fff; font: 700 19px/1.1 "Oxanium", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; text-align: center;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border: 1px solid rgba(196, 181, 253, 0.35); border-radius: 16px;
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease, box-shadow var(--pdp-t), filter var(--pdp-t), background var(--pdp-t);
}
.pdp-cta .px-icon { width: 24px; height: 24px; color: currentColor; }
.pdp-cta .pdp-cta-arrow { width: 22px; height: 22px; transition: transform var(--pdp-t); }
.pdp-cta:hover:not(:disabled) { filter: brightness(1.08); box-shadow: 0 14px 34px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.pdp-cta:hover:not(:disabled) .pdp-cta-arrow { transform: translateX(4px); }
.pdp-cta:active:not(:disabled) { transform: translateY(0) scale(0.99); }
.pdp-cta:focus-visible { outline: 3px solid var(--pdp-focus); outline-offset: 3px; }
.pdp-cta:disabled, .pdp-cta[aria-disabled="true"] {
  cursor: not-allowed; filter: none; transform: none;
  color: #b9c5e6; background: #172041; border: 1px dashed rgba(167, 139, 250, 0.38); box-shadow: none;
  letter-spacing: 0.04em;
}
.pdp-cta:disabled .pdp-cta-arrow { display: none; }

.pdp-secondary {
  -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent;
  width: 100%; min-height: 44px; margin: 0; padding: 0 16px; cursor: pointer;
  color: var(--pdp-soft); font: 600 16px/1.2 "Rajdhani", sans-serif; letter-spacing: 0.02em;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px;
  transition: color var(--pdp-t), border-color var(--pdp-t), background var(--pdp-t);
}
.pdp-secondary:hover:not(:disabled) { color: #fff; border-color: rgba(167, 139, 250, 0.55); background: var(--pdp-violet-soft); }
.pdp-secondary:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 2px; }
.pdp-secondary:disabled { cursor: not-allowed; color: var(--pdp-dim); border-color: rgba(255, 255, 255, 0.07); }

/* Confianza */
.pdp-trust {
  list-style: none; margin: 16px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.pdp-trust li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.pdp-trust .px-icon { width: 20px; height: 20px; margin-top: 1px; color: #a78bfa; }
.pdp-trust-copy { display: block; min-width: 0; overflow-wrap: break-word; }
.pdp-trust-copy strong { display: block; color: var(--pdp-soft); font: 600 13px/1.25 "Oxanium", sans-serif; }
.pdp-trust-copy small { display: block; margin-top: 2px; color: var(--pdp-dim); font: 500 13px/1.3 "Rajdhani", sans-serif; }
.pdp-mp {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0;
  color: var(--pdp-muted); font: 600 14px/1.3 "Rajdhani", sans-serif;
}
.pdp-mp .px-icon { width: 18px; height: 18px; color: var(--pdp-blue); }
.pdp-note { margin: 12px 0 0; color: var(--pdp-dim); font: 500 14px/1.4 "Rajdhani", sans-serif; text-align: center; }

/* ── Juegos relacionados: carril de la Home (.px-rail .hm-rail) con la misma tarjeta (.hm-card) ── */
.pdp-related { padding: 24px 32px 16px; }
.pdp-related .section-head { margin-bottom: 16px; gap: 12px; }
.pdp-related .section-head a { color: var(--pdp-lilac); font: 600 16px/1.2 "Rajdhani", sans-serif; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.pdp-related .section-head a:hover { color: #fff; }
.pdp-related .section-head a:focus-visible, .pdp-related .hm-card-link:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: 3px; border-radius: 12px; }
/* Sin botón de carrito en estas tarjetas: la columna reservada a la derecha se usa para el texto */
.pdp-related .hm-card-body { padding-right: 12px; }
.pdp-related .hm-card { height: auto; }
.pdp-related .px-rail-prev, .pdp-related .px-rail-next { width: 44px; height: 44px; }
.pdp-related .related-skeleton { height: 340px; }
/* Textos de las tarjetas del carril: nunca menos de 12px (en la Home son un poco más chicos) */
.pdp-related .hm-plat span { font-size: 12px; }
.pdp-related .hm-price-sec { font-size: 12px; }
.pdp-related .hm-card-name { font-size: 14px; }
@media (max-width: 720px) {
  /* ~2,3 tarjetas a la vista para que se note que hay más para deslizar */
  .pdp-related .hm-rail > * { width: clamp(132px, 36vw, 156px); }
  .pdp-related { padding: 16px 0 8px; }
  .pdp-related .section-head { padding: 0 16px; margin-bottom: 12px; }
  .pdp-related .section-head h2 { font-size: 18px; }
  .pdp-related .section-head a { white-space: nowrap; font-size: 15px; }
  .pdp-related .hm-rail { padding-left: 16px; padding-right: 16px; scroll-padding-inline: 16px; }
  .pdp-related .hm-card-body { padding-right: 10px; }
}

/* Aviso de Coins: en escritorio se ve la frase completa; el ⓘ y la versión corta son solo de celular */
.pdc-short, .pdc-info { display: none; }

/* ── Barra inferior del celular ── */
.mobile-buybar-btn { min-height: 44px; background: linear-gradient(135deg, #7c3aed, #6d28d9); border-color: rgba(196, 181, 253, 0.35); color: #fff; }
.mobile-buybar-meta { font-size: 12px; }
@media (max-width: 760px) {
  /* Aparece solo con la selección completa y mientras el botón grande de compra no se ve (js/producto.js → pdp-bar-on) */
  .mobile-buybar {
    bottom: calc(10px + var(--px-tabbar-h, env(safe-area-inset-bottom, 0px)));
    visibility: hidden; opacity: 0; transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .mobile-buybar.pdp-bar-on { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  /* La barra fija no tapa el final de la página */
  .pdp-main ~ .site-footer { padding-bottom: 96px; }
  /* Botón flotante del chat (lo monta js/asistente.js, que ya lo dibuja como burbuja de 54 px en el celu): en la ficha js/producto.js lo desvanece si cae sobre el botón de compra */
  body.pdp-chat-oculto .px-asst-fab { opacity: 0; pointer-events: none; }
}

/* ── Pantallas medianas ────────────────────────────────────── */
@media (max-width: 1180px) {
  .pdp { column-gap: 32px; }
  .pdp-acc-price { font-size: 24px; }
}

/* ── Una columna (tablet y celular): imagen, compra, descripción, beneficios ── */
@media (max-width: 899px) {
  .client-main.pdp-main { padding: 12px 24px 48px; }
  .pdp {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "crumb" "media" "buy" "about";
    row-gap: 24px;
  }
  .pdp-cover { aspect-ratio: 16 / 10; max-height: 360px; }
  .pdp-buy { padding: 24px; }
}

/* Con la columna entera (tablet) entran los cuatro beneficios en una sola fila */
@media (min-width: 640px) and (max-width: 899px) {
  .pdp-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .pdp-benefits li { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

@media (max-width: 600px) {
  /* Escala de celular: cuerpo 14–15px, labels 12–13px, títulos de paso 15px, espaciado 8/12/16/24 y menos bordes
     (las tarjetas llevan fondo leve y borde solo la elegida). */
  .client-main.pdp-main { padding: 8px 16px 24px; gap: 12px; }
  body.has-header-px .pdp-main .breadcrumb a { min-height: 44px; }
  .pdp-main .breadcrumb { font-size: 14px; }
  /* Portada en celular: miniatura al lado del título (estilo tienda de apps) en lugar del recuadro grande */
  .pdp-media { display: none; }
  .pdp-buy { position: relative; isolation: isolate; overflow: hidden; }
  .pdp-buy::before {
    content: ""; position: absolute; left: -20%; right: -20%; top: -30px; height: 230px; z-index: -1;
    background: var(--pdp-cover-url, none) center / cover no-repeat;
    filter: blur(34px) saturate(1.35) brightness(0.6); opacity: 0.5; pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent);
    mask-image: linear-gradient(180deg, #000 35%, transparent);
  }
  .pdp-buy-head {
    display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px;
    grid-template-areas: "thumb eyebrow" "thumb title" "follow follow" "badges badges"; grid-template-rows: auto 1fr auto auto;
    align-items: start; padding-right: 44px;
  }
  .pdp-thumb {
    grid-area: thumb; display: block; width: 96px; aspect-ratio: 1 / 1; align-self: center;
    border-radius: 14px; overflow: hidden; background: #0f1831;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  .pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pdp-buy-head .pdp-eyebrow { grid-area: eyebrow; align-self: end; }
  .pdp-buy-head .pdp-title-row { grid-area: title; }
  .pdp-buy-head .pdp-sr { grid-area: title; }
  .pdp-buy-head .pdp-follow { grid-area: follow; margin-right: -44px; }
  .pdp-buy-head .pdp-badges { grid-area: badges; margin-top: 12px; padding-right: 0; margin-right: -44px; }
  .pdp-buy-head .pdp-fav { position: absolute; top: 12px; right: 12px; }
  .pdp .pdp-buy-head #product-title, .pdp .pdp-buy-head #product-title.is-long { font-size: 18px; -webkit-line-clamp: 3; line-clamp: 3; }
  .pdp-buy { padding: 16px; border-radius: 20px; display: flex; flex-direction: column; }
  /* Orden en celular: el aviso de Coins, la confianza y la nota van DESPUÉS del botón de compra */
  .pdp-buy .pd-coins { order: 1; }
  .pdp-trust, .pdp-mp { order: 2; }
  .pdp-note { order: 3; }

  .pdp-eyebrow { align-self: flex-start; margin: 0 0 4px; padding: 0; border: 0; background: none; color: var(--pdp-blue); font-size: 12px; letter-spacing: 0.18em; }
  .pdp-title-row { gap: 12px; }
  .pdp #product-title, .pdp #product-title.is-long {
    font-size: 21px; line-height: 1.2;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .pdp-badges { gap: 8px; margin-top: 8px; min-height: 0; }
  .pdp-badge { font-size: 12px; padding: 2px 8px; gap: 6px; }
  .pdp-badge .px-icon { width: 14px; height: 14px; }

  .pdp-step { margin-top: 12px; }
  .pdp-step-title { font-size: 15px; margin-bottom: 8px; }
  .pdp-step-num { width: 22px; height: 22px; font-size: 12px; }
  .pdp-opt { border-color: transparent; }
  .pdp-opt.active { border-color: var(--pdp-violet-2); }

  .pdp-console { min-height: 48px; padding: 0 12px; gap: 10px; }
  .pdp-opt-name { font-size: 16px; }
  .pdp-opt-ico { width: 20px; height: 20px; }
  .pdp-check { width: 20px; height: 20px; }

  /* Tarjetas de cuenta: fila 1 = ícono + nombre y radio; precio, estado. El texto explicativo vive en "¿Qué diferencia…?" */
  .pdp-accounts { gap: 8px; margin-top: 14px; }
  .pdp-account { position: relative; padding: 12px; grid-template-areas: "head check" "price price" "state state"; gap: 2px 6px; }
  .pdp-acc-head { flex-wrap: nowrap; min-width: 0; }
  .pdp-acc-title { min-width: 0; gap: 6px; }
  .pdp-acc-ico { width: 18px; height: 18px; flex-shrink: 0; }
  .pdp-acc-name { min-width: 0; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pdp-reco, .pdp-sold { position: absolute; top: -9px; right: 10px; padding: 0 8px; font-size: 12px; line-height: 18px; letter-spacing: 0.04em; }
  .pdp-reco { background: #382672; }
  .pdp-sold { background: #321a26; }
  .pdp-acc-priceline { gap: 0 6px; margin-top: 2px; }
  .pdp-acc-price { flex-basis: 100%; font-size: 20px; }
  .pdp-acc-old { font-size: 12px; }
  .pdp-acc-off { padding: 0 6px; font-size: 12px; line-height: 16px; }
  .pdp-acc-state { min-height: 18px; font-size: 12px; }
  .pdp-acc-hint { display: none; }
  .pdp-help { margin-top: 4px; }
  .pdp-help-link { min-height: 44px; font-size: 14px; }
  .pdp-help-body { font-size: 14px; }

  .pdp-summary[data-state="partial"], .pdp-summary[data-state="ready"] { margin-top: 12px; }
  .pdp-summary-card { padding: 10px 12px; gap: 12px; }
  .pdp-summary-config { font-size: 16px; }
  .pdp-total-price { font-size: 26px; }

  .pdp-actions { margin-top: 12px; }
  .pdp-cta { min-height: 52px; font-size: 16px; padding: 0 16px; }
  .pdp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
  .pdp-trust-copy strong { font-size: 13px; }
  .pdp-trust-copy small { font-size: 12px; }
  .pdp-note { font-size: 13px; }

  /* Aviso de Coins en una línea: "Sumás +N Coins con esta compra" y la condición detrás del ⓘ */
  .pdp-buy .pd-coins { flex-wrap: nowrap; align-items: flex-start; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0 0 0 12px; }
  .pdp-buy .pd-coins-ico { margin-top: 12px; }
  .pdp-buy .pd-coins-ico .px-coin { width: 18px; height: 18px; }
  .pdp-buy .pd-coins-txt { flex: 1; min-width: 0; padding: 12px 0; font-size: 14px; line-height: 1.3; }
  .pdp-buy .pd-coins-txt .pdc-long { display: none; }
  .pdp-buy .pd-coins-txt .pdc-short { display: inline; }
  .pdp-buy .pd-coins-txt .is-desde .pdc-tail { display: none; } /* con "desde" la línea no entra en una sola: se acorta */
  .pdp-buy .pd-coins-txt .pdc-cond { display: none; margin: 4px 0 0; font-size: 12px; }
  .pdp-buy .pd-coins.is-open .pd-coins-txt .pdc-cond { display: block; }
  .pdc-info {
    display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; margin: 0; padding: 0;
    color: var(--coin-text, #fcd34d); background: none; border: 0; border-radius: 12px; cursor: pointer;
  }
  .pdc-info .px-icon { width: 20px; height: 20px; color: currentColor; }
  .pdc-info:focus-visible { outline: 2px solid var(--pdp-focus); outline-offset: -2px; }
  .pdp-buy .pd-coins.is-oferta { padding-right: 12px; }

  .pdp-about-title { font-size: 12px; }
  .pdp-desc { font-size: 15px; line-height: 1.5; }
  .pdp-benefits { padding: 12px; gap: 12px 16px; }
  .pdp-ben-ico { width: 36px; height: 36px; }
  .pdp-ben-copy strong { font-size: 13px; }
  .pdp-ben-copy small { font-size: 12px; }
}

@media (max-width: 380px) {
  .pdp-benefits { grid-template-columns: minmax(0, 1fr); }
  /* Tarjetas de cuenta de ~120px: sin el ícono el nombre ("Secundaria") entra entero junto al radio */
  .pdp-acc-ico { display: none; }
}

/* ── Sin movimiento si el sistema lo pide ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pdp *, .pdp *::before, .pdp *::after,
  .mobile-buybar-btn { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ============================================================
   PS PLUS (psplus_producto.html): la misma ficha con UN solo paso, la consola. Lo propio de PS Plus va bajo
   .pdp--psplus; el resto (portada, resumen, botones, confianza, barra del celular) reutiliza las reglas de arriba.
   ============================================================ */

/* Cada consola es una tarjeta: logo + nombre + radio; debajo, el precio real del plan y su disponibilidad. */
.pdp--psplus .pdp-console {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ico name check" "price price price" "state state state";
  align-items: center; align-content: start; gap: 0 12px;
  min-height: 0; padding: 14px 16px;
}
.pdp--psplus .pdp-console .pdp-opt-ico { grid-area: ico; }
.pdp--psplus .pdp-console .pdp-opt-name { grid-area: name; }
.pdp--psplus .pdp-console .pdp-check,
.pdp--psplus .pdp-console .pdp-opt-tag { grid-area: check; justify-self: end; margin-left: 0; }
.pdp--psplus .pdp-console .pdp-acc-priceline { margin-top: 10px; }
.pdp--psplus .pdp-console .pdp-acc-state { margin-top: 2px; }
.pdp--psplus .pdp-console.is-sold .pdp-acc-price { color: var(--pdp-dim); }
.pdp--psplus .pdp-console.is-sold .pdp-opt-name { color: var(--pdp-muted); }

/* Cuenta individual: reloj con el tiempo de PS Plus que le queda (el componente .psplus-cd es de styles.css) */
.pdp--psplus .pdp-cd-slot { margin-top: 12px; }
.pdp--psplus .pdp-cd-slot[hidden] { display: none !important; }
.pdp--psplus .psplus-cd { margin: 0; padding: 14px 16px; }
.pdp--psplus .psplus-cd-sub { font-size: 14px; }
.pdp--psplus .pcd-lbl { font-size: 12px; }
.pdp--psplus .psplus-cd-foot { font-size: 14px; }

@media (max-width: 600px) {
  .pdp--psplus .pdp-console { padding: 12px; gap: 0 10px; }
  .pdp--psplus .pdp-console .pdp-acc-priceline { margin-top: 8px; }
  .pdp--psplus .psplus-cd { padding: 12px; }
  .pdp--psplus .psplus-cd-sub { font-size: 13px; }
  .pdp--psplus .psplus-cd-foot { font-size: 13px; }
}

@media (max-width: 600px) {
  /* PS Plus no tiene el botón de favoritos: la cabecera no reserva ese lugar a la derecha */
  .pdp--psplus .pdp-buy-head { padding-right: 0; }
  .pdp--psplus .pdp-buy-head .pdp-badges { margin-right: 0; }
}

/* Resumen "PS5 · Essential · 1 mes (30 días)": si no entra en una línea, corta entre datos y no dentro de "(30 días)" */
.pdp--psplus .pdp-summary-config > span:not(.pdp-sep) { white-space: nowrap; }

/* ── Visor de la portada (js/visor-portada.js) ─────────────────
   Tocar o hacer clic en la portada la abre a pantalla completa. El botón cubre toda la portada (la miniatura en el
   celular, la grande en la compu) y lleva una lupa chica de indicio. El visor se arma por JS y se pone en <body>. */
.pdp-zoom-btn {
  position: absolute; inset: 0; z-index: 3;
  display: block; width: 100%; height: 100%; margin: 0; padding: 0;
  border: 0; border-radius: inherit; background: transparent; color: #fff;
  cursor: zoom-in; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.pdp-zoom-btn[hidden] { display: none; }
.pdp-zoom-btn:focus-visible { outline: 3px solid var(--pdp-focus); outline-offset: -4px; }
.pdp-zoom-hint {
  position: absolute; right: 14px; bottom: 14px; box-sizing: border-box;
  width: 36px; height: 36px; padding: 8px; border-radius: 12px;
  color: #fff; background: rgba(8, 12, 30, 0.72); border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4); pointer-events: none;
  transition: background var(--pdp-t), transform 0.15s ease;
}
.pdp-zoom-btn:hover .pdp-zoom-hint, .pdp-zoom-btn:focus-visible .pdp-zoom-hint { background: rgba(124, 58, 237, 0.88); transform: scale(1.06); }
.pdp-thumb { position: relative; }
.pdp-thumb .pdp-zoom-hint { right: 6px; bottom: 6px; width: 26px; height: 26px; padding: 5px; border-radius: 9px; }

/* El visor de imágenes (portada y fotos de opiniones) vive en css/visor.css: producto.html y psplus_producto.html lo enlazan aparte. */

@media (prefers-reduced-motion: reduce) {
  .pdp-zoom-hint, .pdp-visor-cerrar, .pdp-visor-fig, .pdp-visor-img { transition: none !important; }
  .pdp-zoom-btn:hover .pdp-zoom-hint, .pdp-visor-cerrar:active { transform: none; }
}
