/* ==========================================================================
   ปักหมุด จีนตามใจ | CHINA YOUR WAY (A Pukmud Holiday Brand) - V12 Edition
   ========================================================================== */

:root {
  --bg-cream: #F6F0E2;
  --bg-light: #FCF9F2;
  --surface-white: #FFFFFF;
  --brand-red: #9E2A2B;
  --brand-red-dark: #7B1E1F;
  --brand-gold: #DFC163;
  --brand-gold-soft: #EFE0AD;
  --brand-jade: #273E3A;
  --brand-jade-light: #35524D;
  --text-dark: #1E2423;
  --text-muted: #5A6260;
  --border-subtle: rgba(39, 62, 58, 0.14);
  --shadow-sm: 0 4px 14px rgba(39, 62, 58, 0.07);
  --shadow-md: 0 14px 32px rgba(39, 62, 58, 0.14);
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Prompt', 'Noto Sans SC', 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.top-bar {
  background-color: var(--brand-jade);
  color: var(--bg-cream);
  font-size: 0.84rem;
  padding: 7px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(252, 249, 242, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--brand-gold);
  padding: 10px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  gap: 12px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: var(--brand-gold);
  border: 2px solid var(--brand-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 3px 10px rgba(158, 42, 43, 0.25);
  flex-shrink: 0;
}

.brand-title h1 {
  font-size: 1.2rem;
  color: var(--brand-red);
  line-height: 1.15;
  font-weight: 700;
}

.brand-title p {
  font-size: 0.72rem;
  color: var(--brand-jade);
  font-weight: 600;
  letter-spacing: 0.6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--brand-jade);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-red);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-switcher {
  display: flex;
  background: var(--bg-cream);
  border: 1.5px solid var(--brand-gold);
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
}

.pill-btn {
  border: none;
  background: transparent;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--brand-jade);
  transition: all 0.22s ease;
  font-family: inherit;
  white-space: nowrap;
}

.pill-btn.active-red {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(158, 42, 43, 0.3);
}

.pill-btn.active-jade {
  background-color: var(--brand-jade);
  color: var(--brand-gold);
  box-shadow: 0 2px 6px rgba(39, 62, 58, 0.3);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1.5px solid var(--brand-jade);
  color: var(--brand-jade);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 1.15rem;
  cursor: pointer;
}

.hero {
  position: relative;
  color: #FFFFFF;
  padding: 88px 5% 96px;
  background-image:
    linear-gradient(105deg, rgba(24, 42, 39, 0.92) 0%, rgba(39, 62, 58, 0.78) 52%, rgba(123, 30, 31, 0.65) 100%),
    url('https://images.unsplash.com/photo-1508804185872-d7badad00f7d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  border-bottom: 4px solid var(--brand-gold);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(223, 193, 99, 0.22);
  backdrop-filter: blur(4px);
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  color: #FFFFFF;
  line-height: 1.18;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero h2 span {
  color: var(--brand-gold);
}

.hero-tagline {
  font-size: 1.15rem;
  color: #F4EFE2;
  margin-bottom: 24px;
  font-weight: 400;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.hero-feat-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(223, 193, 99, 0.4);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.collage-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
  transition: transform 0.3s ease;
}

.collage-img:hover {
  transform: scale(1.03);
}

.collage-img.tall {
  grid-row: span 2;
  height: 352px;
}

.btn-primary {
  background: var(--brand-gold);
  color: var(--brand-jade);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #ebd078;
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(39, 62, 58, 0.55);
  color: #FFFFFF;
  border: 1.5px solid var(--brand-gold);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: rgba(223, 193, 99, 0.2);
}

.dest-strip {
  max-width: 1200px;
  margin: -36px auto 0;
  padding: 0 5%;
  position: relative;
  z-index: 10;
}

.dest-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.dest-mini-card {
  position: relative;
  height: 120px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--brand-gold);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.25s;
}

.dest-mini-card:hover {
  transform: translateY(-4px);
}

.dest-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.dest-mini-card:hover img {
  transform: scale(1.1);
}

.dest-mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 42, 39, 0.9) 10%, rgba(0,0,0,0.15) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #FFFFFF;
}

.dest-mini-overlay strong {
  font-size: 0.95rem;
  color: var(--brand-gold);
}

.dest-mini-overlay span {
  font-size: 0.75rem;
  color: #EAE4D3;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-header h3 {
  font-size: 1.95rem;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  background: var(--surface-white);
  border: 1.5px solid var(--border-subtle);
  color: var(--brand-jade);
  padding: 9px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.filter-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.filter-btn.active {
  background: var(--brand-jade);
  color: var(--brand-gold);
  border-color: var(--brand-jade);
  box-shadow: var(--shadow-sm);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(345px, 1fr));
  gap: 28px;
}

.tour-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-gold);
}

.tour-img-wrap {
  position: relative;
  height: 215px;
  overflow: hidden;
  border-bottom: 3px solid var(--brand-gold);
}

.tour-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tour-card:hover .tour-img-wrap img {
  transform: scale(1.07);
}

.tour-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 32, 30, 0.85) 5%, rgba(0, 0, 0, 0.12) 60%, rgba(0,0,0,0.3) 100%);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tour-code-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge-code {
  background: var(--brand-gold);
  color: var(--brand-jade);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.badge-days {
  background: rgba(39, 62, 58, 0.88);
  border: 1px solid rgba(223, 193, 99, 0.5);
  color: #FFFFFF;
  font-size: 0.8rem;
  padding: 4px 11px;
  border-radius: 20px;
}

.tour-img-caption {
  color: #FFFFFF;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.tour-card-body {
  padding: 20px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tour-card-title {
  font-size: 1.08rem;
  color: var(--brand-jade);
  line-height: 1.38;
  margin-bottom: 10px;
  font-weight: 700;
}

.tour-route {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-highlights {
  list-style: none;
  margin-bottom: 18px;
  flex-grow: 1;
}

.tour-highlights li {
  font-size: 0.86rem;
  padding: 3.5px 0;
  padding-left: 18px;
  position: relative;
  color: var(--text-dark);
}

.tour-highlights li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-size: 0.78rem;
}

.tour-card-footer {
  border-top: 1px dashed var(--border-subtle);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-box small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.price-box strong {
  font-size: 1.3rem;
  color: var(--brand-red);
}

.price-sub-note {
  font-size: 0.74rem;
  color: var(--brand-jade);
  font-weight: 500;
}

.btn-detail {
  background: var(--brand-jade);
  color: #FFFFFF;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.btn-detail:hover {
  background: var(--brand-red);
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 28, 0.78);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  backdrop-filter: blur(5px);
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--bg-light);
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  border: 2px solid var(--brand-gold);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.modal-hero-banner {
  position: relative;
  height: 225px;
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--brand-gold);
}

.modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 42, 39, 0.96) 15%, rgba(24, 42, 39, 0.45) 100%);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFFFFF;
}

.modal-close {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.45);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  align-self: flex-end;
}

.modal-content {
  padding: 24px 26px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.modal-gallery img {
  width: 100%;
  height: 115px;
  object-fit: cover;
  border-radius: 10px;
  border: 1.5px solid var(--brand-gold);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
}

.price-table th {
  background: var(--brand-red);
  color: #FFFFFF;
  padding: 10px 12px;
  text-align: center;
}

.price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.itinerary-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn-expand-all {
  background: var(--bg-cream);
  border: 1.5px solid var(--brand-jade);
  color: var(--brand-jade);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.btn-expand-all:hover {
  background: var(--brand-jade);
  color: var(--brand-gold);
}

.day-item {
  background: #FFFFFF;
  border-left: 4px solid var(--brand-gold);
  border-radius: 0 12px 12px 0;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.day-summary-row {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.day-title-group h5 {
  color: var(--brand-red);
  font-size: 1.02rem;
  margin-bottom: 3px;
}

.day-title-group p {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}

.btn-toggle-day {
  background: var(--bg-cream);
  color: var(--brand-red);
  border: 1px solid var(--brand-gold);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-toggle-day:hover,
.btn-toggle-day.expanded {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
}

.day-detail-drawer {
  display: none;
  padding: 14px 18px 16px;
  background: #FAF7F0;
  border-top: 1px dashed rgba(39, 62, 58, 0.18);
  font-size: 0.88rem;
  color: #2B3331;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.day-detail-drawer.open {
  display: block;
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-list li {
  padding-left: 18px;
  position: relative;
  line-height: 1.55;
  white-space: normal;
  overflow: visible;
}

.detail-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--brand-red);
  font-weight: 700;
}

.day-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(39, 62, 58, 0.1);
}

.meta-pill {
  background: #FFFFFF;
  border: 1px solid var(--brand-gold);
  color: var(--brand-jade);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.info-boxes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.info-card-box {
  background: var(--bg-cream);
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--brand-gold);
  font-size: 0.88rem;
}

.info-card-box.warn-box {
  background: #FFF9F5;
  border-color: #E3B5A4;
}

.info-card-box h5 {
  color: var(--brand-jade);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.info-card-box.warn-box h5 {
  color: var(--brand-red);
}

.custom-section {
  background:
    linear-gradient(120deg, rgba(39, 62, 58, 0.94), rgba(24, 42, 39, 0.92)),
    url('https://images.unsplash.com/photo-1547981609-4b6bfe67ca0b?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: var(--bg-cream);
  padding: 64px 5%;
  border-top: 4px solid var(--brand-gold);
}

.custom-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.custom-form {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-gold);
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 5px;
  color: var(--brand-jade);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #D5CFC0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.94rem;
}

footer {
  background: #182725;
  color: #DCE3E1;
  padding: 52px 5% 24px;
  border-top: 3px solid var(--brand-red);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  color: var(--brand-gold);
  margin-bottom: 14px;
  font-size: 1.08rem;
}

.footer-col p, .footer-col li {
  font-size: 0.88rem;
  margin-bottom: 8px;
  list-style: none;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.84rem;
  color: #9AA8A5;
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-collage {
    display: none;
  }
  .dest-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .info-boxes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    flex-direction: column;
    padding: 20px;
    border-bottom: 2px solid var(--brand-gold);
  }
  .nav-links.show {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .custom-grid {
    grid-template-columns: 1fr;
  }
}

.tour-count-badge {
  display: inline-block;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.price-note-banner {
  background: #FFF9E6;
  border: 1px solid var(--brand-gold);
  color: var(--brand-jade);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  margin-bottom: 10px;
}

.timeline-stops {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stop-card {
  background: #FFFFFF;
  border: 1px solid rgba(39, 62, 58, 0.12);
  border-left: 3.5px solid var(--brand-red);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(39, 62, 58, 0.04);
}

.stop-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.stop-time-badge {
  background: var(--brand-jade);
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}

.stop-title {
  font-weight: 700;
  color: var(--brand-red);
  font-size: 0.94rem;
}

.stop-desc {
  font-size: 0.88rem;
  color: #2B3331;
  line-height: 1.65;
  white-space: pre-line;
}

.car-rental-section {
  background: var(--bg-light);
  border-top: 3px solid var(--brand-gold);
  border-bottom: 3px solid var(--brand-gold);
  padding: 40px 0 56px;
}

.car-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.car-pillar-card {
  background: #FFFFFF;
  border: 1.5px solid var(--brand-gold);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.22s, box-shadow 0.22s;
}

.car-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.car-pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.car-pillar-icon {
  font-size: 2rem;
}

.car-pillar-card h4 {
  color: var(--brand-red);
  font-size: 1.12rem;
}

.car-pillar-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.car-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 24px;
}

.transfer-table-wrap {
  overflow-x: auto;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1.5px solid var(--brand-gold);
  box-shadow: var(--shadow-sm);
}

.transfer-table {
  margin: 0;
}

.car-steps-box {
  margin-top: 44px;
  background: var(--bg-cream);
  border: 1.5px solid var(--brand-gold);
  border-radius: 18px;
  padding: 28px 24px;
}

.car-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}

.car-step-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 18px 16px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.step-num {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  background: var(--brand-red);
  color: var(--brand-gold);
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.car-step-card h5 {
  color: var(--brand-jade);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.car-step-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.adm-bar{position:fixed;left:0;right:0;bottom:0;z-index:9000;display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 16px;background:var(--brand-jade);color:#fff;font-size:.85rem;box-shadow:0 -6px 20px rgba(0,0,0,.2)}
.adm-bar span{opacity:.8;margin-right:auto}
.adm-bar button{background:var(--brand-gold);color:var(--brand-jade);border:0;border-radius:8px;padding:6px 12px;font-weight:600;cursor:pointer;font-family:inherit}
.adm-edit-btn{background:#fff;color:var(--brand-red);border:1.5px dashed var(--brand-red);border-radius:8px;padding:5px 10px;font-size:.78rem;font-weight:700;cursor:pointer;font-family:inherit;margin-top:6px}
.adm-edit-btn:hover{background:var(--brand-red);color:#fff}
.adm-overlay{position:fixed;inset:0;z-index:9500;background:rgba(20,30,28,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.adm-box{background:#fff;border-radius:var(--radius-lg);padding:22px;max-width:760px;width:100%;max-height:90vh;overflow:auto;box-shadow:var(--shadow-md)}
.adm-box h3{color:var(--brand-red);margin-bottom:4px}.adm-sub{color:var(--text-muted);font-size:.85rem;margin:2px 0 10px}
.adm-box label{display:block;font-weight:600;font-size:.85rem;margin:10px 0}
.adm-box input,.adm-box textarea{width:100%;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:8px;font:inherit;margin-top:4px}
.adm-scroll{overflow-x:auto;margin:10px 0}.adm-tbl{border-collapse:collapse;width:100%;min-width:620px}
.adm-tbl th{font-size:.75rem;padding:4px;background:var(--bg-cream)}.adm-tbl td{padding:3px}.adm-tbl input{margin:0;padding:6px}.adm-tbl .lbl{min-width:190px}
.adm-x{border:0;background:none;color:var(--brand-red);cursor:pointer;font-size:1rem}
.adm-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.adm-actions button,.adm-box>button{padding:8px 14px;border-radius:8px;border:1px solid var(--border-subtle);background:var(--bg-cream);cursor:pointer;font:inherit;font-weight:600}
.adm-actions .adm-primary{background:var(--brand-red);color:#fff;border-color:var(--brand-red)}
.adm-toast{position:fixed;bottom:70px;left:50%;transform:translateX(-50%);z-index:9800;background:var(--brand-jade);color:#fff;padding:10px 18px;border-radius:10px;font-size:.88rem;max-width:90vw}
.adm-link{background:none;border:0;color:inherit;opacity:.35;cursor:pointer;font:inherit;font-size:.75rem}

/* V12 Two-Installment Payment Summary Box */
.payment-split-box {
  background: #FFFFFF;
  border: 1.5px solid var(--brand-gold);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.split-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.split-badge {
  display: inline-block;
  background: var(--bg-cream);
  color: var(--brand-jade);
  border: 1px solid var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 4px;
}

.split-main-price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1.15;
}

.split-main-price small {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
}

.split-sub-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.pax-stepper {
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pax-stepper-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-jade);
}

.pax-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pax-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pax-btn:hover {
  background: var(--brand-red-dark);
}

.pax-val {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 54px;
  text-align: center;
  color: var(--text-dark);
}

.split-calc-card {
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 16px;
}

.split-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.split-line.dest-line {
  margin-bottom: 0;
}

.split-tier-tag {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cny-highlight {
  color: var(--brand-jade);
  font-size: 1.02rem;
}

.split-divider {
  border-top: 1px dashed rgba(39, 62, 58, 0.2);
  margin: 12px 0 10px;
}

.split-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
}

.split-total-row strong {
  font-size: 1.18rem;
  color: var(--brand-red);
}

.split-method-banner {
  margin-top: 12px;
  background: #FFF9F2;
  border: 1.5px solid var(--brand-red);
  border-radius: 12px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-red);
}

.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-red);
  position: relative;
  flex-shrink: 0;
}

.radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--brand-red);
}

.price-cell-clickable {
  cursor: pointer;
  transition: background 0.15s;
}

.price-cell-clickable:hover {
  background: #FFF5E4;
}

.price-cell-clickable.selected-tier {
  background: #FDECEC;
  color: var(--brand-red);
  outline: 2px solid var(--brand-red);
  outline-offset: -2px;
}


/* ==========================================================================
   V13 Interactive Calendar Picker & Direct Booking Form Styles
   ========================================================================== */
.booking-picker-wrap {
  position: relative;
  margin-bottom: 12px;
}

.booking-date-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #D5CFC0;
  border-radius: 12px;
  padding: 11px 15px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.booking-date-bar:hover,
.booking-date-bar.active {
  border-color: #2B82D9;
  box-shadow: 0 0 0 3px rgba(43, 130, 217, 0.14);
}

.date-bar-left {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.date-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.chevron-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1;
}

.cal-dropdown-card {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-width: 360px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  z-index: 2500;
}

.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cal-month-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 auto;
}

.cal-nav-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #475569;
  cursor: pointer;
  padding: 2px 10px;
  border-radius: 8px;
  line-height: 1;
}

.cal-nav-btn:hover {
  background: #F1F5F9;
  color: #0F172A;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748B;
  margin-bottom: 8px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.cal-day {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  border-radius: 8px;
  user-select: none;
}

.cal-day.muted {
  color: #CBD5E1;
}

.cal-day.disabled {
  color: #CBD5E1;
  cursor: not-allowed;
}

.cal-day.selectable {
  color: #1E293B;
  cursor: pointer;
  font-weight: 500;
}

.cal-day.selectable:hover {
  background: #EFF6FF;
  color: #1D4ED8;
}

.cal-day.min-highlight {
  background: #E0F2FE;
  color: #0369A1;
  font-weight: 600;
}

.cal-day.selected {
  background: #1D75D8;
  color: #FFFFFF;
  font-weight: 700;
}

.cal-footer-note {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.78rem;
  color: #94A3B8;
  text-align: left;
}

.booking-pax-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid #D5CFC0;
  border-radius: 12px;
  padding: 10px 15px;
  margin-bottom: 14px;
}

.direct-booking-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(39, 62, 58, 0.2);
}

.booking-inputs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .booking-inputs-grid {
    grid-template-columns: 1fr;
  }
}

.book-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-jade);
  margin-bottom: 4px;
}

.book-field input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #D5CFC0;
  border-radius: 9px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #FFFFFF;
}

.book-field input:focus {
  outline: none;
  border-color: var(--brand-red);
}

.book-agree-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 12px 0;
  font-size: 0.82rem;
  color: #334155;
  cursor: pointer;
}

.book-agree-box input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--brand-red);
  flex-shrink: 0;
}

.book-submit-full {
  width: 100%;
  justify-content: center;
  background: var(--brand-red);
  color: #FFFFFF;
  font-size: 1rem;
  padding: 13px 20px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(158, 42, 43, 0.25);
}

.book-submit-full:hover {
  background: var(--brand-red-dark);
}
