
/* ENKI_GALLERY_LAYOUT_2654ES */

.detail-layout > .detail-photo {
 display:flex !important;
 flex-direction:column !important;
 align-items:stretch !important;
 justify-content:flex-start !important;
 min-width:0;
 min-height:0 !important;
 padding:14px;
 gap:10px;
 background:#10151d;
 box-sizing:border-box;
}

.detail-photo > #detailImage {
 display:block;
 width:100%;
 height:300px;
 max-height:300px !important;
 object-fit:contain;
 background:#fff;
 border-radius:12px;
}

.detail-photo > .enki-gallery-controls {
 display:flex;
 flex-direction:row;
 align-items:center;
 justify-content:center;
 flex-wrap:nowrap;
 gap:16px;
 margin:0;
 width:100%;
}

.enki-gallery-controls button {
 flex:0 0 auto;
 min-width:46px;
 min-height:42px;
 font-size:22px;
}

.enki-gallery-counter {
 display:inline-block;
 min-width:65px;
 text-align:center;
 white-space:nowrap;
 font-size:15px;
}

.detail-photo > .enki-gallery-thumbs {
 display:flex;
 flex-direction:row;
 align-items:center;
 justify-content:flex-start;
 width:100%;
 min-width:0;
 overflow-x:auto;
 overflow-y:hidden;
 padding:6px 0;
 gap:10px;
 box-sizing:border-box;
}

.enki-gallery-thumb {
 flex:0 0 70px;
 width:70px;
 height:70px;
 overflow:hidden;
}

.enki-gallery-thumb img {
 display:block;
 width:100%;
 height:100%;
 max-height:none !important;
 object-fit:cover;
 border-radius:6px;
}

@media (max-width:700px) {
 .detail-photo > #detailImage {
  height:240px;
  max-height:240px !important;
 }

 .detail-photo > .enki-gallery-thumbs {
  justify-content:flex-start;
 }

 .enki-gallery-thumb {
  flex-basis:62px;
  width:62px;
  height:62px;
 }
}
