
.igd-catalog-wrapper {
  max-width: 900px;
  margin: 30px auto;
  font-family: inherit;
}

.igd-catalog-viewer {
  position: relative;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.igd-slide-container {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  position: relative;
}

.igd-slide-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.25s ease;
}

.igd-loader {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 4px solid #e0e0e0;
  border-top-color: #2e7d32;
  border-radius: 50%;
  animation: igdSpin 0.8s linear infinite;
  display: none;
}

.igd-loader.show {
  display: block;
}

@keyframes igdSpin {
  to { transform: rotate(360deg); }
}

.igd-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 2;
}

.igd-prev {
  left: 15px;
}

.igd-next {
  right: 15px;
}

.igd-page-info {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
}

.igd-fullscreen-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 6px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  cursor: pointer;
  z-index: 2;
}

.igd-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 15px 5px;
}

.igd-thumb {
  flex: 0 0 70px;
  height: 95px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  position: relative;
}

.igd-thumb.active {
  border-color: #2e7d32;
}

.igd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.igd-thumb-num {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 2px;
}

.igd-actions {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.igd-actions input {
  width: 70px;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.igd-btn-download {
  display: inline-block;
  padding: 8px 20px;
  background: #2e7d32;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none !important;
}

.igd-catalog-viewer.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  border-radius: 0;
  background: #000;
}

.igd-catalog-viewer.fullscreen .igd-slide-container {
  height: 100vh;
  aspect-ratio: unset;
  background: #000;
}

@media (max-width: 768px) {
  .igd-catalog-wrapper {
    margin: 15px auto;
  }

  .igd-nav {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .igd-thumb {
    flex: 0 0 55px;
    height: 75px;
  }

  .igd-fullscreen-btn {
    display: none;
  }
}
.ig-catalog-static {
  max-width: 900px;
  margin: 30px auto;
}

.ig-catalog-static img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  background: #fff;
}