/* ==========================================================================
   TOUR & ATTRACTION TICKETS MODULE - VE MAY BAY DONG NAI
   ========================================================================== */

/* 1. Global Responsive Resets */
img, video, iframe {
  max-width: 100%;
  height: auto;
}

:root {
  --tour-primary: #0b4378;
  --tour-primary-dark: #072e54;
  --tour-primary-light: #e0f2fe;
  --tour-accent: #f59e0b;
  --tour-accent-hover: #d97706;
  --tour-orange: #ff7a00;
  --tour-text: #1e293b;
  --tour-muted: #64748b;
  --tour-border: #e2e8f0;
  --tour-card-bg: #ffffff;
  --tour-bg: #f8fafc;
  --tour-radius-sm: 8px;
  --tour-radius-md: 14px;
  --tour-radius-lg: 20px;
  --tour-shadow: 0 4px 20px -2px rgba(11, 67, 120, 0.08);
  --tour-shadow-hover: 0 12px 28px -4px rgba(11, 67, 120, 0.16);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--tour-text);
  background-color: var(--tour-bg);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header Enhancements */
.tour-header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.tour-header .main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  height: auto;
}
.tour-header .logo-section {
  flex-shrink: 0;
}
.tour-header nav.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.tour-header .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--tour-text);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.tour-header .nav-link:hover {
  color: var(--tour-primary);
  background: #f1f5f9;
}
.active-tour {
  color: var(--tour-primary) !important;
  font-weight: 700 !important;
  background: #eff6ff !important;
  position: relative;
}
.header-hotline-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef2f2;
  color: #dc2626;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #fee2e2;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
}
.header-hotline-pill:hover {
  background: #fee2e2;
  color: #b91c1c;
}
.header-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}
.btn-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: var(--tour-primary);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-account:hover {
  background: var(--tour-primary-light);
  color: var(--tour-primary);
}
.lang-switch {
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-weight: 600;
}
.lang-active { color: var(--tour-primary); }
.lang-alt { color: var(--tour-muted); cursor: pointer; }

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--tour-primary);
  cursor: pointer;
  padding: 6px;
}
.mobile-drawer-header {
  display: none;
}
.close-drawer-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: var(--tour-muted);
  cursor: pointer;
}

/* ==========================================================================
   2. HERO SECTION & SEARCH WIDGET
   ========================================================================== */
.tour-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 46, 84, 0.88) 0%, rgba(11, 67, 120, 0.75) 100%),
              url('https://images.unsplash.com/photo-1559592413-7cec4d0cae2b?w=1600&auto=format&fit=crop&q=80') center/cover no-repeat;
  color: #ffffff;
  padding: 60px 0 80px;
}
.hero-content {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fef08a;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #ffffff;
}
.hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  margin: 0 auto 36px;
  max-width: 700px;
}

/* Search Box Container */
.tour-search-box {
  background: #ffffff;
  border-radius: var(--tour-radius-lg);
  padding: 24px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.2);
  color: var(--tour-text);
  text-align: left;
  overflow: visible;
}
.search-form-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr auto;
  gap: 14px;
  align-items: flex-end;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.search-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--tour-muted);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.search-input-wrap i {
  position: absolute;
  left: 14px;
  color: var(--tour-primary);
  font-size: 15px;
}
.search-input-wrap input,
.search-input-wrap select {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--tour-border);
  border-radius: var(--tour-radius-md);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--tour-text);
  background: #f8fafc;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}
.search-input-wrap input:focus,
.search-input-wrap select:focus {
  border-color: var(--tour-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 67, 120, 0.12);
}
.btn-tour-search {
  background: linear-gradient(135deg, #ff8c00 0%, #ff6200 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--tour-radius-md);
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.35);
  height: 46px;
  box-sizing: border-box;
}
.btn-tour-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.45);
}

/* Category Quick Filter Pills - Cùng 1 hàng ngang thẳng thớm, không rớt dòng */
.category-pills {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 16px;
  overflow: visible;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-pills::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tour-text);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.cat-pill:hover,
.cat-pill.active {
  background: var(--tour-primary);
  color: #ffffff;
}
.cat-pill.active i {
  color: var(--tour-accent);
}

/* ==========================================================================
   3. DESTINATIONS & PRODUCT GRID
   ========================================================================== */
.tour-section {
  padding: 60px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--tour-orange);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--tour-primary);
  margin: 0 0 10px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--tour-muted);
  margin: 0;
}

/* Destinations Carousel / Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.dest-card {
  position: relative;
  height: 240px;
  border-radius: var(--tour-radius-md);
  overflow: hidden;
  box-shadow: var(--tour-shadow);
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}
.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tour-shadow-hover);
}
.dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.dest-card:hover .dest-img {
  transform: scale(1.08);
}
.dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 46, 84, 0.9) 0%, rgba(7, 46, 84, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
}
.dest-name {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
}
.dest-count {
  font-size: 12px;
  color: #cbd5e1;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--tour-card-bg);
  border-radius: var(--tour-radius-md);
  overflow: hidden;
  box-shadow: var(--tour-shadow);
  border: 1px solid var(--tour-border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  min-width: 0; /* Web rule: prevent grid blowout */
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tour-shadow-hover);
  border-color: #cbd5e1;
}
.product-thumb-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-thumb {
  transform: scale(1.05);
}
.badge-provider {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 67, 120, 0.9);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.badge-instant {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #10b981;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-location {
  font-size: 12px;
  color: var(--tour-muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--tour-text);
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 44px;
}
.product-title a {
  color: inherit;
  text-decoration: none;
}
.product-title a:hover {
  color: var(--tour-primary);
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}
.rating-stars {
  color: #f59e0b;
}
.review-count {
  color: var(--tour-muted);
  font-size: 12px;
}
.product-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--tour-border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.price-block {
  display: flex;
  flex-direction: column;
}
.price-label {
  font-size: 11px;
  color: var(--tour-muted);
}
.price-value {
  font-size: 20px;
  font-weight: 800;
  color: #dc2626;
  line-height: 1;
}
.price-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--tour-muted);
  margin-left: 2px;
}
.btn-view-deal {
  background: var(--tour-primary);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--tour-radius-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-view-deal:hover {
  background: var(--tour-orange);
  color: #ffffff;
}

/* ==========================================================================
   4. DETAIL PAGE STYLING
   ========================================================================== */
.tour-detail-container {
  padding: 30px 0 60px;
}
/* Clip horizontal overflow without creating a scroll container for sticky. */
html.tour-page-root,
body.tour-page {
  overflow-x: clip;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 32px;
  align-items: stretch;
}
.detail-main {
  min-width: 0; /* Web rule: prevent grid track expansion */
}
.detail-sidebar {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: calc(var(--tour-header-height, 72px) + 10px);
}
.detail-gallery {
  border-radius: var(--tour-radius-md);
  overflow: hidden;
  height: 400px;
  margin-bottom: 24px;
  box-shadow: var(--tour-shadow);
}
.detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-header-block {
  margin-bottom: 24px;
}
.detail-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.detail-title {
  font-size: 23px;
  font-weight: 800;
  color: var(--tour-primary);
  margin: 0 0 12px;
  line-height: 1.3;
}
.detail-info-card {
  background: #fff;
  border: 1px solid var(--tour-border);
  border-radius: var(--tour-radius-md);
  padding: 24px;
  box-shadow: var(--tour-shadow);
}
.package-details-card {
  margin-bottom: 28px;
}
.package-detail-panel {
  font-size: 14px;
  line-height: 1.8;
  color: var(--tour-text);
  overflow-wrap: anywhere;
}
.package-detail-title {
  font-size: 17px;
  color: var(--tour-primary);
  margin-bottom: 12px;
}
.package-detail-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--tour-border);
}
.package-detail-section h4 {
  margin-bottom: 6px;
}
.detail-sidebar .pkg-header {
  margin-bottom: 0;
}
.detail-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
}
.detail-sidebar .booking-widget-card {
  max-height: calc(100dvh - var(--tour-header-height, 72px) - 24px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.booking-section-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--tour-primary);
  margin: 0 0 10px;
}
.detail-sidebar .package-list {
  max-height: 190px;
  overflow-y: auto;
  padding: 3px;
  margin: 0 -3px 18px;
  scrollbar-width: thin;
}
.detail-sidebar .package-card {
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
}
.detail-sidebar .pkg-title {
  font-size: 14px;
  line-height: 1.5;
}
.detail-sidebar .pkg-desc {
  font-size: 12px;
  margin-bottom: 6px;
}
.detail-sidebar .quantity-table {
  margin-top: 0;
  margin-bottom: 18px;
}
.detail-sidebar .quantity-table th {
  font-size: 10px;
  padding-bottom: 6px;
}
.detail-sidebar .quantity-table td:first-child {
  width: 45%;
  padding-right: 8px;
}
.detail-sidebar .rule-title,
.detail-sidebar .rule-price {
  font-size: 12px;
}
.detail-sidebar .rule-price {
  white-space: nowrap;
}
.detail-sidebar .qty-btn {
  width: 28px;
}
.detail-sidebar .qty-input {
  width: 28px;
}
.highlights-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--tour-radius-md);
  padding: 20px;
  margin-bottom: 28px;
}
.highlights-title {
  font-size: 16px;
  font-weight: 700;
  color: #166534;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.highlights-list li {
  font-size: 14px;
  color: #15803d;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Package Select Cards */
.package-card {
  background: #ffffff;
  border: 2px solid var(--tour-border);
  border-radius: var(--tour-radius-md);
  padding: 20px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s;
}
.package-card:hover {
  border-color: #93c5fd;
}
.package-card.selected {
  border-color: var(--tour-primary);
  background: #f8fafc;
  box-shadow: 0 0 0 3px rgba(11, 67, 120, 0.12);
}
.detail-sidebar button.package-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 14px;
  border: 1px solid #dce4ee;
  background: #fff;
  text-align: left;
  font-family: inherit;
  box-shadow: none;
}
.detail-sidebar button.package-card .pkg-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  color: #334155;
}
.detail-sidebar button.package-card:hover {
  border-color: #91b5d7;
  background: #f8fbff;
}
.detail-sidebar button.package-card.selected {
  border-color: var(--tour-primary);
  background: #eef6ff;
  box-shadow: none;
}
.detail-sidebar button.package-card.selected .pkg-title {
  color: var(--tour-primary);
}
.package-choice-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 1.5px solid #c5d0dd;
  background: #fff;
  color: #fff;
  font-size: 10px;
}
.package-choice-indicator i {
  visibility: hidden;
}
.package-card.selected .package-choice-indicator {
  background: var(--tour-primary);
  border-color: var(--tour-primary);
}
.package-card.selected .package-choice-indicator i {
  visibility: visible;
}
.detail-sidebar button.package-card:focus-visible {
  outline: 2px solid #69a4dc;
  outline-offset: 2px;
}
.pkg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.pkg-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--tour-primary);
  margin: 0;
}
.pkg-desc {
  font-size: 14px;
  color: var(--tour-muted);
  margin: 0 0 14px;
}

/* Quantity Counter Widget */
.quantity-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}
.quantity-table td {
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.rule-title {
  font-weight: 600;
  font-size: 14px;
}
.rule-price {
  color: #dc2626;
  font-weight: 700;
  font-size: 15px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--tour-border);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.qty-btn {
  background: #f8fafc;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 16px;
  font-weight: 700;
  color: var(--tour-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.qty-btn:hover {
  background: #e2e8f0;
}
.qty-input {
  width: 40px;
  height: 32px;
  border: none;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--tour-text);
  outline: none;
}

/* Sticky Booking Summary Widget */
.booking-widget-card {
  background: #ffffff;
  border-radius: var(--tour-radius-md);
  padding: 24px;
  box-shadow: var(--tour-shadow-hover);
  border: 1px solid var(--tour-border);
  position: relative;
  z-index: 100;
}
.widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--tour-primary);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tour-border);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}
.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 2px dashed var(--tour-border);
}
.summary-total-val {
  font-size: 24px;
  font-weight: 800;
  color: #dc2626;
}
.btn-book-now {
  width: 100%;
  background: linear-gradient(135deg, #ff8c00 0%, #ff6200 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--tour-radius-md);
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.35);
  transition: all 0.2s;
  text-align: center;
  display: block;
  text-decoration: none;
}
.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.45);
}

/* ==========================================================================
   5. CHECKOUT & VIETQR PAYMENT STYLING
   ========================================================================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  min-width: 0;
}
.checkout-card {
  background: #ffffff;
  border-radius: var(--tour-radius-md);
  padding: 24px;
  box-shadow: var(--tour-shadow);
  border: 1px solid var(--tour-border);
  margin-bottom: 24px;
  min-width: 0;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--tour-text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--tour-border);
  border-radius: var(--tour-radius-sm);
  font-size: 14px;
  font-family: inherit;
  box-sizing: border-box;
}
.form-control:focus {
  border-color: var(--tour-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 67, 120, 0.1);
}

/* VietQR Payment Display */
.qr-container {
  text-align: center;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--tour-radius-md);
  padding: 24px;
  margin: 20px 0;
}
.qr-image {
  max-width: 240px;
  border-radius: 12px;
  box-shadow: var(--tour-shadow);
  background: #ffffff;
  padding: 8px;
}
.bank-info-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--tour-radius-md);
  padding: 16px;
  margin-top: 16px;
  text-align: left;
}
.bank-info-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
}
.bank-val-bold {
  font-weight: 800;
  color: var(--tour-primary);
}

/* ==========================================================================
   6. FOOTER & FLOATING STYLES
   ========================================================================== */
.tour-footer {
  background: #071f38;
  color: #cbd5e1;
  padding: 60px 0 20px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-logo .logo-title {
  color: #ffffff;
  font-size: 22px;
  margin: 0;
}
.footer-logo .logo-subtitle {
  color: var(--tour-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}
.footer-desc {
  margin: 14px 0;
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}
.company-details p {
  margin: 6px 0;
  font-size: 13px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.company-details i {
  color: var(--tour-accent);
  margin-top: 4px;
}
.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}
.payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge-pay {
  background: #112a4a;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #64748b;
}

/* Floating contact buttons */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}
.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s;
  position: relative;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-call {
  background: #10b981;
}
.float-zalo {
  background: #0068ff;
}
.float-tooltip {
  position: absolute;
  right: 60px;
  background: #1e293b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-btn:hover .float-tooltip {
  opacity: 1;
}

/* ==========================================================================
   7. MOBILE RESPONSIVE RULES (Rule: Web & Responsive UI Engineering)
   ========================================================================== */
@media (max-width: 980px) {
  .search-form-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
  }
  .detail-sidebar .booking-widget-card {
    max-height: none;
    overflow-y: visible;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 26px;
  }
  
  /* Mobile Navigation Drawer Rule */
  .mobile-menu-btn {
    display: block;
    margin-left: auto;
  }
  .header-action-group {
    display: none;
  }
  .tour-header nav.nav-menu {
    position: fixed;
    top: 0;
    left: auto;
    right: 0;
    width: min(320px, calc(100vw - 32px));
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    flex-direction: column;
    padding: 20px;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s;
    z-index: 10001;
    overflow-y: auto;
  }
  .tour-header nav.nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .tour-page.menu-open .tour-header {
    z-index: 10002;
  }
  .tour-page.menu-open {
    overflow: hidden;
  }
  .tour-header .main-header {
    padding-inline: 16px;
  }
  .tour-page .top-alert {
    min-width: 0;
    white-space: normal;
  }
  .tour-page .top-alert span {
    overflow-wrap: anywhere;
  }
  .mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--tour-border);
  }
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
  }
  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  /* Touch target rule */
  .nav-menu .nav-link {
    padding: 12px 14px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
  }
}

@media (max-width: 600px) {
  .tour-detail-container { padding: 18px 16px 32px; }
  .detail-grid { gap: 20px; }
  .detail-info-card { padding: 18px; }
  .detail-header-block { margin-bottom: 16px; }
  .detail-title { font-size: 20px; line-height: 1.4; }
  .detail-gallery { height: auto; aspect-ratio: 16 / 10; max-height: 230px; margin-bottom: 18px; border-radius: 12px; }
  .detail-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .tour-hero {
    padding: 40px 0 60px;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
}
/* Refined home search and calendar */
.tour-search-box .home-search-form {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 16px;
}
.home-search-form .search-label { text-transform: none; letter-spacing: 0; font-size: 13px; }
.home-search-form input, .home-search-form select, .calendar-trigger {
  min-height: 52px;
  border-radius: 12px;
}
.home-search-form .btn-tour-search { height: 52px; padding-inline: 24px; box-shadow: 0 4px 12px #ff660026; }
.tour-search-box .category-pills { flex-wrap: wrap; padding-top: 18px; margin-top: 18px; border-top: 1px solid #edf1f6; gap: 8px; }
button.cat-pill { border: 1px solid transparent; font-family: inherit; cursor: pointer; }
button.cat-pill:hover { border-color: #bad1e8; }
.calendar-trigger {
  width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--tour-border);
  background: #f8fafc; text-align: left; font-weight: 600; font-size: 14px; font-family: inherit; color: var(--tour-text); cursor: pointer;
}
.calendar-trigger:focus-visible, .calendar-trigger[aria-expanded="true"] { outline: 2px solid #91b5d7; outline-offset: 2px; background: #fff; }
.tour-calendar {
  position: fixed; z-index: 2000; padding: 18px; background: #fff; color: #1e293b;
  border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 18px 60px #0b437833;
  max-height: calc(100dvh - 24px); overflow-y: auto;
}
.tour-calendar[hidden] { display: none; }
.calendar-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.calendar-heading strong { font-size: 14px; color: #0b4378; text-transform: capitalize; }
.calendar-nav { border: 0; background: #f1f5f9; border-radius: 10px; width: 34px; height: 34px; font-size: 25px; color: #0b4378; cursor: pointer; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekday { font-size: 11px; font-weight: 700; color: #94a3b8; text-align: center; padding-block: 6px 10px; }
.calendar-day { aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: #fff; color: #334155; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.calendar-day:hover:not(:disabled) { background: #edf5ff; color: #0b4378; }
.calendar-day.is-today { border-color: #aac7e2; }
.calendar-day.is-selected, .calendar-day.is-selected:hover { background: #0b4378; color: #fff; border-color: #0b4378; box-shadow: 0 3px 8px #0b437833; }
.calendar-day:disabled, .calendar-nav:disabled { color: #cbd5e1; cursor: default; background: transparent; }
.calendar-day:focus-visible, .calendar-nav:focus-visible, .calendar-today:focus-visible { outline: 2px solid #ff8c00; outline-offset: 1px; }
.calendar-footer { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf1f6; }
.calendar-today { border: 0; padding: 6px 10px; background: #f1f5f9; color: #0b4378; font: inherit; font-size: 12px; font-weight: 700; border-radius: 8px; cursor: pointer; }
@media (max-width: 980px) {
  .tour-search-box .home-search-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-search-form .btn-tour-search { width: 100%; }
}
@media (max-width: 600px) {
  .tour-search-box { padding: 18px; border-radius: 18px; }
  .tour-search-box .home-search-form { grid-template-columns: 1fr; gap: 14px; }
  .tour-search-box .category-pills { gap: 6px; }
  .tour-search-box .cat-pill { font-size: 12px; padding: 7px 10px; }
}
/* Date controls use the same popover in every service. */
.home-multi-search .calendar-trigger, .service-search .calendar-trigger {
 display:flex; align-items:center; justify-content:space-between; width:100%; padding:10px 12px; min-height:46px; border-radius:10px;
}
.home-multi-search .calendar-trigger::after, .service-search .calendar-trigger::after { content:'▦'; font-size:18px; color:#64748b; }

.header-mobile-actions { display:contents; }
.header-mobile-call { display:none; }
@media(max-width:980px) {
 .tour-header .main-header { min-height:58px; padding-block:8px; gap:12px; }
 .tour-header .logo-link { display:flex; flex-direction:column; gap:1px; line-height:1.25; }
 .tour-header .logo-title { font-size:22px !important; }
 .tour-header .logo-subtitle { font-size:9px !important; letter-spacing:.7px !important; }
 .header-mobile-actions { display:flex; align-items:center; gap:8px; margin-left:auto; flex:0 0 auto; }
 .header-mobile-call, .header-mobile-actions .mobile-menu-btn { display:grid; place-items:center; width:36px; height:36px; margin:0; padding:0; border:1px solid #e1eaf3; border-radius:10px; background:#f4f8fc; color:#124d80; font-size:16px; text-decoration:none; }
 .header-mobile-call { color:#ed7513; background:#fff5eb; border-color:#ffead5; font-size:13px; }
}
/* International-service navigation and a single top-bar hotline. */
.tour-page .header-top,.tour-page.tour-home .header-top { display:block; padding:0; background:#0d314f; }
.tour-page .header-top-flex { display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:32px; }
.header-top-hotline { display:inline-flex; align-items:center; gap:7px; color:#edf5fc; font-size:12px; font-weight:600; text-decoration:none; white-space:nowrap; }
.header-top-hotline:hover { color:#ffb14a; }
.top-alert-short { display:none; }
.tour-page .top-alert { color:#ffae35; font-size:11px; line-height:1.45; }
.nav-services { position:relative; }
.tour-header .nav-services-toggle { display:flex; align-items:center; gap:7px; border:0; background:transparent; font-family:inherit; cursor:pointer; }
.nav-services-toggle i { font-size:9px; transition:transform .2s; }
.nav-services-toggle[aria-expanded=true] i { transform:rotate(180deg); }
.nav-services-menu { position:absolute; top:100%; left:0; z-index:1100; width:250px; padding:8px; background:#fff; border:1px solid #e1eaf3; border-radius:12px; box-shadow:0 12px 32px #0c2f4d1a; }
.nav-services-menu[hidden] { display:none; }
.nav-services-menu a { display:flex; align-items:center; gap:10px; padding:10px; border-radius:7px; color:#35536e; text-decoration:none; font-size:12px; font-weight:600; }
.nav-services-menu a:hover,.nav-services-menu a:focus-visible { background:#eef5fc; color:#0d4d82; }
.nav-services-menu a i { width:18px; color:#6284a2; text-align:center; }
#homeCruiseTitle { scroll-margin-top:100px; }
@media(min-width:981px) { .tour-header nav.nav-menu { gap:22px; } .tour-header .nav-link { padding:10px 12px; } }
@media(max-width:980px) {
 .nav-services { width:100%; }
 .tour-header .nav-services-toggle { width:100%; justify-content:space-between; background:none; }
 .nav-services-menu { position:static; width:100%; padding:4px 6px; border:0; border-radius:8px; box-shadow:none; background:#f5f8fc; }
 .nav-services-menu a { padding:11px 12px; }
 .tour-header nav.nav-menu > .nav-link { width:100%; }
}
@media(max-width:760px) {
 .tour-page .header-top-flex { padding-inline:16px; gap:8px; min-height:28px; }
 .header-top-hotline { font-size:10px; gap:5px; }
 .tour-page .top-alert { font-size:9px; gap:4px; }
 .top-alert-full { display:none; }
 .top-alert-short { display:inline; }
}
/* One shared content frame for the header and page body. */
:root { --tour-content-width:1200px; --tour-content-gutter:24px; }
.tour-page .container { box-sizing:border-box; width:100%; max-width:var(--tour-content-width); margin-inline:auto; padding-inline:var(--tour-content-gutter); }
.tour-page .tour-header .main-header,.tour-page .header-top .container { padding-inline:var(--tour-content-gutter); }
@media(max-width:760px) { :root { --tour-content-gutter:16px; } }/* A balanced, single-line mobile contact bar. */
@media(max-width:760px) {
 .tour-page .header-top .header-top-flex { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; min-height:32px; padding-top:0; padding-bottom:0; }
 .tour-page .header-top-hotline { display:inline-flex; align-items:center; justify-self:start; gap:6px; color:#f1f6fb; font-size:11px; line-height:16px; font-weight:600; }
 .tour-page .header-hotline-label { display:none; }
 .tour-page .header-top .top-alert { display:inline-flex; align-items:center; justify-content:flex-end; gap:5px; width:auto; margin:0; padding:0; font-size:10px; line-height:16px; white-space:nowrap; color:#f7cb89; }
 .tour-page .header-top .top-alert .top-alert-short { overflow-wrap:normal; white-space:nowrap; }
 .tour-page .header-top-hotline > i,.tour-page .header-top .top-alert > i { font-size:10px; line-height:1; }
}
