.tour-dialog{width:min(1440px,calc(100vw - 32px));max-width:none;height:min(870px,calc(100dvh - 32px));max-height:none;padding:0;border:1px solid #ffffff15;border-radius:22px;background:#141715;color:#f5f5ef;overflow:hidden;box-shadow:0 35px 150px #0008}
.tour-dialog::backdrop{background:#0b100dc9;backdrop-filter:blur(10px)}
.tour-shell{height:100%;min-height:0}
.tour-shell:fullscreen{width:100vw;height:100dvh;background:#141715;color:#f5f5ef;overflow:hidden}
.tour-top{height:85px;display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid #ffffff10;padding:19px 26px}
.tour-brand{display:flex;align-items:center;gap:24px}
.tour-brand img{width:155px;height:auto;filter:grayscale(1) brightness(0) invert(1);opacity:.9}
.tour-title-group{border-left:1px solid #ffffff1c;padding-left:24px}
.tour-title-group h3{font-size:17px;letter-spacing:-.35px;font-weight:450}
.tour-title-group p{font-size:9px;letter-spacing:1.4px;color:#8e988e;margin-top:7px}
.tour-top .icon-button{color:#d9dfd3;background:#ffffff08}
.tour-top .icon-button:hover{background:#ffffff15}
.tour-layout{display:grid;grid-template-columns:212px minmax(0,1fr);height:calc(100% - 85px)}
.tour-sidebar{border-right:1px solid #ffffff10;padding:25px 14px;overflow-y:auto}
.tour-sidebar>.eyebrow{font-size:8px;color:#818c7e;letter-spacing:1.6px;padding:0 11px;margin-bottom:20px}
.tour-room{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid transparent;border-radius:11px;padding:9px;margin-bottom:7px;background:transparent;color:#c5cdc1;transition:background .2s,border-color .2s}
.tour-room:hover{background:#ffffff06}
.tour-room.is-active{background:#ffffff09;border-color:#ffffff19;color:#f3f5ec}
.tour-room img{width:39px;height:45px;object-fit:cover;border-radius:6px;opacity:.65}
.tour-room.is-active img{opacity:1}
.tour-room strong{font-size:10px;font-weight:500;display:block;line-height:1.6}
.tour-room small{font-size:8px;color:#808c7d;display:block;margin-top:3px}
.tour-room-dot{width:4px;height:4px;border-radius:50%;background:transparent;margin-left:auto;flex-shrink:0}
.is-active .tour-room-dot{background:#b1bea1}
.tour-sidebar-note{font-size:9px;line-height:1.9;color:#747f70;padding:20px 12px 0;max-width:175px}
.tour-main{min-width:0;min-height:0;display:flex;flex-direction:column;padding:20px 22px 18px;overflow-y:auto}
.tour-view-header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 1px 16px}
.tour-current-room{font-size:13px;font-weight:450;letter-spacing:-.1px}
.tour-view-header p{font-size:9px;color:#7c8978;margin-top:6px}

.tour-stage{position:relative;flex:1 0 230px;min-height:230px;overflow:hidden;isolation:isolate;border-radius:14px;background:#1d241e;cursor:default;touch-action:pan-y pinch-zoom;outline-offset:4px}

.tour-backdrop{position:absolute;inset:-8%;width:116%;height:116%;object-fit:cover;filter:blur(24px) brightness(.43);z-index:-1}
.tour-world{position:absolute;inset:0;overflow:hidden;}
.tour-image{width:100%;height:100%;max-width:none;object-fit:contain;user-select:none;-webkit-user-drag:none;transition:opacity .2s ease;pointer-events:none}

.is-changing .tour-image{opacity:.15}
.tour-scene-label{position:absolute;top:17px;left:17px;padding:8px 10px;border:1px solid #ffffff25;background:#131b15a1;backdrop-filter:blur(15px);border-radius:7px;font-size:8px;letter-spacing:1.2px;color:#dce4d6;pointer-events:none}

.tour-stage:after{content:'Pripremamo prikaz…';position:absolute;inset:0;display:grid;place-items:center;color:#dde6d6;font-size:11px;opacity:0;visibility:hidden;pointer-events:none}
.tour-stage.is-changing:after{opacity:1;visibility:visible}
.tour-stage.image-error:after{content:'Fotografija nije dostupna. Izaberite drugi prikaz.';opacity:1;visibility:visible}

.tour-tool{font-size:9px;color:#b6c2b0;background:#272727;border:1px solid #ffffff0d;padding:10px 12px;border-radius:7px}
.tour-tool:hover{background:#363636}
.tour-photo-info{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:19px 0 14px}
.tour-photo-info p{font-size:12px;color:#dee5d8;line-height:1.5}
.tour-photo-info small{display:block;font-size:8px;line-height:1.7;color:#788572;margin-top:6px}
.tour-pagination{display:flex;gap:6px;flex-shrink:0}
.tour-pagination .gallery-nav{background:#272727;font-size:9px;padding:10px 12px}
.tour-pagination .gallery-nav:hover{background:#363636}
.tour-thumbnails{display:flex;justify-content:flex-start;gap:8px;min-height:53px}
.tour-thumbnails button{padding:3px;border:1px solid transparent;background:transparent;border-radius:7px;flex-shrink:0}
.tour-thumbnails button.active{border-color:#90a67f}
.tour-thumbnails img{width:64px;height:45px;object-fit:cover;border-radius:4px;opacity:.55}
.tour-thumbnails button.active img,.tour-thumbnails button:hover img{opacity:1}
.tour-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}

.gallery-item:before{content:'Pogledajte fotografiju';position:absolute;z-index:1;top:14px;right:14px;background:#1d251edb;color:#fff;border:1px solid #ffffff25;border-radius:20px;font-size:8px;padding:8px 11px;backdrop-filter:blur(8px);opacity:0;transition:opacity .2s}
.gallery-item:hover:before,.gallery-item:focus-visible:before{opacity:1}
@media(max-width:1000px){.tour-layout{grid-template-columns:180px minmax(0,1fr)}.tour-sidebar{padding:20px 8px}.tour-room{gap:8px;padding:8px}.tour-room img{width:32px;height:40px}.tour-room strong{font-size:9px}.tour-room small{font-size:7px}.tour-main{padding:18px}.tour-top{height:76px;padding:16px 22px}.tour-layout{height:calc(100% - 76px)}.tour-brand img{width:135px}.tour-title-group h3{font-size:15px}.tour-title-group p{font-size:8px}}
@media(max-width:760px){.tour-dialog{width:calc(100vw - 12px);height:calc(100dvh - 16px);border-radius:16px}.tour-top{height:65px;padding:12px 15px;gap:12px}.tour-brand{gap:12px}.tour-brand img{width:100px}.tour-title-group{padding-left:12px}.tour-title-group h3{font-size:12px;letter-spacing:-.2px}.tour-title-group p{font-size:6px;letter-spacing:1px;margin-top:5px}.tour-top .icon-button{min-width:30px;width:30px;height:30px;font-size:23px}.tour-layout{display:flex;flex-direction:column;height:calc(100% - 65px)}.tour-sidebar{padding:11px 12px 0;border-right:0;overflow:visible;flex-shrink:0;order:0}.tour-sidebar>.eyebrow,.tour-sidebar-note{display:none}.tour-rooms{display:flex;overflow-x:auto;gap:6px;scrollbar-width:none}.tour-rooms::-webkit-scrollbar{display:none}.tour-room{width:auto;min-width:max-content;padding:7px 10px;gap:7px;margin:0;border-radius:8px}.tour-room img,.tour-room small,.tour-room-dot{display:none}.tour-room strong{font-size:9px;line-height:1.5;white-space:nowrap}.tour-main{padding:14px 12px 12px;flex:1;min-height:0;overflow:auto}.tour-view-header{padding-bottom:12px;gap:10px}.tour-current-room{font-size:11px}.tour-view-header p{font-size:8px;margin-top:5px}.tour-stage{min-height:220px;flex:1 0 220px;border-radius:10px}.tour-scene-label{left:11px;top:11px;font-size:6px;padding:7px}.tour-tool{font-size:8px;padding:9px 10px}.tour-photo-info{margin:13px 0 9px;align-items:flex-start;gap:10px}.tour-photo-info p{font-size:10px}.tour-photo-info small{font-size:7px;max-width:200px;margin-top:5px}.tour-pagination{gap:4px}.tour-pagination .gallery-nav{font-size:8px;padding:8px 9px}.tour-thumbnails{min-height:44px;gap:5px}.tour-thumbnails img{width:48px;height:34px}.gallery-item:before{opacity:1;font-size:6px;padding:6px 8px;right:10px;top:10px}}
@media(max-height:620px) and (min-width:761px){.tour-thumbnails{display:none}.tour-photo-info{margin-bottom:0}.tour-stage{min-height:170px;flex-basis:170px}.tour-top{height:60px}.tour-layout{height:calc(100% - 60px)}}
@media(prefers-reduced-motion:reduce){.tour-image,.tour-room,.gallery-item:before{transition:none}.tour-backdrop{filter:blur(24px) brightness(.43)}}

.gallery-swipe-note{display:none!important}
@media(max-width:760px){.gallery-original-note{display:none!important}.gallery-swipe-note{display:block!important}}
