/* MISTINGISTANBUL V84 FINAL — stable header + one popup engine */
:root{--mi84-navy:#062535;--mi84-line:rgba(79,190,214,.25);--mi84-cyan:#34c5df}

/* HEADER: one DOM position, no JS relocation, no FOUC */
.mi-clean-header{position:sticky!important;top:0!important;z-index:2147483000!important;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(16px) saturate(135%)!important;-webkit-backdrop-filter:blur(16px) saturate(135%)!important;box-shadow:0 6px 24px rgba(5,39,56,.08)!important}
.mi-clean-header .mi-clean-nav-wrap{overflow:visible!important}
.mi-clean-header .mi84-header-lang{position:relative!important;margin:0!important;z-index:2147483200!important}
.mi-clean-header .mi84-header-lang .mi-lang-current{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;background:linear-gradient(180deg,#fbfdfe,#eef7fb)!important;border:1px solid #c6dde7!important;color:#0b3850!important;box-shadow:0 4px 13px rgba(5,38,55,.06)!important;white-space:nowrap!important}
.mi-clean-header .mi84-header-lang .mi-lang-current .mi-flag-img{display:block!important;opacity:1!important;visibility:visible!important;width:23px!important;height:16px!important;object-fit:cover!important;border-radius:3px!important;background:#fff!important}
.mi-clean-header .mi84-header-lang .mi-lang-current>span{font:800 12px/1 Arial,sans-serif!important;color:#0b3850!important;-webkit-text-fill-color:#0b3850!important}
.mi-clean-header .mi84-header-lang .mi-lang-current::after{content:'▾'!important;font-size:9px!important;color:#0b3850!important;margin-left:1px!important}
.mi-clean-header .mi84-header-lang .mi-lang-menu{position:absolute!important;top:calc(100% + 8px)!important;right:0!important;left:auto!important;min-width:126px!important;width:126px!important;padding:7px!important;border:1px solid rgba(9,73,101,.14)!important;border-radius:14px!important;background:rgba(255,255,255,.99)!important;box-shadow:0 18px 44px rgba(4,38,55,.18)!important;overflow:hidden!important;z-index:2147483300!important}
.mi-clean-header .mi84-header-lang:not(.open):not(.is-open) .mi-lang-menu{display:none!important}
.mi-clean-header .mi84-header-lang .mi-lang-menu a{display:flex!important;align-items:center!important;gap:9px!important;min-height:42px!important;padding:8px 10px!important;border-radius:10px!important;color:#103448!important;background:#fff!important;font:800 12px/1 Arial,sans-serif!important}
.mi-clean-header .mi84-header-lang .mi-lang-menu a:hover,.mi-clean-header .mi84-header-lang .mi-lang-menu a:focus-visible{background:#eef9fc!important;color:#087d98!important;outline:0!important}
.mi-clean-header .mi84-header-lang .mi-lang-menu img{width:24px!important;height:16px!important;object-fit:cover!important;border-radius:3px!important}

@media(min-width:992px){
 .mi-clean-header .mi-clean-nav-wrap{grid-template-columns:minmax(170px,250px) minmax(0,1fr) auto 52px!important;gap:8px!important}
 .mi-clean-header .mi-clean-brand{grid-column:1!important}.mi-clean-header .mi-clean-main-nav{grid-column:2!important}
 .mi-clean-header .mi84-header-lang{grid-column:3!important;grid-row:1!important;width:76px!important;height:44px!important;align-self:center!important}
 .mi-clean-header .mi84-header-lang .mi-lang-current{width:76px!important;min-width:76px!important;height:44px!important;padding:0 9px!important;border-radius:13px!important}
 .mi60-search-wrap{grid-column:4!important;grid-row:1!important;width:52px!important;min-width:52px!important}
}

@media(max-width:991px){
 .mi-clean-header{min-height:64px!important}
 .mi-clean-header .mi-clean-nav-wrap{display:grid!important;grid-template-columns:minmax(0,1fr) 42px 72px 44px!important;grid-template-rows:56px!important;align-items:center!important;column-gap:7px!important;width:100%!important;max-width:none!important;height:64px!important;min-height:64px!important;margin:0!important;padding:4px 8px!important}
 .mi-clean-header .mi-clean-brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;min-width:0!important;max-width:min(42vw,170px)!important;margin:0!important}
 .mi-clean-header .mi-clean-brand img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:44px!important;object-fit:contain!important}
 .mi60-search-wrap{grid-column:2!important;grid-row:1!important;position:static!important;right:auto!important;top:auto!important;transform:none!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;justify-self:center!important}
 .mi60-search-toggle{width:42px!important;min-width:42px!important;height:42px!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important}
 .mi60-search-toggle span{display:none!important}
 .mi-clean-header .mi84-header-lang{grid-column:3!important;grid-row:1!important;position:relative!important;right:auto!important;top:auto!important;transform:none!important;width:72px!important;height:42px!important;justify-self:center!important}
 .mi-clean-header .mi84-header-lang .mi-lang-current{width:72px!important;min-width:72px!important;height:42px!important;padding:0 8px!important;border-radius:12px!important;gap:6px!important}
 .mi-clean-header .mi-clean-menu-toggle{grid-column:4!important;grid-row:1!important;display:inline-flex!important;position:static!important;right:auto!important;top:auto!important;transform:none!important;justify-self:end!important;width:44px!important;min-width:44px!important;height:44px!important;margin:0!important;padding:0!important;border-radius:12px!important;z-index:2147483250!important}
 .mi-clean-header .mi-clean-main-nav{grid-column:1/-1!important;grid-row:2!important;position:absolute!important;top:100%!important;left:8px!important;right:8px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 72px)!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;border-radius:0 0 18px 18px!important;box-shadow:0 22px 45px rgba(5,39,56,.18)!important}
 .mi-clean-header .mi-clean-main-nav .mi-lang-switcher{display:none!important}
 .mi-clean-header .mi84-header-lang .mi-lang-menu{top:calc(100% + 7px)!important;right:0!important}
}
@media(max-width:430px){
 .mi-clean-header .mi-clean-nav-wrap{grid-template-columns:minmax(0,1fr) 40px 52px 42px!important;column-gap:5px!important;padding-inline:6px!important}
 .mi-clean-header .mi-clean-brand{max-width:min(44vw,150px)!important}.mi-clean-header .mi-clean-brand img{max-height:40px!important}
 .mi60-search-wrap,.mi60-search-toggle{width:40px!important;min-width:40px!important;height:40px!important}
 .mi-clean-header .mi84-header-lang{width:52px!important;height:40px!important}.mi-clean-header .mi84-header-lang .mi-lang-current{width:52px!important;min-width:52px!important;height:40px!important;padding:0 7px!important;gap:0!important}
 .mi-clean-header .mi84-header-lang .mi-lang-current>span,.mi-clean-header .mi84-header-lang .mi-lang-current::after{display:none!important}
 .mi-clean-header .mi84-header-lang .mi-lang-current .mi-flag-img{width:25px!important;height:17px!important}
 .mi-clean-header .mi-clean-menu-toggle{width:42px!important;min-width:42px!important;height:42px!important}
 .mi-clean-header .mi84-header-lang .mi-lang-menu{width:116px!important;min-width:116px!important;right:-2px!important}
}
@media(max-width:350px){
 .mi-clean-header .mi-clean-nav-wrap{grid-template-columns:minmax(0,1fr) 38px 48px 40px!important;column-gap:4px!important;padding-inline:5px!important}
 .mi-clean-header .mi-clean-brand{max-width:41vw!important}.mi60-search-wrap,.mi60-search-toggle{width:38px!important;min-width:38px!important}.mi-clean-header .mi84-header-lang{width:48px!important}.mi-clean-header .mi84-header-lang .mi-lang-current{width:48px!important;min-width:48px!important}.mi-clean-header .mi-clean-menu-toggle{width:40px!important;min-width:40px!important}
}

/* ONE POPUP ENGINE — gallery + product + service */
html.mi84-popup-open,html.mi84-popup-open body{overflow:hidden!important;overscroll-behavior:none!important}
.mi84-popup[hidden]{display:none!important}
.mi84-popup{position:fixed!important;inset:0!important;z-index:2147483646!important;display:grid!important;place-items:center!important;padding:18px!important;background:rgba(1,14,23,.88)!important;backdrop-filter:blur(18px) saturate(130%)!important;-webkit-backdrop-filter:blur(18px) saturate(130%)!important}
.mi84-popup *{box-sizing:border-box!important}
.mi84-dialog{width:min(1180px,calc(100vw - 36px))!important;height:min(820px,calc(100dvh - 36px))!important;max-width:1180px!important;max-height:820px!important;min-width:0!important;min-height:0!important;display:grid!important;grid-template-rows:54px minmax(0,1fr) auto!important;overflow:hidden!important;border:1px solid rgba(92,205,227,.25)!important;border-radius:22px!important;background:linear-gradient(145deg,rgba(4,34,47,.98),rgba(1,19,29,.99))!important;box-shadow:0 36px 100px rgba(0,0,0,.55)!important;color:#fff!important}
.mi84-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:54px!important;padding:7px 9px 7px 14px!important;border-bottom:1px solid rgba(130,222,239,.12)!important;background:rgba(4,31,43,.94)!important}
.mi84-title{min-width:0!important;margin:0!important;color:#f7fdff!important;font:800 clamp(12px,1.15vw,15px)/1.3 Arial,sans-serif!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mi84-tools{display:flex!important;align-items:center!important;gap:6px!important}.mi84-counter{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:48px!important;height:36px!important;padding:0 10px!important;border:1px solid rgba(99,212,233,.25)!important;border-radius:999px!important;background:rgba(21,151,177,.13)!important;color:#d5f8fd!important;font:800 12px/1 Arial,sans-serif!important}
.mi84-tool,.mi84-close,.mi84-nav{display:grid!important;place-items:center!important;border:1px solid rgba(145,226,241,.30)!important;background:rgba(5,45,61,.90)!important;color:#fff!important;cursor:pointer!important;box-shadow:0 8px 24px rgba(0,0,0,.20)!important;transition:background .15s ease,border-color .15s ease,transform .15s ease!important}
.mi84-tool{width:36px!important;height:36px!important;border-radius:12px!important;font:700 15px/1 Arial,sans-serif!important}.mi84-close{width:40px!important;height:40px!important;border-radius:50%!important;font:300 27px/1 Arial,sans-serif!important}.mi84-tool:hover,.mi84-close:hover,.mi84-nav:hover,.mi84-tool:focus-visible,.mi84-close:focus-visible,.mi84-nav:focus-visible{background:#087e99!important;border-color:#77dff0!important;outline:2px solid rgba(119,223,240,.85)!important;outline-offset:2px!important}
.mi84-stage{position:relative!important;display:grid!important;place-items:center!important;min-width:0!important;min-height:0!important;overflow:hidden!important;background:radial-gradient(circle at 50% 45%,rgba(26,65,79,.38),rgba(2,22,32,.75) 54%,rgba(1,14,23,.96) 100%)!important}
.mi84-figure{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;margin:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important}
.mi84-media{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:14px 66px!important;overflow:hidden!important;touch-action:pan-y!important}
.mi84-image{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;border-radius:12px!important;background:transparent!important;box-shadow:0 18px 56px rgba(0,0,0,.26)!important;user-select:none!important;-webkit-user-drag:none!important}
.mi84-caption{min-height:34px!important;max-height:46px!important;margin:0!important;padding:8px 13px!important;border-top:1px solid rgba(144,221,236,.09)!important;background:rgba(3,29,41,.86)!important;color:#eafaff!important;font:700 11px/1.35 Arial,sans-serif!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.mi84-nav{position:absolute!important;z-index:4!important;top:50%!important;transform:translateY(-50%)!important;width:44px!important;height:58px!important;border-radius:14px!important;font:300 32px/1 Arial,sans-serif!important}.mi84-prev{left:10px!important}.mi84-next{right:10px!important}
.mi84-bottom{min-height:64px!important;border-top:1px solid rgba(144,221,236,.11)!important;background:rgba(1,18,28,.98)!important}.mi84-thumbs{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;padding:7px 42px 8px!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;scrollbar-color:#2abed9 rgba(255,255,255,.08)!important}.mi84-thumbs[hidden]{display:none!important}.mi84-thumb{flex:0 0 54px!important;width:54px!important;height:48px!important;padding:3px!important;border:2px solid transparent!important;border-radius:9px!important;background:rgba(235,247,250,.74)!important;opacity:.65!important;overflow:hidden!important;cursor:pointer!important;scroll-snap-align:center!important}.mi84-thumb img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;border-radius:5px!important}.mi84-thumb.is-active{opacity:1!important;border-color:#2ec5df!important;background:#fff!important}
.mi84-stage.is-zoomed .mi84-media{display:block!important;overflow:auto!important;cursor:zoom-out!important;touch-action:pan-x pan-y!important}.mi84-stage.is-zoomed .mi84-image{max-width:none!important;max-height:none!important;width:max(140%,1100px)!important;height:auto!important;margin:0 auto!important}

@media(max-width:991px){
 .mi84-popup{padding:8px!important}.mi84-dialog{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-width:none!important;max-height:none!important;border-radius:18px!important;grid-template-rows:50px minmax(0,1fr) auto!important}.mi84-head{min-height:50px!important;padding:6px 7px 6px 10px!important}.mi84-title{font-size:12px!important}.mi84-tool{width:34px!important;height:34px!important}.mi84-close{width:36px!important;height:36px!important;font-size:24px!important}.mi84-media{padding:8px 44px!important}.mi84-nav{width:36px!important;height:48px!important;font-size:26px!important}.mi84-prev{left:4px!important}.mi84-next{right:4px!important}.mi84-caption{min-height:31px!important;max-height:40px!important;padding:6px 9px!important;font-size:10px!important}.mi84-bottom{min-height:56px!important}.mi84-thumbs{padding:6px 34px 7px!important}.mi84-thumb{flex-basis:46px!important;width:46px!important;height:40px!important}
}
@media(max-width:640px){
 .mi84-popup{padding:0!important;place-items:stretch!important;background:rgba(1,14,23,.97)!important}.mi84-dialog{width:100vw!important;height:100dvh!important;min-height:100svh!important;max-width:100vw!important;max-height:100dvh!important;border:0!important;border-radius:0!important;grid-template-rows:auto minmax(0,1fr) auto!important}.mi84-head{min-height:48px!important;padding:max(6px,env(safe-area-inset-top)) max(6px,env(safe-area-inset-right)) 6px max(9px,env(safe-area-inset-left))!important}.mi84-title{font-size:11px!important}.mi84-counter{height:32px!important;min-width:44px!important;padding:0 8px!important;font-size:11px!important}.mi84-tool.zoom,.mi84-tool.share{display:none!important}.mi84-tool{width:32px!important;height:32px!important}.mi84-close{width:34px!important;height:34px!important;font-size:23px!important}.mi84-media{padding:6px 36px!important}.mi84-image{max-width:100%!important;max-height:100%!important;border-radius:8px!important;box-shadow:none!important}.mi84-caption{max-height:38px!important;white-space:normal!important;display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important}.mi84-nav{width:31px!important;height:44px!important;font-size:23px!important}.mi84-prev{left:2px!important}.mi84-next{right:2px!important}.mi84-bottom{min-height:50px!important;padding-bottom:env(safe-area-inset-bottom)!important}.mi84-thumbs{padding:5px 30px 6px!important}.mi84-thumb{flex-basis:40px!important;width:40px!important;height:34px!important;border-radius:7px!important}
}
@media(max-width:390px){.mi84-counter{display:none!important}.mi84-media{padding-inline:33px!important}.mi84-title{font-size:10.5px!important}}
@media(max-height:560px) and (orientation:landscape){.mi84-popup{padding:0!important}.mi84-dialog{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;border:0!important;border-radius:0!important;grid-template-rows:40px minmax(0,1fr) 40px!important}.mi84-head{min-height:40px!important;height:40px!important;padding:3px 7px!important}.mi84-counter,.mi84-tool{display:none!important}.mi84-close{display:grid!important;width:32px!important;height:32px!important}.mi84-caption{display:none!important}.mi84-media{padding:3px 34px!important}.mi84-bottom{min-height:40px!important}.mi84-thumbs{height:40px!important;padding:3px 30px!important}.mi84-thumb{flex-basis:34px!important;width:34px!important;height:30px!important}.mi84-nav{width:29px!important;height:38px!important}}


/* preserved V82 product CTA fixes, consolidated into V84 */
/* 3) Product video CTA play icon: visible before hover and accessible */
.mi52-gallery-video-actions .watch .mi54-watch-icon{display:grid!important;place-items:center!important;flex:0 0 42px!important;width:42px!important;height:42px!important;border-radius:50%!important;background:#fff!important;color:#087d98!important;box-shadow:0 8px 22px rgba(0,0,0,.16)!important;opacity:1!important;visibility:visible!important;transform:none!important}
.mi52-gallery-video-actions .watch .mi54-watch-icon svg{display:block!important;width:21px!important;height:21px!important;color:#087d98!important;fill:currentColor!important;opacity:1!important;visibility:visible!important}
.mi52-gallery-video-actions .watch:hover .mi54-watch-icon,.mi52-gallery-video-actions .watch:focus-visible .mi54-watch-icon{background:#0b3850!important;color:#fff!important;transform:scale(1.05)!important}

/* 4) Technical product file -> premium CTA card, no hard border */
.mi51-tech-file{position:relative!important;overflow:hidden!important;border:0!important;border-radius:26px!important;background:linear-gradient(145deg,#f7fcfe 0%,#eef8fb 58%,#f8fcfd 100%)!important;box-shadow:0 22px 60px rgba(5,46,65,.10)!important;padding:clamp(22px,3vw,38px)!important}
.mi51-tech-file::before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#0d83a0,#2bc4dc);border-radius:6px;pointer-events:none}
.mi51-tech-file::after{content:'';position:absolute;right:-90px;top:-90px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(41,194,220,.13),rgba(41,194,220,0) 70%);pointer-events:none}
.mi51-tech-head{position:relative;z-index:1;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:0 0 18px!important;margin:0 0 18px!important;border:0!important;border-bottom:1px solid rgba(9,92,120,.10)!important}
.mi51-tech-file .msi-eyebrow{color:#0a7d98!important;letter-spacing:.08em!important;font-weight:850!important}.mi51-tech-file .mi44-context-heading{color:#0a2f44!important;font-size:clamp(26px,3vw,40px)!important;line-height:1.08!important}
.mi51-tech-badge{flex:0 0 auto!important;padding:8px 11px!important;border:1px solid rgba(13,131,160,.16)!important;border-radius:999px!important;background:#fff!important;color:#0a7189!important;box-shadow:0 6px 16px rgba(8,74,98,.08)!important;font-weight:850!important}
.mi51-tech-file .msi-lead{position:relative;z-index:1;color:#476675!important;font-size:clamp(15px,1.5vw,18px)!important;line-height:1.72!important}
.mi51-tech-file .msi-summary-tags{position:relative;z-index:1!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important}.mi51-tech-file .msi-summary-tags span{border:1px solid rgba(11,126,153,.12)!important;background:#fff!important;color:#1a566d!important;border-radius:999px!important;box-shadow:none!important}
.mi51-tech-file .msi-quick-facts{position:relative;z-index:1!important;overflow:hidden!important;border:0!important;border-radius:18px!important;background:rgba(255,255,255,.78)!important;box-shadow:inset 0 0 0 1px rgba(10,99,127,.08)!important}.mi51-tech-file .msi-quick-facts>div{border-color:rgba(10,99,127,.08)!important;background:transparent!important}
.mi51-tech-file .msi-actions{position:relative;z-index:1!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin-top:22px!important}.mi51-tech-file .msi-btn{min-height:48px!important;border-radius:14px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-weight:850!important;box-shadow:none!important}.mi51-tech-file .msi-btn-primary{background:linear-gradient(135deg,#087d98,#0aa4c4)!important;color:#fff!important;border:0!important;box-shadow:0 10px 24px rgba(8,125,152,.20)!important}.mi51-tech-file .msi-btn-secondary{background:#fff!important;color:#0b526b!important;border:1px solid rgba(8,125,152,.16)!important}
.mi51-tech-file .msi-disclaimer,.mi51-tech-file .mi43-quote-commerce{position:relative;z-index:1!important;border:0!important;background:transparent!important;color:#58717d!important}
@media(max-width:767px){.mi51-tech-file{border-radius:20px!important;padding:20px 18px 22px!important}.mi51-tech-head{display:block!important}.mi51-tech-badge{display:inline-flex!important;margin-top:12px!important}.mi51-tech-file .msi-actions{display:grid!important;grid-template-columns:1fr!important}.mi51-tech-file .msi-btn{width:100%!important}.mi51-tech-file .msi-quick-facts{border-radius:15px!important}}
