.gallery-discovery-page {
  max-width: 1280px;
  margin: 34px auto 0;
  padding: 0 16px 48px;
}

.gallery-discovery-hero {
  padding: 28px;
  border: 1px solid rgba(33, 27, 18, 0.08);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(244, 191, 87, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 244, 235, 0.95));
  box-shadow: 0 18px 36px rgba(41, 30, 17, 0.1);
}

.gallery-discovery-hero__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #8b6519;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.gallery-discovery-hero__title {
  margin: 0 0 14px;
  color: #1d1713;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.05;
}

.gallery-discovery-hero__copy {
  max-width: 760px;
  margin: 0;
  color: #5c5247;
  font-size: 17px;
  line-height: 1.8;
}

.gallery-discovery-search {
  margin-top: 20px;
  padding: 22px 24px;
  border: 1px solid rgba(33, 27, 18, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 26px rgba(41, 30, 17, 0.08);
}

.gallery-discovery-search__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.gallery-discovery-search__title {
  margin: 0;
  color: #1d1713;
  font-size: 22px;
  font-weight: 800;
}

.gallery-discovery-search__hint {
  color: #6a5f52;
  font-size: 14px;
  line-height: 1.6;
}

.gallery-discovery-search .search-container {
  margin-bottom: 0 !important;
}

.gallery-discovery-summary {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  margin-top: 22px;
}

.gallery-discovery-summary__card,
.gallery-discovery-summary__trust {
  padding: 24px 26px;
  border-radius: 26px;
  box-shadow: 0 18px 30px rgba(41, 30, 17, 0.08);
}

.gallery-discovery-summary__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(33, 27, 18, 0.08);
}

.gallery-discovery-summary__card h2 {
  margin: 0 0 10px;
  color: #1d1713;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}

.gallery-discovery-summary__card p {
  margin: 0;
  color: #5c5247;
  font-size: 16px;
  line-height: 1.8;
}

.gallery-discovery-summary__trust {
  display: grid;
  gap: 14px;
  background: #17130f;
  color: #fff9ef;
}

.gallery-discovery-summary__trust strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.gallery-discovery-summary__trust span {
  display: block;
  color: rgba(255, 249, 239, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.gallery-category-grid {
  margin-top: 26px;
}

.gallery-category-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(33, 27, 18, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 30px rgba(41, 30, 17, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 101, 25, 0.2);
  box-shadow: 0 22px 34px rgba(41, 30, 17, 0.12);
}

.gallery-category-card.dreamtime-card--category,
.gallery-category-card.dreamtime-card--category:hover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 18px 14px 16px !important;
  overflow: visible !important;
  transform: translateY(0) !important;
  position: relative;
}

.gallery-category-card.dreamtime-card--category::after {
  display: none !important;
}

.dreamtime-link--category {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
}

.dreamtime-card--category .dreamtime-image-shadow {
  display: none !important;
}

.dreamtime-container--category {
  min-height: auto;
  height: auto;
  width: 100%;
  align-items: flex-start !important;
  justify-content: center;
}

.gallery-category-card .card-img-top.gallery-category-card__print {
  width: 75% !important;
  max-width: 255px;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0 !important;
}

.dreamtime-card-body--category {
  width: 100%;
  margin-top: auto;
  padding: 0 4px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.gallery-category-card .card-title {
  margin: 0;
  color: #1d1713;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.dreamtime-card--category .dreamtime-card-cta {
  color: #08a892;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-category-card .card-footer {
  width: 100%;
  padding: 0 8px 14px;
  border: 0;
  background: transparent;
}

.gallery-category-card .subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.gallery-category-card .subcat-link,
.gallery-category-card .toggle-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-category-card .subcat-link {
  border: 1px solid rgba(33, 27, 18, 0.08);
  background: rgba(248, 242, 232, 0.9);
  color: #463d32;
}

.gallery-category-card .subcat-link:hover,
.gallery-category-card .toggle-more:hover {
  text-decoration: none;
}

.gallery-category-card .subcat-link:hover {
  background: #17130f;
  color: #fff8ea;
}

.gallery-category-card .toggle-more {
  border: 1px solid rgba(139, 101, 25, 0.18);
  background: #fff;
  color: #8b6519;
}

.gallery-results-shell {
  max-width: 1320px;
  margin: 34px auto 0;
  padding: 0 16px 48px;
}

.gallery-results-top {
  margin-bottom: 24px;
}

.gallery-results-intro {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  margin-top: 20px;
}

.gallery-results-panel,
.gallery-results-proof {
  padding: 24px 26px;
  border-radius: 28px;
  box-shadow: 0 18px 30px rgba(41, 30, 17, 0.08);
}

.gallery-results-panel {
  border: 1px solid rgba(33, 27, 18, 0.08);
  background: rgba(255, 255, 255, 0.94);
}

.gallery-results-panel h1 {
  margin: 0 0 10px;
  color: #1d1713;
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 800;
  line-height: 1.08;
}

.gallery-results-panel p {
  margin: 0;
  color: #5c5247;
  font-size: 16px;
  line-height: 1.8;
}

.gallery-results-proof {
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, #1f1913 0%, #14100c 100%);
  color: #fff8ea;
}

.gallery-results-proof__item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 800;
}

.gallery-results-proof__item span {
  display: block;
  color: rgba(255, 248, 234, 0.8);
  font-size: 14px;
  line-height: 1.55;
}

.gallery-results-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.gallery-results-toolbar__brand img {
  max-width: 180px;
  height: auto;
}

.gallery-results-toolbar__copy {
  color: #5c5247;
  font-size: 14px;
  line-height: 1.65;
}

.gallery-results-grid .row {
  row-gap: 10px;
}

.gallery-results-shell .dreamtime-card--search,
.gallery-results-shell .dreamtime-card--search:hover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding: 18px 14px 16px !important;
  border: 1px solid rgba(33, 27, 18, 0.08) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 28px rgba(41, 30, 17, 0.08) !important;
  overflow: visible !important;
  transform: translateY(0) !important;
  position: relative;
}

.gallery-results-shell .dreamtime-card--search::after {
  display: none !important;
}

.gallery-results-shell .dreamtime-card--search .dreamtime-link {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  min-height: auto;
}

.gallery-results-shell .dreamtime-card--search .dreamtime-container {
  min-height: auto;
  height: auto;
  width: 100%;
  align-items: flex-start !important;
  justify-content: center;
}

.gallery-results-shell .dreamtime-card--search .dreamtime-image {
  width: 75% !important;
  max-width: 255px;
}

.gallery-results-shell .dreamtime-container,
.gallery-results-shell .dreamtime-frame,
.gallery-results-shell .dreamtime-image,
.gallery-results-shell .dreamtime-image-shadow,
.gallery-results-shell .dreamtime-image-shadow .dreamtime-frame {
  border-radius: 0 !important;
}

.gallery-results-shell .dreamtime-image {
  box-shadow: -12px -1px 9px 2px rgb(0 0 0 / 40%), -2px 6px 8px -2px #000;
}

.gallery-results-shell .dreamtime-card-body {
  width: 100%;
  margin-top: auto;
  padding: 0 4px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

@media (max-width: 767px) {
}

.gallery-results-shell .dreamtime-title {
  display: -webkit-box;
  margin-bottom: 8px;
  overflow: hidden;
  color: #2e241d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.gallery-results-shell .dreamtime-meta {
  color: #6c6258;
  font-size: 13px;
  line-height: 1.5;
}

.gallery-results-shell .dreamtime-card-cta {
  margin-top: 10px;
  color: #0aa882;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-results-shell #images > div {
  animation: none;
}

.gallery-results-shell #images .col-lg-3,
.gallery-results-shell #images .col-md-4,
.gallery-results-shell #images .col-sm-6 {
  margin-bottom: 14px;
}

.gallery-results-empty {
  padding: 28px 24px;
  border-radius: 28px;
  border: 1px solid rgba(33, 27, 18, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 30px rgba(41, 30, 17, 0.08);
  text-align: center;
}

@media (max-width: 991px) {
  .gallery-discovery-summary,
  .gallery-results-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .gallery-discovery-page,
  .gallery-results-shell {
    margin-top: 24px;
    padding: 0 12px 38px;
  }

  .gallery-discovery-hero,
  .gallery-discovery-search,
  .gallery-discovery-summary__card,
  .gallery-discovery-summary__trust,
  .gallery-results-panel,
  .gallery-results-proof,
  .gallery-results-empty {
    padding: 20px 18px;
    border-radius: 24px;
  }

  .gallery-discovery-search__meta,
  .gallery-results-toolbar {
    align-items: flex-start;
  }
}
