/* Termékvideó és 360°-os nézet (jaszmotor téma változóival) */
.pm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pm-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px;
    border: 1px solid var(--jm-line); background: var(--jm-surface); color: var(--jm-text); font-weight: 700; cursor: pointer;
}
.pm-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--jm-accent-fg); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm-btn:first-child svg { fill: var(--jm-accent-fg); stroke: none; }
.pm-btn:hover { border-color: var(--jm-accent); }

html.pm-lock { overflow: hidden; }
.pm-modal { position: fixed; inset: 0; z-index: 2100; display: grid; place-items: center; padding: 16px; }
.pm-modal[hidden] { display: none; }
.pm-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .85); }
.pm-modal__dialog { position: relative; width: min(1000px, 100%); max-height: 100%; overflow: auto; padding: 16px; border-radius: 18px; background: var(--jm-surface); border: 1px solid var(--jm-line); }
.pm-modal__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: var(--jm-surface-2); color: var(--jm-text); cursor: pointer; }
.pm-modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.pm-video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; margin-top: 40px; }
.pm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pm-video__list { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pm-video__thumb { flex: none; width: 120px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #000; cursor: pointer; }
.pm-video__thumb:hover, .pm-video__thumb:focus-visible { border-color: var(--jm-accent); }
.pm-video__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-note { margin: 10px 0 0; color: var(--jm-muted); font-size: 12px; }

.pm-spin { position: relative; margin-top: 40px; aspect-ratio: 4 / 3; border-radius: 12px; background: #fff; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.pm-spin:active { cursor: grabbing; }
.pm-spin img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.pm-spin__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(10, 10, 11, .78); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.pm-spin__hint[hidden] { display: none; }
.pm-spin__hint svg { width: 18px; height: 18px; fill: none; stroke: var(--jm-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pm-spin__progress { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--jm-accent); transition: width .2s; }
