/*
 * RC105AL service header ownership reset.
 * Scope: generated service headers only. No routing, widget, partner, Core, or homepage changes.
 */

body.tt-service-route-flights,
body.tt-tigatours-flight-page,
body.tt-tigatours-flight-page-en {
  --tt-svc-header-image: url("../img/service-header-flights-unsplash.jpg") !important;
  --tt-svc-header-position: center 48% !important;
}

body.tt-service-route-hotels {
  --tt-svc-header-image: url("../img/service-header-hotels-unsplash.jpg") !important;
  --tt-svc-header-position: center 52% !important;
}

body.tt-service-route-activities {
  --tt-svc-header-image: url("../img/service-header-activities-unsplash.jpg") !important;
  --tt-svc-header-position: center 50% !important;
}

body.tt-service-route-car-rental,
body.tt-car-marketing-page {
  --tt-svc-header-image: url("../img/service-header-car-rental-unsplash.jpg") !important;
  --tt-svc-header-position: center 52% !important;
}

body.tt-service-route-airport-transfer,
body.tt-transfer-marketing-page {
  --tt-svc-header-image: url("../img/service-header-airport-transfer-unsplash.jpg") !important;
  --tt-svc-header-position: center 52% !important;
}

body.tt-service-route-medical-tourism {
  --tt-svc-header-image: url("../img/service-header-medical-unsplash.jpg") !important;
  --tt-svc-header-position: center 52% !important;
}

body.tt-service-route-insurance,
body.tt-insurance-page {
  --tt-svc-header-image: url("../img/service-header-insurance-unsplash.jpg") !important;
  --tt-svc-header-position: center 56% !important;
}

body.tt-service-route-visa {
  --tt-svc-header-image: url("../img/service-header-visa-unsplash.jpg") !important;
  --tt-svc-header-position: center 48% !important;
}

body.tt-service-visual-page .tt-service-legacy-header-hidden,
body.tt-tigatours-flight-page > .tt-header:not(.tt-service-header-shell):not([data-tt-service-generated="1"]),
body.tt-tigatours-flight-page-en > .tt-header:not(.tt-service-header-shell):not([data-tt-service-generated="1"]),
body.tt-service-visual-page .tt-transfer-page-header:not([data-tt-service-generated="1"]),
body.tt-service-visual-page .tt-car-page-header:not([data-tt-service-generated="1"]),
body.tt-service-visual-page .tt-viator-site-header:not([data-tt-service-generated="1"]),
body.tt-service-visual-page .tt-flight-en-top:not([data-tt-service-generated="1"]),
body.tt-service-visual-page .tt-v066-service-nav:not([data-tt-service-generated="1"]) {
  display: none !important;
}

.tt-service-header-shell[data-tt-service-generated="1"]::before,
.tt-service-header-shell[data-tt-service-generated="1"]::after {
  content: none !important;
  display: none !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] {
  background: #ffffff !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .08) !important;
  box-sizing: border-box !important;
  color: #17324d !important;
  direction: ltr !important;
  display: block !important;
  margin: 0 !important;
  max-width: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 10px 0 14px !important;
  position: relative !important;
  width: 100% !important;
  z-index: 70 !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner {
  align-items: center !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid rgba(191, 219, 232, .72) !important;
  border-radius: 0 !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, .08) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  justify-content: space-between !important;
  margin: 0 auto !important;
  max-width: none !important;
  min-height: 74px !important;
  overflow: visible !important;
  padding: 10px 16px !important;
  width: min(1210px, calc(100vw - 24px)) !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo {
  align-items: center !important;
  background: rgba(255, 255, 255, .86) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08) !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  height: 48px !important;
  justify-content: center !important;
  min-width: 122px !important;
  overflow: hidden !important;
  padding: 7px 16px !important;
  text-decoration: none !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo img {
  display: block !important;
  height: 100% !important;
  max-height: 38px !important;
  max-width: 104px !important;
  object-fit: contain !important;
  width: auto !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo span {
  clip: rect(1px, 1px, 1px, 1px) !important;
  height: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-nav {
  align-items: center !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  justify-content: center !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-actions {
  align-items: center !important;
  display: flex !important;
  flex: 0 0 auto !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  justify-content: flex-end !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle {
  align-items: center !important;
  background: #eef9fd !important;
  border: 1px solid #c6e3ef !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05) !important;
  color: #18324c !important;
  cursor: pointer !important;
  display: inline-flex !important;
  font-family: Cairo, "Noto Sans Arabic", "Trebuchet MS", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  gap: 7px !important;
  justify-content: center !important;
  line-height: 1.2 !important;
  min-height: 42px !important;
  padding: 10px 15px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link:hover,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link.is-active,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control:hover,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary:hover,
.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more[open] > summary {
  background: #af202d !important;
  border-color: #af202d !important;
  color: #ffffff !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  position: relative !important;
  z-index: 10020 !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary {
  list-style: none !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary::-webkit-details-marker {
  display: none !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary::after {
  content: "⌄" !important;
  font-size: 15px !important;
  line-height: 1 !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more[open] > summary::after {
  transform: rotate(180deg) !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-nav-more-panel {
  background: rgba(255, 255, 255, .98) !important;
  border: 1px solid rgba(191, 219, 232, .82) !important;
  border-radius: 20px !important;
  box-shadow: 0 24px 54px rgba(15, 23, 42, .16) !important;
  display: none !important;
  inset-inline-end: 0 !important;
  min-width: 230px !important;
  padding: 10px !important;
  position: absolute !important;
  top: calc(100% + 10px) !important;
  z-index: 10030 !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more[open] .tt-nav-more-panel {
  display: grid !important;
  gap: 8px !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-nav-more-panel .tt-service-header-link {
  justify-content: flex-start !important;
  width: 100% !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama {
  background:
    linear-gradient(90deg, rgba(8, 13, 25, .08), rgba(8, 13, 25, 0) 46%, rgba(8, 13, 25, .08)),
    var(--tt-svc-header-image) var(--tt-svc-header-position, center center) / cover no-repeat !important;
  border: 1px solid rgba(255, 255, 255, .74) !important;
  border-radius: clamp(18px, 2.4vw, 30px) !important;
  box-shadow: 0 22px 54px rgba(15, 23, 42, .14) !important;
  box-sizing: border-box !important;
  direction: ltr !important;
  display: block !important;
  height: clamp(252px, 27vw, 348px) !important;
  margin: 14px auto 0 !important;
  max-width: 1180px !important;
  opacity: 1 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  transform: none !important;
  visibility: visible !important;
  width: min(1180px, calc(100vw - 36px)) !important;
}

body.tt-service-route-saudi-transport .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama {
  display: none !important;
}

body.tt-service-route-saudi-transport .tt-service-header-shell[data-tt-service-generated="1"] {
  padding-bottom: 10px !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"],
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"],
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"],
body.dark .tt-service-header-shell[data-tt-service-generated="1"],
body.dark-mode .tt-service-header-shell[data-tt-service-generated="1"] {
  background: #071827 !important;
  border-bottom-color: rgba(148, 163, 184, .18) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner,
body.dark .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner,
body.dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner {
  background: rgba(10, 28, 45, .94) !important;
  border-color: rgba(148, 163, 184, .20) !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .28) !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo,
body.dark .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo,
body.dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo {
  background: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22) !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle {
  background: rgba(27, 45, 63, .92) !important;
  border-color: rgba(148, 163, 184, .24) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link:hover,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link.is-active,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control:hover,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary:hover,
html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more[open] > summary,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link:hover,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link.is-active,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control:hover,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary:hover,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more[open] > summary,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link:hover,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link.is-active,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control:hover,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary:hover,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more[open] > summary {
  background: #af202d !important;
  border-color: #af202d !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-nav-more-panel,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-nav-more-panel,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-nav-more-panel {
  background: rgba(10, 28, 45, .98) !important;
  border-color: rgba(148, 163, 184, .24) !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .34) !important;
}

html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama,
html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama,
html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama,
body.dark .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama,
body.dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, .14), rgba(2, 6, 23, 0) 46%, rgba(2, 6, 23, .14)),
    var(--tt-svc-header-image) var(--tt-svc-header-position, center center) / cover no-repeat !important;
  border-color: rgba(255, 255, 255, .16) !important;
  box-shadow: 0 24px 58px rgba(0, 0, 0, .34) !important;
  display: block !important;
  filter: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

body.tt-service-route-saudi-transport html[data-theme="dark"] .tt-service-header-panorama,
html[data-theme="dark"] body.tt-service-route-saudi-transport .tt-service-header-panorama,
html[data-tt-theme="dark"] body.tt-service-route-saudi-transport .tt-service-header-panorama,
html.tt-dark-mode body.tt-service-route-saudi-transport .tt-service-header-panorama {
  display: none !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle {
  align-items: center !important;
  flex-direction: column !important;
  gap: 4px !important;
  justify-content: center !important;
  min-width: 46px !important;
  overflow: visible !important;
}

.tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle span {
  background: currentColor !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  content: "" !important;
  display: block !important;
  flex: 0 0 auto !important;
  height: 2px !important;
  margin: 0 !important;
  min-height: 2px !important;
  opacity: 1 !important;
  padding: 0 !important;
  transform: none !important;
  visibility: visible !important;
  width: 18px !important;
}

body.tt-service-visual-page .tt-flight-hero,
body.tt-tigatours-flight-page .tt-flight-hero,
body.tt-tigatours-flight-page-en .tt-flight-hero,
body.tt-service-visual-page .tt-flight-en-hero {
  background-image: none !important;
  margin-top: 0 !important;
  padding-top: clamp(20px, 3vw, 34px) !important;
}

@media (max-width: 1180px) {
  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-link,
  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control,
  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-more > summary {
    font-size: 12.5px !important;
    padding-inline: 12px !important;
  }
}

@media (max-width: 980px) {
  .tt-service-header-shell[data-tt-service-generated="1"] {
    padding: 8px 0 10px !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-inner {
    border-radius: 0 !important;
    min-height: 66px !important;
    padding: 8px 12px !important;
    width: 100% !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo {
    height: 46px !important;
    min-width: 116px !important;
    padding-inline: 12px !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-nav {
    display: none !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-menu-toggle {
    display: inline-flex !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama {
    border-radius: 22px !important;
    height: clamp(174px, 43vw, 238px) !important;
    margin-top: 10px !important;
    width: calc(100vw - 20px) !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer {
    background: rgba(255, 255, 255, .98) !important;
    border: 1px solid rgba(191, 219, 232, .82) !important;
    border-radius: 22px !important;
    box-shadow: 0 24px 54px rgba(15, 23, 42, .18) !important;
    display: none !important;
    gap: 8px !important;
    inset-inline: 12px !important;
    padding: 12px !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    z-index: 10040 !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"].is-menu-open .tt-service-header-drawer {
    display: grid !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer-link {
    background: #eef9fd !important;
    border: 1px solid #c6e3ef !important;
    border-radius: 16px !important;
    color: #18324c !important;
    display: flex !important;
    font-family: Cairo, "Noto Sans Arabic", "Trebuchet MS", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    justify-content: center !important;
    padding: 12px 14px !important;
    text-decoration: none !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer-link.is-active {
    background: #af202d !important;
    border-color: #af202d !important;
    color: #ffffff !important;
  }

  html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer,
  html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer,
  html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer {
    background: rgba(10, 28, 45, .98) !important;
    border-color: rgba(148, 163, 184, .24) !important;
  }

  html[data-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer-link,
  html[data-tt-theme="dark"] .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer-link,
  html.tt-dark-mode .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-drawer-link {
    background: rgba(27, 45, 63, .92) !important;
    border-color: rgba(148, 163, 184, .24) !important;
    color: #f8fafc !important;
  }
}

@media (max-width: 520px) {
  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-logo {
    min-width: 102px !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-control {
    font-size: 12px !important;
    min-height: 40px !important;
    min-width: 42px !important;
    padding: 9px 12px !important;
  }

  .tt-service-header-shell[data-tt-service-generated="1"] .tt-service-header-panorama {
    height: clamp(156px, 45vw, 210px) !important;
  }
}
