/* ==========================================================================
   DIGESTEP — PRODUCTS GALLERY PAGE STYLES
   ========================================================================== */

.gallery-page-hero {
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3rem;
  text-align: center;
}

.gallery-headline {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin-bottom: 1rem;
}

.gallery-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3rem;
}

/* Product Navigation Selector Pills */
.gallery-selector-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.gallery-nav-pill {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 0.65rem 1.5rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-nav-pill:hover {
  border-color: var(--brand-lime);
  color: var(--text-pure);
}

.gallery-nav-pill.is-active {
  background: rgba(141, 198, 63, 0.15);
  border-color: var(--brand-lime);
  color: var(--brand-lime);
  box-shadow: 0 0 20px rgba(141, 198, 63, 0.25);
}

/* Master Monolith 3D Interactive Stage */
.gallery-hero-stage {
  position: relative;
  background: radial-gradient(circle at center, rgba(11, 22, 44, 0.75) 0%, rgba(5, 8, 17, 0.95) 75%);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-card);
  margin-bottom: 6rem;
}

.gallery-stage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .gallery-stage-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

/* View Mode Switcher Strip */
.gallery-views-control {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  width: fit-content;
}

.gallery-view-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.45rem 0.95rem;
  border-radius: 2px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-view-btn:hover {
  color: var(--text-pure);
  border-color: var(--border-medium);
}

.gallery-view-btn.is-active {
  background: rgba(141, 198, 63, 0.15);
  border-color: var(--border-lime);
  color: var(--brand-lime);
}

/* Stage Visual Display */
.gallery-visual-wrapper {
  position: relative;
  height: clamp(380px, 55vh, 580px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.85));
  transition: transform 0.4s var(--ease-out-expo), opacity 0.25s ease;
}

/* Arrow Nav Floating Controls */
.stage-arrow-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.gallery-arrow-btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(11, 22, 44, 0.85);
  border: 1px solid var(--border-medium);
  color: var(--text-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.gallery-arrow-btn:hover {
  border-color: var(--brand-lime);
  color: var(--brand-lime);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(141, 198, 63, 0.3);
}

/* Product Info Block */
.gallery-details-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gallery-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-lime);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gallery-title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.gallery-subtitle {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
}

.gallery-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Technical Specification Matrix */
.gallery-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.spec-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.spec-val {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-pure);
}

/* Full Product Comparison Grid */
.comparison-section {
  padding: 5rem 0;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: var(--bg-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(11, 22, 44, 0.7);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
