/* ===== GALLERY PAGE — MOBILE STYLES (max-width: 768px) ===== */

/* Filter Bar Mobile — Horizontal Scrollable Pills */
.gallery-main {
  padding-bottom: 24px !important;
}

.gallery-filter-section {
  padding: 4px 0 12px !important;
}

.gallery-filters {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px 2px !important;
  gap: 6px !important;
  justify-content: flex-start !important;
  scrollbar-width: none;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 6px 14px !important;
  font-size: 0.76rem !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start;
}

/* Gallery Grid Mobile */
.gallery-grid {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

.gallery-card {
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.06) !important;
  transform: none !important;
}

.gallery-card:hover {
  transform: none !important;
}

.gallery-image-box {
  height: 165px !important;
}

.gallery-info {
  padding: 12px 14px !important;
}

.gallery-category-tag {
  font-size: 0.68rem !important;
  padding: 2px 8px !important;
}

.gallery-info h3 {
  font-size: 0.94rem !important;
  line-height: 1.3 !important;
  margin: 4px 0 6px 0 !important;
}

.gallery-info p {
  font-size: 0.78rem !important;
  line-height: 1.45 !important;
}

/* Lightbox Mobile */
.lightbox-modal {
  padding: 12px !important;
}

.lightbox-content {
  max-height: 92vh !important;
  border-radius: 14px !important;
  width: 100% !important;
  overflow-y: auto !important;
}

.lightbox-header {
  padding: 10px 14px !important;
}

.lightbox-header h3 {
  font-size: 0.92rem !important;
}

.lightbox-close {
  width: 30px !important;
  height: 30px !important;
  font-size: 1rem !important;
}

.lightbox-body {
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding: 12px 14px !important;
}

.lightbox-preview-box {
  height: 175px !important;
  border-radius: 8px !important;
}

.lightbox-details h4 {
  font-size: 0.98rem !important;
  margin-bottom: 4px !important;
}

.lightbox-details p {
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
  margin-bottom: 12px !important;
}

.lightbox-nav {
  gap: 8px !important;
}

.lightbox-nav-btn {
  padding: 8px 14px !important;
  font-size: 0.78rem !important;
  flex: 1 !important;
  text-align: center !important;
}
