/* ============================================================
   eBooking.azea.az — Premium OTA Design System
   Inspired by international OTA standards. 100% original.
   ============================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Brand */
  --navy:        #0d1b2a;
  --navy-mid:    #1b2e45;
  --navy-light:  #243b55;
  --gold:        #c9a84c;
  --gold-light:  #e8c96a;
  --gold-pale:   #f5e9c4;

  /* Neutrals */
  --white:       #ffffff;
  --off-white:   #f7f8fa;
  --gray-50:     #f9fafb;
  --gray-100:    #f1f3f5;
  --gray-200:    #e9ecef;
  --gray-300:    #dee2e6;
  --gray-400:    #ced4da;
  --gray-500:    #adb5bd;
  --gray-600:    #6c757d;
  --gray-700:    #495057;
  --gray-800:    #343a40;
  --gray-900:    #212529;

  /* Status */
  --green:       #16a34a;
  --green-light: #dcfce7;
  --red:         #dc2626;
  --red-light:   #fee2e2;
  --orange:      #ea580c;
  --orange-light:#ffedd5;
  --blue:        #2563eb;
  --blue-light:  #dbeafe;
  --yellow:      #ca8a04;
  --yellow-light:#fef9c3;

  /* Radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.14);
  --shadow-xl:  0 16px 60px rgba(0,0,0,.18);

  /* Transitions */
  --t-fast:   all 0.15s ease;
  --t-normal: all 0.25s ease;
  --t-slow:   all 0.4s ease;

  /* Layout */
  --container: 1240px;
  --navbar-h:  68px;
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ─── CONTAINER ──────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────────── */
.text-navy   { color: var(--navy); }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--gray-600); }
.text-center { text-align: center; }
.text-sm     { font-size: 0.85rem; }
.text-xs     { font-size: 0.75rem; }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }
.accent      { color: var(--gold); }

/* ─── NAVBAR ─────────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy);
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.4); }
.navbar .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/* Logo / Brand Mark */
.navbar-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  white-space: nowrap;
  letter-spacing: -0.5px;
  flex-shrink: 0;
  line-height: 1;
}
.navbar-logo span { color: var(--gold); }
.navbar-logo small {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px;
  line-height: 1;
}
/* Text-based brand mark "eBooking." */
.brand-mark {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  font-family: var(--font);
}
.brand-dot {
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 0;
  vertical-align: -2px;
}

/* Desktop nav */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: .5rem;
}
.navbar-nav a {
  color: rgba(255,255,255,.82);
  font-size: .83rem;
  font-weight: 500;
  padding: .4rem .75rem;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
  white-space: nowrap;
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.navbar-nav a.nav-highlight {
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.35);
}
.navbar-nav a.nav-highlight:hover { background: rgba(201,168,76,.12); }

/* Navbar right side */
.navbar-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}

/* Language / currency */
.lang-switcher, .currency-switcher {
  display: flex;
  gap: 2px;
}
.lang-btn, .curr-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.75);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: var(--t-fast);
}
.lang-btn:hover, .lang-btn.active,
.curr-btn:hover, .curr-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Auth buttons in navbar */
.btn-nav-login {
  color: rgba(255,255,255,.82);
  font-size: .83rem;
  font-weight: 600;
  padding: .4rem .9rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--t-fast);
}
.btn-nav-login:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-nav-register {
  background: var(--gold);
  color: var(--navy);
  font-size: .83rem;
  font-weight: 700;
  padding: .4rem 1rem;
  border-radius: var(--r-sm);
  transition: var(--t-fast);
}
.btn-nav-register:hover { background: var(--gold-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t-normal);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
}
.mobile-drawer.open { display: block; }
.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--white);
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-600);
  margin-bottom: .5rem;
}
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-nav a {
  display: block;
  padding: .8rem 1rem;
  border-radius: var(--r-md);
  color: var(--gray-800);
  font-weight: 500;
  font-size: .95rem;
  transition: var(--t-fast);
}
.drawer-nav a:hover { background: var(--gray-100); color: var(--navy); }
.drawer-nav a.active { background: var(--gold-pale); color: var(--navy); font-weight: 700; }
.drawer-divider { height: 1px; background: var(--gray-200); margin: .5rem 0; }
.drawer-section-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 0 1rem;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1a3a5c 100%);
  padding: 64px 1.5rem 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(201,168,76,.14) 0%, transparent 50%),
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.05) 0%, transparent 45%),
    radial-gradient(circle at 55% 80%, rgba(201,168,76,.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,.18);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--r-full);
  margin-bottom: 1.2rem;
  letter-spacing: .4px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}
.hero h1 .highlight { color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}

/* Search Tabs */
.search-tabs {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-bottom: 0;
  background: rgba(0,0,0,.25);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  padding: 6px 6px 0;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.search-tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  transition: var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.search-tab.active, .search-tab:hover {
  background: var(--white);
  color: var(--navy);
}

/* Search Box */
.search-box {
  background: var(--white);
  border-radius: 0 var(--r-lg) var(--r-lg) var(--r-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: .75rem;
  align-items: end;
  max-width: 820px;
  margin: 0 auto;
}
.search-field { display: flex; flex-direction: column; gap: 4px; }
.search-field label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: .6rem .9rem;
  transition: var(--t-fast);
  background: var(--white);
  min-height: 48px;
}
.search-input-wrap:focus-within {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,42,.08);
}
.search-input-wrap .icon {
  color: var(--gray-400);
  font-size: 1rem;
  flex-shrink: 0;
}
.search-input-wrap input, .search-input-wrap select {
  border: none;
  outline: none;
  font-size: .92rem;
  color: var(--gray-800);
  background: transparent;
  width: 100%;
  min-width: 0;
}
.search-input-wrap input::placeholder { color: var(--gray-400); }
.search-divider {
  width: 1px;
  height: 32px;
  background: var(--gray-200);
  align-self: center;
}
.btn-search {
  background: var(--gold);
  color: var(--navy);
  border: none;
  font-size: .92rem;
  font-weight: 800;
  padding: 0 1.6rem;
  height: 48px;
  border-radius: var(--r-md);
  transition: var(--t-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-search:hover { background: var(--gold-light); }

/* Guest Selector Popup */
.guest-selector-wrap { position: relative; }
.guest-display {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .92rem;
  color: var(--gray-800);
  user-select: none;
}
.guest-popup {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1rem;
  width: 280px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
}
.guest-popup.open { display: block; }
.guest-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.guest-row:last-child { border-bottom: none; }
.guest-row-label { font-size: .9rem; color: var(--gray-800); }
.guest-row-sub { font-size: .75rem; color: var(--gray-500); }
.guest-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}
.guest-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background: transparent;
  font-size: 1.1rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t-fast);
}
.guest-btn:hover:not(:disabled) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.guest-btn:disabled { opacity: .35; cursor: default; }
.guest-count { font-weight: 700; min-width: 20px; text-align: center; }
.guest-popup-close {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--r-md);
  padding: .55rem;
  font-size: .88rem;
  font-weight: 700;
  margin-top: .75rem;
  transition: var(--t-fast);
}
.guest-popup-close:hover { background: var(--navy-mid); }

/* ─── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 4.5rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 6rem 0; }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--navy); color: var(--white); }
.section-navy { background: var(--navy); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: .4rem;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p { color: var(--gray-600); font-size: 1rem; }
.section-dark .section-header p { color: rgba(255,255,255,.6); }
.section-header .section-link {
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
  margin-top: .5rem;
  display: inline-block;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}
.section-top h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
}
.section-top .see-all {
  color: var(--gold);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── DESTINATION CARDS ──────────────────────────────────────── */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}
.dest-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: var(--t-normal);
}
.dest-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.dest-card-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}
.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,.75) 0%, transparent 55%);
}
.dest-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: .75rem;
}
.dest-city {
  font-size: .88rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.dest-count { font-size: .72rem; color: rgba(255,255,255,.7); }

/* ─── CATEGORY GRID ──────────────────────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: .75rem;
}
.category-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.25rem .75rem;
  text-align: center;
  transition: var(--t-normal);
  cursor: pointer;
  color: var(--gray-800);
}
.category-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.category-icon { font-size: 2rem; margin-bottom: .4rem; display: block; }
.category-label { font-size: .78rem; font-weight: 600; color: var(--navy); }

/* ─── LISTING CARDS ──────────────────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.listings-grid-3 { grid-template-columns: repeat(3, 1fr); }
.listings-grid-4 { grid-template-columns: repeat(4, 1fr); }

.listing-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--t-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--gray-200);
}
.listing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}

.listing-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.listing-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.listing-img-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.listing-rating-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--r-sm);
}

.listing-body {
  padding: 1.1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.listing-cat {
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .7px;
  margin-bottom: .3rem;
}
.listing-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .35rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-loc {
  font-size: .8rem;
  color: var(--gray-600);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.listing-stars { color: var(--gold); font-size: .78rem; }
.listing-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: .6rem;
  font-size: .8rem;
  color: var(--gray-600);
}
.listing-rating-num {
  background: var(--green);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--r-sm);
}
.listing-amenities {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: .75rem;
}
.listing-amenity {
  font-size: .72rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.listing-price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid var(--gray-100);
  gap: .5rem;
}
.listing-price-block {}
.listing-old-price {
  font-size: .75rem;
  text-decoration: line-through;
  color: var(--gray-400);
  display: block;
}
.listing-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.listing-price .currency { font-size: .78rem; font-weight: 600; color: var(--gray-600); }
.listing-price-note { font-size: .7rem; color: var(--gray-500); }
.listing-cta { flex-shrink: 0; }

/* Horizontal listing card (for results page) */
.listing-card-h {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--t-normal);
  margin-bottom: 1rem;
}
.listing-card-h:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.listing-card-h .listing-img {
  height: 100%;
  min-height: 200px;
}
.listing-card-h .listing-body { padding: 1.25rem 1.25rem 1.25rem 1.25rem; }
.listing-card-h .listing-price-row { flex-direction: column; align-items: flex-end; }

/* ─── BADGES ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.badge-featured  { background: var(--gold-light); color: var(--navy); }
.badge-local     { background: var(--navy); color: var(--white); }
.badge-partner   { background: var(--gold); color: var(--navy); }
.badge-affiliate { background: #7c3aed; color: var(--white); }
.badge-esim      { background: #0891b2; color: var(--white); }
.badge-demo      { background: var(--orange); color: var(--white); }
.badge-new       { background: var(--green); color: var(--white); }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
}
.status-pending    { background: var(--yellow-light); color: var(--yellow); }
.status-confirmed  { background: var(--green-light);  color: var(--green);  }
.status-paid       { background: var(--green-light);  color: var(--green);  }
.status-cancelled  { background: var(--red-light);    color: var(--red);    }
.status-refunded   { background: var(--blue-light);   color: var(--blue);   }
.status-failed     { background: var(--red-light);    color: var(--red);    }
.status-draft      { background: var(--gray-100);     color: var(--gray-600); }
.status-processing { background: var(--blue-light);   color: var(--blue);   }
.status-completed  { background: var(--green-light);  color: var(--green);  }
.status-pending-supplier { background: var(--yellow-light); color: var(--yellow); }
.status-price-changed    { background: var(--orange-light); color: var(--orange); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: .6rem 1.3rem;
  border-radius: var(--r-md);
  font-size: .88rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary  { background: var(--gold);   color: var(--navy);  }
.btn-primary:hover { background: var(--gold-light); }
.btn-navy     { background: var(--navy);   color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-outline  { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { border: 2px solid rgba(255,255,255,.4); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); }
.btn-ghost    { background: var(--gray-100); color: var(--gray-800); }
.btn-ghost:hover { background: var(--gray-200); }
.btn-green    { background: #25d366; color: var(--white); }
.btn-green:hover { background: #1ebe59; }
.btn-red      { background: var(--red); color: var(--white); }
.btn-red:hover { background: #b91c1c; }
.btn-sm  { padding: .4rem .9rem; font-size: .82rem; border-radius: var(--r-sm); }
.btn-lg  { padding: .8rem 1.8rem; font-size: 1rem; }
.btn-xl  { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 1rem; }
.form-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-700);
}
.form-label .req { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: .62rem .9rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .92rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--t-fast);
  outline: none;
}
.form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,27,42,.07); }
.form-control.is-invalid { border-color: var(--red); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236c757d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-hint { font-size: .75rem; color: var(--gray-500); }
.form-error { font-size: .78rem; color: var(--red); }
.form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* ─── FILTER SIDEBAR ─────────────────────────────────────────── */
.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
}
.filter-sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + 16px);
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.filter-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-header h3 { font-size: .95rem; font-weight: 700; color: var(--navy); }
.filter-clear { font-size: .78rem; color: var(--gold); font-weight: 600; background: none; border: none; cursor: pointer; }
.filter-section { padding: 1rem 1.25rem; border-bottom: 1px solid var(--gray-100); }
.filter-section:last-child { border-bottom: none; }
.filter-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: .75rem;
}
.filter-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .5rem;
  cursor: pointer;
}
.filter-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.filter-check-label { font-size: .85rem; color: var(--gray-700); }
.filter-check-count { font-size: .75rem; color: var(--gray-500); margin-left: auto; }

/* Price range */
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-input {
  padding: .45rem .7rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: .85rem;
  width: 100%;
  outline: none;
}
.price-input:focus { border-color: var(--navy); }

/* Stars filter */
.star-filter { display: flex; flex-direction: column; gap: 6px; }
.star-option { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.star-option-stars { color: var(--gold); font-size: .9rem; }

/* Filter Drawer (Mobile) */
.filter-drawer-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: .5rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
}
.filter-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
}
.filter-drawer.open { display: block; }
.filter-drawer-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  max-height: 85vh;
  overflow-y: auto;
  padding: 1.25rem 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform .3s ease;
}
.filter-drawer.open .filter-drawer-panel { transform: translateY(0); }
.filter-drawer-handle {
  width: 40px;
  height: 4px;
  background: var(--gray-300);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}

/* ─── RESULTS PAGE ───────────────────────────────────────────── */
.results-sticky-bar {
  position: sticky;
  top: var(--navbar-h);
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: .75rem 0;
  box-shadow: var(--shadow-xs);
}
.results-bar-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.results-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: .85rem;
}
.results-sort select {
  border: 2px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: .35rem .7rem;
  font-size: .83rem;
  color: var(--gray-800);
  background: var(--white);
  outline: none;
  cursor: pointer;
}
.results-count {
  font-size: .88rem;
  color: var(--gray-600);
}
.results-count strong { color: var(--navy); }

/* ─── PROPERTY DETAIL ────────────────────────────────────────── */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: start;
}
.detail-gallery {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.gallery-main {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  position: relative;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 4px;
}
.gallery-thumb {
  height: 80px;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--t-fast);
  opacity: .7;
}
.gallery-thumb:hover { opacity: 1; }
.gallery-placeholder-label {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,.5);
  color: rgba(255,255,255,.7);
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: var(--r-full);
}
.detail-header { margin-bottom: 1.25rem; }
.detail-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: .5rem;
  line-height: 1.25;
}
.detail-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--gray-600);
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-score {
  background: var(--green);
  color: var(--white);
  font-size: .8rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--r-sm);
}
.detail-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 1.5rem;
}
.detail-tab {
  padding: .65rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-600);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--t-fast);
}
.detail-tab.active, .detail-tab:hover { color: var(--navy); border-bottom-color: var(--navy); }
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--gray-700);
  padding: .4rem .6rem;
  border-radius: var(--r-sm);
  background: var(--gray-50);
}
.detail-section { margin-bottom: 2rem; }
.detail-section h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gray-100);
}
.map-placeholder {
  height: 200px;
  background: var(--gray-100);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: .88rem;
}
.map-placeholder .map-icon { font-size: 2.5rem; }

/* Room cards */
.room-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: var(--t-normal);
}
.room-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.room-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1.25rem;
  align-items: center;
}
.room-name { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.room-features { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: .5rem; }
.room-feature {
  font-size: .75rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.room-cancellation { font-size: .78rem; color: var(--green); font-weight: 600; }
.room-price-block { text-align: right; }
.room-old-price { font-size: .78rem; text-decoration: line-through; color: var(--gray-400); }
.room-price { font-size: 1.4rem; font-weight: 900; color: var(--navy); }
.room-price small { font-size: .75rem; font-weight: 400; color: var(--gray-600); }

/* Booking sidebar */
.booking-sidebar {
  position: sticky;
  top: calc(var(--navbar-h) + 16px);
}
.booking-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.booking-card-header {
  background: var(--navy);
  padding: 1.25rem 1.5rem;
  text-align: center;
}
.booking-card-header .price-from { font-size: .78rem; color: rgba(255,255,255,.55); }
.booking-card-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.booking-card-price small {
  font-size: .85rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
}
.booking-card-old {
  text-decoration: line-through;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}
.booking-card-body { padding: 1.25rem 1.5rem; }
.booking-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .55rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .88rem;
}
.booking-summary-row:last-child { border-bottom: none; }
.booking-summary-label { color: var(--gray-600); }
.booking-summary-val { font-weight: 600; color: var(--navy); }
.booking-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
  border-top: 2px solid var(--gray-200);
  margin-top: .25rem;
}
.booking-total-label { font-weight: 700; color: var(--navy); }
.booking-total-val { font-size: 1.2rem; font-weight: 900; color: var(--navy); }
.booking-trust {
  text-align: center;
  font-size: .75rem;
  color: var(--gray-500);
  margin-top: .75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Mobile sticky bar on property page */
.mobile-book-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: .75rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mobile-book-price { font-size: 1.2rem; font-weight: 900; color: var(--navy); }
.mobile-book-price small { font-size: .75rem; font-weight: 400; color: var(--gray-600); }

/* ─── BOOKING FLOW ───────────────────────────────────────────── */
.booking-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
}
.booking-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-400);
}
.booking-step.active { color: var(--navy); }
.booking-step.done { color: var(--green); }
.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.booking-step.active .step-num { border-color: var(--navy); background: var(--navy); color: var(--white); }
.booking-step.done .step-num { border-color: var(--green); background: var(--green); color: var(--white); }
.step-connector {
  width: 60px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 8px;
}
.step-connector.done { background: var(--green); }
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}
.booking-summary-card {
  position: sticky;
  top: calc(var(--navbar-h) + 16px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.booking-summary-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.booking-summary-info { padding: 1.25rem; }
.booking-summary-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.booking-summary-loc { font-size: .82rem; color: var(--gray-600); margin-bottom: 1rem; }
.price-breakdown { border-top: 1px solid var(--gray-200); padding-top: .85rem; }
.price-line {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  margin-bottom: .45rem;
}
.price-line .label { color: var(--gray-600); }
.price-line .val { color: var(--navy); font-weight: 600; }
.price-total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  border-top: 2px solid var(--gray-200);
  padding-top: .75rem;
  margin-top: .5rem;
}
.confirmation-box {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.confirmation-icon { font-size: 4rem; margin-bottom: 1rem; }
.confirmation-code {
  background: var(--navy);
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: .65rem 1.5rem;
  border-radius: var(--r-md);
  display: inline-block;
  margin: 1rem 0;
}

/* ─── ESIM SECTION ───────────────────────────────────────────── */
.esim-section { background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%); padding: 5rem 0; }
.esim-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-top: 2rem; }
.esim-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  text-align: center;
  transition: var(--t-normal);
}
.esim-card:hover { background: rgba(255,255,255,.14); border-color: var(--gold); transform: translateY(-3px); }
.esim-flag { font-size: 2.5rem; margin-bottom: .5rem; }
.esim-country { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .25rem; }
.esim-plans { font-size: .75rem; color: rgba(255,255,255,.55); margin-bottom: .5rem; }
.esim-price { font-size: 1.25rem; font-weight: 800; color: var(--gold); margin: .6rem 0; }

/* ─── TRUST / WHY SECTION ────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.5rem; }
.trust-item { text-align: center; padding: 1.5rem 1rem; }
.trust-icon { font-size: 2.5rem; margin-bottom: .75rem; display: block; }
.trust-item h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.trust-item p { font-size: .82rem; color: var(--gray-600); line-height: 1.5; }

/* ─── CTA BLOCKS ─────────────────────────────────────────────── */
.cta-block {
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
}
.cta-block h3 { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: .5rem; }
.cta-block p { color: var(--gray-600); margin-bottom: 1.5rem; font-size: .95rem; }
.cta-navy {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border-color: transparent;
}
.cta-navy h3 { color: var(--white); }
.cta-navy p { color: rgba(255,255,255,.65); }
.cta-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #a8832a 100%);
  color: var(--navy);
  border-color: transparent;
}

/* ─── VENDOR PROPERTY LISTING CTA ───────────────────────────── */
.list-property-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* ─── NEWSLETTER ─────────────────────────────────────────────── */
.newsletter-form {
  display: flex;
  gap: .5rem;
  max-width: 420px;
  margin: 1.25rem auto 0;
}
.newsletter-input {
  flex: 1;
  padding: .65rem 1rem;
  border: none;
  border-radius: var(--r-md);
  font-size: .92rem;
  outline: none;
}

/* ─── ADMIN / VENDOR PANEL ───────────────────────────────────── */
.panel-wrap { min-height: 100vh; background: var(--gray-50); display: flex; flex-direction: column; }
.panel-header {
  background: var(--navy);
  padding: 0 1.5rem;
  height: var(--navbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.panel-logo { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.panel-logo span { color: var(--gold); }
.panel-user { font-size: .82rem; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: .75rem; }
.panel-body { display: flex; flex: 1; }
.panel-sidebar {
  width: 240px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 1.25rem 0;
  flex-shrink: 0;
  position: sticky;
  top: var(--navbar-h);
  height: calc(100vh - var(--navbar-h));
  overflow-y: auto;
}
.panel-nav-section {
  padding: 0 .75rem;
  margin-bottom: .25rem;
}
.panel-nav-label {
  font-size: .68rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: .75rem .5rem .25rem;
}
.panel-nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: .6rem .75rem;
  border-radius: var(--r-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--t-fast);
  margin-bottom: 2px;
}
.panel-nav a:hover { background: var(--gray-100); color: var(--navy); }
.panel-nav a.active { background: var(--gold-pale); color: var(--navy); font-weight: 700; }
.panel-nav a .nav-icon { font-size: 1rem; flex-shrink: 0; width: 18px; text-align: center; }
.panel-main {
  flex: 1;
  padding: 2rem;
  min-width: 0;
}
.page-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.75rem;
}
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

/* Stats grid */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon-navy { background: var(--navy); }
.stat-icon-gold  { background: var(--gold-pale); }
.stat-icon-green { background: var(--green-light); }
.stat-icon-blue  { background: var(--blue-light); }
.stat-num { font-size: 1.6rem; font-weight: 900; color: var(--navy); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--gray-600); margin-top: 3px; }

/* Tables */
.data-table-wrap { background: var(--white); border-radius: var(--r-xl); border: 1px solid var(--gray-200); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  background: var(--gray-50);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .4px;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}
.data-table td {
  padding: .85rem 1rem;
  font-size: .88rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--gray-50); }
.table-actions { display: flex; gap: 6px; }

/* Integration status cards */
.integration-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.integration-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.integration-icon { font-size: 1.5rem; flex-shrink: 0; }
.integration-name { font-size: .92rem; font-weight: 700; color: var(--navy); }
.integration-desc { font-size: .78rem; color: var(--gray-600); margin-bottom: .5rem; }
.integration-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.int-connected    { background: var(--green-light);  color: var(--green);  }
.int-pending      { background: var(--yellow-light); color: var(--yellow); }
.int-error        { background: var(--red-light);    color: var(--red);    }
.int-disabled     { background: var(--gray-100);     color: var(--gray-500); }
.integration-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green  { background: var(--green);  }
.dot-yellow { background: var(--yellow); }
.dot-red    { background: var(--red);    }
.dot-gray   { background: var(--gray-400); }

/* ─── ALERTS ─────────────────────────────────────────────────── */
.alert {
  padding: .85rem 1rem;
  border-radius: var(--r-md);
  font-size: .88rem;
  border: 1px solid transparent;
  margin-bottom: 1rem;
}
.alert-success { background: var(--green-light); border-color: #bbf7d0; color: #166534; }
.alert-error   { background: var(--red-light);   border-color: #fecaca; color: #991b1b; }
.alert-warning { background: var(--yellow-light); border-color: #fde68a; color: #92400e; }
.alert-info    { background: var(--blue-light);  border-color: #bfdbfe; color: #1e40af; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand {}
.footer-logo { font-size: 1.25rem; font-weight: 900; color: var(--white); margin-bottom: .5rem; line-height: 1; }
.footer-logo span { color: var(--gold); }
.footer-logo .brand-mark { font-size: 1.25rem; }
.footer-logo .brand-dot { font-size: 1.6rem; }
.footer-tagline { font-size: .82rem; margin-bottom: 1.25rem; line-height: 1.6; max-width: 260px; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--t-fast);
  color: var(--white);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-col h4 {
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col li a {
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  transition: var(--t-fast);
}
.footer-col li a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-payment-icons { display: flex; gap: 8px; }
.payment-icon {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: .7rem;
  color: rgba(255,255,255,.6);
  font-weight: 700;
}

/* ─── SKELETON LOADERS ───────────────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: var(--r-sm);
}
.skeleton-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.skeleton-img { height: 200px; }
.skeleton-body { padding: 1.1rem; }
.skeleton-line { height: 12px; margin-bottom: 8px; }
.skeleton-line-sm { height: 10px; width: 60%; }

/* ─── EMPTY STATES ───────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}
.empty-icon, .empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .5; }
.empty-state h3, .empty-state-title { font-size: 1.1rem; font-weight: 700; color: var(--gray-700); margin-bottom: .4rem; }
.empty-state p, .empty-state-desc { font-size: .88rem; margin-bottom: 1.25rem; }
.results-main { min-width: 0; }

/* ─── COOKIE CONSENT ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { flex: 1; font-size: .82rem; color: rgba(255,255,255,.8); min-width: 200px; }
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; flex-shrink: 0; }

/* ─── PAGINATION ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 1.5rem 0;
}
.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: var(--t-fast);
}
.page-btn:hover { border-color: var(--navy); color: var(--navy); }
.page-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.page-btn.disabled { opacity: .4; cursor: default; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Mobile sticky bottom bar (listing page) */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--navy);
  padding: .85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25);
}

/* Responsive display helpers */
@media (min-width: 769px) {
  .d-md-none { display: none !important; }
  .mobile-sticky-bar { display: none !important; }
}
@media (max-width: 768px) {
  .d-none { display: none !important; }
  .d-md-flex { display: flex !important; }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .destinations-grid { grid-template-columns: repeat(3, 1fr); }
  .listings-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .results-layout { grid-template-columns: 240px 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .navbar-right .btn-nav-login, .navbar-right .btn-nav-register { display: none; }
  .hamburger { display: flex; }

  .search-box { grid-template-columns: 1fr; }
  .search-divider { display: none; }
  .btn-search { width: 100%; justify-content: center; }

  .results-layout { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .filter-drawer-btn { display: flex; }

  .detail-layout { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .mobile-book-bar { display: flex; }
  body.detail-page { padding-bottom: 80px; }

  .listing-card-h { grid-template-columns: 1fr; }
  .listing-card-h .listing-img { height: 200px; }

  .booking-layout { grid-template-columns: 1fr; }
  .booking-summary-card { position: static; }

  .list-property-cta { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --navbar-h: 60px; }

  .section { padding: 3rem 0; }
  .section-lg { padding: 3.5rem 0; }
  .hero { padding: 48px 1.25rem 60px; }

  .search-tabs { width: 100%; overflow-x: auto; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .search-tab { padding: .45rem .9rem; font-size: .8rem; }
  .search-box { border-radius: 0 0 var(--r-lg) var(--r-lg); }

  .destinations-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .listings-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .listings-grid-3, .listings-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-main { height: 260px; font-size: 5rem; }
  .gallery-thumbs { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .panel-sidebar { display: none; }
  .panel-main { padding: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }

  .booking-steps { gap: 4px; }
  .step-connector { width: 30px; }
  .step-num { width: 24px; height: 24px; font-size: .7rem; }
  .booking-step span:not(.step-num) { display: none; }
}

@media (max-width: 540px) {
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid-3, .listings-grid-4 { grid-template-columns: 1fr; }
  .esim-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .page-title-row { flex-direction: column; align-items: flex-start; }
  .results-bar-inner { flex-direction: column; align-items: flex-start; }
  .results-sort { margin-left: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .cookie-banner { flex-direction: column; }
  .newsletter-form { flex-direction: column; }

  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
  .gallery-main { height: 220px; font-size: 4rem; }
  .amenities-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .navbar-logo { font-size: 1.1rem; }
}

/* ─── FLIGHT SEARCH PANEL ────────────────────────────────────── */
#tab-flights {
  grid-template-columns: 1fr auto 1fr 1fr 1fr auto;
}
#tab-flights input[name="from"],
#tab-flights input[name="to"] {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}
@media (max-width: 900px) {
  #tab-flights { grid-template-columns: 1fr 1fr; }
  #tab-flights > div:nth-child(2) { display: none; }
}
@media (max-width: 540px) {
  #tab-flights { grid-template-columns: 1fr 1fr; }
}

/* ─── PREMIUM LISTING CARD IMAGE ─────────────────────────────── */
.listing-img-placeholder {
  position: relative;
}
.listing-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35) 0%, transparent 60%);
}

/* ─── HERO STATS BAR ─────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 2px;
}
.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.12);
}

/* ─── CATEGORY CARD PREMIUM ──────────────────────────────────── */
.category-card:hover .category-icon {
  transform: scale(1.15);
  display: inline-block;
  transition: transform .2s ease;
}
.category-icon {
  transition: transform .2s ease;
}

/* ─── TRUST GRID PREMIUM ─────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trust-item {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border-radius: var(--r-xl);
  border: 1px solid var(--gray-200);
  transition: var(--t-normal);
}
.trust-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
  transform: translateY(-3px);
}
.trust-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: .75rem;
}
.trust-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.trust-item p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .trust-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-divider { display: none; }
}

/* ─── DEST CARD HOVER ENHANCEMENT ───────────────────────────── */
.dest-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background .2s ease;
  border-radius: inherit;
}
.dest-card:hover::after {
  background: rgba(0,0,0,.1);
}
.dest-card-bg {
  transition: transform .3s ease;
}
.dest-card:hover .dest-card-bg {
  transform: scale(1.05);
}

/* ─── FLIGHT RESULT CARDS ────────────────────────────────────── */
.flight-result-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: .875rem;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
  transition: var(--t-normal);
  box-shadow: var(--shadow-xs);
}
.flight-result-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--navy);
}
.flight-airline-logo {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  flex-shrink: 0;
}
.flight-route {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.flight-time-block { text-align: center; }
.flight-time {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.flight-iata {
  font-size: .72rem;
  color: var(--gray-500);
  font-weight: 600;
  letter-spacing: .5px;
}
.flight-duration-block {
  flex: 1;
  text-align: center;
}
.flight-duration-line {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.flight-line {
  flex: 1;
  height: 2px;
  background: var(--gray-300);
  position: relative;
}
.flight-line::after {
  content: '✈';
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .8rem;
  color: var(--navy);
}
.flight-duration-text {
  font-size: .78rem;
  color: var(--gray-600);
  font-weight: 600;
}
.flight-stops-text {
  font-size: .72rem;
  color: var(--gray-500);
}
.flight-price-block {
  text-align: right;
}
.flight-price-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.flight-price-currency {
  font-size: .78rem;
  color: var(--gray-500);
  font-weight: 600;
}
.flight-price-label {
  font-size: .7rem;
  color: var(--gray-500);
}
@media (max-width: 768px) {
  .flight-result-card {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .flight-route { justify-content: center; }
  .flight-price-block { text-align: center; }
}

/* ─── SANDBOX WARNING ────────────────────────────────────────── */
.sandbox-notice {
  background: linear-gradient(135deg,var(--orange-light),#fff7ed);
  border: 1px solid var(--orange);
  border-radius: var(--r-lg);
  padding: .875rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .85rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
}
.sandbox-notice-icon { font-size: 1.25rem; flex-shrink: 0; }

/* ─── IATA INPUT STYLE ───────────────────────────────────────── */
.iata-input {
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MASTER UPGRADE — eBooking.azea.az
   Breakpoints: 320 / 360 / 390 / 430 / 480 / 640 / 768 / 1024
   ═══════════════════════════════════════════════════════════════ */

/* ─── GLOBAL OVERFLOW GUARD ─────────────────────────────────── */
html { overflow-x: hidden; max-width: 100vw; }
body { overflow-x: hidden; }

/* ─── PREVENT iOS ZOOM ON INPUT FOCUS ───────────────────────── */
input, select, textarea { font-size: max(16px, 1em); }

/* ─── REMOVE TAP HIGHLIGHT ──────────────────────────────────── */
a, button { -webkit-tap-highlight-color: transparent; }

/* ─── VISIBLE FOCUS STATES ──────────────────────────────────── */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ─── CSS VARS: BOTTOM NAV + SAFE AREA ──────────────────────── */
:root {
  --bottom-nav-h: 64px;
}

/* ─── iOS SCROLL LOCK (position:fixed preserves page pos) ───── */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

/* ─── DRAWER — 100dvh ───────────────────────────────────────── */
.drawer-panel {
  height: 100dvh;
}
.filter-drawer-panel {
  max-height: 92dvh;
}
.filter-drawer-panel::-webkit-scrollbar { width: 4px; }
.filter-drawer-panel::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }

/* ─── HAMBURGER — 44px min tap target ──────────────────────── */
.hamburger {
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  border-radius: var(--r-sm);
}

/* ─── SEARCH TABS — NO SCROLLBAR + SNAP ────────────────────── */
.search-tabs {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab { scroll-snap-align: start; flex-shrink: 0; }

/* ─── MOBILE BOTTOM NAVIGATION ──────────────────────────────── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 600;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -2px 16px rgba(0,0,0,.08);
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  align-items: stretch;
  justify-content: space-around;
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 3px;
  padding: 6px 2px;
  color: var(--gray-500);
  font-size: .65rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  min-height: 44px;
  transition: color .15s ease;
}
.bottom-nav-item.active { color: var(--navy); }
.bottom-nav-item:active { color: var(--navy); }
.bottom-nav-icon {
  font-size: 1.25rem;
  line-height: 1;
  display: block;
  transition: transform .15s ease;
}
.bottom-nav-item.active .bottom-nav-icon { transform: translateY(-1px); }
.bottom-nav-label { line-height: 1; white-space: nowrap; }

/* ─── FOOTER ACCORDION (MOBILE) ─────────────────────────────── */
.footer-col-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  cursor: pointer;
  padding: 4px 6px;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: transform .25s ease, color .15s ease;
  flex-shrink: 0;
}
.footer-col.collapsed .footer-col-toggle { transform: rotate(-90deg); }

/* ─── SORT BOTTOM SHEET ─────────────────────────────────────── */
.sort-sheet {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 850;
}
.sort-sheet.open { display: block; }
.sort-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
}
.sort-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 1rem 1.25rem 1.5rem;
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform .3s ease;
}
.sort-sheet.open .sort-sheet-panel { transform: translateY(0); }
.sort-sheet-handle {
  width: 40px; height: 4px;
  background: var(--gray-300);
  border-radius: 2px;
  margin: 0 auto .875rem;
}
.sort-sheet-title {
  font-size: .88rem; font-weight: 700; color: var(--navy);
  text-align: center; margin-bottom: .75rem;
}
.sort-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; border-radius: var(--r-md);
  font-size: .92rem; color: var(--gray-800);
  cursor: pointer; border: none; background: none;
  width: 100%; text-align: left; font-family: inherit;
  transition: background .15s ease;
}
.sort-option:hover { background: var(--gray-100); }
.sort-option.active { background: var(--gold-pale); color: var(--navy); font-weight: 700; }
.sort-option-check { color: var(--green); font-weight: 900; }

/* ─── FILTER APPLY BAR (sticky inside drawer) ───────────────── */
.filter-apply-bar {
  position: sticky;
  bottom: 0;
  background: var(--white);
  padding: .75rem 0 0;
  border-top: 1px solid var(--gray-200);
  margin-top: 1rem;
}

/* ─── ADMIN SIDEBAR TOGGLE ──────────────────────────────────── */
.panel-sidebar-toggle {
  display: none;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  font-size: 1.15rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.panel-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 820;
}
.panel-sidebar-overlay.open { display: block; }

/* ─── RESPONSIVE: 1024px ────────────────────────────────────── */
@media (max-width: 1024px) {
  .navbar-right .currency-switcher { display: none; }
}

/* ─── RESPONSIVE: 900px ─────────────────────────────────────── */
@media (max-width: 900px) {
  .navbar-right .lang-switcher,
  .navbar-right .currency-switcher { display: none; }
}

/* ─── RESPONSIVE: 768px — MAIN MOBILE BREAKPOINT ────────────── */
@media (max-width: 768px) {

  /* Bottom nav visible */
  .mobile-bottom-nav { display: flex; }

  /* Body pad for bottom nav */
  body.has-bottom-nav {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }

  /* Cookie banner sits above bottom nav */
  .cookie-banner {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }

  /* Mobile book bar / sticky bar sit above bottom nav */
  .mobile-book-bar,
  .mobile-sticky-bar {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  }

  /* Footer accordion */
  .footer-col-toggle { display: flex; }
  .footer-col h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
    padding: .5rem 0;
  }
  .footer-col ul {
    overflow: hidden;
    max-height: 320px;
    transition: max-height .3s ease, opacity .25s ease, margin .25s ease;
    opacity: 1;
    margin-top: .75rem;
  }
  .footer-col.collapsed ul {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
  }
  .footer-grid { gap: 1rem; }

  /* Admin sidebar mobile */
  .panel-sidebar-toggle { display: flex; }
  .panel-sidebar {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 850;
    width: min(280px, 85vw);
    height: 100dvh;
    transform: translateX(-100%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-xl);
  }
  .panel-sidebar.open { transform: translateX(0); }

  /* Admin tables scroll */
  .data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { min-width: 560px; }

  /* Buttons */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; }
}

/* ─── RESPONSIVE: 640px ─────────────────────────────────────── */
@media (max-width: 640px) {
  .results-bar-inner { flex-wrap: wrap; }
  .results-sort { margin-left: 0; width: 100%; justify-content: flex-start; }
  #sortSheetBtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--r-md);
    padding: .45rem .85rem;
    font-size: .83rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    min-height: 40px;
  }
}

/* ─── RESPONSIVE: 480px — SMALL PHONES ─────────────────────── */
@media (max-width: 480px) {
  :root { --navbar-h: 56px; }

  .container { padding: 0 .875rem; }
  .section { padding: 2rem 0; }
  .section-sm { padding: 1.25rem 0; }
  .section-lg { padding: 2.5rem 0; }

  .hero { padding: 32px .875rem 44px; }
  .hero h1 { font-size: clamp(1.55rem, 7vw, 2rem); letter-spacing: -.3px; }
  .hero-sub { font-size: .88rem; margin-bottom: 1.5rem; }

  /* Search box stack fully */
  .search-box { grid-template-columns: 1fr !important; }
  .search-tabs { border-radius: var(--r-md) var(--r-md) 0 0; }

  /* Flights panel single column */
  #tab-flights { grid-template-columns: 1fr !important; }
  .iata-input { font-size: .95rem; letter-spacing: 1px; }

  /* Cards: 1 per row */
  .listings-grid { grid-template-columns: 1fr !important; }
  .listing-card-h { grid-template-columns: 1fr; }
  .listing-card-h .listing-img { height: 180px; }
  .listing-body { padding: .875rem; }

  /* Destinations */
  .destinations-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Forms */
  .form-card { padding: 1.1rem; border-radius: var(--r-lg); }
  .confirmation-box { padding: 1.75rem 1rem; }
  .confirmation-code { font-size: 1.1rem; padding: .5rem 1rem; letter-spacing: 1px; }

  /* Booking steps: numbers only */
  .step-connector { width: 20px; }
  .booking-step span:not(.step-num) { display: none; }

  /* Admin */
  .panel-main { padding: .875rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .stat-card { padding: 1rem; }
  .page-title { font-size: 1.1rem; margin-bottom: 1rem; }

  /* Footer bottom */
  .footer-bottom { flex-direction: column; text-align: center; gap: .75rem; }
  .footer-payment-icons { justify-content: center; }
}

/* ─── RESPONSIVE: 360px — VERY SMALL PHONES ────────────────── */
@media (max-width: 360px) {
  .container { padding: 0 .75rem; }
  .navbar-logo { font-size: 1rem; }
  .brand-mark { font-size: 1.1rem; }
  .bottom-nav-label { font-size: .58rem; }
  .bottom-nav-icon { font-size: 1.1rem; }
  .search-tab { padding: .4rem .7rem; font-size: .75rem; }
  .hero h1 { font-size: clamp(1.35rem, 8vw, 1.7rem); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─── RESPONSIVE: 320px — ABSOLUTE MINIMUM ─────────────────── */
@media (max-width: 320px) {
  .container { padding: 0 .625rem; }
  .hero { padding: 24px .625rem 36px; }
  .bottom-nav-item { font-size: .55rem; }
  .bottom-nav-icon { font-size: 1rem; }
  .listings-grid { grid-template-columns: 1fr !important; }
  .destinations-grid { grid-template-columns: 1fr 1fr !important; }
}
