.gallery-page__jump-nav {
  padding: 18px 0;
  text-align: center;
  position: sticky;
  top: 96px;
  z-index: 900;
  background: var(--cream);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.gallery-page__jump-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.gallery-page__jump-button {
  display: inline-block;
  background: #1f2328;
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  transition: 0.2s ease;
}

.gallery-page__jump-button:hover {
  background: #d78a57;
  transform: translateY(-2px);
}

.gallery-page__jump-button.is-active {
  background: #8a6248;
}

.gallery-page__section {
  padding: 12px 0 2px;
  scroll-margin-top: 142px;
}

.gallery-page__section-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  padding: 14px;
}

.gallery-page__section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.gallery-page__section-head h2 {
  margin: 0 0 2px;
  color: var(--brown);
  font-size: 1.35rem;
}

.gallery-page__section-head p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #62564c;
  font-size: 0.9rem;
  line-height: 1.4;
}

.gallery-page__carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0;
  align-items: center;
}

.gallery-page__carousel-window {
  overflow: hidden;
  padding: 0 2px;
}

.gallery-page__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 4);
  gap: 12px;
  transition: transform 0.28s ease;
  will-change: transform;
}

.gallery-page__slide {
  min-width: 0;
}

.gallery-page__image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

.gallery-page__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.gallery-page__carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 50%;
  background: rgba(255,255,255,0.96);
  color: var(--brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0.96;
  box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

.gallery-page__carousel > .gallery-page__carousel-button[data-carousel-prev] {
  left: 4px;
}

.gallery-page__carousel > .gallery-page__carousel-button[data-carousel-next] {
  right: 4px;
}

.gallery-page__carousel-button:hover:not(:disabled) {
  background: #d78a57;
  color: #fff;
}

.gallery-page__carousel-button:disabled {
  opacity: 0.35;
  cursor: default;
}

.gallery-page__empty {
  border: 1px dashed var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #fbf7f1 0%, #f5ede4 100%);
  padding: 28px 18px;
  text-align: center;
}

.gallery-page__empty-mark {
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle at 35% 30%, #e2a867 0%, #d58f50 40%, #ca7f40 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    0 6px 14px rgba(93, 56, 28, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gallery-page__empty-mark::before {
  content: "✦";
  color: #fff;
  font-size: 1.15rem;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.gallery-page__empty-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.10), rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.gallery-page__empty-mark i {
  display: none;
}

.gallery-page__empty h3 {
  margin: 0 0 8px;
  color: var(--brown);
  font-size: 1.15rem;
  line-height: 1.2;
}

.gallery-page__empty p {
  max-width: 640px;
  margin: 0 auto 18px;
  font-family: Arial, Helvetica, sans-serif;
  color: #62564c;
  font-size: 0.92rem;
  line-height: 1.45;
}

.gallery-page__custom-callout {
  text-align: center;
}

.gallery-page__custom-callout h2 {
  margin: 0 0 10px;
  color: var(--brown);
  font-size: 2rem;
}

.gallery-page__custom-callout p {
  max-width: 760px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #5f5449;
}

.gallery-page__custom-actions {
  margin-top: 20px;
}

.gallery-page__carousel-controls {
  display: none;
}

@media (max-width: 1100px) {
  .gallery-page__track {
    grid-auto-columns: calc((100% - 24px) / 3);
  }
}

@media (max-width: 820px) {
  .gallery-page__track {
    grid-auto-columns: calc((100% - 12px) / 2);
  }
}

@media (max-width: 600px) {
  .gallery-page__jump-nav {
    top: 88px;
    padding: 10px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-page__jump-buttons {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 16px 2px;
  }

  .gallery-page__jump-buttons::-webkit-scrollbar {
    display: none;
  }

  .gallery-page__jump-button {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 0.95rem;
    border-radius: 999px;
  }

  .gallery-page__section {
    padding: 12px 0 2px;
    scroll-margin-top: 132px;
  }

  .gallery-page__section-card {
    padding: 14px;
    border-radius: 18px;
  }

  .gallery-page__section-head {
    gap: 8px;
    margin-bottom: 8px;
  }

  .gallery-page__section-head h2 {
    font-size: 1.35rem;
    margin-bottom: 2px;
  }

  .gallery-page__section-head p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .gallery-page__carousel {
    gap: 0;
  }

  .gallery-page__carousel-window {
    padding: 0 2px;
  }

  .gallery-page__track {
    grid-auto-columns: 88%;
    gap: 12px;
  }

  .gallery-page__image {
    height: 180px;
    border-radius: 12px;
  }

  .gallery-page__carousel-button {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    opacity: 0.96;
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
  }

  .gallery-page__carousel > .gallery-page__carousel-button[data-carousel-prev] {
    left: 4px;
  }

  .gallery-page__carousel > .gallery-page__carousel-button[data-carousel-next] {
    right: 4px;
  }

  .gallery-page__custom-callout h2 {
    font-size: 1.8rem;
  }
}






.gallery-page__static-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.gallery-page__static-row.is-single {
  justify-content: center;
}

.gallery-page__static-row .gallery-page__slide {
  flex: 0 0 260px;
  max-width: 260px;
}

.gallery-page__static-row .gallery-page__image {
  height: 276px;
  object-fit: cover;
  background: transparent;
  padding: 0;
}

@media (max-width: 600px) {
  .gallery-page__static-row {
    justify-content: center;
  }

  .gallery-page__static-row .gallery-page__slide {
    flex-basis: min(88vw, 320px);
    max-width: min(88vw, 320px);
  }

  .gallery-page__static-row .gallery-page__image {
    height: 220px;
  }
}

.gallery-page__enhancement-root.is-loading {
  min-height: 232px;
}

.gallery-page__loading {
  overflow: hidden;
  border-radius: 18px;
}

.gallery-page__loading-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-page__loading-card {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: linear-gradient(90deg, #efe5d9 20%, #f8f2ea 38%, #efe5d9 56%);
  background-size: 220% 100%;
  animation: gallery-page-loading-shimmer 1.15s linear infinite;
  box-shadow: var(--shadow-card);
}

@keyframes gallery-page-loading-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -20% 0; }
}

@media (max-width: 1100px) {
  .gallery-page__loading-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .gallery-page__loading-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery-page__enhancement-root.is-loading {
    min-height: 208px;
  }

  .gallery-page__loading-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery-page__loading-card {
    max-height: 220px;
  }
}
