@font-face { font-family: "Bricolage Grotesque"; src: url("../assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../assets/fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* Layout: un estudio oscuro fijo detrás (el reloj 3D con revelado de cine) y la historia que sube por encima;
   en pantallas anchas el texto alterna de lado, en el celular se queda abajo y el reloj arriba. */
:root {
  --ink: #15171b;
  --paper: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.7);
  --bg: #0a0b0d;
  --brass: #d6aa5c;
  --yellow: #ffd60a;
  --green: #1ed67a;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --pad-x: clamp(16px, 4vw, 48px);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
/* Espacio fijo para la barra de scroll: al abrir la ficha (sin scroll) la página de atrás no se recorre. */
html { background: var(--bg); scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font: 400 1.0625rem/1.55 var(--text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* ---------- escenario fijo ---------- */
#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
#scene.is-ready { opacity: 1; }

/* ---------- barra ---------- */
.bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--pad-x) 14px;
  pointer-events: none;
}
.bar > * { pointer-events: auto; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 10px;
  background: var(--paper);
  border-radius: 999px;
  text-decoration: none;
}
.wordmark {
  font: 800 1.25rem/1 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.wordmark i { font-style: normal; color: #087a42; }
.brand span {
  font: 700 0.72rem/1 var(--text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 10px;
  border-left: 1px solid rgba(21, 23, 27, 0.2);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 800 0.98rem/1 var(--display);
  text-decoration: none;
  transition: transform 160ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .brand:focus-visible, .fine a:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.bar .btn { padding: 10px 16px; font-size: 0.9rem; }

/* ---------- historia ---------- */
main { position: relative; z-index: 1; }
.sec {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding-inline: var(--pad-x);
  padding-block: 96px 48px;
}
.sec.right { justify-items: end; }
.copy {
  display: grid;
  gap: 18px;
  max-width: 30rem;
  min-width: 0;
  /* En los acercamientos el metal llega hasta el texto: una sombra suave lo mantiene legible. */
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85), 0 0 2px rgba(0, 0, 0, 0.6);
}
.copy .btn, .copy .parts li { text-shadow: none; }
.chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 0.74rem/1 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.chip::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
h1, h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 7.6vw, 6.2rem); }
h2 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
h1 em, h2 em { font-style: normal; font-weight: 300; color: var(--brass); }
.copy p { margin: 0; color: var(--muted); max-width: 29rem; text-wrap: pretty; }
.copy p strong { color: var(--paper); font-weight: 700; }
.hand {
  font: 600 1.7rem/1.1 var(--hand);
  color: var(--brass) !important;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.hand-touch { display: none; }
@media (hover: none) {
  .hand-fine { display: none; }
  .hand-touch { display: block; }
}

.parts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.parts li {
  padding: 6px 12px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 999px;
  background: rgba(10, 11, 13, 0.45);
  font-size: 0.9rem;
}

.final .copy { gap: 22px; }
.final .btn { justify-self: start; }
.fine {
  font-size: 0.86rem !important;
  color: rgba(244, 241, 234, 0.55) !important;
}
.fine a { color: inherit; }

.no-3d-note { display: none; }
.no-3d .no-3d-note { display: block; }
.no-3d .co-layer, .no-3d .hud { display: none; }

/* ---------- ficha técnica: líneas que señalan piezas y lectura de cámara ---------- */
.co-layer { position: fixed; inset: 0; pointer-events: none; }
.co-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.co-svg polyline { fill: none; stroke: rgba(244, 241, 234, 0.55); stroke-width: 1; }
.co-svg circle:nth-child(2) { fill: var(--brass); }
.co-svg circle:nth-child(3) { fill: none; stroke: rgba(214, 170, 92, 0.7); stroke-width: 1; }
.co-label {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 3px;
  white-space: nowrap;
  font: 600 11px/1.2 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  /* Etiqueta con fondo oscuro translúcido: se lee igual sobre el acero brillante que sobre el fondo. */
  padding: 6px 9px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 6px;
  background: rgba(8, 9, 11, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  will-change: transform, opacity;
}
.co-label b { font-weight: 700; color: var(--paper); }
.co-label span { color: var(--brass); }
.co-label span:empty { display: none; }
.hud {
  position: fixed;
  right: var(--pad-x);
  bottom: 18px;
  display: flex;
  gap: 22px;
  pointer-events: none;
  font: 600 10.5px/1.3 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  color: rgba(244, 241, 234, 0.5);
}
.hud span { display: grid; gap: 2px; }
.hud i { font-style: normal; opacity: 0.7; }
.hud b { font-weight: 700; color: var(--paper); min-width: 5ch; }

/* ---------- catálogo ----------
   Tapa el estudio 3D (fondo sólido) y entra con un degradado para que el reloj se funda en la vitrina.
   Las "fotos" son canvas que pinta reloj.js con el mismo reloj en otro acabado. */
.cat {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  padding: 40px var(--pad-x) 90px;
  background: var(--bg);
}
.cat::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 34vh;
  background: linear-gradient(rgba(10, 11, 13, 0), var(--bg));
  pointer-events: none;
}
.cat > * { width: 100%; max-width: 1180px; margin-inline: auto; }
.cat-head { display: grid; gap: 16px; }
.cat-head p { max-width: 34rem; margin: 0; color: var(--muted); text-wrap: pretty; }
.cat-head strong { color: var(--paper); }
@media (hover: none) { .cat-hint { display: none; } }

.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-f {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font: 600 0.92rem/1 var(--text);
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease, transform 160ms var(--ease-out);
}
.cat-f i { font-style: normal; font-size: 0.78rem; opacity: 0.55; }
.cat-f[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.cat-f:active { transform: scale(0.97); }
.cat-f:focus-visible, .cat-add:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-block: 0;
  padding: 0;
  list-style: none;
}
.cat-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px 10px 16px;
  border: 1px solid rgba(244, 241, 234, 0.08);
  border-radius: 20px;
  background: #111216;
  transition: border-color 200ms ease, transform 200ms var(--ease-out);
}
.cat-card[hidden] { display: none; }
.cat-photo { position: relative; aspect-ratio: 1; margin-bottom: 8px; overflow: hidden; border-radius: 14px; background: radial-gradient(circle at 50% 50%, #33271e, #07080a 72%); }
.cat-photo canvas { display: block; width: 100%; height: 100%; }
.cat-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.92);
  color: var(--ink);
  font: 700 0.68rem/1 var(--text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cat-card > :not(.cat-photo) { margin: 0; padding-inline: 6px; }
.cat-ref { font: 600 0.7rem/1 var(--text); letter-spacing: 0.16em; color: var(--brass); }
.cat-card h3 { margin: 0; font: 800 1.35rem/1.05 var(--display); letter-spacing: -0.02em; }
.cat-card h3 em { font-style: normal; font-weight: 300; color: var(--brass); }
.cat-spec { font-size: 0.88rem; color: var(--muted); }
.cat-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px !important; }
.cat-buy b { font: 800 1.2rem/1 var(--display); letter-spacing: -0.01em; }
.cat-add {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font: 800 0.9rem/1 var(--display);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.cat-add:active { transform: scale(0.97); }
.cat-add[aria-pressed="true"] { background: var(--green); }
@media (hover: hover) and (pointer: fine) {
  .cat-card:hover { border-color: rgba(244, 241, 234, 0.2); transform: translateY(-4px); }
  .cat-f:hover { border-color: rgba(244, 241, 234, 0.45); }
}

.cat-end { display: grid; gap: 20px; justify-items: start; margin-top: 80px; }
.cat-end p { max-width: 32rem; margin: 0; color: var(--muted); }

/* Aviso al apartar: entra y sale por abajo (misma ruta), con transición para que se pueda repetir rápido. */
.cat-toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 6;
  width: min(92vw, 30rem);
  margin: 0;
  padding: 14px 18px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 16px;
  background: #16171b;
  color: var(--paper);
  font-size: 0.92rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  translate: -50% calc(100% + 30px);
  opacity: 0;
  pointer-events: none;
  transition: translate 200ms ease-in-out, opacity 200ms ease;
}
.cat-toast.on { translate: -50% 0; opacity: 1; transition: translate 400ms var(--ease-out), opacity 200ms ease; }
.cat-toast b { color: var(--brass); }

/* La tarjeta completa abre la ficha (botón que la cubre); "Apartar" queda encima y sigue funcionando solo. */
.cat-card { position: relative; }
.cat-open { position: absolute; inset: 0; z-index: 1; padding: 0; border: 0; border-radius: inherit; background: none; cursor: pointer; }
.cat-open:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.cat-add { position: relative; z-index: 2; }

/* Carrito flotante: aparece al agregar el primer reloj. */
.cat-cart {
  position: fixed;
  right: var(--pad-x);
  bottom: 20px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px 11px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 800 0.92rem/1 var(--display);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}
.cat-cart[hidden] { display: none; }
.cat-cart:active { transform: scale(0.97); }
.cat-cart:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.cat-cart svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-cart-n { display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 0.78rem; }

/* ---------- ficha del producto ----------
   Compu: ventana al centro; el visor sale volando desde la foto de la tarjeta y la información entra en cascada.
   Celular: hoja que sube desde abajo, como en las apps de tiendas. */
.pd {
  width: min(1120px, 94vw);
  max-width: none;
  height: min(760px, 92vh);
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper);
  overflow: visible;
}
.pd::backdrop { background: rgba(4, 5, 7, 0.74); opacity: 1; transition: opacity 240ms ease; }
@starting-style { .pd[open]::backdrop { opacity: 0; } }
.pd.closing::backdrop { opacity: 0; transition-duration: 200ms; }
.pd-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  height: 100%;
}
.pd-bg {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 241, 234, 0.1);
  border-radius: 26px;
  background: #111216;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.6);
}
.pd-x {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 50%;
  background: rgba(17, 18, 22, 0.8);
  color: var(--paper);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.pd-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pd-x:active { transform: scale(0.94); }
.pd-x:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.pd-media { position: relative; display: grid; align-content: start; gap: 12px; min-width: 0; padding: 18px; }
.pd-view {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 50%, #33271e, #07080a 72%);
  transform-origin: 0 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.pd-view.dragging { cursor: grabbing; }
.pd-view canvas { display: block; width: 100%; height: 100%; }
.pd-tip {
  position: absolute;
  left: 50%;
  bottom: 12px;
  margin: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 11, 0.7);
  color: var(--muted);
  font: 600 0.74rem/1 var(--text);
  white-space: nowrap;
  translate: -50% 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.pd-tip.off { opacity: 0; }
.tip-touch { display: none; }
@media (hover: none) { .tip-fine { display: none; } .tip-touch { display: inline; } }
.pd-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pd-thumb {
  display: grid;
  gap: 5px;
  padding: 4px 4px 6px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font: 600 0.72rem/1 var(--text);
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out);
}
.pd-thumb canvas { display: block; width: 100%; aspect-ratio: 1; border-radius: 9px; background: radial-gradient(circle, #2a2019, #07080a 72%); }
.pd-thumb[aria-pressed="true"] { border-color: var(--brass); color: var(--paper); }
.pd-thumb:active { transform: scale(0.96); }
.pd-thumb:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.pd-info {
  position: relative;
  display: grid;
  align-content: start;
  gap: 16px;
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 30px 30px 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 241, 234, 0.2) transparent;
}
.pd-info > * { margin: 0; }
.pd-crumbs { font-size: 0.8rem; color: rgba(244, 241, 234, 0.5); padding-right: 44px; }
.pd-brand { font: 600 0.74rem/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); }
.pd h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.pd-note:empty { display: none; }
.pd-note { justify-self: start; padding: 6px 11px; border-radius: 999px; background: rgba(214, 170, 92, 0.14); color: var(--brass); font: 700 0.78rem/1 var(--text); }
.pd-buy { display: grid; gap: 4px; padding-block: 4px; }
.pd-price { margin: 0; }
.pd-price b { font: 800 2.4rem/1 var(--display); letter-spacing: -0.02em; }
.pd-price span { color: var(--muted); font-weight: 600; }
.pd-msi { margin: 0; color: var(--muted); font-size: 0.92rem; }
.pd-msi b { color: var(--green); }
.pd-fin { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pd-fin legend { padding: 0; margin-bottom: 10px; font-size: 0.92rem; color: var(--muted); }
.pd-fin legend b { color: var(--paper); }
.pd-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-sw { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid transparent; border-radius: 50%; cursor: pointer; transition: border-color 150ms ease, transform 160ms var(--ease-out); }
.pd-sw:active { transform: scale(0.94); }
.pd-sw i { width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.45); }
.pd-sw input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pd-sw:has(:checked) { border-color: var(--paper); }
.pd-sw:has(:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.sw-rosa { background: linear-gradient(135deg, #f6d2c2, #d99a82); }
.sw-acero { background: linear-gradient(135deg, #ffffff, #aeb5bd); }
.sw-noche { background: linear-gradient(135deg, #4a4d54, #141518); }
.sw-oro { background: linear-gradient(135deg, #fbe3a0, #d6a849); }
.sw-bicolor { background: linear-gradient(135deg, #fbe3a0 0 50%, #c6ccd3 50%); }
.sw-grafito { background: linear-gradient(135deg, #9a9ea5, #50545a); }
.pd-stock { font-weight: 700; color: var(--green); }
.pd-stock.low { color: #ffb45c; }
.pd-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.pd-ctas .btn { border: 0; cursor: pointer; padding: 15px 24px; }
.pd-ctas .btn.added { background: var(--green); }
.pd-hold {
  padding: 15px 22px;
  border: 1px solid rgba(244, 241, 234, 0.3);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  font: 800 0.98rem/1 var(--display);
  cursor: pointer;
  transition: transform 160ms var(--ease-out), border-color 150ms ease;
}
.pd-hold:active { transform: scale(0.97); }
.pd-ctas button:focus-visible, .pd-cp button:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.pd-box { display: grid; gap: 10px; padding: 16px 18px; border: 1px solid rgba(244, 241, 234, 0.1); border-radius: 16px; background: rgba(244, 241, 234, 0.02); }
.pd-box h3 { margin: 0; font: 800 1.05rem/1 var(--display); letter-spacing: -0.01em; }
.pd-box p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.pd-box p b { color: var(--paper); }
.pd-cp { display: grid; gap: 6px; }
.pd-cp label { font-size: 0.82rem; color: rgba(244, 241, 234, 0.6); }
.pd-cp div { display: flex; gap: 8px; }
.pd-cp input {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 10px;
  background: #0b0c0e;
  color: var(--paper);
  font: 600 1rem/1.2 var(--text);
  letter-spacing: 0.08em;
}
.pd-cp input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(214, 170, 92, 0.25); }
.pd-cp button { padding: 0 16px; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); font: 800 0.9rem/1 var(--display); cursor: pointer; transition: transform 160ms var(--ease-out); }
.pd-cp button:active { transform: scale(0.97); }
.pd-cp-out:empty { display: none; }
.pd-stores { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pd-stores li { display: grid; gap: 3px; padding-left: 26px; position: relative; font-size: 0.9rem; color: var(--muted); }
.pd-stores li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 12px; height: 12px; border: 2px solid var(--brass); border-radius: 50% 50% 50% 0; rotate: -45deg; }
.pd-stores b { color: var(--paper); }
.pd-stores em { font-style: normal; font-weight: 700; color: var(--green); }
.pd-stores em.none { color: rgba(244, 241, 234, 0.5); font-weight: 600; }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; list-style: none; }
.pd-perks li { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: rgba(244, 241, 234, 0.04); font-size: 0.82rem; color: var(--muted); text-align: center; }
.pd-perks b { color: var(--paper); font-size: 0.86rem; }
.pd-specs { display: grid; margin: 0; }
.pd-specs div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(244, 241, 234, 0.08); font-size: 0.9rem; }
.pd-specs div:last-child { border-bottom: 0; }
.pd-specs dt { color: rgba(244, 241, 234, 0.55); }
.pd-specs dd { margin: 0; }
.pd-fine { font-size: 0.8rem; color: rgba(244, 241, 234, 0.45); }
html.pd-lock { overflow: hidden; }

/* ---------- celular: reloj arriba, texto abajo ---------- */
@media (max-width: 900px) {
  .sec, .sec.right {
    justify-items: stretch;
    align-content: end;
    padding-block: 54vh 28px;
    padding-block: 54svh 28px;
  }
  .copy {
    max-width: none;
    padding: 22px 18px 20px;
    margin-inline: -8px;
    border-radius: 22px;
    background: rgba(12, 13, 16, 0.74);
    border: 1px solid rgba(244, 241, 234, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .brand span { display: none; }
  .co-label { font-size: 9.5px; letter-spacing: 0.1em; }
  .hud { display: none; }
  /* Catálogo en dos columnas, como tienda en el celular. */
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card { padding: 6px 6px 12px; border-radius: 16px; }
  .cat-photo { border-radius: 11px; }
  .cat-badge { left: 7px; top: 7px; padding: 5px 7px; font-size: 0.58rem; }
  .cat-card > :not(.cat-photo) { padding-inline: 4px; }
  .cat-card h3 { font-size: 1.05rem; }
  .cat-spec { font-size: 0.78rem; }
  .cat-buy { flex-wrap: wrap; gap: 8px; }
  .cat-buy b { font-size: 1.02rem; }
  .cat-add { padding: 9px 12px; font-size: 0.82rem; }
  /* Ficha: hoja de pantalla completa que sube desde abajo; todo se recorre junto. */
  .pd { width: 100vw; height: 100dvh; margin: 0; overflow-y: auto; overscroll-behavior: contain; }
  .pd-in { grid-template-columns: minmax(0, 1fr); height: auto; min-height: calc(100dvh - 18px); margin-top: 18px; }
  .pd-bg { border-radius: 24px 24px 0 0; border-bottom: 0; }
  .pd-x { position: fixed; top: 30px; right: 18px; }
  .pd-media { padding: 12px 12px 4px; }
  .pd-thumbs { gap: 6px; }
  .pd-thumb { font-size: 0.64rem; padding: 3px 3px 5px; }
  .pd-info { overflow: visible; padding: 10px 18px 40px; }
  .pd-crumbs { padding-right: 0; }
  .pd-ctas > * { flex: 1 1 auto; }
  .pd-specs div { grid-template-columns: 7.5rem 1fr; }
  .cat-cart { bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  #scene { transition-duration: 0.3s; }
}
