.gallery-holder {
    display: flex;
    align-items: center;
    gap: 16.672px;
    justify-content: center;
}

.gallery-main {
    width: 580px;
    height: 560px;
    align-self: stretch;
    box-shadow: 2.223px 2.223px 4.446px 0 rgba(0, 0, 0, 0.25);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.gallery-thumbs-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
    position: relative;
}

.gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 11.115px;
    overflow: hidden;
}

/* Thumbnail sizing */
.gallery-thumbs .thumb-slide {
    cursor: pointer;
    transition: border-color 0.2s ease, opacity 0.3s ease;
    height: 166.142px; /* ✅ fixed height for each thumbnail */
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
}

.gallery-thumbs .thumb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ ensures the image fills the thumbnail nicely */
    display: block;
    border-radius: 0;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.gallery-thumbs .thumb-slide:hover img {
    opacity: 1;
}


.thumb-slide.slick-current {

}

.thumb-slide img {
    height: auto;
    display: block;
    border-radius: 4px;
    opacity: 0.85;
}

.thumb-slide:hover img {
    opacity: 1;
}

.thumbs-arrow {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    padding: 6px 0;
    background: #fff;
    border-radius: 30.01px;
    background: #FFF;
    box-shadow: 0 0 4.446px 0 rgba(0, 0, 0, 0.60);
    transition: background 0.2s ease;
    z-index: 9;
}

.thumbs-arrow:hover {
    background: #f4f4f4;
}

.thumbs-arrow.thumbs-prev{
  margin-bottom: -20px;
}
.thumbs-arrow.thumbs-next{
  margin-top: -20px;
}
@media (max-width: 1440px) {
    .gallery-holder {
        display: flex;
        align-items: stretch;
        justify-content: center;
    }

    .gallery-main {
        width: 75%;
        height: auto; /* allow proportional resizing */
    }

    .gallery-thumbs-wrapper {
        width: 25%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .gallery-thumbs {
        flex-direction: column;
        gap: 11px;
    }

    .gallery-thumbs .thumb-slide {
        height: 130px; /* slightly smaller thumbnails for balance */
    }

    .thumbs-arrow.thumbs-prev {
        margin-bottom: -10px;
    }

    .thumbs-arrow.thumbs-next {
        margin-top: -10px;
    }
}
@media (max-width: 1240px) {
    .gallery-holder {
        display: flex;
        align-items: center; /* vertically align main image + thumbs */
        justify-content: center;
        gap: 16px;
    }

    .gallery-main {
        width: 80%;
        height: auto;
    }

    .gallery-thumbs-wrapper {
        width: 20%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .gallery-thumbs {
        flex-direction: column;
        gap: 10px;
    }

    .gallery-thumbs .thumb-slide {
    	height: 70px;
    }
    .thumbs-arrow.thumbs-prev {
        margin-bottom: -8px;
    }

    .thumbs-arrow.thumbs-next {
        margin-top: -8px;
    }
    .gallery-main{
      align-self: center;
    }
}
@media only screen and (max-width: 992px) {
    .gallery-holder {
        flex-direction: column; /* stack main + thumbs vertically */
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .gallery-main {
        width: 100%;
        height: auto;
    }

    .gallery-thumbs-wrapper {
        width: 100%;
        flex-direction: row; /* show thumbs in a row */
        justify-content: center;
        align-items: center;
    }

    .gallery-thumbs {
        flex-direction: row;
        gap: 10px;
        overflow-x: auto; /* allow horizontal scroll if many thumbs */
        max-width: 100%;
        padding-bottom: 5px;
    }

    .gallery-thumbs .thumb-slide {
        margin: 0 5px;
        width: calc(33% - 10px);
        height: auto;
        flex-shrink: 0; /* prevent thumbs from shrinking unevenly */
    }
    .thumbs-arrow.thumbs-prev,
    .thumbs-arrow.thumbs-next{
      position: absolute;
    }
    .thumbs-arrow.thumbs-prev{
      left: 8px;
      }
      .thumbs-arrow.thumbs-next{
        right: 8px;
      }
.thumbs-arrow{
  width: 22px;
  height: 22px;
}
.thumbs-arrow svg{
  width: 11px;
  transform: rotate(-90deg);
}


}
