/* Product search result thumbs + brand gallery */
.product-result {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: start;
}
.product-result.no-image {
  grid-template-columns: 1fr;
}
.product-result-media {
  margin: 0;
}
.product-result-media button {
  display: block;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: zoom-in;
  overflow: hidden;
  width: 112px;
}
.product-result-media img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: #fff;
}
.product-result-body {
  min-width: 0;
}
@media (max-width: 560px) {
  .product-result {
    grid-template-columns: 1fr;
  }
  .product-result-media button,
  .product-result-media img {
    width: 100%;
    max-width: 220px;
    height: auto;
    aspect-ratio: 1;
  }
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 18px 0 28px;
}
.product-gallery-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: zoom-in;
  text-align: center;
  font: inherit;
  color: inherit;
}
.product-gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.product-gallery-item span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0a2540;
}

.akyol-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 20, 40, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.akyol-lightbox[hidden] {
  display: none !important;
}
.akyol-lightbox img {
  max-width: min(920px, 100%);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.akyol-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
