/*! TrueAndes design refresh 1.2.0
 * Global Host Grotesk typography, coherent spacing and the rebuilt home page.
 */

@font-face {
  font-family: "Host Grotesk";
  src: url("/wp-content/themes/trueandes/assets/fonts/HostGrotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}

:root {
  --ta-font-display: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ta-font-body: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ta-font-nav: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ta-section-y: clamp(4rem, 6.5vw, 6.75rem);
  --ta-radius-card: 14px;
}

html {
  font-size: 100% !important;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--ta-font-body);
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brxe-heading {
  font-family: var(--ta-font-display);
  font-weight: 500;
  font-variation-settings: normal;
}

p {
  font-size: 16px;
  line-height: 1.65;
}

body p,
body .brxe-text-basic {
  font-size: 16px;
}

.ta-band--bone.brxe-section,
.ta-band--paper.brxe-section,
.ta-band--sand.brxe-section,
.ta-darker.brxe-section,
.ta-sec-pad.brxe-section {
  padding-block: var(--ta-section-y);
}

/* Home hero: photographic, compact and text-led, following the Golfory composition. */
.ta-home-hero,
.ta-home-hero.brxe-section {
  min-height: clamp(590px, 72dvh, 690px);
  padding: 0;
  align-items: stretch;
}

.ta-home-hero .ta-hero__media img {
  object-position: center 44%;
}

.ta-home-hero .ta-hero__media picture,
.ta-home-story__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Tour answers use the full editorial column instead of a narrow text measure. */
body.single-product .ta-tour-faq .ta-acc details > div,
body.single-product .ta-tour-faq .ta-acc p {
  width: 100%;
  max-width: none !important;
}

.ta-home-hero .ta-hero__overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 12, 0.78) 0%, rgba(12, 18, 12, 0.48) 45%, rgba(12, 18, 12, 0.12) 78%),
    linear-gradient(0deg, rgba(12, 18, 12, 0.34) 0%, rgba(12, 18, 12, 0) 48%);
}

.ta-home-hero .ta-hero__parent,
.ta-home-hero .ta-hero__parent.brxe-block {
  display: flex;
  align-items: center;
  min-height: inherit;
  padding-top: calc(var(--ta-nav-h) + 2rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.ta-home-hero .ta-hero__row,
.ta-home-hero .ta-hero__row.brxe-block {
  width: 100%;
  align-items: center;
}

.ta-home-hero .ta-hero__left,
.ta-home-hero .ta-hero__left.brxe-block {
  max-width: 760px;
  flex: 0 1 760px;
}

.ta-home-hero .ta-hero__eyebrow {
  margin-bottom: 1rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.ta-home-hero .ta-hero__title {
  max-width: 13ch;
  margin: 0 0 1.2rem;
  font-size: clamp(3.25rem, 4.6vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.ta-home-hero .ta-gold-metal {
  color: inherit;
}

.ta-hero__intro {
  max-width: 48ch;
  margin: 0 0 1.75rem;
  color: rgba(248, 246, 246, 0.86);
  font-size: 16px;
  line-height: 1.55;
}

.ta-home-hero .ta-btn-ghost {
  width: auto;
  min-height: 52px;
  padding: 0 1.4rem;
  gap: 1rem;
  border-color: rgba(248, 246, 246, 0.68);
  background: rgba(15, 27, 21, 0.32);
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: none;
  backdrop-filter: blur(8px);
}

.ta-home-hero .ta-btn-ghost:hover {
  background: var(--ta-bone);
  color: var(--ta-ink);
}

/* Travel styles: four compact, clickable image cards. */
.ta-travel-styles,
.ta-travel-styles.brxe-section {
  padding-block: var(--ta-section-y);
  background: var(--ta-sand);
}

.ta-travel-styles__grid,
.ta-travel-styles__grid.brxe-block {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.9rem, 1.5vw, 1.35rem);
}

.ta-travel-styles__head,
.ta-travel-styles__head.brxe-block {
  width: 100%;
  margin: 0 auto clamp(2rem, 3vw, 2.75rem);
  text-align: center;
}

.ta-travel-styles__head h2,
.ta-travel-styles__head .brxe-heading {
  max-width: 18ch;
  margin: 0 auto;
  font-size: clamp(2.4rem, 4.2vw, 4.25rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.ta-travel-style,
.ta-travel-style.brxe-block {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 20px;
  border: 1px solid rgba(26, 31, 19, 0.08);
  border-radius: var(--ta-radius-card);
  background: var(--ta-surface);
  color: var(--ta-ink);
  text-decoration: none;
}

.ta-travel-style__media,
.ta-travel-style__media.brxe-block {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 9px;
}

.ta-travel-style__media img,
.ta-travel-style__media .brxe-image,
.ta-travel-style__media .brxe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ta-ease-out);
}

.ta-travel-style:hover .ta-travel-style__media img {
  transform: scale(1.035);
}

.ta-travel-style h3,
.ta-travel-style .brxe-heading {
  margin: 1rem 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
}

/* Shared home section heading. */
.ta-section-heading,
.ta-section-heading.brxe-block {
  max-width: 800px;
  margin-bottom: clamp(2rem, 3vw, 3rem);
}

.ta-section-heading h2,
.ta-section-heading .brxe-heading {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.ta-section-heading p,
.ta-section-heading .brxe-text-basic {
  max-width: 56ch;
  margin: 1rem 0 0;
  color: var(--ta-ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* Tour cards: a compact shared system for home, hubs and related tours. */
.ta-pcard {
  width: 306px;
  height: 414px;
  padding: 16px;
  border-radius: var(--ta-radius-card);
}

@media (min-width: 1280px) {
  .ta-pcard {
    width: 328px;
    height: 432px;
  }
}

.ta-pcard__media {
  aspect-ratio: 4 / 3;
  border-radius: 9px;
}

.ta-pcard__body {
  padding-top: 12px;
}

.ta-pcard__title,
.ta-cards-grid .ta-pcard__title,
.ta-related-track .ta-pcard__title {
  min-height: 2.3em;
  margin-bottom: 0.15rem;
  font-family: var(--ta-font-display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
}

.ta-pcard__price {
  margin-top: 0;
  line-height: 1.25;
}

.ta-pcard__link {
  overflow: visible;
  color: inherit !important;
  font-size: inherit !important;
  line-height: normal !important;
  text-indent: 0 !important;
}

.ta-pcard--clickable {
  box-sizing: border-box;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  touch-action: pan-y;
  cursor: pointer;
}
.ta-pcard--clickable:hover,
.ta-pcard--clickable:focus-visible {
  color: inherit;
}
.ta-pcard--clickable:focus-visible {
  outline: 2px solid var(--ta-gold-deep);
  outline-offset: 4px;
}
.ta-pcard--clickable .ta-pcard__cta {
  position: absolute;
  z-index: 2;
}

.ta-pcard--clickable .ta-pcard__body,
.ta-pcard--clickable .ta-pcard__body > div {
  min-width: 0;
}

.ta-pcard--clickable .ta-pcard__title {
  display: -webkit-box;
  overflow: hidden;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

[data-drag] {
  touch-action: pan-y;
}

/* Compact, native TranslatePress navigation inside the Bricks header. */
.ta-language-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ta-language-switcher__current {
  line-height: 1;
}
.ta-language-switcher__chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}
.ta-language-switcher__menu {
  position: absolute;
  z-index: 120;
  top: calc(100% - 2px);
  right: 0;
  min-width: 168px;
  padding: 0.45rem;
  background: var(--ta-surface);
  border: 1px solid var(--ta-line);
  border-radius: 9px;
  color: var(--ta-ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
}
.ta-language-switcher:hover .ta-language-switcher__menu,
.ta-language-switcher:focus-within .ta-language-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ta-language-switcher__menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.7rem;
  border-radius: 6px;
  color: var(--ta-ink);
  text-decoration: none;
  white-space: nowrap;
}
.ta-language-switcher__menu a span {
  width: 2em;
  color: var(--ta-muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}
.ta-language-switcher__menu a:hover,
.ta-language-switcher__menu a:focus-visible,
.ta-language-switcher__menu a[aria-current="page"] {
  background: var(--ta-paper);
}

.ta-tripadvisor-widget {
  width: 100%;
  max-width: var(--ta-container-wide);
  margin-inline: auto;
}

@media (max-width: 1100px) {
  .ta-language-switcher {
    display: none;
  }
}

.ta-pcard__cta {
  right: 16px;
  bottom: 16px;
  font-size: 13px;
  pointer-events: none;
  text-indent: 0 !important;
}

.ta-pcard__cta .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 17px;
  line-height: 1;
}

.ta-pcard__cta .ico::before,
.ta-pcard__cta .ico::after {
  position: static;
}

.ta-home-tours,
.ta-home-tours.brxe-section {
  padding-block: var(--ta-section-y);
}

.ta-home-tours .ta-carousel__label {
  display: none;
}

.ta-home-tours .ta-carousel {
  width: 100%;
  max-width: var(--ta-container-wide);
  margin-inline: auto;
  padding-inline: var(--ta-gutter);
  overflow: hidden;
}

.ta-bricks-tour-cards {
  width: 100%;
  min-width: 0;
}

.ta-home-tours .ta-track {
  gap: 18px;
  width: 100%;
  margin-inline: auto;
  padding: 0 0 0.5rem;
  scroll-padding-inline: 0;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.ta-home-tours .ta-pcard {
  flex: 0 0 calc((100% - 54px) / 4);
  width: auto;
  scroll-snap-align: start;
}

.ta-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
}

.ta-carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ta-line-strong);
  border-radius: 50%;
  background: var(--ta-surface);
  color: var(--ta-ink);
  font-size: 15px;
  transition: transform 0.2s var(--ta-ease-out), background-color 0.2s ease, color 0.2s ease;
}

.ta-carousel-arrow:hover {
  transform: translateY(-2px);
  background: var(--ta-green-black);
  color: var(--ta-bone);
}

.ta-carousel-arrow:focus-visible {
  outline: 2px solid var(--ta-gold-deep);
  outline-offset: 3px;
}

/* Editorial Inca Trail feature: real copy and a native 1920px photograph. */
.ta-home-story,
.ta-home-story.brxe-section {
  padding-block: var(--ta-section-y);
  background: var(--ta-bone);
  color: var(--ta-ink);
}

.ta-home-story__grid,
.ta-home-story__grid.brxe-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.55fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.ta-home-story__copy h2,
.ta-home-story__copy .brxe-heading {
  max-width: 12ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.6rem, 4.5vw, 4.75rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ta-home-story__copy p,
.ta-home-story__copy .brxe-text-basic {
  max-width: 46ch;
  margin: 0 0 1.6rem;
  color: var(--ta-ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

.ta-home-story__media,
.ta-home-story__media.brxe-block {
  display: block;
  height: clamp(420px, 42vw, 590px);
  overflow: hidden;
  border-radius: var(--ta-radius-card);
}

.ta-home-story__media img,
.ta-home-story__media .brxe-image,
.ta-home-story__media .brxe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.ta-home-story .ta-btn-dark {
  min-height: 50px;
  padding: 0 1.35rem;
}

/* Why TrueAndes: non-clickable content has no misleading image zoom. */
.ta-home-why,
.ta-home-why.brxe-section {
  padding-block: var(--ta-section-y);
  background: var(--ta-paper);
}

.ta-home-why .ta-carousel__label {
  display: none;
}

.ta-home-why .ta-carousel {
  width: 100%;
  max-width: var(--ta-container-wide);
  margin-inline: auto;
  padding-inline: var(--ta-gutter);
}

.ta-home-why .ta-track,
.ta-home-why .ta-track.brxe-block {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.7vw, 1.5rem);
  width: 100%;
  max-width: none;
  margin-inline: auto;
  padding: 0;
  overflow: visible;
  cursor: default;
}

.ta-home-why .ta-utile,
.ta-home-why .ta-utile.brxe-block {
  display: flex;
  flex-direction: column;
  width: auto;
  aspect-ratio: auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  color: var(--ta-ink);
}

.ta-home-why .ta-utile::after {
  display: none;
}

.ta-home-why .ta-utile img,
.ta-home-why .ta-utile .brxe-image,
.ta-home-why .ta-utile .brxe-image img {
  position: static;
  width: 100%;
  height: clamp(220px, 23vw, 330px);
  border-radius: var(--ta-radius-card);
  object-fit: cover;
  transform: none;
  transition: none;
}

.ta-home-why .ta-utile:hover img {
  transform: none;
}

.ta-home-why .ta-utile__pill {
  position: static;
  order: 2;
  margin-top: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ta-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  align-self: flex-start;
  text-align: left;
}

.ta-home-why .ta-utile__cap {
  order: 3;
  width: 100%;
  padding: 0.35rem 0 0;
  color: var(--ta-ink);
  font-family: var(--ta-font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
}

/* Mega menu: readable type, real tour cards and a compact CTA. */
.ta-mega__inner,
.ta-mega__inner.brxe-block {
  width: 100%;
  max-width: var(--ta-container-wide);
  min-height: 0;
  margin-inline: auto;
}

#mega-tours.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#mega-tours .bricks-lazy-hidden,
#ta-search-panel.is-open .bricks-lazy-hidden {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.ta-mega__side,
.ta-mega__side.brxe-block {
  width: 47%;
}

.ta-mega__featured,
.ta-mega__featured.brxe-block {
  width: 53%;
  padding: 34px 28px 28px;
}

.ta-mega__col,
.ta-mega__col.brxe-block {
  padding: 34px 24px 20px;
}

.ta-mega__group,
.ta-mega__group.brxe-block,
.ta-mega__group.brxe-div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1.4rem;
}

.ta-mega__link,
.ta-mega__link.brxe-text-link {
  display: block;
  width: fit-content;
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
}

.ta-mega__grid,
.ta-mega__grid.brxe-block {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ta-mega__card .lbl,
.ta-mega__card .brxe-text-basic.lbl {
  font-size: 16px;
  line-height: 1.25;
}

.ta-mega__thumb,
.ta-mega__thumb.brxe-block,
.ta-mega__thumb.brxe-div {
  position: relative;
  display: block;
  width: 100%;
  min-height: 140px;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.75rem;
  padding-top: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ta-sand);
}

.ta-mega__thumb > img,
.ta-mega__thumb > .brxe-image,
.ta-mega__thumb > .brxe-image img,
.ta-mega__card.brxe-block > .brxe-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  visibility: visible;
}

a.ta-mega__cta,
.ta-mega__cta.brxe-text-link {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  margin-top: 0.4rem;
  padding-inline: 1.25rem;
  align-self: flex-start;
  border: 1px solid var(--ta-forest);
  background: var(--ta-forest);
  color: var(--ta-bone);
  letter-spacing: 0.02em;
  text-transform: none;
  transition: transform 0.2s var(--ta-ease-out), background-color 0.2s ease, color 0.2s ease;
}

a.ta-mega__cta:hover,
.ta-mega__cta.brxe-text-link:hover {
  transform: translateY(-2px);
  border-color: var(--ta-green-black);
  background: var(--ta-green-black);
  color: var(--ta-bone);
}

.ta-navitem .chev {
  position: relative;
  width: 9px;
  height: 9px;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transform-origin: center;
}

.ta-navitem[aria-expanded="true"] .chev {
  transform: translateY(2px) rotate(225deg);
}

/* Tour archives: safe header clearance, concise hero and a calm filter toolbar. */
.ta-bricks-tour-archive {
  width: 100%;
}

.ta-bricks-tour-archive .ta-phero {
  min-height: clamp(510px, 60vh, 650px);
  padding-top: var(--ta-nav-h);
}

.ta-bricks-tour-archive .ta-phero__in {
  padding-top: clamp(4rem, 8vh, 6rem);
  padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.ta-bricks-tour-archive .ta-phero__in > div {
  max-width: min(840px, 78vw);
}

.ta-bricks-tour-archive .ta-phero h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 5.2vw, 5.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ta-bricks-tour-archive .ta-phero--all-tours h1 {
  max-width: 18ch;
  font-size: clamp(2.75rem, 4.5vw, 4.7rem);
}

.ta-bricks-tour-archive .ta-term-intro {
  width: min(100%, 74ch);
  max-width: 74ch;
}

.ta-bricks-tour-archive .ta-term-intro p {
  max-width: 74ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.ta-archive-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(520px, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid var(--ta-line);
}

.ta-archive-toolbar__intro h2 {
  max-width: 15ch;
  margin: 0.65rem 0 0;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.ta-tour-count {
  display: block;
  color: var(--ta-muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ta-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  width: 100%;
  padding: 0;
}

.ta-filters label {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.ta-filter-label {
  color: var(--ta-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ta-filters select {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 42px 0 14px;
  border: 1px solid var(--ta-line-strong);
  border-radius: 4px;
  background-color: var(--ta-surface);
  color: var(--ta-ink);
  font-size: 14px;
}

.ta-filter-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ta-filter-actions .ta-btn-dark {
  min-height: 48px;
  padding: 0 1.2rem;
  white-space: nowrap;
}

.ta-filter-actions a {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ta-ink-soft);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ta-filter-actions a:hover {
  background: transparent;
  color: var(--ta-ink);
}

.ta-cards-grid .ta-pcard {
  min-height: 420px;
}

.ta-archive-copy {
  max-width: 72ch;
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--ta-line);
  color: var(--ta-ink-soft);
}

/* Scapia-inspired testimonial: one strong story over a full-bleed photograph. */
.ta-home-testimonials,
.ta-home-testimonials.brxe-section {
  padding-block: var(--ta-section-y);
  background: var(--ta-bone);
}

.ta-testimonials__stage,
.ta-testimonials__stage.brxe-block {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(500px, 52vw, 620px);
  overflow: hidden;
  border-radius: var(--ta-radius-card);
  background:
    linear-gradient(rgba(9, 16, 12, 0.2), rgba(9, 16, 12, 0.28)),
    url("../img/home-testimonial.jpg") center 45% / cover no-repeat;
}

.ta-home-testimonials .ta-track,
.ta-home-testimonials .ta-track.brxe-block {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  padding: 2rem;
  overflow: visible;
  cursor: default;
}

.ta-bricks-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ta-home-testimonials .ta-rcard {
  display: none;
}

.ta-home-testimonials .ta-rcard:first-child {
  display: flex;
  width: min(560px, calc(100vw - 5rem));
  min-height: 0;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 0;
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 20px 60px rgba(14, 22, 17, 0.18);
}

.ta-home-testimonials .ta-rcard blockquote {
  font-family: var(--ta-font-body) !important;
  font-size: 18px !important;
  font-weight: 400;
  line-height: 1.5 !important;
}

.ta-home-testimonials .ta-reviews-cta,
.ta-home-testimonials .ta-empty {
  width: min(560px, calc(100vw - 5rem));
  margin-inline: auto;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 20px 60px rgba(14, 22, 17, 0.18);
  color: var(--ta-ink);
  text-align: center;
}

.ta-home-testimonials .ta-reviews-cta .ta-btn-dark {
  min-height: 50px;
}

/* Footer restored to the simpler reference structure. */
.ta-footer--reference {
  padding: 0;
  background: var(--ta-green-black);
}

.ta-footer--reference .ta-footer__cols {
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.ta-footer--reference .ta-footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1.2rem;
}

.ta-footer--reference .ta-footer__brand p {
  max-width: 34ch;
  margin: 0;
  color: var(--ta-on-dark-soft);
  font-size: 15px;
  line-height: 1.65;
}

.ta-footer--reference h3 {
  margin: 0 0 1rem;
  color: var(--ta-gold-warm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ta-footer--reference a {
  padding: 0.3rem 0;
  font-size: 14px;
}

.ta-footer__socials,
.ta-footer__socials.brxe-block {
  display: flex;
  flex-flow: row wrap;
  gap: 0.35rem 1rem;
  width: 100%;
  margin-top: 1.25rem;
}

.ta-footer--reference .ta-footer__socials a {
  color: var(--ta-bone);
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: rgba(248, 246, 246, 0.28);
  text-underline-offset: 4px;
}

.ta-footer--reference .ta-footer__socials a:hover {
  color: var(--ta-gold-warm);
  text-decoration-color: currentColor;
}

.ta-footer--reference .ta-footer__bottom {
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  color: rgba(248, 246, 246, 0.62);
  font-size: 12px;
}

/* Header utility actions and live search. */
.ta-nav--right,
.ta-nav--right.brxe-block {
  gap: clamp(0.85rem, 1.25vw, 1.35rem);
}

.ta-header__search,
.ta-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  color: var(--ta-on-dark);
}

.ta-header__search:hover,
.ta-header-cart:hover {
  background: rgba(248, 246, 246, 0.12);
}

.ta-cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 9px;
  background: var(--ta-gold-warm);
  color: var(--ta-green-black);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

#header:has(#mega-tours.is-open) .ta-header__search,
#header:has(#mega-tours.is-open) .ta-header-cart {
  color: var(--ta-ink);
}

.ta-search-panel {
  position: fixed;
  top: var(--ta-nav-h);
  left: 0;
  z-index: var(--ta-z-panel);
  width: 100%;
  max-height: calc(100dvh - var(--ta-nav-h));
  overflow-y: auto;
  border-top: 1px solid rgba(248, 246, 246, 0.08);
  border-bottom: 1px solid var(--ta-line);
  background: var(--ta-surface);
  color: var(--ta-ink);
  box-shadow: 0 18px 45px rgba(14, 22, 17, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px);
  pointer-events: none;
  transition:
    opacity 0.26s var(--ta-ease-out),
    transform 0.26s var(--ta-ease-out),
    visibility 0s linear 0.26s;
}

.ta-search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.ta-search-panel[hidden] {
  display: none;
}

.ta-search-panel__inner,
.ta-search-panel__inner.brxe-block {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem) var(--ta-gutter);
}

.ta-live-search,
.ta-live-search.brxe-block {
  display: grid;
  gap: 0.65rem;
  width: 100%;
}

.ta-live-search label {
  color: var(--ta-muted);
  font-size: 13px;
  font-weight: 500;
}

.ta-live-search__field,
.ta-live-search__field.brxe-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: 100%;
}

.ta-live-search input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 1rem;
  border: 1px solid var(--ta-line-strong);
  border-radius: 6px;
  background: var(--ta-bone);
  color: var(--ta-ink);
  font-size: 16px;
}

.ta-live-search input:focus {
  border-color: var(--ta-forest);
  outline: 2px solid rgba(23, 68, 56, 0.18);
  outline-offset: 1px;
}

.ta-search-close {
  min-height: 54px;
  padding-inline: 1.2rem;
  border: 1px solid var(--ta-green-black);
  border-radius: 6px;
  background: var(--ta-green-black);
  color: var(--ta-bone);
  font-size: 14px;
}

.ta-search-status {
  margin: 0.9rem 0 0;
  color: var(--ta-muted);
  font-size: 14px;
}

.ta-search-results,
.ta-search-results.brxe-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: 1rem;
}

.ta-search-result {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  color: var(--ta-ink);
}

.ta-search-result:hover {
  border-color: var(--ta-forest);
  background: var(--ta-bone);
}

.ta-search-result img {
  width: 76px;
  height: 58px;
  border-radius: 5px;
  object-fit: cover;
}

.ta-search-result__copy {
  display: grid;
  min-width: 0;
}

.ta-search-result__copy small {
  color: var(--ta-gold-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ta-search-result__copy strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bricks-managed journal and WooCommerce reservation pages. */
.ta-bricks-blog-index {
  width: 100%;
}

.ta-commerce {
  width: 100%;
  min-height: 70vh;
  padding: calc(var(--ta-nav-h) + clamp(3.5rem, 6vw, 6rem)) 0 var(--ta-section-y);
  background: var(--ta-bone);
  color: var(--ta-ink);
}

.ta-commerce__inner {
  width: 100%;
}

.ta-commerce .woocommerce {
  width: 100%;
}

.ta-commerce__page-head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.ta-commerce__page-head h1 {
  margin: 0;
  font-family: var(--ta-font-display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ta-commerce table.shop_table {
  overflow: hidden;
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  background: var(--ta-surface);
}

.ta-commerce table.shop_table th,
.ta-commerce table.shop_table td {
  padding: 1rem;
  border-color: var(--ta-line);
  font-size: 14px;
}

.ta-commerce .product-thumbnail img {
  width: 88px;
  border-radius: 6px;
}

.ta-commerce .quantity input,
.ta-commerce input.input-text,
.ta-commerce input[type="text"],
.ta-commerce input[type="email"],
.ta-commerce input[type="tel"],
.ta-commerce input[type="number"],
.ta-commerce input[type="date"],
.ta-commerce select,
.ta-commerce textarea {
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ta-line-strong);
  border-radius: 5px;
  background: var(--ta-surface);
  color: var(--ta-ink);
  font-size: 15px;
}

.ta-commerce textarea {
  min-height: 110px;
}

.ta-commerce .button,
.ta-commerce button.button,
.ta-commerce a.button,
.ta-commerce #place_order {
  min-height: 48px;
  padding: 0 1.2rem;
  border: 1px solid var(--ta-green-black);
  border-radius: 4px;
  background: var(--ta-green-black);
  color: var(--ta-bone);
  font-size: 14px;
  font-weight: 500;
}

.ta-commerce .button:hover,
.ta-commerce button.button:hover,
.ta-commerce a.button:hover,
.ta-commerce #place_order:hover {
  background: var(--ta-forest);
  color: var(--ta-bone);
}

.ta-commerce .cart-collaterals,
.ta-commerce .woocommerce-checkout-review-order,
.ta-commerce .woocommerce-billing-fields,
.ta-commerce .woocommerce-additional-fields,
.ta-booking-fields {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid var(--ta-line);
  border-radius: 8px;
  background: var(--ta-surface);
}

.ta-commerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.ta-commerce form.checkout > #customer_details {
  width: 100%;
}

.ta-commerce form.checkout > #order_review_heading,
.ta-commerce form.checkout > #order_review {
  grid-column: 2;
}

.ta-commerce form.checkout > #order_review_heading {
  margin: 0 0 -2.6rem;
}

.ta-commerce .col2-set,
.ta-commerce .col2-set .col-1,
.ta-commerce .col2-set .col-2 {
  float: none;
  width: 100%;
}

.ta-commerce .woocommerce-info,
.ta-commerce .woocommerce-message,
.ta-commerce .woocommerce-error {
  border-top-color: var(--ta-gold-deep);
  background: var(--ta-surface);
  color: var(--ta-ink);
}

@media (max-width: 1199px) {
  .ta-home-tours .ta-pcard {
    flex-basis: calc((100% - 36px) / 3);
  }
}

@media (max-width: 820px) {
  .ta-home-tours .ta-pcard {
    flex-basis: calc((100% - 18px) / 2);
  }

  .ta-search-results {
    grid-template-columns: 1fr;
  }

  .ta-commerce form.checkout {
    grid-template-columns: 1fr;
  }

  .ta-commerce form.checkout > #order_review_heading,
  .ta-commerce form.checkout > #order_review {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .ta-home-tours .ta-pcard {
    flex-basis: 100%;
  }

  .ta-live-search__field {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .ta-travel-styles__grid,
  .ta-travel-styles__grid.brxe-block,
  .ta-home-why .ta-track,
  .ta-home-why .ta-track.brxe-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ta-home-story__grid,
  .ta-home-story__grid.brxe-block {
    grid-template-columns: 1fr;
  }

  .ta-home-story__copy {
    max-width: 680px;
  }

  .ta-footer--reference .ta-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ta-mega__grid,
  .ta-mega__grid.brxe-block {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ta-archive-toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --ta-section-y: 3.5rem;
  }

  .ta-home-hero,
  .ta-home-hero.brxe-section {
    min-height: 600px;
  }

  .ta-home-hero .ta-hero__media img {
    object-position: 58% center;
  }

  .ta-home-hero .ta-hero__parent,
  .ta-home-hero .ta-hero__parent.brxe-block {
    align-items: flex-end;
    padding-top: calc(var(--ta-nav-h) + 1rem);
    padding-bottom: 3rem;
  }

  .ta-home-hero .ta-hero__title {
    max-width: 11ch;
    font-size: clamp(2.65rem, 12.5vw, 3.65rem);
    line-height: 0.98;
  }

  .ta-home-hero .ta-gold-metal {
    display: inline;
  }

  .ta-travel-styles__grid,
  .ta-travel-styles__grid.brxe-block,
  .ta-home-why .ta-track,
  .ta-home-why .ta-track.brxe-block,
  .ta-footer--reference .ta-footer__cols {
    grid-template-columns: 1fr;
  }

  .ta-travel-style h3,
  .ta-travel-style .brxe-heading {
    font-size: 18px;
  }

  .ta-section-heading h2,
  .ta-section-heading .brxe-heading,
  .ta-home-story__copy h2,
  .ta-home-story__copy .brxe-heading {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .ta-home-story__media,
  .ta-home-story__media.brxe-block {
    height: 420px;
  }

  .ta-home-testimonials .ta-track,
  .ta-home-testimonials .ta-track.brxe-block {
    padding: 1rem;
  }

  .ta-home-testimonials .ta-rcard:first-child {
    width: 100%;
  }

  .ta-footer--reference .ta-footer__bottom,
  .ta-footer--reference .ta-footer__bottom.brxe-block {
    align-items: flex-start;
    flex-direction: column;
  }

  .ta-bricks-tour-archive .ta-phero {
    min-height: 560px;
  }

  .ta-bricks-tour-archive .ta-phero__in > div {
    max-width: 100%;
  }

  .ta-bricks-tour-archive .ta-phero h1 {
    font-size: clamp(2.6rem, 12vw, 4rem);
  }

  .ta-filters {
    grid-template-columns: 1fr;
  }

  .ta-filter-actions {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-travel-style__media img {
    transition: none;
  }
}

/* 1.6 interaction and alignment corrections from rendered Bricks markup. */
.ta-home-tours .ta-track.is-dragging {
  pointer-events: auto;
  scroll-snap-type: none;
}

.ta-pcard__body {
  position: relative;
  padding-bottom: 56px;
}

.ta-pcard__body > div:last-child {
  position: absolute;
  right: 124px;
  bottom: 10px;
  left: 0;
}

.ta-pcard__meta {
  padding-top: 0;
  line-height: 1.25;
}

.ta-filter-actions {
  align-self: end;
  min-height: 48px;
  margin: 0;
}

.ta-filter-actions .ta-btn-dark {
  height: 48px;
  min-height: 48px;
  margin: 0 !important;
  padding-block: 0 !important;
  transform: none !important;
}

/* Checkout task path: traveller details left, payable deposit and Stripe right. */
.ta-commerce__inner,
.ta-commerce .woocommerce,
.ta-commerce .before-checkout,
.ta-commerce form.checkout.woocommerce-checkout {
  width: 100%;
  max-width: none !important;
  margin-inline: 0 !important;
}

.ta-commerce .before-checkout,
.ta-commerce form.checkout.woocommerce-checkout {
  padding-inline: 0 !important;
}

.ta-commerce form.checkout.woocommerce-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.82fr) !important;
  gap: 24px clamp(1.75rem, 3.2vw, 3rem) !important;
  align-items: start !important;
}

.ta-commerce form.checkout > .ta-checkout-notice {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  margin: 0;
}

.ta-commerce form.checkout > #customer_details {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  width: 100% !important;
}

.ta-commerce form.checkout > .ta-checkout-summary,
.ta-commerce form.checkout > div:has(> #order_review) {
  position: sticky;
  top: calc(var(--ta-nav-h) + 1.25rem);
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  width: 100%;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid var(--ta-line);
  border-radius: 12px;
  background: var(--ta-surface);
}

.ta-commerce form.checkout .ta-checkout-summary #order_review_heading,
.ta-commerce form.checkout > div:has(> #order_review) > #order_review_heading {
  position: static;
  margin: 0 0 1.15rem;
  padding: 0;
  font-size: 1.55rem;
  pointer-events: auto;
}

.ta-commerce form.checkout .ta-checkout-summary #order_review,
.ta-commerce form.checkout > div:has(> #order_review) > #order_review {
  position: static;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ta-commerce #customer_details .col-1,
.ta-commerce #customer_details .col-2,
.ta-commerce #customer_details .woocommerce-billing-fields,
.ta-commerce #customer_details .woocommerce-additional-fields,
.ta-commerce #customer_details .ta-booking-fields {
  width: 100%;
  max-width: none;
}

.ta-commerce #customer_details .col-2 {
  margin-top: 1rem;
}

.ta-commerce .order-total th,
.ta-commerce .order-total td {
  padding-top: 1rem !important;
  color: var(--ta-forest);
  font-size: 15px !important;
}

.ta-commerce .ta-full-trip-total th,
.ta-commerce .ta-full-trip-total td,
.ta-commerce .ta-deposit-due th,
.ta-commerce .ta-deposit-due td,
.ta-commerce .ta-balance-due th,
.ta-commerce .ta-balance-due td {
  color: var(--ta-ink-soft);
}

.ta-commerce .ta-deposit-due th,
.ta-commerce .ta-deposit-due td {
  color: var(--ta-forest);
  font-weight: 500;
}

.ta-commerce .ta-deposit-due td strong,
.ta-commerce .ta-deposit-due td small,
.ta-commerce .ta-balance-due td strong,
.ta-commerce .ta-balance-due td small,
.ta-cart-line__foot > strong small {
  display: block;
}

.ta-commerce .ta-deposit-due td small,
.ta-commerce .ta-balance-due td small,
.ta-cart-line__foot > strong small {
  margin-top: 2px;
  color: var(--ta-muted);
  font-size: 10px;
  font-weight: 400;
}

.ta-commerce #payment {
  margin-top: 0.65rem;
  border: 1px solid var(--ta-line);
  background: var(--ta-bone);
}

.ta-commerce #payment ul.payment_methods,
.ta-commerce #payment .place-order {
  padding: 1rem;
}

.ta-commerce #place_order {
  min-height: 56px;
  font-size: 15px;
}

@media (max-width: 900px) {
  .ta-commerce form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr !important;
  }

  .ta-commerce form.checkout > #customer_details,
  .ta-commerce form.checkout > .ta-checkout-summary,
  .ta-commerce form.checkout > div:has(> #order_review) {
    position: static;
    grid-column: 1;
  }

  .ta-commerce form.checkout > #customer_details {
    grid-row: 2;
  }

  .ta-commerce form.checkout > .ta-checkout-summary,
  .ta-commerce form.checkout > div:has(> #order_review) {
    grid-row: 3;
  }
}

/* Final interaction layer: infinite tours, compact mega menu and AJAX archives. */
.ta-home-tours .ta-carousel {
  overflow: visible;
}

.ta-home-tours .ta-track {
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-y;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.ta-home-tours .ta-track::-webkit-scrollbar {
  display: none;
}

.ta-home-tours .ta-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.ta-home-tours .ta-track img {
  pointer-events: none;
  user-select: none;
}

.ta-carousel-controls {
  padding-top: 4px;
}

.ta-mega__inner,
.ta-mega__inner.brxe-block {
  max-width: 1160px;
  max-height: min(520px, calc(100dvh - var(--ta-nav-h) - 24px));
  overflow-y: auto;
  border: 1px solid var(--ta-line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 22px 60px rgba(14, 22, 17, 0.14);
}

.ta-mega__side,
.ta-mega__side.brxe-block {
  width: 45%;
}

.ta-mega__featured,
.ta-mega__featured.brxe-block {
  width: 55%;
  padding: 24px;
}

.ta-mega__col,
.ta-mega__col.brxe-block {
  padding: 24px 20px 18px;
}

.ta-mega__group,
.ta-mega__group.brxe-block,
.ta-mega__group.brxe-div {
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.ta-mega__grid,
.ta-mega__grid.brxe-block {
  gap: 12px;
}

.ta-mega__thumb,
.ta-mega__thumb.brxe-block,
.ta-mega__thumb.brxe-div,
.ta-mega__card.brxe-block > .brxe-image {
  min-height: 100px;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.55rem;
}

.ta-mega__card .lbl,
.ta-mega__card .brxe-text-basic.lbl {
  font-size: 14px;
}

.ta-bricks-tour-archive .ta-breadcrumb {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
  margin-bottom: 1rem;
  color: rgba(248, 246, 246, 0.76);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

.ta-bricks-tour-archive .ta-breadcrumb a {
  color: var(--ta-bone);
}

.ta-bricks-tour-archive .ta-breadcrumb i {
  flex: 0 0 auto;
  color: rgba(248, 246, 246, 0.52);
  font-size: 9px;
}

.ta-bricks-tour-archive .ta-breadcrumb [aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-filter-actions .ta-btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  line-height: 1;
}

.ta-filter-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ta-filter-status.is-error {
  position: static;
  grid-column: 1 / -1;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  color: #8b3026;
  clip-path: none;
  font-size: 12px;
  white-space: normal;
}

.ta-archive-results {
  position: relative;
  min-height: 220px;
  transition: opacity 0.2s ease;
}

.ta-archive-results.is-loading {
  opacity: 0.45;
  pointer-events: none;
}

.ta-archive-results.is-loading::after {
  position: absolute;
  top: 1rem;
  left: 50%;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ta-line-strong);
  border-top-color: var(--ta-forest);
  border-radius: 50%;
  content: "";
  animation: ta-filter-spin 0.7s linear infinite;
}

@keyframes ta-filter-spin {
  to { transform: rotate(360deg); }
}

.ta-filter-empty {
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 2rem;
  text-align: center;
}

.ta-filter-empty h3,
.ta-filter-empty p {
  margin: 0;
}

.ta-filter-empty button {
  margin-top: 1rem;
  border-bottom: 1px solid currentColor;
  color: var(--ta-forest);
}

.ta-pager {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.ta-pager a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ta-line);
  border-radius: 50%;
  color: var(--ta-ink);
  font-size: 14px;
}

.ta-pager a:hover,
.ta-pager a[aria-current="page"] {
  border-color: var(--ta-green-black);
  background: var(--ta-green-black);
  color: var(--ta-bone);
}

/* Accessible trip drawer replaces the public cart page. */
.ta-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 99980;
  background: rgba(10, 17, 13, 0.56);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  backdrop-filter: blur(2px);
}

.ta-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99990;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  width: min(470px, 100%);
  height: 100dvh;
  overflow: hidden;
  background: var(--ta-surface);
  color: var(--ta-ink);
  transform: translateX(102%);
  transition: transform 0.38s var(--ta-ease-out);
  box-shadow: -18px 0 60px rgba(10, 17, 13, 0.16);
}

.ta-cart-open {
  overflow: hidden;
}

.ta-cart-open .ta-cart-overlay {
  opacity: 1;
  visibility: visible;
}

.ta-cart-open .ta-cart-drawer {
  transform: none;
}

.ta-cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem clamp(1.25rem, 4vw, 2rem);
  border-bottom: 1px solid var(--ta-line);
}

.ta-cart-drawer__head span {
  color: var(--ta-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ta-cart-drawer__head h2 {
  margin: 0.18rem 0 0;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.ta-cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ta-line);
  border-radius: 50%;
  color: var(--ta-ink);
}

.ta-cart-drawer__close:hover {
  border-color: var(--ta-green-black);
  background: var(--ta-green-black);
  color: var(--ta-bone);
}

.ta-cart-status {
  min-height: 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  color: var(--ta-forest);
  font-size: 13px;
}

.ta-cart-status:not(:empty) {
  min-height: 36px;
  padding-top: 0.7rem;
}

.ta-cart-drawer__body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow-y: auto;
}

.ta-cart-lines {
  display: grid;
  gap: 0;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.ta-cart-line {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--ta-line);
  transition: opacity 0.2s ease;
}

.ta-cart-line.is-updating {
  opacity: 0.45;
  pointer-events: none;
}

.ta-cart-line__media,
.ta-cart-line__media img {
  display: block;
  width: 112px;
  height: 96px;
  border-radius: 7px;
  object-fit: cover;
}

.ta-cart-line__copy {
  display: grid;
  min-width: 0;
  align-content: start;
}

.ta-cart-line__title {
  color: var(--ta-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.ta-cart-line__date {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.45rem;
  color: var(--ta-muted);
  font-size: 12px;
}

.ta-cart-line__foot {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.9rem;
}

.ta-cart-line__qty {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 32px;
  overflow: hidden;
  border: 1px solid var(--ta-line);
  border-radius: 999px;
  background: var(--ta-surface);
}

.ta-cart-line__qty button {
  display: grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ta-ink);
  font-size: 16px;
  line-height: 1;
}

.ta-cart-line__qty button:hover,
.ta-cart-line__qty button:focus-visible {
  background: var(--ta-sand);
}

.ta-cart-line__qty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  height: 30px;
  border-inline: 1px solid var(--ta-line);
  font-size: 11px;
  text-align: center;
}

.ta-cart-line__qty span b {
  font-weight: 500;
}

.ta-cart-line__foot > strong {
  font-size: 13px;
  font-weight: 500;
}

.ta-cart-line__remove {
  width: fit-content;
  margin-top: 0.6rem;
  border-bottom: 1px solid var(--ta-line-strong);
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-cart-summary {
  display: grid;
  gap: 0.7rem;
  margin-top: auto;
  padding: 1.35rem clamp(1.25rem, 4vw, 2rem) 1.7rem;
  border-top: 1px solid var(--ta-line);
  background: var(--ta-bone);
}

.ta-cart-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}

.ta-cart-summary > div strong {
  font-size: 16px;
  font-weight: 500;
}

.ta-cart-summary .ta-cart-summary__today {
  color: var(--ta-forest);
}

.ta-cart-summary p {
  margin: 0 0 0.3rem;
  color: var(--ta-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ta-cart-checkout {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 5px;
  background: var(--ta-green-black);
  color: var(--ta-bone);
  font-size: 14px;
  font-weight: 500;
}

.ta-cart-checkout:hover {
  background: var(--ta-forest);
  color: var(--ta-bone);
}

.ta-cart-continue {
  min-height: 38px;
  color: var(--ta-ink-soft);
  font-size: 13px;
}

.ta-cart-help {
  color: var(--ta-forest);
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ta-cart-empty {
  display: grid;
  place-items: center;
  max-width: 330px;
  margin: auto;
  padding: 3rem 1.5rem;
  text-align: center;
}

.ta-cart-empty > i {
  margin-bottom: 1.25rem;
  color: var(--ta-gold-deep);
  font-size: 30px;
}

.ta-cart-empty h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 500;
}

.ta-cart-empty p {
  margin: 0.7rem 0 1.3rem;
  color: var(--ta-muted);
  font-size: 14px;
  line-height: 1.55;
}

.ta-cart-empty .ta-cart-continue {
  min-height: 44px;
  padding-inline: 1.1rem;
  border: 1px solid var(--ta-green-black);
  border-radius: 5px;
}

/* Trust-first booking request and confirmation experience. */
.ta-commerce {
  padding-top: calc(var(--ta-nav-h) + clamp(2.25rem, 5vw, 4.5rem));
}

.ta-commerce .woocommerce::before {
  display: none;
}

.ta-commerce__intro {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--ta-line);
}

.ta-commerce__breadcrumb {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--ta-muted);
  font-size: 13px;
}

.ta-commerce__breadcrumb a {
  color: var(--ta-forest);
}

.ta-commerce__breadcrumb i {
  font-size: 9px;
}

.ta-commerce__intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-top: 1.25rem;
}

.ta-commerce__intro h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.ta-commerce__intro p {
  max-width: 65ch;
  margin: 1rem 0 0;
  color: var(--ta-ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

.ta-commerce__help {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  min-width: 224px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--ta-line);
  border-radius: 7px;
  background: var(--ta-surface);
  color: var(--ta-ink);
}

.ta-commerce__help > i {
  color: var(--ta-gold-deep);
  font-size: 20px;
}

.ta-commerce__help span {
  display: grid;
  gap: 0.1rem;
  font-size: 13px;
  font-weight: 500;
}

.ta-commerce__help small {
  color: var(--ta-muted);
  font-size: 11px;
  font-weight: 400;
}

.ta-booking-path {
  display: flex;
  gap: 0;
  align-items: center;
  margin-top: 1.75rem;
}

.ta-booking-path span {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--ta-muted-soft);
  font-size: 12px;
  font-weight: 500;
}

.ta-booking-path span + span::before {
  width: clamp(24px, 5vw, 72px);
  height: 1px;
  margin-inline: 0.8rem;
  background: var(--ta-line-strong);
  content: "";
}

.ta-booking-path .is-current,
.ta-booking-path .is-complete {
  color: var(--ta-forest);
}

.ta-booking-path i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
}

.ta-commerce form.checkout {
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.ta-commerce .woocommerce-billing-fields,
.ta-commerce .woocommerce-additional-fields,
.ta-booking-fields,
.ta-commerce .woocommerce-checkout-review-order {
  border-radius: 9px;
}

.ta-commerce .woocommerce-billing-fields h3,
.ta-commerce .woocommerce-additional-fields h3,
.ta-booking-fields h3,
.ta-commerce #order_review_heading {
  margin: 0 0 1.25rem;
  font-size: 1.55rem;
  font-weight: 500;
}

.ta-commerce form.checkout > #order_review_heading {
  position: relative;
  z-index: 2;
  margin: 1.6rem 2rem -4.2rem;
  pointer-events: none;
}

.ta-commerce .woocommerce-checkout-review-order {
  position: sticky;
  top: calc(var(--ta-nav-h) + 1.25rem);
  padding-top: 4.8rem;
}

.ta-commerce .form-row {
  margin-bottom: 1rem;
}

.ta-commerce .form-row label {
  margin-bottom: 0.4rem;
  color: var(--ta-ink-soft);
  font-size: 13px;
  font-weight: 500;
}

.ta-commerce input.input-text,
.ta-commerce input[type="text"],
.ta-commerce input[type="email"],
.ta-commerce input[type="tel"],
.ta-commerce input[type="number"],
.ta-commerce input[type="date"],
.ta-commerce select,
.ta-commerce textarea,
.ta-commerce .select2-container .select2-selection--single {
  min-height: 52px;
  border-color: var(--ta-line-strong);
  border-radius: 5px;
  background: var(--ta-bone);
  box-shadow: none;
}

.ta-commerce .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 50px;
}

.ta-commerce .select2-container .select2-selection--single .select2-selection__arrow {
  height: 50px;
}

.ta-commerce input:focus,
.ta-commerce select:focus,
.ta-commerce textarea:focus,
.ta-commerce .select2-container--focus .select2-selection {
  border-color: var(--ta-forest);
  outline: 2px solid rgba(23, 68, 56, 0.16);
  outline-offset: 1px;
}

.ta-commerce .woocommerce-invalid input.input-text,
.ta-commerce .woocommerce-invalid select {
  border-color: #a63c2f;
}

.ta-checkout-notice {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(23, 68, 56, 0.2);
  border-radius: 7px;
  background: rgba(23, 68, 56, 0.06);
  color: var(--ta-forest);
}

.ta-checkout-notice > i {
  margin-top: 0.15rem;
  font-size: 18px;
}

.ta-checkout-notice > div {
  display: grid;
  gap: 0.2rem;
}

.ta-checkout-notice strong {
  font-size: 14px;
  font-weight: 500;
}

.ta-checkout-notice span {
  color: var(--ta-ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.ta-commerce table.shop_table {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.ta-commerce table.shop_table th,
.ta-commerce table.shop_table td {
  padding: 0.9rem 0;
  border-color: var(--ta-line);
  font-size: 13px;
}

.ta-commerce table.shop_table .product-name {
  padding-right: 1rem;
  font-weight: 500;
}

.ta-commerce table.shop_table .product-quantity {
  color: var(--ta-muted);
  font-weight: 400;
}

.ta-commerce table.shop_table .wc-item-meta {
  margin-top: 0.45rem;
  color: var(--ta-muted);
  font-size: 11px;
}

.ta-commerce .ta-due-today th,
.ta-commerce .ta-due-today td {
  color: var(--ta-forest);
  font-size: 15px;
}

.ta-commerce .ta-due-today td strong,
.ta-commerce .ta-due-today td small {
  display: block;
}

.ta-commerce .ta-due-today td small {
  margin-top: 0.2rem;
  color: var(--ta-muted);
  font-size: 10px;
  font-weight: 400;
}

.ta-commerce #payment {
  border-radius: 7px;
  background: var(--ta-paper);
}

.ta-commerce #payment ul.payment_methods {
  padding: 1rem;
  border-color: var(--ta-line);
}

.ta-commerce #payment div.payment_box {
  margin-bottom: 0;
  background: var(--ta-surface);
  color: var(--ta-ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.ta-commerce #payment div.payment_box::before {
  border-bottom-color: var(--ta-surface);
}

.ta-commerce #payment .place-order {
  padding: 1rem;
}

.ta-commerce #place_order {
  width: 100%;
  min-height: 54px;
  margin-top: 0.75rem;
}

.ta-commerce .woocommerce-privacy-policy-text,
.ta-commerce .woocommerce-terms-and-conditions-wrapper {
  color: var(--ta-muted);
  font-size: 11px;
  line-height: 1.55;
}

.ta-commerce .woocommerce-error,
.ta-commerce .woocommerce-info,
.ta-commerce .woocommerce-message {
  margin-bottom: 1.25rem;
  border: 1px solid var(--ta-line);
  border-radius: 6px;
  background: var(--ta-surface);
  font-size: 13px;
}

.ta-commerce .woocommerce-error {
  border-color: rgba(166, 60, 47, 0.42);
  background: #fff9f7;
}

.ta-commerce .woocommerce-order {
  max-width: 920px;
  margin-inline: auto;
}

.ta-commerce .woocommerce-thankyou-order-received {
  margin: 0 0 1.5rem;
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(23, 68, 56, 0.22);
  border-radius: 7px;
  background: rgba(23, 68, 56, 0.06);
  color: var(--ta-forest);
  font-size: 16px;
  font-weight: 500;
}

.ta-commerce .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0 0 1.5rem;
  padding: 0;
  border: 1px solid var(--ta-line);
  border-radius: 7px;
  background: var(--ta-line);
}

.ta-commerce .woocommerce-order-overview li {
  width: auto;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: var(--ta-surface);
  font-size: 10px;
}

.ta-commerce .woocommerce-order-overview li strong {
  margin-top: 0.3rem;
  font-size: 13px;
  font-weight: 500;
}

.ta-thankyou-next {
  margin-top: 2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ta-line);
  border-radius: 9px;
  background: var(--ta-surface);
}

.ta-thankyou-next__head span {
  color: var(--ta-gold-deep);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ta-thankyou-next__head h2 {
  margin: 0.35rem 0 1.5rem;
  font-size: 2rem;
  font-weight: 500;
}

.ta-thankyou-next__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ta-thankyou-next__list > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--ta-line);
  border-radius: 7px;
}

.ta-thankyou-next__list i {
  color: var(--ta-gold-deep);
  font-size: 18px;
}

.ta-thankyou-next__list p {
  display: grid;
  gap: 0.35rem;
  margin: 0;
}

.ta-thankyou-next__list strong {
  font-size: 14px;
  font-weight: 500;
}

.ta-thankyou-next__list span,
.ta-thankyou-help {
  color: var(--ta-muted);
  font-size: 12px;
  line-height: 1.5;
}

.ta-thankyou-help {
  margin: 1.25rem 0 0;
}

.ta-thankyou-help a {
  color: var(--ta-forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .ta-mega__inner,
  .ta-mega__inner.brxe-block {
    border-radius: 0;
  }

  .ta-commerce__intro-grid,
  .ta-commerce form.checkout {
    grid-template-columns: 1fr;
  }

  .ta-commerce__help {
    width: fit-content;
  }

  .ta-commerce form.checkout > #order_review_heading,
  .ta-commerce form.checkout > #order_review {
    grid-column: 1;
  }

  .ta-commerce .woocommerce-checkout-review-order {
    position: static;
  }

  .ta-thankyou-next__list {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body.single-product .ta-tour-title {
    font-size: clamp(36px, 5.5vw, 46px) !important;
  }
}

@media (max-width: 640px) {
  .ta-cart-line {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .ta-cart-line__media,
  .ta-cart-line__media img {
    width: 92px;
    height: 84px;
  }

  .ta-cart-line__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .ta-booking-path {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .ta-booking-path span + span::before {
    width: 1px;
    height: 12px;
    margin: -0.1rem 0 -0.1rem 12px;
  }

  .ta-commerce .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-cart-overlay,
  .ta-cart-drawer,
  .ta-search-panel,
  .ta-home-tours .ta-track {
    scroll-behavior: auto;
    transition: none;
  }
}

/* Shared interior-page alignment: one breadcrumb and one header-safe hero. */
.ta-phero,
.ta-phero.brxe-section {
  min-height: clamp(460px, 54vh, 580px) !important;
  padding-top: var(--ta-nav-h) !important;
}

.ta-bricks-tour-archive .ta-phero {
  min-height: clamp(510px, 60vh, 650px) !important;
}

.ta-breadcrumb,
.ta-breadcrumb.brxe-block,
.ta-commerce__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  min-width: 0;
  padding: 0 0 0.6rem;
  border-bottom: 1px solid currentColor;
  color: var(--ta-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.ta-breadcrumb > i,
.ta-commerce__breadcrumb > i,
.ta-breadcrumb__separator,
.ta-breadcrumb > span:not([aria-current]):not(:last-child) {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 1px;
  overflow: hidden;
  background: currentColor;
  color: inherit;
  font-size: 0;
  opacity: 0.55;
}

.ta-breadcrumb a,
.ta-commerce__breadcrumb a {
  color: inherit;
  font-weight: 500;
}

.ta-breadcrumb [aria-current="page"],
.ta-breadcrumb > span:last-child,
.ta-commerce__breadcrumb > span:last-child {
  overflow: hidden;
  color: var(--ta-ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-phero .ta-breadcrumb,
.ta-bricks-tour-archive .ta-breadcrumb {
  color: rgba(248, 246, 246, 0.72);
}

.ta-phero .ta-breadcrumb a,
.ta-phero .ta-breadcrumb [aria-current="page"],
.ta-phero .ta-breadcrumb > span:last-child,
.ta-bricks-tour-archive .ta-breadcrumb a,
.ta-bricks-tour-archive .ta-breadcrumb [aria-current="page"] {
  color: var(--ta-bone);
}

.ta-breadcrumb--light,
.ta-breadcrumb--light.brxe-block {
  color: var(--ta-muted);
}

.ta-breadcrumb--light a {
  color: var(--ta-forest);
}

.ta-breadcrumb--light [aria-current="page"] {
  color: var(--ta-ink);
}

/* The action repeats the label/control rows used by both selects. */
.ta-filter-actions {
  display: grid;
  grid-template-rows: auto 48px;
  gap: 7px;
  align-self: stretch;
  min-height: 0;
  margin: 0;
}

.ta-filter-label--spacer {
  visibility: hidden;
  user-select: none;
}

.ta-filter-actions__controls {
  display: flex;
  align-items: stretch;
  gap: 12px;
  height: 48px;
}

.ta-filter-actions__controls .ta-btn-dark {
  height: 48px;
  min-height: 48px;
}

@media (max-width: 900px) {
  .ta-phero,
  .ta-phero.brxe-section,
  .ta-bricks-tour-archive .ta-phero {
    min-height: clamp(460px, 60dvh, 560px) !important;
  }

  .ta-phero h1,
  .ta-bricks-tour-archive .ta-phero h1,
  .ta-tour-title,
  .ta-commerce h1 {
    font-size: clamp(2.5rem, 8vw, 3.65rem) !important;
    line-height: 1 !important;
  }
}

@media (max-width: 640px) {
  .ta-filter-actions {
    grid-template-rows: 48px;
    gap: 0;
  }

  .ta-filter-label--spacer {
    display: none;
  }

  .ta-filter-actions__controls {
    justify-content: flex-start;
  }

  .ta-phero h1,
  .ta-bricks-tour-archive .ta-phero h1,
  .ta-tour-title,
  .ta-commerce h1 {
    font-size: clamp(2.25rem, 10vw, 3rem) !important;
  }

  .ta-phero p,
  .ta-bricks-tour-archive .ta-term-intro p,
  .ta-commerce p {
    font-size: 16px;
  }

  .ta-breadcrumb,
  .ta-breadcrumb.brxe-block,
  .ta-commerce__breadcrumb {
    max-width: 100%;
    gap: 0.5rem;
    font-size: 12px;
  }
}

/* Keep these menu rules last: they intentionally replace the former inset card. */
#mega-tours {
  border-top: 1px solid rgba(26, 31, 19, 0.08);
  background: var(--ta-surface);
  box-shadow: 0 18px 44px rgba(14, 22, 17, 0.12);
}

.ta-mega__inner,
.ta-mega__inner.brxe-block {
  width: 100%;
  max-width: var(--ta-container-wide);
  max-height: min(510px, calc(100dvh - var(--ta-nav-h)));
  margin-inline: auto;
  padding-inline: var(--ta-gutter);
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: var(--ta-surface);
  box-shadow: none;
}

.ta-mega__side,
.ta-mega__side.brxe-block {
  width: 50%;
  border-right: 1px solid var(--ta-line);
}

.ta-mega__featured,
.ta-mega__featured.brxe-block {
  width: 50%;
  padding: 24px 0 24px 28px;
  background: transparent;
}

.ta-mega__grid,
.ta-mega__grid.brxe-block {
  grid-template-columns: 1fr;
  gap: 0;
}

.ta-mega__card,
.ta-mega__card.brxe-block {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  min-width: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--ta-line);
}

.ta-mega__thumb,
.ta-mega__thumb.brxe-block,
.ta-mega__thumb.brxe-div,
.ta-mega__card.brxe-block > .brxe-image {
  grid-row: 1 / 3;
  width: 112px;
  min-height: 0;
  height: 72px;
  aspect-ratio: auto;
  margin: 0;
}

.ta-mega__card .ta-mega__eyebrow {
  grid-column: 2;
  align-self: end;
  margin: 0 !important;
  font-size: 10px;
}

.ta-mega__card .lbl,
.ta-mega__card .brxe-text-basic.lbl {
  grid-column: 2;
  align-self: start;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ta-mega__featured > div:last-child,
.ta-mega__featured.brxe-block > div:last-child {
  margin-top: 14px !important;
  padding-top: 0 !important;
}

/* Direct-link proposals remain visually reassuring without entering public listings. */
.ta-private-proposal {
  width: fit-content;
  max-width: 640px;
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(23, 68, 56, 0.2);
  border-radius: 8px;
  background: rgba(23, 68, 56, 0.06);
}

.ta-private-proposal span {
  color: var(--ta-forest);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ta-private-proposal p {
  margin: 0.2rem 0 0;
  color: var(--ta-ink-soft);
  font-size: 14px;
}

/* Checkout: one restrained type and color hierarchy, with a readable order ledger. */
.ta-commerce--checkout .woocommerce-notices-wrapper > .woocommerce-message,
.ta-commerce .woocommerce-additional-fields > h3,
.ta-commerce .woocommerce-additional-fields .notes:not(.ta-booking-fields) {
  display: none !important;
}

.ta-commerce .woocommerce-billing-fields,
.ta-commerce .woocommerce-additional-fields,
.ta-commerce .ta-booking-fields {
  color: var(--ta-ink);
}

.ta-commerce .woocommerce-billing-fields h3,
.ta-commerce .ta-booking-fields h3,
.ta-commerce .ta-checkout-summary #order_review_heading {
  color: var(--ta-ink);
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.15;
}

.ta-commerce .form-row label {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--ta-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.ta-commerce .form-row label .required {
  color: #9a382e;
  font-weight: 500;
}

.ta-commerce .ta-checkout-summary table.shop_table {
  overflow: hidden;
  width: 100%;
  margin: 0 0 1rem;
  border: 1px solid var(--ta-line) !important;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  background: var(--ta-surface);
}

.ta-commerce .ta-checkout-summary table.shop_table thead {
  background: var(--ta-paper);
}

.ta-commerce .ta-checkout-summary table.shop_table th,
.ta-commerce .ta-checkout-summary table.shop_table td {
  padding: 0.85rem 0.9rem !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ta-line) !important;
  color: var(--ta-ink-soft);
  font-size: 13px !important;
  line-height: 1.45;
  vertical-align: top;
}

.ta-commerce .ta-checkout-summary table.shop_table thead th {
  color: var(--ta-muted);
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.ta-commerce .ta-checkout-summary table.shop_table th:last-child,
.ta-commerce .ta-checkout-summary table.shop_table td:last-child {
  text-align: right;
}

.ta-commerce .ta-checkout-summary table.shop_table tr:last-child th,
.ta-commerce .ta-checkout-summary table.shop_table tr:last-child td {
  border-bottom: 0 !important;
}

.ta-commerce .ta-checkout-summary table.shop_table .product-name {
  color: var(--ta-ink);
  font-size: 14px !important;
  font-weight: 500;
}

.ta-commerce .ta-checkout-summary table.shop_table .wc-item-meta {
  margin: 0.45rem 0 0;
  color: var(--ta-muted);
  font-size: 11px;
  font-weight: 400;
}

.ta-commerce .ta-checkout-summary table.shop_table .order-total th,
.ta-commerce .ta-checkout-summary table.shop_table .order-total td {
  color: var(--ta-forest) !important;
  font-size: 15px !important;
  font-weight: 500;
}

.ta-commerce .ta-checkout-summary #payment,
.ta-commerce .ta-checkout-summary #payment p,
.ta-commerce .ta-checkout-summary #payment label {
  color: var(--ta-ink-soft);
  font-size: 12px;
}

/* Persistent, measurable support channel. */
.ta-whatsapp-fab {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1rem 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: #176b4b;
  box-shadow: 0 12px 30px rgba(17, 44, 34, 0.24);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ta-whatsapp-fab svg {
  width: 24px;
  height: 24px;
}

.ta-whatsapp-fab:hover,
.ta-whatsapp-fab:focus-visible {
  background: #125c3f;
  box-shadow: 0 15px 34px rgba(17, 44, 34, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

body.ta-cart-open .ta-whatsapp-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* Preserve wordmark contrast over the light upper area of the desktop home hero. */
@media (min-width: 1025px) {
  body.home #header:not(.is-fixed) .ta-header__brand img {
    filter: brightness(0) saturate(100%) invert(11%) sepia(13%) saturate(1040%) hue-rotate(39deg) brightness(92%) contrast(94%) !important;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .ta-whatsapp-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    justify-content: center;
    width: 50px;
    min-height: 50px;
    padding: 0;
  }

  .ta-whatsapp-fab span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-whatsapp-fab {
    transition: none;
  }
}

/* 2026-08 navigation rebalance: equal rails keep the wordmark optically centred. */
@media (min-width: 1101px) {
  #header .ta-header__inner,
  #header .ta-header__inner.brxe-block {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(1rem, 2vw, 2rem);
  }

  #header .ta-header__brand,
  #header .ta-header__brand.brxe-image {
    position: static;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    transform: none;
  }

  #header .ta-nav--left,
  #header .ta-nav--left.brxe-block {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
  }

  #header .ta-nav--right,
  #header .ta-nav--right.brxe-block {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    gap: 0.45rem;
    margin: 0;
  }

  #header .ta-nav--right > .ta-navitem + .ta-navitem {
    margin-left: 0.55rem;
  }

  #header .ta-nav--right .ta-btn-cream {
    min-height: 42px;
    margin-right: 0.4rem;
    margin-left: 0.65rem;
    padding-inline: 1rem;
  }

  #header .ta-nav--right > .ta-header__search,
  #header .ta-nav--right > .ta-header-cart,
  #header .ta-nav--right > .ta-bricks-language-switcher {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  #header .ta-nav--right > .ta-bricks-language-switcher,
  #header .ta-nav--right > .ta-bricks-language-switcher .ta-language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #header .ta-nav--right > .ta-bricks-language-switcher {
    border-radius: 50%;
  }

  #header .ta-nav--right > .ta-bricks-language-switcher:hover {
    background: rgba(248, 246, 246, 0.12);
  }

  #header .ta-nav--right > .ta-bricks-language-switcher .ta-language-switcher {
    width: 40px;
    min-height: 40px;
    gap: 0.25rem;
  }
}

/* Keep the cart immediately available on tablet and mobile, beside the menu. */
@media (max-width: 1100px) {
  #header .ta-header__inner,
  #header .ta-header__inner.brxe-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }

  #header .ta-nav--left,
  #header .ta-nav--left.brxe-block {
    display: none !important;
  }

  #header .ta-nav--right,
  #header .ta-nav--right.brxe-block {
    display: flex !important;
    width: auto !important;
    margin-right: 0;
    margin-left: auto;
    gap: 0.25rem;
  }

  #header .ta-nav--right > :not(.ta-header-cart) {
    display: none !important;
  }

  #header .ta-header-cart {
    display: inline-flex !important;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  #header .ta-burger {
    position: static;
    display: inline-flex !important;
    margin-left: 0.2rem;
    transform: none;
  }

  #header .ta-header__brand,
  #header .ta-header__brand.brxe-image {
    position: absolute;
    top: 50%;
    left: var(--ta-gutter);
    transform: translateY(-50%);
  }
}

/* Checkout summary: one calm typographic hierarchy and a clear payment action. */
.ta-commerce .ta-checkout-summary table.shop_table {
  table-layout: fixed;
  font-family: var(--ta-font-body);
}

.ta-commerce .ta-checkout-summary table.shop_table th,
.ta-commerce .ta-checkout-summary table.shop_table td {
  width: auto;
  padding: 0.82rem 0.9rem !important;
  color: var(--ta-ink) !important;
  font-family: inherit;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.42;
  text-align: left;
}

.ta-commerce .ta-checkout-summary table.shop_table th:first-child,
.ta-commerce .ta-checkout-summary table.shop_table td:first-child {
  width: 66%;
}

.ta-commerce .ta-checkout-summary table.shop_table th:last-child,
.ta-commerce .ta-checkout-summary table.shop_table td:last-child {
  width: 34%;
  text-align: right;
}

.ta-commerce .ta-checkout-summary table.shop_table strong,
.ta-commerce .ta-checkout-summary table.shop_table small,
.ta-commerce .ta-checkout-summary table.shop_table .woocommerce-Price-amount,
.ta-commerce .ta-checkout-summary table.shop_table .woocommerce-Price-currencySymbol {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.ta-commerce .ta-checkout-summary table.shop_table thead th {
  color: var(--ta-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  text-transform: none;
}

.ta-commerce .ta-checkout-summary table.shop_table .product-name,
.ta-commerce .ta-checkout-summary table.shop_table .product-total {
  color: var(--ta-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ta-commerce .ta-checkout-summary table.shop_table .product-quantity {
  color: var(--ta-muted);
  font-weight: 400;
}

.ta-commerce .ta-checkout-summary table.shop_table tr.cart_item > td {
  vertical-align: top;
}

.ta-commerce .ta-checkout-summary table.shop_table dl.variation {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 0.18rem 0.55rem;
  margin: 0.62rem 0 0 !important;
  color: var(--ta-muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.ta-commerce .ta-checkout-summary table.shop_table dl.variation dt,
.ta-commerce .ta-checkout-summary table.shop_table dl.variation dd {
  display: block;
  float: none !important;
  clear: none !important;
  width: auto;
  margin: 0 !important;
  padding: 0 !important;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
}

.ta-commerce .ta-checkout-summary table.shop_table dl.variation dt {
  color: var(--ta-ink-soft);
  font-weight: 500;
}

.ta-commerce .ta-checkout-summary table.shop_table dl.variation dd p {
  margin: 0 !important;
  color: inherit;
  font: inherit;
  line-height: inherit;
}

.ta-commerce .ta-checkout-summary table.shop_table .wc-item-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.12rem;
  margin: 0.55rem 0 0;
  color: var(--ta-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.ta-commerce .ta-checkout-summary table.shop_table .wc-item-meta p,
.ta-commerce .ta-checkout-summary table.shop_table .wc-item-meta strong {
  display: inline;
  margin: 0;
  font-size: 12px;
  line-height: inherit;
}

.ta-commerce .ta-checkout-summary table.shop_table .wc-item-meta strong {
  color: var(--ta-ink-soft);
  font-weight: 500;
}

.ta-commerce .ta-checkout-summary table.shop_table .cart-subtotal {
  display: none;
}

.ta-commerce .ta-checkout-summary table.shop_table .order-total th,
.ta-commerce .ta-checkout-summary table.shop_table .order-total td,
.ta-commerce .ta-checkout-summary table.shop_table .ta-full-trip-total th,
.ta-commerce .ta-checkout-summary table.shop_table .ta-full-trip-total td,
.ta-commerce .ta-checkout-summary table.shop_table .ta-balance-due th,
.ta-commerce .ta-checkout-summary table.shop_table .ta-balance-due td {
  color: var(--ta-ink) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.ta-commerce .ta-checkout-summary table.shop_table .ta-deposit-due th,
.ta-commerce .ta-checkout-summary table.shop_table .ta-deposit-due td {
  background: rgba(47, 91, 72, 0.08);
  color: var(--ta-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ta-commerce .ta-checkout-summary table.shop_table .ta-deposit-due td strong,
.ta-commerce .ta-checkout-summary table.shop_table .ta-balance-due td strong {
  display: block;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

.ta-commerce .ta-checkout-summary table.shop_table .ta-deposit-due td small,
.ta-commerce .ta-checkout-summary table.shop_table .ta-balance-due td small {
  display: block;
  margin-top: 0.2rem;
  color: var(--ta-muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.3;
}

.ta-commerce #place_order {
  width: 100%;
  min-height: 60px;
  border-color: var(--ta-green-black);
  border-radius: 8px;
  background: var(--ta-green-black);
  box-shadow: 0 4px 0 rgba(12, 35, 27, 0.2);
  color: var(--ta-bone);
  font-family: var(--ta-font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ta-commerce #place_order:hover {
  background: var(--ta-forest);
  box-shadow: 0 5px 0 rgba(12, 35, 27, 0.24);
  color: var(--ta-bone);
  transform: translateY(-1px);
}

.ta-commerce #place_order:focus-visible {
  outline: 3px solid var(--ta-gold-warm);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .ta-commerce form.checkout > .ta-checkout-summary,
  .ta-commerce form.checkout > div:has(> #order_review) {
    padding: 1rem;
  }

  .ta-commerce .ta-checkout-summary table.shop_table th,
  .ta-commerce .ta-checkout-summary table.shop_table td {
    padding: 0.72rem 0.65rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-commerce #place_order {
    transition: none;
  }

  .ta-commerce #place_order:hover {
    transform: none;
  }
}

/* Empty-cart recovery action: centre the label inside its full hit area. */
.ta-cart-empty .ta-cart-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-block: 0.7rem;
  line-height: 1.2;
  text-align: center;
}
