/* «Ver en 3D» en la ficha de producto (solo se carga en fichas con modelo) */
/* escritorio: la plantilla ya lo pone sticky (sirve de contenedor); en móvil lo pone static -> relative */
@media (max-width: 640px) { figure.pk-product__image { position: relative; top: 0; } }   /* top: el 100px del sticky de escritorio */
.pk3d-btn { position: absolute; left: 10px; bottom: 10px; z-index: 3; border: 0; border-radius: 999px; padding: 8px 14px;
  background: #1d1d1f; color: #fff; font: 600 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.pk3d-btn::before { content: "⟳ "; }
.pk3d-btn:hover { background: #000; }
.pk3d-btn[disabled] { opacity: .65; cursor: progress; }
.pk3d-btn--tips { left: auto; right: 10px; background: #fff; color: #1d1d1f; border: 1px solid #d9d9de; }
.pk3d-btn--tips::before { content: ""; }
.pk3d-btn--tips:hover { background: #f4f4f5; }
.pk3d-stage { position: absolute; inset: 0; z-index: 2; background: #fff; border-radius: inherit; display: none; touch-action: none; overflow: hidden; }
.pk3d-on .pk3d-stage { display: block; }
.pk3d-canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab; }
.pk3d-canvas:active { cursor: grabbing; }
.pk3d-callouts { position: absolute; inset: 0; pointer-events: none; }
.pk3d-callouts svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pk3d-callouts line { stroke: #1d1d1f; stroke-width: 1; }
.pk3d-callouts circle { fill: #fdb813; stroke: #1d1d1f; stroke-width: 1.2; }
.pk3d-tip { position: absolute; left: 0; top: 0; max-width: 34%; padding: 5px 9px; border-radius: 8px;
  background: rgba(255, 255, 255, .94); border: 1px solid #e4e4e7; border-left: 3px solid #fdb813;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .08); font: 12px/1.25 system-ui, -apple-system, "Segoe UI", sans-serif; color: #1d1d1f;
  will-change: transform; transition: opacity .2s; }
.pk3d-tip--r { border-left: 1px solid #e4e4e7; border-right: 3px solid #fdb813; text-align: right; }
.pk3d-tip b { display: block; font-weight: 700; }
.pk3d-tip span { display: block; color: #55555b; font-size: 11px; }
.pk3d-notips .pk3d-callouts { display: none; }
@media (max-width: 480px) { .pk3d-tip { font-size: 11px; padding: 4px 7px; max-width: 38%; } .pk3d-tip span { font-size: 10px; } }
