/* ==========================================================
   Werdana Travel and Tours — Modern Luxury Oceanic Design
   Стили оформления для темы Traveltour от GoodLayers
   Вдохновлено новой визуальной концепцией и дизайн-системой макета
   ========================================================== */

:root {
  /* Фирменная палитра из макета */
  --w-primary:        #006194;  /* океанический синий (основной акцент) */
  --w-primary-hover:  #004b73;  /* глубокий синий hover */
  --w-ocean-deep:     #0369A1;  /* глубокая морская лагуна (топ-бар, акценты) */
  --w-lagoon:         #0D9488;  /* бирюза / морская волна (метки, бейджи, рейтинг) */
  --w-gold:           #F59E0B;  /* солнечный золотой (звёзды, CTA Telegram) */
  --w-gold-dark:      #D97706;  /* hover золотого */
  --w-coral:          #FF7A59;  /* коралловый акцент для цен */
  
  /* Фоновые и текстовые цвета */
  --w-surface:        #F8F9FF;  /* жемчужно-светлый фон страниц */
  --w-canvas:         #FFFFFF;  /* белоснежный фон карточек */
  --w-ink:            #0B1C30;  /* глубокий контрастный темно-синий для заголовков */
  --w-body:           #334155;  /* основной цвет текста */
  --w-muted:          #64748B;  /* вторичный текст / подписи */
  --w-border:         #E2E8F0;  /* тонкие современные границы */
  
  /* Скругления и тени */
  --w-radius:         16px;
  --w-radius-sm:      10px;
  --w-radius-pill:    9999px;
  --w-shadow:         0 4px 20px -2px rgba(0, 97, 148, 0.08), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --w-shadow-hover:   0 16px 36px -4px rgba(0, 97, 148, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- 1. Базовые стили и шрифты ---------- */
body,
.traveltour-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { 
  color: var(--w-primary); 
  transition: color 0.2s ease;
}
a:hover { 
  color: var(--w-lagoon); 
}

/* ---------- Заголовки страниц и баннеров (Page Title & Captions) — чистый белый цвет ---------- */
.traveltour-page-title-wrap .traveltour-page-title,
.traveltour-page-title-wrap h1,
.traveltour-page-title-wrap h1.traveltour-page-title,
.traveltour-page-title-wrap .traveltour-page-caption,
.traveltour-page-title-wrap h3,
.traveltour-page-title-wrap h3.traveltour-page-caption,
.traveltour-page-title-wrap .traveltour-page-caption div,
.traveltour-page-title-wrap .traveltour-page-caption p,
.traveltour-page-title-wrap .traveltour-breadcrumbs,
.traveltour-page-title-wrap .traveltour-breadcrumbs a,
.traveltour-page-title-wrap .traveltour-breadcrumbs span,
.traveltour-page-title-wrap .traveltour-breadcrumbs i,
.traveltour-page-title-wrap .woocommerce-breadcrumb,
.traveltour-page-title-wrap .woocommerce-breadcrumb a,
.traveltour-page-title-wrap .woocommerce-breadcrumb span,
.traveltour-blog-title-wrap .traveltour-single-article-title,
.traveltour-blog-title-wrap h1,
.traveltour-blog-title-wrap h1.traveltour-single-article-title,
.traveltour-blog-title-wrap .traveltour-blog-info-wrapper,
.traveltour-blog-title-wrap .traveltour-blog-info-wrapper a,
.traveltour-blog-title-wrap .traveltour-blog-info-wrapper span,
.traveltour-blog-title-wrap .traveltour-single-article-date-wrapper,
.tourmaster-single-header-title-wrap .tourmaster-single-header-title,
.tourmaster-single-header-title-wrap h1,
.tourmaster-single-header-title-wrap .tourmaster-tour-rating-text {
  color: #FFFFFF !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

.traveltour-page-title-wrap .traveltour-breadcrumbs a:hover,
.traveltour-page-title-wrap .woocommerce-breadcrumb a:hover,
.traveltour-blog-title-wrap .traveltour-blog-info-wrapper a:hover {
  color: #38BDF8 !important;
  text-decoration: underline !important;
}

a { 
  color: var(--w-primary); 
  transition: color 0.2s ease;
}
a:hover { 
  color: var(--w-lagoon); 
}

/* ---------- 2. Верхняя информационная панель (Top Bar) ---------- */
.traveltour-top-bar { 
  background: var(--w-ocean-deep) !important; 
  background-color: var(--w-ocean-deep) !important;
  color: #E0F2FE !important; 
  font-size: 13px !important;
  line-height: 22px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 8px 0 !important;
  position: relative !important;
  z-index: 100005 !important; /* Гарантированно выше основной шапки, чтобы выпадающее меню не пряталось под неё */
}
.traveltour-top-bar:hover,
.traveltour-top-bar:focus-within {
  z-index: 100010 !important;
}
.traveltour-top-bar-background { 
  background-color: var(--w-ocean-deep) !important; 
  opacity: 1 !important;
}
.traveltour-header-background-transparent .traveltour-top-bar {
  background: var(--w-ocean-deep) !important;
  background-color: var(--w-ocean-deep) !important;
  position: relative !important;
  z-index: 100005 !important;
}
.traveltour-header-background-transparent .traveltour-top-bar-background {
  opacity: 1 !important;
  background-color: var(--w-ocean-deep) !important;
}
.traveltour-top-bar-container,
.traveltour-top-bar-container.traveltour-container {
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  position: relative !important;
}
.traveltour-top-bar-left-text,
.traveltour-top-bar-left {
  color: #E0F2FE !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.traveltour-top-bar-left-text span,
.traveltour-top-bar-left-text strong {
  color: #FFFFFF !important;
}
.traveltour-top-bar a { 
  color: #E0F2FE !important; 
  transition: color 0.2s ease;
}
.traveltour-top-bar a:hover { 
  color: #FFFFFF !important; 
}
.traveltour-top-bar i,
.traveltour-top-bar .fa {
  color: #38BDF8 !important;
}

/* Tourmaster пользовательское меню в верхнем баре */
.traveltour-top-bar .tourmaster-user-top-bar {
  position: relative !important;
  z-index: 100020 !important;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
}
.traveltour-top-bar .tourmaster-user-top-bar.tourmaster-user > img {
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  vertical-align: middle !important;
}
.traveltour-top-bar .tourmaster-user-top-bar .tourmaster-user-top-bar-name {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  margin-left: 8px !important;
}
.traveltour-top-bar .tourmaster-user-top-bar i.fa-sort-down {
  color: #38BDF8 !important;
  margin-left: 6px !important;
  vertical-align: middle !important;
  font-size: 13px !important;
  margin-top: -3px !important;
}

/* Внешняя невидимая обертка выпадающего списка: БЕЗ ФОНА И БЕЗ РАМОК, чтобы не висела пустая белая плашка */
body .tourmaster-user-top-bar-nav,
.traveltour-top-bar .tourmaster-user-top-bar-nav {
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  width: auto !important;
  min-width: 210px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px 0 0 0 !important;
  margin: 0 !important;
  z-index: 100030 !important;
  pointer-events: none !important;
}
.traveltour-top-bar .tourmaster-user-top-bar:hover .tourmaster-user-top-bar-nav,
.traveltour-top-bar .tourmaster-user-top-bar:focus-within .tourmaster-user-top-bar-nav,
.traveltour-top-bar .tourmaster-user-top-bar.tourmaster-active .tourmaster-user-top-bar-nav {
  pointer-events: auto !important;
}

/* Внутренняя карточка выпадающего меню: скрыта по умолчанию, открывается при наведении или клике */
.traveltour-top-bar .tourmaster-user-top-bar-nav-inner {
  display: none;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(11, 28, 48, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--w-border) !important;
  overflow: hidden !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 100035 !important;
}
.traveltour-top-bar .tourmaster-user-top-bar:hover .tourmaster-user-top-bar-nav-inner,
.traveltour-top-bar .tourmaster-user-top-bar:focus-within .tourmaster-user-top-bar-nav-inner,
.traveltour-top-bar .tourmaster-user-top-bar.tourmaster-active .tourmaster-user-top-bar-nav-inner {
  display: block !important;
}

/* Пункты выпадающего меню пользователя */
.traveltour-top-bar .tourmaster-user-top-bar-nav-item {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  text-align: left !important;
}
.traveltour-top-bar .tourmaster-user-top-bar-nav-item a {
  display: flex !important;
  align-items: center !important;
  color: var(--w-ocean-deep) !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 10px 20px !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease !important;
}
.traveltour-top-bar .tourmaster-user-top-bar-nav-item a:hover {
  background: rgba(0, 97, 148, 0.08) !important;
  color: var(--w-primary) !important;
  padding-left: 24px !important;
}

/* Кнопка выхода (Sign Out) */
.traveltour-top-bar .tourmaster-user-top-bar-nav-item.tourmaster-nav-sign-out {
  border-top: 1px solid #F1F5F9 !important;
  margin-top: 4px !important;
  padding-top: 4px !important;
}
.traveltour-top-bar .tourmaster-user-top-bar-nav-item.tourmaster-nav-sign-out a {
  color: #DC2626 !important;
}
.traveltour-top-bar .tourmaster-user-top-bar-nav-item.tourmaster-nav-sign-out a:hover {
  background: #FEF2F2 !important;
  color: #B91C1C !important;
}

/* Верхний бар на мобильных устройствах: курс валют и пользовательское меню */
.traveltour-mobile-header-wrap .traveltour-top-bar {
  display: block !important;
  background: var(--w-ocean-deep) !important;
  background-color: var(--w-ocean-deep) !important;
  padding: 6px 0 !important;
}
.traveltour-mobile-header-wrap .traveltour-top-bar-background {
  opacity: 1 !important;
  background-color: var(--w-ocean-deep) !important;
}
.traveltour-mobile-header-wrap .traveltour-top-bar-left,
.traveltour-mobile-header-wrap .traveltour-top-bar-left.travel-tour-hide-on-mobile,
.traveltour-mobile-header-wrap .traveltour-top-bar-left-text {
  display: block !important;
  color: #E0F2FE !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  margin-bottom: 4px !important;
}
.traveltour-mobile-header-wrap .traveltour-top-bar-right,
.traveltour-mobile-header-wrap .traveltour-top-bar-right.travel-tour-hide-on-mobile {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Переключатель валют в верхнем баре (белый шрифт для заголовка, черный на белом для выпадающего списка) */
.traveltour-top-bar .tourmaster-currency-switcher,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  line-height: normal !important;
  vertical-align: middle !important;
  float: none !important;
}

.traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head,
.traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head > span,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head > span {
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head > i,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head > i,
.traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head i.fa-sort-down,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher .tourmaster-head i.fa-sort-down {
  color: #FFFFFF !important;
  margin-left: 5px !important;
  font-size: 13px !important;
  vertical-align: middle !important;
  margin-top: -3px !important;
}

/* Выпадающий список валют: черный текст на белом фоне */
.traveltour-top-bar .tourmaster-currency-switcher-inner,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher-inner {
  position: absolute !important;
  right: 0 !important;
  top: 100% !important;
  padding-top: 8px !important;
  z-index: 100040 !important;
  min-width: 90px !important;
}

.traveltour-top-bar .tourmaster-currency-switcher:hover .tourmaster-currency-switcher-inner,
.traveltour-top-bar .tourmaster-currency-switcher.tourmaster-active .tourmaster-currency-switcher-inner,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher:hover .tourmaster-currency-switcher-inner,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher.tourmaster-active .tourmaster-currency-switcher-inner {
  display: block !important;
}

.traveltour-top-bar .tourmaster-currency-switcher-content,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher-content {
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 30px rgba(11, 28, 48, 0.22), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(11, 28, 48, 0.08) !important;
  padding: 6px 0 !important;
  overflow: hidden !important;
}

.traveltour-top-bar .tourmaster-currency-switcher-content ul,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher-content ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.traveltour-top-bar .tourmaster-currency-switcher-content ul li,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher-content ul li {
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  text-align: left !important;
}

.traveltour-top-bar .tourmaster-currency-switcher-content ul li a,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher-content ul li a {
  display: block !important;
  color: #0B1C30 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
  transition: all 0.2s ease !important;
}

.traveltour-top-bar .tourmaster-currency-switcher-content ul li a:hover,
.traveltour-mobile-header-wrap .traveltour-top-bar .tourmaster-currency-switcher-content ul li a:hover {
  background: rgba(0, 97, 148, 0.08) !important;
  color: var(--w-primary) !important;
  padding-left: 19px !important;
}

/* Прозрачная обертка шапки: прижата вплотную к верхнему краю */
.traveltour-header-background-transparent {
  top: 0 !important;
}

/* ---------- 3. Шапка и навигация (Header & Upper Menu) ---------- */
.traveltour-header-wrap {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--w-border) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04) !important;
}
/* Только декоративный внутренний div десктопной шапки! Мобильную шапку .traveltour-mobile-header НЕ трогаем! */
.traveltour-header-wrap > .traveltour-header-background,
.traveltour-header-style-plain > .traveltour-header-background {
  background: transparent !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* Мобильная шапка: кликабельная с эффектом матового стекла */
.traveltour-mobile-header {
  pointer-events: auto !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid var(--w-border) !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04) !important;
  position: relative !important;
  z-index: 99999 !important;
}

.traveltour-mobile-header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  gap: 12px !important;
}

.traveltour-mobile-header .traveltour-logo {
  max-width: calc(100% - 90px) !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  position: relative !important;
  z-index: 20 !important;
  pointer-events: auto !important;
  padding: 0 !important;
}

.traveltour-mobile-menu-right {
  position: relative !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  margin: 0 0 0 auto !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.traveltour-mobile-menu {
  float: none !important;
  margin: 0 !important;
  position: relative !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  flex-shrink: 0 !important;
}

.traveltour-mobile-menu-button,
.traveltour-mm-menu-button,
.traveltour-mobile-button-hamburger,
.traveltour-mobile-button-hamburger-with-border {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  position: relative !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  border-radius: 8px !important;
  -webkit-tap-highlight-color: rgba(0, 97, 148, 0.2) !important;
  text-decoration: none !important;
  outline: none !important;
}

.traveltour-mobile-button-hamburger-with-border {
  border: 1.5px solid #0B1C30 !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

/* Линии бургера (три полоски): ОКЕАНСКИЙ ТЕМНО-СИНИЙ #0B1C30, чтобы их было ОТЧЕТЛИВО видно на белой шапке! */
.traveltour-mobile-button-hamburger:before,
.traveltour-mobile-button-hamburger:after,
.traveltour-mobile-button-hamburger span {
  content: '' !important;
  display: block !important;
  width: 24px !important;
  height: 2.5px !important;
  border-radius: 2px !important;
  background: #0B1C30 !important;
  background-color: #0B1C30 !important;
  position: absolute !important;
  left: 10px !important;
  transition: all 0.25s ease !important;
  pointer-events: none !important;
}
.traveltour-mobile-button-hamburger:before {
  top: 13px !important;
}
.traveltour-mobile-button-hamburger span {
  top: 21px !important;
}
.traveltour-mobile-button-hamburger:after {
  top: 29px !important;
}

.traveltour-mobile-menu-button i,
.traveltour-mm-menu-button i,
.traveltour-mobile-button-hamburger-with-border i {
  color: #0B1C30 !important;
  font-size: 22px !important;
  cursor: pointer !important;
  pointer-events: none !important;
  line-height: 1 !important;
}

/* Выдвижное меню mmenu на мобильных: наивысший z-index и люксовые цвета */
.mm-menu,
.mm-menu.mm-offcanvas {
  z-index: 99999999 !important;
  background: #ffffff !important;
}
.mm-menu .mm-navbar {
  background: #ffffff !important;
  border-bottom: 1px solid var(--w-border) !important;
}
.mm-menu .mm-navbar .mm-title {
  color: var(--w-ink) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
}
.mm-menu .mm-listview > li > a {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--w-ink) !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
.mm-menu .mm-listview > li > a:hover {
  color: var(--w-primary) !important;
  background: rgba(0, 97, 148, 0.05) !important;
}
#mm-blocker {
  z-index: 99999998 !important;
  background: rgba(11, 28, 48, 0.5) !important;
}

/* Приоритет Z-INDEX: шапка (99990) ВСЕГДА НИЖЕ верхнего бара (100005), но ПОВЕРХ слайдера */
.traveltour-header-wrap:not(.traveltour-fixed-navigation),
.traveltour-header-style-plain:not(.traveltour-fixed-navigation),
.traveltour-sticky-navigation:not(.traveltour-fixed-navigation) {
  position: relative;
  z-index: 99990 !important;
  overflow: visible !important;
}
.traveltour-header-container,
.traveltour-header-container-inner,
.traveltour-navigation,
.traveltour-logo {
  position: relative;
  z-index: 99995 !important;
  overflow: visible !important;
}

/* ---------- ЛИПКАЯ ШАПКА ПРИ ПРОКРУТКЕ (FIXED NAVIGATION) ---------- */
.traveltour-fixed-navigation,
.traveltour-fixed-navigation.traveltour-style-fixed,
.traveltour-fixed-navigation.traveltour-style-slide,
header.traveltour-header-wrap.traveltour-fixed-navigation {
  position: fixed !important;
  top: 0 !important;
  margin-top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999999 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  border-bottom: 1px solid var(--w-border) !important;
}

/* Для авторизованных пользователей (админ-панель WordPress): ровно 32px отступ без двойного margin-top */
body.admin-bar .traveltour-fixed-navigation,
body.admin-bar .traveltour-fixed-navigation.traveltour-style-fixed,
body.admin-bar .traveltour-fixed-navigation.traveltour-style-slide,
body.admin-bar header.traveltour-header-wrap.traveltour-fixed-navigation {
  top: 32px !important;
  margin-top: 0 !important; /* Убираем дублирующий margin-top темы, устраняя зазор! */
}
@media screen and (max-width: 782px) {
  body.admin-bar .traveltour-fixed-navigation,
  body.admin-bar .traveltour-fixed-navigation.traveltour-style-fixed,
  body.admin-bar .traveltour-fixed-navigation.traveltour-style-slide,
  body.admin-bar header.traveltour-header-wrap.traveltour-fixed-navigation {
    top: 46px !important;
    margin-top: 0 !important;
  }
}
@media screen and (max-width: 600px) {
  body.admin-bar .traveltour-fixed-navigation,
  body.admin-bar .traveltour-fixed-navigation.traveltour-style-fixed,
  body.admin-bar .traveltour-fixed-navigation.traveltour-style-slide,
  body.admin-bar header.traveltour-header-wrap.traveltour-fixed-navigation {
    top: 0 !important;
    margin-top: 0 !important;
  }
}

.traveltour-fixed-navigation .traveltour-header-container-inner {
  min-height: 62px !important;
}
.traveltour-fixed-navigation .traveltour-logo {
  padding: 6px 0 !important;
}
.traveltour-fixed-navigation .traveltour-logo-inner img {
  max-height: 40px !important;
  width: auto !important;
}
.traveltour-fixed-navigation .traveltour-navigation {
  padding: 0 !important;
}
.traveltour-fixed-navigation .traveltour-navigation .sf-menu > li > a {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

/* Слайдер Revolution Slider гарантированно уходит ПОД выпадающее меню */
.traveltour-page-wrapper .rev_slider_wrapper,
.traveltour-page-wrapper .rs-module-wrap,
.traveltour-page-wrapper #rev_slider_1_1_wrapper,
.rev_slider_wrapper,
.rs-module-wrap,
.gdlr-core-pbf-wrapper:first-child {
  position: relative !important;
  z-index: 1 !important;
}

/* Расширяем контейнер шапки, чтобы все 8 пунктов меню и кнопки дышали */
.traveltour-header-container,
.traveltour-header-container.traveltour-container,
.traveltour-header-custom-container {
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Flex-раскладка всей строки шапки */
.traveltour-header-container-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  position: relative !important;
  min-height: 72px;
}

/* Логотип: гарантированно кликабельный на самом высоком уровне */
.traveltour-logo {
  flex-shrink: 0 !important;
  margin: 0 24px 0 0 !important;
  padding: 8px 0 !important;
  display: flex !important;
  align-items: center !important;
  float: none !important;
  position: relative !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}
.traveltour-logo-inner {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  z-index: 999999 !important;
}
.traveltour-logo a,
.traveltour-logo-inner a {
  align-items: center !important;
  position: relative !important;
  z-index: 999999 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  text-decoration: none !important;
}

/* Обычное состояние: показываем только оригинальный логотип, фиксированный скрыт */
.traveltour-logo a {
  display: inline-flex !important;
}
.traveltour-logo .traveltour-fixed-nav-logo {
  display: none !important;
}

/* При прокрутке (липкая шапка fixed-navigation): если загружен отдельный логотип для липкой шапки, показываем его */
.traveltour-fixed-navigation .traveltour-logo .traveltour-fixed-nav-logo {
  display: inline-flex !important;
}
.traveltour-fixed-navigation .traveltour-logo .traveltour-fixed-nav-logo ~ .traveltour-orig-logo {
  display: none !important;
}

.traveltour-logo-inner img {
  display: block !important;
  max-height: 48px !important;
  width: auto !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Обертка навигации */
.traveltour-navigation {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Основное меню (sf-menu) */
.traveltour-main-menu {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  position: relative !important;
  overflow: visible !important;
}
.traveltour-navigation .sf-menu {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  position: relative !important;
  overflow: visible !important;
}

/* Пункт верхнего меню первого уровня — ЯКОРЬ ДЛЯ ВЫПАДАЮЩЕГО СПИСКА */
.traveltour-navigation .sf-menu > li {
  position: relative !important; /* Якорь для абсолютного sub-menu */
  display: inline-flex !important;
  align-items: center !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 2px !important;
  height: 100% !important;
}

/* Ссылки верхнего меню */
.traveltour-navigation .sf-menu > li > a { 
  display: inline-flex !important;
  align-items: center !important;
  color: var(--w-ink) !important; 
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important; 
  font-size: 13.5px !important;
  padding: 12px 10px !important;
  border-radius: 6px !important;
  background: transparent !important;
  position: relative !important;
  white-space: nowrap !important;
  letter-spacing: -0.01em !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  line-height: normal !important;
}
.traveltour-navigation .sf-menu > li:hover > a {
  color: var(--w-primary) !important;
  background: rgba(0, 97, 148, 0.05) !important;
}

/* Стрелочки подразделов */
.traveltour-navigation .sf-menu > li > a .sf-sub-indicator,
.traveltour-navigation .sf-menu > li > a i.fa-angle-down {
  margin-left: 4px !important;
  font-size: 10px !important;
  opacity: 0.65;
}

/* Активный пункт меню («Главная») */
.traveltour-navigation .sf-menu > li.current-menu-item > a,
.traveltour-navigation .sf-menu > li.current-menu-ancestor > a { 
  color: var(--w-primary) !important; 
  background: transparent !important;
  font-weight: 700 !important;
}
.traveltour-navigation .sf-menu > li.current-menu-item > a::after,
.traveltour-navigation .sf-menu > li.current-menu-ancestor > a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0px !important;
  left: 8px !important;
  right: 8px !important;
  height: 2.5px !important;
  background: var(--w-primary) !important;
  border-radius: 9999px !important;
}

/* Отключаем устаревший индикатор-слайдер темы, чтобы не двоилось */
.traveltour-navigation .traveltour-navigation-slide-bar {
  display: none !important;
}

/* ---------- 3.1. ВЫПАДАЮЩИЕ СПИСКИ (SUBMENU) — ВЫПАДАЮТ СТРОГО ВНИЗ НА СЛАЙДЕР ---------- */
.traveltour-navigation .sf-menu > li > ul,
.traveltour-navigation .sf-menu > li > ul.sub-menu,
.traveltour-navigation .sf-menu > .traveltour-normal-menu > ul,
.traveltour-navigation .sf-menu ul.sub-menu {
  position: absolute !important;
  top: 100% !important;         /* СТРОГО ВНИЗ ПОД МЕНЮ */
  bottom: auto !important;      /* ЗАПРЕЩАЕМ ВЫПАДЕНИЕ ВВЕРХ! */
  left: 0 !important;
  right: auto !important;
  margin-top: 2px !important;
  margin-left: 0 !important;
  z-index: 999999 !important;   /* ВЫШЕ СЛАЙДЕРА */
  background: #ffffff !important;
  border-radius: 12px !important;
  border: 1px solid var(--w-border) !important;
  box-shadow: 0 16px 40px rgba(0, 97, 148, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  padding: 8px !important;
  min-width: 230px !important;
  overflow: visible !important;
}

/* Гарантированное отображение при наведении */
.traveltour-navigation .sf-menu > li:hover > ul,
.traveltour-navigation .sf-menu > li.sfHover > ul {
  display: block !important;
  top: 100% !important;
  bottom: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Ссылки внутри выпадающего списка */
.traveltour-navigation .sf-menu ul li {
  display: block !important;
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}
.traveltour-navigation .sf-menu ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-radius: 6px !important;
  color: var(--w-ink) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding: 9px 14px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
  background: transparent !important;
}
.traveltour-navigation .sf-menu ul li:hover > a {
  background: rgba(0, 97, 148, 0.06) !important;
  color: var(--w-primary) !important;
  font-weight: 600 !important;
}

/* Второй уровень подменю (если есть вложенные пункты) */
.traveltour-navigation .sf-menu ul ul {
  top: 0 !important;
  bottom: auto !important;
  left: 100% !important;
  right: auto !important;
  margin-top: -8px !important;
  margin-left: 4px !important;
  z-index: 9999999 !important;
}
.traveltour-navigation .sf-menu ul li:hover > ul {
  display: block !important;
}

/* ПРАВАЯ ЗОНА ШАПКИ (Telegram + валюта) — РЕШЕНИЕ ПРОБЛЕМЫ НАЛЕЗАНИЯ */
/* Принудительно отменяем position: absolute, из-за которого кнопка наезжала на меню! */
.traveltour-header-wrap .traveltour-main-menu-right-wrap,
.traveltour-header-style-plain .traveltour-main-menu-right-wrap,
.traveltour-header-style-plain.traveltour-style-menu-right .traveltour-main-menu-right-wrap,
.traveltour-header-style-plain.traveltour-style-center-menu .traveltour-main-menu-right-wrap,
.traveltour-header-style-plain.traveltour-style-center-logo .traveltour-main-menu-right-wrap,
.traveltour-header-style-plain.traveltour-style-splitted-menu .traveltour-main-menu-right-wrap,
.traveltour-main-menu-right-wrap {
  position: static !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  gap: 12px !important;
  margin: 0 0 0 16px !important;
  padding: 0 !important;
  float: none !important;
  vertical-align: middle !important;
}

/* Кнопка «ЧАТ В TELEGRAM» */
.traveltour-main-menu-right-button {
  float: none !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--w-radius-pill) !important;
  padding: 8px 16px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  white-space: nowrap !important;
  box-shadow: 0 3px 12px rgba(0, 136, 204, 0.28) !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}
.traveltour-main-menu-right-button::before {
  content: '\f2c6'; /* fa-telegram */
  font-family: 'FontAwesome' !important;
  font-size: 13px !important;
}
.traveltour-main-menu-right-button:hover {
  background: linear-gradient(135deg, #0099e6 0%, #0077b3 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(0, 136, 204, 0.4) !important;
}

/* Переключатель валюты в меню */
.traveltour-main-menu-right-wrap .tourmaster-currency-switcher {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--w-ink) !important;
}
.tourmaster-currency-switcher .tourmaster-currency-switcher-current {
  padding: 5px 8px !important;
  border-radius: 6px !important;
  background: #F1F5F9 !important;
  border: 1px solid var(--w-border) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--w-ink) !important;
}

/* Адаптивность верхнего меню на средних экранах (1100px - 1360px) */
@media (max-width: 1360px) {
  .traveltour-navigation .sf-menu > li > a {
    font-size: 12.5px !important;
    padding: 6px 7px !important;
  }
  .traveltour-main-menu-right-wrap {
    margin-left: 8px !important;
    gap: 8px !important;
  }
  .traveltour-main-menu-right-button {
    padding: 7px 12px !important;
    font-size: 11.5px !important;
  }
}

/* ==========================================================================
   СТИЛИ КНОПОК (CTA, В КАРТОЧКАХ, ФОРМАХ)
   ========================================================================== */

/* Основные кнопки */
.gdlr-core-button,
.tourmaster-button,
.tourmaster-tour-booking-submit,
input[type="submit"],
button[type="submit"] {
  background: linear-gradient(135deg, var(--w-primary) 0%, var(--w-ocean-deep) 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: var(--w-radius-sm) !important;
  padding: 12px 26px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 4px 14px rgba(0, 97, 148, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
}
.gdlr-core-button:hover,
.tourmaster-button:hover,
.tourmaster-tour-booking-submit:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--w-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 97, 148, 0.35) !important;
}

/* Второстепенные контурные кнопки */
.gdlr-core-button.gdlr-core-button-transparent {
  background: transparent !important;
  color: var(--w-primary) !important;
  border: 2px solid var(--w-primary) !important;
  box-shadow: none !important;
}
.gdlr-core-button.gdlr-core-button-transparent:hover {
  background: var(--w-primary) !important;
  color: #ffffff !important;
}

/* Кнопки внутри карточек отелей, туров и экскурсий */
.tourmaster-room-grid .tourmaster-read-more,
.tourmaster-room-grid .tourmaster-read-more.tourmaster-type-button,
.tourmaster-room-grid5 .tourmaster-read-more,
.tourmaster-room-grid5 .tourmaster-read-more.tourmaster-type-button,
.tourmaster-room-item .tourmaster-read-more,
.tourmaster-room-item .tourmaster-read-more.tourmaster-type-button,
.tourmaster-tour-item .tourmaster-tour-grid-read-more,
.tourmaster-tour-item .tourmaster-read-more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto !important;
  background: linear-gradient(135deg, var(--w-primary) 0%, var(--w-ocean-deep) 100%) !important;
  color: #ffffff !important;
  border-radius: var(--w-radius-sm) !important;
  padding: 10px 28px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.02em !important;
  box-shadow: 0 4px 14px rgba(0, 97, 148, 0.22) !important;
  text-decoration: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  transition: all 0.2s ease !important;
}
.tourmaster-room-grid5 .tourmaster-read-more:hover,
.tourmaster-room-grid .tourmaster-read-more:hover,
.tourmaster-room-item .tourmaster-read-more:hover,
.tourmaster-tour-item .tourmaster-tour-grid-read-more:hover,
.tourmaster-tour-item .tourmaster-read-more:hover {
  background: var(--w-primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 97, 148, 0.35) !important;
}

/* Выравнивание и центрирование кнопок в блоках на десктопе */
@media (min-width: 768px) {
  .gdlr-core-button-item.gdlr-core-center-align {
    text-align: center !important;
    display: block !important;
  }
  .gdlr-core-button-item.gdlr-core-center-align .gdlr-core-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin: 0 8px 10px 8px !important;
    vertical-align: middle !important;
  }
}

/* Кнопки на смартфонах */
@media (max-width: 767px) {
  .gdlr-core-button-item .gdlr-core-button,
  .gdlr-core-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    text-align: center !important;
  }

  /* Дистанция между кнопками на смартфонах */
  .gdlr-core-button + .gdlr-core-button,
  .gdlr-core-button ~ .gdlr-core-button,
  .gdlr-core-button-item .gdlr-core-button + .gdlr-core-button,
  .gdlr-core-button-item .gdlr-core-button ~ .gdlr-core-button,
  .tourmaster-button + .tourmaster-button,
  .tourmaster-button ~ .tourmaster-button,
  .tourmaster-button + .gdlr-core-button,
  .gdlr-core-button + .tourmaster-button {
    margin-top: 14px !important;
  }

  /* Если кнопки размещены в соседних блоках button-item */
  .gdlr-core-button-item + .gdlr-core-button-item,
  .gdlr-core-button-item ~ .gdlr-core-button-item {
    margin-top: 14px !important;
  }
}

/* ==========================================================================
   ЕДИНАЯ ШИРИНА КАРТОЧЕК (ОТЕЛИ, ТУРЫ, ЭКСКУРСИИ)
   ========================================================================== */

/* Единая ширина контейнеров для экскурсий, туров и отелей на десктопе */
.tourmaster-tour-item,
.tourmaster-room-item {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Одинаковые отступы вьюпорта карусели для туров и отелей (для правильного выравнивания и теней) */
.tourmaster-tour-item .gdlr-core-flexslider .flex-viewport,
.tourmaster-room-item .gdlr-core-flexslider .flex-viewport {
  padding-left: 20px !important;
  margin-left: -20px !important;
  padding-right: 20px !important;
  margin-right: -20px !important;
  padding-bottom: 25px !important;
  margin-bottom: -25px !important;
}

/* Одинаковая ширина карточек экскурсий, туров и отелей на мобильных */
@media (max-width: 767px) {
  .tourmaster-tour-item,
  .tourmaster-room-item {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .tourmaster-tour-item .gdlr-core-flexslider .flex-viewport,
  .tourmaster-room-item .gdlr-core-flexslider .flex-viewport {
    padding-left: 15px !important;
    margin-left: -15px !important;
    padding-right: 15px !important;
    margin-right: -15px !important;
  }
  .tourmaster-tour-item .gdlr-core-flexslider ul.slides > li,
  .tourmaster-room-item .gdlr-core-flexslider ul.slides > li {
    box-sizing: border-box !important;
  }
}

/* ==========================================================================
   СПЕЦИАЛЬНЫЕ НАСТРОЙКИ ВИДЖЕТОВ И НАПРАВЛЕНИЙ
   ========================================================================== */

/* Виджет «Популярные экскурсии» (Recent / Popular Tours Widget) — маленькие миниатюры фото равномерно скруглены со всех 4 сторон */
.tourmaster-tour-widget .tourmaster-tour-thumbnail,
.tourmaster-tour-widget .tourmaster-tour-thumbnail a,
.tourmaster-tour-widget .tourmaster-tour-thumbnail img,
.tourmaster-recent-tour-widget .tourmaster-tour-thumbnail,
.tourmaster-recent-tour-widget .tourmaster-tour-thumbnail a,
.tourmaster-recent-tour-widget .tourmaster-tour-thumbnail img,
.widget_tourmaster-tour-widget .tourmaster-tour-thumbnail,
.widget_tourmaster-tour-widget .tourmaster-tour-thumbnail a,
.widget_tourmaster-tour-widget .tourmaster-tour-thumbnail img,
.tourmaster-widget-tour-category .tourmaster-tour-thumbnail,
.tourmaster-widget-tour-category .tourmaster-tour-thumbnail a,
.tourmaster-widget-tour-category .tourmaster-tour-thumbnail img,
.tourmaster-tour-widget-inner .tourmaster-tour-thumbnail,
.tourmaster-tour-widget-inner .tourmaster-tour-thumbnail img,
.widget .tourmaster-tour-thumbnail,
.widget .tourmaster-tour-thumbnail img {
  border-radius: 10px !important;
  overflow: hidden !important;
}

/* Количество туров на /tour-destination/ и в блоках направлений/категорий — яркий солнечный желтый */
.tourmaster-tour-category-count,
.tourmaster-tour-category-grid .tourmaster-tour-category-count,
.tourmaster-tour-category-grid.tourmaster-with-thumbnail .tourmaster-tour-category-count,
.tourmaster-tour-category-grid-2 .tourmaster-tour-category-count,
.tourmaster-tour-category-grid-3 .tourmaster-tour-category-count,
.tourmaster-tour-category-grid-4 .tourmaster-tour-category-count,
.tourmaster-tour-category-grid-5 .tourmaster-tour-category-count,
.tourmaster-tour-category-item-wrap .tourmaster-tour-category-count,
.tourmaster-tour-category-head .tourmaster-tour-category-count,
.tourmaster-tour-category-head-display .tourmaster-tour-category-count,
.tourmaster-body .tourmaster-tour-category-grid .tourmaster-tour-category-count,
.tourmaster-body .tourmaster-tour-category-count,
.tourmaster-tour-category-item .tourmaster-tour-category-count {
  color: #FFD200 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

/* Названия островов и направлений («Популярные направления») — белый цвет */
.tourmaster-tour-category-grid .tourmaster-tour-category-title,
.tourmaster-tour-category-grid .tourmaster-tour-category-title a,
.tourmaster-tour-category-grid .tourmaster-tour-category-title i,
.tourmaster-tour-category-item-wrap .tourmaster-tour-category-title,
.tourmaster-tour-category-item-wrap .tourmaster-tour-category-title a,
.tourmaster-tour-category-item-wrap h3,
h3.tourmaster-tour-category-title,
.tourmaster-tour-category-title,
.tourmaster-tour-category-title a,
.tourmaster-tour-category-grid-2 .tourmaster-tour-category-title,
.tourmaster-tour-category-grid-3 .tourmaster-tour-category-title,
.tourmaster-tour-category-grid-4 .tourmaster-tour-category-title,
.tourmaster-tour-category-grid-5 .tourmaster-tour-category-title,
.tourmaster-tour-category-widget .tourmaster-tour-category-title {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
  font-weight: 700 !important;
}

/* Кнопка / ссылка «Смотреть все туры» (View all tours) на /tour-destination/ — чистый белый цвет */
.tourmaster-tour-category-head-link,
a.tourmaster-tour-category-head-link,
.tourmaster-tour-category-grid .tourmaster-tour-category-head-link,
.tourmaster-tour-category-grid-2 .tourmaster-tour-category-head-link,
.tourmaster-tour-category-grid-3 .tourmaster-tour-category-head-link,
.tourmaster-tour-category-grid-4 .tourmaster-tour-category-head-link,
.tourmaster-tour-category-grid-5 .tourmaster-tour-category-head-link,
.tourmaster-tour-category-head-animate a,
.tourmaster-tour-category-item-wrap .tourmaster-tour-category-head-link,
.tourmaster-body .tourmaster-tour-category-grid .tourmaster-tour-category-head-link,
.tourmaster-body .tourmaster-tour-category-head-link {
  color: #FFFFFF !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
}
.tourmaster-tour-category-head-link:hover,
a.tourmaster-tour-category-head-link:hover,
.tourmaster-tour-category-grid .tourmaster-tour-category-head-link:hover,
.tourmaster-tour-category-grid-2 .tourmaster-tour-category-head-link:hover,
.tourmaster-tour-category-grid-3 .tourmaster-tour-category-head-link:hover,
.tourmaster-tour-category-grid-4 .tourmaster-tour-category-head-link:hover,
.tourmaster-tour-category-grid-5 .tourmaster-tour-category-head-link:hover,
.tourmaster-tour-category-head-animate a:hover,
.tourmaster-body .tourmaster-tour-category-grid .tourmaster-tour-category-head-link:hover,
.tourmaster-body .tourmaster-tour-category-head-link:hover {
  color: #38BDF8 !important;
}

.tourmaster-tour-category-grid.tourmaster-with-thumbnail .tourmaster-tour-category-head-divider,
.tourmaster-tour-category-head-divider {
  border-color: rgba(255, 255, 255, 0.7) !important;
}

/* Мобильная шапка: адаптивность логотипа */
@media (max-width: 767px) {
  .traveltour-mobile-header .traveltour-logo,
  .traveltour-mobile-header .traveltour-logo a {
    position: relative !important;
    z-index: 999999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
  }
  .traveltour-header-container-inner { flex-wrap: wrap; }
}

/* ---------- 11. Плавающая кнопка «Чат в Telegram» для мобильных устройств ---------- */
.werdana-mobile-telegram-floating {
  display: none;
}

@media (max-width: 999px) {
  .werdana-mobile-telegram-floating {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    position: fixed !important;
    bottom: 22px !important;
    right: 18px !important;
    z-index: 9999999 !important;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
    color: #ffffff !important;
    padding: 12px 20px !important;
    border-radius: 9999px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 136, 204, 0.42), 0 2px 8px rgba(0, 0, 0, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .werdana-mobile-telegram-floating i {
    font-size: 17px !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }
  .werdana-mobile-telegram-floating span {
    color: #ffffff !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
  .werdana-mobile-telegram-floating:hover,
  .werdana-mobile-telegram-floating:active {
    transform: translateY(-2px) scale(1.02) !important;
    background: linear-gradient(135deg, #0099e6 0%, #0077b3 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(0, 136, 204, 0.55) !important;
  }

  /* Если на странице активна кнопка «Наверх», сдвигаем её чуть выше, чтобы не перекрывать Telegram */
  .traveltour-footer-back-to-top-button {
    bottom: 82px !important;
    right: 20px !important;
  }
}

/* ==================== WERDANA MOBILE DRAWER ==================== */
.werdana-mobile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: 320px !important;
  max-width: 86vw !important;
  height: 100% !important;
  height: 100dvh !important;
  background: #ffffff !important;
  z-index: 999999999 !important;
  box-shadow: -6px 0 28px rgba(0, 0, 0, 0.18) !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translate3d(105%, 0, 0) !important;
  -webkit-transform: translate3d(105%, 0, 0) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s !important;
  -webkit-transition: -webkit-transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s !important;
  visibility: hidden !important;
  pointer-events: none !important;
  overflow: hidden !important;
}
.werdana-mobile-drawer.active {
  transform: translate3d(0, 0, 0) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.werdana-drawer-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(11, 28, 48, 0.65) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  z-index: 999999998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}
.werdana-drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html.werdana-drawer-open,
body.werdana-drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}

.werdana-drawer-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid var(--w-border) !important;
  background: #ffffff !important;
}
.werdana-drawer-logo img {
  max-height: 38px !important;
  width: auto !important;
  display: block !important;
}
.werdana-drawer-close {
  background: none !important;
  border: none !important;
  font-size: 34px !important;
  line-height: 1 !important;
  color: var(--w-ocean-deep) !important;
  cursor: pointer !important;
  padding: 4px 8px !important;
  font-weight: 300 !important;
  transition: transform 0.2s ease, color 0.2s ease !important;
}
.werdana-drawer-close:hover {
  color: var(--w-primary) !important;
  transform: rotate(90deg) !important;
}

.werdana-drawer-content {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 10px 0 !important;
}
.werdana-drawer-menu,
.werdana-drawer-menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.werdana-drawer-menu > li {
  position: relative !important;
  border-bottom: 1px solid #F1F5F9 !important;
}
.werdana-drawer-menu > li > a {
  display: block !important;
  padding: 15px 48px 15px 22px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--w-ocean-deep) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.werdana-drawer-menu > li.current-menu-item > a,
.werdana-drawer-menu > li > a:hover {
  color: var(--w-primary) !important;
  background: rgba(0, 97, 148, 0.05) !important;
  padding-left: 26px !important;
}

.werdana-drawer-menu .sub-menu {
  display: none;
  background: #F8FAFC !important;
  padding: 6px 0 !important;
  border-top: 1px solid #E2E8F0 !important;
}
.werdana-drawer-menu .sub-menu li a {
  display: block !important;
  padding: 11px 20px 11px 34px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--w-ink) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.werdana-drawer-menu .sub-menu li a:hover {
  color: var(--w-primary) !important;
}

.werdana-sub-toggle {
  position: absolute !important;
  right: 12px !important;
  top: 11px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: var(--w-ocean-deep) !important;
  font-size: 17px !important;
  border-radius: 6px !important;
  transition: transform 0.25s ease, background 0.2s ease !important;
}
.werdana-sub-toggle:hover {
  background: rgba(0, 97, 148, 0.08) !important;
}
.werdana-drawer-menu li.submenu-open > .werdana-sub-toggle {
  transform: rotate(180deg) !important;
  color: var(--w-primary) !important;
}

.werdana-drawer-footer {
  padding: 16px 20px 24px !important;
  border-top: 1px solid var(--w-border) !important;
  background: #ffffff !important;
}
.werdana-drawer-telegram-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  background: linear-gradient(135deg, #0088cc 0%, #006699 100%) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.werdana-drawer-telegram-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0, 136, 204, 0.45) !important;
  color: #ffffff !important;
}
.werdana-drawer-telegram-btn i {
  font-size: 18px !important;
  color: #ffffff !important;
}
.werdana-drawer-telegram-btn span {
  color: #ffffff !important;
}


/* ==========================================================================
   11. Личный кабинет пользователя Tourmaster (User Dashboard Modern Suite)
   Полный редизайн панели управления, профиля, бронирований, счетов, отзывов
   и адаптивных стилей для мобильных устройств в стиле Werdana Luxury Oceanic
   ========================================================================== */

/* ---------- 11.1. Основной контейнер и общая раскладка ---------- */
.tourmaster-template-wrapper-user {
  display: flex !important;
  gap: 32px !important;
  align-items: flex-start !important;
  max-width: 1280px !important;
  margin: 40px auto 70px !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

/* Сброс древнего хака с огромным margin-bottom */
.tourmaster-template-wrapper-user .tourmaster-user-navigation {
  float: none !important;
  width: 290px !important;
  min-width: 290px !important;
  flex-shrink: 0 !important;
  padding: 24px 18px 26px !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(11, 28, 48, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 97, 148, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  box-sizing: border-box !important;
  position: sticky !important;
  top: 105px !important;
  z-index: 20 !important;
}

/* Область контента пользователя */
.tourmaster-template-wrapper-user .tourmaster-user-content {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.tourmaster-template-wrapper-user .tourmaster-user-content-inner {
  padding: 0 !important;
}

/* ---------- 11.2. Боковая панель навигации (Sidebar Navigation) ---------- */
/* Заголовки разделов («Мой Аккаунт», «Мои бронирования», «Проживание») */
.tourmaster-user-navigation .tourmaster-user-navigation-head,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-head {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.4px !important;
  color: #8A99AD !important;
  padding: 0 !important;
  margin: 22px 14px 10px 14px !important;
  line-height: 1.4 !important;
  border: none !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-head:first-child,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-head:first-child {
  margin-top: 4px !important;
}

/* Пункты навигации */
.tourmaster-user-navigation .tourmaster-user-navigation-item,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item {
  padding: 3px 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.tourmaster-user-navigation .tourmaster-user-navigation-item a,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 16px !important;
  border-radius: 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
}

/* Иконки в пунктах меню */
.tourmaster-user-navigation .tourmaster-user-navigation-item-icon,
.tourmaster-user-navigation .tourmaster-user-navigation-item .tourmaster-svg,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item .tourmaster-svg {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin-right: 0 !important;
  font-size: 15px !important;
  color: #64748B !important;
  transition: all 0.22s ease !important;
  flex-shrink: 0 !important;
}

.tourmaster-user-navigation .tourmaster-user-navigation-item svg,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item svg {
  fill: #64748B !important;
  transition: fill 0.22s ease !important;
  width: 18px !important;
  height: 18px !important;
}

/* Hover эффект для обычных пунктов */
.tourmaster-user-navigation .tourmaster-user-navigation-item a:hover,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item a:hover {
  background: rgba(0, 97, 148, 0.06) !important;
  color: var(--w-primary) !important;
  transform: translateX(3px) !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item a:hover .tourmaster-user-navigation-item-icon {
  color: var(--w-primary) !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item a:hover svg {
  fill: var(--w-primary) !important;
}

/* Активный пункт навигации (Active Pill) */
.tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active a,
.tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active a:hover,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active a,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active a:hover {
  background: linear-gradient(135deg, #006194 0%, #0284C7 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(0, 97, 148, 0.28) !important;
  transform: none !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active:before {
  display: none !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active .tourmaster-user-navigation-item-icon,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active .tourmaster-user-navigation-item-icon {
  color: #FFFFFF !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active svg,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item.tourmaster-active svg {
  fill: #FFFFFF !important;
}

/* Пункт «Выход» (Sign Out) */
.tourmaster-user-navigation .tourmaster-user-navigation-item-sign-out,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item-sign-out {
  margin-top: 18px !important;
  padding-top: 14px !important;
  margin-left: 0 !important;
  border-top: 1px dashed #E2E8F0 !important;
  border-bottom: none !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item-sign-out a:hover,
.tourmaster-user-template-style-2 .tourmaster-user-navigation .tourmaster-user-navigation-item-sign-out a:hover {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-item-sign-out a:hover .tourmaster-user-navigation-item-icon,
.tourmaster-user-navigation .tourmaster-user-navigation-item-sign-out a:hover svg {
  color: #DC2626 !important;
  fill: #DC2626 !important;
}

/* Карточка внизу навигации («Нужна помощь?») */
.tourmaster-user-navigation .tourmaster-user-navigation-bottom-text {
  padding: 16px !important;
  margin-top: 22px !important;
  background: linear-gradient(135deg, rgba(0, 97, 148, 0.05) 0%, rgba(13, 148, 136, 0.07) 100%) !important;
  border: 1px solid rgba(0, 97, 148, 0.12) !important;
  border-radius: 14px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--w-ink) !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
.tourmaster-user-navigation .tourmaster-user-navigation-bottom-text a {
  color: var(--w-primary) !important;
  text-decoration: underline !important;
  font-weight: 700 !important;
}

/* ---------- 11.3. Хлебные крошки (User Breadcrumbs) ---------- */
.tourmaster-user-breadcrumbs,
.tourmaster-user-template-style-2 .tourmaster-user-breadcrumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  margin-bottom: 22px !important;
  color: #64748B !important;
}
.tourmaster-user-breadcrumbs a {
  color: #0B1C30 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.tourmaster-user-breadcrumbs a:hover {
  color: var(--w-primary) !important;
}
.tourmaster-user-breadcrumbs .tourmaster-sep {
  margin: 0 !important;
  color: #CBD5E1 !important;
  font-size: 12px !important;
}

/* ---------- 11.4. Карточки контента (Dashboard Content Blocks) ---------- */
.tourmaster-user-content-block,
.tourmaster-dashboard-profile-wrapper,
.tourmaster-user-template-style-2 .tourmaster-user-content-block,
.tourmaster-user-template-style-2 .tourmaster-dashboard-profile-wrapper,
.tourmaster-user-template-style-2 .tourmaster-user-content-inner .tourmaster-user-content-block {
  background: #FFFFFF !important;
  border: 1px solid rgba(11, 28, 48, 0.08) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 97, 148, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  padding: 32px 36px !important;
  margin: 0 0 30px 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Заголовок блока карточки */
.tourmaster-user-content-block .tourmaster-user-content-title-wrap,
.tourmaster-user-template-style-2 .tourmaster-user-content-block .tourmaster-user-content-title-wrap {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding-bottom: 18px !important;
  margin-bottom: 24px !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
  overflow: visible !important;
}

.tourmaster-user-content-block .tourmaster-user-content-title,
.tourmaster-user-template-style-2 .tourmaster-user-content-block .tourmaster-user-content-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #0B1C30 !important;
  margin: 0 !important;
  letter-spacing: -0.3px !important;
  float: none !important;
}

/* Кнопка действия рядом с заголовком («Редактировать профиль», «Смотреть все») */
.tourmaster-user-content-block .tourmaster-user-content-title-link,
.tourmaster-user-template-style-2 .tourmaster-user-content-block .tourmaster-user-content-title-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--w-primary) !important;
  background: rgba(0, 97, 148, 0.08) !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  float: none !important;
  transition: all 0.22s ease !important;
}
.tourmaster-user-content-block .tourmaster-user-content-title-link:hover,
.tourmaster-user-template-style-2 .tourmaster-user-content-block .tourmaster-user-content-title-link:hover {
  background: var(--w-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 97, 148, 0.25) !important;
  transform: translateY(-1px) !important;
}

/* ---------- 11.5. Профиль пользователя (My Profile Layout) ---------- */
.tourmaster-my-profile-wrapper {
  display: flex !important;
  align-items: flex-start !important;
  gap: 32px !important;
  margin: 0 !important;
}

/* Аватар */
.tourmaster-my-profile-avatar {
  float: none !important;
  margin: 0 !important;
  padding: 4px !important;
  flex-shrink: 0 !important;
}
.tourmaster-my-profile-avatar img {
  width: 108px !important;
  height: 108px !important;
  border-radius: 50% !important;
  border: 7px solid #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(0, 97, 148, 0.16), 0 0 0 2px var(--w-primary) !important;
  object-fit: cover !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Сетка полей профиля */
.tourmaster-my-profile-info-wrap {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 14px 20px !important;
  overflow: visible !important;
}

.tourmaster-my-profile-info,
.tourmaster-user-template-style-2 .tourmaster-my-profile-info {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 12px 18px !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.tourmaster-my-profile-info:hover {
  border-color: rgba(0, 97, 148, 0.3) !important;
  box-shadow: 0 2px 8px rgba(0, 97, 148, 0.05) !important;
}

.tourmaster-my-profile-info .tourmaster-head {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 0 3px 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  color: #64748B !important;
}

.tourmaster-my-profile-info .tourmaster-tail,
.tourmaster-user-template-style-2 .tourmaster-my-profile-info .tourmaster-tail {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0B1C30 !important;
}

/* ---------- 11.6. Формы редактирования (Edit Profile & Password) ---------- */
.tourmaster-edit-profile-wrap {
  margin: 0 !important;
}

/* Загрузка нового аватара */
.tourmaster-edit-profile-avatar {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  padding-bottom: 24px !important;
  margin-bottom: 28px !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
}
.tourmaster-edit-profile-avatar img {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  border: 6px solid #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(0, 97, 148, 0.16), 0 0 0 2px var(--w-primary) !important;
  margin: 0 !important;
  display: block !important;
  object-fit: cover !important;
  box-sizing: border-box !important;
}
.tourmaster-edit-profile-avatar .tourmaster-button,
.tourmaster-user-template-style-2 .tourmaster-edit-profile-avatar .tourmaster-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  background: rgba(0, 97, 148, 0.08) !important;
  color: var(--w-primary) !important;
  border: 1.5px solid rgba(0, 97, 148, 0.25) !important;
  border-radius: 12px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.22s ease !important;
  margin: 0 !important;
}
.tourmaster-edit-profile-avatar .tourmaster-button:hover {
  background: var(--w-primary) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(0, 97, 148, 0.25) !important;
}

/* Поля формы профиля */
.tourmaster-edit-profile-wrap .tourmaster-profile-field,
.tourmaster-user-template-style-2 .tourmaster-edit-profile-wrap .tourmaster-profile-field {
  margin-bottom: 22px !important;
}

.tourmaster-edit-profile-wrap .tourmaster-head,
.tourmaster-user-template-style-2 .tourmaster-edit-profile-wrap .tourmaster-head {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 0 8px 0 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  line-height: 1.4 !important;
}
.tourmaster-edit-profile-wrap .tourmaster-req {
  color: #EF4444 !important;
  font-weight: 700 !important;
  margin-left: 4px !important;
}

.tourmaster-edit-profile-wrap .tourmaster-tail {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Современные инпуты, селекты и текстовые поля */
.tourmaster-body .tourmaster-form-field input[type="text"],
.tourmaster-body .tourmaster-form-field input[type="email"],
.tourmaster-body .tourmaster-form-field input[type="password"],
.tourmaster-body .tourmaster-form-field textarea,
.tourmaster-body .tourmaster-form-field select,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field input[type="text"],
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field input[type="email"],
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field input[type="password"],
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field textarea,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field select {
  width: 100% !important;
  max-width: 100% !important;
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #0B1C30 !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
}

/* Специфический паддинг для select: отступ справа 44px для стрелочки */
.tourmaster-body .tourmaster-form-field select,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field select,
.tourmaster-combobox-wrap select {
  padding: 13px 44px 13px 18px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
}

.tourmaster-body .tourmaster-form-field input[type="text"]:focus,
.tourmaster-body .tourmaster-form-field input[type="email"]:focus,
.tourmaster-body .tourmaster-form-field input[type="password"]:focus,
.tourmaster-body .tourmaster-form-field textarea:focus,
.tourmaster-body .tourmaster-form-field select:focus,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field input[type="text"]:focus,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field input[type="email"]:focus,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field input[type="password"]:focus,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field textarea:focus,
.tourmaster-body .tourmaster-user-template-style-2 .tourmaster-form-field select:focus {
  background: #FFFFFF !important;
  border-color: var(--w-primary) !important;
  box-shadow: 0 0 0 4px rgba(0, 97, 148, 0.12), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
  outline: none !important;
}

/* Обертка выпадающих списков (Combobox Wrap) */
.tourmaster-combobox-wrap,
.tourmaster-form-field .tourmaster-combobox-wrap,
.tourmaster-user-template-style-2 .tourmaster-combobox-wrap {
  position: relative !important;
  display: block !important;
}

/* Стрелочка-птичка выпадающего списка — идеальный отступ от правого края */
.tourmaster-combobox-wrap:after,
.tourmaster-form-field .tourmaster-combobox-wrap:after,
.tourmaster-user-template-style-2 .tourmaster-combobox-wrap:after,
.tourmaster-edit-profile-wrap .tourmaster-combobox-wrap:after,
.tourmaster-profile-field .tourmaster-combobox-wrap:after {
  content: "\f078" !important; /* fa-chevron-down — современная изящная птичка */
  font-family: "FontAwesome" !important;
  position: absolute !important;
  right: 18px !important;       /* Комфортный и гармоничный отступ от правого бордера */
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  font-size: 12px !important;
  line-height: 1 !important;
  color: #64748B !important;
  pointer-events: none !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
  z-index: 2 !important;
}

/* При наведении/фокусе на селект стрелочка подсвечивается океаническим синим */
.tourmaster-combobox-wrap:hover:after,
.tourmaster-form-field .tourmaster-combobox-wrap:hover:after,
.tourmaster-combobox-wrap:focus-within:after {
  color: var(--w-primary) !important;
}

/* Поле «Пол» (Gender): аккуратная ширина, чтобы не было слишком широким */
.tourmaster-profile-field-gender .tourmaster-combobox-wrap {
  max-width: 200px !important;
}

/* Поле «Дата рождения» (Birth date): 3 аккуратных блока [День] [Месяц] [Год] в одну строку */
.tourmaster-date-select {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  max-width: 480px !important;
  width: 100% !important;
}
.tourmaster-date-select .tourmaster-combobox-wrap {
  float: none !important;
  flex: 1 1 0 !important;
  width: auto !important;
  margin: 0 !important;
}
.tourmaster-date-select .tourmaster-form-field-alt-date {
  flex: 0 0 110px !important;
  max-width: 110px !important;
}
.tourmaster-date-select .tourmaster-form-field-alt-month {
  flex: 1 1 auto !important;
}
.tourmaster-date-select .tourmaster-form-field-alt-year {
  flex: 0 0 130px !important;
  max-width: 130px !important;
}

/* Основные кнопки отправки форм */
.tourmaster-button,
.tourmaster-edit-profile-submit.tourmaster-button,
input[type="submit"].tourmaster-button,
.tourmaster-user-template-style-2 input[type="submit"].tourmaster-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #006194 0%, #0284C7 100%) !important;
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(0, 97, 148, 0.25) !important;
  transition: all 0.25s ease !important;
  margin: 15px 0 0 0 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
}
.tourmaster-button:hover,
.tourmaster-edit-profile-submit.tourmaster-button:hover,
input[type="submit"].tourmaster-button:hover,
.tourmaster-user-template-style-2 input[type="submit"].tourmaster-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(0, 97, 148, 0.35) !important;
  background: linear-gradient(135deg, #004b73 0%, #0369A1 100%) !important;
  color: #FFFFFF !important;
}

/* Уведомления об успехе/ошибках */
.tourmaster-user-update-notification {
  border-radius: 14px !important;
  padding: 16px 22px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 28px !important;
  background: #ECFDF5 !important;
  border: 1.5px solid #A7F3D0 !important;
  color: #065F46 !important;
}
.tourmaster-user-update-notification.tourmaster-failure {
  background: #FEF2F2 !important;
  border: 1.5px solid #FECACA !important;
  color: #991B1B !important;
}

/* Индикатор сложности пароля */
#pass-strength-result {
  border-radius: 10px !important;
  padding: 12px 18px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  margin-bottom: 20px !important;
}

/* ---------- 11.7. Фильтры статусов (Booking Filters Tabs) ---------- */
.tourmaster-my-booking-filter,
.tourmaster-user-template-style-2 .tourmaster-my-booking-filter {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 24px !important;
}
.tourmaster-my-booking-filter .tourmaster-sep {
  display: none !important;
}
.tourmaster-my-booking-filter a,
.tourmaster-user-template-style-2 .tourmaster-my-booking-filter a {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 18px !important;
  border-radius: 9999px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #64748B !important;
  background: #FFFFFF !important;
  border: 1.5px solid #E2E8F0 !important;
  text-decoration: none !important;
  transition: all 0.22s ease !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}
.tourmaster-my-booking-filter a:hover,
.tourmaster-user-template-style-2 .tourmaster-my-booking-filter a:hover {
  background: rgba(0, 97, 148, 0.06) !important;
  color: var(--w-primary) !important;
  border-color: rgba(0, 97, 148, 0.25) !important;
}
.tourmaster-my-booking-filter a.tourmaster-active,
.tourmaster-user-template-style-2 .tourmaster-my-booking-filter a.tourmaster-active {
  background: var(--w-primary) !important;
  color: #FFFFFF !important;
  border-color: var(--w-primary) !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0, 97, 148, 0.25) !important;
}

/* ---------- 11.8. Таблицы (Bookings, Invoices, Reviews, Wishlist) ---------- */
.tourmaster-user-content-block-content,
.tourmaster-user-content-inner .tourmaster-user-content-block {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

table.tourmaster-table,
table.tourmaster-my-booking-table,
table.tourmaster-invoices-table,
table.tourmaster-user-review-table,
table.tourmaster-wish-list-table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-family: 'Inter', sans-serif !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #E2E8F0 !important;
}

/* Заголовки таблицы */
table.tourmaster-table th,
.tourmaster-user-template-style-2 table.tourmaster-table th {
  background: #F8FAFC !important;
  color: #64748B !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 14px 20px !important;
  border-bottom: 2px solid #E2E8F0 !important;
  border-top: none !important;
}

/* Строки таблицы */
table.tourmaster-table td,
.tourmaster-user-template-style-2 table.tourmaster-table td,
.tourmaster-template-wrapper table.tourmaster-table tr td {
  padding: 16px 20px !important;
  vertical-align: middle !important;
  border-bottom: 1px solid #F1F5F9 !important;
  font-size: 14.5px !important;
  color: #334155 !important;
  background: #FFFFFF !important;
}
table.tourmaster-table tr:hover td {
  background: #F8FAFC !important;
}
table.tourmaster-table tr:last-child td {
  border-bottom: none !important;
}

/* Название тура/отеля в таблице */
.tourmaster-my-booking-title,
.tourmaster-template-wrapper table.tourmaster-table tr td:nth-child(1) a,
.tourmaster-template-wrapper table.tourmaster-table tr td:nth-child(2) a {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0B1C30 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.tourmaster-my-booking-title:hover,
.tourmaster-template-wrapper table.tourmaster-table tr td:nth-child(1) a:hover,
.tourmaster-template-wrapper table.tourmaster-table tr td:nth-child(2) a:hover {
  color: var(--w-primary) !important;
}

/* Цена в таблице */
.tourmaster-my-booking-price,
.tourmaster-user-template-style-2 table.tourmaster-my-booking-table .tourmaster-my-booking-price {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0B1C30 !important;
}

/* Бейджи статусов бронирований */
.tourmaster-my-booking-status,
.tourmaster-booking-status {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 12px !important;
  border-radius: 9999px !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: normal !important;
}
.tourmaster-status-approved,
.tourmaster-status-online-paid {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #A7F3D0 !important;
}
.tourmaster-status-pending,
.tourmaster-status-wait-for-approval,
.tourmaster-status-receipt-submitted {
  background: #FFFBEB !important;
  color: #B45309 !important;
  border: 1px solid #FDE68A !important;
}
.tourmaster-status-deposit-paid {
  background: #EFF6FF !important;
  color: #1D4ED8 !important;
  border: 1px solid #BFDBFE !important;
}
.tourmaster-status-departed {
  background: #F0FDF4 !important;
  color: #15803D !important;
  border: 1px solid #BBF7D0 !important;
}
.tourmaster-status-rejected,
.tourmaster-status-cancel {
  background: #FEF2F2 !important;
  color: #B91C1C !important;
  border: 1px solid #FECACA !important;
}

/* Кнопки действий в таблице (Оплата / Отмена) */
.tourmaster-my-booking-action,
.tourmaster-user-template-style-2 table.tourmaster-my-booking-table .tourmaster-my-booking-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  margin: 0 0 0 6px !important;
  font-size: 14px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  border: none !important;
  vertical-align: middle !important;
}
.tourmaster-my-booking-action.fa-dollar {
  background: #ECFDF5 !important;
  color: #059669 !important;
  border: 1px solid #A7F3D0 !important;
}
.tourmaster-my-booking-action.fa-dollar:hover {
  background: #059669 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3) !important;
}
.tourmaster-my-booking-action.fa-remove {
  background: #FEF2F2 !important;
  color: #DC2626 !important;
  border: 1px solid #FECACA !important;
}
.tourmaster-my-booking-action.fa-remove:hover {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3) !important;
}

/* Таблица отзывов */
.tourmaster-user-review-action {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: var(--w-primary) !important;
}

/* Форма добавления отзыва */
.tourmaster-review-form-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #0B1C30 !important;
}
.tourmaster-review-form-rating i {
  color: var(--w-gold) !important;
  font-size: 20px !important;
}

/* Избранное (Wishlist) */
.tourmaster-wish-list-item .tourmaster-wish-list-item-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #0B1C30 !important;
}
.tourmaster-wish-list-item .tourmaster-wish-list-thumbnail img {
  border-radius: 10px !important;
}
.tourmaster-wish-list-remove-item {
  color: #DC2626 !important;
  font-weight: 600 !important;
}

/* Инвойс (Invoices Single) */
.tourmaster-invoice-wrap {
  width: 100% !important;
  max-width: 100% !important;
  padding: 40px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
}
.tourmaster-invoice-head-left .tourmaster-invoice-id {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--w-primary) !important;
  font-weight: 800 !important;
}
.tourmaster-invoice-total-price {
  background: #F8FAFC !important;
  border-radius: 12px !important;
}

/* Детали бронирования (Single Booking View) */
.tourmaster-my-booking-single-content-wrap {
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}
.tourmaster-my-booking-single-title,
.tourmaster-my-booking-single-sub-title {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0B1C30 !important;
  border-bottom: 1.5px solid #F1F5F9 !important;
  padding-bottom: 12px !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.2px !important;
}
.tourmaster-my-booking-single-sidebar {
  float: right !important;
  width: 28% !important;
  padding-left: 30px !important;
  box-sizing: border-box !important;
}
.tourmaster-my-booking-single-content {
  overflow: visible !important;
}
.tourmaster-my-booking-single-field {
  margin-bottom: 14px !important;
  font-size: 14.5px !important;
}
.tourmaster-my-booking-single-field .tourmaster-head {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  color: #64748B !important;
}
.tourmaster-my-booking-single-field .tourmaster-tail {
  color: #0B1C30 !important;
  font-weight: 600 !important;
}
.tourmaster-my-booking-single-price-breakdown .tourmaster-price-breakdown-summary {
  float: right !important;
  min-width: 320px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 20px 24px !important;
  box-sizing: border-box !important;
}
.tourmaster-my-booking-single-total-price {
  border-top: 1.5px solid #E2E8F0 !important;
  border-bottom: 2px solid var(--w-primary) !important;
  padding: 16px 0 !important;
  margin-top: 18px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #0B1C30 !important;
}

/* ---------- 11.9. Адаптивность для планшетов и мобильных (Mobile Dashboard) ---------- */
/* Планшеты (max-width: 999px) */
@media (max-width: 999px) {
  .tourmaster-template-wrapper-user {
    flex-direction: column !important;
    gap: 20px !important;
    margin: 24px auto 50px !important;
    padding: 0 16px !important;
  }

  .tourmaster-template-wrapper-user .tourmaster-user-navigation {
    display: none !important;
  }
  .tourmaster-my-booking-single-sidebar {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    margin-bottom: 28px !important;
    padding-bottom: 24px !important;
    border-bottom: 1px solid #E2E8F0 !important;
  }
  .tourmaster-my-booking-single-price-breakdown .tourmaster-price-breakdown-summary {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Стильный мобильный переключатель страниц личного кабинета */
  .tourmaster-user-mobile-navigation,
  .tourmaster-user-template-style-2 .tourmaster-user-mobile-navigation {
    display: block !important;
    margin: 0 0 20px 0 !important;
    background: #FFFFFF !important;
    border: 1px solid rgba(11, 28, 48, 0.08) !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(0, 97, 148, 0.08) !important;
    padding: 8px !important;
    box-sizing: border-box !important;
  }

  .tourmaster-user-mobile-navigation .tourmaster-combobox-wrap {
    position: relative !important;
    width: 100% !important;
  }

  .tourmaster-user-mobile-navigation select,
  .tourmaster-user-template-style-2 .tourmaster-user-mobile-navigation .tourmaster-combobox-wrap select {
    width: 100% !important;
    height: 52px !important;
    background: #F8FAFC !important;
    border: 1.5px solid #CBD5E1 !important;
    border-radius: 12px !important;
    padding: 0 45px 0 18px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0B1C30 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    outline: none !important;
  }

  .tourmaster-user-mobile-navigation .tourmaster-combobox-wrap:after,
  .tourmaster-user-template-style-2 .tourmaster-user-mobile-navigation .tourmaster-combobox-wrap:after {
    content: "\f078" !important;
    font-family: "FontAwesome" !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 13px !important;
    color: var(--w-primary) !important;
    pointer-events: none !important;
  }
}

/* Смартфоны (max-width: 767px) */
@media (max-width: 767px) {
  .tourmaster-template-wrapper-user {
    margin: 16px auto 40px !important;
    padding: 0 12px !important;
  }

  .tourmaster-user-content-block,
  .tourmaster-dashboard-profile-wrapper,
  .tourmaster-user-template-style-2 .tourmaster-user-content-block,
  .tourmaster-user-template-style-2 .tourmaster-dashboard-profile-wrapper,
  .tourmaster-user-template-style-2 .tourmaster-user-content-inner .tourmaster-user-content-block {
    padding: 22px 18px !important;
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }

  /* Профиль на смартфонах */
  .tourmaster-my-profile-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .tourmaster-my-profile-avatar img {
    width: 96px !important;
    height: 96px !important;
    border: 6px solid #FFFFFF !important;
  }
  .tourmaster-my-profile-info-wrap {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .tourmaster-my-profile-info {
    text-align: left !important;
    padding: 10px 14px !important;
  }

  /* Форма смены аватара */
  .tourmaster-edit-profile-avatar {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* Заголовки карточек */
  .tourmaster-user-content-block .tourmaster-user-content-title-wrap {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .tourmaster-user-content-block .tourmaster-user-content-title-link {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  /* Кнопки на полную ширину на мобильных */
  .tourmaster-button,
  .tourmaster-edit-profile-submit.tourmaster-button,
  input[type="submit"].tourmaster-button,
  .tourmaster-user-template-style-2 input[type="submit"].tourmaster-button {
    width: 100% !important;
  }

  /* Поля формы даты и пола на смартфонах */
  .tourmaster-date-select {
    max-width: 100% !important;
    gap: 8px !important;
  }
  .tourmaster-date-select .tourmaster-form-field-alt-date {
    flex: 0 0 85px !important;
    max-width: 85px !important;
  }
  .tourmaster-date-select .tourmaster-form-field-alt-year {
    flex: 0 0 105px !important;
    max-width: 105px !important;
  }
  .tourmaster-profile-field-gender .tourmaster-combobox-wrap {
    max-width: 100% !important;
  }

  /* Инвойсы на смартфонах */
  .tourmaster-invoice-wrap {
    padding: 20px 16px !important;
  }
  .tourmaster-invoice-head-left,
  .tourmaster-invoice-head-right {
    float: none !important;
    width: 100% !important;
    text-align: left !important;
  }
}


/* ==========================================================================
   12. ФИРМЕННАЯ КНОПКА «МЕНЮ (ГОРИЗОНТ) ➔ ЗАКРЫТЬ (НОС КВЕРХУ + ФОРСАЖ)»
       И ВЫПАДАЮЩЕЕ МЕНЮ ПОД ШАПКОЙ (SLIDE DOWN DROPDOWN)
   ========================================================================== */

/* Мобильная шапка всегда поверх контента и выпадающего меню */
.traveltour-mobile-header-wrap {
  position: relative !important;
  z-index: 9999999 !important;
}

.traveltour-mobile-header {
  position: relative !important;
  z-index: 9999999 !important;
  overflow: visible !important;
}

.traveltour-mobile-header.traveltour-fixed-navigation {
  position: fixed !important;
  top: 0px !important;
  left: 0px !important;
  right: 0px !important;
  width: 100% !important;
  z-index: 9999999 !important;
  overflow: visible !important;
}

.traveltour-mobile-header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  z-index: 20 !important;
  gap: 12px !important;
}

/* Сброс старых полосок гамбургера для кнопки самолётика */
.traveltour-mobile-menu-button.werdana-airplane-menu-btn:before,
.traveltour-mobile-menu-button.werdana-airplane-menu-btn:after,
.werdana-airplane-menu-btn:before,
.werdana-airplane-menu-btn:after {
  display: none !important;
  content: none !important;
}

/* Контейнер мобильной правой группы */
.traveltour-mobile-menu-right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* Кнопка поиска на мобильных устройствах */
#traveltour-mobile-top-search {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  color: #0B1C30 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
}

#traveltour-mobile-top-search:hover,
#traveltour-mobile-top-search:active {
  background: #EFF6FF !important;
  border-color: #BAE6FD !important;
  color: #006194 !important;
}

/* Главная кнопка-капсула */
.traveltour-mobile-menu-button.werdana-airplane-menu-btn,
.werdana-airplane-menu-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 44px !important;
  height: 38px !important;
  padding: 0 13px 0 14px !important;
  border-radius: 9999px !important;
  background: #F8FAFC !important;
  border: 1.5px solid #E2E8F0 !important;
  box-shadow: 0 1px 3px rgba(11, 28, 48, 0.05) !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  outline: none !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 9999999 !important;
  pointer-events: auto !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  -webkit-tap-highlight-color: transparent !important;
}

.werdana-airplane-menu-btn:hover {
  background: #F0F9FF !important;
  border-color: #BAE6FD !important;
  box-shadow: 0 2px 8px rgba(0, 97, 148, 0.12) !important;
}

.werdana-airplane-menu-btn:active {
  transform: scale(0.96) !important;
}

/* Отключение событий мыши на дочерних элементах кнопки */
.werdana-airplane-menu-btn .werdana-plane-label,
.werdana-airplane-menu-btn .werdana-plane-icon-box,
.werdana-airplane-menu-btn .werdana-plane-svg,
.werdana-airplane-menu-btn .werdana-plane-afterburner,
.werdana-airplane-menu-btn svg,
.werdana-airplane-menu-btn path {
  pointer-events: none !important;
}

/* Текстовый бейдж с переключением МЕНЮ / ЗАКРЫТЬ */
.werdana-plane-label {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  user-select: none !important;
  display: inline-flex !important;
  align-items: center !important;
}

.werdana-plane-label .werdana-label-menu {
  display: inline-block !important;
  color: #0B1C30 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.werdana-plane-label .werdana-label-close {
  display: none !important;
  color: #0284C7 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

/* Обертка для самолетика и форсажа */
.werdana-plane-icon-box {
  position: relative !important;
  width: 18px !important;
  height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}

/* Векторная иконка авиалайнера:
   ЗАКРЫТОЕ СОСТОЯНИЕ: строго ГОРИЗОНТАЛЬНО (носом на восток) */
.werdana-plane-svg {
  width: 16px !important;
  height: 16px !important;
  color: #006194 !important;
  stroke: #006194 !important;
  display: block !important;
  transform-origin: center center !important;
  transform: rotate(45deg) !important; /* Строго горизонтальный полет! */
  transition: transform 0.45s cubic-bezier(0.34, 1.4, 0.64, 1), color 0.3s ease, filter 0.3s ease !important;
}

/* Векторная полоса форсажа и золотое пламя сопла */
.werdana-plane-afterburner {
  position: absolute !important;
  left: -8px !important;
  bottom: -8px !important;
  width: 24px !important;
  height: 24px !important;
  pointer-events: none !important;
  overflow: visible !important;
}

.werdana-afterburner-flame {
  stroke: #0284C7 !important;
  stroke-dasharray: 20 !important;
  stroke-dashoffset: 20 !important;
  opacity: 0 !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.werdana-afterburner-glow {
  fill: #FFD200 !important;
  opacity: 0 !important;
  transform: scale(0.3) !important;
  transform-origin: 10px 14px !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ==========================================================================
   ОТКРЫТОЕ СОСТОЯНИЕ: body.werdana-menu-open / .btn-active
   ========================================================================== */
body.werdana-menu-open .werdana-airplane-menu-btn,
html.werdana-menu-open .werdana-airplane-menu-btn,
.werdana-airplane-menu-btn.btn-active {
  background: #E0F2FE !important;
  border-color: #0284C7 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.22) !important;
}

/* Смена надписи: МЕНЮ скрыто ➔ ЗАКРЫТЬ показано */
body.werdana-menu-open .werdana-plane-label .werdana-label-menu,
html.werdana-menu-open .werdana-plane-label .werdana-label-menu,
.werdana-airplane-menu-btn.btn-active .werdana-plane-label .werdana-label-menu {
  display: none !important;
}

body.werdana-menu-open .werdana-plane-label .werdana-label-close,
html.werdana-menu-open .werdana-plane-label .werdana-label-close,
.werdana-airplane-menu-btn.btn-active .werdana-plane-label .werdana-label-close {
  display: inline-block !important;
}

/* Взлёт самолётика: носом кверху (крутой тангаж ~68°) */
body.werdana-menu-open .werdana-plane-svg,
html.werdana-menu-open .werdana-plane-svg,
.werdana-airplane-menu-btn.btn-active .werdana-plane-svg {
  transform: translate(1px, -3px) rotate(-22deg) scale(1.18) !important;
  color: #0284C7 !important;
  stroke: #0284C7 !important;
  filter: drop-shadow(0 0 6px rgba(2, 132, 199, 0.6)) !important;
}

/* Включение форсажа (огненный шлейф и золотое свечение) */
body.werdana-menu-open .werdana-afterburner-flame,
html.werdana-menu-open .werdana-afterburner-flame,
.werdana-airplane-menu-btn.btn-active .werdana-afterburner-flame {
  opacity: 1 !important;
  stroke-dashoffset: 0 !important;
}

body.werdana-menu-open .werdana-afterburner-glow,
html.werdana-menu-open .werdana-afterburner-glow,
.werdana-airplane-menu-btn.btn-active .werdana-afterburner-glow {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* ==========================================================================
   ВЫПАДАЮЩЕЕ МЕНЮ ПОД ШАПКОЙ (SLIDE DOWN DROPDOWN)
   ========================================================================== */
.werdana-mobile-dropdown {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  background: #ffffff !important;
  border-bottom-left-radius: 24px !important;
  border-bottom-right-radius: 24px !important;
  box-shadow: 0 16px 40px rgba(11, 28, 48, 0.22) !important;
  border-bottom: 2px solid #E2E8F0 !important;
  max-height: calc(100vh - 65px) !important;
  max-height: calc(100dvh - 65px) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 10 !important;
  transform: translate3d(0, -15px, 0) !important;
  -webkit-transform: translate3d(0, -15px, 0) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.35s !important;
  display: flex !important;
  flex-direction: column !important;
}

.werdana-mobile-dropdown.active,
body.werdana-menu-open .werdana-mobile-dropdown,
html.werdana-menu-open .werdana-mobile-dropdown {
  transform: translate3d(0, 0, 0) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.werdana-dropdown-content {
  padding: 8px 16px 4px 16px !important;
  flex: 1 1 auto !important;
}

.werdana-dropdown-menu,
.werdana-dropdown-menu ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.werdana-dropdown-menu > li {
  border-bottom: 1px solid #F1F5F9 !important;
  position: relative !important;
}
.werdana-dropdown-menu > li:last-child {
  border-bottom: none !important;
}

.werdana-dropdown-menu > li > a {
  display: flex !important;
  align-items: center !important;
  padding: 13px 8px !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0B1C30 !important;
  text-decoration: none !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.werdana-dropdown-menu > li.current-menu-item > a,
.werdana-dropdown-menu > li > a:hover,
.werdana-dropdown-menu > li > a:active {
  color: #006194 !important;
  background: #F0F9FF !important;
  padding-left: 14px !important;
}

/* Вложенные подменю в выпадающем блоке */
.werdana-dropdown-menu .sub-menu {
  display: none;
  background: #F8FAFC !important;
  border-radius: 12px !important;
  padding: 4px 0 6px 16px !important;
  margin: 0 0 8px 0 !important;
  border-left: 3px solid #0284C7 !important;
}
.werdana-dropdown-menu .sub-menu li a {
  display: block !important;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
}
.werdana-dropdown-menu .sub-menu li a:hover {
  color: #006194 !important;
}

.werdana-dropdown-menu .werdana-sub-toggle {
  position: absolute !important;
  right: 0 !important;
  top: 6px !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #64748B !important;
  font-size: 15px !important;
}

.werdana-dropdown-menu li.submenu-open > .werdana-sub-toggle {
  transform: rotate(180deg) !important;
  color: #006194 !important;
}

/* Нижняя кнопка Telegram в выпадающем меню */
.werdana-dropdown-footer {
  padding: 10px 16px 16px 16px !important;
  background: #FAFAFA !important;
  border-top: 1px solid #F1F5F9 !important;
  border-bottom-left-radius: 24px !important;
  border-bottom-right-radius: 24px !important;
}

.werdana-dropdown-telegram-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #006194 0%, #0284C7 100%) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-weight: 800 !important;
  font-size: 13.5px !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-sizing: border-box !important;
}

.werdana-dropdown-telegram-btn:hover,
.werdana-dropdown-telegram-btn:active {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.38) !important;
  color: #ffffff !important;
}

/* Затемнение фона под выпадающим меню */
.werdana-dropdown-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(11, 28, 48, 0.55) !important;
  backdrop-filter: blur(3px) !important;
  -webkit-backdrop-filter: blur(3px) !important;
  z-index: 9999990 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.werdana-dropdown-overlay.active,
body.werdana-menu-open .werdana-dropdown-overlay,
html.werdana-menu-open .werdana-dropdown-overlay {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

html.werdana-menu-open,
body.werdana-menu-open {
  overflow: hidden !important;
}

/* ==========================================================================
   TOURMASTER LIGHTBOX (ВХОД / РЕГИСТРАЦИЯ / БРОНИРОВАНИЕ)
   Всегда поверх шапки, меню и всех оверлеев
   ========================================================================== */
.tourmaster-lightbox-wrapper {
  z-index: 1000000000 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

.tourmaster-lightbox-wrapper .tourmaster-lightbox-content-row {
  z-index: 1000000001 !important;
  position: relative !important;
}

.tourmaster-lightbox-wrapper .tourmaster-lightbox-content-cell {
  position: relative !important;
  z-index: 1000000002 !important;
}

.tourmaster-lightbox-wrapper .tourmaster-lightbox-content-wrap {
  position: relative !important;
  z-index: 1000000003 !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
  border-radius: 16px !important;
}

.tourmaster-lightbox-wrapper .tourmaster-lightbox-close {
  z-index: 1000000004 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

@media only screen and (max-width: 999px) {
  .tourmaster-lightbox-wrapper .tourmaster-lightbox-content-cell {
    padding-top: max(24px, env(safe-area-inset-top, 24px)) !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 24px)) !important;
  }
}

/* При активном лайтбоксе Tourmaster мобильное меню и фоновый оверлей скрыты */
html.tourmaster-lightbox-on .werdana-mobile-dropdown,
html.tourmaster-lightbox-on #werdana-dropdown-overlay,
body.tourmaster-lightbox-on .werdana-mobile-dropdown,
body.tourmaster-lightbox-on #werdana-dropdown-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
