/*
Theme Name: Yuwuyou Travel
Theme URI: https://yuwuyoutravel.com
Description: Custom travel theme for Yuwuyoutravel — private tours across Gansu, Qinghai, Hainan and the Silk Road.
Author: Yuwuyoutravel
Template: astra
Version: 1.3.9
Text Domain: yuwuyou
*/

:root {
  --ink: #14201e;
  --ink-soft: #2b3a37;
  --muted: #6b7a76;
  --line: rgba(20, 32, 30, 0.12);
  --sand: #f6f1e7;
  --sand-deep: #efe7d8;
  --bone: #fbf9f4;
  --clay: #b4562f;
  --clay-dark: #8f4021;
  --gold: #c89b5a;
  --sage: #5b7263;
  --white: #ffffff;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 50px -28px rgba(20, 32, 30, 0.45);
  --wrap: 1200px;
}

body,
body.ast-separate-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  background: var(--bone);
}

body {
  font-family: var(--body);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .display {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

a { color: var(--clay); }
a:hover { color: var(--clay-dark); }

/* ---------- Header ---------- */
.site-header, .ast-primary-header-bar {
  background: rgba(251, 249, 244, 0.94) !important;
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.ast-primary-header-bar { min-height: 76px; }
.ast-site-identity { padding: 14px 0; }
.site-title a, .site-title a:visited {
  font-family: var(--display);
  font-size: 26px !important;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.site-description {
  font-family: var(--body);
  font-size: 10.5px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-top: 5px;
}
.main-header-menu .menu-link, .ast-builder-menu .menu-link {
  font-family: var(--body);
  font-size: 13.5px !important;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  padding: 0 14px !important;
}
.main-header-menu .menu-link:hover { color: var(--clay) !important; }
.main-header-menu > .menu-item > .menu-link::after {
  content: ""; display: block; height: 1px; width: 0; background: var(--clay);
  transition: width .25s ease; margin-top: 4px;
}
.main-header-menu > .menu-item:hover > .menu-link::after { width: 100%; }
.main-header-menu .sub-menu {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  background: #fff;
  overflow: hidden;
}
.main-header-menu .sub-menu .menu-link { padding: 9px 14px !important; border-radius: 6px; font-size: 13px !important; }
.main-header-menu .sub-menu .menu-link:hover { background: var(--sand); }

/* header CTA */
.ywt-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff !important;
  padding: 11px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  text-decoration: none !important; transition: transform .2s, background .2s;
}
.ywt-header-cta:hover { background: var(--clay); transform: translateY(-1px); color:#fff !important; }
.ywt-header-cta svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- Layout helpers ---------- */
.ywt-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ywt-section { padding: 92px 0; }
.ywt-section--tight { padding: 64px 0; }
.ywt-section--sand { background: var(--sand); }
.ywt-section--ink { background: var(--ink); color: rgba(255,255,255,.78); }
.ywt-section--ink h1, .ywt-section--ink h2, .ywt-section--ink h3 { color: #fff; }
.ywt-eyebrow {
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--clay); font-weight: 500; margin: 0 0 14px;
}
.ywt-section--ink .ywt-eyebrow { color: var(--gold); }
.ywt-h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 18px; }
.ywt-lede { font-size: 17px; color: var(--muted); max-width: 640px; line-height: 1.75; }
.ywt-section--ink .ywt-lede { color: rgba(255,255,255,.7); }
.ywt-center { text-align: center; }
.ywt-center .ywt-lede { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.ywt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; text-decoration: none !important;
  font-size: 13.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase;
  transition: all .22s ease; border: 1px solid transparent; cursor: pointer;
}
.ywt-btn--primary { background: var(--clay); color: #fff !important; }
.ywt-btn--primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: 0 14px 30px -16px rgba(180,86,47,.8); }
@keyframes ywt-ghost-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,155,90,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(200,155,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,155,90,0); }
}
.ywt-btn--ghost {
  border-color: var(--gold); color: #ecd29a !important;
  box-shadow: 0 0 18px -2px rgba(200,155,90,.55);
  animation: ywt-ghost-pulse 2.6s ease-out infinite;
}
.ywt-btn--ghost:hover {
  background: var(--gold); border-color: var(--gold); color: #14201e !important;
  animation: none; transform: translateY(-2px);
  box-shadow: 0 12px 28px -12px rgba(200,155,90,.9);
}
.ywt-btn--outline { border-color: var(--ink); color: var(--ink) !important; }
.ywt-btn--outline:hover { background: var(--ink); color: #fff !important; }
.ywt-btn--sm { padding: 11px 22px; font-size: 12px; }

/* ---------- Hero ---------- */
.ywt-hero {
  position: relative; min-height: 74vh; display: flex; align-items: center;
  background: var(--ink); overflow: hidden;
}
.ywt-hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.02);
}
.ywt-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,20,19,.86) 0%, rgba(11,20,19,.55) 46%, rgba(11,20,19,.22) 100%);
}
.ywt-hero__inner { position: relative; z-index: 2; padding: 110px 0 96px; width: 100%; }
.ywt-hero h1 {
  color: #fff; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.06;
  max-width: 780px; margin: 0 0 22px; font-weight: 500;
}
.ywt-hero p {
  color: rgba(255,255,255,.8); font-size: 17.5px; max-width: 560px; margin: 0 0 34px; line-height: 1.75;
}
.ywt-hero__sub {
  font-family: var(--display); color: var(--gold); font-size: 19px; letter-spacing: .12em;
  margin: 0 0 22px; font-weight: 500;
}
.ywt-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ywt-hero__meta {
  position: relative; z-index: 2; display: flex; gap: 40px; flex-wrap: wrap;
  padding: 26px 0 0; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.16);
}
.ywt-hero__meta div { color: rgba(255,255,255,.65); font-size: 12.5px; letter-spacing: .04em; }
.ywt-hero__meta strong {
  display: block; font-family: var(--display); font-size: 26px; color: #fff;
  font-weight: 500; letter-spacing: 0; margin-bottom: 2px;
}

/* ---------- Region cards ---------- */
.ywt-grid { display: grid; gap: 26px; }
.ywt-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ywt-grid--2 { grid-template-columns: repeat(2, 1fr); }

.ywt-card {
  position: relative; display: block; text-decoration: none !important;
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease;
}
.ywt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ywt-card__media {
  aspect-ratio: 4 / 3; background: var(--sand-deep) center/cover no-repeat;
  position: relative;
}
.ywt-card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,19,.55), rgba(11,20,19,0) 55%);
}
.ywt-card__body { padding: 22px 24px 26px; }
.ywt-card__kicker {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 8px;
}
.ywt-card h3 { font-size: 25px; margin: 0 0 8px; }
.ywt-card p { font-size: 14px; color: var(--muted); margin: 0 0 16px; line-height: 1.65; }
.ywt-card__link {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 8px;
}
.ywt-card:hover .ywt-card__link { color: var(--clay); }
.ywt-card__link::after { content: "→"; transition: transform .22s; }
.ywt-card:hover .ywt-card__link::after { transform: translateX(4px); }

/* ---------- Feature strip ---------- */
.ywt-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ywt-feature__num {
  font-family: var(--display); font-size: 34px; color: var(--gold); margin-bottom: 6px;
}
.ywt-feature h3 { font-size: 18px; margin: 0 0 6px; }
.ywt-feature p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.65; }

/* ---------- Board page ---------- */
.ywt-board-hero {
  position: relative; min-height: 58vh; display: flex; align-items: flex-end;
  background: var(--ink) center/cover no-repeat; overflow: hidden;
}
.ywt-board-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,20,19,.92) 6%, rgba(11,20,19,.45) 55%, rgba(11,20,19,.28) 100%);
}
.ywt-board-hero__inner { position: relative; z-index: 2; padding: 90px 0 54px; width: 100%; }
.ywt-breadcrumb { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.ywt-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.ywt-board-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 58px); margin: 0 0 16px; }
.ywt-board-hero p { color: rgba(255,255,255,.82); font-size: 16.5px; max-width: 660px; margin: 0; }

.ywt-prose { max-width: 760px; }
.ywt-prose h2 { font-size: 32px; margin: 48px 0 14px; }
.ywt-prose h3 { font-size: 22px; margin: 32px 0 10px; }
.ywt-prose p { margin: 0 0 18px; color: #3c4a47; }
.ywt-prose ul { padding-left: 20px; margin: 0 0 20px; }
.ywt-prose li { margin-bottom: 8px; color: #3c4a47; }
.ywt-prose blockquote {
  margin: 34px 0; padding: 22px 28px; border-left: 2px solid var(--gold);
  background: var(--sand); border-radius: 0 10px 10px 0;
  font-family: var(--display); font-size: 22px; color: var(--ink); font-style: italic;
}

/* ---------- Collapsible board guide (all devices) ---------- */
.ywt-prose { position: relative; }
.ywt-prose.is-folded { max-height: 200px; overflow: hidden; }
.ywt-prose.is-folded::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
  background: linear-gradient(to bottom, rgba(251,249,244,0), var(--bone) 88%);
  pointer-events: none;
}
.ywt-readmore {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 14px; padding: 11px 26px; border-radius: 999px;
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; cursor: pointer; transition: all .2s ease;
}
.ywt-readmore:hover { background: var(--ink); color: #fff; }

/* ---------- Product cards ---------- */
.woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin: 0 !important; padding: 0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff; transition: transform .28s, box-shadow .28s; display: flex; flex-direction: column;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img {
  aspect-ratio: 4/3; object-fit: cover; width: 100%; margin: 0 !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--display); font-size: 22px !important; padding: 20px 22px 0 !important;
  color: var(--ink); line-height: 1.25;
}
.woocommerce ul.products li.product .price {
  color: var(--clay) !important; font-size: 15px !important; padding: 8px 22px 0 !important;
  font-weight: 500; font-family: var(--body);
}
.woocommerce ul.products li.product .price small { font-size: 11px; color: var(--muted); }
.woocommerce ul.products li.product .button {
  margin: 16px 22px 22px !important; background: var(--ink) !important; color: #fff !important;
  border-radius: 999px !important; font-size: 11.5px !important; letter-spacing: .12em !important;
  text-transform: uppercase !important; padding: 12px 20px !important; text-align: center;
  font-weight: 500 !important;
}
.woocommerce ul.products li.product .button:hover { background: var(--clay) !important; }
.ywt-tour-meta {
  display: flex; gap: 14px; flex-wrap: wrap; padding: 12px 22px 0;
  font-size: 11.5px; color: var(--muted); letter-spacing: .03em;
}
.ywt-tour-meta span { display: inline-flex; align-items: center; gap: 5px; }
.ywt-tour-meta span::before { content: "—"; color: var(--gold); }

/* ---------- Product single ---------- */
.ywt-tour-head { background: var(--sand); padding: 46px 0 0; }
.ywt-tour-head h1 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 12px; }
.ywt-tour-facts {
  display: flex; gap: 34px; flex-wrap: wrap; margin: 22px 0 0; padding: 20px 0;
  border-top: 1px solid var(--line);
}
.ywt-tour-facts div { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ywt-tour-facts strong { display: block; font-family: var(--display); font-size: 22px; color: var(--ink); text-transform: none; letter-spacing: 0; margin-top: 2px; }

/* ---------- Custom tour form ---------- */
.ywt-form-shell { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 38px; }
.ywt-steps { display: flex; gap: 10px; margin-bottom: 30px; }
.ywt-step-dot {
  flex: 1; height: 3px; background: var(--line); border-radius: 3px; transition: background .3s;
}
.ywt-step-dot.is-active { background: var(--clay); }
.ywt-field { margin-bottom: 22px; }
.ywt-field label {
  display: block; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 500;
}
.ywt-field input[type=text], .ywt-field input[type=email], .ywt-field input[type=number],
.ywt-field input[type=date], .ywt-field select, .ywt-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 14.5px; background: var(--bone); color: var(--ink);
  transition: border-color .2s, background .2s;
}
/* Fix: Astra's `select{line-height:1}` + inherited body line-height made Chrome
   clip option text to half height inside padded selects. Reset to UA defaults. */
.ywt-field input, .ywt-field select, .ywt-field textarea {
  height: auto;
  line-height: normal;
}
.ywt-field input:focus, .ywt-field select:focus, .ywt-field textarea:focus {
  outline: none; border-color: var(--clay); background: #fff;
}
.ywt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ywt-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ywt-chip {
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; cursor: pointer; user-select: none; background: var(--bone);
  transition: all .18s;
}
.ywt-chip:hover { border-color: var(--ink); }
.ywt-chip.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ywt-result { display: none; }
.ywt-result.is-on { display: block; }
.ywt-itinerary-day {
  border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin-bottom: 26px; position: relative;
}
.ywt-itinerary-day::before {
  content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--clay); border: 2px solid #fff;
}
.ywt-itinerary-day h4 { margin: 0 0 6px; font-size: 20px; }
.ywt-itinerary-day p { margin: 0; font-size: 14.5px; color: #46544f; }
.ywt-loading { display: none; text-align: center; padding: 40px 0; }
.ywt-loading.is-on { display: block; }
.ywt-spinner {
  width: 34px; height: 34px; border: 2px solid var(--line); border-top-color: var(--clay);
  border-radius: 50%; margin: 0 auto 16px; animation: ywtspin 1s linear infinite;
}
@keyframes ywtspin { to { transform: rotate(360deg); } }

/* ---------- CTA band ---------- */
.ywt-cta-band {
  background: var(--ink); color: #fff; border-radius: 20px; padding: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap;
}
.ywt-cta-band h2 { color: #fff; font-size: 34px; margin: 0 0 10px; }
.ywt-cta-band p { color: rgba(255,255,255,.72); margin: 0; max-width: 520px; }

/* ---------- Footer ---------- */
.site-footer, .ast-footer-copyright { background: var(--ink) !important; color: rgba(255,255,255,.62); }
.site-footer { padding: 0; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--gold); }
.ywt-footer { padding: 64px 0 28px; }
.ywt-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.ywt-footer h4 {
  color: #fff; font-family: var(--body); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; margin: 0 0 16px; font-weight: 500;
}
.ywt-footer ul { list-style: none; margin: 0; padding: 0; }
.ywt-footer li { margin-bottom: 10px; font-size: 13.5px; }
.ywt-footer__brand { font-family: var(--display); font-size: 26px; color: #fff; margin-bottom: 10px; }
.ywt-footer__note { font-size: 13.5px; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,.55); }
.ywt-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 46px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,.45);
}
.ywt-footer__addr { line-height: 1.6; color: rgba(255,255,255,.7) !important; }

/* ---------- WhatsApp + AI ---------- */
.ywt-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 9999;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.ywt-fab {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px -8px rgba(20,32,30,.5); cursor: pointer; border: none;
  transition: transform .2s;
}
.ywt-fab:hover { transform: scale(1.06); }
.ywt-fab svg { width: 26px; height: 26px; }
.ywt-fab--wa {
  width: 66px; height: 66px;
  background: linear-gradient(135deg, #2fe07a 0%, #14b857 100%);
  box-shadow: 0 12px 28px -6px rgba(20, 184, 87, .6), 0 0 18px 0 rgba(47, 224, 122, .45);
}
.ywt-fab--wa svg { fill: #fff; width: 34px; height: 34px; }
.ywt-fab--ai {
  position: relative;
  background: linear-gradient(135deg, #6a5ae0 0%, #4322c4 100%);
  box-shadow: 0 10px 24px -10px rgba(67, 34, 196, .5);
}
.ywt-fab--ai .ywt-fab__txt {
  color: #fff; font-family: var(--body); font-size: 19px; font-weight: 700;
  letter-spacing: .5px; line-height: 1;
}
/* WhatsApp variant — green ring + clear pulse, circular to match the round button */
.ywt-fab__pulse--wa {
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 224, 122, .75);
  animation: ywt-wa-pulse 1.8s ease-out infinite;
}
@keyframes ywt-wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 224, 122, .75); }
  70%  { box-shadow: 0 0 0 24px rgba(46, 224, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 224, 122, 0); }
}

.ywt-chat {
  position: fixed; right: 22px; bottom: 92px; width: 356px; max-height: 540px;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 70px -20px rgba(20,32,30,.45);
  display: none; flex-direction: column; overflow: hidden; z-index: 9998;
  border: 1px solid var(--line);
}
.ywt-chat.is-open { display: flex; }
.ywt-chat__head {
  background: var(--ink); color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.ywt-chat__head strong { font-size: 14px; font-weight: 500; display: block; }
.ywt-chat__head span { font-size: 11.5px; color: rgba(255,255,255,.6); }
.ywt-chat__head .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.ywt-chat__close { margin-left: auto; background: none; border: none; color: rgba(255,255,255,.7); font-size: 20px; cursor: pointer; line-height: 1; }
.ywt-chat__body { flex: 1; overflow-y: auto; padding: 18px; background: var(--bone); display: flex; flex-direction: column; gap: 12px; }
.ywt-msg { max-width: 84%; font-size: 13.5px; line-height: 1.6; padding: 11px 14px; border-radius: 14px; }
.ywt-msg--bot { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); border-bottom-left-radius: 4px; }
.ywt-msg--me { background: var(--clay); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.ywt-chat__foot { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ywt-chat__foot input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px;
  font-size: 13.5px; font-family: var(--body); background: var(--bone);
}
.ywt-chat__foot input:focus { outline: none; border-color: var(--clay); }
.ywt-chat__foot button {
  width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--clay); color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ywt-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ywt-quick button {
  font-size: 11.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; cursor: pointer; color: var(--ink-soft);
}
.ywt-quick button:hover { border-color: var(--clay); color: var(--clay); }

/* ---------- Install / Add-to-Home-Screen banner ---------- */
.ywt-install {
  position: fixed; left: 50%; bottom: 96px; z-index: 9997;
  width: calc(100% - 28px); max-width: 460px;
  display: flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; padding: 12px 14px;
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, .5);
  opacity: 0; visibility: hidden;
  transform: translateX(-50%) translateY(20px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.ywt-install.is-on { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.ywt-install__icon { width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto; display: block; }
.ywt-install__body { flex: 1; min-width: 0; }
.ywt-install__title { display: block; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: #fff; letter-spacing: .01em; }
.ywt-install__text { display: block; font-size: 12px; color: rgba(255, 255, 255, .72); line-height: 1.4; margin-top: 2px; }
.ywt-install__btn {
  flex: 0 0 auto; border: none; cursor: pointer;
  background: var(--gold); color: #14201e; font-weight: 600;
  font-family: var(--body); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; transition: background .2s;
}
.ywt-install__btn:hover { background: #d9ad6c; }
.ywt-install__close {
  flex: 0 0 auto; background: none; border: none; color: rgba(255, 255, 255, .55);
  font-size: 22px; line-height: 1; cursor: pointer; padding: 0 2px; transition: color .2s;
}
.ywt-install__close:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ywt-grid--3, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
  .ywt-features { grid-template-columns: repeat(2, 1fr); }
  .ywt-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .ywt-section { padding: 60px 0; }
  .ywt-grid--3, .ywt-grid--2, .woocommerce ul.products { grid-template-columns: 1fr !important; }
  .ywt-features { grid-template-columns: 1fr; }
  .ywt-row { grid-template-columns: 1fr; }
  .ywt-form-shell { padding: 24px; }
  .ywt-hero__meta { gap: 24px; }
  .ywt-cta-band { padding: 32px; }
  .ywt-chat { width: calc(100vw - 32px); right: 16px; bottom: 84px; max-height: 70vh; }
  .ywt-fab--wa { width: 58px; height: 58px; }
  .ywt-fab--wa svg { width: 30px; height: 30px; }
  .ywt-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Homepage film / video ---------- */
.ywt-film {
  background: var(--sand-deep);
  border-top: 1px solid var(--line);
  padding: 84px 0 96px;
}
.ywt-film__head { max-width: 660px; margin: 0 auto 42px; text-align: center; }
.ywt-film__head .ywt-lede { margin-bottom: 0; }

.ywt-film__frame {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #0d1513;
  box-shadow: 0 34px 90px -46px rgba(20, 32, 30, 0.65);
}
.ywt-film__poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 900ms cubic-bezier(.2, .6, .2, 1);
}
.ywt-film__frame:hover .ywt-film__poster { transform: scale(1.07); }
.ywt-film__grain {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 18, 16, .18) 0%, rgba(10, 18, 16, .04) 42%, rgba(10, 18, 16, .68) 100%);
}
.ywt-film__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  border: 0;
  background: transparent;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.ywt-film__ring {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.ywt-film__ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  animation: ywt-pulse 2.8s ease-out infinite;
}
.ywt-film__ring svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.ywt-film__play:hover .ywt-film__ring,
.ywt-film__play:focus-visible .ywt-film__ring { background: var(--clay); border-color: var(--clay); transform: scale(1.07); }
.ywt-film__play:hover .ywt-film__ring::after { border-color: rgba(180, 86, 47, .55); }
.ywt-film__label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.ywt-film__len { font-size: 12px; letter-spacing: .05em; color: rgba(255, 255, 255, .74); }
.ywt-film__cap {
  position: absolute;
  left: 24px;
  bottom: 20px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.ywt-film__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 155, 90, .22);
}
@keyframes ywt-pulse {
  0%   { transform: scale(1);    opacity: .75; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* lightbox */
.ywt-vlight {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 4vw;
  background: rgba(8, 14, 13, .95);
}
.ywt-vlight[hidden] { display: none; }
.ywt-vlight__box { position: relative; width: 100%; max-width: 1140px; }
.ywt-vlight__slot {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 50px 130px -50px #000;
}
.ywt-vlight__slot iframe,
.ywt-vlight__slot video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ywt-vlight__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ywt-vlight__close:hover { background: var(--clay); border-color: var(--clay); }
body.ywt-vlight-open { overflow: hidden; }

@media (max-width: 720px) {
  .ywt-film { padding: 56px 0 64px; }
  .ywt-film__frame { aspect-ratio: 4 / 3; border-radius: 14px; }
  .ywt-film__ring { width: 68px; height: 68px; }
  .ywt-film__ring svg { width: 21px; height: 21px; }
  .ywt-film__label { font-size: 11px; letter-spacing: .16em; }
  .ywt-film__cap { left: 16px; bottom: 14px; font-size: 10px; }
  .ywt-vlight { padding: 0; }
  .ywt-vlight__box { max-width: 100%; }
  .ywt-vlight__slot { border-radius: 0; }
  .ywt-vlight__close { top: 10px; right: 10px; z-index: 2; background: rgba(0, 0, 0, .55); }
}

/* ---------- Hero background video ---------- */
.ywt-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}
.ywt-hero__video.is-ready { opacity: 1; }
.ywt-hero__vtoggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(12, 20, 18, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease;
}
.ywt-hero__vtoggle:hover { background: rgba(180, 86, 47, .85); border-color: rgba(180, 86, 47, .95); }
.ywt-hero__vtoggle svg { width: 13px; height: 13px; fill: currentColor; }
.ywt-hero__vtoggle .icon-play { display: none; }
.ywt-hero__vtoggle[data-state="paused"] .icon-play { display: block; }
.ywt-hero__vtoggle[data-state="paused"] .icon-pause { display: none; }

/* ---------- Region film on board pages ---------- */
.ywt-film__head--left { max-width: 700px; margin: 0 0 34px; text-align: left; }
.ywt-film__frame--wide { aspect-ratio: 21 / 9; }
@media (max-width: 720px) {
  .ywt-hero__vtoggle { right: 14px; bottom: 14px; width: 34px; height: 34px; }
  .ywt-film__frame--wide { aspect-ratio: 16 / 9; }
}

/* ==================================================================
 * Mobile above-the-fold reflow (v1.3.7)
 * Everything below is scoped to phones. Desktop layout is untouched and
 * no server-side device detection is used, so the nginx full-page cache
 * stays device-independent.
 * ================================================================== */
.ywt-quicknav, .ywt-swipe-hint, .ywt-showall { display: none; }

@media (max-width: 720px) {
  html { scroll-behavior: smooth; }
  .ywt-wrap { padding: 0 18px; }

  /* 1. Reorder: tours and region entry points come right after the hero. */
  .ywt-main--home, .ywt-main--board { display: flex; flex-direction: column; }
  .ywt-sec--hero     { order: 1; }
  .ywt-quicknav      { order: 2; }
  .ywt-main--board .ywt-sec--guide { order: 3; }
  .ywt-sec--regions  { order: 4; }
  .ywt-sec--tours    { order: 5; }
  .ywt-sec--why      { order: 6; }
  .ywt-sec--overland { order: 7; }
  .ywt-sec--reviews  { order: 8; }
  main.ywt-main > .ywt-film,
  .ywt-film--board   { order: 9; }
  .ywt-sec--cta      { order: 10; }
  #top, #tours, #regions { scroll-margin-top: 8px; }

  /* 2. Compact first screen. */
  .ywt-hero { min-height: 0; }
  .ywt-hero__inner { padding: 42px 0 30px; }
  .ywt-hero h1 { font-size: clamp(29px, 8.4vw, 38px); margin-bottom: 12px; }
  .ywt-hero p { font-size: 14px; line-height: 1.6; max-width: 100%; margin-bottom: 20px; }
  .ywt-hero__sub { font-size: 14px; letter-spacing: .08em; margin-bottom: 16px; }
  .ywt-hero__actions { gap: 8px; }
  .ywt-hero__actions .ywt-btn { flex: 1 1 44%; padding: 12px 8px; font-size: 10.5px; letter-spacing: .02em; }
  .ywt-hero__meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
    margin-top: 20px; padding-top: 14px;
  }
  .ywt-hero__meta div { font-size: 10.5px; }
  .ywt-hero__meta strong { font-size: 18px; }

  .ywt-board-hero { min-height: 0; }
  .ywt-board-hero__inner { padding: 48px 0 28px; }
  .ywt-breadcrumb { margin-bottom: 10px; }
  .ywt-board-hero h1 { font-size: clamp(27px, 7.6vw, 36px); margin-bottom: 8px; }
  .ywt-board-hero p { font-size: 13.5px; line-height: 1.55; }

  /* 3. Quick links — one tap to any region, visible in the first screen. */
  .ywt-quicknav {
    display: block; background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 0 11px;
  }
  .ywt-quicknav__track {
    display: flex; gap: 8px; overflow-x: auto; padding: 0 18px 2px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ywt-quicknav__track::-webkit-scrollbar { display: none; }
  .ywt-quicknav__item {
    flex: 0 0 auto; white-space: nowrap; padding: 8px 14px;
    border: 1px solid var(--line); border-radius: 999px; background: var(--bone);
    color: var(--ink) !important; text-decoration: none !important;
    font-size: 12px; font-weight: 500;
  }
  .ywt-quicknav__item.is-accent { background: var(--clay); border-color: var(--clay); color: #fff !important; }
  .ywt-quicknav__item.is-wa { border-color: #25d366; color: #128c46 !important; }

  /* 4. Tighter rhythm and shorter copy blocks. */
  .ywt-section { padding: 34px 0; }
  .ywt-section--tight { padding: 28px 0; }
  .ywt-sec__head { margin-bottom: 18px !important; margin-top: 18px !important; }
  .ywt-h2 { font-size: 27px; margin-bottom: 12px; }
  .ywt-eyebrow { font-size: 10px; margin-bottom: 8px; }
  .ywt-lede { font-size: 14px; line-height: 1.6; }
  .ywt-sec__head .ywt-lede {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; font-size: 12.5px; margin: 0 auto;
  }
  .ywt-sec__head .ywt-h2 { margin-bottom: 8px; }

  /* 5. Region cards: horizontal swipe instead of seven full-width cards. */
  .ywt-sec--regions .ywt-grid--3 {
    display: flex !important; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; padding: 2px 18px 12px; margin: 0 -18px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ywt-sec--regions .ywt-grid--3::-webkit-scrollbar { display: none; }
  .ywt-sec--regions .ywt-card { flex: 0 0 62%; scroll-snap-align: start; }
  .ywt-sec--regions .ywt-card__media { aspect-ratio: 4 / 3; }
  .ywt-sec--regions .ywt-card__body { padding: 14px 16px 18px; }
  .ywt-sec--regions .ywt-card__kicker { font-size: 9px; margin-bottom: 5px; }
  .ywt-sec--regions .ywt-card h3 { font-size: 19px; margin-bottom: 5px; }
  .ywt-sec--regions .ywt-card p {
    font-size: 12px; line-height: 1.5; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* 6. Product cards: swipe rail; long region lists collapse to 6 cards. */
  .ywt-tours { margin: 0 -18px; }
  .ywt-tours ul.products,
  .ywt-sec--tours .woocommerce ul.products {
    display: flex !important; grid-template-columns: none !important;
    gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 2px 18px 12px !important; margin: 0 !important;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .ywt-tours ul.products::-webkit-scrollbar { display: none; }
  .ywt-tours ul.products li.product { flex: 0 0 72%; scroll-snap-align: start; }
  .ywt-tours ul.products li.product a img { aspect-ratio: 16 / 10; }
  .ywt-tours ul.products li.product .woocommerce-loop-product__title { font-size: 18px !important; padding: 14px 16px 0 !important; }
  .ywt-tours ul.products li.product .price { font-size: 14px !important; padding: 6px 16px 0 !important; }
  .ywt-tours ul.products li.product .button { margin: 12px 16px 16px !important; }
  .ywt-tours .ywt-tour-meta { padding: 8px 16px 0; font-size: 10.5px; }

  .ywt-main--board .ywt-tours ul.products li.product:nth-child(n+7) { display: none; }
  .ywt-main--board .ywt-tours.is-expanded ul.products {
    display: grid !important; grid-template-columns: repeat(2, 1fr) !important;
    overflow: visible; padding: 0 18px !important; gap: 10px;
  }
  .ywt-main--board .ywt-tours.is-expanded ul.products li.product,
  .ywt-main--board .ywt-tours.is-expanded ul.products li.product:nth-child(n+7) {
    display: flex !important; flex: none; width: 100% !important;
  }
  .ywt-main--board .ywt-tours.is-expanded ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; padding: 11px 12px 0 !important; }
  .ywt-main--board .ywt-tours.is-expanded ul.products li.product .price { font-size: 12.5px !important; padding: 5px 12px 0 !important; }
  .ywt-main--board .ywt-tours.is-expanded ul.products li.product .button { margin: 10px 12px 12px !important; font-size: 10px !important; padding: 10px 8px !important; }
  .ywt-main--board .ywt-tours.is-expanded .ywt-tour-meta { padding: 6px 12px 0; }

  .ywt-swipe-hint { display: block; margin: 8px 0 0; font-size: 11px; color: var(--muted); letter-spacing: .05em; }
  .ywt-tours.is-expanded + .ywt-swipe-hint { display: none; }
  .ywt-tours.is-expanded + .ywt-swipe-hint + .ywt-showall { display: none; }
  .ywt-showall {
    display: inline-flex; align-items: center; justify-content: center;
    margin-top: 14px; padding: 11px 20px; border-radius: 999px;
    border: 1px solid var(--ink); background: transparent; color: var(--ink);
    font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .04em;
    cursor: pointer;
    width: 100%;
  }

  /* 7. Long region copy folds away; still fully readable on tap.
        (Fold + readmore button styling now lives in the global section above.) */
  .ywt-prose h2 { font-size: 24px; margin: 24px 0 10px; }
  .ywt-prose h3 { font-size: 19px; }
  .ywt-prose p, .ywt-prose li { font-size: 14px; }

  /* 8. Everything below the fold gets shorter too. */
  .ywt-features { grid-template-columns: 1fr 1fr !important; gap: 16px; }
  .ywt-feature__num { font-size: 24px; margin-bottom: 2px; }
  .ywt-feature h3 { font-size: 15px; }
  .ywt-feature p { font-size: 11.5px; line-height: 1.5; }
  .ywt-sec--overland .ywt-grid--2 { gap: 22px; }
  .ywt-sec--overland .ywt-lede { font-size: 13px; }
  .ywt-sec--overland div[style*="min-height:340px"] { min-height: 180px !important; }
  .ywt-sec--reviews .ywt-grid--3 { gap: 12px; }
  .ywt-sec--reviews .ywt-grid--3 > div { padding: 18px !important; }
  .ywt-sec--reviews .ywt-grid--3 p:first-child { font-size: 16px !important; margin-bottom: 10px !important; }
  .ywt-cta-band { padding: 24px 20px; gap: 18px; border-radius: 14px; }
  .ywt-cta-band h2 { font-size: 24px; }
  .ywt-cta-band p { font-size: 13px; }
  .ywt-cta-band .ywt-btn { flex: 1 1 44%; padding: 11px 10px; font-size: 10.5px; }

  .ywt-film { padding: 30px 0 34px; }
  .ywt-film__head { margin-bottom: 16px; }
  .ywt-film__head--left { margin-bottom: 14px; }
  .ywt-film__head .ywt-h2 { font-size: 23px; margin-bottom: 8px; }
  .ywt-film__head .ywt-lede { font-size: 12.5px; line-height: 1.5; }
  .ywt-film__frame, .ywt-film__frame--wide { aspect-ratio: 16 / 9; border-radius: 12px; }
  .ywt-film--board { padding: 28px 0 30px; }
  .ywt-film__ring { width: 56px; height: 56px; }
  .ywt-film__ring svg { width: 18px; height: 18px; }
  .ywt-film__label { font-size: 10px; letter-spacing: .14em; }

  .ywt-float { right: 14px; bottom: 14px; gap: 9px; }
  .ywt-fab { width: 48px; height: 48px; }
  .ywt-fab svg { width: 22px; height: 22px; }
  .ywt-chat { bottom: 76px; }

  /* Install banner: tighter on phones, sits above the FAB cluster */
  .ywt-install { bottom: 88px; gap: 10px; padding: 10px 12px; border-radius: 14px; }
  .ywt-install__icon { width: 36px; height: 36px; }
  .ywt-install__title { font-size: 12.5px; }
  .ywt-install__text { font-size: 11px; }
  .ywt-install__btn { padding: 8px 13px; font-size: 11.5px; }
}

/* ---------- About Us page (company intro) ---------- */
.ywt-about { max-width: 760px; margin: 0 auto; }
.ywt-about p { font-size: 16px; line-height: 1.85; color: var(--ink); margin: 0 0 20px; }
.ywt-about .ywt-lede { font-size: 19px; color: #3c4a47; line-height: 1.7; }
.ywt-about h2 { font-family: var(--display); font-size: 28px; color: var(--ink); margin: 42px 0 16px; }
.ywt-about .ywt-sign {
  font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.6;
  color: var(--ink); border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; margin: 30px 0 36px;
}
.ywt-about .ywt-checks { list-style: none; padding: 0; margin: 0 0 10px; }
.ywt-about .ywt-checks li {
  position: relative; padding-left: 32px; margin-bottom: 16px;
  font-size: 15.5px; line-height: 1.7; color: var(--ink);
}
.ywt-about .ywt-checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px;
  color: var(--gold); font-weight: 700; font-size: 17px; line-height: 1.4;
}
.ywt-about .ywt-checks strong { color: var(--ink); }

/* =========================================================
   Travel Guides (parent listing + single guide pages)
   ========================================================= */
.ywt-guides-hero {
  background: linear-gradient(135deg, #14201e 0%, #20413a 55%, #2b5a4e 100%);
  color: #fff; padding: 120px 0 92px;
}
.ywt-guides-hero__inner { max-width: var(--wrap); }
.ywt-guides-hero h1 {
  font-family: var(--display); color: #fff;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 6px 0 18px;
}
.ywt-guides-hero .ywt-lede { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.7; }

.ywt-guides-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 36px;
}
.ywt-guide-card {
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bone); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 24px; text-decoration: none; color: inherit;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ywt-guide-card:hover {
  transform: translateY(-4px); border-color: var(--gold);
  box-shadow: 0 26px 60px -30px rgba(20,32,30,.55);
}
.ywt-guide-card__title {
  font-family: var(--display); font-size: 27px; color: var(--ink);
  margin: 0 0 12px; line-height: 1.15;
}
.ywt-guide-card__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 22px; }
.ywt-guide-card__more { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--clay); }
.ywt-guide-card:hover .ywt-guide-card__more { color: var(--clay-dark); }

/* Single guide detail */
.ywt-h1 {
  font-family: var(--display); color: var(--ink);
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; margin: 4px 0 26px;
}

/* Numbered attraction block */
.ywt-spot {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.ywt-spot:last-child { border-bottom: 0; }
.ywt-spot__no {
  flex: 0 0 auto; min-width: 34px;
  font-family: var(--display); font-size: 26px; line-height: 1.1; color: var(--clay);
}
.ywt-spot__body { margin: 0; color: #3c4a47; line-height: 1.7; }

/* Tips / Note callouts */
.ywt-tip, .ywt-note {
  border-left: 3px solid var(--gold); background: var(--sand);
  padding: 14px 18px; margin: 0 0 18px; border-radius: 0 10px 10px 0;
  font-size: 14.5px; line-height: 1.65; color: var(--ink-soft);
}
.ywt-note { border-left-color: var(--sage); background: #eef2ef; }
.ywt-tip strong, .ywt-note strong { color: var(--ink); margin-right: 4px; }

/* Food row */
.ywt-food {
  display: flex; gap: 14px; align-items: baseline;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.ywt-food:last-child { border-bottom: 0; }
.ywt-food__name { flex: 0 0 42%; font-weight: 600; color: var(--ink); }
.ywt-food__desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

@media (max-width: 1024px) {
  .ywt-food { flex-direction: column; gap: 2px; }
  .ywt-food__name { flex: none; }
}

/* =========================================================
   China Visa-Free landing (template-visa.php)
   ========================================================= */
.ywt-visa-hero {
  background: linear-gradient(135deg, #14201e 0%, #20413a 55%, #2b5a4e 100%);
  color: #fff; padding: 110px 0 88px;
}
.ywt-visa-hero h1 {
  font-family: var(--display); color: #fff;
  font-size: clamp(38px, 5vw, 64px); line-height: 1.05; margin: 6px 0 18px;
}
.ywt-visa-hero .ywt-lede { color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.75; max-width: 780px; }
.ywt-visa-stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ywt-visa-stat {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px; padding: 10px 20px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: #e7c9a0;
}
.ywt-visa-stat b { color: #fff; font-weight: 700; }

/* Quick-answer box */
.ywt-answer {
  background: var(--sand); border: 1px solid var(--line); border-left: 4px solid var(--clay);
  border-radius: var(--radius); padding: 26px 30px;
}
.ywt-answer h2 { font-family: var(--display); font-size: 27px; color: var(--ink); margin: 0 0 14px; }
.ywt-answer ol { margin: 0; padding-left: 22px; }
.ywt-answer li { font-size: 15px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 10px; }
.ywt-answer li:last-child { margin-bottom: 0; }
.ywt-answer b { color: var(--ink); }

/* Numbered entry routes */
.ywt-route { display: flex; gap: 22px; align-items: flex-start; margin: 0 0 46px; }
.ywt-route__no {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  background: var(--clay); color: #fff; font-family: var(--display); font-size: 25px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -12px rgba(180,86,47,.65);
}
.ywt-route__body { flex: 1; min-width: 0; }
.ywt-route__body h3 { font-family: var(--display); font-size: 29px; color: var(--ink); margin: 8px 0 12px; line-height: 1.15; }
.ywt-route__body p { font-size: 15px; line-height: 1.8; color: #3c4a47; margin: 0 0 12px; }
.ywt-route__body a { color: var(--clay); font-weight: 600; }
.ywt-visa-note {
  font-size: 13.5px; line-height: 1.7; color: var(--muted);
  margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed var(--line);
}
.ywt-visa-note b { color: var(--ink); }

/* Country chips */
.ywt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.ywt-chips h4 {
  width: 100%; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin: 12px 0 2px; font-weight: 700;
}
.ywt-chip {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 13.5px; color: var(--ink-soft);
}
.ywt-chip--hl { background: #f3e8d8; border-color: var(--gold); color: var(--ink); font-weight: 600; }

/* Fine print box */
.ywt-visa-fine {
  background: #eef2ef; border-left: 3px solid var(--sage);
  border-radius: 0 10px 10px 0; padding: 20px 24px;
  font-size: 14px; line-height: 1.7; color: var(--ink-soft);
}
.ywt-visa-fine strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 15px; }
.ywt-visa-fine ul { margin: 4px 0 0; padding-left: 18px; }
.ywt-visa-fine li { margin-bottom: 7px; }
.ywt-visa-fine a { color: var(--clay); }

/* FAQ accordion */
.ywt-faq details {
  background: var(--bone); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 12px; overflow: hidden;
}
.ywt-faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px;
  font-weight: 600; color: var(--ink); font-size: 15.5px; position: relative;
}
.ywt-faq summary::-webkit-details-marker { display: none; }
.ywt-faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%); font-size: 24px; color: var(--clay); font-weight: 400;
}
.ywt-faq details[open] summary::after { content: "–"; }
.ywt-faq details p { padding: 0 22px 18px; margin: 0; font-size: 14.5px; line-height: 1.75; color: #3c4a47; }
.ywt-faq details p b { color: var(--ink); }

/* Highlighted visa card on Travel Guides listing */
.ywt-guide-card--visa {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, #fbf9f4 0%, #f3e8d8 100%);
  border-color: var(--gold);
  flex-direction: row; align-items: center; gap: 26px; padding: 26px 30px;
}
.ywt-guide-card--visa .ywt-guide-card__body { flex: 1; }
.ywt-guide-card--visa .ywt-guide-card__title { margin-bottom: 8px; }
.ywt-guide-card--visa .ywt-guide-card__excerpt { margin-bottom: 0; }
.ywt-guide-card--visa .ywt-guide-card__more {
  flex: 0 0 auto; white-space: nowrap; align-self: center;
  border: 1px solid var(--gold); border-radius: 999px; padding: 10px 20px;
}
.ywt-guide-card--visa:hover .ywt-guide-card__more { background: var(--clay); border-color: var(--clay); color: #fff !important; }

@media (max-width: 720px) {
  .ywt-visa-hero { padding: 84px 0 64px; }
  .ywt-visa-stat { padding: 8px 14px; font-size: 12.5px; }
  .ywt-route { gap: 14px; }
  .ywt-route__no { width: 40px; height: 40px; font-size: 19px; }
  .ywt-route__body h3 { font-size: 23px; margin-top: 4px; }
  .ywt-answer { padding: 20px 22px; }
  .ywt-chip { padding: 5px 11px; font-size: 12.5px; }
  .ywt-guide-card--visa { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px 24px; }
  .ywt-guide-card--visa .ywt-guide-card__more { white-space: normal; text-align: center; }
}

/* ---------------------------------------------------------
 * Booking Terms & Cancellation Policy page
 * ------------------------------------------------------- */
.ywt-terms-narrow { max-width: 900px; }
.ywt-terms-hero { background: linear-gradient(180deg, var(--sand) 0%, var(--bone) 100%); border-bottom: 1px solid var(--line); }
.ywt-terms-h1 { font-family: var(--display); font-size: clamp(32px, 5vw, 50px); line-height: 1.15; color: var(--ink); margin: 12px 0 18px; }
.ywt-terms-lede { max-width: 720px; font-size: 17px; }
.ywt-terms-meta { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; margin-top: 18px; }
.ywt-terms-body { padding-top: 56px; }
.ywt-terms-h2 { font-family: var(--display); font-size: 30px; color: var(--ink); margin: 56px 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ywt-terms-body .ywt-terms-h2:first-of-type { margin-top: 0; }
.ywt-terms-intro { color: var(--ink-soft); font-size: 15.5px; line-height: 1.8; margin: 0 0 22px; }
.ywt-terms-notice { background: #eaf2fa; border-left: 3px solid #185fa5; border-radius: 0 10px 10px 0; padding: 22px 26px; margin: 0 0 26px; }
.ywt-terms-notice--soft { background: var(--sand); border-left-color: var(--gold); }
.ywt-terms-notice h2 { font-family: var(--display); font-size: 22px; color: var(--ink); margin: 0 0 12px; }
.ywt-terms-notice p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; margin: 0 0 10px; }
.ywt-terms-notice p:last-child { margin-bottom: 0; }
.ywt-terms-notice strong { color: var(--ink); }
.ywt-terms-source { font-size: 13px !important; }
.ywt-terms-source a { color: #185fa5; text-decoration: underline; }

/* Booking flow steps */
.ywt-terms-steps { list-style: none; padding: 0; margin: 0 0 12px; }
.ywt-terms-steps > li { display: flex; gap: 20px; align-items: flex-start; padding: 0 0 26px; position: relative; }
.ywt-terms-steps > li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 1px; background: var(--line); }
.ywt-terms-step__no { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; }
.ywt-terms-step__body h3 { color: var(--ink); font-size: 18px; margin: 6px 0 6px; }
.ywt-terms-step__body p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; margin: 0; }

/* Term cards */
.ywt-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 8px; }
.ywt-terms-card { background: var(--bone); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; }
.ywt-terms-card h3 { color: var(--ink); font-size: 16px; margin: 0 0 8px; }
.ywt-terms-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.75; margin: 0; }

/* Tables */
.ywt-terms-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 14.5px; }
.ywt-terms-table th, .ywt-terms-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--ink-soft); line-height: 1.65; }
.ywt-terms-table thead th { background: var(--sand); color: var(--ink); font-weight: 600; }
.ywt-terms-table strong { color: var(--ink); }
.ywt-terms-table--plain th { background: var(--sand); color: var(--ink); width: 210px; font-weight: 600; }
.ywt-terms-fine { font-size: 13px; color: var(--muted); line-height: 1.75; margin: 0 0 12px; }

/* Legal entity */
.ywt-terms-entity { background: var(--sand); border: 1px solid var(--line); border-radius: 10px; padding: 24px 26px; }
.ywt-terms-entity__name { font-family: var(--display); font-size: 22px; color: var(--ink); }
.ywt-terms-entity__cn { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.ywt-terms-entity a { color: #185fa5; }

/* FAQ + CTA */
.ywt-terms-faq { margin-bottom: 8px; }
.ywt-terms-faq details p { font-size: 14.5px; }
.ywt-terms-cta { margin-top: 56px; background: var(--ink); color: rgba(255,255,255,.78); border-radius: 12px; padding: 34px 36px; }
.ywt-terms-cta h2 { font-family: var(--display); color: #fff; font-size: 26px; margin: 0 0 10px; }
.ywt-terms-cta p { font-size: 14.5px; margin: 0 0 18px; }
.ywt-terms-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 !important; }
.ywt-terms-btn { display: inline-block; background: var(--clay); color: #fff !important; border-radius: 999px; padding: 11px 24px; font-size: 14px; text-decoration: none; }
.ywt-terms-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); }

/* Footer legal entity */
.ywt-footer__legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 16px; padding-top: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; line-height: 1.6; color: rgba(255,255,255,.55); }

@media (max-width: 720px) {
  .ywt-terms-grid { grid-template-columns: 1fr; }
  .ywt-terms-h2 { font-size: 25px; margin-top: 42px; }
  .ywt-terms-notice { padding: 18px 20px; }
  .ywt-terms-table { font-size: 13px; }
  .ywt-terms-table--plain th { width: 130px; }
  .ywt-terms-cta { padding: 26px 22px; }
}

/* ---------- Pre-booking prompt (board + single product) ---------- */
.ywt-prebook {
  margin: 34px 0 10px;
  padding: 26px 30px;
  background: linear-gradient(180deg, var(--bone) 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px -32px rgba(20, 32, 30, .55);
}
.ywt-prebook__eyebrow {
  margin: 0 0 10px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 500; color: var(--clay);
}
.ywt-prebook__title {
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.25; margin: 0 0 10px; color: var(--ink);
}
.ywt-prebook__text {
  font-size: 14.5px; line-height: 1.7; color: var(--ink);
  margin: 0 0 8px; max-width: 780px;
}
.ywt-prebook__sub { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }
.ywt-prebook__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ywt-prebook__note { font-size: 12.5px; color: var(--muted); }
.ywt-prebook__self { font-size: 13px; color: var(--muted); margin: 16px 0 4px; }
.ywt-prebook__trust {
  font-size: 12px; color: var(--sage); margin: 0;
  letter-spacing: .02em; line-height: 1.6;
}
.ywt-prebook__text--short, .ywt-prebook__m { display: none; }
@media (max-width: 720px) {
  .ywt-prebook { padding: 16px; margin: 18px 0 8px; }
  .ywt-prebook__eyebrow, .ywt-prebook__sub, .ywt-prebook__note { display: none; }
  .ywt-prebook__title { font-size: 20px; margin: 0 0 8px; }
  .ywt-prebook__text { font-size: 13.5px; line-height: 1.55; margin: 0 0 10px; }
  .ywt-prebook__text--full, .ywt-prebook__d { display: none; }
  .ywt-prebook__text--short { display: block; }
  .ywt-prebook__m { display: inline; }
  .ywt-prebook__actions { flex-direction: column; align-items: stretch; gap: 0; margin-bottom: 10px; }
  .ywt-prebook .ywt-btn { width: 100%; }
  .ywt-prebook__self { font-size: 12px; margin: 0 0 3px; }
  .ywt-prebook__trust { font-size: 11.5px; }
}

/* Region subtitle: short honour line under each board title */
.ywt-board-hero p.ywt-board-hero__subtitle {
  color: var(--gold); font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 500; margin: -4px 0 12px;
}
.ywt-card p.ywt-card__subtitle {
  font-size: 12px; line-height: 1.5; letter-spacing: .03em;
  color: var(--clay); font-weight: 500; margin: -2px 0 10px;
}
@media (max-width: 720px) {
  .ywt-board-hero p.ywt-board-hero__subtitle { font-size: 11.5px; letter-spacing: .06em; margin: -2px 0 10px; }
  .ywt-card p.ywt-card__subtitle { font-size: 11.5px; }
}

/* ============================================================
 * Liquid Glass — site-wide glass surface system
 * Append-only override layer. Original rules above are untouched;
 * remove this block to roll back instantly.
 * The header WhatsApp CTA keeps its existing size/shape (Astra header
 * builder owns its geometry); only colour + glass material change here.
 * ============================================================ */

:root {
  --glass-bg:          rgba(255, 255, 255, 0.62);
  --glass-bg-strong:   rgba(255, 255, 255, 0.80);
  --glass-bg-dark:     rgba(20, 32, 30, 0.72);
  --glass-stroke:      rgba(255, 255, 255, 0.78);
  --glass-stroke-ink:  rgba(20, 32, 30, 0.09);
  --glass-blur:        saturate(180%) blur(22px);
  --glass-blur-sm:     saturate(160%) blur(12px);
  --glass-shadow:      0 20px 48px -22px rgba(20, 32, 30, 0.34),
                       0 2px 10px -4px rgba(20, 32, 30, 0.12);
  --glass-inner:       inset 0 1px 0 rgba(255, 255, 255, 0.92),
                       inset 0 -1px 0 rgba(255, 255, 255, 0.34);
  --glass-radius:      22px;
}

/* Soft colour blooms behind the glass so refraction is actually visible.
   Pure flat bone-white would make glass look like plain grey plastic. */
body,
body.ast-separate-container,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-article-single {
  background-color: var(--bone) !important;
  background-image:
    radial-gradient(880px 620px at 6% 2%,  rgba(200, 155, 90, 0.17), transparent 64%),
    radial-gradient(820px 640px at 94% 10%, rgba(91, 114, 99, 0.15), transparent 62%),
    radial-gradient(900px 720px at 50% 98%, rgba(180, 86, 47, 0.11), transparent 66%) !important;
  background-attachment: fixed !important;
}

/* Section backgrounds become translucent so the bloom reads through. */
.ywt-section--sand { background: rgba(246, 241, 231, 0.52) !important; }
.ywt-section--ink {
  background: rgba(20, 32, 30, 0.86) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Header: real frosted glass ---------- */
.site-header, .ast-primary-header-bar {
  background: rgba(251, 249, 244, 0.66) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 10px 34px -20px rgba(20, 32, 30, 0.42),
              inset 0 1px 0 rgba(255, 255, 255, 0.92);
}
.main-header-menu .sub-menu, .ast-builder-menu .sub-menu {
  background: rgba(255, 255, 255, 0.86) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 16px !important;
  box-shadow: var(--glass-shadow), var(--glass-inner);
}

/* ---------- Header WhatsApp CTA: colour only, size untouched ---------- */
body .ywt-header-cta,
.site-header .ywt-header-cta,
.ast-primary-header-bar .ywt-header-cta {
  background: linear-gradient(135deg, rgba(180, 86, 47, 0.94) 0%, rgba(200, 155, 90, 0.92) 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.48) !important;
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58),
              0 12px 28px -12px rgba(180, 86, 47, 0.70) !important;
}
body .ywt-header-cta:hover,
.site-header .ywt-header-cta:hover {
  background: linear-gradient(135deg, rgba(143, 64, 33, 0.97) 0%, rgba(180, 86, 47, 0.95) 100%) !important;
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62),
              0 18px 34px -14px rgba(180, 86, 47, 0.80) !important;
}

/* ---------- Glass surfaces: cards, panels, forms ---------- */
.ywt-card,
.ywt-guide-card,
.ywt-terms-card,
.ywt-form-shell,
.ywt-prebook,
.ywt-faq details,
.ywt-answer,
.ywt-spot,
.ywt-feature,
.ywt-note,
.ywt-tip {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-stroke) !important;
  box-shadow: var(--glass-shadow), var(--glass-inner);
}
.ywt-card {
  border-radius: var(--glass-radius) !important;
}
.ywt-card:hover,
.ywt-guide-card:hover {
  box-shadow: 0 30px 62px -26px rgba(20, 32, 30, 0.44),
              0 3px 12px -4px rgba(20, 32, 30, 0.14),
              var(--glass-inner);
}
.ywt-card__body { position: relative; }
.ywt-section--ink .ywt-card,
.ywt-section--ink .ywt-form-shell {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24) !important;
}

/* Form controls */
.ywt-field input[type=text], .ywt-field input[type=email], .ywt-field input[type=number],
.ywt-field input[type=date], .ywt-field select, .ywt-field textarea,
.ywt-chat__foot input {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid var(--glass-stroke) !important;
  box-shadow: inset 0 1px 3px rgba(20, 32, 30, 0.06);
  color: var(--ink) !important;
}
.ywt-field input:focus, .ywt-field select:focus, .ywt-field textarea:focus {
  background: rgba(255, 255, 255, 0.92) !important;
  border-color: rgba(180, 86, 47, 0.55) !important;
}
.ywt-chip {
  background: rgba(255, 255, 255, 0.66);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-stroke) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.ywt-chip.is-on {
  background: rgba(20, 32, 30, 0.88) !important;
  border-color: rgba(255, 255, 255, 0.32) !important;
  color: #fff !important;
}
.ywt-chip--hl { background: rgba(243, 232, 216, 0.86) !important; }

/* ---------- Buttons: glass with a specular top edge ---------- */
.ywt-btn,
.ywt-terms-btn {
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid rgba(255, 255, 255, 0.46) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52),
              0 12px 26px -14px rgba(20, 32, 30, 0.42);
}
.ywt-btn--primary {
  background: linear-gradient(135deg, rgba(180, 86, 47, 0.95), rgba(163, 74, 38, 0.95)) !important;
}
.ywt-btn--primary:hover {
  background: linear-gradient(135deg, rgba(143, 64, 33, 1), rgba(180, 86, 47, 1)) !important;
}
.ywt-btn--outline, .ywt-btn--ghost {
  background: rgba(255, 255, 255, 0.42) !important;
  border-color: rgba(255, 255, 255, 0.62) !important;
}
.ywt-btn--ghost { border-color: var(--gold) !important; }
.ywt-prebook .ywt-btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55); }

/* ---------- Dark glass: CTA band, chat, install banner ---------- */
.ywt-cta-band,
.ywt-terms-cta,
.ywt-chat__head,
.ywt-install {
  background: var(--glass-bg-dark) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.ywt-chat,
.ywt-msg--bot {
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-stroke) !important;
  box-shadow: var(--glass-shadow), var(--glass-inner);
}
.ywt-chat__body { background: rgba(251, 249, 244, 0.62) !important; }
.ywt-chat__foot { background: rgba(255, 255, 255, 0.66) !important; border-top: 1px solid var(--glass-stroke) !important; }

/* ---------- Floating action buttons: glass spheres ---------- */
.ywt-fab {
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.42),
              inset 0 -2px 0 rgba(0, 0, 0, 0.10),
              0 14px 30px -10px rgba(20, 32, 30, 0.48) !important;
}
.ywt-fab--wa {
  background: linear-gradient(145deg, rgba(72, 226, 138, 0.90) 0%, rgba(20, 168, 82, 0.92) 100%) !important;
}
.ywt-fab--ai {
  background: linear-gradient(145deg, rgba(122, 106, 236, 0.90) 0%, rgba(67, 34, 196, 0.92) 100%) !important;
}

/* ---------- Quick-nav pills on mobile ---------- */
.ywt-quicknav__item {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: var(--glass-blur-sm);
  backdrop-filter: var(--glass-blur-sm);
  border: 1px solid var(--glass-stroke) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ---------- Accessibility & performance fallbacks ---------- */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header, .ast-primary-header-bar,
  .ywt-card, .ywt-guide-card, .ywt-form-shell, .ywt-prebook,
  .ywt-chat, .ywt-chat__head, .ywt-install, .ywt-cta-band,
  .ywt-faq details, .ywt-answer, .ywt-chip, .ywt-fab {
    background-color: #fbf9f4 !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header, .ast-primary-header-bar,
  .ywt-card, .ywt-guide-card, .ywt-form-shell, .ywt-prebook,
  .ywt-chat, .ywt-chat__head, .ywt-install, .ywt-cta-band,
  .ywt-faq details, .ywt-answer, .ywt-chip, .ywt-fab {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background-color: #fbf9f4 !important;
  }
}
/* Mobile: fewer blur layers keeps scrolling smooth on mid-range phones. */
@media (max-width: 720px) {
  :root {
    --glass-blur: saturate(150%) blur(14px);
    --glass-blur-sm: saturate(140%) blur(8px);
  }
  .ywt-faq details, .ywt-answer, .ywt-note, .ywt-tip, .ywt-spot, .ywt-feature {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--glass-bg-strong);
  }
  body,
  body.ast-separate-container {
    background-attachment: scroll !important;
  }
}

/* ============================================================
 * Mobile first-screen & readability fix  (append-only, v1.7.2)
 * Scope: <= 720px ONLY. Desktop Liquid Glass look is untouched.
 *
 * Fixes:
 *  1. Pre-booking prompt jumped above the hero: mobile `main` is flex
 *     with ordered sections, and its unordered wrapper defaults to 0.
 *  2. Prompt + board intro were far too tall for an impatient visitor.
 *  3. Translucent section backgrounds + fixed body gradient + large
 *     backdrop-filter layers composite to black / grey on long mobile
 *     pages, making dark body copy unreadable. Restore solid colours.
 *  4. Swipe rails cut the second card through the middle of its text.
 *  5. Floating buttons covered the footer copyright line.
 * Remove this block to roll back instantly.
 * ============================================================ */
@media (max-width: 720px) {

  /* ---------- 1. Put the prompt back: hero -> quicknav -> prompt ---------- */
  main.ywt-main--board > .ywt-wrap {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* ---------- 2. Slim the prompt down to a compact strip ---------- */
  .ywt-prebook {
    padding: 12px 14px !important;
    margin: 12px 0 2px !important;
    border-left-width: 3px !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .ywt-prebook__eyebrow {
    display: block !important;
    font-size: 9.5px !important;
    letter-spacing: .18em;
    margin: 0 0 5px !important;
  }
  .ywt-prebook__title {
    font-size: 16.5px !important;
    line-height: 1.3;
    margin: 0 0 10px !important;
    overflow-wrap: break-word;
  }
  /* Long copy, the "no obligation" note, the self-checkout line and the
     trust row are desktop-only. On phones the strip is just a label,
     one short headline and one button — nothing else above the fold. */
  .ywt-prebook__text,
  .ywt-prebook__sub,
  .ywt-prebook__note,
  .ywt-prebook__self,
  .ywt-prebook__trust { display: none !important; }
  .ywt-prebook__actions {
    margin: 0 !important;
    min-width: 0;
    max-width: 100%;
  }
  .ywt-prebook .ywt-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 8px !important;
    font-size: 10.5px !important;
    letter-spacing: .02em !important;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  /* ---------- 3. Solid backgrounds = readable copy ---------- */
  body,
  body.ast-separate-container,
  .ast-separate-container .ast-article-post,
  .ast-separate-container .ast-article-single {
    background-image: none !important;
    background-attachment: scroll !important;
    background-color: var(--bone) !important;
  }
  .ywt-section--sand { background: var(--sand) !important; }
  .ywt-section--ink {
    background: var(--ink) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .site-header, .ast-primary-header-bar {
    background: rgba(251, 249, 244, 0.96) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  /* Drop blur on surfaces: keeps the glass edge/highlight, avoids the
     iOS whole-page compositing artefact. Background colours stay as-is
     so the dark CTA band keeps its translucent card. */
  .ywt-card, .ywt-guide-card, .ywt-prebook, .ywt-form-shell,
  .ywt-terms-card, .ywt-faq details, .ywt-answer, .ywt-note,
  .ywt-tip, .ywt-spot, .ywt-feature, .ywt-chip,
  .ywt-quicknav__item, .ywt-cta-band, .ywt-chat,
  .ywt-chat__head, .ywt-msg--bot, .ywt-btn, .ywt-fab {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  /* ---------- 4. Shorter board intro above the fold ---------- */
  .ywt-section.ywt-sec--guide { padding: 24px 0 16px !important; }
  .ywt-prose.is-folded { max-height: 96px !important; }
  .ywt-prose.is-folded::after { height: 38px !important; }
  .ywt-readmore { margin-top: 10px !important; padding: 9px 18px !important; }
  /* Hero tagline is already covered by the collapsed guide on phones. */
  .ywt-board-hero__inner .ywt-wrap > p:not(.ywt-eyebrow):not(.ywt-board-hero__subtitle) {
    display: none !important;
  }
  .ywt-sec__head .ywt-h2 {
    font-size: clamp(21px, 6vw, 27px) !important;
    line-height: 1.28;
  }
  .ywt-section.ywt-sec--tours,
  .ywt-section.ywt-sec--regions {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  /* ---------- 5. Swipe rails: show almost a full card ---------- */
  .ywt-tours ul.products li.product,
  .ywt-sec--tours .woocommerce ul.products li.product { flex: 0 0 88% !important; }
  .ywt-sec--regions .ywt-card { flex: 0 0 86% !important; }
  /* Never show a solid black block while a card image is still loading. */
  .ywt-card__media { background-color: var(--sand-deep) !important; }
  .ywt-card__media::after {
    background: linear-gradient(to top, rgba(11,20,19,.30), rgba(11,20,19,0) 55%) !important;
  }

  /* ---------- 6. Floating buttons must not cover the footer ---------- */
  .ywt-fab { transform: scale(.86); transform-origin: bottom right; }
  .site-footer { padding-bottom: 76px !important; }
  .ast-footer-copyright {
    padding-right: 76px !important;
    padding-bottom: 16px !important;
  }
}

/* ============================================================
 * Mobile footer compaction — shorter, readable, uncluttered
 * ------------------------------------------------------------
 * Roots of the problem:
 *  1. Footer copy was authored as white text for a dark band, but on
 *     phones the footer surface is bone-white -> headings, copyright
 *     and the reply-time line are nearly invisible.
 *  2. The 4-column grid collapses to one column, so 13 links + 5
 *     contact lines + a 3-line address stack into a very long page.
 *  3. The floating WhatsApp / AI buttons still cover the last lines.
 * PC layout is untouched. Remove this block to roll back instantly.
 * ============================================================ */
@media (max-width: 720px) {

  /* ---------- 1. Solid light surface + dark copy ---------- */
  .ywt-footer {
    background: var(--bone) !important;
    padding: 26px 0 18px !important;
  }
  .ywt-footer h4,
  .ywt-footer__brand,
  .ywt-footer li,
  .ywt-footer li a {
    color: var(--ink) !important;
  }
  .ywt-footer h4 {
    font-size: 10px !important;
    letter-spacing: .16em;
    margin: 0 0 8px !important;
  }
  .ywt-footer__brand {
    font-size: 20px !important;
    margin: 0 0 4px !important;
  }
  /* Repeated on every board intro; drop it on phones. */
  .ywt-footer__note { display: none !important; }

  /* ---------- 2. Stacked columns -> wrapped compact chips ---------- */
  .ywt-footer__grid {
    display: block !important;
    gap: 0 !important;
  }
  .ywt-footer__grid > div { margin-bottom: 14px; }
  .ywt-footer ul {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px !important;
  }
  .ywt-footer li {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.35;
  }
  .ywt-footer li a {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid rgba(29,59,52,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    font-size: 12px !important;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: anywhere;
    box-sizing: border-box;
  }
  .ywt-footer li a:hover,
  .ywt-footer li a:focus { border-color: var(--amber, #c8792f); }
  /* Contact chips are longer; keep them tighter. */
  .ywt-footer__grid > div:nth-child(4) li a {
    padding: 5px 8px;
    font-size: 11px !important;
  }
  /* The 3-line postal address duplicates the Contact page. */
  .ywt-footer__addr { display: none !important; }
  /* Plain text rows (e.g. reply-time) stay clear of the floating balls. */
  .ywt-footer li:not(:has(a)) {
    font-size: 11px !important;
    max-width: calc(100% - 80px);
  }

  /* ---------- 3. Legal + copyright: one compact block ---------- */
  .ywt-footer__bottom {
    border-top: 1px solid rgba(29,59,52,.14) !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    padding-right: 76px !important;
    display: block !important;
    font-size: 10.5px !important;
    line-height: 1.5;
    color: rgba(29,59,52,.68) !important;
  }
  .ywt-footer__bottom span { display: block; margin-bottom: 3px; }
  .ywt-footer__legal {
    border-top: 1px solid rgba(29,59,52,.10) !important;
    margin-top: 8px !important;
    padding-top: 8px !important;
    padding-right: 76px !important;
    gap: 2px !important;
    font-size: 10px !important;
    line-height: 1.5;
    color: rgba(29,59,52,.62) !important;
  }
  /* Registered address repeats the hidden postal address. */
  .ywt-footer__legal span:nth-child(3) { display: none; }

  /* ---------- 4. Drop the duplicated Astra default copyright bar ----------
     It repeats the official company / licence notice above, adds a dark
     band and is exactly where the floating buttons sit. */
  .site-footer { display: none !important; }
}

/* ---------- v1.7.6: feature cards need padding inside the glass shell ----------
   The glass layer turned .ywt-feature into a bordered card, but the original
   strip was bare text on sand and never had padding, so numbers/titles sit
   flush on the border and get clipped by the corner radius. */
.ywt-feature {
  box-sizing: border-box;
  padding: 24px 26px 26px;
  border-radius: var(--glass-radius, 14px);
}
.ywt-feature__num { display: block; }

/* ==================================================================
 * v1.7.7 — mobile flex reorder fix (2026-11-13)
 * On phones <main> is a flex column and every section has an explicit
 * `order`. The GetYourGuide trust panel and the pre-book prompt are also
 * direct children of <main> but had no order, so flex put them at 0 —
 * ABOVE the hero. Give un-ordered children a late fallback, then pin
 * these two into their intended slots. Desktop is untouched.
 * ================================================================== */
@media (max-width: 720px) {
  .ywt-main--home > *, .ywt-main--board > * { order: 12; }
  .ywt-sec--hero                          { order: 1; }
  .ywt-quicknav                           { order: 2; }
  .ywt-main--board > .ywt-wrap            { order: 2; } /* pre-book prompt */
  .ywt-main--board .ywt-sec--guide        { order: 3; }
  .ywt-sec--regions                       { order: 3; } /* regions up top */
  .ywt-sec--tours                         { order: 4; } /* products after regions */
  .ywt-sec--overland                      { order: 5; } /* 4WD up top */
  main.ywt-main > .ywt-film,
  .ywt-film--board                        { order: 6; } /* video up top */
  .ywt-sec--why                           { order: 7; }
  .ywt-sec--reviews                       { order: 8; }
  .ywt-trust                              { order: 9; } /* trust panel near bottom */
  .ywt-sec--cta                           { order: 10; }
}

/* ==================================================================
 * v1.7.8 — WooCommerce system pages on phones (2026-11-13)
 * Cart / Checkout / My Account use Astra's default page template with
 * WooCommerce Blocks: there is NO .ywt-main wrapper, so the theme's
 * typography, buttons and spacing never applied. On iOS this showed up
 * as a shrunken "desktop-looking" page, serif headings, a default blue
 * WooCommerce button, a huge empty gap and footer chips overlapped by
 * the floating WhatsApp / AI / app buttons.
 * Everything here is scoped to those three body classes - custom
 * templates and the desktop layout are untouched.
 * ================================================================== */
body.woocommerce-cart,
body.woocommerce-checkout,
body.woocommerce-account {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
/* iOS Safari zooms the whole page out when any child is wider than the
   viewport. Clamp every layout ancestor on these three system pages. */
body.woocommerce-cart #page,
body.woocommerce-cart #content,
body.woocommerce-cart .site-content,
body.woocommerce-cart .ast-container,
body.woocommerce-cart #primary,
body.woocommerce-cart .ast-article-single,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout #page,
body.woocommerce-checkout #content,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .ast-container,
body.woocommerce-checkout #primary,
body.woocommerce-checkout .ast-article-single,
body.woocommerce-checkout .entry-content {
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
/* The global h1/h2/h3 display serif makes "Cart" look like another site. */
body.woocommerce-cart .entry-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-account .entry-title {
  font-family: var(--body) !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
}
body.woocommerce-cart .entry-content *,
body.woocommerce-checkout .entry-content * {
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content,
body.woocommerce-account .entry-content {
  font-family: var(--body) !important;
  font-size: 14.5px;
  color: var(--ink-soft);
}
/* WooCommerce block headings inherit Astra's serif stack otherwise. */
body.woocommerce-cart .entry-content h1,
body.woocommerce-cart .entry-content h2,
body.woocommerce-cart .entry-content h3,
body.woocommerce-checkout .entry-content h1,
body.woocommerce-checkout .entry-content h2,
body.woocommerce-checkout .entry-content h3 {
  font-family: var(--body) !important;
  color: var(--ink);
}

@media (max-width: 720px) {
  /* --- 1. Kill the horizontal overflow that makes Safari zoom the page out --- */
  body.woocommerce-cart .ast-container,
  body.woocommerce-checkout .ast-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    max-width: 100% !important;
  }
  body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
  body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.woocommerce-cart #primary,
  body.woocommerce-checkout #primary,
  body.woocommerce-cart .entry-content,
  body.woocommerce-checkout .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* --- 2. Small, sane page title (was a 40px serif "Cart") --- */
  body.woocommerce-cart .entry-header,
  body.woocommerce-checkout .entry-header { margin: 0 0 10px !important; }
  body.woocommerce-cart .entry-title,
  body.woocommerce-checkout .entry-title {
    font-family: var(--body) !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    margin: 14px 0 0 !important;
    color: var(--ink) !important;
  }

  /* --- 3. Compact cart rows --- */
  body.woocommerce-cart .wc-block-cart-items__row { gap: 10px !important; }
  body.woocommerce-cart .wc-block-cart-item__image img {
    width: 62px !important; height: 62px !important;
    object-fit: cover; border-radius: 9px;
  }
  body.woocommerce-cart .wc-block-cart-item__product,
  body.woocommerce-cart .wc-block-cart-item__total,
  body.woocommerce-cart .wc-block-components-totals-item,
  body.woocommerce-cart .wc-block-components-product-name {
    font-family: var(--body) !important;
    font-size: 13px !important;
    line-height: 1.45;
  }
  body.woocommerce-cart .wc-block-cart-item__product a { font-size: 13.5px !important; }
  body.woocommerce-cart .wc-block-cart-item__prices,
  body.woocommerce-cart .woocommerce-Price-amount { font-size: 13px !important; }
  body.woocommerce-cart .wc-block-components-quantity-selector,
  body.woocommerce-cart .wc-block-quantity-selector { margin-top: 6px !important; }
  body.woocommerce-cart .wc-block-components-quantity-selector input.qty,
  body.woocommerce-cart input.qty { font-size: 15px !important; }

  /* --- 4. Totals + coupon: no oversized serif, no floating gap --- */
  body.woocommerce-cart .wp-block-woocommerce-cart,
  body.woocommerce-cart .wp-block-woocommerce-filled-cart-block,
  body.woocommerce-cart .wc-block-cart,
  body.woocommerce-cart .wc-block-cart__sidebar {
    min-height: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.woocommerce-cart .wp-block-woocommerce-filled-cart-block {
    display: block !important;
  }
  body.woocommerce-cart .wc-block-cart__totals-title,
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block h2 {
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: .04em;
  }
  body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block { margin-top: 14px !important; }

  /* --- 5. Default blue WooCommerce button -> theme colour, full width --- */
  body.woocommerce-cart .wc-block-cart__submit-button,
  body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
  body.woocommerce-checkout .wc-block-components-button.wc-block-checkout__place-order-button,
  body.woocommerce-cart .wc-block-components-button:not(.is-link):not(.is-small),
  body.woocommerce-checkout .wc-block-components-button:not(.is-link):not(.is-small) {
    background: var(--clay) !important;
    background-image: linear-gradient(135deg, #c2633a, #9d4423) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 12px !important;
    font-family: var(--body) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    min-height: 46px !important;
    width: 100% !important;
    box-sizing: border-box;
    box-shadow: 0 8px 20px -12px rgba(142, 62, 30, .8);
  }
  body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block { margin: 12px 0 4px !important; }

  /* --- 6. Footer chips stay clear of the 3 floating buttons --- */
  body.woocommerce-cart .ywt-footer,
  body.woocommerce-checkout .ywt-footer { padding-bottom: 92px !important; }
  body.woocommerce-cart .ywt-footer li:not(:has(a)),
  body.woocommerce-checkout .ywt-footer li:not(:has(a)) {
    max-width: calc(100% - 78px) !important;
  }
}

/* =========================================================
   v1.8.0 — two price plans (cart only)
   v1.8.2 — whole vehicle = quantity 1, all quantity locks removed
   ========================================================= */
.ywt-price-suffix { font-size: 11px; font-weight: 500; color: var(--muted, #6b7a76); }
.ywt-plans {
  margin: 16px 0 22px;
  padding: 18px;
  border: 1px solid rgba(20, 32, 30, .10);
  border-radius: var(--glass-radius, 14px);
  background: rgba(255, 255, 255, .60);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -18px rgba(20, 32, 30, .55);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink, #14201e);
}
.ywt-plans__head {
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted, #6b7a76);
}
.ywt-plans__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ywt-plan {
  padding: 14px 16px;
  border: 1px solid rgba(20, 32, 30, .10);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}
.ywt-plan--vehicle { border-color: rgba(194, 99, 58, .28); }
.ywt-plan--person  { border-color: rgba(11, 122, 92, .28); }
.ywt-plan__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.ywt-plan--vehicle .ywt-plan__tag { background: rgba(194, 99, 58, .13); color: #9d4423; }
.ywt-plan--person  .ywt-plan__tag { background: rgba(11, 122, 92, .12); color: #0b7a5c; }
.ywt-plan__price { margin-bottom: 8px; font-size: 15px; font-weight: 700; }
.ywt-plan p { margin: 0 0 10px; font-size: 12.5px; }
.ywt-plan__btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 9px;
  background: #0b7a5c;
  color: #fff !important;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
}
.ywt-plan__hint { font-size: 11.5px; color: var(--muted, #6b7a76); }
.ywt-plans__quotes {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 32, 30, .08);
  font-size: 12.5px;
}
.ywt-plans__quotes > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0;
}
.ywt-plans__quotes strong { color: #9d4423; white-space: nowrap; }
.ywt-plans__quotes small { color: var(--muted, #6b7a76); }
.ywt-cart-pp {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted, #6b7a76);
}
.ywt-plans__lead { margin: -6px 0 12px; font-size: 12.5px; color: var(--muted, #6b7a76); }
.ywt-plan { position: relative; cursor: pointer; transition: box-shadow .18s, border-color .18s; }
.ywt-plan:hover { border-color: rgba(11, 122, 92, .45); }
.ywt-plan__input { position: absolute; opacity: 0; pointer-events: none; }
.ywt-plan__radio {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(20, 32, 30, .28);
  border-radius: 50%;
  background: #fff;
}
.ywt-plan.is-selected { box-shadow: 0 0 0 2px rgba(11, 122, 92, .55); }
.ywt-plan--vehicle.is-selected { box-shadow: 0 0 0 2px rgba(194, 99, 58, .60); }
.ywt-plan.is-selected .ywt-plan__radio {
  border-color: #0b7a5c;
  background: radial-gradient(circle, #0b7a5c 0 5px, #fff 6px);
}
.ywt-plan--vehicle.is-selected .ywt-plan__radio {
  border-color: #9d4423;
  background: radial-gradient(circle, #9d4423 0 5px, #fff 6px);
}
.ywt-plan__price small { font-size: 11.5px; font-weight: 500; color: var(--muted, #6b7a76); }
.ywt-plan__tag { padding-right: 26px; }
.ywt-plans__action {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(11, 122, 92, .07);
  font-size: 12.5px;
}
.ywt-plans__action small { display: block; margin-top: 6px; color: var(--muted, #6b7a76); }
.ywt-plans__action small[hidden] { display: none; }
.ywt-plans__action small b { color: #9d4423; }
#ywt-qty-hint { color: #9d4423; }
.ywt-plans__action[hidden] { display: none; }
/* Both plans are real, payable prices - never hide checkout for Option A. */
@media (max-width: 720px) {
  .ywt-plans { padding: 13px 14px; }
  .ywt-plans__grid { grid-template-columns: 1fr; }
  .ywt-plan { padding: 12px 13px; }
}

/* =========================================================
   v1.8.3 — product page: give the add-to-cart row room to breathe
   on phones. It sat tight under the WhatsApp card and looked
   cramped / too high in the visual hierarchy.
   ========================================================= */
@media (max-width: 720px) {
  body.single-product .ywt-prebook { margin-bottom: 26px !important; }
  body.single-product form.cart {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin: 26px 0 0 !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(20, 32, 30, .10);
    box-sizing: border-box;
  }
  body.single-product form.cart .quantity { flex: 0 0 82px; margin: 0 !important; }
  body.single-product form.cart .quantity input.qty {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 6px !important;
    border: 1px solid rgba(20, 32, 30, .16) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--ink, #14201e) !important;
    font-size: 16px !important;
    text-align: center;
    box-sizing: border-box;
  }
  body.single-product form.cart .single_add_to_cart_button {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 48px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--clay, #c2633a) !important;
    background-image: linear-gradient(135deg, #c2633a, #9d4423) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .02em;
    box-shadow: 0 10px 20px -14px rgba(157, 68, 35, .95);
  }
  body.single-product .product_meta { margin-top: 22px !important; }
}

/* YWT mobile compact 20261124 */
/* YWT homepage mobile compact — overrides, homepage only, phones only.
   Goal: shorten the long homepage without touching desktop or theme logic. */
@media (max-width: 720px) {
  /* 1. Tighter section rhythm across the whole homepage */
  main.ywt-main--home > .ywt-section { padding: 22px 0 !important; }
  main.ywt-main--home .ywt-sec__head,
  main.ywt-main--home .ywt-center { margin-top: 10px !important; margin-bottom: 14px !important; }

  /* 2. Regions: "Choose a region, we handle everything else"
     The inline style="margin-bottom:56px" on .ywt-center is the main culprit. */
  main.ywt-main--home .ywt-sec--regions .ywt-center { margin-bottom: 16px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-eyebrow { margin-bottom: 5px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-h2 { font-size: 23px !important; line-height: 1.2 !important; margin-bottom: 6px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-center .ywt-lede {
    display: -webkit-box !important; -webkit-line-clamp: 2 !important; -webkit-box-orient: vertical !important;
    overflow: hidden !important; font-size: 12.5px !important; line-height: 1.5 !important; margin: 0 auto !important;
  }
  /* Region cards: shorter image, drop subtitle, keep one line of copy */
  main.ywt-main--home .ywt-sec--regions .ywt-grid--3 { padding: 8px 19% 10px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-card__media { aspect-ratio: 16 / 9 !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-card__body { padding: 10px 12px 12px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-card__kicker { font-size: 8.5px !important; margin-bottom: 3px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-card h3 { font-size: 16px !important; margin-bottom: 4px !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-card p.ywt-card__subtitle { display: none !important; }
  main.ywt-main--home .ywt-sec--regions .ywt-card p:not(.ywt-card__subtitle) {
    display: -webkit-box !important; -webkit-line-clamp: 1 !important; -webkit-box-orient: vertical !important;
    overflow: hidden !important; font-size: 11px !important; line-height: 1.45 !important; margin-bottom: 7px !important;
  }
  main.ywt-main--home .ywt-sec--regions .ywt-card__link { font-size: 10px !important; }

  /* 3. Fixed departures: the 44px inline header gap + tall product cards */
  main.ywt-main--home .ywt-sec--tours .ywt-wrap > div:first-child { margin-bottom: 14px !important; gap: 10px !important; }
  main.ywt-main--home .ywt-sec--tours .ywt-h2 { font-size: 23px !important; }
  main.ywt-main--home .ywt-tours ul.products { padding: 8px 19% 10px !important; }
  main.ywt-main--home .ywt-tours ul.products li.product a img { aspect-ratio: 16 / 9 !important; }
  main.ywt-main--home .ywt-tours .ywt-tour-meta { padding: 6px 12px 0 !important; font-size: 9.5px !important; }
  main.ywt-main--home .ywt-tours ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; padding: 10px 12px 0 !important; }
  main.ywt-main--home .ywt-tours ul.products li.product .price { font-size: 13px !important; padding: 4px 12px 0 !important; }
  main.ywt-main--home .ywt-tours ul.products li.product .button { margin: 9px 12px 12px !important; font-size: 11px !important; padding: 10px 8px !important; }

  /* 4. Compass tiles above regions */
  main.ywt-main--home .ywt-compass { padding: 14px 18px 8px !important; }
  main.ywt-main--home .ywt-compass__hd { margin-bottom: 9px !important; }
  main.ywt-main--home .ywt-compass__tile { min-height: 78px !important; padding: 11px 12px 10px !important; }
  main.ywt-main--home .ywt-compass__tile--wide { min-height: 62px !important; }
  main.ywt-main--home .ywt-compass__ico { font-size: 20px !important; margin-bottom: 7px !important; }
  main.ywt-main--home .ywt-compass__t { font-size: 17px !important; }

  /* 5. Real reviews module now sits AFTER the quote form on the homepage.
     The form is order:10, so push the reviews block (a direct child of
     .ywt-main--home) to order:11 and hide the vacated native #reviews. */
  .ywt-main--home > #reviews { display: none !important; }
  main.ywt-main--home > #ywt-real-reviews { order: 11 !important; }
  #ywt-real-reviews { padding: 26px 16px 30px !important; }
  #ywt-real-reviews h2 { font-size: 22px !important; }
  #ywt-real-reviews .sub { margin-bottom: 18px !important; }
  #ywt-real-reviews .shot { height: 170px !important; }
  #ywt-real-reviews .cap { padding: 11px 13px 13px !important; }
  #ywt-real-reviews .cap p { font-size: 11.5px !important; line-height: 1.55 !important;
    display: -webkit-box !important; -webkit-line-clamp: 4 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
  #ywt-real-reviews .videos { margin-top: 22px !important; }
  #ywt-real-reviews .vthumb { max-height: 190px !important; }
}
