.hpmt-gallery{
display:flex;
align-items:flex-start;
gap:20px;
width:100%;
}
.hpmt-gallery-sidebar{
width:90px;
flex:0 0 90px;
display:flex;
flex-direction:column;
gap:12px;
}
.hpmt-thumb{
width:90px;
height:90px;
border:2px solid #e5e7eb;
border-radius:10px;
overflow:hidden;
background:#fff;
cursor:pointer;
transition:all .25s ease;
box-sizing:border-box;
}
.hpmt-thumb:hover,
.hpmt-thumb.active{
border-color:#0d6efd;
}
.hpmt-thumb img{
width:100%;
height:100%;
object-fit:cover;
display:block;
}
.hpmt-gallery-main{
flex:1;
border:1px solid #e5e7eb;
border-radius:12px;
overflow:hidden;
background:#fff;
padding:15px;
box-sizing:border-box;
display:flex;
justify-content:center;
align-items:center;
min-height:550px;
}
.hpmt-main-link{
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
}
.hpmt-main-image{
max-width:100%;
max-height:520px;
width:auto;
height:auto;
display:block;
object-fit:contain;
} @media (max-width:991px){
.hpmt-gallery{
gap:15px;
}
.hpmt-gallery-sidebar{
width:75px;
flex:0 0 75px;
}
.hpmt-thumb{
width:75px;
height:75px;
}
} @media (max-width:767px){
@media (max-width:767px){
.hpmt-gallery{
display:flex;
flex-direction:column;
}
.hpmt-gallery-main{
order:1;
width:100%;
padding:10px;
display:flex;
justify-content:center;
align-items:center;
min-height:320px;
max-height:320px;
}
.hpmt-main-link{
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
}
.hpmt-main-image{
max-width:100%;
max-height:300px;
width:auto;
height:auto;
object-fit:contain;
}
.hpmt-gallery-sidebar{
order:2;
width:100%;
flex:unset;
display:flex;
flex-direction:row;
gap:10px;
overflow-x:auto;
overflow-y:hidden;
padding-bottom:5px;
scrollbar-width:thin;
}
.hpmt-thumb{
width:70px;
height:70px;
min-width:70px;
flex:0 0 70px;
}
.hpmt-gallery-sidebar::-webkit-scrollbar{
height:5px;
}
}
.hpmt-gallery-sidebar::-webkit-scrollbar{
height:5px;
}
}