/* EcoSapa Single Tour — Travel Monster 1.3.6 + WP Travel Engine presentation */
:root{
  --eco-trip-red:#ed1c24;
  --eco-trip-red-dark:#c8141b;
  --eco-trip-green:#0d4a3d;
  --eco-trip-green-dark:#072e26;
  --eco-trip-ink:#211d19;
  --eco-trip-muted:#6c655e;
  --eco-trip-line:#e6dfd7;
  --eco-trip-soft:#f8f6f2;
  --eco-trip-cream:#fffaf5;
  --eco-trip-shadow:0 14px 40px rgba(17,42,35,.08);
}
body.single-trip{background:#fff!important;color:var(--eco-trip-ink)!important;font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important;}
body.single-trip *{box-sizing:border-box}
body.single-trip .site-main,body.single-trip .main-content-wrapper,body.single-trip .trip-content-area{font-family:'DM Sans',system-ui,sans-serif!important}
body.single-trip .container{width:min(1220px,calc(100% - 40px));max-width:1220px!important;margin-inline:auto;padding-left:0!important;padding-right:0!important}
body.single-trip .main-content-wrapper{padding-top:24px!important;padding-bottom:70px!important}

/* Breadcrumb / title layer */
body.single-trip .page-header-top{background:#fff!important;border-bottom:1px solid var(--eco-trip-line)!important}
body.single-trip .travel-monster-breadcrumb-main-wrap{font-size:12px!important;font-weight:700!important;color:#817970!important}
body.single-trip .travel-monster-breadcrumb-main-wrap a{color:var(--eco-trip-green)!important;text-decoration:none!important}
body.single-trip h1,body.single-trip h2,body.single-trip h3,body.single-trip h4{font-family:'DM Sans',system-ui,sans-serif!important}
body.single-trip h1.entry-title,
body.single-trip .entry-header h1,
body.single-trip .wpte-trip-title,
body.single-trip .wp-travel-engine-header h1{
  max-width:920px!important;margin:20px 0 10px!important;color:var(--eco-trip-green-dark)!important;font-size:clamp(31px,4vw,48px)!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-1.4px!important;
}
body.single-trip .average-rating{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 14px!important}
body.single-trip .average-rating .tmp-rating-text{color:#756d65!important;font-size:13px!important;font-weight:750!important}

/* Real WP-managed quick facts injected after the header. */
.eco-trip-quick-facts{display:flex;flex-wrap:wrap;gap:8px 12px;margin:8px 0 22px;padding:0;max-width:980px}
.eco-trip-quick-fact{display:flex;align-items:center;gap:9px;min-width:175px;padding:10px 13px;border:1px solid #e9e2db;border-radius:12px;background:#fff;color:var(--eco-trip-ink);box-shadow:0 4px 14px rgba(14,45,37,.035)}
.eco-trip-quick-fact__icon{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:9px;background:#eef7f4;color:var(--eco-trip-green)}
.eco-trip-quick-fact__icon svg{width:16px;height:16px;fill:currentColor}
.eco-trip-quick-fact small{display:block;margin-bottom:1px;color:#8b837b;font-size:10px;line-height:1.2;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.eco-trip-quick-fact strong{display:block;color:#2b2622;font-size:13px;line-height:1.25;font-weight:850}

/* Gallery: large, visual, but not an endless full-screen billboard. */
body.single-trip .wpte-gallery-wrapper{width:min(1220px,calc(100% - 40px))!important;max-width:1220px!important;margin:0 auto 28px!important;overflow:hidden!important;border-radius:20px!important;background:#eee!important;box-shadow:0 10px 30px rgba(16,41,34,.08)!important}
body.single-trip .wpte-gallery-wrapper img{object-fit:cover!important}
body.single-trip .wpte-gallery-wrapper.banner-layout-1,
body.single-trip .wpte-gallery-wrapper.banner-layout-default{max-height:590px!important}
body.single-trip .wpte-gallery-wrapper button,
body.single-trip .wpte-gallery-wrapper a[class*="gallery"]{font-family:'DM Sans',system-ui,sans-serif!important}

/* Confidence strip: BestPrice-like reassurance, simplified and factual. */
.eco-trip-confidence{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0 0 18px!important;overflow:hidden;border:1px solid #e7dfd7;border-radius:15px;background:linear-gradient(135deg,#fff 0%,#fffaf6 100%)}
.eco-trip-confidence__item{display:flex;align-items:center;gap:10px;padding:13px 15px;border-right:1px solid #ece5de}
.eco-trip-confidence__item:last-child{border-right:0}
.eco-trip-confidence__check{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:50%;background:#eaf6f1;color:var(--eco-trip-green);font-size:14px;font-weight:950}
.eco-trip-confidence__item strong{display:block;color:var(--eco-trip-green-dark);font-size:12px;line-height:1.3;font-weight:900}
.eco-trip-confidence__item small{display:block;margin-top:2px;color:#81786f;font-size:10.5px;line-height:1.35;font-weight:600}

/* Content + booking column. */
body.single-trip .main-content-wrapper .trip-content-area .row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(310px,350px)!important;gap:34px!important;align-items:start!important}
body.single-trip .trip-content-area #primary,
body.single-trip .trip-content-area .content-area{width:auto!important;max-width:none!important;min-width:0!important;float:none!important;padding:0!important;margin:0!important}
body.single-trip .trip-content-area #secondary,
body.single-trip .trip-content-area .widget-area{width:auto!important;max-width:none!important;min-width:0!important;float:none!important;margin:0!important;padding:0!important}

/* Sticky tour navigation. */
body.single-trip .wpte-tabs-sticky,
body.single-trip .wpte-trip-tabs,
body.single-trip .trip-tabs{
  border:1px solid var(--eco-trip-line)!important;border-radius:14px!important;background:rgba(255,255,255,.98)!important;box-shadow:0 8px 24px rgba(13,54,44,.06)!important;
}
body.single-trip .wpte-tabs-sticky.fixed-header{top:74px!important;z-index:999!important;border-radius:0 0 14px 14px!important}
body.single-trip .wpte-tabs-sticky ul,
body.single-trip .wpte-trip-tabs ul,
body.single-trip .trip-tabs ul{display:flex!important;gap:3px!important;overflow-x:auto!important;scrollbar-width:none!important;padding:5px!important;margin:0!important;white-space:nowrap!important}
body.single-trip .wpte-tabs-sticky ul::-webkit-scrollbar,
body.single-trip .wpte-trip-tabs ul::-webkit-scrollbar{display:none}
body.single-trip .wte-tab-title{margin:0!important;padding:0!important;border:0!important}
body.single-trip .wte-tab-title a,
body.single-trip .wpte-tabs-sticky a{display:flex!important;align-items:center!important;min-height:42px!important;padding:0 14px!important;border-radius:9px!important;color:#514a44!important;font:800 13px/1.2 'DM Sans',sans-serif!important;text-decoration:none!important;transition:.15s ease!important}
body.single-trip .wte-tab-title.active a,
body.single-trip .wte-tab-title a:hover,
body.single-trip .wpte-tabs-sticky a:hover{background:#fff0f1!important;color:var(--eco-trip-red)!important}

/* Main tab/card presentation. */
body.single-trip .trip-content-area #primary .tab-content,
body.single-trip .trip-content-area #primary .wpte-tab-content,
body.single-trip .trip-content-area #primary .wp-travel-engine-tab-content,
body.single-trip .trip-content-area #primary .trip-content{
  color:#4d4741!important;font-size:15px!important;line-height:1.72!important;
}
body.single-trip .trip-content-area #primary h2{margin:34px 0 14px!important;color:var(--eco-trip-green-dark)!important;font-size:clamp(24px,2.6vw,32px)!important;line-height:1.18!important;font-weight:900!important;letter-spacing:-.65px!important}
body.single-trip .trip-content-area #primary h3{margin:25px 0 10px!important;color:#29231f!important;font-size:20px!important;line-height:1.25!important;font-weight:850!important}
body.single-trip .trip-content-area #primary p{color:#554e48!important;line-height:1.75!important}
body.single-trip .trip-content-area #primary a{color:var(--eco-trip-green)}
body.single-trip .trip-content-area #primary img{border-radius:14px}
body.single-trip .trip-content-area #primary table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--eco-trip-line);border-radius:13px;background:#fff}
body.single-trip .trip-content-area #primary th{background:#f3f8f6;color:var(--eco-trip-green-dark);font-weight:850}
body.single-trip .trip-content-area #primary th,body.single-trip .trip-content-area #primary td{padding:12px 13px;border-color:#ece5de}

/* Itinerary / FAQ accordion styling across old + current WTE markup. */
body.single-trip .itinerary-row,
body.single-trip .itinerary-content,
body.single-trip .wpte-itinerary-content,
body.single-trip .faq-row,
body.single-trip .wpte-faq-content{border-color:#e5ded6!important}
body.single-trip [class*="itinerary"] button,
body.single-trip [class*="faq"] button{font-family:'DM Sans',system-ui,sans-serif!important}
body.single-trip .itinerary-row h3,
body.single-trip .wpte-itinerary-title,
body.single-trip .faq-row .accordion-tabs-toggle{font-weight:850!important}

/* Booking sidebar: conversion focal point. */
body.single-trip #secondary .widget,
body.single-trip #secondary .wpte-bf-outer,
body.single-trip #secondary .wpte-booking-area{
  border:1px solid #e2dad2!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--eco-trip-shadow)!important;
}
body.single-trip #secondary .widget{padding:18px!important}
body.single-trip #secondary .widget.wpte-bf-outer,
body.single-trip #secondary .wpte-booking-area{overflow:hidden!important;padding:18px!important}
body.single-trip.sticky-bookingform #secondary,
body.single-trip #secondary .is-sticky{--top:92px!important}
body.single-trip #secondary .category-trip-prc-title-wrap h2,
body.single-trip #secondary .wpte-bf-price-wrap,
body.single-trip #secondary [class*="price"]{font-family:'DM Sans',system-ui,sans-serif!important}
body.single-trip #secondary .wpte-bf-price-wrap strong,
body.single-trip #secondary .actual-price,
body.single-trip #secondary .trip-price .price-holder{color:var(--eco-trip-red)!important;font-weight:950!important}
body.single-trip .wpte-booking-inner-wrapper .wpte-bf-btn-wrap button,
body.single-trip #secondary .wpte-booking-area button[type="submit"],
body.single-trip #secondary button.wpte-book-now-btn{
  width:100%!important;min-height:48px!important;border:1px solid var(--eco-trip-red)!important;border-radius:11px!important;background:var(--eco-trip-red)!important;color:#fff!important;font:900 14px/1.2 'DM Sans',sans-serif!important;box-shadow:0 8px 20px rgba(237,28,36,.18)!important;transition:.15s ease!important;
}
body.single-trip .wpte-booking-inner-wrapper .wpte-bf-btn-wrap button:hover,
body.single-trip #secondary .wpte-booking-area button[type="submit"]:hover{background:var(--eco-trip-red-dark)!important;border-color:var(--eco-trip-red-dark)!important;transform:translateY(-1px)}
body.single-trip #secondary input,
body.single-trip #secondary select,
body.single-trip #secondary textarea{font-family:'DM Sans',system-ui,sans-serif!important;border-radius:9px!important;border-color:#dcd5cd!important}
body.single-trip #secondary input:focus,
body.single-trip #secondary select:focus,
body.single-trip #secondary textarea:focus{border-color:var(--eco-trip-green)!important;box-shadow:0 0 0 3px rgba(13,74,61,.08)!important}
body.single-trip .eco-trip-booking-pulse{animation:ecoTripPulse 1.3s ease}
@keyframes ecoTripPulse{0%,100%{box-shadow:var(--eco-trip-shadow)}35%{box-shadow:0 0 0 5px rgba(237,28,36,.14),0 14px 40px rgba(17,42,35,.08)}}

/* Included/excluded lists become scannable, not wall-of-text. */
body.single-trip .trip-content-area #primary ul{padding-left:22px}
body.single-trip .trip-content-area #primary li{margin-bottom:7px;line-height:1.58}
body.single-trip .trip-content-area #primary blockquote{margin:20px 0;padding:17px 19px;border-left:4px solid var(--eco-trip-green);border-radius:0 12px 12px 0;background:#f2f8f5;color:#4a443e}

/* Related trips use the same visual language as the archive. */
body.single-trip .wte-related-trips-wrapper{margin-top:55px!important;padding-top:38px!important;border-top:1px solid var(--eco-trip-line)!important}
body.single-trip .wte-related-trips-wrapper>h2,
body.single-trip .wte-related-trips-wrapper .section-title{color:var(--eco-trip-green-dark)!important;font-size:30px!important;font-weight:900!important;letter-spacing:-.7px!important}
body.single-trip .wte-related-trips .category-trips-single,
body.single-trip .wte-related-trips-wrapper .category-trips-single{overflow:hidden!important;border:1px solid var(--eco-trip-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:0 8px 25px rgba(18,46,38,.06)!important}
body.single-trip .wte-related-trips img{object-fit:cover!important}

/* Mobile booking bar — one dominant action, one secondary question route. */
.eco-trip-mobile-bar{display:none}

@media(max-width:1024px){
  body.single-trip .main-content-wrapper .trip-content-area .row{grid-template-columns:minmax(0,1fr) 300px!important;gap:22px!important}
  body.single-trip .container{width:min(100% - 30px,1220px)}
  body.single-trip .wpte-gallery-wrapper{width:min(100% - 30px,1220px)!important;border-radius:16px!important}
}
@media(max-width:820px){
  body.single-trip{padding-bottom:76px!important}
  body.single-trip .container{width:min(100% - 26px,1220px)}
  body.single-trip .main-content-wrapper{padding-top:18px!important;padding-bottom:46px!important}
  body.single-trip .main-content-wrapper .trip-content-area .row{display:block!important}
  body.single-trip .trip-content-area #secondary{margin-top:26px!important}
  body.single-trip .wpte-gallery-wrapper{width:min(100% - 26px,1220px)!important;margin-bottom:20px!important;border-radius:14px!important;max-height:none!important}
  body.single-trip h1.entry-title,body.single-trip .entry-header h1,body.single-trip .wpte-trip-title,body.single-trip .wp-travel-engine-header h1{font-size:32px!important;letter-spacing:-.9px!important;margin-top:16px!important}
  .eco-trip-quick-facts{gap:8px;margin-bottom:16px}
  .eco-trip-quick-fact{flex:1 1 calc(50% - 8px);min-width:145px;padding:9px 10px}
  .eco-trip-confidence{grid-template-columns:1fr;margin-bottom:13px!important}
  .eco-trip-confidence__item{border-right:0;border-bottom:1px solid #ece5de;padding:10px 12px}.eco-trip-confidence__item:last-child{border-bottom:0}
  body.single-trip .wpte-tabs-sticky.fixed-header{top:62px!important}
  body.single-trip .wte-tab-title a,body.single-trip .wpte-tabs-sticky a{min-height:39px!important;padding:0 12px!important;font-size:12px!important}
  body.single-trip #secondary .widget,body.single-trip #secondary .wpte-bf-outer,body.single-trip #secondary .wpte-booking-area{box-shadow:0 8px 26px rgba(17,42,35,.06)!important}
  .eco-trip-mobile-bar{position:fixed;right:0;bottom:0;left:0;z-index:10050;display:grid;grid-template-columns:minmax(90px,.7fr) auto minmax(145px,1fr);gap:7px;align-items:center;padding:9px max(10px,env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:1px solid #ddd5cd;background:rgba(255,255,255,.97);box-shadow:0 -8px 30px rgba(7,46,38,.12);backdrop-filter:blur(12px)}
  .eco-trip-mobile-bar__price{min-width:0}.eco-trip-mobile-bar__price small{display:block;color:#867e76;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.5px}.eco-trip-mobile-bar__price strong{display:block;overflow:hidden;color:var(--eco-trip-red);font-size:16px;line-height:1.1;font-weight:950;white-space:nowrap;text-overflow:ellipsis}
  .eco-trip-mobile-bar__ask{display:grid;min-height:43px;place-items:center;padding:0 12px;border:1px solid #cfc6bd;border-radius:10px;background:#fff;color:var(--eco-trip-green)!important;font-size:12px;font-weight:850;text-decoration:none!important}
  .eco-trip-mobile-bar__book{min-height:43px;padding:0 12px;border:1px solid var(--eco-trip-red);border-radius:10px;background:var(--eco-trip-red);color:#fff;font:900 12px/1.15 'DM Sans',sans-serif;box-shadow:0 6px 17px rgba(237,28,36,.18)}
}
@media(max-width:480px){
  .eco-trip-mobile-bar{grid-template-columns:80px 62px minmax(128px,1fr);gap:6px}
  .eco-trip-mobile-bar__book{padding-inline:9px;font-size:11.5px}
  .eco-trip-mobile-bar__ask{padding-inline:8px}
  .eco-trip-quick-fact{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){
  body.single-trip *,body.single-trip *::before,body.single-trip *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* ============================================================
   ECOSAPA SINGLE TRIP — v1.7.0 / WP Travel Engine 6.8.5
   Deterministic five-image gallery: 1 large + 4 small.
   ============================================================ */
body.single-trip #wte-crumbs{
  width:min(1220px,calc(100% - 40px));
  max-width:1220px;
  margin:20px auto 0;
  color:#7b746c;
  font-size:12px;
  font-weight:700;
}
body.single-trip #wte-crumbs a{color:var(--eco-trip-green)!important;text-decoration:none!important}
body.single-trip .eco-trip-entry-header{
  width:min(1220px,calc(100% - 40px));
  max-width:1220px;
  margin:18px auto 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.single-trip .eco-trip-entry-header__eyebrow{
  margin:0 0 8px!important;
  color:var(--eco-trip-red)!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:1.15px!important;
  text-transform:uppercase;
}
body.single-trip .eco-trip-entry-header h1.entry-title{
  margin:0 0 12px!important;
}

.eco-trip-gallery{
  position:relative;
  width:min(1220px,calc(100% - 40px));
  max-width:1220px;
  margin:0 auto 30px;
  font-family:'DM Sans',system-ui,sans-serif;
}
.eco-trip-gallery__grid{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);
  gap:8px;
  height:clamp(400px,38vw,520px);
  overflow:hidden;
  border-radius:20px;
  background:#e9ece9;
  box-shadow:0 12px 34px rgba(11,49,40,.10);
}
.eco-trip-gallery__side{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:8px;
  min-width:0;
  min-height:0;
}
.eco-trip-gallery__item{
  position:relative;
  display:block;
  min-width:0;
  min-height:0;
  width:100%;
  height:100%;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#e5e9e6!important;
  overflow:hidden;
  cursor:zoom-in;
  box-shadow:none!important;
}
.eco-trip-gallery__item::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0);
  transition:background .18s ease;
  pointer-events:none;
}
.eco-trip-gallery__item:hover::after{background:rgba(4,35,29,.08)}
.eco-trip-gallery__img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  border-radius:0!important;
  object-fit:cover!important;
  object-position:center;
  transform:scale(1.001);
  transition:transform .28s ease;
}
.eco-trip-gallery__item:hover .eco-trip-gallery__img{transform:scale(1.025)}
.eco-trip-gallery__all{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:0 13px!important;
  border:1px solid rgba(0,0,0,.16)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.95)!important;
  color:#251f1b!important;
  box-shadow:0 5px 18px rgba(0,0,0,.14)!important;
  font:800 12px/1 'DM Sans',sans-serif!important;
  backdrop-filter:blur(10px);
  cursor:pointer;
}
.eco-trip-gallery__all:hover{background:#fff!important;transform:translateY(-1px)}
.eco-trip-gallery__all svg{width:15px;height:15px;fill:currentColor}
.eco-trip-gallery__video{position:absolute;left:14px;bottom:14px;z-index:3}
.eco-trip-gallery__video a,.eco-trip-gallery__video button{
  display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:0 13px!important;
  border:1px solid rgba(0,0,0,.16)!important;border-radius:9px!important;background:rgba(255,255,255,.95)!important;
  color:#251f1b!important;font:800 12px/1 'DM Sans',sans-serif!important;text-decoration:none!important;
}

/* Graceful layouts when a Trip has fewer than five images. */
.eco-trip-gallery--1 .eco-trip-gallery__grid{grid-template-columns:1fr}
.eco-trip-gallery--2 .eco-trip-gallery__side{grid-template-columns:1fr;grid-template-rows:1fr}
.eco-trip-gallery--3 .eco-trip-gallery__side{grid-template-columns:1fr;grid-template-rows:repeat(2,1fr)}
.eco-trip-gallery--4 .eco-trip-gallery__side{grid-template-columns:1fr;grid-template-rows:repeat(3,1fr)}

/* Lightbox independent of WTE banner-layout settings. */
.eco-trip-lightbox[hidden]{display:none!important}
.eco-trip-lightbox{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  padding:28px;
}
.eco-trip-lightbox__backdrop{position:absolute;inset:0;background:rgba(4,15,13,.94);backdrop-filter:blur(8px)}
.eco-trip-lightbox__stage{
  position:relative;
  z-index:1;
  width:min(1180px,100%);
  height:min(86vh,820px);
  display:grid;
  place-items:center;
}
.eco-trip-lightbox__figure{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;width:100%;height:100%;margin:0;place-items:center}
.eco-trip-lightbox__figure img{display:block;max-width:100%;max-height:calc(86vh - 48px);width:auto!important;height:auto!important;object-fit:contain!important;border-radius:10px!important;box-shadow:0 20px 70px rgba(0,0,0,.35)}
.eco-trip-lightbox__figure figcaption{display:flex;gap:14px;align-items:center;justify-content:center;color:#fff;font-size:12px;font-weight:700;text-align:center}
.eco-trip-lightbox__figure figcaption small{color:rgba(255,255,255,.7);font-size:11px}
.eco-trip-lightbox__close,
.eco-trip-lightbox__nav{
  position:absolute;
  z-index:4;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(255,255,255,.18)!important;
  background:rgba(16,26,23,.58)!important;
  color:#fff!important;
  box-shadow:none!important;
  cursor:pointer;
}
.eco-trip-lightbox__close{top:0;right:0;width:44px;height:44px;padding:0!important;border-radius:50%!important;font:400 31px/1 Arial,sans-serif!important}
.eco-trip-lightbox__nav{top:50%;width:48px;height:56px;padding:0!important;border-radius:12px!important;transform:translateY(-50%);font:300 40px/1 Arial,sans-serif!important}
.eco-trip-lightbox__nav--prev{left:0}.eco-trip-lightbox__nav--next{right:0}
.eco-trip-lightbox__close:hover,.eco-trip-lightbox__nav:hover{background:rgba(255,255,255,.16)!important}
body.eco-trip-lightbox-open{overflow:hidden!important}

/* WTE 6.8.5 tabs: highlight the actual active anchor class. */
body.single-trip .nav-tab-wrapper .nav-tab.nav-tab-active{
  background:#fff0f1!important;
  color:var(--eco-trip-red)!important;
  box-shadow:inset 0 0 0 1px rgba(237,28,36,.08)!important;
}
body.single-trip .wpte-tabs-container .nav-tab-wrapper{
  border-bottom:0!important;
  padding:5px!important;
}
body.single-trip .wpte-tabs-container .tab-inner-wrapper{
  gap:2px!important;
}

/* Desktop booking card tuned to the 6.8.5 markup. */
@media(min-width:821px){
  body.single-trip #secondary .wpte-booking-area,
  body.single-trip #secondary .wpte-bf-outer{
    position:sticky!important;
    top:92px!important;
  }
}

@media(max-width:1024px){
  body.single-trip #wte-crumbs,
  body.single-trip .eco-trip-entry-header,
  .eco-trip-gallery{width:min(100% - 30px,1220px)}
  .eco-trip-gallery__grid{height:clamp(360px,43vw,470px)}
}

@media(max-width:820px){
  body.single-trip #wte-crumbs,
  body.single-trip .eco-trip-entry-header,
  .eco-trip-gallery{width:min(100% - 26px,1220px)}
  body.single-trip .eco-trip-entry-header{margin-top:14px!important;margin-bottom:14px!important}
  body.single-trip .eco-trip-entry-header__eyebrow{font-size:11px!important}
  .eco-trip-gallery{margin-bottom:20px}
  .eco-trip-gallery__grid{
    display:flex;
    gap:8px;
    height:auto;
    overflow-x:auto;
    overflow-y:hidden;
    border-radius:14px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    box-shadow:0 8px 24px rgba(11,49,40,.08);
    background:#fff;
  }
  .eco-trip-gallery__grid::-webkit-scrollbar{display:none}
  .eco-trip-gallery__side{display:contents}
  .eco-trip-gallery__item,
  .eco-trip-gallery__item--main,
  .eco-trip-gallery__item--small{
    flex:0 0 88%;
    width:88%;
    height:clamp(245px,66vw,390px);
    scroll-snap-align:center;
    border-radius:14px!important;
  }
  .eco-trip-gallery__all{right:10px;bottom:10px;min-height:36px;padding-inline:11px!important;font-size:11px!important}
  .eco-trip-gallery__video{left:10px;bottom:10px}
  .eco-trip-lightbox{padding:14px}
  .eco-trip-lightbox__stage{height:86vh}
  .eco-trip-lightbox__nav{width:42px;height:48px;font-size:34px!important}
  .eco-trip-lightbox__nav--prev{left:2px}.eco-trip-lightbox__nav--next{right:2px}
  .eco-trip-lightbox__close{top:2px;right:2px;width:40px;height:40px;font-size:28px!important}
  .eco-trip-lightbox__figure figcaption{padding:0 48px;flex-direction:column;gap:3px}
}

@media(max-width:480px){
  .eco-trip-gallery__item,
  .eco-trip-gallery__item--main,
  .eco-trip-gallery__item--small{flex-basis:92%;width:92%;height:clamp(225px,68vw,330px)}
  .eco-trip-gallery__all{max-width:72%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* ============================================================
   ECOSAPA SINGLE TRIP — v1.7.2 layout correction
   Align WTE's uncontained single-trip wrapper with the gallery and
   keep the booking card compact instead of stretching across viewport.
   ============================================================ */
body.single-trip #wp-travel-trip-wrapper.trip-content-area{
  width:min(1220px,calc(100% - 40px))!important;
  max-width:1220px!important;
  margin:0 auto 64px!important;
  padding:0!important;
}
body.single-trip #wp-travel-trip-wrapper.trip-content-area>.row{
  display:grid!important;
  grid-template-columns:minmax(0,820px) minmax(320px,360px)!important;
  justify-content:space-between!important;
  gap:40px!important;
  align-items:start!important;
  width:100%!important;
  margin:0!important;
}
body.single-trip #wp-travel-trip-wrapper #primary,
body.single-trip #wp-travel-trip-wrapper #secondary{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
}

/* Reassurance belongs to the same visual axis as the gallery, not viewport edge. */
body.single-trip .eco-trip-confidence{
  width:min(1220px,calc(100% - 40px))!important;
  max-width:1220px!important;
  margin:0 auto 28px!important;
  border-radius:14px!important;
  box-shadow:0 6px 22px rgba(17,42,35,.04)!important;
}

/* Slightly calmer 5-photo composition for desktop product pages. */
body.single-trip .eco-trip-gallery{margin-bottom:22px!important}
body.single-trip .eco-trip-gallery__grid{
  grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)!important;
  height:clamp(390px,33vw,470px)!important;
  gap:7px!important;
  border-radius:18px!important;
  box-shadow:0 8px 26px rgba(11,49,40,.08)!important;
}
body.single-trip .eco-trip-gallery__side{gap:7px!important}

/* Tabs read as one deliberate navigation bar instead of isolated tiny pills. */
body.single-trip #tabs-container.wpte-tabs-container{
  width:100%!important;
  margin:0 0 24px!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid #e6dfd7!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(13,54,44,.045)!important;
}
body.single-trip #tabs-container .nav-tab-wrapper{
  margin:0!important;
  padding:5px!important;
  border:0!important;
  background:#fff!important;
}
body.single-trip #tabs-container .tab-inner-wrapper{
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  overflow-x:auto!important;
  white-space:nowrap!important;
}
body.single-trip #tabs-container .wte-tab-title a{
  min-height:42px!important;
  padding:0 14px!important;
  border-radius:8px!important;
}
body.single-trip #tabs-container .wte-tab-title a.nav-tab-active,
body.single-trip #tabs-container .wte-tab-title.active a{
  background:#fff0f1!important;
  color:#ed1c24!important;
}

/* Clean, compact conversion card. */
body.single-trip #secondary .wpte-bf-outer{
  position:sticky!important;
  top:92px!important;
  overflow:hidden!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e3ddd6!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 14px 40px rgba(17,42,35,.08)!important;
}
body.single-trip #secondary .wpte-bf-outer .wpte-booking-area{
  margin:0!important;
  padding:22px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.single-trip #secondary .wpte-bf-price-wrap{
  margin:0 0 16px!important;
  padding:0 0 16px!important;
  border-bottom:1px solid #eee7e0!important;
}
body.single-trip #secondary .wpte-bf-price-wrap .category-trip-prc-title-wrap{
  margin:0 0 10px!important;
}
body.single-trip #secondary .wpte-bf-price-wrap .category-trip-prc-title-wrap h2{
  margin:0!important;
  color:#756d65!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:700!important;
}
body.single-trip #secondary .wpte-bf-price-wrap .actual-price,
body.single-trip #secondary .wpte-bf-price-wrap .wpte-price,
body.single-trip #secondary .wpte-bf-price-wrap .price-holder{
  color:#211d19!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:950!important;
  letter-spacing:-.4px!important;
}
body.single-trip #secondary .wpte-bf-price-wrap .wpte-currency-code{
  color:inherit!important;
  font:inherit!important;
}
body.single-trip #secondary .wpte-bf-price-wrap del,
body.single-trip #secondary .wpte-bf-price-wrap strike,
body.single-trip #secondary .wpte-bf-price-wrap .striked-price{
  color:#9a9188!important;
  font-size:13px!important;
  font-weight:650!important;
}
body.single-trip #secondary .eco-quick-booking-widget-cta{
  margin:4px 0 0!important;
}
body.single-trip #secondary .eco-quick-booking-widget-cta__button{
  min-height:52px!important;
  border-radius:11px!important;
  font-size:14px!important;
}
body.single-trip #secondary .wpte-booking-footer-text{
  margin-top:14px!important;
  padding-top:13px!important;
  border-top:1px solid #eee7e0!important;
  color:#817971!important;
  font-size:11px!important;
  line-height:1.45!important;
}

/* Keep the content calm and card-like without boxing every paragraph. */
body.single-trip #primary .tab-content,
body.single-trip #primary .wpte-tab-content{
  padding:0!important;
  background:transparent!important;
}
body.single-trip #primary .nb-configurations{
  padding:0!important;
}

@media(max-width:1024px){
  body.single-trip #wp-travel-trip-wrapper.trip-content-area,
  body.single-trip .eco-trip-confidence{width:min(100% - 30px,1220px)!important}
  body.single-trip #wp-travel-trip-wrapper.trip-content-area>.row{
    grid-template-columns:minmax(0,1fr) 310px!important;
    gap:24px!important;
  }
  body.single-trip .eco-trip-gallery__grid{height:clamp(350px,40vw,440px)!important}
}
@media(max-width:820px){
  body.single-trip #wp-travel-trip-wrapper.trip-content-area,
  body.single-trip .eco-trip-confidence{width:min(100% - 26px,1220px)!important}
  body.single-trip #wp-travel-trip-wrapper.trip-content-area>.row{display:block!important}
  body.single-trip #secondary{margin-top:24px!important}
  body.single-trip #secondary .wpte-bf-outer{position:static!important}
  body.single-trip .eco-trip-confidence{grid-template-columns:1fr!important;margin-bottom:18px!important}
  body.single-trip .eco-trip-gallery__grid{height:auto!important}
}

/* v1.7.3 — single-tour breadcrumb */
.eco-trip-breadcrumb {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #6f7773;
}
.eco-trip-breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.eco-trip-breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}
.eco-trip-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 7px;
  color: #a2aaa6;
  font-weight: 700;
}
.eco-trip-breadcrumb a {
  color: #59645f;
  text-decoration: none;
  font-weight: 650;
}
.eco-trip-breadcrumb a:hover,
.eco-trip-breadcrumb a:focus-visible {
  color: #ed1c24;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.eco-trip-breadcrumb [aria-current="page"] span {
  display: inline-block;
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8b918e;
}
@media (max-width: 767px) {
  .eco-trip-breadcrumb { font-size: 12px; margin-bottom: 10px; }
  .eco-trip-breadcrumb [aria-current="page"] { display: none; }
  .eco-trip-breadcrumb li:nth-last-child(2)::after { display: none; }
}
