/* VPD catalogue 1.3.10 — isolated to the catalogue page and shortcode. */
body.vpd-catalog-page {
  --vpd-catalog-green: #5f8d2d;
  --vpd-catalog-green-dark: #466f20;
  --vpd-catalog-forest: #18382b;
  --vpd-catalog-ink: #17251f;
  --vpd-catalog-muted: #68756f;
  --vpd-catalog-line: #dfe7da;
  --vpd-catalog-soft: #f5f8f1;
  --vpd-catalog-white: #fff;
  --vpd-catalog-shadow: 0 18px 45px rgba(31, 58, 40, .11);
  overflow-x: hidden;
  background: #f8faf6;
  color: var(--vpd-catalog-ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.vpd-catalog-page *,
body.vpd-catalog-page *::before,
body.vpd-catalog-page *::after { box-sizing: border-box; }

/* Existing Olomo banner, modernised without duplicating Elementor content. */
body.vpd-catalog-page #inner_banner.parallex-bg {
  position: relative;
  display: grid;
  min-height: clamp(360px, 32vw, 500px);
  margin: 0;
  padding: 52px 0 94px;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(9, 33, 24, .66), rgba(9, 33, 24, .08)), url("../images/hero-cycling.webp") !important;
  background-position: center !important;
  background-size: cover !important;
  background-attachment: scroll !important;
  border: 0;
}

body.vpd-catalog-page #inner_banner .dark-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(4, 25, 17, .03), rgba(4, 25, 17, .17));
}

body.vpd-catalog-page #inner_banner .container {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 96px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}

body.vpd-catalog-page #inner_banner .white-text {
  max-width: 760px;
  margin: 0;
  text-align: left;
}

body.vpd-catalog-page #inner_banner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -3px;
  text-shadow: 0 4px 25px rgba(0, 0, 0, .2);
}

body.vpd-catalog-page .vpd-catalog-hero__subtitle {
  max-width: 650px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, .93);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
}

body.vpd-catalog-page .vpd-catalog-hero__benefits {
  display: flex;
  gap: 18px 42px;
  margin-top: 24px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  flex-wrap: wrap;
}

body.vpd-catalog-page .vpd-catalog-hero__benefits span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body.vpd-catalog-page .vpd-catalog-hero__benefits svg {
  width: 34px;
  height: 34px;
  color: #9dd34b;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.vpd-catalog-page .vpd-catalog-hero__benefits b {
  color: #fff;
  font: inherit;
  line-height: 1.35;
}

/* Elementor wrapper and legacy bootstrap structures must not constrain the grid. */
body.vpd-catalog-page .elementor-widget-shortcode,
body.vpd-catalog-page .elementor-widget-shortcode > .elementor-widget-container,
body.vpd-catalog-page .vpd-catalog { width: 100%; }

body.vpd-catalog-page .elementor-widget-shortcode > .elementor-widget-container {
  overflow: visible;
}

body.vpd-catalog-page .vpd-catalog {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

body.vpd-catalog-page #inner_pages,
body.vpd-catalog-page #inner_pages.col3_detail,
body.vpd-catalog-page .vpd-catalog {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.vpd-catalog {
  position: relative;
  z-index: 5;
  color: var(--vpd-catalog-ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vpd-catalog svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vpd-catalog__container {
  width: min(1240px, calc(100% - 96px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 0 92px;
}

.vpd-catalog-filter {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1.05fr auto;
  gap: 0;
  margin: -42px 0 24px;
  padding: 22px 20px;
  align-items: end;
  border: 1px solid rgba(221, 230, 215, .92);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--vpd-catalog-shadow);
}

.vpd-catalog-field {
  min-width: 0;
  padding: 0 10px;
  border-right: 0;
}

.vpd-catalog-field:first-of-type { padding-left: 0; }

.vpd-catalog-field label {
  display: block;
  margin: 0 0 8px;
  color: #53615a;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.vpd-catalog-field__control {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid var(--vpd-catalog-line);
  border-radius: 10px;
  background: #fff;
  color: var(--vpd-catalog-green-dark);
}

.vpd-catalog-field__control input,
.vpd-catalog-field__control select,
.vpd-catalog-sort select {
  width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 30px 0 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--vpd-catalog-ink);
  font: 650 15px/1.3 Manrope, system-ui, sans-serif;
}

.vpd-catalog-field__control input { padding-right: 0; }
.vpd-catalog-field__control input::placeholder { color: #8a948f; opacity: 1; }
.vpd-catalog-field__control input:focus,
.vpd-catalog-field__control select:focus,
.vpd-catalog-sort select:focus { outline: 3px solid rgba(95, 141, 45, .2); outline-offset: 3px; }

.vpd-catalog-filter__submit {
  display: inline-flex;
  min-height: 56px;
  margin-left: 10px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 12px;
  background: var(--vpd-catalog-green);
  box-shadow: 0 9px 22px rgba(76, 116, 37, .2);
  color: #fff;
  font: 800 15px/1 Manrope, system-ui, sans-serif;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.vpd-catalog-filter__submit:hover,
.vpd-catalog-filter__submit:focus-visible {
  background: var(--vpd-catalog-green-dark);
  box-shadow: 0 12px 28px rgba(59, 94, 27, .27);
  transform: translateY(-2px);
}

.vpd-catalog-toolbar {
  display: flex;
  min-height: 72px;
  margin: 0 0 30px;
  padding: 14px 20px 14px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--vpd-catalog-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .9);
}

.vpd-catalog-toolbar p {
  margin: 0;
  color: #59665f;
  font-size: 15px;
}

.vpd-catalog-toolbar p strong {
  color: var(--vpd-catalog-forest);
  font-size: 22px;
}

.vpd-catalog-sort {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vpd-catalog-sort label {
  margin: 0;
  color: #657169;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.vpd-catalog-sort select {
  width: auto;
  min-width: 190px;
  padding: 0 38px 0 15px;
  border: 1px solid var(--vpd-catalog-line);
  border-radius: 10px;
  background-color: #fff;
}

.vpd-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.vpd-catalog-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 211, .92);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(31, 58, 40, .075);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.vpd-catalog-card:hover {
  border-color: rgba(95, 141, 45, .35);
  box-shadow: 0 20px 44px rgba(31, 58, 40, .14);
  transform: translateY(-5px);
}

.vpd-catalog-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #eaf0e5;
}

.vpd-catalog-card__media > a { display: block; width: 100%; height: 100%; }

.vpd-catalog-card__image {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform .5s ease;
}

.vpd-catalog-card:hover .vpd-catalog-card__image { transform: scale(1.045); }

.vpd-catalog-card__featured {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--vpd-catalog-green-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.vpd-catalog-save {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 7px 18px rgba(15, 38, 26, .18);
  color: var(--vpd-catalog-forest);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.vpd-catalog-save:hover,
.vpd-catalog-save:focus-visible,
.vpd-catalog-save[aria-pressed="true"] {
  background: var(--vpd-catalog-green);
  color: #fff;
  transform: scale(1.06);
}

.vpd-catalog-save[aria-pressed="true"] svg { fill: currentColor; }
.vpd-catalog-save:disabled { cursor: wait; opacity: .65; }

.vpd-catalog-card__body {
  display: flex;
  padding: 22px 22px 18px;
  flex: 1 1 auto;
  flex-direction: column;
}

.vpd-catalog-card__tags {
  display: flex;
  min-height: 27px;
  margin: 0 0 13px;
  gap: 7px;
  flex-wrap: wrap;
}

.vpd-catalog-card__tags a {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #edf5e6;
  color: #4d7926;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
}

.vpd-catalog-card h2 {
  margin: 0;
  color: var(--vpd-catalog-forest);
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 820;
  line-height: 1.28;
  letter-spacing: -.45px;
}

.vpd-catalog-card h2 a { color: inherit; text-decoration: none; }
.vpd-catalog-card h2 a:hover { color: var(--vpd-catalog-green-dark); }

.vpd-catalog-card__tagline {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--vpd-catalog-muted);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.vpd-catalog-card__meta {
  display: flex;
  margin-top: auto;
  padding-top: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #657169;
  font-size: 13px;
  font-weight: 650;
}

.vpd-catalog-card__location {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.vpd-catalog-card__location svg { width: 17px; height: 17px; color: var(--vpd-catalog-green); }
.vpd-catalog-card__reviews { white-space: nowrap; }

.vpd-catalog-card__footer {
  padding: 15px 22px 17px;
  border-top: 1px solid #edf1ea;
  background: #fbfcfa;
}

.vpd-catalog-card__footer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--vpd-catalog-green-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.vpd-catalog-card__footer svg { width: 18px; height: 18px; transition: transform .2s ease; }
.vpd-catalog-card__footer a:hover svg { transform: translateX(4px); }

.vpd-catalog-pagination {
  display: flex;
  margin-top: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.vpd-catalog-pagination__summary { color: var(--vpd-catalog-muted); font-size: 14px; }
.vpd-catalog-pagination__links { display: flex; gap: 8px; flex-wrap: wrap; }

.vpd-catalog-pagination .page-numbers {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--vpd-catalog-line);
  border-radius: 11px;
  background: #fff;
  color: var(--vpd-catalog-forest);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.vpd-catalog-pagination .page-numbers.current,
.vpd-catalog-pagination a.page-numbers:hover,
.vpd-catalog-pagination a.page-numbers:focus-visible {
  border-color: var(--vpd-catalog-green);
  background: var(--vpd-catalog-green);
  color: #fff;
}

.vpd-catalog-empty {
  padding: 66px 24px;
  border: 1px solid var(--vpd-catalog-line);
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.vpd-catalog-empty > svg { width: 50px; height: 50px; color: var(--vpd-catalog-green); }
.vpd-catalog-empty h2 { margin: 18px 0 8px; color: var(--vpd-catalog-forest); }
.vpd-catalog-empty p { margin: 0 0 20px; color: var(--vpd-catalog-muted); }
.vpd-catalog-empty a { color: var(--vpd-catalog-green-dark); font-weight: 800; }

/* Catalogue footer only; configured Olomo widgets and links are retained. */
body.vpd-catalog-page #footer.secondary-bg { background: var(--vpd-catalog-forest); }
body.vpd-catalog-page #footer .footer_bottom { border-color: rgba(255, 255, 255, .1); background: #112c21; }
body.vpd-catalog-page #footer .footer_bottom p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 13px; }

@media (max-width: 1080px) {
  body.vpd-catalog-page #inner_banner .container,
  .vpd-catalog__container { width: calc(100% - 56px); }

  .vpd-catalog-filter { grid-template-columns: 1fr 1fr; gap: 18px; }
  .vpd-catalog-field { padding: 0; border: 0; }
  .vpd-catalog-filter__submit { margin: 0; }
  .vpd-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body.vpd-catalog-page #inner_banner.parallex-bg {
    min-height: 430px;
    padding: 48px 0 98px;
    background-image: linear-gradient(90deg, rgba(9, 33, 24, .72), rgba(9, 33, 24, .18)), url("../images/hero-cycling-mobile.webp") !important;
    background-position: center !important;
  }

  body.vpd-catalog-page #inner_banner .container,
  .vpd-catalog__container { width: calc(100% - 32px); }
  body.vpd-catalog-page #inner_banner h1 { font-size: clamp(46px, 15vw, 66px); letter-spacing: -2px; }
  body.vpd-catalog-page .vpd-catalog-hero__subtitle { margin-top: 18px; font-size: 18px; }
  body.vpd-catalog-page .vpd-catalog-hero__benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; gap: 10px; }
  body.vpd-catalog-page .vpd-catalog-hero__benefits span { align-items: flex-start; gap: 7px; font-size: 10px; }
  body.vpd-catalog-page .vpd-catalog-hero__benefits svg { width: 25px; height: 25px; }

  .vpd-catalog__container { padding-bottom: 64px; }
  .vpd-catalog-filter {
    grid-template-columns: 1fr;
    margin-top: -60px;
    padding: 20px;
    gap: 13px;
    border-radius: 16px;
  }

  .vpd-catalog-field {
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .vpd-catalog-field label { margin: 0 0 7px; }
  .vpd-catalog-field__control { padding: 0 12px; }
  .vpd-catalog-field__control { min-height: 43px; }
  .vpd-catalog-field__control input,
  .vpd-catalog-field__control select { height: 43px; min-height: 43px; }
  .vpd-catalog-filter__submit { width: 100%; min-height: 54px; margin-top: 2px; }

  .vpd-catalog-toolbar {
    padding: 17px;
    align-items: stretch;
    flex-direction: column;
  }

  .vpd-catalog-sort { justify-content: space-between; }
  .vpd-catalog-sort select { min-width: 0; flex: 1 1 auto; }
  .vpd-catalog-grid { grid-template-columns: 1fr; gap: 20px; }
  .vpd-catalog-card h2 { font-size: 21px; }
  .vpd-catalog-pagination { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .vpd-catalog-card,
  .vpd-catalog-card__image,
  .vpd-catalog-save,
  .vpd-catalog-filter__submit { transition: none; }
}
