/* Catalogue reference palette and layout. Content continues to come from the CMS. */
:root body.catalog-page {
  --catalog-ink: #111b14;
  --catalog-forest: #061d11;
  --catalog-accent: #84eb49;
  background: #f6f7f5 !important;
  color: var(--catalog-ink);
}

:root body.catalog-page .catalog-main {
  background: #f6f7f5 !important;
}

:root body.catalog-page .catalog-main::before {
  height: 380px;
  background: linear-gradient(90deg, #05180eb8, #05180e20 64%),
    url('/assets/optimized/home-hero-v208.webp') center 30% / cover no-repeat;
  mask-image: linear-gradient(#000 70%, transparent);
}

:root body.catalog-page .catalog-frame-pine { display: none !important; }

:root body.catalog-page .catalog-hero.shell {
  box-sizing: border-box;
  width: calc(100% - 64px) !important;
  max-width: 1600px !important;
  min-height: 216px;
  padding: 28px 38px 42px !important;
}

:root body.catalog-page :is(.catalog-breadcrumbs, .catalog-title, .catalog-intro) {
  color: #fffdf6 !important;
}

:root body.catalog-page .catalog-breadcrumbs { margin-bottom: 6px !important; }
:root body.catalog-page .catalog-title { font-family: Georgia, serif !important; font-size: 54px !important; margin-bottom: 8px !important; }
:root body.catalog-page .catalog-intro { font-size: 15px !important; line-height: 1.5; }

:root body.catalog-page.catalog-cards-view .catalog-workspace {
  box-sizing: border-box;
  width: calc(100% - 64px) !important;
  max-width: 1600px !important;
  padding: 24px !important;
  border: 1px solid #e5e8e3;
  border-radius: 24px;
  background: #fff !important;
  box-shadow: 0 8px 34px #182c1d09;
}

:root body.catalog-page .catalog-workspace::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 24px;
  right: 24px;
  height: 14px;
  background: #fff;
  clip-path: polygon(0 65%, 5% 40%, 8% 55%, 14% 30%, 20% 49%, 25% 38%, 30% 55%, 34% 30%, 40% 48%, 46% 60%, 50% 42%, 56% 55%, 61% 35%, 67% 44%, 73% 60%, 80% 32%, 87% 47%, 93% 36%, 100% 64%, 100% 100%, 0 100%);
}

:root body.catalog-page.catalog-cards-view .catalog-results-band {
  padding: 0 !important;
  background: #fff !important;
}

:root body.catalog-page.catalog-cards-view.catalog-split-view .catalog-layout.shell {
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  border: 0;
  background: #fff !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar {
  padding: 26px 20px !important;
  margin-top: 14px !important;
  border: 1px solid #142b1a !important;
  border-radius: 18px !important;
  background: linear-gradient(155deg, #061d10, #082116 70%, #04180e) !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .category-heading {
  padding: 0 10px 16px !important;
  margin: 0 !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .category-heading h2 {
  max-width: none;
  margin-top: 6px !important;
  font-size: 26px !important;
  font-family: Georgia, serif !important;
  color: #fffdf6 !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .category-eyebrow {
  font-size: 11px !important;
  letter-spacing: .1em !important;
  color: #e5ebdf;
}

:root body.catalog-page .category-orbit,
:root body.catalog-page .category-eyebrow > span { display: none !important; }
:root body.catalog-page.catalog-cards-view .catalog-sidebar .category-list { gap: 4px !important; padding-top: 0 !important; }

:root body.catalog-page.catalog-cards-view .catalog-sidebar :is(.catalog-side-link, .catalog-side-link:hover) {
  min-height: 40px !important;
  padding: 7px 12px !important;
  border-radius: 9px !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  color: #f5f7f0 !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .catalog-side-link b {
  padding: 0;
  background: none;
  font-size: 14px !important;
  color: #f5f7f0 !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .catalog-side-link:hover {
  background: #ffffff12 !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar :is(.catalog-side-link.active, .catalog-side-link.active:hover) {
  min-height: 40px !important;
  padding: 7px 12px !important;
  border: 1px solid #7be342 !important;
  border-radius: 9px !important;
  background: linear-gradient(110deg, #8aee4d, #78e63f) !important;
  color: #10200e !important;
  font-size: 15px !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .catalog-side-link.active b { color: #10200e !important; }

:root body.catalog-page.catalog-cards-view .catalog-sidebar .catalog-side-favorites {
  min-height: 42px;
  padding: 8px 12px;
  margin-bottom: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #f5f7f0;
  font-size: 15px;
}

:root body.catalog-page .catalog-sidebar .catalog-side-favorites b { color: #f5f7f0; }
:root body.catalog-page .catalog-sidebar .catalog-side-favorites:hover { background: #ffffff12 !important; }
:root body.catalog-page .catalog-sidebar .catalog-side-favorites.is-current { background: #84eb49 !important; color: #10200e; }
:root body.catalog-page .catalog-sidebar .catalog-side-favorites.is-current b { color: #10200e; }

:root body.catalog-page .catalog-sidebar .catalog-school-link {
  margin: 14px 0;
  padding: 12px;
  border-color: #45603b;
  background: #ffffff09;
  color: #f4f7ec;
}

:root body.catalog-page .catalog-sidebar .catalog-school-link strong { font-size: 15px; }
:root body.catalog-page .catalog-sidebar .catalog-school-link small { font-size: 13px; margin-top: 3px; }

:root body.catalog-page.catalog-cards-view .catalog-sidebar .sidebar-promo {
  margin-top: 14px !important;
  min-height: 275px !important;
  border-color: #6b80544d !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .sidebar-promo-content {
  min-height: 275px !important;
  padding: 18px 13px 14px !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .sidebar-promo-content h3 {
  margin-bottom: 8px !important;
  font-size: 24px !important;
}

:root body.catalog-page.catalog-cards-view .catalog-sidebar .sidebar-promo-content p {
  margin-bottom: 12px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

:root body.catalog-page[data-button-theme] :is(.schedule-expand, .sidebar-promo .button-outline, .catalog-request-submit, .header-cta) {
  border: 1px solid #7be342 !important;
  border-radius: 20px !important;
  background: linear-gradient(110deg, #8aee4d, #78e63f) !important;
  color: #101c0e !important;
  box-shadow: 0 1px 2px #263c1710 !important;
}

:root body.catalog-page.catalog-cards-view[data-button-theme] .catalog-sidebar .sidebar-promo .button-outline,
:root body.catalog-page[data-button-theme][data-button-theme] .site-header .header-cta {
  border-color: #7be342 !important;
  border-radius: 20px !important;
  background: linear-gradient(110deg, #8aee4d, #78e63f) !important;
  color: #101c0e !important;
  font-weight: 600 !important;
}

:root body.catalog-page.catalog-split-view .catalog-content .catalog-schedule-top {
  position: relative;
  margin-bottom: 48px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

:root body.catalog-page :is(.schedule-heading, .catalog-selection-heading) {
  position: relative;
  isolation: isolate;
}

:root body.catalog-page :is(.schedule-heading, .catalog-selection-heading)::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -8px 110px 0 auto;
  width: min(44%, 490px);
  height: 88px;
  background: url('/assets/images/catalog-forest-v252.webp') center / 100% auto no-repeat;
  opacity: .92;
  pointer-events: none;
}

:root body.catalog-page .catalog-selection-heading::after {
  right: 140px;
  width: min(50%, 560px);
  height: 88px;
  background-image: url('/assets/images/catalog-mountains-v252.webp');
}

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-heading {
  min-height: 42px;
  margin-bottom: 16px !important;
}

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-heading h2,
:root body.catalog-page.catalog-split-view .catalog-selection-heading h2 {
  font-family: Georgia, serif !important;
  font-size: 32px !important;
  line-height: 1.05 !important;
  color: #101910 !important;
}

:root body.catalog-page .catalog-schedule-top .schedule-count,
:root body.catalog-page.catalog-cards-view .catalog-found { color: #1d271c; font-size: 14px !important; }

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-month-controls { margin-bottom: 18px !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .catalog-month-filter { width: 184px !important; max-width: 184px !important; }

:root body.catalog-page.catalog-cards-view :is(.catalog-filter, .catalog-sort, .catalog-month-filter select) {
  min-height: 40px !important;
  height: auto !important;
  padding: 7px 14px !important;
  border: 1px solid #e4e6e2 !important;
  border-radius: 22px !important;
  background-color: #f7f8f7 !important;
  color: #162116 !important;
  box-shadow: 0 1px 2px #1020180a;
  font-size: 14px !important;
}

:root body.catalog-page.catalog-cards-view .catalog-month-filter select { padding-right: 38px !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-list { gap: 12px !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-month {
  margin: 12px 0 6px !important;
  color: #172015;
  font-size: 22px !important;
  line-height: 1.35;
}

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-row {
  grid-template-columns: 64px 176px minmax(0, 1fr) 120px 128px !important;
  gap: 16px !important;
  min-height: 130px !important;
  padding: 16px 24px !important;
  border-color: #e4e6e3 !important;
  border-radius: 14px !important;
  background: linear-gradient(105deg, #fff, #fcfcfc) !important;
  box-shadow: 0 1px 2px #0e20120a !important;
}

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date {
  width: 64px !important;
  height: 96px !important;
  padding: 2px !important;
  background: #f5f6f3 !important;
}

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date strong { font-size: 27px !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date span { font-size: 11px !important; margin-top: 0; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-photo { width: 176px !important; height: 100px !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-details > strong { font-size: 16px !important; line-height: 1.25 !important; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-details > span { margin-top: 2px; font-size: 13px !important; color: #4d554b; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-price strong { font-size: 20px !important; color: #111b13; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-price small { font-size: 12px !important; color: #4d554b; }
:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-open {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 46px;
  box-sizing: border-box;
  padding: 10px 16px;
  border: 1px solid #e7e8e5;
  border-radius: 15px;
  background: #f5f6f4;
  box-shadow: 0 1px 2px #1624160b;
  color: #1b2519;
  font-size: 14px !important;
}

:root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-expand { min-height: 42px !important; margin-top: 22px !important; padding: 7px 28px !important; }
:root body.catalog-page.catalog-split-view .catalog-selection-heading { margin-bottom: 22px !important; padding-bottom: 0 !important; border: 0; }
:root body.catalog-page .catalog-selection-copy > p { margin-bottom: 4px; color: #142012; font-size: 12px; letter-spacing: .12em; }
:root body.catalog-page.catalog-cards-view .catalog-toolbar { gap: 16px !important; margin-bottom: 26px !important; }
:root body.catalog-page.catalog-cards-view .catalog-filters { width: auto !important; flex: 1 1 auto !important; }
:root body.catalog-page .catalog-toggle { color: #283424; font-size: 14px; }
:root body.catalog-page .catalog-toggle input:checked { background: #84eb49; border-color: #75d940; }
:root body.catalog-page .catalog-filter-menu { border-color: #e2e7de; box-shadow: 0 12px 32px #0e28151c; }
:root body.catalog-page .catalog-filter-menu button:hover { background: #eef4e6; }

:root body.catalog-page .catalog-content .tour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px !important; }
:root body.catalog-page .real-tour-card {
  --card-title-size: 19px;
  --card-copy-size: 13px;
  border: 1px solid #e4e7e1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 2px 3px #1c311b09;
  overflow: hidden;
}

:root body.catalog-page .real-tour-card .tour-card-image-link { aspect-ratio: 1.9 !important; }
:root body.catalog-page .real-tour-card .tour-card-image { border-radius: 14px; overflow: hidden; }
:root body.catalog-page .real-tour-card .tour-card-body {
  grid-template-rows: 72px 56px 34px auto !important;
  gap: 8px !important;
  padding: 16px 14px 18px !important;
  margin-top: 0 !important;
  border-radius: 0;
}

:root body.catalog-page .real-tour-card .tour-card-body h3 { min-height: 0 !important; height: auto !important; align-self: start; margin: 0 !important; font-family: var(--display) !important; font-weight: 600 !important; font-size: 22px !important; color: #141d12; line-height: 1.15 !important; }
:root body.catalog-page .real-tour-card .tour-card-location { font-size: 13px !important; color: #34412f; line-height: 1.4 !important; }
:root body.catalog-page .real-tour-card .tour-place-link { min-height: 0 !important; height: 34px; font-size: 14px !important; color: #182b16; }
:root body.catalog-page .real-tour-card .tour-card-details { min-height: 50px; margin-top: 0; padding: 0 36px 0 0 !important; gap: 4px; }
:root body.catalog-page .real-tour-card .tour-meta { font-size: 13px !important; color: #54624e; }
:root body.catalog-page .real-tour-card .tour-bottom strong { font-size: 20px !important; color: #15351c; }
:root body.catalog-page .real-tour-card .catalog-card-open { width: 32px; height: 32px; right: 10px; bottom: 12px; background: #f1f4ec; }
:root body.catalog-page .real-tour-card .tour-tag { background: #082819f2; border-radius: 14px; }

@media (min-width: 1500px) {
  :root body.catalog-page .catalog-content .tour-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
}

@media (min-width: 1200px) {
  :root body.catalog-page.catalog-cards-view .catalog-toolbar { flex-wrap: nowrap !important; }
}

@media (max-width: 1199px) and (min-width: 901px) {
  :root body.catalog-page.catalog-cards-view.catalog-split-view .catalog-layout.shell { grid-template-columns: 236px minmax(0, 1fr) !important; gap: 24px !important; }
  :root body.catalog-page .catalog-content .tour-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-row { grid-template-columns: 52px 128px minmax(0, 1fr) 100px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-photo { width: 128px !important; height: 90px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date { width: 52px !important; height: 90px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-open { display: none !important; }
}

@media (max-width: 900px) {
  :root body.catalog-page .catalog-hero.shell { width: calc(100% - 32px) !important; min-height: 170px; padding: 20px 4px 30px !important; }
  :root body.catalog-page .catalog-title { font-size: 46px !important; }
  :root body.catalog-page.catalog-cards-view .catalog-workspace { width: calc(100% - 20px) !important; padding: 14px !important; border-radius: 20px; }
  :root body.catalog-page.catalog-cards-view.catalog-split-view .catalog-layout.shell { grid-template-columns: minmax(0, 1fr) !important; gap: 0 !important; }
  :root body.catalog-page .catalog-content .tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
  :root body.catalog-page :is(.schedule-heading, .catalog-selection-heading)::after { display: none; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-heading h2,
  :root body.catalog-page.catalog-split-view .catalog-selection-heading h2 { font-size: 30px !important; }
  :root body.catalog-page.catalog-cards-view :is(.catalog-filter, .catalog-sort, .catalog-month-filter select) { min-height: 44px !important; font-size: 15px !important; }
  :root body.catalog-page .catalog-mobile-controls select { background-color: #f7f8f5 !important; border-color: #dde3d6 !important; }
  :root body.catalog-page .catalog-mobile-controls .catalog-side-favorites { border-color: #d8e4cb; background: #f0f6e8; color: #29422b; }
  :root body.catalog-page .catalog-filter-wrap { min-width: 0; }
  :root body.catalog-page .catalog-sort { white-space: normal; text-align: left; }
  :root body.catalog-page .catalog-mobile-invitation { margin-inline: 10px; }
  :root body.catalog-page .menu-toggle > span { flex: 0 0 2px; min-height: 2px; height: 2px !important; }
  :root body.catalog-page[data-button-theme] .catalog-mobile-invitation .button-outline { background: #84eb49 !important; border-color: #84eb49 !important; color: #10200e !important; }
}

@media (max-width: 600px) {
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-row {
    grid-template-columns: 44px 84px minmax(0, 1fr) !important;
    min-height: 124px !important;
    gap: 4px 8px !important;
    padding: 8px !important;
  }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date { width: 44px !important; height: 84px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date strong { font-size: 27px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date span { font-size: 12px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-photo { width: 84px !important; height: 84px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-details > strong { font-size: 15px !important; line-height: 1.35 !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-details > span,
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-open { display: none !important; }
  :root body.catalog-page.catalog-cards-view .real-tour-card .tour-card-body { padding: 11px 9px 13px !important; grid-template-rows: 76px 56px 36px auto !important; }
  :root body.catalog-page .real-tour-card .tour-card-body h3 { font-size: 22px !important; }
  :root body.catalog-page .real-tour-card .tour-card-location { font-size: 14px !important; }
  :root body.catalog-page .real-tour-card .tour-place-link { font-size: 14px !important; }
  :root body.catalog-page .real-tour-card .tour-meta { font-size: 14px !important; }
  :root body.catalog-page .real-tour-card .tour-card-image-link { aspect-ratio: 1.3 !important; }
  :root body.catalog-page .real-tour-card .tour-card-details { padding: 0 0 40px !important; }
  :root body.catalog-page .catalog-toolbar .catalog-filters { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  :root body.catalog-page .catalog-filter { width: 100%; padding-inline: 8px !important; font-size: 14px !important; }
  :root body.catalog-page .catalog-toggle { grid-column: 1 / -1; min-height: 44px; }
}

/* Larger controls keep the same date/photo/title/price composition. */
:root body.catalog-page[data-button-theme] .schedule-expand,
:root body.catalog-page.catalog-cards-view[data-button-theme] .catalog-sidebar .sidebar-promo .button-outline {
  font-size: 15px !important;
}
:root body.catalog-page .catalog-toggle { font-size: 14px !important; }
:root body.catalog-page .catalog-filter-menu button { font-size: 15px; }
:root body.catalog-page :is(.catalog-filter.is-set, .catalog-active-filters button, .price-apply),
:root body.catalog-page .catalog-mobile-controls .catalog-side-favorites.is-current {
  background: linear-gradient(110deg, #8aee4d, #78e63f) !important;
  border-color: #7be342 !important;
  color: #10200e !important;
}
@media (min-width: 901px) and (max-width: 1399px) {
  :root body.catalog-page.catalog-cards-view .catalog-toolbar { flex-wrap: wrap !important; }
}
@media (max-width: 380px) {
  :root body.catalog-page .catalog-toolbar .catalog-filters { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 601px) and (max-width: 900px) {
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-row { grid-template-columns: 52px 128px minmax(0, 1fr) 100px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-photo { width: 128px !important; height: 90px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-date { width: 52px !important; height: 90px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-open { display: none !important; }
}

/* Keep breathing room proportional on narrow screens. */
@media (min-width: 901px) and (max-width: 1199px) {
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-row {
    gap: 12px !important;
    padding: 14px 12px !important;
  }
}
@media (max-width: 900px) {
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-heading { margin-bottom: 12px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-month-controls { margin-bottom: 14px !important; }
  :root body.catalog-page.catalog-split-view .catalog-content .catalog-schedule-top { margin-bottom: 36px !important; }
  :root body.catalog-page.catalog-split-view .catalog-selection-heading { margin-bottom: 18px !important; }
  :root body.catalog-page.catalog-cards-view .catalog-toolbar { margin-bottom: 22px !important; }
}
@media (max-width: 600px) {
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-list { gap: 10px !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-row { padding: 12px 8px !important; }
}

/* The schedule action is text-only, with room around its label. */
:root body.catalog-page .catalog-schedule-top .schedule-open > span { display: none !important; }
@media (max-width: 900px) {
  :root body.catalog-page .catalog-main::before { height: 350px; }
  :root body.catalog-page .catalog-hero.shell { margin-inline: auto !important; }
  :root body.catalog-page.catalog-split-view .catalog-schedule-top .schedule-month { font-size: 20px !important; }
}
