.gallery-container {
display: flex;
align-items: center;
justify-content: space-between;
height: 485px; overflow: hidden;
} .gallery-container .thumbnail-slider-container {
width: 120px;
height: 285px;
overflow-y: hidden; 
margin-right: 20px;
}
.gallery-container .thumbnail-slider {
display: flex;
flex-direction: column;
transition: transform 0.3s ease;
gap: 20px;
}
.gallery-container .thumbnail {
width: 100%;
height: 75px; background-size: cover;
background-position: center;
cursor: pointer;
} .gallery-container .main-slider {
position: relative;
width: 100%;
height: 485px; overflow: hidden;
}
.gallery-container .slide {
position: absolute;
width: 100%;
height: 100%;
transition: transform 0.5s ease-in-out;
opacity: 0;
visibility: hidden;
background-size:contain;
background-repeat: no-repeat;
background-position: center;
}
.gallery-container .main-slider .slide.active {
opacity: 1;
visibility: visible;
}
.thumbnail-slider {
position: relative;
width: 100%;
overflow: hidden;
}
.thumbnail-slider .thumbnail {
transition: transform 0.5s ease-in-out;
}
.thumbnail-slider .thumbnail.active {
border: 2px solid #fcd791; }
.mobile-thumbnail-slider .mobile-thumbnail.active {
border: 2px solid #fcd791; }
.previous {
display: block;
transform: translateX(-100%); }
.next {
display: block;
transform: translateX(100%); } .gallery-container button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: #fff;
color: white;
border: none;
padding: 10px;
cursor: pointer;
z-index: 1;
width: 55px;
border-radius: 0;
}
.gallery-container .prev {
left: 0;
opacity: 1 !important;
}
.gallery-container .next {
right: 0;
opacity: 1 !important;
}
.gallery-container button:hover {
background-color: #1d1d1d80;
}
.gallery-container button:focus {
background-color: #1d1d1d80;
} .gallery-container .thumbnail.active {
opacity: 0.6;
}
@media screen and (max-width: 768px) {
.gallery-container {
flex-direction: column;
height: auto;
}
.gallery-container .main-slider{
height:385px !important;
}
.thumbnail-slider-container {
display:none;
}
.thumbnail-slider {
flex-direction: row;
gap: 10px;
}
.main-slider {
width: 100%;
min-height: 300px; }
} .desktop-thumbnail-slider-container {
display: block;
width: 120px;
height: 285px;
overflow-y: hidden; 
margin-right: 20px;
}
.mobile-thumbnail-slider-container {
display: none;
} .thumbnail-slider {
display: flex;
flex-direction: column;
gap: 20px;
} .main-slider {
position: relative;
width: 100%;
height: 285px;
overflow: hidden;
}
.slide {
position: absolute;
width: 100%;
height: 100%;
transition: transform 0.5s ease-in-out;
opacity: 0;
visibility: hidden;
background-size:auto;
}
.main-slider .slide.active {
opacity: 1;
visibility: visible;
} .gallery-container button { } @media screen and (max-width: 768px) {
.gallery-container {
flex-direction: column;
height: auto;
} .desktop-thumbnail-slider-container {
display: none;
} .mobile-thumbnail-slider-container {
display: block;
width: 100%;
margin-bottom: 10px;
overflow-x: auto; }
.mobile-thumbnail-slider {
display: flex;
flex-direction: row; gap: 10px;
}
.mobile-thumbnail { width: 85px;
height: 85px;
background-size: cover;
background-position: center;
cursor: pointer;
}
.main-slider {
width: 100%;
min-height: 300px;
}
}