

/* ============================================================
   Gallery Component
   ============================================================ */

.gallery {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gallery-main {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  background: var(--surface-elevated);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-main-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-1);
}

.gallery-thumb {
  width: 72px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--surface-elevated);
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.gallery-thumb:hover {
  border-color: var(--surface-glass-border);
}

.gallery-thumb.active {
  border-color: var(--gold-500);
}

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

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-nav.prev { left: var(--space-3); }
.gallery-nav.next { right: var(--space-3); }

.gallery-counter {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: var(--text-xs);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-full);
}
