/* Wandering Trips – front end */
.wt {
	--wt-green: #1F3A33;
	--wt-green-2: #2E5248;
	--wt-cream: #F4F1EA;
	--wt-sand: #E9E3D6;
	--wt-lilac: #C9A5CC;
	--wt-plum: #5E3A63;
	--wt-gold: #F6C445;
	--wt-ink: #1E2A26;
	--wt-muted: #4A5752;
	--wt-line: #DCD5C7;
	--wt-ok: #2F6B4F;
	--wt-bad: #9B2C2C;
	--wt-radius: 16px;
	font-family: 'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: var(--wt-ink);
	font-size: 17px;
	line-height: 1.6;
	box-sizing: border-box;
}
.wt *, .wt *::before, .wt *::after { box-sizing: border-box; }
.wt [hidden] { display: none !important; }
.wt h1, .wt h2, .wt h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; color: var(--wt-ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: 0; text-transform: none; }
.wt h2 { font-size: clamp(28px, 3.2vw, 38px); }
.wt h3 { font-size: 22px; }
.wt a { color: var(--wt-plum); }
.wt img { max-width: 100%; height: auto; display: block; }
body.wt-active, body.wt-front { overflow-x: clip; }

.wt-eyebrow { margin: 0 0 8px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--wt-plum); }
.wt-eyebrow--light { color: var(--wt-lilac); }
.wt-muted, .wt-small { color: var(--wt-muted); }
.wt-small { font-size: 14px; }

/* Buttons */
.wt .wt-btn, .wt button.wt-btn, .wt a.wt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px !important; background: var(--wt-green) !important; color: var(--wt-cream) !important; font: 700 16px/1.2 'Karla', system-ui, sans-serif !important; text-decoration: none !important; cursor: pointer; transition: background .15s, transform .15s; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none; border: 0 !important; border-radius: 999px !important; }
.wt .wt-btn.wt-btn:hover { background: var(--wt-green-2) !important; color: #fff !important; }
.wt .wt-btn:focus-visible, .wt input:focus-visible, .wt select:focus-visible, .wt textarea:focus-visible, .wt summary:focus-visible { outline: 3px solid var(--wt-gold); outline-offset: 2px; }
.wt .wt-btn.wt-btn--accent { background: var(--wt-lilac) !important; color: var(--wt-green) !important; }
.wt .wt-btn.wt-btn--accent:hover { background: #d8bcdb !important; color: var(--wt-green) !important; }
.wt .wt-btn.wt-btn--ghost { background: transparent !important; color: var(--wt-green) !important; box-shadow: inset 0 0 0 1.5px var(--wt-green) !important; }
.wt .wt-btn.wt-btn--ghost:hover { background: var(--wt-green) !important; color: var(--wt-cream) !important; }
.wt .wt-btn.wt-btn--small { min-height: 44px; padding: 10px 18px !important; font-size: 15px !important; }
.wt .wt-btn.wt-btn--block { width: 100%; }
.wt .wt-link, .wt button.wt-link { background: none !important; border: 0 !important; color: var(--wt-plum) !important; box-shadow: none !important; padding: 4px 0; color: var(--wt-plum); font: 700 15px 'Karla', sans-serif; cursor: pointer; text-decoration: underline; min-height: 44px; }

/* Preview bar */
.wt-preview-bar { background: var(--wt-gold); color: var(--wt-ink); padding: 10px 16px; font-size: 15px; font-weight: 700; text-align: center; }

/* Hero */
.wt-trip { background: var(--wt-cream); }
.wt-trip, .wt-archive, .wt-front-content { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wt-hero { position: relative; background: var(--wt-green) center / cover no-repeat; color: #fff; }
.wt-hero::before { content: ''; position: absolute; inset: 0; background: rgba(20, 38, 33, .58); }
.wt-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(80px, 12vw, 150px) 24px clamp(48px, 7vw, 80px); }
.wt .wt-hero__title { color: #fff; font-size: clamp(36px, 5.5vw, 64px); max-width: 900px; }
.wt-hero__meta { font-size: 18px; margin: 0 0 24px; color: #E9EEEA; }
.wt-hero__price { margin-left: 14px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.4); }
.wt-hero__price strong { font-size: 22px; color: #fff; }

/* Facts */
.wt-facts { max-width: 1200px; margin: -36px auto 0; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--wt-line); border-radius: var(--wt-radius); overflow: hidden; box-shadow: 0 8px 28px rgba(31,58,51,.10); }
.wt-fact { background: #fff; padding: 18px 22px; display: flex; flex-direction: column; gap: 2px; }
.wt-fact span { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--wt-muted); font-weight: 700; }
.wt-fact strong { font-size: 17px; }

/* Sub navigation */
.wt-subnav { position: sticky; top: 0; z-index: 20; max-width: 1200px; margin: 28px auto 0; padding: 0 24px; display: flex; gap: 6px; overflow-x: auto; background: var(--wt-cream); scrollbar-width: none; }
.wt-subnav a { flex: 0 0 auto; padding: 14px 14px; color: var(--wt-ink); text-decoration: none; font-weight: 700; font-size: 15px; border-bottom: 3px solid transparent; }
.wt-subnav a:hover, .wt-subnav a.is-on { border-color: var(--wt-plum); color: var(--wt-plum); }

/* Layout */
.wt-layout { max-width: 1200px; margin: 0 auto; padding: 24px 24px 80px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.wt-section { padding: 36px 0; border-bottom: 1px solid var(--wt-line); scroll-margin-top: 70px; }
.wt-section:last-child { border-bottom: 0; }
.wt-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.wt-prose > :first-child { margin-top: 0; }
.wt-prose p, .wt-prose ul, .wt-prose ol { margin: 0 0 1em; }
.wt-prose ul { padding-left: 1.2em; }

/* Itinerary */
.wt-itinerary { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--wt-lilac); }
.wt-itinerary > li { margin: 0 0 12px; padding-left: 22px; position: relative; }
.wt-itinerary > li::before { content: ''; position: absolute; left: -8px; top: 20px; width: 14px; height: 14px; border-radius: 50%; background: var(--wt-cream); border: 3px solid var(--wt-plum); }
.wt details { background: #fff; border-radius: 12px; border: 1px solid var(--wt-line); }
.wt summary { cursor: pointer; list-style: none; padding: 14px 18px; display: flex; gap: 14px; align-items: baseline; min-height: 48px; font-weight: 700; }
.wt summary::-webkit-details-marker { display: none; }
.wt summary::after { content: '+'; margin-left: auto; font-size: 22px; line-height: 1; color: var(--wt-plum); }
.wt details[open] > summary::after { content: '–'; }
.wt details > .wt-prose { padding: 0 18px 16px; }
.wt-day { flex: 0 0 auto; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--wt-plum); }
.wt-day__title { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 20px; }

/* Included */
.wt-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.wt-list { list-style: none; margin: 0; padding: 0; }
.wt-list li { position: relative; padding: 6px 0 6px 30px; border-bottom: 1px dashed var(--wt-line); }
.wt-list li::before { position: absolute; left: 0; top: 6px; font-weight: 700; }
.wt-list--yes li::before { content: '✓'; color: var(--wt-ok); }
.wt-list--no li::before { content: '✕'; color: var(--wt-bad); }

/* FAQs */
.wt-faqs { display: grid; gap: 10px; }

/* Gallery */
.wt-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.wt-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }

/* Aside price card */
.wt-aside { position: sticky; top: 72px; margin-top: 36px; }
.wt-pricecard { background: #fff; border-radius: var(--wt-radius); padding: 26px; box-shadow: 0 10px 30px rgba(31,58,51,.10); }
.wt-pricecard p { margin: 0; }
.wt-pricecard__from { font-size: 14px; color: var(--wt-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }
.wt-pricecard__price { font-family: 'DM Serif Display', Georgia, serif; font-size: 40px; line-height: 1.1; }
.wt-pricecard__price s { font-family: 'Karla', sans-serif; font-size: 18px; color: var(--wt-muted); margin-right: 6px; }
.wt-pricecard__pp { color: var(--wt-muted); margin-bottom: 14px !important; }
.wt-pricecard__next { font-size: 15px; margin-bottom: 16px !important; }
.wt-pricecard__note { font-size: 14px; color: var(--wt-muted); margin-top: 12px !important; }
.wt-pricecard__contact { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--wt-line); font-weight: 700; }

/* Dates */
.wt-dates { display: grid; gap: 8px; margin: 8px 0 28px; }
.wt-date { display: grid; grid-template-columns: minmax(150px, 1.4fr) 1fr auto auto; gap: 12px 18px; align-items: center; background: #fff; border: 1px solid var(--wt-line); border-radius: 12px; padding: 12px 16px; }
.wt-date.is-off { opacity: .6; }
.wt-dates.is-collapsed .wt-date:nth-child(n+7) { display: none; }
.wt-dates__more { margin: -16px 0 24px; }
.wt-date__when { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.wt-date__seats { color: var(--wt-muted); font-size: 15px; }
.wt-date__price { text-align: right; white-space: nowrap; }
.wt-date__price s { color: var(--wt-muted); font-size: 14px; margin-right: 4px; }
.wt-tag { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--wt-sand); }
.wt-tag--ok { background: #DDEDE4; color: var(--wt-ok); }

/* Form */
.wt-form { background: #fff; border-radius: var(--wt-radius); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--wt-line); }
.wt-fieldset { border: 0; margin: 0 0 18px; padding: 0; min-width: 0; }
.wt-fieldset legend { font-family: 'DM Serif Display', Georgia, serif; font-size: 22px; margin-bottom: 12px; padding: 0; }
.wt-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wt-field--wide { grid-column: span 2; }
.wt-field--half { grid-column: span 2; }
.wt-field--full { grid-column: 1 / -1; }
.wt-field label { font-weight: 700; font-size: 15px; }
.wt-field small, .wt-help { font-weight: 400; color: var(--wt-muted); font-size: 13px; }
.wt input[type=text], .wt input[type=email], .wt input[type=tel], .wt input[type=number], .wt input[type=date], .wt input[type=search], .wt select, .wt textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #B9BFB9; border-radius: 10px; background: #fff; color: var(--wt-ink); font: 16px 'Karla', system-ui, sans-serif; }
.wt textarea { min-height: 96px; resize: vertical; }
.wt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wt-alert { background: #FBE9E9; color: var(--wt-bad); border-radius: 10px; padding: 12px 16px; font-weight: 700; }
.wt-summary { border-top: 1px solid var(--wt-line); padding-top: 18px; display: grid; gap: 12px; }
.wt-coupon label { font-weight: 700; font-size: 15px; }
.wt-coupon__row { display: flex; gap: 8px; margin-top: 6px; max-width: 420px; }
.wt-coupon__msg { margin: 6px 0 0; font-size: 14px; min-height: 1em; }
.wt-coupon__msg.is-ok { color: var(--wt-ok); font-weight: 700; }
.wt-coupon__msg.is-bad { color: var(--wt-bad); }
.wt-totals { margin: 0; background: var(--wt-cream); border-radius: 12px; padding: 14px 18px; }
.wt-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.wt-totals dt { color: var(--wt-muted); }
.wt-totals dd { margin: 0; font-weight: 700; }
.wt-totals__total { border-top: 1px solid var(--wt-line); margin-top: 6px; padding-top: 10px !important; }
.wt-totals__total dt { color: var(--wt-ink); font-weight: 700; }
.wt-totals__total dd { font-size: 22px; }
.wt-check { display: flex; gap: 8px; align-items: flex-start; }
.wt-thanks { background: #fff; border-radius: var(--wt-radius); padding: 28px; border-left: 0; box-shadow: inset 0 0 0 2px var(--wt-ok); }
.wt-thanks h3 { color: var(--wt-ok); }

/* Listing */
.wt-archive { background: var(--wt-cream); }
.wt-archive__head { max-width: 1200px; margin: 0 auto; padding: 64px 24px 8px; }
.wt-archive__head h1 { font-size: clamp(36px, 5vw, 56px); }
.wt-listing { max-width: 1200px; margin: 0 auto; padding: 16px 24px 80px; }
.wt-filters { background: #fff; border-radius: var(--wt-radius); padding: 18px; margin-bottom: 18px; box-shadow: 0 6px 20px rgba(31,58,51,.06); }
.wt-filters__search { margin-bottom: 12px; }
.wt-filters__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.wt-filters__row > label { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--wt-muted); }
.wt-filters__row > label select { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--wt-ink); }
.wt-filters__row > .wt-filters__check { flex-direction: row; align-items: center; gap: 8px; min-height: 48px; text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--wt-ink); flex: 0 0 auto; }
.wt-count { color: var(--wt-muted); margin: 6px 0 14px; }
.wt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.wt-card { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(31,58,51,.06); }
.wt-card__img { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--wt-sand); overflow: hidden; }
.wt .wt-card__img img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none; object-fit: cover; }
.wt-badge { position: absolute; top: 14px; right: 14px; background: var(--wt-plum); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.wt-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.wt .wt-card__title { font-size: 23px; margin: 0; }
.wt .wt-card__title a { color: var(--wt-ink); text-decoration: none; }
.wt .wt-card__title a:hover { color: var(--wt-plum); }
.wt-card__text { margin: 0; font-size: 15px; color: var(--wt-muted); }
.wt-card__meta { margin: 0; font-size: 15px; font-weight: 500; }
.wt-card__foot { margin-top: auto; padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wt-card__price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.wt-card__price span { font-size: 14px; color: var(--wt-muted); }
.wt-card__price strong { font-size: 24px; color: var(--wt-green); }
.wt-card__price s { font-size: 14px; color: var(--wt-muted); }
.wt-empty { background: #fff; border-radius: var(--wt-radius); padding: 40px; text-align: center; }

/* Front page content */
.wt-front-content > .wh-home { width: 100%; }

/* Responsive */
@media (max-width: 960px) {
	.wt-layout { grid-template-columns: 1fr; gap: 0; }
	.wt-aside { position: static; margin-top: 0; order: -1; }
	.wt-facts { margin: -28px 16px 0; }
}
@media (max-width: 640px) {
	.wt { font-size: 16px; }
	.wt-hero__inner, .wt-layout, .wt-listing, .wt-archive__head { padding-left: 16px; padding-right: 16px; }
	.wt-subnav { padding: 0 8px; }
	.wt-hero__price { display: block; margin: 6px 0 0; padding: 0; border: 0; }
	.wt-row { grid-template-columns: 1fr 1fr; }
	.wt-field--wide, .wt-field--half { grid-column: 1 / -1; }
	.wt-date { grid-template-columns: 1fr auto; }
	.wt-date__seats { grid-column: 1; }
	.wt-date__price { grid-row: 1; grid-column: 2; }
	.wt-date__action { grid-column: 2; }
}

/* Route maps inside tour texts */
.wt .leaflet-container { font-family: 'Karla', system-ui, sans-serif; }
.wt .leaflet-tooltip.wt-map-label { background: rgba(255,255,255,.92); border: 0; box-shadow: 0 1px 4px rgba(0,0,0,.25); color: #1E2A26; font-weight: 700; font-size: 12px; padding: 2px 6px; }
.wt .leaflet-tooltip.wt-map-label::before { display: none; }
.wt .leaflet-container img { max-width: none !important; }
