/* Clipso Product Images Widget - Scoped Styles */

.clipso-product-images-widget {
  width: 100%;
}

.clipso-product-images-main-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.clipso-product-images-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.clipso-product-images-thumbs-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.clipso-product-images-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  pointer-events: auto;
}

.clipso-product-images-thumbs::-webkit-scrollbar {
  display: none;
}

.clipso-product-images-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.clipso-product-images-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.clipso-product-images-thumb:hover {
  border-color: #ddd;
}

.clipso-product-images-thumb.is-active {
  border-color: #0066cc;
}

.clipso-product-images-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #666;
  font-weight: bold;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.clipso-product-images-arrow:hover {
  background: #e0e0e0;
  color: #333;
}

.clipso-product-images-arrow:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

