/* Scoped to the optional media wrapper; native gallery styles remain authoritative. */
.alleen-product-3d{width:100%;min-width:0;--a3d-accent:#124cdb;--a3d-ink:#182335;--a3d-line:#dce2ea;color:var(--a3d-ink);font-family:inherit}
.alleen-product-3d [hidden]{display:none!important}
.alleen-product-3d button{font:inherit;cursor:pointer;transition:background .15s,color .15s;box-shadow:none}
.alleen-product-3d button:focus-visible{outline:3px solid #3265eb;outline-offset:3px}
.alleen-product-3d__tabs{display:flex;gap:4px;border-bottom:1px solid var(--a3d-line);margin-bottom:16px;align-items:stretch}
.alleen-product-3d__tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 16px;border:0;border-bottom:2px solid transparent;border-radius:0;color:#536074;background:transparent;font-size:14px;font-weight:600}
.alleen-product-3d__tabs button[aria-selected=true]{color:var(--a3d-accent);border-bottom-color:var(--a3d-accent);background:#f1f5ff}
.alleen-product-3d__tabs button:hover{background:#edf2fa;color:var(--a3d-accent)}
.alleen-product-3d__tabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
.alleen-product-3d__photos{min-width:0}
.alleen-product-3d__dialog{box-sizing:border-box;position:relative;inset:auto;width:100%;max-width:none;height:auto;max-height:none;margin:0;padding:0;border:1px solid var(--a3d-line);border-radius:12px;background:#fff;color:var(--a3d-ink);overflow:hidden}
.alleen-product-3d__dialog[open]{display:flex;flex-direction:column}
.alleen-product-3d__heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-bottom:1px solid #edf0f4;min-height:58px;flex:none;font-size:13px;font-weight:600}
.alleen-product-3d__heading>div{display:flex;gap:4px}
.alleen-product-3d__heading button{background:transparent;border:0;border-radius:6px;color:#4a5870;font-size:12px;padding:10px;min-height:40px}
.alleen-product-3d__heading button:hover{color:#124cdb;background:#f1f5ff}
.alleen-product-3d__stage{position:relative;height:590px;max-height:70vh;min-height:380px;flex:1}
.alleen-product-3d__stage iframe{display:block;width:100%;height:100%;border:0;opacity:0}
.alleen-product-3d[data-state=ready] .alleen-product-3d__stage iframe{opacity:1}
.alleen-product-3d__cover{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#fff;padding:24px;z-index:1}
.alleen-product-3d__cover img{display:block;max-height:62%;width:auto;max-width:80%;object-fit:contain;opacity:.6}
.alleen-product-3d__cover>div{width:100%;max-width:390px;text-align:center;margin-top:20px}
.alleen-product-3d__cover p{font-size:14px;line-height:1.5;color:#536074}
.alleen-product-3d__cover button{border:1px solid #c7d2e6;border-radius:6px;padding:10px 16px;background:#f1f5ff;color:#124cdb}
.alleen-product-3d__note{margin:0!important;padding:12px 16px;border-top:1px solid #edf0f4;color:#647084;font-size:11px;line-height:1.5;flex:none;background:#fafbfc}
.alleen-product-3d__dialog.is-expanded{position:fixed;inset:0;margin:auto;width:min(1100px,calc(100% - 48px));height:min(900px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);z-index:999999}
.alleen-product-3d__dialog.is-expanded .alleen-product-3d__stage{min-height:0;max-height:none}
.alleen-product-3d__dialog.is-expanded [data-expand]{display:none}
.alleen-product-3d__dialog::backdrop{background:rgb(10 18 32 / .72)}
@media(max-width:767px){.alleen-product-3d__tabs{margin-bottom:12px}.alleen-product-3d__tabs button{flex:1;padding:10px 12px}.alleen-product-3d__dialog.is-expanded{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0}.alleen-product-3d__heading{padding:8px 12px}.alleen-product-3d__note{font-size:11px;padding:10px 12px}.alleen-product-3d__heading button{min-width:48px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.alleen-product-3d button{transition:none}}

/* Match the current dark product hero; keep the approved studio on white. */
.alleen-product-3d .alleen-product-3d__tabs{border-bottom-color:#34404e}
.alleen-product-3d .alleen-product-3d__tabs button{color:#b6c5da}
.alleen-product-3d .alleen-product-3d__tabs button[aria-selected=true]{color:#b6d4ff;background:#182b45;border-bottom-color:#6aa3ff}
.alleen-product-3d .alleen-product-3d__tabs button:is(:hover,:focus){color:#dceaff;background:#1a304c}
.alleen-product-3d .alleen-product-3d__heading button:is(:hover,:focus){color:#194f97;background:#eef3fd}
.alleen-product-3d .alleen-product-3d__stage{flex:none;height:590px}
.alleen-product-3d .alleen-product-3d__stage iframe{position:absolute;inset:0}
.alleen-product-3d .alleen-product-3d__dialog.is-expanded .alleen-product-3d__stage{flex:1;height:auto}
