/* Guifi 360 Tour — Elementor-widget (contained viewer) */
.g360tour{--g360tour-h:600px;--g360tour-bg:#eef0f2;
  font-family:"Inter","Inter Tight",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;position:relative;}
.g360tour__intro{max-width:780px;margin:0 auto;padding:0 0 16px;text-align:center;color:#111;}
.g360tour__intro--below{padding:18px 0 0;}
.g360tour__intro h2{font-family:"Inter Tight",sans-serif;font-weight:500;font-size:34px;line-height:1.08;margin:0 0 4px;}
.g360tour__intro p{color:#6b7077;font-size:16px;margin:0;}

.g360tour__viewer{position:relative;width:100%;height:var(--g360tour-h,600px);background:var(--g360tour-bg);
  border-radius:14px;overflow:hidden;}
.g360tour__stage{position:absolute;inset:0;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y;}
.g360tour__stage.is-drag{cursor:grabbing;}
.g360tour__frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;-webkit-user-drag:none;}

.g360tour__loader{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center;background:var(--g360tour-bg);z-index:5;transition:opacity .3s;}
.g360tour__loader.is-hidden{opacity:0;pointer-events:none;}
.g360tour__spin{width:42px;height:42px;border:4px solid rgba(0,0,0,.1);border-top-color:#111;border-radius:50%;animation:g360tour-sp .8s linear infinite;}
@keyframes g360tour-sp{to{transform:rotate(360deg)}}
.g360tour__pct{font-size:14px;color:#6b7077;letter-spacing:.02em;}

.g360tour__hint{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:inline-flex;align-items:center;gap:7px;
  font-size:13px;color:#111;background:rgba(255,255,255,.9);border:1px solid rgba(0,0,0,.08);border-radius:24px;padding:7px 14px;
  transition:opacity .4s;pointer-events:none;}
.g360tour__stage.is-touched ~ .g360tour__hint,.g360tour__viewer.is-touched .g360tour__hint{opacity:0;}
.g360tour__hint svg{animation:g360tour-bob 1.6s ease-in-out infinite;}
@keyframes g360tour-bob{0%,100%{transform:translateX(0)}50%{transform:translateX(4px)}}

.g360tour__stage.is-zoom{cursor:zoom-out;}
.g360tour__stage.is-drag{cursor:grabbing;}

/* fullscreen-knop + meegroeien */
.g360tour__viewer{transition:height .25s ease;}
.g360tour__fs{position:absolute;top:12px;right:12px;z-index:6;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.92);border:1px solid rgba(0,0,0,.08);border-radius:50%;cursor:pointer;color:#111;padding:0;transition:background .15s,transform .15s;}
.g360tour__fs:hover{background:#fff;transform:scale(1.05);}
.g360tour__viewer:fullscreen{height:100vh !important;width:100vw;border-radius:0;}
.g360tour__viewer:-webkit-full-screen{height:100vh !important;width:100vw;border-radius:0;}
.g360tour__fs{color:#111 !important;background:rgba(255,255,255,.92) !important;}

.g360tour__fs svg path{fill:#111 !important;}

/* fullscreen-knop kogelvrij tegen thema-overrides */
.g360tour .g360tour__fs{position:absolute !important;top:12px !important;right:12px !important;left:auto !important;
  width:40px !important;height:40px !important;min-width:0 !important;min-height:0 !important;max-width:none !important;
  padding:0 !important;margin:0 !important;display:flex !important;align-items:center !important;justify-content:center !important;
  background:rgba(255,255,255,.95) !important;border:1px solid rgba(0,0,0,.12) !important;border-radius:50% !important;
  box-shadow:0 2px 10px rgba(0,0,0,.12) !important;cursor:pointer !important;z-index:10 !important;line-height:1 !important;color:#111 !important;}
.g360tour .g360tour__fs svg{width:18px !important;height:18px !important;}
.g360tour .g360tour__fs svg path{fill:#111 !important;}

/* fullscreen: geen verticale offset, boot center-center */
.g360tour__viewer:fullscreen{--g360tour-offy:0% !important;}
.g360tour__viewer:-webkit-full-screen{--g360tour-offy:0% !important;}

/* fullscreen alleen op desktop/tablet — verberg knop op mobiel (geen Fullscreen API op iOS) */
@media (max-width:767px){ .g360tour .g360tour__fs{display:none !important;} }
