/* Tripit — DirectBooking-inspired visual system */
:root {
  --trip-blue: #0b2c5f;
  --trip-blue-deep: #071e42;
  --trip-blue-band: #0b2c5f;
  --db-navy: #0b2c5f;
  --db-navy-deep: #071e42;
  --db-gold: #f5c518;
  --db-gold-deep: #e0b000;
  --db-ink: #0f1c2e;
  --db-muted: #5b6b7c;
  --trip-ink: #0f1c2e;
  --trip-muted: #5b6b7c;
  --trip-line: #e6eaf0;
  --trip-bg: #f4f7fb;
  --trip-card-shadow: 0 12px 36px rgba(7, 30, 66, 0.16);
  --trip-radius: 12px;
  --trip-radius-lg: 16px;
}

/* —— Chrome: Trip.com two-tier toolbar (utility + product tabs) —— */
.bc_wrap .bc_topbar {
  display: none !important;
}

.bc_wrap .bc_header.trip-toolbar,
.bc_wrap .bc_header.db-header,
.bc_wrap .bc_header {
  background: var(--db-navy) !important;
  border-bottom: 0 !important;
  box-shadow: 0 2px 12px rgba(7, 30, 66, 0.25) !important;
  padding: 0 !important;
  position: relative;
  z-index: 100;
}

.bc_wrap .bc_header .content.trip-toolbar-inner,
.bc_wrap .bc_header .trip-toolbar-inner {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between;
  min-height: 56px;
  height: 56px;
  gap: 12px;
  max-width: 100%;
}

.bc_wrap .bc_header .trip-toolbar-left,
.bc_wrap .bc_header .header-left.trip-toolbar-left,
.bc_wrap .bc_header .content .header-left {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px;
  min-width: 0;
  width: auto !important;
  max-width: none !important;
  flex: 0 1 auto !important;
  height: 56px !important;
  min-height: 56px !important;
  position: relative;
}

.bc_wrap .bc_header .trip-toolbar-right,
.bc_wrap .bc_header .header-right.trip-toolbar-right,
.bc_wrap .bc_header .content .header-right {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px;
  width: auto !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin-left: auto !important;
  height: 56px !important;
  min-height: 56px !important;
  text-align: right;
}

.bc_wrap .bc_header .bc-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
}

.bc_wrap .bc_header .bc-logo img {
  max-height: 32px !important;
  width: auto;
  display: block;
}

.bc_wrap .bc_header .trip-logo-text {
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  letter-spacing: -0.02em;
}

.bc_wrap .bc_header.db-header .bc-logo img {
  max-height: 28px !important;
  filter: brightness(0) invert(1);
}

.db-auth-actions {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.db-btn-signin,
.db-btn-register {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.db-btn-signin {
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  color: #fff !important;
  background: transparent !important;
}

.db-btn-signin:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.db-btn-register {
  border: 0 !important;
  background: var(--db-gold) !important;
  color: var(--db-navy-deep) !important;
}

.db-btn-register:hover {
  background: var(--db-gold-deep) !important;
  color: var(--db-navy-deep) !important;
}

.db-btn-signin-sm,
.db-btn-register-sm {
  min-height: 32px;
  padding: 0 10px !important;
  font-size: 12px !important;
}

.db-drawer-register {
  background: var(--db-gold) !important;
  color: var(--db-navy-deep) !important;
}

.bc_wrap .bc_header .bc-menu,
.bc_wrap .bc_header .bc-more-menu {
  display: none !important;
}

/* Hide legacy theme mobile drawer — we use .trip-drawer */
.bc_wrap .bc_header .bc-menu-mobile {
  display: none !important;
}

.trip-header-search,
.trip-mobile-chrome {
  display: none;
}

.trip-desktop-only {
  display: block;
}

.bc_wrap .bc_header .trip-toolbar-actions,
.bc_wrap .bc_header .header-right .topbar-items.trip-toolbar-actions,
.bc_wrap .bc_header .content .header-right .topbar-items {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px;
  margin: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
  list-style: none;
  float: none !important;
}

@media (max-width: 1023px) {
  .bc_wrap .bc_header .content .header-left,
  .bc_wrap .bc_header .content .header-left.trip-toolbar-left,
  .bc_wrap .bc_header .content .header-right,
  .bc_wrap .bc_header .content .header-right.trip-toolbar-right {
    width: auto !important;
    max-width: none !important;
    min-height: 56px !important;
    height: 56px !important;
  }
}

@media (max-width: 990px) {
  .bc_wrap .bc_header .content .header-right .topbar-items,
  .bc_wrap .bc_header .content .header-right .topbar-items.trip-toolbar-actions {
    display: flex !important;
  }
}

.bc_wrap .bc_header .trip-toolbar-actions > li {
  margin: 0 !important;
  float: none !important;
}

.bc_wrap .bc_header .trip-toolbar-actions > li > a {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px !important;
  border-radius: 8px;
  color: var(--trip-ink) !important;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none !important;
  white-space: nowrap;
}

.bc_wrap .bc_header .header-right .topbar-items .login a,
.bc_wrap .bc_header .header-right .login-item > a.login,
.bc_wrap .bc_header .trip-toolbar-actions .login-item > a.login {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 36px;
  background: #fff !important;
  color: var(--trip-ink) !important;
  border-radius: 8px;
  padding: 0 14px !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none !important;
  border: 1px solid var(--trip-line) !important;
  box-shadow: 0 1px 2px rgba(15, 41, 77, 0.06);
}

.bc_wrap .bc_header .trip-toolbar-actions .login-item > a.login:hover {
  border-color: var(--trip-blue) !important;
  color: var(--trip-blue) !important;
}

.bc_wrap .bc_header .trip-toolbar-actions .avatar,
.bc_wrap .bc_header .trip-toolbar-actions .avatar-text {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.trip-install-btn {
  display: none;
  align-items: center;
  gap: 6px;
  height: 36px;
  background: transparent;
  color: var(--trip-ink);
  border: 0;
  border-radius: 8px;
  padding: 0 10px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  line-height: 1.2;
  white-space: nowrap;
}

.trip-install-btn.is-visible {
  display: inline-flex;
}

.trip-install-btn:hover {
  color: var(--trip-blue);
  background: var(--trip-bg);
}

.trip-install-btn i {
  font-size: 15px;
}

/* Product tabs — always visible, Trip.com underline active */
.bc_wrap .bc_header .trip-product-bar {
  border-top: 1px solid var(--trip-line);
  border-bottom: 1px solid var(--trip-line);
  background: #fff;
}

.bc_wrap .bc_header .trip-product-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  min-height: 44px;
}

.bc_wrap .bc_header .trip-product-nav::-webkit-scrollbar {
  display: none;
}

.bc_wrap .bc_header .trip-product-link {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  height: 44px;
  padding: 0 14px;
  color: var(--trip-ink) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  white-space: nowrap;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

.bc_wrap .bc_header .trip-product-link:hover {
  color: var(--trip-blue) !important;
}

.bc_wrap .bc_header .trip-product-link.is-active {
  color: var(--trip-blue) !important;
  border-bottom-color: var(--trip-blue);
}

.bc_wrap .bc_header .trip-product-more {
  position: relative;
  flex: 0 0 auto;
}

.bc_wrap .bc_header .trip-more-btn {
  font-family: inherit;
}

.bc_wrap .bc_header .trip-more-menu {
  min-width: 180px;
  padding: 8px 0;
  border: 1px solid var(--trip-line);
  border-radius: 10px;
  box-shadow: var(--trip-card-shadow);
  margin-top: 4px;
}

.bc_wrap .bc_header .trip-more-menu > li > a {
  display: block;
  padding: 8px 14px;
  color: var(--trip-ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.bc_wrap .bc_header .trip-more-menu > li > a:hover {
  background: rgba(40, 125, 250, 0.08);
  color: var(--trip-blue);
}

@media (max-width: 767px) {
  .bc_wrap .bc_header .trip-toolbar-actions .currency-switcher,
  .bc_wrap .bc_header .trip-toolbar-actions .dropdown:has(.fa-globe),
  .bc_wrap .bc_header .trip-user-name {
    display: none !important;
  }

  .bc_wrap .bc_header .trip-product-link {
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 575px) {
  .trip-install-btn span {
    display: none !important;
  }

  .bc_wrap .bc_header .content.trip-toolbar-inner {
    height: 52px;
    min-height: 52px;
  }

  .bc_wrap .bc_header .trip-product-link {
    padding: 0 10px;
  }

  .bc_wrap .bc_header .trip-toolbar-actions .login-item > a.login {
    padding: 0 10px !important;
    font-size: 12px;
  }
}

/* —— Hero: DirectBooking tropical —— */
.bc_wrap .page-template-content .bc-form-search-all {
  background-image: none !important;
  background: transparent !important;
  padding: 0 !important;
  position: relative;
}

.bc_wrap .page-template-content .bc-form-search-all .effect {
  display: none !important;
}

.trip-product-bar {
  display: none !important;
}

/* —— Search shell (white card like Trip.com) —— */
.bc_wrap .g-form-control.trip-search-shell,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control {
  margin: 0 !important;
  background: #fff;
  border-radius: var(--trip-radius-lg);
  box-shadow: var(--trip-card-shadow);
  padding: 20px 22px 18px;
}

.bc_wrap .trip-search-shell .trip-service-tabs,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 4px 8px;
  border: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--trip-line) !important;
}

.bc_wrap .trip-search-shell .trip-service-tabs > li,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li {
  margin: 0 !important;
  float: none !important;
}

.bc_wrap .trip-search-shell .trip-service-tabs > li > a,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li > a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 84px;
  padding: 8px 10px 12px !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--trip-ink) !important;
  font-size: 12px !important;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.bc_wrap .trip-search-shell .trip-tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--trip-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--trip-blue);
  font-size: 20px;
  border: 1.5px solid transparent;
}

.bc_wrap .trip-search-shell a.trip-tab-filled .trip-tab-icon,
.bc_wrap .trip-search-shell .trip-tab-filled .trip-tab-icon {
  background: var(--trip-blue) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.bc_wrap .trip-search-shell a.trip-tab-outline .trip-tab-icon,
.bc_wrap .trip-search-shell .trip-tab-outline .trip-tab-icon {
  background: #fff !important;
  color: var(--trip-blue) !important;
  border-color: #cfe0fb !important;
}

.bc_wrap .trip-search-shell .trip-service-tabs > li > a.active .trip-tab-icon,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li > a.active .trip-tab-icon {
  box-shadow: 0 0 0 3px rgba(40, 125, 250, 0.18);
}

.bc_wrap .trip-search-shell .trip-service-tabs > li > a.active,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li > a.active {
  background: transparent !important;
  color: var(--trip-blue) !important;
  border: 0 !important;
}

.bc_wrap .trip-search-shell .trip-service-tabs > li > a.active::after,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li > a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--trip-blue);
}

.bc_wrap .trip-search-shell .tab-content:before,
.bc_wrap .page-template-content .bc-form-search-all .g-form-control .tab-content:before {
  display: none !important;
}

/* —— Taxi form fields —— */
.trip-taxi-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: stretch;
}

.trip-taxi-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trip-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--trip-line);
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
  margin: 0;
  cursor: text;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.trip-field:focus-within {
  border-color: var(--trip-blue);
  box-shadow: 0 0 0 3px rgba(40, 125, 250, 0.15);
}

.trip-field-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--trip-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.trip-field-icon-dest {
  background: #ffe8ea;
  color: #e5484d;
}

.trip-field-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.trip-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--trip-muted);
  line-height: 1.2;
}

.trip-field input {
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  color: var(--trip-ink);
  padding: 2px 0 0;
  width: 100%;
}

.trip-field input::placeholder {
  color: #a0aab8;
  font-weight: 500;
}

.trip-when-row {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.trip-when {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  cursor: pointer;
}

.trip-when input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.trip-when span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--trip-line);
  background: #fff;
  color: var(--trip-ink);
  font-size: 13px;
  font-weight: 600;
}

.trip-when input:checked + span {
  background: var(--trip-blue);
  border-color: var(--trip-blue);
  color: #fff;
}

.trip-search-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 120px;
  border: 0;
  border-radius: 10px;
  background: var(--trip-blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background 0.15s;
}

.trip-search-btn:hover {
  background: var(--trip-blue-deep);
}

.trip-search-btn i {
  font-size: 20px;
}

.trip-taxi-foot {
  margin: 12px 0 0;
  color: var(--trip-muted);
  font-size: 13px;
}

.trip-loc-wrap {
  position: relative;
}

.trip-locate-btn {
  border: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.trip-locate-btn:hover,
.trip-locate-btn.is-busy {
  background: var(--trip-blue) !important;
  color: #fff !important;
}

.trip-map-pick-btn {
  width: 34px;
  height: 34px;
  margin-left: 4px;
  border: 0;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--trip-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.trip-map-pick-btn:hover,
.trip-map-pick-btn:focus {
  background: var(--trip-blue);
  color: #fff;
  outline: 0;
}

.trip-map-pick-dest {
  background: #ffe8ea;
  color: #e5484d;
}

.trip-map-pick-dest:hover,
.trip-map-pick-dest:focus {
  background: #e5484d;
  color: #fff;
}

.trip-loc-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 4px 0 2px;
}

.trip-field-icon.trip-locate-btn,
.trip-field-icon#trip-map-dropoff {
  border: 0;
  padding: 0;
  cursor: pointer;
}

.trip-field-icon.trip-locate-btn:hover,
.trip-field-icon.trip-locate-btn.is-busy,
.trip-field-icon#trip-map-dropoff:hover {
  background: var(--trip-blue);
  color: #fff;
}

.trip-field-icon#trip-map-dropoff:hover {
  background: #e5484d;
}

.trip-locate-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--trip-blue);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.trip-locate-link.is-busy {
  opacity: 0.6;
  pointer-events: none;
}

.trip-map-link {
  color: #0f6ad8;
}

/* Dropme-style map pin sheet */
html.trip-map-open,
html.trip-map-open body {
  overflow: hidden;
}

.trip-map-sheet {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.trip-map-sheet[hidden] {
  display: none !important;
}

.trip-map-sheet-panel {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.trip-map-sheet-head {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px;
  background: #fff;
  border-bottom: 1px solid var(--trip-line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.trip-map-sheet-head strong {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--trip-ink);
}

.trip-map-sheet-close,
.trip-map-sheet-gps {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f6fb;
  color: var(--trip-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.trip-map-sheet-gps {
  color: var(--trip-blue);
}

.trip-map-sheet-gps.is-busy {
  opacity: 0.55;
  pointer-events: none;
}

.trip-map-sheet-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
}

.trip-map-sheet-canvas {
  width: 100%;
  height: 100%;
  background: #e8eef5;
}

.trip-map-sheet-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, calc(-100% + 6px));
  pointer-events: none;
  color: var(--trip-blue);
  font-size: 40px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.25));
  transition: transform 0.12s ease;
}

.trip-map-sheet-pin.is-lift {
  transform: translate(-50%, calc(-100% - 8px));
}

.trip-map-sheet-pin i {
  display: block;
}

.trip-map-sheet-foot {
  position: relative;
  z-index: 3;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--trip-line);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.trip-map-sheet-addr {
  min-height: 40px;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--trip-ink);
  line-height: 1.35;
}

.trip-map-sheet-confirm {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--trip-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.trip-map-sheet-confirm:hover {
  background: var(--trip-blue-deep);
}

@media (min-width: 768px) {
  .trip-map-sheet {
    align-items: center;
    padding: 24px;
  }

  .trip-map-sheet-panel {
    height: min(720px, calc(100vh - 48px));
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  }
}

.trip-sugs {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 6500;
  background: #fff;
  border: 1px solid var(--trip-line);
  border-radius: 12px;
  box-shadow: var(--trip-card-shadow);
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
}

.g-map-place.trip-places-field,
.g-map-place {
  position: relative;
  overflow: visible !important;
}

/* Prefer our Places list over empty Google pac-container on search forms */
.trip-ota-shell ~ .pac-container,
.pac-container:empty {
  display: none !important;
}

.trip-sugs.is-open {
  display: block;
}

.trip-sug {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.trip-sug:hover,
.trip-sug:focus {
  background: rgba(40, 125, 250, 0.08);
  outline: 0;
}

.trip-sug-pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--trip-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}

.trip-sug-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.trip-sug-text .m {
  color: var(--trip-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.trip-sug-text .s {
  color: var(--trip-muted);
  font-size: 12px;
  line-height: 1.3;
}

.trip-taxi-fields {
  position: relative;
  z-index: 2;
}

/* Other service panes inside white card */
.trip-tab-content .tab-pane > form,
.trip-tab-content .g-field-search {
  background: transparent !important;
}

/* Buttons site-wide lean Trip blue on primary CTAs in hero context */
.bc_wrap .page-template-content .bc-form-search-all .btn-primary,
.bc_wrap .page-template-content .bc-form-search-all button[type="submit"] {
  background: var(--trip-blue) !important;
  border-color: var(--trip-blue) !important;
}

@media (max-width: 900px) {
  .trip-taxi-form {
    grid-template-columns: 1fr;
  }

  .trip-taxi-fields {
    grid-template-columns: 1fr;
  }

  .trip-search-btn {
    flex-direction: row;
    width: 100%;
    min-height: 52px;
  }

  .bc_wrap .page-template-content .bc-form-search-all .text-heading {
    font-size: 28px !important;
  }

  .bc_wrap .page-template-content .bc-form-search-all {
    padding: 28px 0 48px !important;
  }

  .bc_wrap .trip-search-shell .trip-service-tabs > li > a,
  .bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li > a {
    min-width: 68px;
    padding: 6px 6px 10px !important;
  }
}

@media (max-width: 767px) {
  .bc_wrap .bc_header .bc-menu {
    display: none;
  }

  .trip-install-btn span {
    display: none;
  }
}

/* —— Trip.com mobile chrome (matches client screenshots) —— */
@media (max-width: 991px) {
  .trip-desktop-only,
  .bc_wrap .bc_header .trip-desktop-only,
  .trip-install-btn,
  .bc_wrap .bc_header .trip-install-btn,
  .bc_wrap .bc_header .trip-product-bar,
  .bc_wrap .bc_header .trip-desktop-utils,
  .bc_wrap .bc_header .header-right .topbar-items.trip-desktop-utils,
  .bc_wrap .bc_header .content .header-right .topbar-items.trip-desktop-utils {
    display: none !important;
  }

  .trip-header-search,
  .bc_wrap .bc_header .trip-header-search {
    display: none !important;
  }

  .trip-header-search i {
    color: #6b7a90;
    font-size: 13px;
  }

  .trip-header-search span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trip-mobile-chrome {
    display: inline-flex !important;
    align-items: center;
    gap: 2px;
    flex: 0 0 auto;
  }

  .trip-icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 18px;
    text-decoration: none !important;
    padding: 0;
    cursor: pointer;
  }

  .trip-icon-btn img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
  }

  .trip-icon-btn span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--trip-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .bc_wrap .bc_header .content.trip-toolbar-inner {
    gap: 4px;
    padding: 0 4px;
  }

  .bc_wrap .bc_header .bc-logo img {
    max-height: 28px !important;
  }

  .bc_wrap .bc_header .trip-toolbar-right {
    gap: 0;
  }

  /* Homepage: white Trip.com surface, not blue hero */
  .bc_wrap .page-template-content .bc-form-search-all {
    background: #fff !important;
    padding: 8px 0 24px !important;
  }

  .trip-desktop-hero-title {
    display: none !important;
  }

  .bc_wrap .g-form-control.trip-search-shell,
  .bc_wrap .page-template-content .bc-form-search-all .g-form-control {
    box-shadow: none;
    border-radius: 0;
    padding: 12px 12px 16px;
    background: transparent;
  }

  /* Clean 2×4 like Trip.com — hide overflow (Visa) on mobile */
  .bc_wrap .trip-search-shell .trip-tab-overflow {
    display: none !important;
  }

  .bc_wrap .trip-search-shell .trip-service-tabs,
  .bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 28px;
    border-bottom: 0 !important;
    padding: 16px 8px 32px;
    margin: 0 0 22px !important;
  }

  .bc_wrap .trip-search-shell .trip-service-tabs > li > a,
  .bc_wrap .page-template-content .bc-form-search-all .g-form-control .nav-tabs > li > a {
    min-width: 0;
    width: 100%;
    padding: 0 0 12px !important;
    gap: 12px;
    font-size: 12px !important;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
  }

  .bc_wrap .trip-search-shell .trip-tab-icon {
    width: 54px;
    height: 54px;
    font-size: 21px;
  }

  .bc_wrap .trip-search-shell .trip-service-tabs > li > a.active::after {
    left: 22%;
    right: 22%;
    bottom: 0;
    height: 3px;
  }

  .bc_wrap .trip-search-shell .trip-tab-label {
    max-width: 78px;
    margin: 0 auto;
  }

  .bc_wrap .trip-search-shell .trip-tab-content {
    padding-top: 4px;
  }

  .trip-taxi-form,
  .trip-taxi-fields {
    grid-template-columns: 1fr;
  }

  .trip-field {
    background: #f7f9fc;
  }
}

/* Working drawer */
html.trip-drawer-lock,
html.trip-drawer-lock body {
  overflow: hidden;
}

.trip-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 41, 77, 0.45);
  z-index: 10040;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.trip-drawer-backdrop.is-open {
  opacity: 1;
}

.trip-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(86vw, 340px);
  height: 100%;
  background: #fff;
  z-index: 10050;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  box-shadow: -8px 0 28px rgba(15, 41, 77, 0.18);
  display: flex;
  flex-direction: column;
}

.trip-drawer.is-open {
  transform: translateX(0);
}

.trip-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--trip-line);
}

.trip-drawer-head strong {
  color: var(--trip-blue);
  font-size: 18px;
}

.trip-drawer-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--trip-bg);
  color: var(--trip-ink);
  cursor: pointer;
}

.trip-drawer-body {
  padding: 16px 18px 28px;
  overflow-y: auto;
  flex: 1;
}

.trip-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: var(--trip-blue);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.trip-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trip-drawer-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 10px;
  color: var(--trip-ink) !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}

.trip-drawer-nav a:hover,
.trip-drawer-nav a:active {
  background: rgba(40, 125, 250, 0.08);
  color: var(--trip-blue) !important;
}

.trip-drawer-nav i {
  width: 22px;
  text-align: center;
  color: var(--trip-blue);
}

.trip-drawer-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--trip-line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trip-drawer-meta .dropdown > a,
.trip-drawer-meta li > a {
  color: var(--trip-ink) !important;
  font-weight: 600;
  font-size: 13px;
}

/* ============================================================
   DirectBooking-inspired homepage + listings
   ============================================================ */

.db-hero {
  position: relative;
  min-height: min(78vh, 720px);
  padding: 56px 0 72px;
  background:
    linear-gradient(180deg, rgba(7, 30, 66, 0.55) 0%, rgba(7, 30, 66, 0.35) 45%, rgba(7, 30, 66, 0.65) 100%),
    var(--db-hero-img) center / cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.db-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 8px;
}

.db-hero-title {
  max-width: 760px;
  margin: 0 0 12px !important;
  color: #fff !important;
  font-size: clamp(28px, 4.2vw, 44px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.db-hero-sub {
  max-width: 640px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
}

.db-search-shell {
  background: #fff !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 48px rgba(7, 30, 66, 0.28) !important;
  padding: 18px 18px 16px !important;
  margin: 0 !important;
}

.db-hotel-search .bc_form,
.db-hotel-search form.bc_form {
  margin: 0;
}

.db-hotel-search .g-field-search .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 !important;
}

.db-hotel-search .g-field-search .row > [class*="col-"] {
  padding: 8px 12px !important;
  border-right: 1px solid var(--trip-line) !important;
  float: none !important;
  flex: 1 1 160px;
  min-width: 140px;
}

.db-hotel-search .g-field-search .row > [class*="col-"]:last-child {
  border-right: 0 !important;
}

.db-hotel-search .g-button-submit {
  margin-top: 12px;
  text-align: right;
}

.db-search-shell .db-hotel-search .btn-search,
.db-search-shell .db-hotel-search .g-button-submit .btn,
.db-search-shell .db-hotel-search .g-button-submit .btn-primary,
.db-hotel-search .btn-search,
.db-hotel-search .g-button-submit .btn-primary,
.bc_wrap .db-search-shell .btn.btn-primary.btn-search {
  min-width: 140px !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f5c518 !important;
  background-image: none !important;
  color: #071e42 !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: none !important;
  text-transform: none !important;
}

.db-search-shell .db-hotel-search .btn-search:hover,
.db-search-shell .db-hotel-search .g-button-submit .btn-primary:hover,
.bc_wrap .db-search-shell .btn.btn-primary.btn-search:hover {
  background: #e0b000 !important;
  color: #071e42 !important;
}

.db-hero-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.db-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 30, 66, 0.72);
  color: #fff !important;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: transform 0.15s ease, background 0.15s ease;
}

.db-chip:hover {
  background: rgba(7, 30, 66, 0.88);
  transform: translateY(-1px);
  color: #fff !important;
}

.db-chip-ico {
  font-size: 22px;
  line-height: 1;
}

.db-chip-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.db-chip-body strong {
  font-size: 13px;
  font-weight: 700;
}

.db-chip-body small {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-trust {
  background: #fff;
  padding: 28px 0 8px;
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.db-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.db-trust-card {
  background: #fff;
  border: 1px solid var(--trip-line);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 8px 24px rgba(7, 30, 66, 0.06);
}

.db-trust-icon {
  display: inline-block;
  font-size: 22px;
  margin-bottom: 8px;
}

.db-trust-card strong {
  display: block;
  color: var(--db-ink);
  font-size: 15px;
  margin-bottom: 6px;
}

.db-trust-card p {
  margin: 0;
  color: var(--db-muted);
  font-size: 13px;
  line-height: 1.45;
}

.db-triad {
  padding: 48px 0 24px;
  background: var(--trip-bg);
}

.db-eyebrow {
  margin: 0 0 8px;
  color: var(--db-muted);
  font-size: 13px;
  font-weight: 600;
}

.db-section-title {
  margin: 0 0 8px;
  color: var(--db-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.db-section-sub {
  margin: 0 0 24px;
  color: var(--db-muted);
  max-width: 560px;
}

.db-triad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.db-triad-card {
  display: block;
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px;
  text-decoration: none !important;
  color: inherit !important;
  border: 1px solid var(--trip-line);
  box-shadow: 0 10px 28px rgba(7, 30, 66, 0.07);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.db-triad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(7, 30, 66, 0.12);
}

.db-triad-emoji {
  font-size: 28px;
  display: inline-block;
  margin-bottom: 10px;
}

.db-triad-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--db-ink);
}

.db-triad-card p {
  margin: 0 0 14px;
  color: var(--db-muted);
  font-size: 14px;
  line-height: 1.45;
}

.db-triad-cta {
  color: var(--db-navy);
  font-weight: 700;
  font-size: 13px;
}

/* Featured hotels — DirectBooking property cards */
.bc-list-hotel .title,
.bc-list-locations .title {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--db-ink) !important;
  letter-spacing: -0.02em;
}

.bc-list-hotel .sub-title,
.bc-list-locations .sub-title {
  color: var(--db-muted) !important;
  margin-bottom: 20px !important;
}

.item-loop.item-hotel {
  background: #fff;
  border: 1px solid var(--trip-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(7, 30, 66, 0.08);
  padding-bottom: 14px;
  height: 100%;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.item-loop.item-hotel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(7, 30, 66, 0.14);
}

.item-loop.item-hotel .thumb-image {
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 12px;
}

.item-loop.item-hotel .thumb-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.item-loop.item-hotel .item-title {
  padding: 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--db-ink);
}

.item-loop.item-hotel .item-title a {
  color: var(--db-ink) !important;
}

.item-loop.item-hotel .location {
  padding: 4px 14px 0;
  color: var(--db-muted);
  font-size: 13px;
}

.item-loop.item-hotel .service-review {
  padding: 6px 14px 0;
}

.item-loop.item-hotel .info {
  padding: 10px 14px 0;
}

.item-loop.item-hotel .g-price .prefix .fr_text {
  color: var(--db-muted);
  font-size: 12px;
}

.item-loop.item-hotel .g-price .text-price {
  color: var(--db-navy);
  font-weight: 800;
  font-size: 18px;
}

/* Location tiles */
.destination-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(7, 30, 66, 0.1);
}

.destination-item .image {
  min-height: 200px;
}

.destination-item .content .title {
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .db-hero {
    min-height: auto;
    padding: 36px 0 48px;
    align-items: flex-start;
  }

  .db-hero-chips,
  .db-trust-grid,
  .db-triad-grid {
    grid-template-columns: 1fr;
  }

  .db-hotel-search .g-field-search .row > [class*="col-"] {
    border-right: 0 !important;
    border-bottom: 1px solid var(--trip-line) !important;
    flex: 1 1 100%;
  }

  .db-hotel-search .g-button-submit {
    text-align: stretch;
  }

  .db-hotel-search .btn-search,
  .db-hotel-search .g-button-submit .btn-primary {
    width: 100%;
  }

  .db-chip {
    background: rgba(7, 30, 66, 0.82);
  }
}

/* Desktop utils on navy */
.bc_wrap .bc_header.db-header .trip-toolbar-actions a,
.bc_wrap .bc_header.db-header .trip-toolbar-actions .dropdown > a {
  color: #fff !important;
}

.bc_wrap .bc_header.db-header .trip-user-name {
  color: #fff;
}

/* —— Continue polish: DirectBooking search fields —— */
.db-search-shell .db-hotel-search .g-field-search {
  margin: 0;
}

.db-search-shell .db-hotel-search .form-group {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 !important;
  min-height: 58px;
}

.db-search-shell .db-hotel-search .field-icon {
  color: var(--db-navy) !important;
  font-size: 22px !important;
  width: 28px;
  text-align: center;
  flex: 0 0 auto;
  opacity: 0.95;
}

.db-search-shell .db-hotel-search label,
.db-search-shell .db-hotel-search .form-content > label,
.db-search-shell .db-hotel-search .date-wrapper > label {
  display: block !important;
  margin: 0 0 2px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--db-muted) !important;
  line-height: 1.2;
}

.db-search-shell .db-hotel-search .form-control,
.db-search-shell .db-hotel-search .smart-search-location,
.db-search-shell .db-hotel-search input,
.db-search-shell .db-hotel-search .render,
.db-search-shell .db-hotel-search .check-in-render,
.db-search-shell .db-hotel-search .check-out-render,
.db-search-shell .db-hotel-search .form-content .render,
.bc_wrap .db-search-shell .db-hotel-search .form-content input,
.bc_wrap .db-search-shell .db-hotel-search .smart-search .parent_text {
  color: #0b2c5f !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.db-search-shell .db-hotel-search input::placeholder {
  color: #0b2c5f !important;
  opacity: 0.85;
}

.db-search-shell .db-hotel-search .form-date-search-hotel .date-wrapper {
  display: flex;
  flex-direction: column;
}

.db-search-shell .db-hotel-search .fa-angle-down,
.db-search-shell .db-hotel-search .fa-caret-down {
  color: var(--db-navy) !important;
}

@media (min-width: 992px) {
  .db-search-shell {
    padding: 10px 12px 12px !important;
  }

  .db-search-shell .db-hotel-search form.bc_form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    align-items: center;
  }

  .db-search-shell .db-hotel-search .g-field-search {
    min-width: 0;
  }

  .db-search-shell .db-hotel-search .g-field-search .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }

  .db-search-shell .db-hotel-search .g-field-search .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    float: none !important;
    padding: 6px 14px !important;
  }

  .db-search-shell .db-hotel-search .g-button-submit {
    margin: 0 !important;
    display: flex;
    align-items: center;
  }

  .db-search-shell .db-hotel-search .btn-search,
  .bc_wrap .db-search-shell .btn.btn-primary.btn-search {
    min-width: 128px !important;
    height: 52px !important;
    border-radius: 12px !important;
  }

  .db-hero-chips {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Featured / destinations section breathing room */
.page-template-content .bc-list-hotel,
.page-template-content .bc-list-locations {
  padding-top: 20px;
  padding-bottom: 10px;
}

.page-template-content .bc-list-locations .title::before {
  content: none;
}

.db-featured-stays .title {
  margin-bottom: 6px;
}

/* Live-taxi: sticky map on desktop, tighter mobile card */
@media (min-width: 901px) {
  .dbv-map-wrap {
    position: sticky;
    top: 72px;
  }
}

@media (max-width: 900px) {
  .dbv-wrap {
    margin-top: -20px;
  }
  .dbv-card {
    border-radius: 16px;
  }
  .dbv-map-wrap {
    order: -1;
    min-height: 260px;
  }
  .dbv-grid {
    display: flex;
    flex-direction: column;
  }
  #taxi-map {
    min-height: 260px;
  }
}

/* Hide leftover Trip blue accents inside hero search */
.db-search-shell a,
.db-search-shell .text-primary {
  color: var(--db-navy) !important;
}

/* —— Next batch: property cards + homepage cleanup —— */
.page-template-content .bc-offer,
.page-template-content .bc-testimonial {
  display: none !important;
}

.db-prop-card {
  display: flex;
  flex-direction: column;
}

.db-prop-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 0 0 4px;
}

.db-prop-badge,
.item-loop.item-hotel .featured.db-prop-badge {
  background: var(--db-gold) !important;
  color: var(--db-navy-deep) !important;
  font-weight: 800;
  border-radius: 0 0 8px 0;
}

.db-prop-stars .booking-item-rating-stars li,
.db-prop-stars .fa-star {
  color: #f5c518 !important;
}

.db-prop-review {
  display: flex !important;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 0 !important;
}

.db-prop-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px 8px 8px 2px;
  background: var(--db-navy);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
}

.db-prop-score-new {
  background: #1faa59;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.db-prop-review-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.db-prop-review-meta .rate-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--db-ink);
}

.db-prop-review-meta .review {
  font-size: 12px;
  color: var(--db-muted);
}

.db-prop-cancel {
  padding: 4px 14px 0;
  font-size: 12px;
  font-weight: 600;
  color: #1faa59;
}

.db-prop-price {
  margin-top: auto !important;
  padding: 10px 14px 0 !important;
}

.db-prop-price .fr_text {
  text-transform: none;
  font-size: 12px !important;
  color: var(--db-muted) !important;
}

.db-prop-price .text-price {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--db-navy) !important;
}

.db-prop-price .unit {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: var(--db-muted) !important;
}

.db-featured-stays {
  padding-top: 12px;
  padding-bottom: 28px;
}

.db-regions .db-eyebrow,
.db-featured-stays .db-eyebrow {
  margin-bottom: 4px;
}

/* Soften leftover CMS demo carousels under regions */
.page-template-content .bc-list-car,
.page-template-content .bc-list-boat,
.page-template-content .bc-list-event,
.page-template-content .bc-list-space,
.page-template-content .bc-list-tour {
  opacity: 0.98;
}

.page-template-content .bc-list-car .title,
.page-template-content .bc-list-boat .title,
.page-template-content .bc-list-event .title,
.page-template-content .bc-list-space .title,
.page-template-content .bc-list-tour .title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: var(--db-ink) !important;
}

/* —— Next batch 2: hide demo carousels, DirectBooking footer —— */
.page-template-content .bc-list-car,
.page-template-content .bc-list-boat,
.page-template-content .bc-list-event,
.page-template-content .bc-list-space,
.page-template-content .bc-list-tour,
.page-template-content .bc-list-news {
  display: none !important;
}

.db-footer {
  margin-top: 24px;
  background: #071e42;
  color: rgba(255, 255, 255, 0.88);
}

.db-footer .mailchimp.db-mailchimp {
  background: #0b2c5f !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0 !important;
}

.db-footer .mailchimp .media-heading,
.db-footer .mailchimp p,
.db-footer .mailchimp .icofont-island-alt {
  color: #fff !important;
}

.db-footer .mailchimp .btn-submit {
  background: var(--db-gold) !important;
  color: #071e42 !important;
  font-weight: 800 !important;
  border: 0 !important;
}

.db-footer .main-footer {
  background: transparent !important;
  padding: 36px 0 20px !important;
}

.db-footer .nav-footer .title {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  margin-bottom: 12px !important;
}

.db-footer .nav-footer .context,
.db-footer .nav-footer .context p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
  line-height: 1.5;
}

.db-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.db-footer-links li {
  margin: 0 0 8px;
}

.db-footer-links a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}

.db-footer-links a:hover {
  color: var(--db-gold) !important;
}

.db-footer .copy-right {
  background: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7) !important;
}

.db-footer .copy-right a {
  color: rgba(255, 255, 255, 0.85) !important;
}

@media (max-width: 767px) {
  .db-footer-grid > [class*="col-"] {
    margin-bottom: 18px;
  }
}

/* —— Finish: hard-hide leftover CMS blocks (a11y + layout) —— */
.page-template-content .bc-offer,
.page-template-content .bc-testimonial,
.page-template-content .bc-call-to-action,
.page-template-content .bc-list-car,
.page-template-content .bc-list-boat,
.page-template-content .bc-list-event,
.page-template-content .bc-list-space,
.page-template-content .bc-list-tour,
.page-template-content .bc-list-news {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none !important;
}

/* —— Trip.com OTA upgrade (hybrid navy + Trip CTA blue) —— */
:root {
  --trip-cta: #2c61fe;
  --trip-cta-deep: #1f4fe0;
  --trip-ota-radius: 12px;
}

/* Sticky compact header */
.bc_wrap .bc_header.trip-toolbar,
.bc_wrap .bc_header.db-header,
.bc_wrap .bc_header {
  position: sticky !important;
  top: 0;
  z-index: 200;
}

.trip-ota-hero.db-hero {
  min-height: auto;
  padding: 40px 0 56px;
  align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(7, 30, 66, 0.88) 0%, rgba(44, 97, 254, 0.55) 55%, rgba(7, 30, 66, 0.75) 100%),
    var(--db-hero-img) center / cover no-repeat;
}

.trip-usp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
}

.trip-usp-row li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trip-usp-row .fa {
  color: #7dd3fc;
}

.trip-ota-shell.db-search-shell {
  border-radius: var(--trip-ota-radius) !important;
  padding: 0 !important;
  /* Must stay visible — overflow:hidden was clipping Google/CMS autocomplete */
  overflow: visible !important;
  box-shadow: 0 16px 40px rgba(15, 41, 77, 0.28) !important;
}

.trip-ota-shell .trip-svc-panels,
.trip-ota-shell .trip-svc-panel,
.trip-ota-shell .trip-mini-form,
.trip-ota-shell .trip-mini-row,
.trip-ota-shell .db-hotel-search,
.trip-ota-shell .smart-search,
.trip-ota-shell .g-map-place,
.trip-ota-shell .form-content,
.trip-ota-shell .form-group {
  overflow: visible !important;
}

/* Google Places dropdown (appended to body) above sticky header */
.pac-container {
  z-index: 10060 !important;
}

.trip-ota-shell .bc-autocomplete.show,
.trip-ota-shell .bravo-autocomplete.show,
.db-search-shell .bc-autocomplete.show,
.smart-search .bc-autocomplete.show,
.input-search .bc-autocomplete.show {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 6000 !important;
  pointer-events: auto !important;
}

.trip-mini-field.trip-places-field {
  position: relative;
}

.trip-ota-shell .trip-sugs,
.trip-mini-field .trip-sugs {
  z-index: 6500;
  display: none;
}

.trip-ota-shell .trip-sugs.is-open,
.trip-mini-field .trip-sugs.is-open {
  display: block;
}

.trip-sugs[hidden] {
  display: none !important;
}

.trip-svc-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid #e8ecf2;
  background: #fff;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.trip-svc-tabs::-webkit-scrollbar {
  display: none;
}

.trip-svc-tab {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: #5b6b7c;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}

.trip-svc-tab .fa {
  font-size: 15px;
}

.trip-svc-tab.is-active {
  color: #0f294d;
  border-bottom-color: var(--trip-cta);
}

.trip-svc-tab:hover {
  color: #0f294d;
}

.trip-svc-panels {
  padding: 14px 16px 16px;
}

.trip-svc-panel[hidden] {
  display: none !important;
}

.trip-coming-soon {
  padding: 18px 8px 8px;
  text-align: left;
}

.trip-coming-soon strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1a2b49;
  margin-bottom: 6px;
}

.trip-coming-soon p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #66758b;
}

.trip-coming-soon .trip-search-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #287dfa;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.trip-search-incentive {
  margin: 12px 0 0;
  padding: 0 2px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--db-muted);
  text-align: left;
}

.trip-search-incentive a {
  color: var(--trip-cta) !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.trip-mini-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trip-mini-row {
  display: grid;
  gap: 10px;
}

.trip-mini-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e6eaf0;
  border-radius: 8px;
  background: #fafbfc;
}

.trip-mini-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--db-muted);
}

.trip-mini-field input {
  border: 0 !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--db-ink) !important;
  padding: 0 !important;
  height: 28px !important;
}

.trip-search-cta,
.trip-ota-shell .db-hotel-search .btn-search,
.trip-ota-shell .db-hotel-search .g-button-submit .btn,
.trip-ota-shell .db-hotel-search .g-button-submit .btn-primary,
.bc_wrap .trip-ota-shell .btn.btn-primary.btn-search {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  border: 0 !important;
  border-radius: 4px !important;
  background: var(--trip-cta) !important;
  background-image: none !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: none !important;
}

.trip-search-cta:hover,
.trip-ota-shell .db-hotel-search .btn-search:hover,
.bc_wrap .trip-ota-shell .btn.btn-primary.btn-search:hover {
  background: var(--trip-cta-deep) !important;
  color: #fff !important;
}

.trip-ota-shell .db-hotel-search .g-button-submit {
  margin-top: 12px;
  text-align: stretch;
  width: 100%;
}

/* Hide old chips under search — tabs replace them */
.trip-ota-shell .db-hero-chips {
  display: none !important;
}

.trip-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.trip-more-link {
  color: var(--trip-cta) !important;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
  font-size: 14px;
}

.trip-inspire {
  padding-top: 36px;
  background: #fff;
}

.trip-inspire-card {
  display: flex !important;
  flex-direction: column;
  padding: 0 !important;
  overflow: hidden;
  border: 0 !important;
  box-shadow: 0 10px 28px rgba(15, 41, 77, 0.1) !important;
  border-radius: 12px !important;
  background: #fff !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trip-inspire-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 41, 77, 0.16) !important;
}

.trip-inspire-media {
  display: block;
  height: 150px;
  background-size: cover;
  background-position: center;
}

.trip-inspire-body {
  display: block;
  padding: 14px 16px 16px;
}

.trip-inspire-body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--db-ink);
}

.trip-inspire-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--db-muted);
  line-height: 1.45;
}

.trip-inspire-body .db-triad-cta {
  color: var(--trip-cta) !important;
  font-weight: 800;
  font-size: 13px;
}

.trip-dest-carousel {
  padding: 8px 0 48px;
  background: #f4f7fb;
}

.trip-dest-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.trip-dest-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 41, 77, 0.1);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.2s ease;
}

.trip-dest-card:hover {
  transform: translateY(-2px);
}

.trip-dest-img {
  display: block;
  height: 140px;
  background-size: cover;
  background-position: center;
}

.trip-dest-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 12px 14px;
}

.trip-dest-meta strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--db-ink);
}

.trip-dest-meta small {
  font-size: 12px;
  color: var(--db-muted);
  font-weight: 600;
}

/* Hotel card Trip score chip */
.db-prop-card .db-prop-review,
.item-loop.item-hotel .db-prop-review {
  gap: 8px;
}

.db-score-chip,
.db-prop-score {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px !important;
  background: var(--trip-cta) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

@media (min-width: 900px) {
  .trip-mini-row {
    grid-template-columns: 1fr 1fr;
  }

  .trip-inspire-media {
    height: 170px;
  }

  .trip-dest-card {
    flex-basis: 220px;
  }

  .trip-ota-hero .db-hero-title {
    max-width: 820px;
  }
}

@media (max-width: 767px) {
  .trip-usp-row {
    flex-direction: column;
    gap: 6px;
  }

  .trip-svc-tab {
    padding: 12px 12px;
    font-size: 13px;
  }

  .trip-sec-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* —— Trip.com promo banners + offers —— */
.trip-promo-strip {
  margin-top: -20px;
  padding: 0 0 12px;
  position: relative;
  z-index: 3;
  background: #fff;
}

.trip-promo-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.trip-promo-track::-webkit-scrollbar {
  display: none;
}

.trip-promo-card,
.trip-deal-banner {
  flex: 0 0 min(84vw, 340px);
  scroll-snap-align: start;
  position: relative;
  display: block;
  min-height: 168px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b2a5b;
  box-shadow: 0 14px 30px rgba(15, 41, 77, 0.16);
  text-decoration: none !important;
  color: #fff !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  contain: content;
}

.trip-promo-card:hover,
.trip-deal-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(15, 41, 77, 0.22);
}

.trip-promo-card:active,
.trip-deal-banner:active {
  transform: scale(0.985);
}

.trip-promo-photo,
.trip-inspire-photo,
.trip-dest-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trip-promo-photo {
  position: absolute;
  inset: 0;
  min-height: 168px;
}

.trip-promo-img {
  display: block;
  background-size: cover;
  background-position: center;
}

.trip-promo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  min-height: 168px;
  padding: 16px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(8, 36, 90, 0.88) 0%, rgba(8, 36, 90, 0.35) 48%, rgba(8, 36, 90, 0.15) 100%),
    linear-gradient(180deg, transparent 20%, rgba(7, 30, 66, 0.72) 100%);
}

.trip-deal-taxi .trip-promo-copy {
  background:
    linear-gradient(115deg, rgba(20, 78, 180, 0.92) 0%, rgba(20, 78, 180, 0.28) 55%, transparent 100%),
    linear-gradient(180deg, transparent 30%, rgba(7, 30, 66, 0.7) 100%);
}

.trip-deal-galle .trip-promo-copy {
  background:
    linear-gradient(115deg, rgba(0, 128, 128, 0.9) 0%, rgba(0, 128, 128, 0.25) 55%, transparent 100%),
    linear-gradient(180deg, transparent 30%, rgba(7, 30, 66, 0.7) 100%);
}

.trip-deal-ella .trip-promo-copy {
  background:
    linear-gradient(115deg, rgba(46, 125, 50, 0.9) 0%, rgba(46, 125, 50, 0.25) 55%, transparent 100%),
    linear-gradient(180deg, transparent 30%, rgba(7, 30, 66, 0.7) 100%);
}

.trip-deal-tour .trip-promo-copy {
  background:
    linear-gradient(115deg, rgba(183, 28, 28, 0.88) 0%, rgba(183, 28, 28, 0.22) 55%, transparent 100%),
    linear-gradient(180deg, transparent 30%, rgba(7, 30, 66, 0.7) 100%);
}

.trip-promo-copy small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.trip-promo-copy strong {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.trip-promo-copy em {
  font-style: normal;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 6px;
}

.trip-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffd400;
  color: #1a2b49 !important;
  font-size: 12px;
  font-weight: 800;
}

.trip-offer-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.trip-offer-row::-webkit-scrollbar {
  display: none;
}

.trip-offer-chip {
  flex: 0 0 min(78vw, 260px);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7e6, #fff);
  border: 1px solid #ffe2a8;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 8px 18px rgba(15, 41, 77, 0.06);
}

.trip-offer-chip strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #1a2b49;
  line-height: 1.2;
}

.trip-offer-chip small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #66758b;
}

.trip-offer-badge {
  flex: 0 0 auto;
  min-width: 44px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  background: #ff6a00;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-offer-badge.trip-offer-blue {
  background: #287dfa;
}

.trip-offer-badge.trip-offer-green {
  background: #1f9d63;
}

.trip-lazy-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.trip-inspire-card {
  position: relative;
}

.trip-inspire-photo {
  position: absolute;
  inset: 0;
  min-height: 210px;
}

.trip-dest-card {
  position: relative;
}

.trip-dest-photo {
  width: 100%;
  height: 140px;
  border-radius: 12px 12px 0 0;
}

/* Stacked Trip field rows inside hotel search (mobile default) */
.trip-ota-shell .db-hotel-search .g-field-search .row {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
}

.trip-ota-shell .db-hotel-search .g-field-search .row > [class*="col-"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  border-right: 0 !important;
  border-bottom: 1px solid #e8ecf2 !important;
  padding: 12px 4px !important;
  position: relative;
}

.trip-ota-shell .db-hotel-search .g-field-search .row > [class*="col-"]:last-child {
  border-bottom: 0 !important;
}

/* Desktop Trip.com: horizontal destination | dates | guests */
@media (min-width: 992px) {
  .trip-ota-shell .db-hotel-search form.bc_form {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
  }

  .trip-ota-shell .db-hotel-search .g-field-search {
    margin: 0 !important;
  }

  .trip-ota-shell .db-hotel-search .g-field-search .row {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
  }

  .trip-ota-shell .db-hotel-search .g-field-search .row > [class*="col-"] {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    border-bottom: 0 !important;
    border-right: 1px solid #e8ecf2 !important;
    padding: 10px 14px !important;
  }

  .trip-ota-shell .db-hotel-search .g-field-search .row > [class*="col-"]:last-child {
    border-right: 0 !important;
  }

  .trip-ota-shell .db-hotel-search .g-button-submit {
    margin: 0 !important;
    display: flex !important;
    align-items: stretch !important;
  }

  .trip-ota-shell .db-hotel-search .btn-search,
  .bc_wrap .trip-ota-shell .btn.btn-primary.btn-search {
    width: auto !important;
    min-width: 140px !important;
    height: 100% !important;
    min-height: 56px !important;
    border-radius: 8px !important;
  }
}

/* Trip.com: nights pill sits INLINE after the date range — never overlays text */
.trip-ota-shell .db-hotel-search .form-date-search-hotel .check-in-wrapper,
.trip-ota-shell .db-hotel-search .form-date-search .check-in-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  width: 100%;
}

.trip-ota-shell .db-hotel-search .form-date-search-hotel .check-in-wrapper > label,
.trip-ota-shell .db-hotel-search .form-date-search .check-in-wrapper > label {
  flex: 0 0 100%;
  margin: 0 !important;
}

.trip-ota-shell .db-hotel-search .form-date-search-hotel .check-in-render,
.trip-ota-shell .db-hotel-search .form-date-search-hotel .check-out-render,
.trip-ota-shell .db-hotel-search .form-date-search .check-in-render,
.trip-ota-shell .db-hotel-search .form-date-search .check-out-render {
  display: inline !important;
  white-space: nowrap;
}

.trip-inspire-card,
.db-triad-card.trip-inspire-card {
  position: relative;
}

.trip-nights-pill {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 4px !important;
  transform: none !important;
  background: #eef1f5 !important;
  color: #1a2b49 !important;
  border-radius: 999px !important;
  padding: 2px 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  pointer-events: none;
  z-index: 2;
  flex: 0 0 auto;
  white-space: nowrap;
  vertical-align: middle;
}

.trip-ota-shell .db-hotel-search .g-field-search .row > [class*="col-"],
.trip-ota-shell .db-hotel-search .form-group,
.trip-ota-shell .db-hotel-search .form-content,
.trip-ota-shell .db-hotel-search .form-date-search-hotel,
.trip-ota-shell .db-hotel-search .date-wrapper {
  overflow: visible !important;
}

/* Prevent stray autocomplete/slider chrome from peeking into the date row */
.trip-ota-shell .db-hotel-search .g-field-search .row > [class*="col-"] {
  overflow: visible !important;
}
.trip-ota-shell .db-hotel-search .bc-autocomplete:not(.show):not(.open):empty,
.trip-ota-shell .db-hotel-search .bravo-autocomplete:empty {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}

/* Hide redundant CMS region grid — carousel replaces it */
.page-template-content .bc-list-locations.db-regions {
  display: none !important;
}

/* Featured section title Trip tone */
.page-template-content .bc-list-hotel .title,
.page-template-content .db-featured-stays .title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #121826 !important;
}

/* Wishlist heart Trip-like */
.db-prop-card .service-wishlist {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 41, 77, 0.18);
}

.db-prop-card .service-wishlist .fa-heart {
  color: #9aa6b2 !important;
}

.db-prop-card .service-wishlist.active .fa-heart,
.db-prop-card .service-wishlist.loading .fa-heart {
  color: #e5484d !important;
}

/* Header Sign in closer to Trip blue CTA; keep gold Register */
.bc_wrap .db-header .db-btn-signin {
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.bc_wrap .db-header .db-btn-register {
  background: var(--trip-cta) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
}

.bc_wrap .db-header .db-btn-register:hover {
  background: var(--trip-cta-deep) !important;
  color: #fff !important;
}

.db-drawer-register {
  background: var(--trip-cta) !important;
  color: #fff !important;
}

@media (min-width: 900px) {
  .trip-promo-card {
    flex-basis: 260px;
  }

  .trip-promo-strip {
    margin-top: -36px;
  }
}

/* —— Continue Trip.com polish v7.2 —— */
.trip-util-link a {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  padding: 6px 8px !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.trip-util-link a:hover {
  color: #fff !important;
}

.trip-util-link .fa {
  font-size: 14px;
}

.bc_wrap .bc_header.db-header.is-scrolled,
.bc_wrap .bc_header.trip-toolbar.is-scrolled {
  box-shadow: 0 6px 20px rgba(7, 30, 66, 0.35) !important;
}

.bc_wrap .bc_header.db-header.is-scrolled .trip-toolbar-inner,
.bc_wrap .bc_header.trip-toolbar.is-scrolled .trip-toolbar-inner {
  height: 50px;
  min-height: 50px;
}

.trip-featured-block {
  padding: 8px 0 28px;
}

.trip-featured-track {
  display: flex !important;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.trip-featured-slide {
  flex: 0 0 min(78vw, 260px);
  scroll-snap-align: start;
}

.trip-featured-slide .item-loop.item-hotel,
.trip-featured-slide .db-prop-card {
  height: 100%;
  margin: 0 !important;
}

.trip-featured-block .list-item.row,
.trip-featured-block .owl-carousel {
  display: none !important;
}

/* Hotel search page */
.trip-hotel-search .trip-hotel-banner {
  min-height: 220px !important;
  display: flex;
  align-items: flex-end;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

.trip-hotel-search .trip-hotel-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(7, 30, 66, 0.82), rgba(44, 97, 254, 0.45));
}

.trip-hotel-search .trip-hotel-banner .container {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
}

.trip-hotel-search .trip-hotel-banner h1 {
  color: #fff !important;
  font-weight: 800 !important;
  font-size: clamp(26px, 4vw, 36px) !important;
  margin: 0 0 8px !important;
}

.trip-hotel-banner-sub {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.trip-hotel-form {
  margin-top: -28px;
  position: relative;
  z-index: 3;
  padding-bottom: 18px;
}

.trip-hotel-form .trip-search-compact {
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px rgba(15, 41, 77, 0.18) !important;
}

.trip-hotel-form .trip-search-compact .btn-search,
.trip-hotel-form .trip-search-compact .g-button-submit .btn-primary {
  width: 100% !important;
  min-height: 48px !important;
  border-radius: 4px !important;
  background: var(--trip-cta) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border: 0 !important;
  text-transform: none !important;
}

.trip-hotel-results {
  padding-top: 8px;
  padding-bottom: 40px;
}

.trip-hotel-search .bc-filter-search-hotel,
.trip-hotel-search .bravo-filter-search-hotel,
.trip-hotel-search .filter-title,
.trip-hotel-search .bc_filter {
  border-radius: 12px !important;
  border: 1px solid #e8ecf2 !important;
  box-shadow: 0 8px 22px rgba(15, 41, 77, 0.06) !important;
  overflow: hidden;
}

.trip-hotel-search .item-loop.item-hotel.db-prop-card {
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(15, 41, 77, 0.1) !important;
  border: 0 !important;
  background: #fff;
  margin-bottom: 18px !important;
}

.trip-hotel-search .bc-list-item .topbar-search,
.trip-hotel-search .bc-list-item h2 {
  font-weight: 800 !important;
  color: #121826 !important;
}

.trip-backtop {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--trip-cta);
  box-shadow: 0 10px 24px rgba(15, 41, 77, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-backtop[hidden] {
  display: none !important;
}

.trip-backtop:hover {
  background: var(--trip-cta);
  color: #fff;
}

@media (max-width: 1023px) {
  .trip-util-link {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .trip-featured-slide {
    flex-basis: 240px;
  }

  .trip-hotel-form .trip-search-compact .g-field-search .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
  }

  .trip-hotel-form .trip-search-compact .g-field-search .row > [class*="col-"] {
    border-bottom: 0 !important;
    border-right: 1px solid #e8ecf2 !important;
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  .trip-hotel-form .trip-search-compact .g-field-search .row > [class*="col-"]:last-child {
    border-right: 0 !important;
  }

  .trip-hotel-form .trip-search-compact .g-button-submit {
    margin-top: 0;
    display: flex;
    align-items: center;
  }

  .trip-hotel-form .trip-search-compact form.bc_form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: stretch;
  }
}

/* —— Featured list cards (DirectBooking / Trip style) —— */
.trip-feat-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trip-feat-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr auto;
  gap: 16px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(15, 41, 77, 0.08);
  overflow: hidden;
  padding: 0;
}

.trip-feat-media {
  position: relative;
  display: block;
  min-height: 160px;
  background: #eef2f7;
}

.trip-feat-img,
.trip-feat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 160px;
}

.trip-feat-main {
  padding: 14px 4px 14px 0;
  min-width: 0;
}

.trip-feat-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.trip-feat-stars .fa-star {
  color: #f5c518;
  font-size: 12px;
}

.trip-feat-type {
  font-size: 12px;
  color: #6b7785;
  font-weight: 600;
}

.trip-feat-title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
}

.trip-feat-title a {
  color: #0b2c5f !important;
  text-decoration: none !important;
}

.trip-feat-loc {
  margin: 0 0 8px;
  font-size: 13px;
  color: #6b7785;
}

.trip-feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
}

.trip-feat-tags li {
  font-size: 11px;
  font-weight: 600;
  color: #445066;
  background: #f3f6fa;
  border-radius: 999px;
  padding: 4px 10px;
}

.trip-feat-cancel {
  margin: 0;
  font-size: 12px;
  color: #6b7785;
}

.trip-feat-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 14px 16px 14px 0;
  min-width: 140px;
}

.trip-feat-review {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.trip-feat-review-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.trip-feat-review-copy strong {
  font-size: 13px;
  color: #121826;
}

.trip-feat-review-copy span {
  font-size: 12px;
  color: #6b7785;
}

.trip-feat-score {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px 8px 8px 2px;
  background: #0b2c5f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-feat-score-new {
  background: #1faa59;
  font-size: 11px;
  text-transform: uppercase;
}

.trip-feat-price {
  text-align: right;
  margin-top: 18px;
}

.trip-feat-from,
.trip-feat-unit {
  display: block;
  font-size: 12px;
  color: #6b7785;
}

.trip-feat-price strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #0b2c5f;
  line-height: 1.15;
}

@media (max-width: 767px) {
  .trip-feat-card {
    grid-template-columns: 1fr;
  }
  .trip-feat-media {
    min-height: 180px;
  }
  .trip-feat-main {
    padding: 0 14px;
  }
  .trip-feat-side {
    flex-direction: row;
    align-items: flex-end;
    padding: 0 14px 14px;
    min-width: 0;
  }
}

/* —— Homepage map teaser —— */
.trip-map-teaser {
  padding: 8px 0 40px;
}

.trip-map-teaser-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.trip-map-teaser-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0b2c5f;
}

.trip-map-teaser-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--trip-cta) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.trip-map-teaser-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e8ecf2;
  box-shadow: 0 14px 36px rgba(15, 41, 77, 0.12);
  background: #eef2f7;
  height: min(420px, 58vw);
  min-height: 280px;
}

.trip-map-teaser-canvas {
  width: 100%;
  height: 100%;
}

.trip-map-teaser-unlock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 500;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b2c5f;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 18px;
  box-shadow: 0 12px 28px rgba(15, 41, 77, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.trip-map-teaser-frame.is-unlocked .trip-map-teaser-unlock {
  display: none !important;
}

.trip-price-pin {
  background: transparent !important;
  border: 0 !important;
}

.trip-price-pin-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #0b2c5f;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(11, 44, 95, 0.28);
  position: relative;
  white-space: nowrap;
}

.trip-price-pin-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0b2c5f;
}

.trip-cluster-pin {
  background: transparent !important;
  border: 0 !important;
}

.trip-cluster-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f97316;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.35);
  border: 3px solid #fff;
}

/* —— Hotel detail Trip layout —— */
.trip-hotel-detail .trip-detail-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 14px;
}

.trip-detail-hero-copy h1 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 800;
  color: #0b2c5f;
  line-height: 1.2;
}

.trip-detail-stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f5c518;
  font-size: 13px;
}

.trip-detail-stars span {
  margin-left: 6px;
  color: #6b7785;
  font-weight: 600;
}

.trip-detail-address {
  margin: 0;
  color: #5b6b7c;
  font-size: 14px;
}

.trip-detail-scorebox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 20px rgba(15, 41, 77, 0.06);
}

.trip-detail-scorebox strong {
  display: block;
  font-size: 14px;
  color: #121826;
}

.trip-detail-scorebox span {
  font-size: 12px;
  color: #6b7785;
}

.trip-detail-scorebox em {
  font-style: normal;
  min-width: 40px;
  height: 32px;
  border-radius: 8px 8px 8px 2px;
  background: #0b2c5f;
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.trip-detail-scorebox em.is-new {
  background: #1faa59;
  font-size: 11px;
  text-transform: uppercase;
}

.trip-detail-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 160px 160px;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
}

.trip-detail-mosaic-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef2f7;
}

.trip-detail-mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-detail-mosaic-0 {
  grid-row: 1 / span 2;
}

.trip-detail-mosaic-more {
  position: absolute;
  inset: auto 10px 10px auto;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 12px;
}

.trip-detail-content {
  padding-bottom: 48px;
}

.trip-detail-panel .g-header {
  display: none !important;
}

.trip-detail-panel .g-gallery {
  display: none !important;
}

.trip-detail-aside {
  position: sticky;
  top: 80px;
}

.trip-detail-bookcard {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 41, 77, 0.1);
  padding: 16px;
  margin-bottom: 16px;
}

.trip-detail-bookcard-price {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef2f7;
}

.trip-detail-bookcard-price span,
.trip-detail-bookcard-price em {
  display: block;
  font-size: 12px;
  color: #6b7785;
  font-style: normal;
}

.trip-detail-bookcard-price strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #0b2c5f;
  line-height: 1.15;
}

.trip-hotel-detail .btn-primary,
.trip-hotel-detail .btn.btn-primary {
  background: var(--trip-cta) !important;
  border-color: var(--trip-cta) !important;
}

@media (max-width: 991px) {
  .trip-detail-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 110px;
  }
  .trip-detail-mosaic-0 {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
  .trip-detail-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .trip-hotel-detail .trip-detail-hero {
    flex-direction: column;
  }
  .trip-map-teaser-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* —— Trip.com chrome refresh (desktop + mobile) —— */
:root {
  --trip-cta: #2c61fe;
  --trip-cta-deep: #1f4fe0;
  --trip-header-bg: #ffffff;
  --trip-header-ink: #1a2b49;
}

/* White Trip.com header */
.bc_wrap .bc_header.trip-toolbar,
.bc_wrap .bc_header.db-header,
.bc_wrap .bc_header {
  background: var(--trip-header-bg) !important;
  border-bottom: 1px solid #eef1f6 !important;
  box-shadow: 0 1px 0 rgba(15, 41, 77, 0.04) !important;
}

.bc_wrap .bc_header .trip-logo-text {
  color: var(--trip-cta) !important;
}

.bc_wrap .bc_header.db-header .bc-logo img {
  filter: none !important;
}

.bc_wrap .bc_header .trip-toolbar-actions a,
.bc_wrap .bc_header .trip-toolbar-actions .dropdown > a,
.bc_wrap .bc_header.db-header .trip-toolbar-actions a,
.bc_wrap .bc_header.db-header .trip-toolbar-actions .dropdown > a {
  color: #445066 !important;
}

.db-btn-signin {
  border: 1.5px solid #c9d3e0 !important;
  color: #1a2b49 !important;
  background: #fff !important;
}

.db-btn-signin:hover {
  background: #f5f7fb !important;
  color: #1a2b49 !important;
}

.db-btn-register {
  background: var(--trip-cta) !important;
  color: #fff !important;
}

.db-btn-register:hover {
  background: var(--trip-cta-deep) !important;
  color: #fff !important;
}

.trip-desktop-menu {
  display: inline-flex !important;
  color: #1a2b49 !important;
  margin-right: 4px;
}

.trip-header-search {
  display: none;
  flex: 1 1 auto;
  max-width: 420px;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  margin: 0 12px;
  border-radius: 999px;
  background: #f3f5f9;
  color: #6b7785 !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
}

.trip-header-search i {
  color: #6b7785;
}

/* Desktop hero = Trip blue band */
.trip-ota-hero.db-hero {
  background:
    linear-gradient(135deg, #1f4fe0 0%, #2c61fe 45%, #4d7dff 100%) !important;
  padding: 28px 0 56px !important;
  min-height: auto;
}

.trip-ota-hero .db-hero-title,
.trip-desktop-hero-title {
  color: #fff !important;
  text-shadow: none;
}

.trip-usp-row {
  color: rgba(255, 255, 255, 0.95);
}

.trip-trust-row {
  display: none;
  gap: 8px 14px;
  margin-top: 14px;
  color: #5b6b7c;
  font-size: 12px;
  font-weight: 600;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.trip-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

.trip-trust-row .fa {
  color: var(--trip-cta);
  width: 14px;
  text-align: center;
  flex: 0 0 auto;
}

/* —— Trip.com category tabs: desktop underline / mobile circles —— */
.trip-ota-shell .trip-svc-tabs {
  gap: 0;
  padding: 8px 12px 0;
  border-bottom: 1px solid #e8ecf2;
  background: #fff;
}

.trip-svc-tab {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 96px;
  padding: 14px 16px 12px !important;
  border: 0 !important;
  background: transparent !important;
  color: #445066 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  position: relative;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.trip-svc-tab:focus,
.trip-svc-tab:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

.trip-svc-label {
  display: block;
  line-height: 1.2;
  text-align: center;
  transition: color 0.18s ease;
}

.trip-svc-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #287dfa;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.trip-svc-tab:hover {
  color: #287dfa !important;
}

.trip-svc-tab:hover .trip-svc-icon {
  color: #287dfa;
  transform: translateY(-1px);
}

.trip-svc-tab.is-active {
  color: #287dfa !important;
}

.trip-svc-tab.is-active .trip-svc-icon {
  color: #287dfa;
}

/* Desktop active underline (Trip.com) */
.trip-svc-tab.is-active::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #287dfa;
  transform-origin: center bottom;
  animation: tripTabUnderline 0.22s ease;
}

@keyframes tripTabUnderline {
  from {
    transform: scaleX(0.35);
    opacity: 0.4;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.trip-ota-shell .trip-svc-tabs.trip-svc-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
}

.trip-svc-dots {
  display: none;
}

.trip-svc-link {
  cursor: pointer;
}

.trip-drawer-label {
  margin: 14px 0 6px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a94a6;
}

.trip-promo-head {
  margin-bottom: 10px;
}

.trip-promo-head .db-section-title {
  font-size: 20px !important;
}

.trip-deals-title-desktop {
  display: none;
}

.trip-deals-title-mobile {
  display: block;
}

@media (min-width: 992px) {
  .trip-deals-title-mobile {
    display: none !important;
  }

  .trip-deals-title-desktop {
    display: block !important;
  }
}

/* Mobile Trip.com surface */
@media (max-width: 991px) {
  .trip-desktop-menu {
    display: none !important;
  }

  .bc_wrap .bc_header.trip-toolbar,
  .bc_wrap .bc_header.db-header,
  .bc_wrap .bc_header {
    background: #fff !important;
  }

  .trip-header-search,
  .bc_wrap .bc_header .trip-header-search {
    display: inline-flex !important;
    max-width: none;
    margin: 0 8px;
  }

  .trip-mobile-chrome {
    display: inline-flex !important;
  }

  .trip-icon-btn {
    color: #1a2b49 !important;
  }

  .trip-desktop-hero-copy,
  .trip-desktop-hero-title,
  .trip-desktop-usp,
  .trip-usp-row {
    display: none !important;
  }

  .trip-ota-hero.db-hero {
    background: #fff !important;
    padding: 0 0 8px !important;
  }

  .trip-ota-shell.db-search-shell {
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
  }

  .trip-ota-shell .trip-svc-tabs,
  .trip-ota-shell .trip-svc-tabs.trip-svc-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 6px;
    padding: 16px 10px 6px !important;
    border-bottom: 0 !important;
    overflow: visible !important;
  }

  .trip-svc-tab {
    min-width: 0;
    padding: 4px 2px 2px !important;
    gap: 8px;
  }

  /* Mobile: circular Trip.com buttons */
  .trip-svc-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto;
    border-radius: 50%;
    background: #e8f1ff;
    color: #287dfa;
    font-size: 22px;
    box-shadow: none;
  }

  /* Primary row (first 4) — solid blue like Trip.com */
  .trip-svc-tab:nth-child(-n + 4) .trip-svc-icon {
    background: #287dfa;
    color: #fff;
  }

  .trip-svc-label {
    display: block;
    max-width: 76px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    color: #1a2b49;
    font-weight: 600;
  }

  .trip-svc-tab.is-active {
    color: #1a2b49 !important;
  }

  .trip-svc-tab.is-active .trip-svc-label {
    color: #287dfa;
  }

  .trip-svc-tab.is-active .trip-svc-icon {
    background: #287dfa;
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 6px 14px rgba(40, 125, 250, 0.28);
  }

  .trip-svc-tab:active .trip-svc-icon {
    transform: scale(0.9);
    box-shadow: none;
  }

  .trip-svc-tab.is-active::after {
    display: none;
  }

  .trip-svc-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 4px;
  }

  .trip-svc-dots span {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #d5dbe6;
  }

  .trip-svc-dots span.is-on {
    width: 14px;
    background: var(--trip-cta);
  }

  .trip-svc-panels {
    padding: 0 12px 14px;
  }

  .trip-search-incentive {
    text-align: left;
    margin: 10px 2px 0;
    padding: 0;
    font-size: 12.5px;
    line-height: 1.5;
  }

  .trip-promo-strip {
    background: #fff;
    margin-top: 0;
    padding: 8px 0 12px;
  }

  .trip-promo-strip > .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .trip-promo-head {
    padding: 4px 0 10px;
    margin: 0;
  }

  .trip-promo-head .db-section-title {
    margin: 0;
    padding: 0;
    font-size: 20px !important;
    line-height: 1.25;
    overflow: visible;
  }

  .trip-promo-track {
    gap: 12px;
    padding: 0 0 10px;
  }

  .trip-deal-banner,
  .trip-promo-card {
    flex: 0 0 min(88vw, 360px);
    min-height: 176px;
    border-radius: 16px;
  }

  .trip-deal-hero {
    flex-basis: min(92vw, 380px);
    min-height: 190px;
  }

  .trip-deal-hero .trip-promo-copy,
  .trip-deal-banner .trip-promo-copy {
    min-height: 176px;
    padding: 16px;
  }

  .trip-deal-hero .trip-promo-copy {
    min-height: 190px;
  }

  .trip-deal-hero .trip-promo-copy strong {
    font-size: 30px;
  }

  .trip-promo-cta {
    margin-top: 4px;
  }

  .trip-offer-row {
    padding: 0 0 10px;
  }

  .trip-trust-row {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 4px 0 8px;
    margin: 0;
    color: #66758b;
    font-size: 12px;
    font-weight: 600;
  }

  .trip-trust-row span {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
  }

  .trip-inspire-grid,
  .db-triad-grid.trip-inspire-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .trip-inspire-card,
  .db-triad-card.trip-inspire-card {
    border-radius: 14px;
    overflow: hidden;
    min-height: 210px;
  }

  .trip-inspire-media,
  .trip-inspire-photo {
    min-height: 210px;
  }

  .trip-inspire-body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(7,30,66,0.82));
  }

  .trip-inspire-body h3 {
    color: #fff !important;
    font-size: 15px !important;
  }

  .trip-inspire-body p,
  .trip-inspire-body .db-triad-cta {
    display: none;
  }

  .trip-dest-photo {
    height: 150px;
  }

  .trip-feat-card {
    grid-template-columns: 110px 1fr;
  }

  .trip-feat-side {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 12px 12px;
  }

  .trip-map-teaser-frame {
    height: 260px;
  }
}

@media (min-width: 992px) {
  /* —— Desktop Trip.com chrome —— */
  .bc_wrap .bc_header.trip-toolbar,
  .bc_wrap .bc_header.db-header {
    background: #fff !important;
    border-bottom: 1px solid #eef1f6;
    box-shadow: none !important;
  }

  .trip-header-search {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    flex: 1 1 auto;
    max-width: 420px;
    min-height: 40px;
    margin: 0 24px;
    padding: 0 8px 0 16px;
    border-radius: 999px;
    background: #f2f4f8 !important;
    color: #66758b !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
  }

  .trip-header-search .fa {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #287dfa;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
  }

  .trip-mobile-chrome {
    display: none !important;
  }

  .trip-desktop-utils .db-btn-signin {
    color: #1a2b49 !important;
    font-weight: 600;
    margin-right: 8px;
  }

  .trip-desktop-utils .db-btn-register {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px !important;
    border-radius: 8px !important;
    background: #287dfa !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
  }

  .trip-trust-row {
    display: none;
  }

  .trip-ota-hero.db-hero {
    padding: 36px 0 72px !important;
    background:
      linear-gradient(180deg, #1f5ef0 0%, #287dfa 55%, #3b8bff 100%) !important;
  }

  .trip-desktop-hero-title {
    font-size: 40px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    margin-bottom: 14px !important;
  }

  .trip-desktop-usp {
    display: flex !important;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 0 22px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .trip-desktop-usp li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 600;
  }

  .trip-ota-shell.db-search-shell {
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(7, 30, 66, 0.22) !important;
    padding: 0 0 14px !important;
    overflow: visible !important;
  }

  .trip-ota-shell .trip-svc-tabs,
  .trip-ota-shell .trip-svc-tabs.trip-svc-grid,
  .bc_wrap .trip-ota-shell .trip-svc-tabs.trip-svc-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    padding: 8px 20px 0 !important;
    border-bottom: 1px solid #e8ecf2 !important;
    background: #fff !important;
  }

  .bc_wrap .trip-ota-shell .trip-svc-tab,
  .trip-ota-shell .trip-svc-tab {
    flex: 0 0 auto;
    min-width: 108px;
    padding: 18px 16px 14px !important;
    gap: 8px !important;
    background: transparent !important;
  }

  /* Flat Trip.com icons — never circles on desktop */
  .bc_wrap .trip-ota-shell .trip-svc-icon,
  .bc_wrap .trip-ota-shell .trip-svc-tab:nth-child(-n + 4) .trip-svc-icon,
  .bc_wrap .trip-ota-shell .trip-svc-tab.is-active .trip-svc-icon,
  .trip-ota-shell .trip-svc-icon {
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    color: #287dfa !important;
    font-size: 26px !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .bc_wrap .trip-ota-shell .trip-svc-label,
  .trip-ota-shell .trip-svc-label {
    max-width: none;
    margin: 0;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #445066 !important;
    white-space: nowrap;
  }

  .bc_wrap .trip-ota-shell .trip-svc-tab.is-active .trip-svc-label,
  .trip-ota-shell .trip-svc-tab.is-active .trip-svc-label {
    color: #287dfa !important;
  }

  .bc_wrap .trip-ota-shell .trip-svc-tab.is-active::after,
  .trip-ota-shell .trip-svc-tab.is-active::after {
    display: block !important;
    left: 20%;
    right: 20%;
    height: 3px;
    background: #287dfa;
  }

  .trip-svc-dots {
    display: none !important;
  }

  .trip-ota-shell .trip-svc-panels {
    padding: 14px 18px 6px;
  }

  .trip-ota-shell .trip-search-incentive {
    text-align: right;
    margin: 8px 4px 0;
    font-size: 13px;
  }

  .trip-ota-shell .db-hotel-search .btn-search,
  .bc_wrap .trip-ota-shell .btn.btn-primary.btn-search {
    min-width: 132px !important;
    height: 56px !important;
    border-radius: 10px !important;
    background: #287dfa !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 800 !important;
  }

  .trip-ota-shell .db-hotel-search .btn-search:hover,
  .bc_wrap .trip-ota-shell .btn.btn-primary.btn-search:hover {
    background: #1f54e0 !important;
    color: #fff !important;
  }

  /* Coupon-first deals (Trip.com New user exclusive) */
  .trip-promo-strip {
    margin-top: -36px;
    padding: 0 0 36px;
    background: transparent;
  }

  .trip-promo-head .db-section-title {
    font-size: 24px !important;
  }

  .trip-promo-track {
    display: none !important;
  }

  .trip-offer-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow: visible;
    padding: 0;
  }

  .trip-offer-chip {
    flex: none;
    min-height: 92px;
    padding: 18px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff1f5 0%, #fff 60%);
    border: 1.5px dashed #ffb6c8;
    box-shadow: none;
  }

  .trip-offer-chip:nth-child(2) {
    background: linear-gradient(135deg, #eef5ff 0%, #fff 60%);
    border-color: #9ec5ff;
  }

  .trip-offer-chip:nth-child(3) {
    background: linear-gradient(135deg, #eefbf3 0%, #fff 60%);
    border-color: #8fd6b0;
  }

  .trip-offer-chip strong {
    font-size: 18px;
  }

  .trip-offer-badge {
    min-width: 52px;
    height: 34px;
    font-size: 12px;
  }

  .trip-inspire-photo {
    position: absolute;
    inset: 0;
  }
}
