
/* IMPERIAL GALLERY FIX-05 */

.iw05-old,
[onclick*="movePhotos("]{
 display:none!important
}

.iw05-shell{
 position:relative;
 width:100%;
 min-width:0;
 box-sizing:border-box
}

.iw05-track{
 display:flex!important;
 overflow-x:auto!important;
 gap:14px!important;
 scroll-snap-type:x mandatory;
 scrollbar-width:none;
 width:100%
}

.iw05-track::-webkit-scrollbar{
 display:none
}

.iw05-track>figure{
 flex:0 0 calc((100% - 14px)/2)!important;
 min-width:0;
 margin:0!important;
 scroll-snap-align:start
}

.iw05-track figure a{
 display:block;
 width:100%
}

.iw05-track figure img{
 display:block;
 width:100%;
 height:auto;
 aspect-ratio:4/3;
 object-fit:contain;
 background:#f1f2ef;
 border-radius:8px
}

.iw05-arrow{
 position:absolute!important;
 top:50%!important;
 transform:translateY(-50%)!important;
 z-index:10;
 width:44px!important;
 height:44px!important;
 min-width:44px!important;
 border:1px solid #c7b47b!important;
 border-radius:50%!important;
 background:#073b3a!important;
 color:white!important;
 display:flex!important;
 align-items:center;
 justify-content:center;
 margin:0!important;
 padding:0!important;
 cursor:pointer
}

.iw05-prev{left:10px}
.iw05-next{right:10px}

.iw05-arrow:hover{
 background:#987e48!important
}

.iw05-arrow svg{
 width:22px;
 height:22px;
 fill:none;
 stroke:currentColor;
 stroke-width:2.3;
 stroke-linecap:round;
 stroke-linejoin:round
}

.iw05-dialog{
 width:min(94vw,1000px);
 max-height:92vh;
 overflow:auto;
 padding:18px;
 background:white;
 border:0;
 border-radius:12px
}

.iw05-dialog::backdrop{
 background:#000c
}

.iw05-dialog img{
 width:100%;
 max-height:70vh;
 display:block;
 object-fit:contain
}

.iw05-close{
 display:block;
 margin:0 0 10px auto;
 padding:8px 16px;
 color:#fff;
 background:#073b3a;
 border:0;
 border-radius:6px;
 cursor:pointer
}

.iw05-counter{
 text-align:center;
 margin:8px 0 0;
 color:#073b3a
}

.iw05-status,.iw05-report{
 width:100%;
 padding:16px;
 text-align:center;
 border-radius:8px;
 color:#073b3a;
 background:#edf4f0
}

@media(max-width:600px){

 .iw05-track>figure{
  flex-basis:100%!important
 }

 .iw05-arrow{
  width:40px!important;
  height:40px!important;
  min-width:40px!important
 }

}
