:root{color-scheme:light;--ink:#172033;--muted:#657087;--line:#dde3eb;--blue:#0878c9;--blue-dark:#0563a7;--surface:#fff;--stage:#f5f7fa;font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}
body{margin:0;background:#f3f5f8;color:var(--ink)}
button{font:inherit}
.product-card{width:min(1180px,calc(100% - 32px));margin:40px auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);gap:36px;padding:28px;background:var(--surface);border:1px solid #e7ebf0;border-radius:20px;box-shadow:0 18px 48px rgba(20,38,64,.1)}
.viewer{position:relative;isolation:isolate;overflow:hidden;min-height:560px;aspect-ratio:1;background:#fff;border:1px solid var(--line);border-radius:16px;outline:none;touch-action:none}
.viewer [hidden]{display:none!important}
.viewer:focus-visible{box-shadow:0 0 0 4px rgba(8,120,201,.22)}
.poster,.stage,.stage canvas{display:block;width:100%;height:100%}
.poster{position:absolute;inset:0;object-fit:contain;padding:4%;background:#fff;transition:opacity .2s ease}
.stage{position:absolute;inset:0}
.stage canvas{outline:none}
.launch{position:absolute;left:50%;bottom:24px;z-index:4;translate:-50% 0;border:0;border-radius:999px;padding:13px 22px;background:#fff;color:var(--ink);font-weight:700;box-shadow:0 8px 28px rgba(19,45,75,.2);cursor:pointer}
.launch:hover{background:#f7fbff}
.loading,.error{position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;gap:12px;background:rgba(255,255,255,.9);text-align:center}
.error{flex-direction:column;color:#7a2630;padding:24px}
.spinner{width:24px;height:24px;border:3px solid #c9d7e4;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{rotate:360deg}}
.toolbar{position:absolute;top:14px;right:14px;z-index:8;display:flex;gap:7px}
.toolbar button{width:42px;height:42px;border:1px solid rgba(30,48,70,.14);border-radius:12px;background:rgba(255,255,255,.94);color:var(--ink);font-size:21px;line-height:1;box-shadow:0 4px 16px rgba(20,40,70,.12);cursor:pointer}
.toolbar button:hover{background:#fff;color:var(--blue)}
.viewer-hints{position:absolute;left:50%;bottom:14px;z-index:7;translate:-50% 0;display:grid;gap:3px;width:max-content;max-width:calc(100% - 28px);padding:10px 16px;border:1px solid rgba(8,120,201,.25);border-radius:13px;background:rgba(255,255,255,.94);color:#344056;font-size:13px;line-height:1.35;text-align:center;box-shadow:0 6px 22px rgba(20,40,70,.14);pointer-events:none}
.viewer-hints strong{color:#075f9d;font-size:14px}
.touch-hint{display:none}
.product-info{align-self:center;padding:16px 10px 16px 0}
.eyebrow{margin:0 0 10px;color:var(--blue);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
h1{margin:0 0 24px;font-size:clamp(30px,4vw,48px);line-height:1.07;letter-spacing:-.025em}
.product-meta{margin:0 0 24px;border-block:1px solid var(--line)}
.product-meta div{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid var(--line)}
.product-meta div:last-child{border:0}
.product-meta dt{color:var(--muted)}
.product-meta dd{margin:0;font-weight:700}
.lead{margin:0 0 26px;color:#4f5b70;font-size:17px;line-height:1.6}
.primary,.secondary{border:0;border-radius:10px;padding:13px 20px;font-weight:750;cursor:pointer}
.primary{background:var(--blue);color:#fff}.primary:hover{background:var(--blue-dark)}
.secondary{background:#edf3f8;color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.viewer:fullscreen,.viewer.fullscreen-fallback{width:100%;height:100%;min-height:100%;max-width:none;aspect-ratio:auto;border:0;border-radius:0;background:#fff}
.viewer.fullscreen-fallback{position:fixed;inset:0;z-index:9999}
body.viewer-fallback-open{overflow:hidden}
@media(pointer:coarse){.desktop-hint{display:none}.touch-hint{display:inline}.toolbar button{width:46px;height:46px}}
@media(max-width:820px){.product-card{grid-template-columns:1fr;width:min(100% - 18px,680px);margin:9px auto;padding:10px;gap:18px;border-radius:15px}.viewer{min-height:0;aspect-ratio:1}.product-info{padding:12px 8px 22px}.primary{width:100%}.viewer-hints{bottom:10px;width:calc(100% - 20px);max-width:430px;padding:8px 11px;font-size:12px}.viewer-hints strong{font-size:13px}}
@media(prefers-reduced-motion:reduce){.spinner{animation-duration:1.6s}.poster{transition:none}}

/* Deployment shell: the WooCommerce card already supplies product information. */
html,body{width:100%;min-height:100%;background:#fff}.product-card{display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}.product-view{width:100%}.viewer{width:100%;min-height:0;aspect-ratio:1;border-radius:0}body.finist-host-fullscreen-open{height:100vh;overflow:hidden}body.finist-host-fullscreen-open .product-card,body.finist-host-fullscreen-open .product-view,body.finist-host-fullscreen-open .viewer{height:100%;aspect-ratio:auto}
