    .image-gallery {
  max-width: 1280px;
  margin: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.main-image img {
width: 100% !important;
    max-width: 100% !important;
    border-radius: 10px !important;
    object-fit: cover;
    aspect-ratio: 4 / 2;
    height: 99% !important;
}

.side-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

.side-images img {
  width: 100%;
  border-radius: 10px !important;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.image-with-button {
  position: relative;
}

.image-with-button img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.view-all {
    position: absolute;
    bottom: 20px;
    left: 165px;
    padding: 8px 12px !important;
    background: #ffffff !important;
    border: none;
    color: #000 !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-weight: bold !important;
    z-index: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .image-gallery {
    flex-direction: column;
  }

  .main-image img {
      display: none;
  }

  .side-images {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .side-images img,
  .image-with-button {
    min-width: 100%;
    flex: 0 0 auto;
    scroll-snap-align: center;
  }

  .view-all {
    position: absolute;
    bottom: 20px;
    left: 10px;
  }
}
    /* Popup Overlay */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgb(0 0 0 / 68%);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup.open {
  display: flex;
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  margin-top: 10px;
}

.popup-content .close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 32px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  z-index: 1000;
}

.popup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.popup-grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}