.sgb-gallery-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.sgb-main-image {
  width: 85%;
}
.sgb-main-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.sgb-thumbs {
  width: 15%;
  max-height: 535px;
}
.sgb-thumbs img {
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
}
.sgb-content {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  max-width: 700px;
}
.swiper-button-next,
.swiper-button-prev {
  color: #333;
}



/* Thumbnail base style */
.sgb-thumbs-swiper .swiper-slide {
    width: 100%;
    height: 80px;
    opacity: 0.6;
    cursor: pointer;
    box-sizing: border-box;
    padding: 2px;
}

/* Image inside thumbnail */
.sgb-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Highlight active thumbnail */
.sgb-thumbs-swiper .swiper-slide-thumb-active {
    border: 2px solid #FF6A00;
    opacity: 1;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}








.sgb-main-swiper .swiper-slide {
    /*aspect-ratio: 1 / 1;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    overflow: hidden;
}

/* Ensure images are fully visible without cropping/stretching */
.sgb-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnails styling (already added, just reconfirm) */
.sgb-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}













/*.sgb-gallery-container {*/
/*    display: flex;*/
/*    gap: 20px;*/
/*    align-items: flex-start;*/
/*}*/



.sgb-thumbs-swiper {
width: 180px;
    height: calc(8 * 76px); /* 8 thumbnails height */
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE/Edge */
}

.sgb-thumbs-swiper .swiper-wrapper {
    flex-direction: column;
}























.sgb-image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
    text-align: center;
}

.sgb-image-modal-content {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    border-radius: 10px;
}

.sgb-image-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}


