/* =========================================================
   Talay Trang — เช่าเรือเที่ยวทะเลตรัง
   v2: layout system, tight spacing, premium travel look
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --c-ink:        #0a2740;
  --c-ink-soft:   #36546f;
  --c-muted:      #7a90a3;
  --c-line:       #e5edf3;
  --c-bg:         #ffffff;
  --c-bg-soft:    #f3f9fc;
  --c-bg-deep:    #e8f4f9;

  --c-ocean:      #0277bd;
  --c-ocean-dark: #014a73;
  --c-ocean-deep: #002a40;
  --c-sky:        #00b8e6;
  --c-teal:       #00acc1;
  --c-aqua:       #b3e5fc;
  --c-sand:       #fff5db;

  --c-line-green: #06c755;
  --c-line-dark:  #04a546;
  --c-call:       #ff7a00;
  --c-call-dark:  #e36a00;

  /* Type — Display: DB Adman X (LK3) · Body: IBM Plex Sans Thai Looped */
  /* Primary: SF Pro TH (Local, รองรับไทย+อังกฤษ)
     Fallback chain: system fonts ของแต่ละ OS → IBM Plex Sans Thai Looped */
  --font-base:    'SF Pro TH', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'IBM Plex Sans Thai Looped', 'Sarabun', system-ui, sans-serif;
  --font-display: 'SF Pro TH', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'IBM Plex Sans Thai Looped', 'Sarabun', system-ui, sans-serif;
  /* ฟอนต์เฉพาะแบรนด์ (DB Adman X) — ใช้กับ logo/wordmark เฉพาะ ไม่ใช่ทั้งเว็บ */
  --font-brand:   'DB Adman X', var(--font-display);

  /* Radii / Shadows */
  --r-sm:   8px;
  --r-md:   14px;
  --r-card: 20px;
  --r-lg:   24px;
  --r-full: 999px;

  --sh-sm: 0 2px 10px rgba(2, 65, 100, 0.06);
  --sh-md: 0 12px 32px rgba(2, 65, 100, 0.10);
  --sh-lg: 0 28px 60px rgba(2, 65, 100, 0.16);

  /* Layout */
  --container: 1180px;
  --gutter:    20px;
  --section-y: 56px;
  --header-h:  64px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
    --section-y: 80px;
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-aqua); color: var(--c-ocean-deep); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 .4em;
  color: var(--c-ink);
  /* Thai-aware line wrapping
     - text-wrap: balance → กระจายข้อความให้แต่ละบรรทัดยาวใกล้กัน (ลด orphan)
     - word-break: keep-all → ภาษาไทยใช้ space คั่นวลี → break เฉพาะที่ space (ไม่ตัดกลางวลี)
     - overflow-wrap: anywhere → fallback ถ้าวลีเดียวยาวเกิน container
     - line-break: strict → ใช้กฎ break ของ CJK/Thai */
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
  -webkit-hyphens: none;
          hyphens: none;
}
/* เนื้อหารายละเอียด — IBM Plex Looped เสมอ */
p, .lead, .muted, .muted-sm, .program-desc, .program-route, .review-text,
.contact-list span, .field label, .pick-desc, .pick-route, .addon-desc,
.cart-row, .cart-line small, .faq-item p, .boat-info li, .boat-info p {
  font-family: var(--font-base);
}
/* Paragraph — pretty wrap + คงการ break ปกติ (ภาษาไทยจะ break ที่ space ที่มีอยู่จริง) */
p, .lead {
  text-wrap: pretty;
  word-break: normal;
  overflow-wrap: break-word;
  line-break: strict;
}
h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.35rem); }
p  { margin: 0 0 1em; }

/* Heading ที่ต้องการบังคับให้อยู่บรรทัดเดียวบน desktop (เช่น hero CTA)
   บน mobile ปล่อย wrap ตามปกติ เพื่อกัน overflow viewport */
.cta-headline-nowrap { max-width: none; }
@media (min-width: 768px) {
  .cta-headline-nowrap {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  color: var(--c-teal);
  text-transform: uppercase;
  margin-bottom: .8rem;
}
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--c-ink-soft); }
.muted { color: var(--c-muted); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section-soft { background: var(--c-bg-soft); }
.section-deep {
  background: linear-gradient(135deg, #002a40 0%, #004061 70%, #015681 100%);
  color: #e6f4fb;
}
.section-deep h1, .section-deep h2, .section-deep h3 { color: #fff; }
.section-deep .lead, .section-deep .muted { color: #b9d4e4; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 48px);
  text-align: center;
}
.section-head.left { margin-left: 0; margin-right: auto; text-align: left; }
.section-head h2 { margin-bottom: .5rem; }
.section-head-wide { max-width: none; }
.section-head-wide .lead { max-width: none; white-space: normal; }
@media (min-width: 900px) {
  .section-head-wide .lead { white-space: nowrap; }
}

/* ---------- Grid system ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
/* Tighter gap on small phones so 2 columns breathe */
@media (max-width: 520px) {
  .grid-3, .grid-4 { gap: 12px; }
}

/* ---------- Mobile slider (grid → horizontal scroll ทีละ 1 ใบ) ---------- */
.slider-dots { display: none; }
@media (max-width: 767px) {
  .grid.mobile-slider {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    padding: 8px 20px 16px;
    margin-inline: calc(var(--gutter) * -1);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .grid.mobile-slider::-webkit-scrollbar { display: none; }
  .grid.mobile-slider > * {
    flex: 0 0 calc(100% - 56px);  /* ~28px peek ของใบถัดไป */
    scroll-snap-align: start;
    min-width: 0;
  }
  /* Dots indicator */
  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
  }
  .slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 24, 40, .22);
    padding: 0;
    cursor: pointer;
    transition: background .25s ease, width .25s ease, border-radius .25s ease;
    line-height: 0;
  }
  .slider-dots button.is-active {
    background: var(--c-ocean);
    width: 26px;
    border-radius: 999px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: var(--r-full);
  font-family: var(--font-base);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn-line {
  background: var(--c-line-green);
  color: #fff;
  box-shadow: 0 10px 22px rgba(6, 199, 85, .32);
}
.btn-line:hover { background: var(--c-line-dark); box-shadow: 0 14px 26px rgba(6, 199, 85, .42); }

.btn-call {
  background: var(--c-call);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 122, 0, .32);
}
.btn-call:hover { background: var(--c-call-dark); }

.btn-primary {
  background: var(--c-ocean);
  color: #fff;
  box-shadow: 0 10px 22px rgba(2, 119, 189, .26);
}
.btn-primary:hover { background: var(--c-ocean-dark); }

.btn-ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.5);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); }

.btn-outline {
  background: #fff;
  color: var(--c-ocean-dark);
  border: 1.5px solid var(--c-line);
}
.btn-outline:hover { border-color: var(--c-ocean); color: var(--c-ocean); }

.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.04);
  z-index: 50;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-transparent {
  background: transparent;
  border-color: transparent;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(2,65,100,.08); }

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-text {
  display: none;
  flex-direction: column;
  line-height: 1.15;
  color: var(--ink);
}
.brand-text strong {
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-text small {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}
.brand-text--footer {
  display: flex;
  color: #fff;
}
.brand-text--footer small { color: rgba(255, 255, 255, .72); }
@media (min-width: 900px) {
  .brand-text { display: flex; }
}
.site-header.is-transparent .brand-text {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .35);
}
.site-header.is-transparent .brand-text small {
  color: rgba(255, 255, 255, .85);
}
.brand-logo {
  display: block;
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: filter .25s var(--ease), height .25s var(--ease);
}
@media (min-width: 768px) {
  .brand-logo { height: 42px; max-width: 200px; }
}

/* โลโก้บน hero โปร่งใส (พื้นสว่างจากภาพแบนเนอร์) — โลโก้ต้นฉบับสีน้ำเงิน อ่านได้ดีอยู่แล้ว */
.site-header.is-transparent .brand-logo {
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, .55));
}

/* footer logo: ทำให้เป็นโทนขาวเพราะ footer พื้นเข้ม */
.brand-footer .brand-logo {
  filter: brightness(0) invert(1);
  height: 40px;
}

.nav-menu {
  display: none;
  gap: clamp(.6rem, 1.2vw, 1.2rem);
  align-items: center;
}
.nav-link {
  position: relative;
  padding: .5rem .15rem;
  font-size: .94rem;
  font-weight: 500;
  color: var(--c-ink);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content:'';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav-link:hover { color: var(--c-ocean); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--c-ocean); }
.site-header.is-transparent .nav-link.active { color: #fff; }

.nav-cta { display: none; }
.nav-toggle {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--c-line);
}
.site-header.is-transparent .nav-toggle {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 1024px) {
  .nav-menu { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 30, 50, .55);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 60;
}
.nav-drawer.is-open { opacity: 1; pointer-events: auto; }
.nav-drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  background: #fff;
  padding: 24px 22px 32px;
  display: flex; flex-direction: column; gap: 1.2rem;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  overflow-y: auto;
}
.nav-drawer.is-open .nav-drawer-panel { transform: translateX(0); }
.nav-drawer-close {
  align-self: flex-end;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--c-bg-soft);
}
.drawer-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  text-decoration: none;
  gap: 12px;
}
.drawer-link > span:first-child,
.drawer-link {
  /* ป้องกัน label หดจน text wrap แปลกๆ */
  white-space: nowrap;
}
.drawer-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-muted);
}
.drawer-link.active { color: var(--c-ocean); font-weight: 600; }
.drawer-link.active svg { color: var(--c-ocean); }
.drawer-foot { display: flex; gap: .6rem; margin-top: auto; }
.drawer-foot .btn { flex: 1; justify-content: center; }

/* ---------- Hero Banner Slider (home) ---------- */
.banner-slider {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);
  overflow: hidden;
  line-height: 0;
  background: #001626;
}
/* Desktop: ใช้ aspect-ratio ของภาพจริง (2078x757) */
@media (min-width: 769px) {
  .banner-slider {
    aspect-ratio: 2078 / 757;
    max-height: 78vh;
    min-height: 360px;
  }
}
.banner-slider.has-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(0, 18, 30, .15) 0%,
    rgba(0, 18, 30, .35) 35%,
    rgba(0, 18, 30, .55) 65%,
    rgba(0, 18, 30, .85) 100%
  );
  z-index: 3;
}
/* Stack slides on top of each other เพื่อ crossfade ระหว่างภาพ */
.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 1px;
}
.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  pointer-events: none;
}
.banner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  vertical-align: top;
}
/* Mobile: ความสูงคงที่ ใช้กับ has-overlay (และไม่มี has-overlay ด้วย) */
@media (max-width: 768px) {
  .banner-slider { height: 480px; }
  .banner-slider.has-overlay { height: 480px; }
}
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 7;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 24, 40, .18);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 16px rgba(0, 24, 40, .12);
  color: var(--c-ink);
  cursor: pointer;
}
.banner-arrow:hover { background: #fff; }
.banner-arrow:focus-visible { outline: 2px solid var(--c-ocean); outline-offset: 3px; }
.banner-arrow svg { width: 22px; height: 22px; }
.banner-arrow.prev { left: 14px; }
.banner-arrow.next { right: 14px; }
@media (min-width: 768px) {
  .banner-arrow { width: 48px; height: 48px; }
  .banner-arrow.prev { left: 20px; }
  .banner-arrow.next { right: 20px; }
}
/* Mobile: ซ่อนปุ่มซ้ายขวา ใช้ dots ที่ด้านล่างแทน */
@media (max-width: 768px) {
  .banner-slider.has-overlay .banner-arrow { display: none; }
}
.banner-slider[data-count="1"] .banner-arrow,
.banner-slider[data-count="1"] .banner-dots { display: none; }
/* ซ่อน dots บน desktop เมื่อมี overlay (ใช้ปุ่มซ้ายขวาแทน) */
@media (min-width: 769px) {
  .banner-slider.has-overlay .banner-dots { display: none; }
}
/* บนมือถือ → แสดง dots ที่ด้านล่าง เหนือขอบล่างเล็กน้อย */
@media (max-width: 768px) {
  .banner-slider.has-overlay .banner-dots {
    display: flex;
    bottom: 14px;
    z-index: 7;
  }
}
.banner-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  z-index: 7;
  display: flex;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}
.banner-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 24, 40, .25);
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 2px 8px rgba(0, 24, 40, .1);
  cursor: pointer;
  padding: 0;
}
.banner-dots button.is-active {
  background: var(--c-ocean);
  border-color: var(--c-ocean);
  width: 24px;
  border-radius: 999px;
}

/* หน้าแรก: ยังไม่เลื่อน — เฮดเดอร์โปร่งใส + เมนูสีเข้ม (ภาพอยู่ใต้เฮดเดอร์) */
.site-header.is-transparent.is-flush-top .nav-link,
.site-header.is-transparent.is-flush-top .nav-toggle { color: var(--c-ink); border-color: rgba(0,0,0,.12); }
.site-header.is-transparent.is-flush-top .nav-link.active { color: var(--c-ocean); }
.site-header.is-transparent.is-flush-top .brand-logo { filter: none; }

/* ---------- Banner Overlay (services on hero) ---------- */
.banner-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  padding: clamp(60px, 8vw, 110px) 0 clamp(28px, 4vw, 44px);
  line-height: 1.5;
  pointer-events: none;
}
.banner-overlay .container { pointer-events: auto; }
.overlay-head {
  text-align: center;
  color: #fff;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}
.overlay-logo {
  display: block;
  height: clamp(60px, 9vw, 120px);
  width: auto;
  max-width: min(560px, 90%);
  margin: 0 auto clamp(10px, 1.8vw, 22px);
  object-fit: contain;
}
.overlay-head h2 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 .5rem;
  text-shadow: 0 4px 22px rgba(0, 18, 30, .55);
}
.overlay-head p {
  color: rgba(255, 255, 255, .92);
  margin: 0;
  font-size: clamp(.86rem, 1.1vw, 1.05rem);
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(0, 18, 30, .55);
}

/* ---------- Pills overlay (glassmorphism + 2-row marquee เฉพาะมือถือ) ---------- */
/* Desktop: รวม pill ทั้งหมดเป็น flex เดียว แล้ว wrap แบบสมดุล (display: contents
   ทำให้ wrapper .pills-row / .pills-track ไม่กินกล่อง — children กลายเป็นลูกตรงของ container) */
.service-pills.service-pills--overlay {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 8px;
  padding: 4px 0 14px;
  margin: 0 auto;
  max-width: 100%;
}
.service-pills.service-pills--overlay .pills-row,
.service-pills.service-pills--overlay .pills-track {
  display: contents;
}
.service-pills.service-pills--overlay .pills-track > [aria-hidden="true"] { display: none; }

/* Mobile: marquee 2 แถว เลื่อนต่อเนื่อง */
@media (max-width: 1099.98px) {
  .service-pills.service-pills--overlay {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
  }
  .service-pills.service-pills--overlay .pills-row {
    display: block;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
  }
  .service-pills.service-pills--overlay .pills-track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px 12px;
    width: max-content;
    will-change: transform;
  }
  .service-pills.service-pills--overlay .pills-track > [aria-hidden="true"] { display: inline-flex; }
}
.service-pills.service-pills--overlay .service-pill {
  flex: 0 0 auto;
  white-space: nowrap;
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 18, 30, .25);
  /* Desktop: ย่อขนาดให้พอดี 2 แถว */
  padding: 8px 14px;
  font-size: .88rem;
  gap: 6px;
}
.service-pills.service-pills--overlay .service-pill svg { color: #fff; flex-shrink: 0; width: 16px; height: 16px; }
.service-pills.service-pills--overlay .service-pill:hover,
.service-pills.service-pills--overlay .service-pill:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--c-ocean);
  box-shadow: 0 14px 28px rgba(0, 18, 30, .35);
}
.service-pills.service-pills--overlay .service-pill:hover svg,
.service-pills.service-pills--overlay .service-pill:focus-visible svg { color: var(--c-ocean); }

/* Mobile: marquee — เลื่อนต่อเนื่องด้วย CSS keyframes (สมูดด้วย GPU) */
@media (max-width: 1099.98px) {
  .banner-overlay {
    inset: 0;
    padding: 24px 0 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .banner-overlay .container {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .overlay-head { padding: 0 24px; margin: 0; }
  .overlay-logo { height: 64px; margin: 0 auto 10px; }
  .overlay-head h2 { font-size: 1.5rem; margin: 0 0 .4rem; }
  .overlay-head p { font-size: .9rem; max-width: 94%; margin: 0 auto; line-height: 1.55; }

  .service-pills.service-pills--overlay .service-pill {
    padding: 10px 18px;
    font-size: .95rem;
    gap: 8px;
    font-weight: 500;
  }
  .service-pills.service-pills--overlay .service-pill svg { width: 16px; height: 16px; }
}

/* Marquee animation — เฉพาะมือถือ (≤1099px) */
@media (max-width: 1099.98px) {
  .service-pills.service-pills--overlay .pills-row--top .pills-track {
    animation: pills-marquee 32s linear infinite;
  }
  .service-pills.service-pills--overlay .pills-row--bot .pills-track {
    animation: pills-marquee 30s linear infinite reverse;
  }
  .service-pills.service-pills--overlay:hover .pills-track,
  .service-pills.service-pills--overlay:focus-within .pills-track,
  .service-pills.service-pills--overlay.is-paused .pills-track {
    animation-play-state: paused;
  }
}
@keyframes pills-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 6px)); }
}

@media (max-width: 420px) {
  .banner-overlay { padding: 20px 0 44px; }
  .overlay-head h2 { font-size: 1.32rem; }
  .overlay-head p { font-size: .84rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .overlay-logo { height: 56px; }
  .service-pills.service-pills--overlay .service-pill { padding: 9px 16px; font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-pills.service-pills--overlay .pills-track { animation: none; }
  .banner-slide { transition: none; }
}

/* ---------- Hero (home, full bleed) ---------- */
.hero {
  position: relative;
  height: 520px;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
@media (min-width: 720px) { .hero { height: 620px; } }
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: kenburns 22s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 24, 40, .45) 0%, rgba(0, 24, 40, .15) 30%, rgba(0, 24, 40, .82) 100%);
}
/* hero-inner ใช้ความกว้างเดียวกับ .container (1180px)
   แล้วจำกัดเฉพาะ text column ของ children */
.hero-inner {
  padding-top: 90px;
  padding-bottom: clamp(36px, 6vw, 64px);
  width: 100%;
}
.hero-inner > .crumb,
.hero-inner > h1,
.hero-inner > .lead,
.hero-inner > .btn-row { max-width: 720px; }
.hero-inner > .hero-meta { max-width: 760px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5.6vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.hero h1 .stroke {
  color: var(--c-aqua);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
}
.hero .lead {
  color: rgba(255,255,255,.94);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 560px;
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.6rem;
  margin-top: 1.8rem;
  font-size: .82rem;
  color: rgba(255,255,255,.88);
}
.hero-meta strong { display: block; font-size: 1.3rem; color: #fff; font-weight: 700; }
@media (min-width: 720px) { .hero-meta { grid-template-columns: repeat(4, auto); gap: 1rem 2.4rem; } }

/* ---------- Hero sub (inner pages, center-text) ---------- */
.hero-sub {
  position: relative;
  height: 280px;
  display: flex; align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
@media (min-width: 720px) { .hero-sub { height: 360px; } }
.hero-sub .hero-media img { animation: none; }
.hero-sub::after {
  content:''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 24, 40, .50) 0%, rgba(0, 24, 40, .35) 50%, rgba(0, 24, 40, .70) 100%);
}
.hero-sub .hero-inner {
  padding-top: var(--header-h);
  padding-bottom: 0;
  text-align: center;
}
.hero-sub .hero-inner > .crumb,
.hero-sub .hero-inner > h1,
.hero-sub .hero-inner > .lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4.4vw, 2.8rem);
  margin-bottom: .55rem;
  text-shadow: 0 4px 22px rgba(0, 18, 30, .55);
}
.hero-sub .lead {
  color: rgba(255,255,255,.92);
  margin-bottom: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* ---------- Feature blocks ---------- */
.feature { display: grid; gap: 14px; }
.feature .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--c-aqua) 0%, #ffffff 100%);
  color: var(--c-ocean);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin-bottom: 0;
}
.feature p { color: var(--c-ink-soft); margin: 0; }

/* ---------- Boat showcase (boats.html rows) ---------- */
.boat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--c-line);
}
.boat-row:first-child { padding-top: 0; }
.boat-row:last-child { border-bottom: 0; padding-bottom: 0; }
.boat-row.reverse .boat-media { order: -1; }
@media (min-width: 880px) {
  .boat-row { grid-template-columns: 1.1fr 1fr; }
  .boat-row.reverse { grid-template-columns: 1fr 1.1fr; }
  .boat-row.reverse .boat-media { order: 1; }
}
.boat-media {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--sh-md);
  background: #cfe6f0;
}
.boat-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.boat-row:hover .boat-media img { transform: scale(1.05); }
.boat-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.94);
  color: var(--c-ocean-dark);
  font-weight: 600;
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: var(--r-full);
}
.boat-info h2 { margin-bottom: .35rem; }
.boat-info .price { font-size: 1rem; color: var(--c-ocean); font-weight: 600; margin-bottom: 1rem; }
.boat-info .price strong { font-size: 1.5rem; }
.boat-info ul {
  list-style: none; padding: 0; margin: 0 0 1.4rem;
  display: grid; gap: .5rem;
}
.boat-info li {
  display: flex; align-items: flex-start; gap: .65rem;
  color: var(--c-ink-soft);
  font-size: .96rem;
}
.boat-info li::before {
  content: ''; display: block; flex: 0 0 18px; height: 18px; margin-top: 4px;
  background: var(--c-teal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") center/contain no-repeat;
}

/* ---------- Boat card (coupon / deal style) ---------- */
.boat-card {
  --pad: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(2, 119, 189, .14);
  border-radius: 16px;
  padding: var(--pad);
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: 0 2px 6px rgba(2, 65, 100, .06);
  overflow: hidden;
  isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.boat-card:hover,
.boat-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(2, 119, 189, .35);
  box-shadow: 0 14px 30px rgba(2, 65, 100, .14);
  outline: none;
}
.boat-card .coupon-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.boat-card .coupon-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(2,119,189,.12), rgba(0,172,193,.18));
  color: var(--c-ocean);
}
.boat-card .coupon-icon svg { width: 20px; height: 20px; }
.boat-card .coupon-head {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.boat-card h3 {
  font-family: var(--font-display);
  color: var(--c-ink);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.boat-card .coupon-info {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.4px solid rgba(0, 24, 40, .25);
  color: rgba(0, 24, 40, .55);
  font-size: .68rem;
  font-style: italic;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  margin-top: 1px;
}
.boat-card .coupon-sub {
  font-family: var(--font-base);
  color: var(--c-muted);
  font-size: .85rem;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.boat-card .coupon-divider {
  position: relative;
  height: 1px;
  margin: 4px -4px;
  border-top: 1.4px dashed rgba(2, 65, 100, .22);
}
.boat-card .coupon-divider::before,
.boat-card .coupon-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-bg-soft, #f4f8fb);
  transform: translateY(-50%);
}
.boat-card .coupon-divider::before { left: calc(var(--pad) * -1 - 8px); }
.boat-card .coupon-divider::after  { right: calc(var(--pad) * -1 - 8px); }
.section:not(.section-soft) .boat-card .coupon-divider::before,
.section:not(.section-soft) .boat-card .coupon-divider::after { background: #fff; }
.boat-card .coupon-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.boat-card .brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-base);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--c-muted);
  text-transform: uppercase;
}
.boat-card .brand-chip svg { width: 14px; height: 14px; }
.boat-card .coupon-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.boat-card .coupon-meta .cap {
  font-size: .76rem;
  color: var(--c-muted);
  font-family: var(--font-base);
}
.boat-card .coupon-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(2, 119, 189, .10);
  color: var(--c-ocean);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.boat-card .coupon-cta svg { width: 14px; height: 14px; }
.boat-card:hover .coupon-cta { background: var(--c-ocean); color: #fff; }

/* ---------- Deal card (Traveloka-style) ---------- */
.deal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-ink);
  border: 1px solid rgba(0, 24, 40, .06);
  box-shadow: 0 2px 8px rgba(0, 24, 40, .06);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.deal-card:hover,
.deal-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 24, 40, .14);
  outline: none;
}
.deal-card .deal-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #cfe6f0;
}
.deal-card .deal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.deal-card:hover .deal-media img { transform: scale(1.06); }
.deal-card .deal-badge-tl,
.deal-card .deal-badge-tr {
  position: absolute;
  top: 12px;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.deal-card .deal-badge-tl {
  left: 12px;
  background: var(--c-ocean);
  color: #fff;
}
.deal-card .deal-badge-tr {
  right: 12px;
  background: #ef4444;
  color: #fff;
}
.deal-card .deal-badge-tr.is-hot { background: #f59e0b; }
.deal-card .deal-badge-tr.is-info { background: #10b981; }
.deal-card .deal-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  flex: 1;
}
.deal-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: var(--c-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-card .deal-sub {
  font-family: var(--font-base);
  font-size: .8rem;
  color: var(--c-muted);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-card .deal-stars {
  display: inline-flex;
  gap: 1px;
  color: #f59e0b;
  margin: 2px 0 0;
}
.deal-card .deal-stars svg { width: 13px; height: 13px; }
.deal-card .deal-rate {
  font-family: var(--font-base);
  font-size: .8rem;
  color: var(--c-ink-soft);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.deal-card .deal-rate strong { color: var(--c-ocean); font-weight: 700; font-size: .92rem; }
.deal-card .deal-rate .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-muted);
  display: inline-block;
  flex-shrink: 0;
}
.deal-card .deal-price {
  margin-top: auto;
  padding-top: 6px;
  line-height: 1;
}
.deal-card .deal-price small {
  display: block;
  font-size: .68rem;
  color: var(--c-muted);
  font-family: var(--font-base);
  margin-bottom: 4px;
}
.deal-card .deal-price s {
  font-size: .75rem;
  color: var(--c-muted);
  margin-right: 6px;
  font-family: var(--font-base);
}
.deal-card .deal-price strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #ef4444;
  font-weight: 700;
}

/* Compact deal-card sizing for narrow mobile (2-col grid) */
@media (max-width: 520px) {
  .deal-card { border-radius: 12px; }
  .deal-card .deal-body { padding: 10px 12px 12px; gap: 4px; }
  .deal-card h3 { font-size: .9rem; line-height: 1.25; }
  .deal-card .deal-sub { font-size: .72rem; }
  .deal-card .deal-stars svg { width: 11px; height: 11px; }
  .deal-card .deal-rate { font-size: .7rem; gap: 4px; }
  .deal-card .deal-rate strong { font-size: .82rem; }
  .deal-card .deal-price strong { font-size: 1rem; }
  .deal-card .deal-price small { font-size: .62rem; margin-bottom: 2px; }
  .deal-card .deal-badge-tl,
  .deal-card .deal-badge-tr { font-size: .65rem; padding: 3px 8px; top: 8px; }
  .deal-card .deal-badge-tl { left: 8px; }
  .deal-card .deal-badge-tr { right: 8px; }
}

/* ---------- Program card ---------- */
.program {
  background: #fff;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.program-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: #cfe6f0;
}
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.program:hover .program-media img { transform: scale(1.06); }
.program-media .ribbon {
  position: absolute; top: 14px; left: 14px;
  background: var(--c-sand);
  color: var(--c-ocean-dark);
  font-weight: 600;
  font-size: .76rem;
  padding: .3rem .7rem;
  border-radius: var(--r-full);
}
.program-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.program-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-route {
  font-size: .82rem;
  color: var(--c-ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-desc {
  font-size: .85rem;
  color: var(--c-ink-soft);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.program-meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px;
}
.program-meta span {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--c-bg-soft);
  color: var(--c-ink-soft);
  font-size: .74rem;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.program-meta svg { width: 13px; height: 13px; }
.program-foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--c-line);
}
.program-foot .price { color: var(--c-ocean); font-weight: 600; line-height: 1; }
.program-foot .price strong { font-size: 1.15rem; }
.program-foot .price small { color: var(--c-muted); font-weight: 400; display: block; font-size: .68rem; margin-bottom: 2px; }
.program-foot .btn-sm { padding: 6px 14px; font-size: .82rem; }
.program-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }

/* desktop ที่ 4 cols — แน่นขึ้น เลยขยาย padding/title สำหรับจอใหญ่ ๆ */
@media (min-width: 1280px) {
  .grid-4 .program-body { padding: 20px 20px 18px; }
  .grid-4 .program-body h3 { font-size: 1.15rem; }
}

/* ---------- Review card ---------- */
.review {
  background: #fff;
  padding: 24px;
  border-radius: var(--r-card);
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
  display: flex; flex-direction: column;
  gap: 1rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.stars { display: inline-flex; gap: 2px; color: #ffb300; }
.stars svg { width: 18px; height: 18px; }
.review-text { color: var(--c-ink); font-size: .96rem; line-height: 1.7; flex: 1; }
.review-foot { display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-ocean), var(--c-teal));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}
.review-foot strong { display: block; font-size: .94rem; }
.review-foot span { font-size: .8rem; color: var(--c-muted); }

/* ---------- Articles (Blog) ---------- */
.article-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .article-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(2, 65, 100, .08);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  border: 1px solid var(--c-line);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(2, 65, 100, .14);
}
.article-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.article-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.article-card:hover .article-card-media img { transform: scale(1.04); }

.article-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, .94);
  color: var(--c-ocean-dark);
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.article-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.article-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
  margin: 0;
  color: var(--c-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card-body p {
  color: var(--c-muted);
  font-size: .88rem;
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--c-muted);
}
.article-meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-muted);
  opacity: .6;
}
.article-meta.light { color: rgba(255, 255, 255, .92); }
.article-meta.light .dot { background: rgba(255, 255, 255, .8); }

/* ---------- Article detail page ---------- */
.article-detail { background: #fff; }
.article-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  margin-top: var(--header-h);
}
.article-hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.article-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.article-hero::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 18, 30, .35) 0%, rgba(0, 18, 30, .55) 60%, rgba(0, 18, 30, .82) 100%);
}
.article-hero-inner {
  padding: clamp(60px, 8vw, 90px) 0 clamp(28px, 4vw, 44px);
}
.article-hero-inner > h1,
.article-hero-inner > .article-meta {
  max-width: 820px;  /* จำกัดเฉพาะตัวอักษรเพื่ออ่านง่าย ไม่ครอบทั้ง section */
}
.article-hero-inner .article-tag {
  position: static;
  display: inline-block;
  margin-bottom: 14px;
}
.article-hero-inner h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.18;
  margin: 0 0 14px;
  text-shadow: 0 4px 22px rgba(0, 18, 30, .55);
}
.crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .9);
  text-decoration: none;
  font-size: .88rem;
  padding: 6px 12px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 18px;
  transition: background .2s var(--ease);
}
.crumb-link:hover { background: rgba(255, 255, 255, .22); color: #fff; }

.article-body {
  /* ใช้ container เต็ม 1180px เหมือน header */
  padding-top: clamp(40px, 6vw, 60px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.article-content {
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--c-ink);
}
.article-content > * + * { margin-top: 1.1rem; }
.article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  line-height: 1.3;
  margin-top: 2.2rem !important;
  margin-bottom: .4rem;
  color: var(--c-ink);
  position: relative;
  padding-left: 16px;
}
.article-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: .35em;
  bottom: .25em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--c-ocean), var(--c-ocean-dark));
}
.article-content p { color: #2c3e50; }
.article-quote {
  margin: 1.6rem 0;
  padding: 18px 22px;
  background: var(--c-bg-soft);
  border-left: 4px solid var(--c-ocean);
  border-radius: 8px;
  font-style: italic;
  color: var(--c-ink);
  font-size: 1.04rem;
  line-height: 1.7;
}
.article-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.article-list li {
  position: relative;
  padding: 4px 0 4px 28px;
  color: #2c3e50;
  line-height: 1.7;
}
.article-list li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-ocean);
}
.article-figure {
  margin: 1.6rem 0;
  border-radius: var(--r-card);
  overflow: hidden;
}
.article-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.article-cta {
  margin-top: 48px;
  padding: 28px 24px 28px 32px;
  background: linear-gradient(135deg, #eaf5fc, #ffffff);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.article-cta > div:first-child { flex: 1 1 auto; min-width: 240px; }
.article-cta .btn-row { margin-left: auto; flex-shrink: 0; }
/* btn-ghost ในพื้น CTA สว่าง — สลับเป็น outline style ที่อ่านได้ */
.article-cta .btn-ghost {
  background: #fff;
  color: var(--c-ocean-dark);
  border: 1.5px solid var(--c-ocean);
}
.article-cta .btn-ghost:hover {
  background: var(--c-ocean);
  color: #fff;
  border-color: var(--c-ocean);
}
.article-cta h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 4px;
  color: var(--c-ink);
}
.article-cta p {
  margin: 0;
  color: var(--c-muted);
  font-size: .94rem;
}
@media (max-width: 600px) {
  .article-cta { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
  .article-cta .btn-row { width: 100%; }
  .article-cta .btn { flex: 1; justify-content: center; }
}

.article-related {
  margin-top: 56px;
  border-top: 1px solid var(--c-line);
  padding-top: 32px;
}
.article-related h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 20px;
  color: var(--c-ink);
}

/* ---------- Video grid ---------- */
.video-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.video-thumb {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  background: #001d2e;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  display: block;
}
.video-thumb:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .3s, transform .6s var(--ease); }
.video-thumb:hover img { opacity: 1; transform: scale(1.05); }
.video-thumb::after {
  content:''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,18,30,.85) 100%);
}
.video-thumb .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff;
  z-index: 1;
}
.video-thumb .play span {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.7);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.video-thumb:hover .play span { background: rgba(255,255,255,.32); transform: scale(1.1); }
.video-thumb .play svg { width: 22px; height: 22px; }
.video-thumb .meta {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  color: #fff;
  font-size: .8rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  z-index: 2;
}
.video-thumb .meta strong { font-weight: 500; flex: 1; min-width: 0; }
.video-thumb .meta strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; }
.video-thumb .meta .views { display: inline-flex; align-items: center; gap: 3px; opacity: .9; }
.video-thumb .meta svg { width: 14px; height: 14px; }

/* Social embed feeds (TikTok / Facebook) */
.embed-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}
.embed-grid--tiktok {
  grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
}
.embed-grid--facebook {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
  justify-content: center;
}
.embed-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.embed-card-body { display: flex; justify-content: center; background: var(--c-bg-soft); }
.embed-card-title {
  margin: 0;
  padding: 12px 16px 16px;
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.4;
}
.fb-video-wrap {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  line-height: 0;
}
.fb-video-wrap iframe {
  width: 100% !important;
  max-width: 100%;
  border-radius: 0;
}
.tiktok-iframe-wrap {
  width: 100%;
  max-width: 325px;
  margin: 0 auto;
  line-height: 0;
  background: #000;
}
.tiktok-iframe-wrap iframe {
  display: block;
  width: 100%;
  min-height: 738px;
  border: 0;
}
.embed-card-body--placeholder {
  width: 100%;
  max-width: 325px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
}
.embed-card-body--placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feed-more-wrap { margin-top: 8px; }
.feed-more-btn { min-width: 220px; }
.fb-page-embed {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.fb-page-layout {
  display: grid;
  gap: 24px;
  align-items: stretch;
}
@media (min-width: 960px) {
  .fb-page-layout {
    grid-template-columns: minmax(280px, 500px) minmax(0, 1fr);
    gap: 28px;
  }
}
.fb-page-iframe-wrap {
  width: 100%;
  max-width: 500px;
  min-height: 720px;
  height: 100%;
  margin: 0 auto;
  line-height: 0;
  background: #f0f2f5;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
}
@media (min-width: 960px) {
  .fb-page-iframe-wrap {
    margin: 0;
  }
}
.fb-page-loading {
  margin: 0;
  padding: 48px 20px;
  text-align: center;
  line-height: 1.5;
}
.fb-page-iframe-wrap .fb-page-iframe {
  display: block;
  width: 100% !important;
  max-width: 500px;
  min-height: 720px;
  border: 0;
}
.fb-page-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 720px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--r-card);
  border: 1px solid rgba(2, 119, 189, 0.12);
  box-shadow: var(--sh-md);
  background: linear-gradient(165deg, #f8fcff 0%, #ffffff 42%, #eef6fb 100%);
}
.fb-page-aside-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 119, 189, 0.14) 0%, transparent 70%);
  pointer-events: none;
}
.fb-page-aside-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 720px;
  padding: 28px 28px 24px;
}
.fb-page-aside-head {
  margin-bottom: 22px;
}
.fb-page-aside-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ocean);
  background: rgba(2, 119, 189, 0.1);
  border: 1px solid rgba(2, 119, 189, 0.15);
}
.fb-page-aside-title {
  margin: 12px 0 10px;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--c-ocean-deep);
  letter-spacing: -0.02em;
}
.fb-page-aside-lead {
  margin: 0;
  line-height: 1.65;
  color: var(--c-muted);
  font-size: .96rem;
}
.fb-aside-features {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}
.fb-aside-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(2, 119, 189, 0.08);
  box-shadow: 0 2px 8px rgba(2, 65, 100, 0.04);
  transition: border-color .2s, box-shadow .2s;
}
.fb-aside-feature:hover {
  border-color: rgba(2, 119, 189, 0.2);
  box-shadow: 0 6px 18px rgba(2, 65, 100, 0.08);
}
.fb-aside-feature-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e3f2fd, #fff);
  font-size: 1.15rem;
}
.fb-aside-feature strong {
  display: block;
  margin-bottom: 4px;
  font-size: .95rem;
  color: var(--c-ink);
}
.fb-aside-feature p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--c-muted);
}
.fb-aside-info {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: rgba(2, 119, 189, 0.05);
  border: 1px dashed rgba(2, 119, 189, 0.18);
}
.fb-aside-info-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: .88rem;
  line-height: 1.45;
}
.fb-aside-info-row > span:first-child {
  font-weight: 600;
  color: var(--c-ocean);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.fb-aside-info-row a {
  color: var(--c-ink);
  text-decoration: none;
  font-weight: 500;
}
.fb-aside-info-row a:hover {
  color: var(--c-ocean);
}
.fb-page-aside-cta {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 8px;
}
.fb-aside-btn-fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 959px) {
  .fb-page-aside,
  .fb-page-aside-inner {
    min-height: 0;
  }
  .fb-page-iframe-wrap {
    min-height: 560px;
  }
  .fb-page-iframe-wrap .fb-page-iframe {
    min-height: 560px;
  }
}
.fb-page-wrap {
  display: flex;
  justify-content: center;
  min-height: 320px;
  margin-bottom: 20px;
}
.fb-page-wrap .fb-page,
.fb-page-wrap .fb-page span,
.fb-page-wrap iframe {
  max-width: 100% !important;
}
.social-feed-empty,
.social-feed-hint {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--r-card);
  background: var(--c-bg-soft);
  border: 1.5px dashed var(--c-line);
}
.social-feed-hint {
  text-align: left;
  margin-bottom: 20px;
  border-style: solid;
  background: #fff;
}
.social-feed-empty p,
.social-feed-hint p { margin: 0 0 .5rem; }
.social-feed-empty p:last-child,
.social-feed-hint p:last-child { margin-bottom: 0; }
.social-feed-fb-card {
  margin-top: 16px;
  text-align: center;
}
.social-feed-fb-card .btn { margin-top: 12px; }

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  padding: 28px;
  border-radius: var(--r-card);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--sh-sm);
}
@media (min-width: 880px) { .trust { grid-template-columns: repeat(4, 1fr); padding: 36px; } }
.trust-cell { text-align: center; }
.trust-cell strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--c-ocean-dark);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.trust-cell span { font-size: .88rem; color: var(--c-muted); }

/* ---------- Service pills (แพ็คเกจทัวร์ตรัง) ---------- */
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
}
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid rgba(2, 119, 189, .12);
  color: var(--c-ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease),
              box-shadow .25s var(--ease),
              background .25s var(--ease),
              color .25s var(--ease),
              border-color .25s var(--ease);
  box-shadow: 0 1px 2px rgba(2, 65, 100, .04);
  white-space: nowrap;
}
.service-pill svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-ocean);
  transition: color .25s var(--ease);
}
.service-pill:hover,
.service-pill:focus-visible {
  background: var(--c-ocean);
  border-color: var(--c-ocean);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2, 119, 189, .28);
  outline: none;
}
.service-pill:hover svg,
.service-pill:focus-visible svg { color: #fff; }
.service-pill:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(2, 119, 189, .25); }
@media (max-width: 520px) {
  .service-pills { gap: 8px 10px; }
  .service-pill { padding: 10px 16px; font-size: .9rem; gap: 8px; }
  .service-pill svg { width: 18px; height: 18px; }
}

/* ---------- Steps row (จองอย่างไร 4 ขั้นตอน) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step-card .num {
  position: absolute;
  top: -10px; right: 18px;
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--c-bg-deep);
  line-height: 1;
  pointer-events: none;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: .35rem;
  position: relative;
}
.step-card p { font-size: .9rem; color: var(--c-ink-soft); margin: 0; position: relative; }
.step-card .badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-teal) 100%);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .8rem;
  box-shadow: 0 6px 14px rgba(2, 119, 189, .25);
}
.step-card .badge svg { width: 22px; height: 22px; }

/* ---------- Sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  padding: 10px max(env(safe-area-inset-left), 14px) calc(10px + env(safe-area-inset-bottom, 0px)) max(env(safe-area-inset-right), 14px);
  display: flex; gap: 10px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -10px 28px rgba(2,65,100,.08);
  transform: translateY(100%);
  transition: transform .35s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: .82rem 1rem; font-size: .94rem; }
@media (min-width: 1024px) { .sticky-cta { display: none; } }
@media (max-width: 1023.9px) {
  body.has-sticky { padding-bottom: 84px; }
}

/* ---------- Welcome popup (contact on entry) ---------- */
.welcome-popup {
  position: fixed;
  --tt-site-w: min(var(--container), 100vw - 2 * var(--gutter));
  --tt-side-space: calc((100vw - var(--tt-site-w)) / 2);
  top: 50%;
  right: max(10px, env(safe-area-inset-right));
  z-index: 45;
  width: min(168px, calc(var(--tt-side-space) - 14px));
  max-height: calc(100vh - 100px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: 0 16px 40px rgba(2, 65, 100, .14);
  opacity: 0;
  transform: translateY(calc(-50% + 12px)) scale(.96);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
  scrollbar-width: none;
}
.welcome-popup::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .welcome-popup .welcome-popup-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    overflow: visible;
  }
}
.welcome-popup.is-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}
.welcome-popup-fab {
  display: none;
}
.welcome-popup-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.welcome-popup-backdrop {
  display: none;
}
@media (max-width: 767px) {
  .welcome-popup {
    left: auto;
    right: max(12px, env(safe-area-inset-right));
    width: auto;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    top: auto;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    transform: translateY(8px) scale(.92);
    z-index: 46;
  }
  .welcome-popup-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background: rgba(8, 28, 44, .45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s var(--ease), visibility .25s;
  }
  .welcome-popup.is-expanded .welcome-popup-backdrop {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .welcome-popup.is-visible {
    transform: translateY(0) scale(1);
  }
  .welcome-popup-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--c-ocean) 0%, #015a8c 100%);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(2, 65, 100, .28);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
    position: relative;
    z-index: 1;
  }
  .welcome-popup-fab svg {
    width: 22px;
    height: 22px;
  }
  .welcome-popup-fab:active {
    transform: scale(.96);
  }
  .welcome-popup.is-expanded .welcome-popup-fab {
    box-shadow: 0 4px 14px rgba(2, 65, 100, .22);
  }
  .welcome-popup-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    width: min(260px, calc(100vw - 24px));
    max-height: min(70vh, calc(100vh - 160px - env(safe-area-inset-bottom, 0px)));
    overflow: auto;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: var(--r-md);
    box-shadow: 0 16px 40px rgba(2, 65, 100, .18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    pointer-events: none;
    scrollbar-width: none;
    z-index: 2;
  }
  .welcome-popup-panel::-webkit-scrollbar { display: none; }
  .welcome-popup.is-expanded .welcome-popup-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .welcome-popup-head {
    padding: 12px 14px 10px;
  }
  .welcome-popup-body {
    gap: 10px;
    padding: 12px 14px 14px;
  }
  .welcome-popup-call,
  .welcome-popup-line {
    padding: 11px 12px;
    gap: 10px;
  }
  .welcome-popup-call-num {
    font-size: .9rem;
  }
  .welcome-popup-line-title {
    font-size: .84rem;
  }
  .welcome-popup-line-id {
    font-size: .72rem;
  }
  .welcome-popup-qr-hint {
    font-size: .62rem;
  }
  .welcome-popup-hours-block {
    font-size: .68rem;
    padding: 10px 12px;
  }
}
.welcome-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 10px 8px;
  border-bottom: 1px solid var(--c-line);
}
.welcome-popup-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-ocean);
}
.welcome-popup-close {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-bg-soft);
  color: var(--c-ink-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.welcome-popup-close:hover {
  background: var(--c-line);
  color: var(--c-ink);
}
.welcome-popup-close svg { width: 13px; height: 13px; }
.welcome-popup-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}
.welcome-popup-call,
.welcome-popup-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.welcome-popup-call {
  background: linear-gradient(135deg, #fff5f3 0%, #fff 100%);
  border: 1px solid #ffd6cc;
  color: var(--c-ink);
}
.welcome-popup-call:hover {
  background: #fff0eb;
  border-color: #ffb9a8;
}
.welcome-popup-call-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4511e 0%, #e53935 100%);
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(229, 57, 53, .22);
}
.welcome-popup-call-icon svg { width: 15px; height: 15px; }
.welcome-popup-call-num {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  color: #c62828;
  white-space: nowrap;
  letter-spacing: -.01em;
  min-width: 0;
}
.welcome-popup-line {
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
  border: 1px solid #b8e6c8;
  color: var(--c-ink);
}
.welcome-popup-line:hover {
  background: #e8faf0;
  border-color: #7fd99a;
}
.welcome-popup-line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #06c755;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(6, 199, 85, .22);
}
.welcome-popup-line-icon svg { width: 17px; height: 17px; }
.welcome-popup-line-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.welcome-popup-line-title {
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  color: #0a7a36;
}
.welcome-popup-line-id {
  font-size: .62rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--c-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.welcome-popup-qr {
  padding-top: 2px;
  text-align: center;
}
.welcome-popup-qr-hint {
  margin: 0 0 6px;
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.welcome-popup-qr-frame {
  padding: 6px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: #fafcfd;
}
.welcome-popup-qr img {
  display: block;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 4px;
}
.welcome-popup-hours-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 -10px -10px;
  padding: 8px 10px 10px;
  border-top: 1px solid var(--c-line);
  background: var(--c-bg-soft);
  border-radius: 0 0 calc(var(--r-md) - 1px) calc(var(--r-md) - 1px);
  text-align: center;
}
.welcome-popup-hours-block span {
  font-size: .56rem;
  line-height: 1.4;
  color: var(--c-ink-soft);
}

/* =========================================================
   Booking page (v3) — Wizard flow + coupon cards + white cart
   ========================================================= */
.booking-section {
  background: #eef4f8;
  --bg-coupon: #eef4f8;
}

/* ----- Progress wizard ----- */
.booking-progress {
  display: flex; align-items: center; justify-content: center;
  list-style: none; padding: 0;
  margin: 0 auto 30px;
  max-width: 980px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.booking-progress::-webkit-scrollbar { display: none; }
.booking-progress .pip {
  display: inline-flex; align-items: center; gap: 10px;
  flex-shrink: 0;
  color: #94a4ae;
  font-size: .95rem; font-weight: 500;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.booking-progress .pip-num {
  display: grid; place-items: center;
  width: 32px; height: 32px;
  background: #d8e1e7;
  color: #fff;
  border-radius: 50%;
  font-size: .92rem; font-weight: 700;
  flex-shrink: 0;
  transition: all .25s var(--ease);
}
.booking-progress .pip.is-active {
  color: var(--c-ink);
  font-weight: 700;
}
.booking-progress .pip.is-active .pip-num {
  background: var(--c-ocean-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 65, 100, .28);
}
.booking-progress .pip.is-done {
  color: var(--c-ocean-dark);
}
.booking-progress .pip.is-done .pip-num {
  background: var(--c-ocean);
  color: #fff;
}
.booking-progress .pip-line {
  flex: 1; min-width: 30px; max-width: 120px;
  height: 2px;
  background: #d8e1e7;
  margin: 0 14px;
  border-radius: 2px;
  transition: background .25s var(--ease);
  list-style: none;
}
.booking-progress .pip-line.is-done {
  background: var(--c-ocean);
}

@media (max-width: 760px) {
  .booking-progress {
    justify-content: flex-start;
    padding: 0 4px 6px;
    margin-bottom: 22px;
  }
  .booking-progress .pip { font-size: .85rem; gap: 6px; }
  .booking-progress .pip-num { width: 28px; height: 28px; font-size: .82rem; }
  .booking-progress .pip-text { display: none; }
  .booking-progress .pip.is-active .pip-text {
    display: inline; font-size: .82rem;
  }
  .booking-progress .pip-line { min-width: 14px; max-width: 36px; margin: 0 6px; }
}

/* ----- Wizard step container ----- */
.wizard-step {
  display: none;
  animation: wizardFade .35s var(--ease);
}
.wizard-step.is-active {
  display: block;
}
@keyframes wizardFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wizard-nav {
  display: flex; justify-content: space-between; gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.wizard-nav > span:empty { width: 1px; height: 1px; }
.wizard-nav .btn {
  display: inline-flex; align-items: center; gap: 8px;
  flex: 1; min-width: 0;
}
@media (min-width: 640px) {
  .wizard-nav .btn { flex: 0 0 auto; min-width: 200px; justify-content: center; }
}
.wizard-nav .wizard-back {
  background: #fff;
  color: var(--c-muted);
  border: 1.5px solid var(--c-line);
  backdrop-filter: none;
}
.wizard-nav .wizard-back:hover {
  border-color: var(--c-ocean);
  color: var(--c-ocean-dark);
  background: #fff;
}
.wizard-nav .wizard-next {
  background: var(--c-ocean);
  color: #fff;
  box-shadow: 0 10px 22px rgba(2, 119, 189, .26);
}
.wizard-nav .wizard-next:hover { background: var(--c-ocean-dark); }
.wizard-nav .btn svg { flex-shrink: 0; }
.wizard-nav .btn {
  white-space: nowrap;          /* ห้ามตัดบรรทัด */
  padding-inline: 16px;
}
.wizard-next-detail { display: inline; }
/* มือถือ: ซ่อนรายละเอียดหลัง ":" — เหลือแค่ "ถัดไป →"
   และให้ next button กว้างกว่า back (back กระชับ, next สำคัญกว่า) */
@media (max-width: 639px) {
  .wizard-next-detail { display: none; }
  .wizard-nav { flex-wrap: nowrap; gap: 10px; }
  .wizard-nav .wizard-back {
    flex: 0 1 auto;
    padding-inline: 14px;
  }
  .wizard-nav .wizard-next {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }
}

.booking-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 1024px) {
  .booking-grid { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
  .booking-summary-wrap { position: sticky; top: calc(var(--header-h) + 20px); }
}

.form-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: var(--sh-sm);
}
.form-card + .form-card { margin-top: 18px; }
@media (min-width: 640px) {
  .form-card { padding: 28px 30px; }
}
.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
  padding-bottom: .25rem;
  margin: 0 0 .5rem;
  color: var(--c-ink);
}
.form-card h3 .optional {
  font-size: .8rem; font-weight: 400; color: var(--c-muted);
}
.form-card .muted-sm {
  margin: 0 0 1.1rem;
  font-size: .88rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.field { display: block; margin-bottom: 1rem; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: .88rem;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: .45rem;
}
.field label .req { color: #e53935; margin-left: 2px; }
.field label .field-hint {
  font-weight: 400;
  font-size: .78rem;
  color: var(--c-muted);
  margin-left: 4px;
}
.input, .select, .textarea {
  width: 100%;
  padding: .82rem 1rem;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--c-ocean);
  box-shadow: 0 0 0 4px rgba(2,119,189,.12);
}
.textarea { min-height: 100px; resize: vertical; }
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row.two { grid-template-columns: 1fr 1fr; } }

/* ----- Quantity stepper ----- */
.qty-stepper {
  display: flex; align-items: center; gap: 0;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 4px;
  height: 50px;
  width: 100%;
}
.qty-stepper .qty-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 0; background: #f1f7fb;
  color: var(--c-ocean-dark);
  font-size: 1.3rem; font-weight: 700;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
  flex-shrink: 0;
}
.qty-stepper .qty-btn:hover { background: var(--c-ocean); color: #fff; }
.qty-stepper .qty-btn:active { transform: scale(.95); }
/* wrapper รวม input + unit ให้อยู่ในช่องเดียวกัน */
.qty-stepper .qty-value {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.qty-stepper .qty-input {
  border: 0; outline: none;
  background: transparent;
  text-align: right;
  font-size: 1.05rem; font-weight: 600;
  font-family: var(--font-base);
  color: var(--c-ink);
  width: 3ch;
  padding: 0;
  -moz-appearance: textfield;
}
.qty-stepper .qty-input::-webkit-outer-spin-button,
.qty-stepper .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
.qty-stepper .qty-unit {
  font-size: .9rem;
  color: var(--c-muted);
  flex-shrink: 0;
}

/* ----- Pick grid (coupon-style cards) ----- */
.pick-grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .pick-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Outer wrapper — hosts the BORDER layer behind via ::before */
.pick {
  --pick-bot-h: 64px;
  --notch-r: 11px;
  --border-w: 1.5px;
  position: relative;
  display: block;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.pick input { position: absolute; opacity: 0; pointer-events: none; z-index: 2; }
.pick:hover { transform: translateY(-2px); }

/* BORDER layer — sits BEHIND .pick-card, slightly larger by --border-w, masked into a "coupon" shape concentric with .pick-card. The visible ring between the two masks IS the border that follows the coupon outline (including notch curves) */
.pick::before {
  content: '';
  position: absolute;
  inset: calc(-1 * var(--border-w));
  background: #cdd9e1;
  border-radius: calc(18px + var(--border-w));
  z-index: 0;
  pointer-events: none;
  transition: background .25s var(--ease);
  -webkit-mask:
    radial-gradient(circle calc(var(--notch-r) - var(--border-w)) at var(--border-w) calc(100% - var(--pick-bot-h) - var(--border-w)), transparent 99%, #000 100%),
    radial-gradient(circle calc(var(--notch-r) - var(--border-w)) at calc(100% - var(--border-w)) calc(100% - var(--pick-bot-h) - var(--border-w)), transparent 99%, #000 100%);
  mask:
    radial-gradient(circle calc(var(--notch-r) - var(--border-w)) at var(--border-w) calc(100% - var(--pick-bot-h) - var(--border-w)), transparent 99%, #000 100%),
    radial-gradient(circle calc(var(--notch-r) - var(--border-w)) at calc(100% - var(--border-w)) calc(100% - var(--pick-bot-h) - var(--border-w)), transparent 99%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.pick:hover::before { background: var(--c-sky); }
.pick:has(input:checked) {
  --border-w: 2px;
}
.pick:has(input:checked)::before { background: var(--c-ocean); }

/* Visible card body — coupon mask, NO border (border comes from ::before above) */
.pick-card {
  position: relative;
  z-index: 1;
  display: block;
  background: #fff;
  border-radius: 18px;
  transition: background .25s var(--ease);
  -webkit-mask:
    radial-gradient(circle var(--notch-r) at 0 calc(100% - var(--pick-bot-h)), transparent 99%, #000 100%),
    radial-gradient(circle var(--notch-r) at 100% calc(100% - var(--pick-bot-h)), transparent 99%, #000 100%);
  mask:
    radial-gradient(circle var(--notch-r) at 0 calc(100% - var(--pick-bot-h)), transparent 99%, #000 100%),
    radial-gradient(circle var(--notch-r) at 100% calc(100% - var(--pick-bot-h)), transparent 99%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.pick:has(input:checked) .pick-card {
  background: linear-gradient(180deg, #fafdff 0%, #fff 100%);
}

/* Grid container — pad so the slightly-larger ::before isn't clipped */
.pick-grid { padding: 4px 14px; margin: -4px -14px; }

/* Top section: thumb + body */
.pick-top {
  display: flex; gap: 14px;
  padding: 16px 18px 14px;
}
.pick-thumb {
  position: relative;
  width: 96px; height: 96px; flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #eaf3f9;
}
.pick-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.pick:hover .pick-thumb img { transform: scale(1.07); }
.pick-ribbon {
  position: absolute; top: 6px; left: 6px;
  padding: 3px 8px;
  background: linear-gradient(135deg, #f5a623, #f57c00);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  border-radius: var(--r-full);
  box-shadow: 0 4px 10px rgba(245, 124, 0, .35);
  letter-spacing: .02em;
}
.pick-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pick-tag {
  align-self: flex-start;
  padding: 3px 9px;
  background: #e8f5fd;
  color: var(--c-ocean-dark);
  font-size: .7rem; font-weight: 600; letter-spacing: .02em;
  border-radius: var(--r-full);
  margin-bottom: 2px;
}
.pick-title {
  font-family: var(--font-display);
  font-size: 1.06rem; line-height: 1.25; color: var(--c-ink);
  font-weight: 600;
}
.pick-meta { font-size: .8rem; color: var(--c-muted); }
.pick-desc {
  font-size: .82rem; color: #4a5d6a; line-height: 1.45;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; margin-top: 2px;
}
.pick-route {
  font-size: .82rem; color: var(--c-ocean-dark); line-height: 1.4; font-weight: 500;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; margin-top: 2px;
}

/* Dashed divider between top and bottom (the "perforation") */
.pick-divider {
  position: relative;
  margin: 0 10px;
  height: 0;
  border-top: 1.6px dashed #c8d6df;
}

/* Bottom section: price + CTA */
.pick-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 18px 16px;
  height: var(--pick-bot-h);
  box-sizing: border-box;
}
.pick-price small {
  display: block;
  font-size: .72rem;
  color: var(--c-muted);
  margin-bottom: 1px;
}
.pick-price strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--c-ocean-dark);
  letter-spacing: -0.01em;
}

.pick-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: #eaf5fc;
  color: var(--c-ocean-dark);
  border-radius: var(--r-full);
  font-size: .85rem; font-weight: 700;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.pick-cta svg { width: 14px; height: 14px; }
.pick-cta .cta-checked { display: none; align-items: center; gap: 4px; }
.pick:hover .pick-cta { background: #d8edfa; }
.pick:has(input:checked) .pick-cta {
  background: var(--c-ocean);
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 119, 189, .35);
}
.pick:has(input:checked) .pick-cta .cta-default { display: none; }
.pick:has(input:checked) .pick-cta .cta-checked { display: inline-flex; }

@media (max-width: 480px) {
  .pick { --pick-bot-h: 58px; }
  .pick-top { padding: 14px; gap: 12px; }
  .pick-thumb { width: 82px; height: 82px; }
  .pick-title { font-size: 1rem; }
  .pick-price strong { font-size: 1.06rem; }
  .pick-cta { padding: 8px 14px; font-size: .8rem; }
  .pick-divider { margin: 0 14px; }
  .pick-bot { padding: 10px 14px 14px; }
}

/* ----- Transport picker (modern, organized) ----- */
.transport-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .transport-grid { grid-template-columns: repeat(3, 1fr); } }

.transport-pick {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
  min-height: 84px;
}
.transport-pick input { position: absolute; opacity: 0; pointer-events: none; }
.transport-pick:hover {
  border-color: var(--c-sky);
  transform: translateY(-1px);
}
.transport-pick:has(input:checked) {
  border-color: var(--c-ocean);
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
  border-width: 2px;
  padding: 15px;
}

.transport-pick .t-icon {
  flex: 0 0 48px;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #eaf5fc;
  color: var(--c-ocean-dark);
  display: grid; place-items: center;
  align-self: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.transport-pick:has(input:checked) .t-icon {
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-ocean-dark) 100%);
  color: #fff;
}
.transport-pick .t-icon svg { width: 24px; height: 24px; }

.transport-pick .t-label {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding-right: 64px; /* เว้นที่ให้ pill มุมขวาบนไม่ทับ */
}
.transport-pick .t-label strong {
  font-weight: 600; font-size: .98rem; color: var(--c-ink);
  line-height: 1.25;
}
.transport-pick .t-label span {
  font-size: .78rem; color: var(--c-muted); line-height: 1.4;
}

/* price pill ปักมุมขวาบน absolute ออกจาก flex flow */
.transport-pick .t-price {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  background: #fff7e6;
  color: #c46a05;
  border-radius: var(--r-full);
  font-size: .74rem; font-weight: 700;
  line-height: 1.3;
  z-index: 1;
}
.transport-pick .t-price.t-free {
  background: #e6f7ed; color: #1e7a3a;
}
.transport-pick .t-price.t-muted {
  background: #f2f5f7; color: var(--c-muted);
}

/* Mobile: กระชับ — icon ซ้าย title ขวา ราคามุมบนขวา */
@media (max-width: 639px) {
  .transport-grid { gap: 10px; }
  .transport-pick {
    padding: 14px 14px 14px 14px;
    min-height: 0;
    gap: 12px;
    align-items: center;
    border-radius: 12px;
  }
  .transport-pick:has(input:checked) { padding: 13px; }
  .transport-pick .t-icon {
    flex: 0 0 40px;
    width: 40px; height: 40px;
    border-radius: 10px;
  }
  .transport-pick .t-icon svg { width: 20px; height: 20px; }
  .transport-pick .t-label { gap: 2px; padding-right: 58px; }
  .transport-pick .t-label strong { font-size: .94rem; line-height: 1.2; }
  .transport-pick .t-label span { font-size: .76rem; line-height: 1.4; }
  .transport-pick .t-price {
    top: 10px;
    right: 12px;
    font-size: .72rem;
    padding: 3px 9px;
  }
}

/* ----- Add-on options grid (icon-based, no checkbox) ----- */
.addon-grid {
  display: grid; gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) { .addon-grid { grid-template-columns: repeat(2, 1fr); } }

.addon {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid var(--c-line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.addon input { position: absolute; opacity: 0; pointer-events: none; }
.addon:hover {
  border-color: var(--c-sky);
  transform: translateY(-1px);
}
.addon:has(input:checked) {
  border-color: var(--c-ocean);
  background: linear-gradient(180deg, #f5fbff 0%, #ffffff 100%);
  border-width: 2px;
  padding: 13px 15px;
}

.addon-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #eaf5fc;
  color: var(--c-ocean-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.addon-icon svg { width: 22px; height: 22px; }
.addon:has(input:checked) .addon-icon {
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-ocean-dark) 100%);
  color: #fff;
}

.addon-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.addon-body strong { font-weight: 600; font-size: .95rem; color: var(--c-ink); line-height: 1.25; }
.addon-desc { font-size: .78rem; color: var(--c-muted); line-height: 1.4; }

.addon-price {
  font-size: .82rem; font-weight: 700;
  color: var(--c-ocean-dark);
  white-space: nowrap;
}

/* =========================================================
   Cart Summary — WHITE / Clean style
   ========================================================= */
.cart {
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: 0 14px 38px rgba(0, 24, 40, .08), 0 0 0 1px rgba(0, 24, 40, .04);
  position: relative;
  overflow: hidden;
}

.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--c-line);
}
.cart-head h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--c-ink);
  margin: 0;
}
.cart-count {
  font-size: .78rem;
  color: var(--c-ocean-dark);
  background: #eaf5fc;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-weight: 600;
}

/* Hero showcase */
.cart-hero {
  display: flex; gap: 12px; align-items: center;
  background: #f6fbff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 1rem;
}
.cart-hero img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}
.cart-hero-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-hero-body strong {
  font-family: var(--font-display); font-size: 1rem; color: var(--c-ink);
}
.cart-hero-body small { color: var(--c-muted); font-size: .82rem; }

/* Item lines */
.cart-items { display: flex; flex-direction: column; }
.cart-line {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--c-line);
  align-items: center;
}
.cart-line:last-child { border-bottom: 0; }
.line-icon {
  width: 30px; height: 30px;
  background: #eaf5fc;
  color: var(--c-ocean-dark);
  border-radius: 8px;
  display: grid; place-items: center;
}
.line-icon svg { width: 15px; height: 15px; }
.line-icon-strong {
  background: linear-gradient(135deg, var(--c-ocean) 0%, var(--c-ocean-dark) 100%);
  color: #fff;
}
.line-body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.line-body strong { font-size: .92rem; font-weight: 600; color: var(--c-ink); }
.line-body small { font-size: .76rem; color: var(--c-muted); }
.line-amt {
  font-size: .94rem; font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}
.line-pill {
  font-size: .7rem; font-weight: 700;
  color: #1e7a3a;
  background: #e6f7ed;
  padding: 4px 9px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.cart-line-base {
  margin-top: 4px;
  padding-top: 14px !important;
  border-top: 1.5px solid var(--c-line) !important;
  border-bottom: 0 !important;
}
.cart-line-base .line-amt {
  color: var(--c-ocean-dark);
  font-size: 1.06rem;
}

/* Empty state */
.cart-empty {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 16px;
  color: var(--c-muted);
  text-align: center;
  font-size: .88rem;
  line-height: 1.55;
}
.cart-empty-icon { color: #c5d2da; }

/* Subtotal breakdown */
.cart-subtotal {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid var(--c-line);
  display: flex; flex-direction: column; gap: 2px;
}
.cart-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .3rem 0;
  font-size: .88rem;
}
.cart-row span:first-child { color: var(--c-muted); }
.cart-row span:last-child { color: var(--c-ink); font-weight: 600; }

/* Grand total */
.cart-total {
  margin-top: 1.1rem; padding-top: 1.1rem;
  border-top: 1.5px dashed var(--c-line);
  display: flex; justify-content: space-between; align-items: baseline;
}
.cart-total-label {
  color: var(--c-muted);
  font-size: .95rem;
  font-weight: 500;
}
.cart-total-amount {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-ocean-dark);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.cart-total-amount small {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-ocean-dark);
}

.cart-actions {
  margin-top: 1.2rem;
  display: grid; gap: .55rem;
}
.cart-actions .btn-outline {
  border-color: var(--c-line);
  color: var(--c-ocean-dark);
}
.cart-note {
  margin-top: .9rem;
  font-size: .76rem;
  color: var(--c-muted);
  line-height: 1.55;
}

@media (max-width: 1023.9px) {
  .cart { padding: 18px; }
  .cart-total-amount { font-size: 1.7rem; }
}
.optional {
  font-size: .8rem; font-weight: 400; color: var(--c-muted);
  margin-left: 4px;
}

.field-error { color: #d63b3b; font-size: .82rem; margin-top: .3rem; display: none; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #d63b3b; }
.field.has-error .field-error { display: block; }

/* Toast */
.toast {
  position: fixed;
  left: 50%; bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--c-ink);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: var(--r-full);
  font-size: .92rem;
  z-index: 80;
  opacity: 0;
  transition: all .3s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Office / Contact ---------- */
.office {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 880px) { .office { grid-template-columns: 1fr 1.05fr; } }
.office-map {
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--sh-md);
  background: #cfe6f0;
}
.office-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.office-info h2 { margin-bottom: 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--c-bg-deep);
  color: var(--c-ocean-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list strong { display: block; }
.contact-list span { color: var(--c-ink-soft); font-size: .92rem; }

/* ---------- About story ---------- */
.story-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 200px 180px;
}
.story-grid img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--r-card);
}
.story-grid img:nth-child(1) { grid-row: 1 / span 2; }
@media (min-width: 720px) { .story-grid { grid-template-rows: 260px 200px; } }

/* ---------- Footer (Traveloka-inspired) ---------- */
.site-footer {
  background: #002a40;
  color: #b9d4e4;
  padding: 60px 0 24px;
  font-size: .92rem;
  line-height: 1.55;
}
.footer-grid {
  display: grid;
  gap: 36px 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.1fr; } }

.footer-col h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.footer-col h4.mt-block { margin-top: 1.8rem; }
.footer-col h5 {
  color: #fff;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  margin: 0 0 .7rem;
}

/* link lists */
.footer-links,
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}
.footer-links a,
.footer-social a {
  color: #b9d4e4;
  text-decoration: none;
  transition: color .2s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-links a:hover,
.footer-social a:hover { color: var(--c-aqua); }

/* social rows with colored icon chip */
.footer-social .ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  flex-shrink: 0;
  color: #fff;
}
.footer-social .ico svg { width: 14px; height: 14px; }
.footer-social .ico-fb   { background: #1877f2; }
.footer-social .ico-tt   { background: #000; }
.footer-social .ico-line { background: #06c755; }
.footer-social .ico-call { background: var(--c-ocean); }

/* --------- Col 1: Brand --------- */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col-brand .brand-footer {
  display: inline-flex;
}
.footer-col-brand .brand-logo { height: 44px; }

.footer-cta {
  margin-top: 18px;
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--c-ocean);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  margin-bottom: 24px;
  transition: background .2s, transform .2s;
  box-shadow: 0 6px 16px rgba(2,119,189,.25);
}
.footer-cta:hover { background: var(--c-ocean-dark, #015c92); transform: translateY(-2px); }
.footer-cta svg { width: 14px; height: 14px; }

.pay-block h5 { margin-bottom: 10px; }
.pay-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 320px;
}
.pay-chip {
  display: grid;
  place-items: center;
  height: 42px;
  padding: 6px 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform .2s var(--ease);
}
.pay-chip:hover { transform: translateY(-2px); }
.pay-chip img {
  display: block;
  max-width: 100%;
  max-height: 26px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --------- Col 4: contact card --------- */
.footer-contact-card {
  margin-top: 18px;
  padding: 16px 16px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
}
.footer-contact-card p {
  color: #b9d4e4;
  margin: 0 0 4px;
  font-size: .85rem;
}
.footer-contact-card .muted-thin { color: #7da0b8; font-size: .8rem; margin-bottom: 12px; }
.footer-contact-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-contact-buttons .btn { flex: 1; min-width: 100px; justify-content: center; }
.footer-contact-buttons .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.footer-contact-buttons .btn-ghost:hover { background: rgba(255,255,255,.08); }

/* --------- Bottom bar --------- */
.footer-bot {
  margin-top: 44px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  font-size: .82rem;
  color: #7da0b8;
}
.footer-bot-meta { color: #7da0b8; font-size: .76rem; }
@media (min-width: 720px) {
  .footer-bot { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Scroll Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--rd, 0s);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 22px 22px;
}
.faq-item h3 {
  font-family: var(--font-display);
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: 1rem;
  margin-bottom: .5rem;
}
.faq-item h3 .q {
  color: var(--c-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.faq-item p { margin: 0; color: var(--c-ink-soft); font-size: .94rem; }

/* ---------- Misc ---------- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .85rem;
  border-radius: var(--r-full);
  background: var(--c-bg-deep);
  color: var(--c-ocean-dark);
  font-size: .78rem;
  font-weight: 500;
}
.pill.dark { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Programs catalog (programs.html) ---------- */
.programs-catalog-wrap { padding-top: clamp(32px, 4vw, 48px); }
.programs-toolbar {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: 20px 22px;
  margin-bottom: clamp(32px, 4vw, 48px);
  box-shadow: var(--sh-sm);
}
.programs-search-wrap {
  position: relative;
  margin-bottom: 16px;
}
.programs-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-muted);
  pointer-events: none;
  display: flex;
}
.programs-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: .95rem;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.programs-search-input:focus {
  outline: none;
  border-color: var(--c-ocean);
  box-shadow: 0 0 0 3px rgba(2, 119, 189, .12);
  background: #fff;
}
.programs-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 720px) {
  .programs-filters { grid-template-columns: repeat(4, 1fr); }
}
.programs-filter label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 6px;
}
.programs-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: .88rem;
  color: var(--c-ink);
  background: #fff;
  cursor: pointer;
}
.programs-select:focus {
  outline: none;
  border-color: var(--c-ocean);
}
.programs-toolbar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
}
.programs-result-count {
  margin: 0;
  font-size: .84rem;
  color: var(--c-ink-soft);
}
.programs-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.programs-category-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: #fff;
  color: var(--c-ink);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.programs-category-nav-link:hover {
  border-color: var(--c-ocean);
  color: var(--c-ocean);
  background: var(--c-bg-soft);
}
.programs-category-nav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4rem;
  height: 1.4rem;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--c-bg-soft);
  color: var(--c-ocean);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
}
.programs-sections {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
}
.programs-category .section-head { margin-bottom: 24px; }
.programs-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--c-bg-soft);
  border-radius: var(--r-card);
  border: 1px dashed var(--c-line);
  margin-bottom: 32px;
}
.programs-empty p {
  margin: 0 0 16px;
  color: var(--c-ink-soft);
}

/* ---------- Package detail (program.html) ---------- */
.pkg-detail {
  background: #fff;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.pkg-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-ocean);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 20px;
  transition: opacity .2s var(--ease);
}
.pkg-back:hover { opacity: .75; }

.pkg-gallery-wrap { margin-bottom: 0; }
.pkg-gallery {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  background: var(--c-bg-deep);
}
.pkg-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.pkg-gallery-cell {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-line);
}
.pkg-gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pkg-gallery-band {
  position: relative;
  z-index: 2;
  margin: -18px 0;
  padding: 10px 16px;
  background: linear-gradient(90deg, var(--c-ocean) 0%, var(--c-teal) 100%);
  text-align: center;
}
.pkg-gallery-band span {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(.82rem, 2.2vw, 1rem);
  letter-spacing: .02em;
  line-height: 1.35;
}
@media (max-width: 767px) {
  .pkg-gallery-wrap,
  .pkg-meta-bar {
    margin-inline: calc(var(--gutter) * -1);
  }
  .pkg-gallery {
    border-radius: var(--r-sm) var(--r-sm) 0 0;
  }
  .pkg-gallery-row {
    gap: 2px;
  }
  .pkg-gallery-cell {
    aspect-ratio: 4 / 3;
  }
  .pkg-gallery-band {
    margin: -16px 0;
    padding: 11px 14px;
  }
  .pkg-gallery-band span {
    font-size: clamp(.88rem, 3.4vw, 1rem);
  }
  .pkg-meta-bar {
    border-radius: 0 0 var(--r-sm) var(--r-sm);
    padding: 11px 14px;
  }
}

.pkg-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--c-aqua);
  color: var(--c-ocean-dark);
  font-size: .82rem;
  font-weight: 500;
  border-radius: 0 0 var(--r-md) var(--r-md);
  margin-bottom: 24px;
}
.pkg-code {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(135deg, #015a8f 0%, var(--c-ocean) 45%, #039be5 100%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow:
    0 2px 8px rgba(1, 74, 115, .28),
    0 0 0 1px rgba(255, 255, 255, .06) inset,
    inset 0 1px 0 rgba(255, 255, 255, .22);
  overflow: hidden;
  isolation: isolate;
}
.pkg-code::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, transparent 42%);
  pointer-events: none;
  z-index: 0;
}
.pkg-code::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -120%;
  width: 55%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, .08) 35%,
    rgba(255, 255, 255, .42) 50%,
    rgba(255, 255, 255, .08) 65%,
    transparent 100%
  );
  transform: skewX(-18deg);
  animation: pkg-code-shine 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes pkg-code-shine {
  0%, 72% { left: -120%; opacity: 0; }
  8% { opacity: 1; }
  38% { left: 140%; opacity: 1; }
  48%, 100% { left: 140%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pkg-code::after { animation: none; opacity: 0; }
}

.pkg-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .pkg-body { grid-template-columns: 1.05fr .95fr; gap: 32px; }
}

/* ----- Itinerary panel (left column) ----- */
.pkg-col-itinerary { min-width: 0; }
.pkg-itinerary-panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  padding: 22px 22px 20px;
}
.pkg-itinerary-panel .pkg-info-head { margin-bottom: 18px; }

.pkg-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ----- Itinerary day cards (multi-night packages) ----- */
.pkg-day-card {
  list-style: none;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--sh-sm);
}
.pkg-day-card-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: none;
  background: linear-gradient(135deg, #015a8f 0%, var(--c-ocean) 45%, #039be5 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 1px 0 rgba(1, 74, 115, .12);
  overflow: hidden;
  isolation: isolate;
}
.pkg-day-card-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, transparent 42%);
  pointer-events: none;
}
.pkg-day-card-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  flex-shrink: 0;
}
.pkg-day-card-icon svg { width: 18px; height: 18px; }
.pkg-day-card-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
  color: #fff;
}
.pkg-day-card--1 { border-top: none; }
.pkg-day-card--1 .pkg-day-steps { background: #f6fbfe; }

.pkg-day-card--2 { border-top: none; }
.pkg-day-card--2 .pkg-day-steps { background: #edf5fa; }

.pkg-day-card--3 { border-top: none; }
.pkg-day-card--3 .pkg-day-steps { background: #e4f0f7; }

.pkg-day-card--4 { border-top: none; }
.pkg-day-card--4 .pkg-day-steps { background: #dbeaf3; }
.pkg-day-steps {
  list-style: none;
  margin: 0;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pkg-day-steps .pkg-step-card {
  background: #fff;
  border: 1px solid var(--c-line);
}
.pkg-day-steps .pkg-step:last-child .pkg-step-card {
  margin-bottom: 0;
}

.pkg-day-band {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 8px;
  padding: 12px 16px;
  border-radius: var(--r-md);
}
.pkg-day-band:first-child { margin-top: 0; }
.pkg-day-band-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 65, 100, .1);
}
.pkg-day-band-icon svg { width: 19px; height: 19px; }
.pkg-day-band-label {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.3;
}
.pkg-day-band--1 {
  background: #d6eaf5;
  border-left: 4px solid #3d85a8;
}
.pkg-day-band--1 .pkg-day-band-icon { color: #3d85a8; }
.pkg-day-band--1 .pkg-day-band-label { color: #1a4d66; }
.pkg-day-band--2 {
  background: #f3e2d0;
  border-left: 4px solid #b86a2e;
}
.pkg-day-band--2 .pkg-day-band-icon { color: #b86a2e; }
.pkg-day-band--2 .pkg-day-band-label { color: #5c3a1a; }
.pkg-day-band--3 {
  background: #d5e8d8;
  border-left: 4px solid #3d7a4a;
}
.pkg-day-band--3 .pkg-day-band-icon { color: #3d7a4a; }
.pkg-day-band--3 .pkg-day-band-label { color: #1f4a2a; }
.pkg-day-band--4 {
  background: #e2d4ec;
  border-left: 4px solid #6d4f8c;
}
.pkg-day-band--4 .pkg-day-band-icon { color: #6d4f8c; }
.pkg-day-band--4 .pkg-day-band-label { color: #3d2d52; }
.pkg-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: stretch;
}
.pkg-step-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 14px;
}
.pkg-step-dot {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-ocean);
  box-shadow: 0 0 0 4px rgba(2, 119, 189, .18);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  color: #fff;
}
.pkg-step-line {
  flex: 1;
  width: 2px;
  min-height: 12px;
  margin: 8px 0;
  background: linear-gradient(180deg, var(--c-ocean) 0%, rgba(2, 119, 189, .2) 100%);
  border-radius: 2px;
}
.pkg-step--layer-1 .pkg-step-dot,
.pkg-step--layer-2 .pkg-step-dot,
.pkg-step--layer-3 .pkg-step-dot,
.pkg-step--layer-4 .pkg-step-dot {
  background: var(--c-ocean);
  box-shadow: 0 0 0 4px rgba(2, 119, 189, .18);
}
.pkg-step--layer-1 .pkg-step-line,
.pkg-step--layer-2 .pkg-step-line,
.pkg-step--layer-3 .pkg-step-line,
.pkg-step--layer-4 .pkg-step-line {
  background: linear-gradient(180deg, var(--c-ocean) 0%, rgba(2, 119, 189, .2) 100%);
}
.pkg-step-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px 12px;
  padding: 14px 16px 18px;
  margin-bottom: 10px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pkg-step:last-child .pkg-step-card { margin-bottom: 0; }
.pkg-step-card:hover {
  background: #fff;
  border-color: var(--c-line);
}
.pkg-step-meta {
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: end;
  margin: 0;
}
.pkg-step-time {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--c-ocean);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(2, 65, 100, .08);
  white-space: nowrap;
}
.pkg-step-title {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: center;
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.35;
}
.pkg-step-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--c-ink-soft);
}

.pkg-action {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pkg-action-highlights {
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
}
.pkg-action-highlights .pkg-info-head { margin-bottom: 12px; }

.pkg-purchase {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
}
.pkg-purchase .pkg-info-head { margin-bottom: 2px; }
.pkg-purchase-prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-purchase-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}
.pkg-purchase-price-row.is-child .pkg-purchase-price-value strong {
  color: #e65100;
}
.pkg-purchase-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}
.pkg-purchase-price-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}
.pkg-purchase-price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.pkg-purchase-price-value strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-ocean);
}
.pkg-purchase-price-value span {
  font-size: .82rem;
  color: var(--c-muted);
  font-weight: 500;
}
.pkg-purchase-lead {
  margin: 0;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--c-muted);
  text-align: center;
}
.pkg-purchase-btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
  font-size: .98rem;
  padding: 13px 20px;
}
.pkg-purchase-icon {
  flex-shrink: 0;
}

.pkg-book-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}
.pkg-book-form .field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--c-ink-soft);
}
.pkg-book-form .field label .req { color: #e53935; }
.pkg-book-form .field label .field-hint {
  font-weight: 400;
  font-size: .75rem;
  color: var(--c-muted);
}
.pkg-book-form .field.has-error .input,
.pkg-book-form .field.has-error .textarea {
  border-color: #e53935;
}
.pkg-book-form .field-error {
  font-size: .75rem;
  color: #e53935;
  min-height: 1.1em;
  margin-top: 4px;
}
.pkg-book-qty-row,
.pkg-book-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pkg-book-form .input-readonly {
  background: var(--c-bg-soft);
  color: var(--c-ink-soft);
  cursor: default;
  pointer-events: none;
}
.pkg-book-total {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}
.pkg-book-price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .82rem;
  color: var(--c-ink-soft);
  padding: 4px 0;
}
.pkg-book-price-line + .pkg-book-price-line {
  border-top: 1px dashed var(--c-line);
  margin-top: 4px;
  padding-top: 8px;
}
.pkg-book-total-sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--c-line);
  font-weight: 600;
}
.pkg-book-total-sum strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--c-ocean);
}
.pkg-book-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.pkg-book-actions .btn {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  justify-content: center;
  font-size: .95rem;
  line-height: 1.25;
  white-space: normal;
}
.pkg-book-actions .btn svg {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}
.pkg-book-actions .btn-line {
  box-shadow: 0 8px 20px rgba(6, 199, 85, .28);
}
.pkg-book-actions .btn-line svg {
  width: 1.65em;
  height: 1.65em;
}
.pkg-book-actions .btn-outline {
  min-height: 48px;
  font-weight: 600;
  border-width: 1.5px;
}
.pkg-book-actions .btn-outline:hover {
  background: var(--c-bg-soft);
}
.pkg-book-note {
  margin: 0;
  font-size: .72rem;
  line-height: 1.45;
  color: var(--c-muted);
  text-align: center;
}
@media (max-width: 520px) {
  .pkg-book-qty-row,
  .pkg-book-date-row { grid-template-columns: 1fr; }
}
.pkg-highlight-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.pkg-highlight-photos img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
}

/* ----- Package info panel (right column) ----- */
.pkg-col-info { min-width: 0; }
.pkg-info-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
@media (min-width: 768px) {
  .pkg-info-panel { position: sticky; top: calc(var(--header-h) + 16px); }
}

.pkg-info-block {
  padding: 20px 22px;
  border-bottom: 1px solid var(--c-line);
}
.pkg-info-block:last-child { border-bottom: 0; }
.pkg-info-block--price {
  background: linear-gradient(180deg, var(--c-bg-soft) 0%, #fff 100%);
}

.pkg-info-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}
.pkg-info-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-teal);
}
.pkg-info-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
}

.pkg-season-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(2, 119, 189, .06) 0%, rgba(0, 172, 193, .08) 100%);
  border: 1px solid rgba(2, 119, 189, .12);
}
.pkg-season-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-ocean);
  box-shadow: var(--sh-sm);
}
.pkg-season-icon svg { width: 18px; height: 18px; }
.pkg-season-card p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--c-ink-soft);
  font-weight: 500;
}

.pkg-inc-switcher {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
}
.pkg-inc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-line);
  background: var(--c-bg-soft);
}
.pkg-inc-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pkg-inc-tab:not(:last-child) {
  border-right: 1px solid var(--c-line);
}
.pkg-inc-tab:hover {
  background: rgba(255, 255, 255, .7);
  color: var(--c-ink);
}
.pkg-inc-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--c-ocean);
  box-shadow: 0 1px 4px rgba(2, 65, 100, .08);
}
.pkg-inc-tab-icon svg { width: 14px; height: 14px; }
.pkg-inc-tab.is-active {
  color: var(--c-ocean-dark);
  border-bottom-color: var(--c-ocean);
  background: #fff;
}
.pkg-inc-panels {
  padding: 14px;
  background: #fff;
}
.pkg-inc-panel[hidden] { display: none; }
.pkg-inc-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.pkg-inc-grid--day {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-inc-grid--day .pkg-inc-tile {
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  padding: 10px 12px;
  gap: 10px;
}
.pkg-inc-grid--day .pkg-inc-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: var(--r-full);
  background: rgba(2, 119, 189, .1);
  box-shadow: none;
}
.pkg-inc-grid--day .pkg-inc-icon svg {
  width: 12px;
  height: 12px;
}
.pkg-inc-grid--day .pkg-inc-label {
  flex: 1;
  min-width: 0;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--c-ink-soft);
}
@media (max-width: 420px) {
  .pkg-inc-tab {
    flex-direction: column;
    gap: 4px;
    font-size: .74rem;
    padding: 8px 6px;
  }
  .pkg-inc-tab-icon { width: 24px; height: 24px; }
}

/* ----- Hotel picker (multi-night packages) ----- */
.pkg-hotel-section {
  gap: 16px;
}
.pkg-hotel-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #e8f4fc 0%, #f3f9fc 100%);
  border: 1px solid rgba(2, 119, 189, .16);
}
.pkg-hotel-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--c-ocean);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(2, 65, 100, .08);
}
.pkg-hotel-summary-icon svg { width: 20px; height: 20px; }
.pkg-hotel-summary-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pkg-hotel-summary-text strong {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-hotel-summary-text span {
  font-size: .8rem;
  color: var(--c-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-hotel-summary-price {
  flex-shrink: 0;
  text-align: right;
  font-size: .95rem;
  font-weight: 700;
  color: var(--c-ocean);
  line-height: 1.2;
}
.pkg-hotel-summary-price small {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  color: var(--c-muted);
}
.pkg-hotel-summary-price.is-book {
  font-size: .82rem;
  color: #c62828;
  background: rgba(211, 47, 47, .1);
  padding: 6px 12px;
  border-radius: var(--r-full);
}
.pkg-hotel-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pkg-hotel-item {
  display: flex;
  flex-direction: column;
}
.pkg-hotel-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  height: 88px;
  min-height: 88px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), border-radius .2s var(--ease);
}
.pkg-hotel-card:hover {
  background: #fff;
  border-color: var(--c-line);
}
.pkg-hotel-item.is-selected .pkg-hotel-card,
.pkg-hotel-card.is-selected {
  background: #fff;
  border-color: var(--c-ocean);
  box-shadow: 0 0 0 1px rgba(2, 119, 189, .2);
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.pkg-hotel-card-media {
  display: block;
  flex: 0 0 88px;
  width: 88px;
  align-self: stretch;
  overflow: hidden;
  background: var(--c-bg-deep);
}
.pkg-hotel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pkg-hotel-card-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding-right: 12px;
}
.pkg-hotel-card-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 0 0 14px;
  min-width: 0;
  flex: 1;
}
.pkg-hotel-card-pick {
  flex-shrink: 0;
  margin-left: auto;
  padding: 7px 14px;
  border: 1.5px solid var(--c-ocean);
  border-radius: var(--r-full);
  background: #fff;
  color: var(--c-ocean);
  font-family: var(--font-base);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pkg-hotel-card-pick:hover {
  background: var(--c-ocean);
  color: #fff;
  box-shadow: 0 2px 8px rgba(2, 119, 189, .22);
}
.pkg-hotel-card-pick.is-active {
  background: var(--c-ocean);
  color: #fff;
  border-color: var(--c-ocean);
}
.pkg-hotel-card-name {
  display: block;
  margin: 0;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-hotel-item.is-selected .pkg-hotel-card-name {
  color: var(--c-ocean-dark);
}
.pkg-hotel-detail {
  padding: 10px 12px 12px;
  background: #fff;
  border: 1px solid var(--c-ocean);
  border-top: 1px dashed rgba(2, 119, 189, .2);
  border-radius: 0 0 var(--r-md) var(--r-md);
  margin-top: -1px;
}
.pkg-hotel-detail[hidden] {
  display: none;
}
.pkg-hotel-detail-label {
  margin: 0 0 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.pkg-hotel-card-from {
  display: block;
  margin: 0;
  font-size: .72rem;
  color: var(--c-ink-soft);
  line-height: 1.3;
  white-space: nowrap;
}
.pkg-hotel-card-from strong {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-ocean);
}
.pkg-hotel-card-from span {
  font-size: .68rem;
  font-weight: 500;
}
.pkg-hotel-card-from.is-book {
  font-weight: 600;
  color: #c62828;
}
.pkg-hotel-rooms {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.pkg-hotel-room {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  padding: 8px 12px 8px 10px;
  border-radius: var(--r-sm);
  background: var(--c-bg-soft);
  border: 1.5px solid var(--c-line);
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.pkg-hotel-room:hover {
  border-color: rgba(2, 119, 189, .4);
  background: #f8fcff;
}
.pkg-hotel-room.is-selected {
  border-color: var(--c-ocean);
  background: #f0f8fd;
  box-shadow: 0 0 0 1px rgba(2, 119, 189, .15);
}
.pkg-hotel-room input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.pkg-hotel-room-radio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  border: 2px solid #c5d3dc;
  background: #fff;
  flex-shrink: 0;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pkg-hotel-room-radio-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: transparent;
  line-height: 0;
}
.pkg-hotel-room-radio-mark svg {
  width: 10px;
  height: 10px;
}
.pkg-hotel-room.is-selected .pkg-hotel-room-radio {
  border-color: var(--c-ocean);
  background: var(--c-ocean);
}
.pkg-hotel-room.is-selected .pkg-hotel-room-radio-mark {
  color: #fff;
}
.pkg-hotel-room-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.pkg-hotel-room-name {
  font-size: .74rem;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pkg-hotel-room.is-selected .pkg-hotel-room-name {
  color: var(--c-ocean-dark);
}
.pkg-hotel-room-price {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 2px;
  line-height: 1.2;
}
.pkg-hotel-room-price strong {
  font-size: .74rem;
  font-weight: 700;
  color: var(--c-ocean);
}
.pkg-hotel-room-price small {
  font-size: .6rem;
  font-weight: 500;
  color: var(--c-muted);
}
.pkg-hotel-room.is-selected .pkg-hotel-room-price strong {
  color: var(--c-ocean-dark);
}
.pkg-hotel-room-price.is-book strong {
  font-size: .7rem;
  color: #c62828;
}
@media (max-width: 640px) {
  .pkg-hotel-card-media {
    flex: 0 0 72px;
    width: 72px;
  }
  .pkg-hotel-card-head {
    padding-left: 10px;
  }
  .pkg-hotel-card-inner {
    padding-right: 10px;
    gap: 8px;
  }
  .pkg-hotel-card-pick {
    padding: 6px 10px;
    font-size: .68rem;
  }
  .pkg-hotel-card-name {
    font-size: .82rem;
  }
  .pkg-hotel-rooms {
    flex-direction: column;
  }
  .pkg-hotel-room {
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 520px) {
  .pkg-hotel-summary {
    flex-wrap: wrap;
  }
  .pkg-hotel-summary-price {
    width: 100%;
    text-align: left;
    padding-left: 52px;
  }
}
.pkg-book-price-line.is-meta {
  font-size: .78rem;
  color: var(--c-ink-soft);
  padding-top: 6px;
  border-top: 1px dashed var(--c-line);
  margin-top: 4px;
}
.pkg-book-price-line.is-meta span:last-child {
  font-weight: 700;
  color: var(--c-ocean);
}
.pkg-inc-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  text-align: center;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.pkg-inc-tile:hover {
  background: #fff;
  border-color: var(--c-line);
}
.pkg-inc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: #fff;
  color: var(--c-ocean);
  box-shadow: 0 2px 8px rgba(2, 65, 100, .08);
}
.pkg-inc-icon svg { width: 20px; height: 20px; }
.pkg-inc-label {
  font-size: .7rem;
  line-height: 1.35;
  color: var(--c-ink-soft);
  font-weight: 500;
}

.pkg-note-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-note-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--c-bg-soft);
  font-size: .82rem;
  line-height: 1.5;
  color: var(--c-ink-soft);
}
.pkg-note-check,
.pkg-note-exclude {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: var(--r-full);
}
.pkg-note-check {
  background: rgba(6, 199, 85, .12);
  color: var(--c-line-green);
}
.pkg-note-exclude {
  background: rgba(211, 47, 47, .12);
  color: #c62828;
}
.pkg-note-check svg,
.pkg-note-exclude svg { width: 12px; height: 12px; }

.pkg-price-card {
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: #fff;
  overflow: hidden;
}
.pkg-price-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}
.pkg-price-item {
  padding: 18px 16px;
  text-align: center;
}
.pkg-price-item.is-adult {
  background: linear-gradient(180deg, rgba(0, 172, 193, .06) 0%, transparent 100%);
}
.pkg-price-item.is-child {
  background: linear-gradient(180deg, rgba(255, 122, 0, .06) 0%, transparent 100%);
}
.pkg-price-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-muted);
  margin-bottom: 6px;
}
.pkg-price-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  line-height: 1;
}
.pkg-price-amount strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  font-weight: 700;
}
.pkg-price-item.is-adult .pkg-price-amount strong { color: var(--c-teal); }
.pkg-price-item.is-child .pkg-price-amount strong { color: var(--c-call); }
.pkg-price-amount span {
  font-size: .82rem;
  color: var(--c-muted);
  font-weight: 500;
}
.pkg-price-sep {
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--c-line) 20%, var(--c-line) 80%, transparent);
}
.pkg-price-meta {
  padding: 12px 16px 14px;
  border-top: 1px dashed var(--c-line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pkg-price-note {
  margin: 0;
  font-size: .8rem;
  line-height: 1.45;
  color: var(--c-ink-soft);
  text-align: center;
}
.pkg-price-pickup {
  margin: 0;
  text-align: center;
}
.pkg-price-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: rgba(2, 119, 189, .08);
  color: var(--c-ocean-dark);
  font-size: .76rem;
  font-weight: 600;
}

@media (max-width: 479px) {
  .pkg-inc-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-info-block { padding: 16px 18px; }
}

.pkg-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 0;
  max-width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.pkg-warning-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(.8rem * 1.55);
  height: calc(.8rem * 1.55);
  margin-top: 0;
  color: #e53935;
  line-height: 0;
  overflow: hidden;
}
.pkg-warning-icon svg {
  width: .95rem;
  height: .95rem;
  display: block;
  flex-shrink: 0;
}
.pkg-warning p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: .8rem;
  line-height: 1.55;
  color: #c62828;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .pkg-warning {
    padding: 12px 14px;
    gap: 8px;
  }
  .pkg-warning p {
    font-size: .78rem;
    line-height: 1.5;
  }
}

/* ----- Boat charter booking flow ----- */
.hero-sub-compact .hero-inner { padding-bottom: 2.25rem; }
.bb-section.booking-section {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.bb-section .container {
  padding-top: 0.5rem;
}
.bb-progress {
  margin: 0.75rem auto 2rem;
  padding-top: 0.25rem;
}
@media (max-width: 720px) {
  .bb-progress .pip-text { font-size: .68rem; }
  .bb-progress .pip-num { width: 26px; height: 26px; font-size: .75rem; }
}
.bb-wizard-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}
.bb-step-num-lg {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  background: var(--c-ocean);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.bb-wizard-head h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.bb-field-label {
  margin: 0 0 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--c-ink);
}
.bb-boat-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bb-boat-pick {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 10px;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bb-boat-pick:hover { border-color: rgba(2, 119, 189, .35); }
.bb-boat-pick.is-selected {
  border-color: var(--c-ocean);
  box-shadow: 0 0 0 2px rgba(2, 119, 189, .12);
}
.bb-boat-pick input { position: absolute; opacity: 0; pointer-events: none; }
.bb-boat-pick-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-bg-deep);
}
.bb-boat-pick-img img { width: 100%; height: 100%; object-fit: cover; }
.bb-boat-pick strong { font-size: .88rem; color: var(--c-ink); }
.bb-boat-pick.is-selected strong { color: var(--c-ocean-dark); }
.bb-boat-pick-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-ocean);
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.bb-boat-pick-check svg { width: 12px; height: 12px; }
.bb-boat-pick.is-selected .bb-boat-pick-check {
  opacity: 1;
  transform: scale(1);
}
.bb-step-body-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.bb-route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bb-route {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.bb-route:hover { border-color: rgba(2, 119, 189, .35); }
.bb-route.is-selected {
  border-color: var(--c-ocean);
  box-shadow: 0 0 0 2px rgba(2, 119, 189, .12);
}
.bb-route input { position: absolute; opacity: 0; pointer-events: none; }
.bb-route-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--c-bg-deep);
}
.bb-route-img img { width: 100%; height: 100%; object-fit: cover; }
.bb-route-name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.25;
}
.bb-route.is-selected .bb-route-name { color: var(--c-ocean-dark); }
.bb-route-sub {
  font-size: .64rem;
  color: var(--c-muted);
  line-height: 1.2;
}
.bb-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.bb-tier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.bb-tier:hover { border-color: rgba(2, 119, 189, .35); }
.bb-tier.is-selected {
  border-color: var(--c-ocean);
  background: #f0f8fd;
}
.bb-tier input { position: absolute; opacity: 0; pointer-events: none; }
.bb-tier-radio {
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  border: 2px solid #c5d3dc;
  flex-shrink: 0;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.bb-tier.is-selected .bb-tier-radio {
  border-color: var(--c-ocean);
  background: var(--c-ocean);
  box-shadow: inset 0 0 0 3px #fff;
}
.bb-tier-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-ink);
}
.bb-tier.is-selected .bb-tier-label { color: var(--c-ocean-dark); }
.bb-tier-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 200px;
}
.bb-size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bb-size-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.bb-size-card:hover { border-color: rgba(2, 119, 189, .35); }
.bb-size-card.is-selected {
  border-color: var(--c-ocean);
  background: #f0f8fd;
}
.bb-size-card input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
label.bb-size-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
}
.bb-size-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--c-bg-soft);
  color: var(--c-ocean);
}
.bb-size-icon svg { width: 24px; height: 24px; }
.bb-size-card strong {
  font-size: .84rem;
  color: var(--c-ink);
}
.bb-size-card.is-selected strong { color: var(--c-ocean-dark); }
.bb-size-card span:last-child {
  font-size: .74rem;
  color: var(--c-muted);
}
.bb-included-box {
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: #fffbeb;
  border: 1px solid #f6e05e;
  font-size: .78rem;
  color: var(--c-ink-soft);
}
.bb-included-box strong {
  display: block;
  margin-bottom: 8px;
  font-size: .8rem;
  color: var(--c-ink);
}
.bb-included-box ul {
  margin: 0 0 6px;
  padding-left: 1.1rem;
  line-height: 1.6;
}
.bb-included-box li strong { color: var(--c-ocean); }
.bb-guide-fee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: #f3f9fc;
  border: 1px solid rgba(2, 119, 189, .16);
  font-size: .84rem;
}
.bb-guide-fee strong {
  font-size: 1rem;
  color: var(--c-ocean);
}
.bb-safety-staff-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bb-safety-staff-text small {
  font-size: .72rem;
}
.bb-footer-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: #e8f4fc;
  border: 1px solid rgba(2, 119, 189, .16);
  font-size: .78rem;
  color: var(--c-ocean-dark);
  line-height: 1.5;
}
.bb-charter-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 140px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #e8f4fc 0%, #f3f9fc 100%);
  border: 1px solid rgba(2, 119, 189, .16);
  text-align: center;
}
.bb-charter-price-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-ink-soft);
}
.bb-charter-price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-ocean);
  line-height: 1.1;
}
.bb-insurance {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: #fffbeb;
  border: 1px solid #f6e05e;
}
.bb-insurance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-full);
  background: #fff;
  color: #2e7d32;
  flex-shrink: 0;
}
.bb-insurance-icon svg { width: 22px; height: 22px; }
.bb-insurance-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.bb-insurance-text strong {
  font-size: .84rem;
  color: var(--c-ink);
}
.bb-insurance-text span {
  font-size: .76rem;
  color: var(--c-ink-soft);
}
.bb-insurance-amount {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-ocean);
  flex-shrink: 0;
}
.bb-addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.bb-addon {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 10px;
  align-items: center;
  padding: 12px 14px;
  border: 2px solid var(--c-line);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.bb-addon:hover { border-color: rgba(2, 119, 189, .35); }
.bb-addon.is-selected {
  border-color: var(--c-ocean);
  background: #f0f8fd;
}
.bb-addon input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.bb-addon-icon {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-bg-soft);
  color: var(--c-ocean);
}
.bb-addon-icon svg { width: 22px; height: 22px; }
.bb-addon-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.bb-addon-body strong { font-size: .84rem; }
.bb-addon-body span { font-size: .72rem; color: var(--c-muted); }
.bb-addon-price {
  grid-row: 1;
  grid-column: 3;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-ocean);
  white-space: nowrap;
}
.bb-addon-check {
  grid-row: 2;
  grid-column: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .68rem;
  font-weight: 600;
  color: var(--c-muted);
}
.bb-addon-check-txt { display: inline; }
.bb-addon-check svg {
  width: 12px;
  height: 12px;
  display: none;
}
.bb-addon.is-selected .bb-addon-check {
  color: var(--c-ocean);
}
.bb-addon.is-selected .bb-addon-check-txt { display: none; }
.bb-addon.is-selected .bb-addon-check svg { display: block; }
.bb-inline-summary {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-line);
}
.bb-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  font-size: .84rem;
  color: var(--c-ink-soft);
}
.bb-summary-row + .bb-summary-row {
  border-top: 1px dashed var(--c-line);
}
.bb-summary-row strong {
  color: var(--c-ink);
  font-weight: 700;
  white-space: nowrap;
}
.bb-summary-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid var(--c-ocean);
  font-weight: 700;
}
.bb-summary-total strong {
  font-size: 1.15rem;
  color: #2e7d32;
}
.bb-summary-card {
  padding: 0;
  background: transparent;
  border: none;
}
.bb-contact-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1rem;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f2 100%);
  border: 1px solid rgba(46, 125, 50, .2);
  font-weight: 700;
}
.bb-contact-total strong {
  font-size: 1.35rem;
  color: #2e7d32;
}
.bb-insurance-amount small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-muted);
  text-align: right;
}
.bb-contact-card { margin-top: 8px; }
.bb-cart-head {
  background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
  color: #fff;
  border-radius: var(--r-md) var(--r-md) 0 0;
  margin: -1px -1px 0;
  padding: 14px 16px;
}
.bb-cart-head h3 { color: #fff; margin: 0; }
.bb-cart-lines { padding: 12px 0; min-height: 60px; }
.bb-cart-empty { margin: 0; text-align: center; padding: 12px 0; }
.bb-cart-total { border-top: 2px solid var(--c-line); }
.bb-total-amount .amount { color: #2e7d32; }
.bb-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
}
.btn-block { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .bb-step-body-split {
    grid-template-columns: 1fr;
  }
  .bb-charter-price { width: 100%; }
}
@media (max-width: 640px) {
  .bb-route-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-tier-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-size-grid { grid-template-columns: 1fr; }
}

/* ----- Boat book UI refresh ----- */
body[data-tt-page="boat-book"] .hero-sub-compact .hero-inner { padding-bottom: 2rem; }
.bb-section.booking-section {
  padding-top: clamp(2rem, 4vw, 3.25rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: linear-gradient(180deg, #eef4f8 0%, #e8eef3 100%);
}
.bb-container { max-width: 1180px; padding-top: 0.5rem; }
.bb-progress {
  margin: 0 auto 2.25rem;
  padding: 0.5rem 0 0.25rem;
}
.bb-progress .pip-num { width: 34px; height: 34px; font-size: .88rem; }
.bb-progress .pip.is-active .pip-num { transform: scale(1.05); }
.bb-progress .pip-text { font-size: .82rem; font-weight: 600; }
.bb-grid { gap: clamp(20px, 3vw, 32px); }
@media (min-width: 1024px) {
  .bb-grid { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 380px); }
  .bb-summary-sticky { position: sticky; top: calc(var(--header-h) + 16px); }
}
.bb-form .bb-form-card {
  border: none;
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 4px 24px rgba(0, 32, 56, .07), 0 0 0 1px rgba(0, 32, 56, .04);
}
.bb-form .wizard-nav { margin-top: 22px; padding-top: 4px; }
.bb-form .wizard-nav.is-forward-only { justify-content: center; }
.bb-form .wizard-nav.is-forward-only .wizard-next {
  min-width: min(100%, 340px);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(2, 119, 189, .28);
}
.bb-form .wizard-back,
.bb-form .wizard-next { border-radius: 999px; font-weight: 600; }
.bb-form .wizard-back { padding: 12px 20px; }
.bb-form .wizard-next { padding: 12px 24px; }
.bb-wizard-head { display: block; margin-bottom: 1.35rem; }
.bb-wizard-head h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.2vw, 1.28rem);
  font-weight: 700;
  color: var(--c-ocean-dark);
  line-height: 1.3;
}
.bb-step-num-lg {
  width: 34px;
  height: 34px;
  font-size: .92rem;
  background: linear-gradient(145deg, var(--c-ocean) 0%, var(--c-ocean-dark) 100%);
  box-shadow: 0 4px 12px rgba(2, 119, 189, .28);
}
.bb-wizard-desc {
  margin: 0;
  padding-left: 46px;
  font-size: .86rem;
  color: var(--c-muted);
  line-height: 1.55;
}
.bb-field-label { margin-bottom: 12px; font-size: .9rem; }
.bb-pick-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  background: var(--c-ocean);
  color: #fff;
  opacity: 0;
  transform: scale(.75);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  box-shadow: 0 2px 8px rgba(2, 119, 189, .35);
  z-index: 1;
}
.bb-pick-check svg { width: 13px; height: 13px; }
.is-selected > .bb-pick-check { opacity: 1; transform: scale(1); }
.bb-tier-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}
.bb-addon-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}
.bb-route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.bb-boat-pick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.bb-boat-pick {
  gap: 0;
  height: 100%;
  width: 100%;
  align-items: stretch;
  padding: 12px;
  border-color: #e2e9ef;
  border-radius: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.bb-boat-pick:hover {
  border-color: rgba(2, 119, 189, .4);
  box-shadow: 0 6px 20px rgba(2, 119, 189, .08);
  transform: translateY(-2px);
}
.bb-boat-pick.is-selected {
  box-shadow: 0 0 0 3px rgba(2, 119, 189, .12), 0 8px 24px rgba(2, 119, 189, .1);
}
.bb-boat-pick-img { border-radius: 12px; margin-bottom: 10px; flex-shrink: 0; }
.bb-boat-pick-img img { transition: transform .35s var(--ease); }
.bb-boat-pick:hover .bb-boat-pick-img img { transform: scale(1.03); }
.bb-boat-pick-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  width: 100%;
  min-height: 2.75rem;
  padding: 0 2px 2px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bb-boat-pick strong { font-size: .92rem; font-weight: 700; }
.bb-boat-pick-capacity { font-size: .76rem; color: var(--c-muted); font-weight: 500; }
.bb-route {
  gap: 0;
  height: 100%;
  width: 100%;
  padding: 10px;
  border-color: #e2e9ef;
  border-radius: 14px;
  align-items: stretch;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.bb-route:hover { box-shadow: 0 4px 16px rgba(2, 119, 189, .08); }
.bb-route.is-selected { box-shadow: 0 0 0 3px rgba(2, 119, 189, .1); }
.bb-route-img { border-radius: 10px; margin-bottom: 8px; flex-shrink: 0; }
.bb-route-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  width: 100%;
  min-height: 2.5rem;
  padding: 0 2px;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.bb-route-name { font-size: .8rem; }
.bb-route-sub { font-size: .68rem; }
.bb-tier,
.bb-size-card,
.bb-addon {
  border-color: #e2e9ef;
  border-radius: 14px;
  height: 100%;
  width: 100%;
}
.bb-tier-grid,
.bb-size-grid,
.bb-addon-grid {
  align-items: stretch;
}
.bb-tier { padding: 14px 10px; gap: 10px; min-height: 52px; }
.bb-size-card {
  min-height: 120px;
  justify-content: center;
}
.bb-addon { min-height: 88px; align-content: center; }
.bb-tier:hover,
.bb-size-card:hover,
.bb-addon:hover { box-shadow: 0 4px 14px rgba(2, 119, 189, .06); }
.bb-tier.is-selected,
.bb-size-card.is-selected {
  background: linear-gradient(180deg, #f5fbff 0%, #eef7fc 100%);
  box-shadow: 0 0 0 3px rgba(2, 119, 189, .1);
}
.bb-addon.is-selected {
  background: linear-gradient(180deg, #f5fbff 0%, #fff 100%);
  box-shadow: 0 0 0 3px rgba(2, 119, 189, .1);
}
.bb-size-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}
.bb-size-icon { border-radius: 12px; background: #eaf5fc; }
.bb-included-box {
  border-radius: 14px;
  background: linear-gradient(180deg, #fffbeb 0%, #fef9e7 100%);
  border-color: #f0d86e;
}
.bb-guide-fee,
.bb-insurance {
  border-radius: 14px;
  padding: 14px 16px;
}
.bb-insurance {
  background: #fff;
  border: 1px solid #e2e9ef;
}
.bb-insurance-icon { border-radius: 12px; background: #e8f5e9; }
.bb-addon-grid { gap: 12px; }
.bb-addon { padding: 14px 16px; gap: 4px 12px; }
.bb-addon-icon { border-radius: 12px; width: 42px; height: 42px; }
.bb-addon-body strong { font-size: .86rem; }
.bb-inline-summary-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e9ef;
  background: #fafcfd;
}
.bb-inline-summary-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2e7d32 0%, #43a047 100%);
  color: #fff;
}
.bb-inline-summary-head strong { font-size: .95rem; font-weight: 700; }
.bb-inline-summary {
  padding: 14px 16px 16px;
  background: #fff;
  border: none;
}
.bb-summary-row {
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  line-height: 1.4;
}
.bb-summary-row + .bb-summary-row { border-top-color: #e2e9ef; }
.bb-summary-row span { flex: 1; min-width: 0; }
.bb-summary-row strong { flex-shrink: 0; }
.bb-summary-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top-color: #2e7d32;
  font-size: .92rem;
}
.bb-summary-total strong { font-size: 1.25rem; letter-spacing: -0.02em; }
.bb-contact-total {
  margin-top: 1.25rem;
  padding: 16px 18px;
  border-radius: 14px;
}
.bb-contact-total strong { font-size: 1.4rem; letter-spacing: -0.02em; }
.bb-cart {
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0, 24, 40, .1), 0 0 0 1px rgba(0, 24, 40, .04);
}
.bb-cart-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 20px;
  border-radius: 0;
}
.bb-cart-head-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
}
.bb-cart-head-icon svg { width: 18px; height: 18px; }
.bb-cart-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.bb-cart-body {
  padding: 16px 20px 20px;
  background: #fff;
}
.bb-cart-lines { padding: 0; min-height: 48px; }
.bb-cart-empty { padding: 16px 8px; font-size: .84rem; }
.bb-cart-total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1.5px dashed #dde5eb;
}
.bb-cart .cart-total-label { font-size: .88rem; font-weight: 600; }
.bb-total-amount {
  font-size: 1.85rem !important;
  color: #2e7d32 !important;
  letter-spacing: -0.02em;
}
.bb-total-amount small { color: #2e7d32 !important; font-size: 1rem !important; }
.bb-total-amount .amount { color: #2e7d32; }
.bb-step-body-split {
  gap: 16px;
  align-items: stretch;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
}
.bb-step-body-split > div:first-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bb-tier-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
.bb-charter-price {
  border-radius: 14px;
  min-width: 0;
  width: 100%;
  text-align: center;
  flex-shrink: 0;
}
.bb-included-box { flex: 1; }
.bb-guide-fee,
.bb-insurance {
  width: 100%;
}
.bb-form .field-row.two {
  align-items: stretch;
}
.bb-form .field-row.two .field {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.bb-form .field-row.two .field .input {
  flex: 1;
}
.bb-charter-price-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
@media (max-width: 720px) {
  .bb-progress .pip-num { width: 28px; height: 28px; font-size: .78rem; }
  .bb-wizard-desc { padding-left: 0; }
}
@media (max-width: 900px) {
  .bb-tier-side { min-width: 0; }
}
@media (max-width: 640px) {
  .bb-form .wizard-nav.is-forward-only .wizard-next { width: 100%; min-width: 0; }
}

/* ----- Tier / people step redesign ----- */
.bb-tier-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
  gap: 20px;
  align-items: stretch;
}
.bb-tier-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bb-tier-main .bb-field-label { margin-bottom: 14px; }
.bb-pax-field {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border, #e8ecf0);
}
.bb-pax-field .field-hint { margin: 6px 0 10px; }
.bb-pax-input { max-width: 140px; }
.bb-pax-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  max-width: 280px;
}
.bb-pax-split-hint { margin-top: 10px; }
.bb-addon--has-qty { cursor: default; }
label.bb-addon--pick { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.bb-addon-qty-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.bb-addon-qty {
  width: 56px;
  min-height: 36px;
  padding: 6px 8px;
  text-align: center;
  font-weight: 600;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}
.bb-tier-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding-top: calc(0.9rem * 1.4 + 14px);
}
.bb-tier-grid--people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.bb-tier-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  height: 100%;
  padding: 14px 8px;
  border: 2px solid #e2e9ef;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.bb-tier-card:hover {
  border-color: rgba(2, 119, 189, .4);
  box-shadow: 0 4px 16px rgba(2, 119, 189, .08);
  transform: translateY(-1px);
}
.bb-tier-card.is-selected {
  border-color: var(--c-ocean);
  background: linear-gradient(180deg, #f5fbff 0%, #eef7fc 100%);
  box-shadow: 0 0 0 3px rgba(2, 119, 189, .12);
}
.bb-tier-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.bb-tier-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
}
.bb-tier-range {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.bb-tier-card.is-selected .bb-tier-range { color: var(--c-ocean-dark); }
.bb-tier-unit {
  font-size: .74rem;
  font-weight: 600;
  color: var(--c-muted);
  line-height: 1;
}
.bb-tier-price {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-ocean);
  line-height: 1.2;
  white-space: nowrap;
}
.bb-tier-card.is-selected .bb-tier-price { color: var(--c-ocean-dark); }
.bb-size-card .bb-tier-price {
  margin-top: 2px;
  font-size: .8rem;
}
.bb-tier-card.is-selected .bb-tier-unit { color: var(--c-ocean); }
.bb-tier-step .bb-charter-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 0 0 auto;
  height: 88px;
  min-height: 88px;
  max-height: 88px;
  padding: 10px 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, #f0f8fd 0%, #e3f2fb 100%);
  border: 2px solid rgba(2, 119, 189, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.bb-tier-step .bb-charter-price-label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--c-muted);
  line-height: 1.25;
  max-width: 12rem;
  text-align: center;
}
.bb-tier-step .bb-charter-price-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-ocean-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.bb-tier-step .bb-included-box { flex-shrink: 0; }
@media (max-width: 900px) {
  .bb-tier-step {
    grid-template-columns: 1fr;
  }
  .bb-tier-aside {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    padding-top: 0;
  }
  .bb-tier-step .bb-charter-price {
    flex: 1 1 180px;
    height: 88px;
    min-height: 88px;
    max-height: 88px;
  }
  .bb-tier-step .bb-included-box {
    flex: 1 1 240px;
  }
}
@media (max-width: 640px) {
  .bb-tier-grid--people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .bb-tier-card { min-height: 76px; padding: 12px 6px; }
  .bb-tier-range { font-size: .95rem; }
  .bb-tier-aside { flex-direction: column; }
  .bb-tier-step .bb-charter-price {
    height: 76px;
    min-height: 76px;
    max-height: 76px;
  }
}

/* ----- Boat type picker — responsive all viewports ----- */
.bb-form .bb-form-card {
  container-type: inline-size;
  container-name: bb-step-card;
}
.bb-boat-pick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.6vw, 14px);
}
.bb-boat-pick {
  min-height: 0;
}
.bb-boat-pick strong {
  font-size: clamp(0.8rem, 1.6vw, 0.92rem);
  line-height: 1.3;
  word-break: break-word;
}
.bb-boat-pick-capacity {
  font-size: clamp(0.68rem, 1.2vw, 0.76rem);
  line-height: 1.35;
}

/* การ์ดแนวตั้ง 3 คอลัมน์ เมื่อพื้นที่กว้างพอ */
@container bb-step-card (min-width: 581px) {
  .bb-boat-pick {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    height: 100%;
  }
  .bb-boat-pick-img {
    width: 100%;
    margin-bottom: 10px;
  }
  .bb-boat-pick-body {
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 2.75rem;
  }
}

/* แนวนอนเมื่อพื้นที่แคบมาก (มือถือ) */
@container bb-step-card (max-width: 580px) {
  .bb-boat-pick-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bb-boat-pick {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    height: auto;
    min-height: 88px;
    text-align: left;
  }
  .bb-boat-pick:hover { transform: none; }
  .bb-boat-pick-img {
    width: clamp(84px, 24vw, 120px);
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .bb-boat-pick-body {
    flex: 1;
    min-height: 0;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }
}

/* 3 คอลัมน์แต่กะทัดรัด เมื่อพื้นที่ปานกลาง */
@container bb-step-card (min-width: 581px) and (max-width: 860px) {
  .bb-boat-pick-grid { gap: 8px; }
  .bb-boat-pick { padding: 10px 8px; }
  .bb-boat-pick-img { margin-bottom: 8px; }
  .bb-boat-pick-body { min-height: 2.5rem; }
}

/* Fallback มือถือ */
@media (max-width: 620px) {
  .bb-boat-pick-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bb-boat-pick {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    height: auto;
    min-height: 88px;
    text-align: left;
  }
  .bb-boat-pick:hover { transform: none; }
  .bb-boat-pick-img {
    width: clamp(84px, 24vw, 120px);
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .bb-boat-pick-body {
    flex: 1;
    min-height: 0;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
  }
}
@media (max-width: 399px) {
  .bb-boat-pick {
    gap: 10px;
    padding: 10px 12px;
    min-height: 80px;
  }
  .bb-boat-pick-img { width: 76px; }
  .bb-boat-pick strong { font-size: 0.86rem; }
}

/* ----- Addon menu cards — responsive ----- */
.bb-addon-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.bb-addon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: 10px 12px;
  align-items: center;
  padding: 14px;
  min-height: 0;
  height: auto;
}
.bb-addon-icon {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.bb-addon-body {
  grid-row: 1;
  grid-column: 2;
  min-width: 0;
  overflow: hidden;
}
.bb-addon-body strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--c-ink);
  word-break: normal;
  overflow-wrap: break-word;
}
.bb-addon-body span {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--c-muted);
  word-break: normal;
  overflow-wrap: break-word;
}
.bb-addon-meta {
  grid-row: 1;
  grid-column: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  min-width: 4.5rem;
}
.bb-addon-price {
  grid-row: auto;
  grid-column: auto;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-ocean);
  white-space: nowrap;
  line-height: 1.2;
}
.bb-addon-check {
  grid-row: auto;
  grid-column: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--c-muted);
  white-space: nowrap;
}

@container bb-step-card (max-width: 560px) {
  .bb-addon-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bb-addon {
    padding: 12px 14px;
  }
}

@container bb-step-card (min-width: 561px) and (max-width: 720px) {
  .bb-addon-body span {
    font-size: 0.7rem;
  }
  .bb-addon-meta { min-width: 4rem; }
}

@media (max-width: 560px) {
  .bb-addon-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

