/* Đặt vé trực tiếp — dùng lại màu thương hiệu của theme, không đẻ bảng màu mới. */
.hvd-open { overflow: hidden; }
.hvd-open .hvr-bubbles { display: none; }

/* The dialog closes by setting [hidden]; an author display:flex would win over
   the UA stylesheet, so the attribute must be honoured explicitly. */
.hvd-overlay[hidden] { display: none; }
.hvd-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(20, 21, 23, .56);
}
@media (min-width: 640px) { .hvd-overlay { align-items: center; padding: 24px; } }

.hvd-panel {
  display: flex; flex-direction: column;
  width: 100%; max-width: 520px; max-height: 92dvh;
  background: #fff; color: #2e2f31;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 12px 40px rgba(20, 21, 23, .28);
}
@media (min-width: 640px) { .hvd-panel { border-radius: 16px; } }

.hvd-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid rgba(46, 47, 49, .1);
}
.hvd-head h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: #2e2f31; }
.hvd-close {
  width: 44px; height: 44px; margin: -8px -10px -8px 0;
  border: 0; border-radius: 999px; background: transparent;
  font-size: 28px; line-height: 1; color: #2e2f31; cursor: pointer;
}
.hvd-close:hover { background: rgba(46, 47, 49, .06); }
.hvd-close:focus-visible, .hvd-btn:focus-visible, .hvd-field input:focus-visible, .hvd-field select:focus-visible { outline: 2px solid #2e2f31; outline-offset: 2px; }

/* minmax(0, 1fr): trên máy 320px, dòng chữ dài không xuống dòng (giá, placeholder)
   không được đẩy cột lưới rộng hơn hộp và cắt mất mép phải. */
.hvd-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 20px 24px; overflow-y: auto; overscroll-behavior: contain; }
.hvd-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }

.hvd-legs { display: grid; gap: 8px; }
.hvd-leg { padding: 12px 14px; border: 1px solid rgba(46, 47, 49, .12); border-radius: 12px; background: #fafafa; }
.hvd-leg.is-failed { border-color: #d93a2b; background: #fff5f4; }
.hvd-leg p { margin: 0; }
.hvd-leg-kicker { font-size: 12px; font-weight: 700; letter-spacing: .02em; color: #58595b; text-transform: uppercase; }
.hvd-leg-main { margin-top: 2px !important; font-size: 16px; font-weight: 700; }
.hvd-leg-seats { font-size: 14px; color: #58595b; }
.hvd-code {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-top: 8px !important; padding: 10px 12px; border-radius: 10px; background: #fff4d1;
}
.hvd-code span { font-size: 13px; color: #58595b; }
.hvd-code strong { font-size: 20px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.hvd-tickets { margin-top: 6px !important; font-size: 12px; color: #58595b; word-break: break-word; }

.hvd-total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 15px; }
.hvd-total strong { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

.hvd-field { display: grid; gap: 4px; }
.hvd-field span { font-size: 13px; font-weight: 700; color: #2e2f31; }
.hvd-field input {
  min-height: 48px; padding: 0 14px;
  border: 1px solid rgba(46, 47, 49, .24); border-radius: 12px;
  font: inherit; font-size: 16px; color: #2e2f31; background: #fff;
}
.hvd-field input:focus { border-color: #2e2f31; }
.hvd-phone { display: grid; grid-template-columns: minmax(104px, 36%) minmax(0, 1fr); gap: 8px; }
.hvd-field select {
  min-width: 0; min-height: 48px; padding: 0 10px;
  border: 1px solid rgba(46, 47, 49, .24); border-radius: 12px;
  font: inherit; font-size: 16px; color: #2e2f31; background: #fff;
}
.hvd-field select:focus { border-color: #2e2f31; }

.hvd-methods { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.hvd-methods legend { margin-bottom: 4px; padding: 0; font-size: 13px; font-weight: 700; }
.hvd-method {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border: 1px solid rgba(46, 47, 49, .16); border-radius: 12px; cursor: pointer;
}
.hvd-method:has(input:checked) { border-color: #2e2f31; background: #fff8e1; }
.hvd-method input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: #2e2f31; flex: 0 0 auto; }
.hvd-method strong { display: block; font-size: 15px; font-weight: 700; }
.hvd-method small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.45; color: #58595b; }

.hvd-captcha:empty { display: none; }
.hvd-error { margin: 0; font-size: 14px; color: #c62f22; }
.hvd-error:empty { display: none; }
.hvd-warn { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff4d1; font-size: 14px; }
.hvd-fine { margin: 0; font-size: 13px; line-height: 1.5; color: #58595b; }
.hvd-loading { margin: 24px 0; text-align: center; color: #58595b; }

.hvd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform 130ms cubic-bezier(.22, .7, .3, 1);
}
.hvd-btn:active { transform: scale(.98); }
.hvd-btn:disabled { opacity: .5; cursor: progress; }
.hvd-btn-primary { background: #ffc20e; color: #2e2f31; }
.hvd-btn-dark { background: #2e2f31; color: #fff; }
.hvd-btn-ghost { background: #fff; color: #2e2f31; border-color: rgba(46, 47, 49, .24); }
.hvd-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.hvd-result { padding: 14px 16px; border-radius: 12px; }
.hvd-result p { margin: 0; font-size: 14px; line-height: 1.5; }
.hvd-result.is-ok { background: #eaf7ee; }
.hvd-result.is-error { display: grid; gap: 10px; background: #fff5f4; }
.hvd-result-title { font-size: 17px !important; font-weight: 700; margin-bottom: 4px !important; }

.hvd-qr { display: grid; justify-items: center; gap: 10px; text-align: center; }
.hvd-qr img { width: min(260px, 70vw); height: auto; border: 1px solid rgba(46, 47, 49, .12); border-radius: 12px; }
.hvd-qr .hvd-total { width: 100%; }
.hvd-countdown { margin: 0; font-size: 13px; color: #58595b; font-variant-numeric: tabular-nums; }
.hvd-status { margin: 0; font-size: 14px; font-weight: 700; }
.hvd-status.is-expired { color: #dc2626; }

.hvd-countdown-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  font-variant-numeric: tabular-nums;
  margin: 0 0 6px;
  transition: all 0.2s ease;
}
.hvd-countdown-live .hvd-timer-icon { font-size: 16px; }
.hvd-countdown-live.is-urgent {
  background: #fef2f2;
  border-color: #ef4444;
  color: #dc2626;
  animation: hvd-pulse 1s infinite alternate ease-in-out;
}
.hvd-countdown-live.is-expired {
  background: #fee2e2;
  border-color: #dc2626;
  color: #991b1b;
}

@keyframes hvd-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

.hvd-qr-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.hvd-qr-content {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.hvd-qr-content.is-expired {
  filter: blur(8px) grayscale(90%);
  opacity: 0.3;
  pointer-events: none;
  user-select: none;
}

.hvd-acc-info {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: #334155;
  border: 1px solid #e2e8f0;
}
.hvd-acc-num {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0f172a;
}
.hvd-copy-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.hvd-copy-btn:hover:not(:disabled) {
  background: #eff6ff;
  border-color: #93c5fd;
}
.hvd-copy-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.hvd-qr-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 16px;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.hvd-qr-overlay[hidden] {
  display: none;
}

.hvd-expired-warning {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1.5px solid #f87171;
  color: #991b1b;
}
.hvd-expired-warning strong {
  font-size: 16px;
  font-weight: 800;
  color: #b91c1c;
  line-height: 1.35;
}
.hvd-expired-warning p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #7f1d1d;
}
.hvd-btn-renew {
  margin-top: 6px;
  width: 100%;
  max-width: 220px;
}

@media (prefers-reduced-motion: reduce) { .hvd-btn { transition: none; } }

.hvd-callback { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff7d6; color: #2e2f31; font-size: 14px; font-weight: 600; }
.hvd-reassure {
  margin: 8px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
}

/* Ghi chú dưới khối thanh toán khi tuyến chỉ nhận trả trực tuyến. */
.hvd-method-note {
  margin: 10px 0 0;
  color: #5b5f66;
  font-size: 13px;
  line-height: 1.5;
}

/* Combo đặt trước (assets/combo.js). Vàng thương hiệu #ffc20e làm nền nhấn, chữ giữ màu tối để đủ tương phản. */
.hvc-banner { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #fff4d1; border: 1px solid #ffc20e; color: #2e2f31; }
.hvc-banner p { margin: 0; }
.hvc-banner-title { font-size: 15px; font-weight: 700; line-height: 1.4; }
.hvc-banner-fine { margin-top: 4px !important; font-size: 13px; line-height: 1.5; color: #4a4b4e; }
.hvc-banner-date { margin-top: 8px !important; font-size: 14px; font-weight: 600; }
.hvc-badge {
  display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px;
  background: #ffc20e; color: #2e2f31; font-size: 12px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.hvc-scarcity-badge {
  display: inline-block; margin-top: 4px; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: #fee2e2; color: #b91c1c; font-size: 11px; font-weight: 700; line-height: 1.5; white-space: nowrap;
}
.hvc-seat-hint { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff4d1; font-size: 14px; line-height: 1.45; color: #2e2f31; }
.hvc-seat-hint[hidden] { display: none; }
.hvd-combo-save { margin: -4px 0 0; font-size: 13px; color: #4a4b4e; text-align: right; }
.hvd-combo-save s { color: #6b6c70; }

.hvr-seat-total strong.is-combo { color: #2e2f31; }
.hvc-was { margin-right: 6px; font-size: .7em; font-weight: 600; color: #6b6c70; }
.hvc-seat-hint span { display: block; }
.hvc-deadline { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: #b3261e; font-variant-numeric: tabular-nums; }
.hvc-deadline[hidden] { display: none; }
.hvd-form > .hvc-deadline { margin: -6px 0 0; text-align: right; }
.hvr-trip-card.hvc-hidden { display: none; }
.hvrt-trip.hvc-hidden { display: none; }
.hvrt-trip-side .hvc-badge { align-self: flex-start; margin: 0 0 6px; }

/* Mời đặt khứ hồi: dải riêng dưới ô tìm vé (assets/combo.js). */
.hvc-rt-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  margin: 10px 0 0; padding: 10px 14px; border-radius: 12px;
  background: rgb(255 194 14 / 14%); border: 1px solid rgb(255 194 14 / 55%);
}
.hvc-rt-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: #ffc20e; color: #2e2f31; font-size: 13px; font-weight: 800; line-height: 1.5; white-space: nowrap;
  animation: hvc-rt-pulse 2.2s ease-in-out infinite;
}
.hvc-rt-text { font-size: 14px; font-weight: 700; line-height: 1.45; color: #6b5300; }
/* Thẻ giá treo dưới nút Khứ hồi: đung đưa như biển giảm giá treo. */
.hvr-trip-mode-tab[data-mode="roundtrip"] {
  position: relative !important;
  overflow: visible !important;
}
.hvr-trip-mode-segmented {
  overflow: visible !important;
}
.hvb-search-form .hvb-mode-control,
#hop-dat-ve .hvb-mode-control {
  position: relative !important;
  overflow: visible !important;
}
.hvb-search-form.has-hvc-rt-hang .hvb-mode-control,
#hop-dat-ve .hvb-search-form.has-hvc-rt-hang .hvb-mode-control,
.has-hvc-rt-hang .hvb-mode-control {
  margin-bottom: 24px !important;
}
.hvc-rt-hang {
  position: absolute !important;
  top: calc(100% + 7px) !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 2.5px 9px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  background: #ffc20e !important;
  color: #1e293b !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  border: 1px solid rgba(217, 119, 6, 0.45) !important;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.16) !important;
  transform-origin: 50% -7px !important;
  animation: hvc-rt-swing 3.2s ease-in-out infinite !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
/* Sợi dây treo từ nút xuống thẻ. */
.hvc-rt-hang::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  left: 50% !important;
  bottom: 100% !important;
  width: 1.5px !important;
  height: 7px !important;
  background: #d97706 !important;
  transform: translateX(-50%) !important;
}
@keyframes hvc-rt-swing {
  0%, 100% { transform: translateX(-50%) rotate(-4.5deg); }
  50% { transform: translateX(-50%) rotate(4.5deg); }
}
@media (prefers-reduced-motion: reduce) { .hvc-rt-hang { animation: none !important; transform: translateX(-50%) !important; } }
/* Trên nền tối của ô tìm vé trang một chiều, chữ vàng đậm khó đọc. */
.hvr-hero .hvc-rt-strip .hvc-rt-text { color: #ffe9a3; }
@keyframes hvc-rt-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgb(255 194 14 / 60%); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 8px rgb(255 194 14 / 0%); }
}
@media (prefers-reduced-motion: reduce) { .hvc-rt-badge { animation: none; } }

/* Mời thêm chiều về trong hộp đặt vé một chiều. */
.hvd-upsell {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgb(255 194 14 / 16%); border: 1px solid rgb(255 194 14 / 55%);
}
.hvd-upsell-text { flex: 1 1 180px; font-size: 14px; font-weight: 700; line-height: 1.45; color: #6b5300; }
.hvd-upsell-btn { width: auto; min-height: 44px; padding: 0 16px; font-size: 15px; }
/* Chọn ngày về ngay trong hộp mời. */
.hvd-upsell-label { flex: 1 1 100%; font-size: 13px; font-weight: 800; color: #6b5300; margin-top: 2px; }
.hvd-upsell-dates { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.hvd-date-chip {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-width: 84px; min-height: 48px; padding: 6px 10px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgb(107 83 0 / 35%); background: #fff; color: #2e2f31; font: inherit; line-height: 1.2;
}
.hvd-date-chip strong { font-size: 13px; font-weight: 800; }
.hvd-date-chip small { font-size: 12px; color: #6b6258; }
.hvd-date-chip[aria-pressed="true"] { border-color: #2e2f31; background: #2e2f31; color: #fff; }
.hvd-date-chip[aria-pressed="true"] small { color: #ffe9a3; }
.hvd-date-chip:focus-visible, .hvd-upsell-other:focus-visible { outline: 3px solid #ffc20e; outline-offset: 2px; }
.hvd-date-other { display: flex; flex-direction: column; justify-content: center; gap: 2px; font-size: 12px; font-weight: 700; color: #6b5300; }
.hvd-upsell-other { min-height: 44px; padding: 4px 8px; border-radius: 10px; border: 1px solid rgb(107 83 0 / 35%); background: #fff; font: inherit; font-size: 14px; color: #2e2f31; }
.hvd-upsell-other.is-picked { border-color: #2e2f31; box-shadow: 0 0 0 2px #2e2f31; }

/* Màn hẹp: giữ khoảng cách êm ái cho thẻ treo dưới nút Khứ hồi */
@media (max-width: 640px) {
  .hvb-search-form.has-hvc-rt-hang,
  .hvr-page.hvrt-page .hvb-search-form.has-hvc-rt-hang { padding-bottom: 0 !important; }
}

/* Tiêu điểm đặt lên tiêu đề hộp (điện thoại) chỉ cho trình đọc màn hình. */
#hvd-title:focus { outline: none; }

/* Promo combo trên trang tuyến Điện Biên (inc/combo-promo.php). Khách từ từ khoá
   phần lớn chưa biết có ưu đãi: vé combo trong hero, thẻ điều kiện ngay trên ô
   tìm vé. */
.hvc-offer {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid #f4c900;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  scroll-margin-top: 90px;
}
.hvc-offer-head h3 { margin: 4px 0 0; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.25; }
.hvc-offer-kicker { margin: 0; color: #854d0e; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }
.hvc-offer-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hvc-offer-tiers li {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #f1d98a;
}
.hvc-offer-tiers strong { font-size: 22px; line-height: 1.1; color: #2e2f31; }
.hvc-offer-tiers span { color: #5b5d61; font-size: 13px; }
.hvc-offer-rules { display: grid; gap: 6px; margin: 0; padding-left: 18px; color: #45474b; font-size: 14px; line-height: 1.45; }
.hvc-offer-cta { justify-self: start; min-height: 48px; }
@media (max-width: 560px) {
  .hvc-offer { padding: 16px 14px; }
  .hvc-offer-tiers { grid-template-columns: 1fr; }
  .hvc-offer-tiers li { grid-template-columns: auto 1fr; align-items: baseline; column-gap: 8px; }
  .hvc-offer-cta { justify-self: stretch; text-align: center; }
}

/* --- UNIFIED BOOKING CONSOLE (HỘP ĐẶT VÉ TOÀN DIỆN) --- */
.hvb-booking-console {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 16px 44px -8px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  margin: 0 0 24px;
}

.hvb-booking-console .hvc-single-hook {
  margin: 0;
  padding: 16px 22px;
  background: linear-gradient(135deg, #fffdf2 0%, #fef9c3 100%);
  border: 0;
  border-bottom: 1.5px solid #fde047;
  border-radius: 0;
  box-shadow: none;
}

.hvb-booking-console .hvc-hook-headline {
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 2px 0 0;
}

.hvb-booking-console .hvc-hook-sub {
  font-size: 14px;
  color: #475569;
}

.hvb-booking-console .hvb-search-form {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #f8fafc !important; /* Crisp slate-50 surface making white fields POP */
  border-top: 1px solid #e2e8f0 !important;
  padding: 18px 20px 20px !important;
  gap: 10px !important;
}

@media (max-width: 640px) {
  .hvb-booking-console {
    border-radius: 16px;
    margin: 0 0 16px;
  }
  .hvb-booking-console .hvc-single-hook {
    padding: 12px 14px;
  }
  .hvb-booking-console .hvc-hook-headline {
    font-size: 18px;
  }
  .hvb-booking-console .hvc-hook-sub {
    font-size: 13.5px;
  }
  .hvb-booking-console .hvb-search-form {
    padding: 12px !important;
    gap: 8px !important;
  }
}

/* --- PROMINENT NGÀY ĐI & DATE SHORTCUTS WITH GLOWING EFFECT --- */
.hvr-page.hvrt-page .hvb-search-form .hvr-field.hvr-field-date,
.hvr-page.hvrt-page .hvb-search-form .hvr-field.is-combo-date-field,
.is-dien-bien-hero-console #hop-dat-ve .hvr-field-date {
  position: relative !important;
  border-color: #f59e0b !important;
  background: #fffdf5 !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35), 0 0 16px 2px rgba(245, 158, 11, 0.22) !important;
  animation: hvbDateGlow 2.4s ease-in-out infinite !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease !important;
}

@keyframes hvbDateGlow {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.35), 0 0 14px 2px rgba(245, 158, 11, 0.2) !important;
    border-color: #f59e0b !important;
  }
  50% {
    box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.65), 0 0 24px 5px rgba(245, 158, 11, 0.45) !important;
    border-color: #d97706 !important;
  }
}

.hvr-page.hvrt-page .hvb-search-form .hvr-field.hvr-field-date:hover,
.hvr-page.hvrt-page .hvb-search-form .hvr-field.is-combo-date-field:hover,
.is-dien-bien-hero-console #hop-dat-ve .hvr-field-date:hover {
  animation: none !important;
  border-color: #d97706 !important;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.55), 0 0 26px 6px rgba(245, 158, 11, 0.45) !important;
  background: #ffffff !important;
}

.hvr-page.hvrt-page .hvb-search-form .hvr-field.hvr-field-date:focus-within,
.hvr-page.hvrt-page .hvb-search-form .hvr-field.is-combo-date-field:focus-within,
.is-dien-bien-hero-console #hop-dat-ve .hvr-field-date:focus-within {
  animation: none !important;
  border-color: #b45309 !important;
  box-shadow: 0 0 0 4.5px rgba(245, 158, 11, 0.7), 0 0 28px 8px rgba(245, 158, 11, 0.55) !important;
  background: #ffffff !important;
}

.hvb-date-label-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 2px !important;
  min-height: 14px !important;
  line-height: 14px !important;
}

.hvb-date-label-row label {
  margin: 0 !important;
  line-height: 14px !important;
}

.hvb-date-promo-badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 1px 6px !important;
  background: #fef08a !important;
  color: #854d0e !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  border-radius: 5px !important;
  border: 1px solid #fde047 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

/* Quick Date Shortcuts Bar */
.hvb-date-shortcuts {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px 14px;
  background: #f8fafc;
  border-top: 1px dashed #e2e8f0;
}

.hvb-shortcuts-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hvb-shortcuts-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.hvb-shortcuts-chips::-webkit-scrollbar {
  display: none;
}

.hvb-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.hvb-chip-btn:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.hvb-chip-btn.is-active {
  border-color: #0f172a;
  background: #0f172a;
  color: #ffffff;
}

.hvb-chip-btn .hvb-chip-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
}

/* Combo discount highlight chip */
.hvb-chip-btn.is-combo {
  border-color: #f59e0b;
  background: #fffdf5;
  color: #92400e;
}

.hvb-chip-btn.is-combo:hover {
  background: #fef9c3;
  border-color: #d97706;
}

.hvb-chip-btn.is-combo.is-active {
  border-color: #d97706;
  background: #f59e0b;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.hvb-chip-btn.is-combo .hvb-chip-tag {
  background: #fef08a;
  color: #854d0e;
  border: 1px solid #fde047;
}

.hvb-chip-btn.is-combo.is-active .hvb-chip-tag {
  background: #ffffff;
  color: #92400e;
  border-color: #ffffff;
}

@media (max-width: 640px) {
  .hvb-date-shortcuts {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 8px 12px 12px;
  }
  .hvb-shortcuts-chips {
    width: 100%;
  }
  .hvb-chip-btn {
    padding: 5px 9px;
    font-size: 12px;
  }
}

/* Single Hook Value Proposition Banner */
.hvc-single-hook {
  display: block;
  margin: 0 0 16px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1.5px solid #ffbe00;
  border-left: 5px solid #ffbe00;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}
.hvc-hook-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hvc-hook-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hvc-hook-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #854d0e;
  text-transform: uppercase;
}
.hvc-hook-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  background: #fef9c3;
  color: #854d0e;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid #fde047;
}
.hvc-hook-headline {
  margin: 2px 0 0;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  color: #1e293b;
  line-height: 1.25;
}
.hvc-hook-sub {
  margin: 0;
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}
.hvc-hook-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  font-size: 13.5px;
  color: #64748b;
}
.hvc-hook-stat {
  font-weight: 600;
  color: #334155;
}
.hvc-hook-sep {
  color: #cbd5e1;
}
.hvc-hook-eco-link {
  color: #0369a1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
.hvc-hook-eco-link:hover {
  color: #0284c7;
}
.hvc-hook-rules-accordion {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
}
.hvc-hook-rules-toggle {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  user-select: none;
  list-style: none;
}
.hvc-hook-rules-toggle::-webkit-details-marker {
  display: none;
}
.hvc-hook-rules-toggle::after {
  content: " \25be";
  font-size: 11px;
}
.hvc-hook-rules-accordion[open] .hvc-hook-rules-toggle::after {
  content: " \25b4";
}
.hvc-hook-rules-accordion .hvc-offer-rules {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
}
@media (max-width: 560px) {
  .hvc-single-hook {
    padding: 14px 14px;
    border-left-width: 4px;
  }
  .hvc-hook-headline {
    font-size: 19px;
  }
  .hvc-hook-sub {
    font-size: 14px;
  }
  .hvc-hook-proof {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .hvc-hook-sep {
    display: none;
  }
}

/* 3-Tier Fleet Matrix on Main Route LP (Good-Better-Best Anchoring) */
.hvc-3tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 10px;
  align-items: stretch;
}
.hvc-tier-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 12px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-sizing: border-box;
}
.hvc-tier-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

/* Tier 1: Eco (Budget Saver) */
.hvc-tier-card.is-eco {
  border-color: #cbd5e1;
  background: #f8fafc;
}
.hvc-tier-card.is-eco:hover {
  border-color: #94a3b8;
}

/* Tier 2: Lux 34G (Featured Hero / Sweet-Spot) */
.hvc-tier-card.is-lux {
  border-color: #f4c900;
  background: #fffdf5;
  box-shadow: 0 4px 14px rgba(244, 201, 0, 0.18);
}
.hvc-tier-card.is-lux:hover {
  border-color: #eab308;
  box-shadow: 0 6px 20px rgba(244, 201, 0, 0.28);
}

/* Tier 3: Royal 22 Cabin (Executive VIP Luxury) */
.hvc-tier-card.is-royal {
  border-color: #334155;
  background: #ffffff;
}
.hvc-tier-card.is-royal:hover {
  border-color: #0f172a;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

/* Tier Badges (WCAG AAA contrast) */
.hvc-tier-tag {
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #334155;
  margin-bottom: 8px;
}
.hvc-tier-tag.is-lux {
  background: #f4c900;
  color: #1e2530;
}
.hvc-tier-tag.is-royal {
  background: #0f172a;
  color: #fde68a;
}

/* Tier Titles & Prices */
.hvc-tier-title {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.hvc-tier-price {
  margin-bottom: 4px;
  color: #0f172a;
}
.hvc-tier-price strong {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
.hvc-tier-card.is-lux .hvc-tier-price strong {
  color: #b45309;
}
.hvc-tier-price small {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  margin-left: 2px;
}
.hvc-tier-condition {
  margin: 0 0 12px;
  font-size: 12px;
  color: #475569;
  line-height: 1.35;
  flex-grow: 1;
}

/* Button Treatments: Strict CRO Hierarchy */
.hvc-tier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  min-height: 38px;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

/* Secondary CTA (Eco): Clean Neutral Outline */
.hvc-tier-btn.is-outline {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #334155;
}
.hvc-tier-btn.is-outline:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Primary CTA (Lux): Solid Brand Yellow */
.hvc-tier-card.is-lux .hvc-tier-btn.is-primary,
.hvc-tier-card.is-lux .hvr-button-yellow {
  background: #f4c900;
  color: #1e2530;
  border: none;
  box-shadow: 0 2px 6px rgba(244, 201, 0, 0.35);
}
.hvc-tier-card.is-lux .hvc-tier-btn.is-primary:hover,
.hvc-tier-card.is-lux .hvr-button-yellow:hover {
  background: #eab308;
  color: #0f172a;
}

/* VIP CTA (Royal): Midnight Slate Luxury Button */
.hvc-tier-btn.is-royal-cta {
  background: #0f172a;
  color: #ffffff;
  border: 1px solid #334155;
}
.hvc-tier-btn.is-royal-cta:hover {
  background: #1e293b;
  color: #fde68a;
  border-color: #0f172a;
}

@media (max-width: 640px) {
  .hvc-3tier-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hvc-tier-card {
    padding: 12px 14px;
  }
}

/* Lựa chọn giá combo / giá thường trong hộp đặt vé. */
.hvd-price-choice .hvd-price-combo:has(input:checked) { border-color: #ffc20e; background: #fff8e1; }
/* Theme tô màu chữ theo khối cha (hero tối, span mặc định màu mực): ghim màu. */
.hvr-page .hvc-offer,
.hvr-page .hvc-offer h3,
.hvr-page .hvc-offer li,
.hvr-page .hvc-offer-tiers strong { color: #2e2f31; }
.hvr-page .hvc-offer .hvc-offer-kicker { color: #854d0e; }
.hvr-page .hvc-offer-tiers span { color: #5b5d61; }
.hvr-page .hvc-offer-rules li { color: #45474b; }
/* Hai ý định trong thẻ ưu đãi: đi từ tuần sau (combo) / đi trong tuần này (vé thường). */
.hvc-offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hvr-page .hvc-offer .hvc-offer-now { color: #2e2f31; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hvc-search-anchor { display: block; scroll-margin-top: 90px; }
@media (max-width: 560px) {
  .hvc-offer-actions { flex-direction: column; align-items: stretch; }
  .hvr-page .hvc-offer .hvc-offer-now { text-align: center; padding: 6px 0; }
}
/* Lối sang giá thường trong hộp đặt vé: một dòng chữ nhỏ, không tranh với giá combo. */
.hvd-price-switch { margin: 2px 0 0; font-size: 13px; color: #5b5d61; }
.hvd-price-switch button { padding: 0; border: 0; background: none; color: #2e2f31; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hvr-page .hvc-offer .hvc-offer-sub { margin: 6px 0 0; color: #45474b; font-size: 15px; line-height: 1.45; }

/* Vé combo trong hero trang tuyến Bắc (haivan_booking_combo_ticket_html). Hình
   dáng dùng chung lớp .hvt* với vé Vũng Tàu (combo-early-vt.css); ở đây chỉ thêm
   ba nhãn điều kiện to trên thân vé và danh sách điều kiện dưới cuống vé. */
.hvc-db .hvc-db-conds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.hvc-db .hvc-db-conds li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: #2e2f31;
  color: #ffc20e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}
.hvc-db .hvc-db-conds li::before {
  content: "✓";
  color: #fff;
  font-weight: 900;
}
.hvc-db .hvt-title { margin-top: 0; }
.hvc-db .hvc-db-terms {
  display: grid;
  gap: 6px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(46, 47, 49, 0.14);
  list-style: none;
}
.hvc-db .hvc-db-terms li {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #2e2f31;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.hvc-db .hvc-db-terms li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #b07d00;
  font-weight: 900;
}
.hvc-db .hvc-db-terms li:first-child { font-weight: 800; }
.hvr-page .hvc-db .hvc-db-more {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #2e2f31;
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hvc-db .hvt-detail strong { font-weight: 900; }
@media (max-width: 380px) {
  .hvc-db .hvc-db-conds li { font-size: 13px; padding: 5px 10px 5px 8px; }
}
/* Máy tính: bố cục 50/50 chuẩn (cột trái: thông tin tuyến, cột phải: thẻ combo + crosslink Eco) */
@media (min-width: 900px) {
  .hvr-intro-grid.has-db-ticket {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: start;
    row-gap: 0;
  }
  .hvr-intro-grid.has-db-ticket .hvr-intro-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .hvr-intro-grid.has-db-ticket .hvr-intro-media {
    display: none;
  }
  .hvr-intro-grid.has-db-ticket .hvr-intro-ticket-wrap {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .hvr-intro-grid.has-db-ticket .hvt {
    margin-top: 0;
  }
  .hvr-intro-grid.has-db-ticket .hvr-intro-stats strong {
    white-space: nowrap;
    font-size: clamp(20px, 1.7vw, 26px);
  }
}
/* Dòng "Đi 4 người" trên vé hero: nổi như một phiếu nhỏ trắng, số tiền đậm. */
.hvc-db .hvc-db-four {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #2e2f31;
  box-shadow: 0 2px 0 rgba(46, 47, 49, 0.18);
}
.hvc-db .hvc-db-four strong { font-size: 20px; font-weight: 900; line-height: 1.2; }
.hvc-db .hvc-db-four span { font-size: 14px; font-weight: 700; color: #5b5d61; }
/* Điện thoại & Máy tính bảng: tiêu đề → hai nút đặt vé → khối combo (vé + crosslink) → số liệu */
@media (max-width: 899px) {
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-actions { order: 3; margin: 24px 0 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-actions .hvr-button { flex: 1 1 0; justify-content: center; text-align: center; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-ticket-wrap {
    order: 4;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
  }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvt { order: 1; margin: 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvc-crosslink { order: 2; margin: 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-stats { order: 5; margin: 20px 0 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-lead,
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-motto,
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-media { display: none; }

  .hvt[data-hvcd]:not(.is-expanded) { filter: none; animation: none; }
  .hvt[data-hvcd]:not(.is-expanded) > .hvt-main,
  .hvt[data-hvcd]:not(.is-expanded) > .hvt-stub { display: none; }
  .hvt[data-hvcd]:not(.is-expanded) > .hvt-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 12px 16px;
    color: #fff;
    text-align: left;
    font: inherit;
    background: rgba(255, 194, 14, 0.1);
    border: 1.5px solid #ffc20e;
    border-radius: 12px;
    cursor: pointer;
    touch-action: manipulation;
  }
}

/* Khoảng cách các thành phần trong hero khi xem trên màn hình nhỏ */
@media (max-width: 899px) {
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-kicker { margin: 0 0 8px; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-lead { margin: 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-motto { margin: 12px 0 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-actions { margin: 24px 0 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-stats { margin: 24px 0 0; }
  .hvr-intro .hvr-intro-grid.has-db-ticket .hvr-intro-media { margin: 32px 0 0; }
}
/* Thẻ điều kiện combo là <details>: máy tính mở sẵn, điện thoại thu gọn (combo.js). */
.hvc-offer > summary { display: block; list-style: none; cursor: pointer; }
.hvc-offer > summary::-webkit-details-marker { display: none; }
.hvc-offer .hvc-offer-kicker,
.hvc-offer .hvc-offer-sub { display: block; }
.hvc-offer .hvc-offer-toggle { display: none; }
.hvc-offer:not([open]) .hvc-offer-toggle {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #2e2f31;
  color: #ffc20e;
  font-size: 14px;
  font-weight: 800;
}
.hvc-offer:not([open]) .hvc-offer-toggle::after { content: " ▾"; }
.hvc-offer:not([open]) { gap: 0; }

/* Banner cross-link chuyển sang LP Combo Eco 500k/800k đặt trước 7 ngày */
.hvc-crosslink {
  display: block;
  margin: 14px 0 0;
  padding: 12px 16px;
  background: #fff8e1;
  border: 1.5px dashed #d99b00;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}
.hvc-crosslink:hover,
.hvc-crosslink:focus-visible {
  background: #fff3cc;
  border-color: #b37d00;
  border-style: solid;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 155, 0, 0.18);
}
.hvc-crosslink-text {
  display: block;
  color: #2e2f31;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.hvr-intro-ticket-wrap .hvc-crosslink {
  margin: 0;
}
.hvc-offer .hvc-crosslink {
  margin: 12px 0 6px;
}
@media (max-width: 560px) {
  .hvc-crosslink {
    padding: 10px 14px;
  }
  .hvc-crosslink-text {
    font-size: 13.5px;
  }
}

/* --- TUYẾN ĐIỆN BIÊN & MỘC CHÂU: TRAVELOKA-STYLE MASTER HERO WRAP WITH REAL BUS BACKGROUND --- */
.hvb-traveloka-hero-wrap {
  position: relative;
  background-color: #0f172a;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.40) 0%, rgba(15, 23, 42, 0.15) 40%, rgba(15, 23, 42, 0.60) 100%),
    url('./brand/dien-bien-hero-montage.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hvb-traveloka-hero-wrap.is-moc-chau {
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.50) 0%, rgba(15, 23, 42, 0.25) 40%, rgba(15, 23, 42, 0.70) 100%),
    url('./brand/hvxt-moc-chau-van-mountain.webp');
}

.hvb-traveloka-hero-wrap.is-vung-tau {
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.25) 40%, rgba(15, 23, 42, 0.70) 100%),
    url('./brand/van-seaside.webp');
}

.hvb-traveloka-hero-wrap.is-son-la {
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.50) 0%, rgba(15, 23, 42, 0.25) 40%, rgba(15, 23, 42, 0.70) 100%),
    url('./brand/hvxt-son-la-bus-night.webp');
}

.hvb-traveloka-hero-wrap .hvr-intro.is-dien-bien-hero,
.hvb-traveloka-hero-wrap .hvr-intro.is-moc-chau-hero,
.hvb-traveloka-hero-wrap .hvr-intro.is-son-la-hero,
.hvb-traveloka-hero-wrap .hvr-hero.is-dien-bien-hero-console,
.hvb-traveloka-hero-wrap .hvr-hero.is-moc-chau-hero-console,
.hvb-traveloka-hero-wrap .hvr-hero.is-son-la-hero-console {
  background: transparent !important;
}

.hvb-trust-motto {
  margin: 0 auto;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #cbd5e1;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  max-width: 860px;
}

.hvr-intro.is-dien-bien-hero {
  position: relative;
  border-bottom: 0;
  text-align: center;
}

.hvr-intro.is-dien-bien-hero .hvr-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hvr-intro.is-dien-bien-hero .hvr-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
  margin-bottom: 14px;
}

.hvr-intro.is-dien-bien-hero .hvr-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hvr-intro.is-dien-bien-hero .hvr-breadcrumb a:hover {
  color: var(--hvr-yellow, #ffc20e);
}

.hvr-intro.is-dien-bien-hero .hvr-breadcrumb strong {
  color: #f1f5f9;
}

.hvr-intro-center.is-dien-bien-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hvr-intro.is-dien-bien-hero .hvr-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--hvr-yellow, #ffc20e);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.hvr-intro.is-dien-bien-hero .hvr-intro-title {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hvr-intro.is-dien-bien-hero .hvr-intro-title em {
  color: var(--hvr-yellow, #ffc20e);
  font-style: normal;
}

.hvr-intro.is-dien-bien-hero .hvr-intro-subhead {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  color: #cbd5e1;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Seamless dock: Hero Console section directly attached to Hero Intro */
.hvr-hero.is-dien-bien-hero-console {
  position: relative;
  border-top: 0;
  padding: 10px 0 44px;
}

.hvr-hero.is-dien-bien-hero-console::before {
  display: none; /* Suppress dot matrix background pattern for clean Traveloka look */
}

.is-dien-bien-hero-console .hvr-search-meta {
  justify-content: center !important;
  margin-top: 10px !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.is-dien-bien-hero-console .hvr-search-meta a {
  color: #f1f5f9 !important;
}

.is-dien-bien-hero-console .hvr-search-meta a:hover {
  color: var(--hvr-yellow, #ffc20e) !important;
}

/* ==========================================================================
   UI/UX PRO MAX RENOVATION: TRAVELOKA-STYLE BOOKING CONSOLE & PROMOS
   ========================================================================== */

/* Modern Card Surface for Booking Console across all routes */
#hop-dat-ve,
.hvb-booking-console {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 48px -10px rgba(0, 0, 0, 0.45), 0 4px 16px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  padding: 24px 28px 24px;
  margin: 0 auto 20px;
  max-width: 1140px;
  overflow: hidden;
  box-sizing: border-box;
}

#hop-dat-ve:has(.hvb-date-shortcuts) {
  padding-bottom: 0;
}

/* Clear all fallback grid mess from booking-search.css */
#hop-dat-ve .hvb-search-form {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-top: 0 !important;
  padding: 0 !important;
}

/* Suppress redundant return endpoints and pair field on intercity route */
#hop-dat-ve .hvrt-return-endpoints,
#hop-dat-ve .hvrt-pair-field,
#hop-dat-ve [hidden] {
  display: none !important;
}

/* Neutralize return field container so its children participate directly in the grid */
#hop-dat-ve .hvr-return-field {
  display: contents !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  box-shadow: none !important;
}

/* Segmented Trip Mode Switch [Một chiều | Khứ hồi] */
#hop-dat-ve .hvb-mode-control {
  grid-area: mode !important;
  grid-row: 1 !important;
  grid-column: 1 / -1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: fit-content !important;
  min-height: auto !important;
  padding: 0 !important;
  margin-bottom: 4px !important;
}

#hop-dat-ve .hvb-mode-control .hvr-field-label {
  display: none !important;
}

#hop-dat-ve .hvr-trip-mode-segmented {
  display: inline-flex !important;
  background: #f1f5f9 !important;
  padding: 3px !important;
  border-radius: 9999px !important;
  border: 1px solid #e2e8f0 !important;
  gap: 3px !important;
  width: auto !important;
}

#hop-dat-ve .hvr-trip-mode-tab {
  border: none !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 6px 18px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

#hop-dat-ve .hvr-trip-mode-tab:hover {
  color: #0f172a !important;
}

#hop-dat-ve .hvr-trip-mode-tab.is-active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* Polished Input Cards */
#hop-dat-ve .hvr-field:not(.hvr-return-field):not(.hvrt-pair-field):not([hidden]) {
  background: #f8fafc !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 9px 16px 8px !important;
  min-height: 64px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  position: relative !important;
}

#hop-dat-ve .hvr-field:not(.hvr-return-field):not(.hvrt-pair-field):not([hidden]):hover {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

#hop-dat-ve .hvr-field:not(.hvr-return-field):not(.hvrt-pair-field):not([hidden]):focus-within {
  background: #ffffff !important;
  border-color: #ffbe00 !important;
  box-shadow: 0 0 0 3px rgba(255, 190, 0, 0.2) !important;
}

/* Ensure hidden elements and return-date on one-way stay 100% hidden across all viewports */
#hop-dat-ve [hidden],
.hvr-page:not(.hvrt-inline-roundtrip):not(.hvrt-return-optional) #hop-dat-ve .hvb-return-date,
#hop-dat-ve .hvb-return-date[hidden] {
  display: none !important;
}
.hvr-page:is(.hvrt-inline-roundtrip, .hvrt-return-optional) #hop-dat-ve .hvb-return-date:not([hidden]) {
  display: flex !important;
}

/* Remove 2px orange border from combo date field for visual balance */
#hop-dat-ve .hvr-field.is-combo-date-field {
  border: 1.5px solid #e2e8f0 !important;
}
#hop-dat-ve .hvr-field.is-combo-date-field:focus-within {
  border-color: #ffbe00 !important;
  box-shadow: 0 0 0 3px rgba(255, 190, 0, 0.2) !important;
}

/* Labels */
#hop-dat-ve .hvr-field label,
#hop-dat-ve .hvb-date-label-row label {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  margin: 0 0 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  line-height: 1.2 !important;
}

/* Inputs & Dropdowns */
#hop-dat-ve select,
#hop-dat-ve input:not([type=radio]) {
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  line-height: 1.3 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  min-height: 24px !important;
  height: auto !important;
  box-shadow: none !important;
}

/* Human-Friendly Date Display ("Style người") */
.hvb-date-input-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 26px !important;
  cursor: pointer !important;
}

.hvb-date-display {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  pointer-events: none !important;
  user-select: none !important;
}

.hvb-date-display-text {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}

.hvb-date-display-icon {
  color: #475569 !important;
  flex-shrink: 0 !important;
  margin-left: 8px !important;
  transition: color 0.15s ease, transform 0.15s ease !important;
}

.hvr-field:hover .hvb-date-display-icon,
.hvb-date-input-wrap:hover .hvb-date-display-icon {
  color: #d97706 !important;
  transform: scale(1.08) !important;
}

/* The real native input overlays transparently on top to handle touch & clicks */
#hop-dat-ve .hvb-real-date-input,
.hvb-real-date-input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px !important; /* Prevents auto-zoom on iOS */
}

/* Stretches the native webkit calendar indicator over the entire box */
.hvb-real-date-input::-webkit-calendar-picker-indicator {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

/* Promo Badge on Date Field */
#hop-dat-ve .hvb-date-promo-badge {
  background: #fef3c7 !important;
  color: #92400e !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  border: 1px solid #fde68a !important;
  line-height: 1.2 !important;
  text-transform: none !important;
}

/* Swap Button */
#hop-dat-ve .hvr-swap {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  color: #475569 !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 2 !important;
}

#hop-dat-ve .hvr-swap:hover {
  background: #ffbe00 !important;
  border-color: #ffbe00 !important;
  color: #0f172a !important;
  transform: rotate(180deg) scale(1.08) !important;
  box-shadow: 0 4px 12px rgba(255, 190, 0, 0.35) !important;
}

/* CTA Submit Button */
#hop-dat-ve .hvr-search-submit {
  background: linear-gradient(180deg, #ffc727 0%, #ffb800 100%) !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  border-radius: 14px !important;
  border: none !important;
  height: 64px !important;
  min-height: 64px !important;
  width: 100% !important;
  padding: 0 24px !important;
  box-shadow: 0 4px 14px rgba(255, 184, 0, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

#hop-dat-ve .hvr-search-submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.45) !important;
  filter: brightness(1.02) !important;
}

#hop-dat-ve .hvr-search-submit:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(255, 184, 0, 0.3) !important;
}

/* Vung Tau roundtrip badge & strip cleanup in Traveloka console */
#hop-dat-ve .hvb-search-form.has-hvc-rt-hang {
  padding-bottom: 0 !important;
}
.hvc-rt-strip {
  display: none !important;
}

/* Quick Date Shortcuts Docked at Card Bottom */
#hop-dat-ve .hvb-date-shortcuts {
  margin: 18px -28px 0 -28px !important;
  padding: 14px 28px !important;
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-radius: 0 0 20px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

#hop-dat-ve .hvb-shortcuts-label {
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #64748b !important;
  white-space: nowrap !important;
}

#hop-dat-ve .hvb-shortcuts-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

#hop-dat-ve .hvb-chip-btn {
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 9999px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  color: #334155 !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

#hop-dat-ve .hvb-chip-btn:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
  transform: translateY(-1px) !important;
}

#hop-dat-ve .hvb-chip-btn.is-active {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25) !important;
}

#hop-dat-ve .hvb-chip-btn .hvb-chip-tag {
  background: #fef3c7 !important;
  color: #92400e !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
}

#hop-dat-ve .hvb-chip-btn.is-active .hvb-chip-tag {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fef08a !important;
}

/* ==========================================================================
   DESKTOP GRID ARCHITECTURE (min-width: 900px)
   ========================================================================== */
@media (min-width: 900px) {
  .hvr-intro.is-dien-bien-hero {
    padding: 32px 0 14px;
  }
  .hvr-intro.is-dien-bien-hero .hvr-breadcrumb {
    margin-bottom: 14px;
  }
  .hvr-intro.is-dien-bien-hero .hvr-intro-title {
    font-size: clamp(32px, 2.6vw, 38px);
    line-height: 1.22;
  }
  .hvr-intro.is-dien-bien-hero .hvr-intro-subhead {
    font-size: 15.5px;
  }
  .hvr-hero.is-dien-bien-hero-console {
    padding: 10px 0 44px;
  }

  #hop-dat-ve .hvb-search-form {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  /* Row 1: Trip Type Segmented Control */
  #hop-dat-ve .hvb-mode-control {
    grid-row: 1 !important;
    grid-column: 1 / -1 !important;
  }

  /* Row 2: Route Origin & Destination */
  #hop-dat-ve .hvr-field-from {
    grid-column: 1 / 6 !important;
    grid-row: 2 !important;
  }
  #hop-dat-ve .hvr-swap {
    grid-column: 6 / 8 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    align-self: center !important;
    margin: 0 !important;
  }
  #hop-dat-ve .hvr-field-to {
    grid-column: 8 / 13 !important;
    grid-row: 2 !important;
  }

  /* Row 3: Action Row when Roundtrip is Active */
  .hvr-page:is(.hvrt-inline-roundtrip, .hvrt-return-optional) #hop-dat-ve .hvr-field-date {
    grid-column: span 3 !important;
    grid-row: 3 !important;
  }
  .hvr-page:is(.hvrt-inline-roundtrip, .hvrt-return-optional) #hop-dat-ve .hvb-return-date {
    grid-column: span 3 !important;
    grid-row: 3 !important;
    display: flex !important;
  }
  .hvr-page:is(.hvrt-inline-roundtrip, .hvrt-return-optional) #hop-dat-ve .hvr-field-guests {
    grid-column: span 2 !important;
    grid-row: 3 !important;
  }
  .hvr-page:is(.hvrt-inline-roundtrip, .hvrt-return-optional) #hop-dat-ve .hvr-search-submit {
    grid-column: span 4 !important;
    grid-row: 3 !important;
  }

  /* Row 3: Action Row when One-Way is Active */
  .hvr-page:not(.hvrt-inline-roundtrip):not(.hvrt-return-optional) #hop-dat-ve .hvr-field-date {
    grid-column: span 5 !important;
    grid-row: 3 !important;
  }
  .hvr-page:not(.hvrt-inline-roundtrip):not(.hvrt-return-optional) #hop-dat-ve .hvb-return-date,
  #hop-dat-ve .hvb-return-date[hidden] {
    display: none !important;
  }
  .hvr-page:not(.hvrt-inline-roundtrip):not(.hvrt-return-optional) #hop-dat-ve .hvr-field-guests {
    grid-column: span 3 !important;
    grid-row: 3 !important;
  }
  .hvr-page:not(.hvrt-inline-roundtrip):not(.hvrt-return-optional) #hop-dat-ve .hvr-search-submit {
    grid-column: span 4 !important;
    grid-row: 3 !important;
  }
}

/* ==========================================================================
   MOBILE & TABLET LAYOUT (max-width: 899px)
   ========================================================================== */
@media (max-width: 899px) {
  .hvr-intro.is-dien-bien-hero {
    padding: 10px 0 6px !important;
  }
  .hvr-intro.is-dien-bien-hero .hvr-breadcrumb {
    margin-bottom: 4px !important;
    font-size: 11px !important;
  }
  .hvr-intro.is-dien-bien-hero .hvr-intro-title {
    font-size: 19px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
  }
  .hvr-intro.is-dien-bien-hero .hvr-intro-subhead {
    font-size: 12.5px !important;
    line-height: 1.35 !important;
  }
  .hvr-hero.is-dien-bien-hero-console {
    padding: 4px 0 16px !important;
  }
  #hop-dat-ve,
  .hvb-booking-console {
    border-radius: 16px;
    padding: 12px 14px 12px !important;
    margin: 0 0 12px !important;
    box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.4);
  }
  #hop-dat-ve:has(.hvb-date-shortcuts) {
    padding-bottom: 0 !important;
  }
  #hop-dat-ve .hvb-search-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  #hop-dat-ve .hvb-mode-control {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 4px !important;
  }
  #hop-dat-ve .hvb-search-form.has-hvc-rt-hang .hvb-mode-control {
    margin-bottom: 26px !important;
  }
  #hop-dat-ve .hvr-trip-mode-segmented {
    width: 100% !important;
    display: flex !important;
  }
  #hop-dat-ve .hvr-trip-mode-tab {
    flex: 1 1 50% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  #hop-dat-ve .hvr-field-from {
    order: 2 !important;
  }
  #hop-dat-ve .hvr-swap {
    order: 3 !important;
    align-self: center !important;
    margin: -4px 0 !important;
  }
  #hop-dat-ve .hvr-field-to {
    order: 4 !important;
  }
  #hop-dat-ve .hvr-field-date {
    order: 5 !important;
  }
  #hop-dat-ve .hvb-return-date {
    order: 6 !important;
  }
  #hop-dat-ve .hvr-field-guests {
    order: 7 !important;
  }
  #hop-dat-ve .hvr-search-submit {
    order: 8 !important;
    height: 52px !important;
    min-height: 52px !important;
    width: 100% !important;
  }
  #hop-dat-ve .hvr-field {
    min-height: 58px !important;
    padding: 8px 14px 6px !important;
    width: 100% !important;
  }
  #hop-dat-ve .hvb-date-shortcuts {
    margin: 14px -16px 0 -16px !important;
    padding: 10px 16px 14px !important;
    border-radius: 0 0 16px 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  #hop-dat-ve .hvb-shortcuts-chips {
    width: 100% !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 4px !important;
  }
  #hop-dat-ve .hvb-chip-btn {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }
}

/* --- MINI DESTINATION SLIDER: CẢNH ĐẸP ĐIỆN BIÊN (TRAVELOKA STYLE) --- */
.hvb-dest-slider-section {
  padding: 32px 0 28px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.hvb-dest-slider-section .hvr-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.hvb-dest-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hvb-dest-kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d97706;
  margin: 0 0 4px;
}

.hvb-dest-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.hvb-dest-sub {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.hvb-dest-nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.hvb-dest-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.hvb-dest-nav-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hvb-dest-nav-btn:active {
  transform: translateY(0);
}

.hvb-dest-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -8px;
  padding: 4px 8px 12px;
}

.hvb-dest-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.hvb-dest-track::-webkit-scrollbar {
  display: none;
}

.hvb-dest-card {
  flex: 0 0 calc(25% - 12px);
  min-width: 250px;
  max-width: 280px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.hvb-dest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -4px rgba(0, 0, 0, 0.12);
  border-color: #cbd5e1;
}

.hvb-dest-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.hvb-dest-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.hvb-dest-card:hover .hvb-dest-card-media img {
  transform: scale(1.06);
}

.hvb-dest-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fef08a;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.hvb-dest-card-info {
  padding: 12px 14px 14px;
}

.hvb-dest-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.3;
}

.hvb-dest-card-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hvb-dest-slider-section {
    padding: 24px 0 20px;
  }
  .hvb-dest-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
  }
  .hvb-dest-nav-buttons {
    display: none;
  }
  .hvb-dest-title {
    font-size: 19px;
  }
  .hvb-dest-sub {
    font-size: 12.5px;
  }
  .hvb-dest-card {
    flex: 0 0 230px;
    min-width: 230px;
    border-radius: 14px;
  }
  .hvb-dest-card-info {
    padding: 10px 12px 12px;
  }
  .hvb-dest-card-title {
    font-size: 14px;
  }
  .hvb-dest-card-desc {
    font-size: 11.5px;
  }
}

/* --- DEDICATED HTML PROMO BANNERS SECTION (TRAVELOKA ARCHITECTURE) --- */
.hvb-promo-banners-section {
  padding: 36px 0 44px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.hvb-promo-banners-section .hvr-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.hvb-promo-head {
  margin-bottom: 22px;
}

.hvb-promo-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b07d00;
  margin: 0 0 6px;
}

.hvb-promo-title {
  font-size: clamp(22px, 2.2vw, 26px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 0 0 8px;
}

.hvb-promo-subhead {
  font-size: 15px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* 2-column responsive grid: desktop 2 columns, mobile stacked */
.hvb-promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Card styling: clean modern card, subtle border, rounded 16px, pleasant hover */
.hvb-promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hvb-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  border-color: #cbd5e1;
}

.hvb-promo-card.is-luxury {
  border: 1.5px solid #fde68a;
  background: radial-gradient(circle at 100% 0%, rgba(254, 243, 199, 0.45) 0%, transparent 60%), #ffffff;
  box-shadow: 0 4px 18px -2px rgba(245, 158, 11, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hvb-promo-card.is-luxury:hover {
  border-color: #f59e0b;
  box-shadow: 0 14px 28px -4px rgba(245, 158, 11, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

.hvb-promo-card.is-eco {
  border: 1.5px solid #bae6fd;
  background: radial-gradient(circle at 100% 0%, rgba(224, 242, 254, 0.45) 0%, transparent 60%), #ffffff;
  box-shadow: 0 4px 18px -2px rgba(2, 132, 199, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.hvb-promo-card.is-eco:hover {
  border-color: #0284c7;
  box-shadow: 0 14px 28px -4px rgba(2, 132, 199, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
}

.hvb-promo-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.hvb-banner-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hvb-banner-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hvb-badge-gold {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.hvb-badge-red {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.hvb-badge-saving {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  text-transform: none;
  font-weight: 700;
}

.hvb-banner-title {
  font-size: 18.5px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px;
}

.hvb-banner-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 16px;
  flex-grow: 1;
}

.hvb-banner-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.hvb-banner-features li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin: 0;
}

.hvb-check-icon {
  color: #10b981;
  flex-shrink: 0;
}

.hvb-banner-action {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hvb-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.hvb-btn-primary {
  background: #ffc20e;
  color: #1e293b;
  border: 1px solid #eab308;
}

.hvb-btn-primary:hover,
.hvb-btn-primary:focus-visible {
  background: #facc15;
  color: #0f172a;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35);
  transform: translateY(-1px);
}

.hvb-btn-outline {
  background: #ffffff;
  color: #0284c7;
  border: 1.5px solid #0284c7;
}

.hvb-btn-outline:hover,
.hvb-btn-outline:focus-visible {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transform: translateY(-1px);
}

.hvb-btn-hint {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.85;
}

.hvb-banner-terms {
  margin: 2px 0 0;
}

.hvb-banner-terms summary {
  font-size: 12.5px;
  color: #64748b;
  cursor: pointer;
  font-weight: 600;
  padding: 4px 0;
  user-select: none;
  outline: none;
}

.hvb-banner-terms summary:hover {
  color: #1e293b;
  text-decoration: underline;
}

.hvb-banner-terms ul {
  margin: 8px 0 0;
  padding: 8px 12px 8px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  display: grid;
  gap: 4px;
}

.hvb-banner-eco-note {
  font-size: 12px;
  color: #64748b;
  text-align: center;
  padding: 4px 0;
}

/* Active glowing pulse triggered by Promo CTA button */
@keyframes hvbFieldGlowPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.5), 0 0 16px 3px rgba(245, 158, 11, 0.35);
    border-color: #f59e0b;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.9), 0 0 32px 8px rgba(245, 158, 11, 0.7);
    border-color: #b45309;
  }
}

.hvb-field-glow-active,
.hvb-field-highlight {
  animation: hvbFieldGlowPulse 0.9s ease-in-out 3 !important;
  border-color: #d97706 !important;
}

/* Hide duplicate slots when hourly time filter bar is present */
.hvr-schedule:has([data-hv-time-filter-bar]) .hvr-slots,
.hv-time-filter-bar ~ .hvr-slots,
[data-hv-time-filter-bar] ~ .hvr-slots,
.hvr-slots:has(~ [data-hv-time-filter-bar]),
.hvrt-page[data-corridor="db-hn"] .hvr-slots,
.is-dien-bien-hero-console ~ * .hvr-slots {
  display: none !important;
}

/* Vehicle class chips: horizontal single-row scrollable without text wrapping */
.hvr-vehicle-chips {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  gap: 8px !important;
  max-width: 100% !important;
  padding-bottom: 2px !important;
}
.hvr-vehicle-chips::-webkit-scrollbar {
  display: none !important;
}
.hvr-slot--xe {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}

/* Mobile & Tablet responsive adjustments (max-width: 899px) */
@media (max-width: 899px) {
  .hvb-promo-banners-section {
    padding: 16px 0 20px !important;
  }
  .hvb-promo-grid {
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 12px !important;
    padding: 4px 16px 14px !important;
    margin: 0 -16px !important;
  }
  .hvb-promo-grid::-webkit-scrollbar {
    display: none !important;
  }
  .hvb-promo-card {
    flex: 0 0 86% !important;
    min-width: 280px !important;
    max-width: 330px !important;
    scroll-snap-align: start !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }
  .hvb-banner-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }
  .hvb-banner-desc {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }
  .hvb-promo-title {
    font-size: 19px !important;
  }
  .hvb-promo-subhead {
    font-size: 13px !important;
  }
  .hvr-slot--xe {
    min-height: 38px !important;
    padding: 0 12px !important;
    font-size: 13px !important;
  }
  .hvr-filters {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  /* Hide destination slider section on phone */
  .hvb-dest-slider-section,
  #kham-pha-dien-bien {
    display: none !important;
  }

  /* Hide schedule subtitle description */
  .hvr-schedule .hvr-section-head p:not(.hvr-kicker),
  .hvr-schedule:has([data-hv-time-filter-bar]) .hvr-section-head p:not(.hvr-kicker) {
    display: none !important;
  }

  /* Compact combo banner */
  .hvc-banner {
    margin: 0 0 10px !important;
    padding: 8px 12px !important;
    border-radius: 10px !important;
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
  }
  .hvc-banner-title {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #92400e !important;
  }
  .hvc-banner-fine {
    margin-top: 3px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #78350f !important;
  }
  .hvc-banner-date {
    margin-top: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #b45309 !important;
  }

  /* Compact, distinct mobile trip ticket cards */
  .hvr-trip-table {
    border: none !important;
    background: transparent !important;
    overflow: visible !important;
  }
  [data-hvr-trip-list] {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .hvr-trip-card {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
  }
  .hvr-trip-card:hover,
  .hvr-trip-card.is-open {
    border-color: #f59e0b !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15) !important;
  }
  .hvr-trip-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto auto !important;
    gap: 6px 12px !important;
    padding: 12px 14px !important;
    align-items: center !important;
    background: #ffffff !important;
  }
  .hvr-trip-row .hvr-trip-time {
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 6px !important;
  }
  .hvr-trip-row .hvr-trip-time strong {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.1 !important;
  }
  .hvr-trip-row .hvr-trip-time small {
    margin: 0 !important;
    font-size: 12.5px !important;
    color: #64748b !important;
    font-weight: 500 !important;
  }
  .hvr-trip-row .hvr-trip-price {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 2px !important;
    text-align: right !important;
  }
  .hvr-trip-row .hvr-trip-price strong {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #d97706 !important;
    line-height: 1.1 !important;
  }
  .hvr-trip-row > div:nth-child(2) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }
  .hvr-trip-row > div:nth-child(2) strong {
    display: inline-block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #334155 !important;
    background: #f1f5f9 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
  }
  .hvr-trip-row > div:nth-child(2) small {
    display: inline-block !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    color: #64748b !important;
  }
  .hvr-trip-row > div:nth-child(3) {
    display: none !important;
  }
  .hvr-trip-row .hvr-seats {
    grid-column: 2 !important;
    grid-row: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 3px !important;
  }
  .hvr-trip-row .hvr-seats strong {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #059669 !important;
    background: #ecfdf5 !important;
    padding: 1px 6px !important;
    border-radius: 5px !important;
  }
  .hvr-trip-row .hvr-seats small {
    display: inline !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    color: #059669 !important;
  }
  .hvr-trip-row .hvr-trip-toggle {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
    min-height: 36px !important;
    height: 36px !important;
    margin-top: 4px !important;
    padding: 0 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #334155 !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }
  .hvr-trip-row .hvr-trip-toggle:hover {
    background: #f1f5f9 !important;
  }
  .hvr-trip-card.is-open .hvr-trip-toggle {
    background: #fef3c7 !important;
    border-color: #fde68a !important;
    color: #92400e !important;
  }
}
