.single-product .adel-product-gallery {
  --adel-gallery-inset: clamp(8px, 1.4vw, 14px);
  position: relative;
  box-sizing: border-box;
  max-width: 500px;
  min-height: 0;
  margin: 0 auto 18px;
  padding: var(--adel-gallery-inset);
  border: 1px solid #e2d4d7;
  border-radius: 14px;
  background: #fbf6f7;
  box-shadow: 0 8px 24px rgba(86, 62, 66, .08);
}

.single-product .adel-product-gallery .lightgallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.single-product .adel-product-gallery .lightgallery > li {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #f1e8ea;
  cursor: zoom-in;
}

.single-product .adel-product-gallery .lightgallery > li:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  border-radius: 9px;
}

.single-product .adel-product-gallery .lightgallery > li img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
}

.single-product .adel-product-gallery .lightgallery > li:first-child img {
  height: 100%;
  max-height: none;
}

.adel-product-gallery__tools {
  position: absolute;
  z-index: 1;
  inset: calc(var(--adel-gallery-inset) + 8px) calc(var(--adel-gallery-inset) + 8px) auto auto;
}

.adel-product-gallery:not(:has(.lightgallery > li[data-src])) .adel-product-gallery__tools {
  display: none;
}

.adel-product-gallery__zoom {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(86, 62, 66, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 2px 8px rgba(38, 25, 28, .16);
  color: #563e42;
  cursor: zoom-in;
  font-size: 16px;
}

.adel-product-gallery__zoom:hover {
  background: #563e42;
  color: #fff;
}

.adel-product-gallery__zoom:focus-visible {
  outline: 2px solid #563e42;
  outline-offset: 2px;
}

@media (min-width: 992px) and (min-height: 720px) {
  .single-product .adel-product-gallery {
    position: sticky;
    top: 118px;
  }
}
