/* ============================================================
   DISCOVER SHARM — CUSTOM STYLES
   ============================================================ */

/* ---------- CSS Variables (Light/Dark themes) ---------- */
:root {
  --bg-body: #f8f7fc;
  --bg-card: #ffffff;
  --border-card: #efeaf7;
  --text-primary: #171029;
  --text-secondary: #8a8399;
  --bg-field: #f8f7fc;
  --border-field: #eee9f8;
  --header-light-bg: #ffffff;
  --chrome-bg: #ffffff;
  --chrome-text: #171029;
  --chrome-text-muted: rgba(23, 16, 41, .5);
  --chrome-text-faint: rgba(23, 16, 41, .32);
  --chrome-shadow: 0 12px 34px rgba(23, 16, 41, .14);
  --chrome-border: rgba(23, 16, 41, .08);
  --chrome-field-bg: rgba(23, 16, 41, .05);
  --hero-fade-mid: rgba(248, 247, 252, .56);
}

html[data-theme="dark"] {
  --bg-body: #0c0918;
  --bg-card: #171029;
  --border-card: #2b2140;
  --text-primary: #f1eef9;
  --text-secondary: #9d94b8;
  --bg-field: #1f1830;
  --border-field: #382a54;
  --header-light-bg: #15101f;
  --chrome-bg: #171029;
  --chrome-text: #ffffff;
  --chrome-text-muted: rgba(255, 255, 255, .62);
  --chrome-text-faint: rgba(255, 255, 255, .3);
  --chrome-shadow: 0 12px 40px rgba(20, 10, 45, .4);
  --chrome-border: rgba(255, 255, 255, .08);
  --chrome-field-bg: rgba(255, 255, 255, .04);
  --hero-fade-mid: rgba(12, 9, 24, .56);
}

/* ---------- Global Reset & Base ---------- */
* {
  font-family: 'Inter', sans-serif;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  transition: background .3s ease, color .3s ease;
}

/* ---------- Scrollbars ---------- */
/* Applies everywhere by default (page, modals, drawers, lists). The
   horizontal swipe galleries (.horizontal-scroll, .results-scroll-snap,
   .gallery-track) already hide their scrollbar on purpose and keep doing
   so — their class-scoped rule is more specific than this one. */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--border-field) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: var(--border-field);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  background-clip: padding-box;
}

.font-display {
  font-family: 'Playfair Display', serif;
}

/* ---------- Dark Scene (hero / splash) ---------- */
.dark-scene {
  position: relative;
  background: linear-gradient(160deg, #171029 0%, #100c1c 55%, #0c0918 100%);
  overflow: hidden;
}

.dark-scene .stars-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .6;
  pointer-events: none;
}

/* ---------- Stars ---------- */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: .2; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

/* ---------- Ambient Orbs ---------- */
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 1;
  opacity: .35;
  mix-blend-mode: screen;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 58, 237, .8) 0%, transparent 70%);
  top: -120px;
  right: -120px;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(251, 191, 36, .5) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

/* ---------- Page Transitions ---------- */
.page {
  display: none;
  min-height: 100vh;
  position: relative;
  z-index: 10;
}

.page.active {
  display: block;
  animation: pageEnter .45s cubic-bezier(.16, 1, .3, 1) forwards;
}

@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, var(--hero-fade-mid) 85%, var(--bg-body) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-text-swap {
  transition: opacity .3s ease;
}

/* ---------- Header ---------- */
.header-floating {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-floating .icon-btn {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
}

.site-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
}

.sticky-header-logo {
  height: 24px;
  width: auto;
}

.header-light {
  background: var(--header-light-bg);
  border-bottom: 1px solid var(--border-card);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  box-shadow: 0 10px 30px -12px rgba(45, 23, 90, .10);
  transition: all .3s ease;
}

.card:hover {
  box-shadow: 0 16px 40px -14px rgba(45, 23, 90, .18);
}

.card-strong {
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 0 20px 55px -18px rgba(45, 23, 90, .25);
}

/* ---------- Search Card ---------- */
.search-card {
  background: var(--bg-card);
  border-radius: 26px;
  box-shadow: 0 25px 60px -18px rgba(20, 10, 45, .35);
  border: 1px solid var(--border-card);
}

.field-box {
  background: var(--bg-field);
  border: 1px solid var(--border-field);
  border-radius: 16px;
}

/* ---------- Form Inputs ---------- */
.input-field,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="time"],
textarea,
select {
  
  border-radius: 14px;
  background: var(--bg-field);
  color: var(--text-primary);
  transition: border-color .2s ease;
}

.input-field:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #fb923c;
}

::placeholder {
  color: var(--text-secondary);
  opacity: .8;
}

.date-field {
  border: 1.5px solid var(--border-field);
  background: var(--bg-field);
  border-radius: 14px;
  cursor: pointer;
}

/* ---------- Bottom Navigation ---------- */
.bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height:50px;
  margin: 0 !important;
  z-index: 9999;
  border-radius: 1rem 1rem 0 0 !important;
  padding: .55rem .7rem;
  background: var(--chrome-bg);
  box-shadow: var(--chrome-shadow);
  transition: background .3s ease, box-shadow .3s ease;
}



/* Hide bottom nav on detail pages */
body:has(#hotelDetailPage.active) .bottom-nav,
body:has(#excursionDetailPage.active) .bottom-nav,
body:has(#transferDetailPage.active) .bottom-nav {
  display: none;
}

.bottom-nav [class*="text-white"],
.sticky-home-header [class*="text-white"] {
  color: var(--chrome-text) !important;
}

.bottom-nav [class*="text-white/"],
.sticky-home-header [class*="text-white/"] {
  color: var(--chrome-text-muted) !important;
}

.nav-item {
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  position: relative;
  cursor: pointer;
  color: var(--chrome-text-muted);
}

.nav-item.active {
  color: #f97316;
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #c2410c);
  box-shadow: 0 0 8px rgba(249, 115, 22, .9);
}

.nav-item[data-page="profile"].active::after {
  display: none;
}

.nav-item-home {
  width: 58px;
  height: 58px;
  margin-top: -30px;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(150deg, #fdba74, #f97316 55%, #c2410c);
  box-shadow: 0 10px 26px -4px rgba(249, 115, 22, .65), 0 0 0 5px #171029;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}

.nav-item-home:active {
  transform: scale(.93);
}

.nav-item-home .nav-home-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.nav-avatar-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdba74, #c2410c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #171029;
  overflow: hidden;
}

.nav-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.nav-item.active .nav-avatar-circle {
  box-shadow: 0 0 0 2px #f97316;
}

/* ---------- Sticky Header ---------- */
.sticky-home-header {
  position: fixed;
  top: .7rem;
  left: 50%;
  transform: translateX(-50%) translateY(-14px);
  width: 92%;
  max-width: 430px;
  z-index: 55;
  border-radius: 22px;
  padding: .6rem .9rem;
  background: var(--chrome-bg);
  box-shadow: var(--chrome-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.16, 1, .3, 1),
    transform .35s cubic-bezier(.16, 1, .3, 1),
    visibility .35s,
    background .3s ease;
}

.sticky-home-header.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 45%, #f59e0b 100%);
  box-shadow: 0 10px 30px -8px rgba(245, 158, 11, .5), inset 0 1px 0 rgba(255, 255, 255, .3);
  border: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 35px -8px rgba(245, 158, 11, .6);
}

.btn-gold:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.btn-violet {
  background: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #c2410c 100%);
  box-shadow: 0 10px 30px -8px rgba(249, 115, 22, .45);
  border: none;
  cursor: pointer;
  color: #fff;
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.btn-violet:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 35px -8px rgba(249, 115, 22, .6);
}

.btn-violet:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

.btn-outline-violet {
  background: var(--bg-card);
  border: 1.5px solid #c2410c;
  color: #a78bfa;
}

.btn-white {
  background: #fff;
  color: #171029;
  border: 1.5px solid #e8e3f4;
  cursor: pointer;
  transition: all .2s;
}

.btn-white:hover {
  background: #f8f7fc;
}

/* ---------- Hotel Cards ---------- */
.hotel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.16, 1, .3, 1);
  box-shadow: 0 8px 24px -14px rgba(45, 23, 90, .15);
}

.hotel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(45, 23, 90, .25);
}

/* ---------- Shimmer Text ---------- */
.shimmer-text {
  background: linear-gradient(90deg, #fbbf24 0%, #fcd34d 50%, #fbbf24 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ---------- Confetti ---------- */
.confetti {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% { transform: translateY(-100vh) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ---------- Toast ---------- */
.toast {
  animation: toastIn .4s cubic-bezier(.16, 1, .3, 1);
}

@keyframes toastIn {
  from { transform: translateY(-100%) scale(.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* ---------- Ripple Effect ---------- */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, .35), transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: transform .6s, opacity .6s;
}

.ripple:active::after {
  transform: scale(2);
  opacity: 1;
  transition: 0s;
}

/* ---------- Promo Banner ---------- */
.promo-banner {
  background: linear-gradient(135deg, #9a3412 0%, #f97316 50%, #c2410c 100%);
  position: relative;
  overflow: hidden;
}

.banner-creative {
  background-size: cover;
  background-position: center;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .35);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 191, 36, .3) 0%, transparent 70%);
  border-radius: 50%;
}

/* ---------- Review Slide ---------- */
.review-slide-card {
  flex-shrink: 0;
  width: 260px;
  border-radius: 22px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-field);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, .12);
}

.review-avatar-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdba74, #c2410c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #171029;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- Payment Methods ---------- */
.payment-methods-card {
  background: var(--bg-card);
  border: 1px solid var(--border-field);
}

.payment-icon-box {
  aspect-ratio: 1.3;
  border-radius: 16px;
  background: var(--bg-field);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--text-secondary);
}

/* ---------- Destination Cards ---------- */
.destination-card {
  flex-shrink: 0;
  width: 144px;
  height: 176px;
  cursor: pointer;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .25);
}

/* ---------- Restaurant Cards ---------- */
.restaurant-card {
  flex-shrink: 0;
  width: 210px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-field);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .15);
}

#restaurantsFullList .restaurant-card {
  width: 100%;
}

/* ---------- Article Cards ---------- */
.article-card {
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-field);
  display: flex;
  gap: 12px;
  padding: 10px;
}

/* ---------- Room Selection ---------- */
.room-option-card {
  border: 2px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}

.room-option-card.room-selected {
  border-color: #f97316;
}

.room-option-card .room-select-check {
  visibility: hidden;
  opacity: 0;
}

.room-option-card.room-selected .room-select-check {
  visibility: visible;
  opacity: 1;
}

/* ---------- Search Tabs ---------- */
.search-tab {
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  color: var(--text-secondary);
}

.search-tab:active {
  transform: scale(.92);
}

/* ---------- Filter Chips ---------- */
.filter-chip {
  transition: all .3s cubic-bezier(.16, 1, .3, 1);
  border: 1px solid var(--border-field);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-chip.active {
  background: linear-gradient(135deg, #fb923c, #c2410c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(124, 58, 237, .5);
}

/* ---------- Stars ---------- */
.star-filled {
  color: #f59e0b;
}

.star-empty {
  color: #453f5c;
}

/* ---------- Badges ---------- */
.badge-bestseller {
  background: linear-gradient(135deg, #171029, #2b2140);
  color: #fbbf24;
}

.rating-pill {
  background: rgba(12, 9, 24, .65);
  backdrop-filter: blur(6px);
}

/* ---------- Horizontal Scroll ---------- */
.horizontal-scroll {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding: .5rem .25rem .75rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

/* ---------- Section Titles ---------- */
.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  margin-bottom: .3rem;
}

.section-subtitle {
  color: #f97316;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .25em;
  margin-bottom: .3rem;
}

/* ---------- Step Indicator ---------- */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all .3s;
}

.step-line {
  width: 46px;
  height: 2px;
  flex-shrink: 0;
}

.step-label {
  font-size: .62rem;
  margin-top: .4rem;
  text-align: center;
  letter-spacing: .02em;
}

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 10, 25, .55);
  backdrop-filter: blur(6px);
}

.modal-content {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 1.5rem;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 30px 70px -20px rgba(20, 10, 45, .4);
  max-height: 85vh;
  overflow-y: auto;
}

/* ---------- Counter Buttons ---------- */
.counter-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--bg-field);
  border: 1px solid var(--border-field);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.counter-btn:hover {
  background: #e8e0fb;
  border-color: #c8b6f0;
}

.counter-btn:active {
  transform: scale(.9);
}

/* ---------- Gallery Dots ---------- */
.gallery-track {
  direction: ltr;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  transition: all .3s;
}

.gallery-dot.active {
  width: 18px;
  border-radius: 4px;
  background: #fbbf24;
}

/* ---------- Side Drawer ---------- */
#sideDrawer {
  position: fixed;
  top: 0;
  height: 100%;
  width: 80%;
  max-width: 300px;
  background: var(--chrome-bg);
  z-index: 95;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), background .3s ease;
  color: var(--chrome-text);
}

html[dir="rtl"] #sideDrawer {
  right: 0;
  transform: translateX(100%);
  box-shadow: -10px 0 40px rgba(0, 0, 0, .25);
}

html[dir="ltr"] #sideDrawer {
  left: 0;
  transform: translateX(-100%);
  box-shadow: 10px 0 40px rgba(0, 0, 0, .25);
}

html[dir="rtl"] #sideDrawer.open,
html[dir="ltr"] #sideDrawer.open {
  transform: translateX(0);
}

#sideDrawer [class*="text-white"] {
  color: var(--chrome-text) !important;
}

#sideDrawer [class*="text-white/"] {
  color: var(--chrome-text-muted) !important;
}

#sideDrawer [class*="bg-white"] {
  background-color: var(--chrome-field-bg) !important;
}

#sideDrawer [class*="border-white"] {
  border-color: var(--chrome-border) !important;
}

#sideDrawer .drawer-link:hover,
#sideDrawer .drawer-link.active-link {
  background: var(--chrome-field-bg);
}

#sideDrawerOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

#sideDrawerOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: 14px;
  color: var(--chrome-text-muted);
  transition: all .2s;
  cursor: pointer;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(139, 92, 246, .15);
  color: #fff;
}

/* ---------- Theme Switch ---------- */
.theme-switch {
  width: 52px;
  height: 28px;
  border-radius: 99px;
  background: #2b2140;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .1);
}

.theme-switch .knob {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcd34d, #f59e0b);
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

html[data-theme="light"] .theme-switch .knob {
  right: 26px;
}

/* ---------- Language Toggle ---------- */
.lang-toggle button {
  flex: 1;
  padding: .5rem;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
}

.lang-toggle button.active {
  background: linear-gradient(135deg, #fb923c, #c2410c);
  color: #fff;
}

.lang-toggle button.lang-btn-neutral {
  color: var(--text-secondary);
}

.lang-toggle button.lang-btn-neutral.active {
  color: #fff;
}

/* ---------- Datepicker ---------- */
#datepickerModal .dp-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

/* ---------- Star Rating Input ---------- */
.star-input i {
  font-size: 1.6rem;
  cursor: pointer;
  color: #453f5c;
  transition: color .15s, transform .15s;
}

.star-input i.active {
  color: #f59e0b;
}

.star-input i:hover {
  transform: scale(1.15);
}

/* ---------- Avatar Upload ---------- */
.avatar-edit-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fb923c, #c2410c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 3px solid var(--bg-body);
  cursor: pointer;
  font-size: .75rem;
}

/* ---------- Kashier Payment Modal ---------- */
.kashier-modal-content {
  background: var(--bg-card);
  border-radius: 24px;
  overflow: hidden;
  width: 92%;
  max-width: 420px;
  box-shadow: 0 30px 70px -20px rgba(20, 10, 45, .4);
}

.kashier-header {
  background: linear-gradient(135deg, #171029, #2b2140);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Cuisine / Fine Dining ---------- */
.lux-cuisine-badge {
  background: rgba(249, 115, 22, .18);
  border: 1px solid rgba(253, 186, 116, .5);
  color: #fdba74;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
}

.lux-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 22px;
}

.lux-divider::before,
.lux-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-field) 50%, transparent);
}

.lux-divider .lux-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  flex-shrink: 0;
}

.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: #ea580c;
  text-align: center;
  margin-bottom: 16px;
}

.menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.menu-item-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
}

.menu-item-leader {
  flex: 1;
  border-bottom: 1.5px dotted var(--border-field);
  margin-bottom: 4px;
  min-width: 12px;
}

.menu-item-price {
  font-weight: 700;
  font-size: 14px;
  color: #ea580c;
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 3px 0 16px;
}

/* ---------- Skeleton Shimmer ---------- */
.skeleton-shimmer {
  background: linear-gradient(90deg,
    var(--bg-field) 25%,
    rgba(150, 150, 170, .18) 37%,
    var(--bg-field) 63%
  );
  background-size: 400% 100%;
  animation: skeletonShimmer 1.4s ease infinite;
}

@keyframes skeletonShimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

/* ============================================================
   SEARCH SYSTEM (New Clean Design)
   ============================================================ */
.search-tab-new {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.search-tab-new i {
  font-size: 15px;
}

.search-tab-new.active {
  background: linear-gradient(135deg, #fb923c, #c2410c);
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(249, 115, 22, .5);
}

.ds-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ds-modal-content {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 20px;
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border-card);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ds-modal-nav-btn {
  background: var(--bg-field);
  border: 1px solid var(--border-field);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all .2s;
}

.ds-modal-nav-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.ds-modal-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ds-modal-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-field);
  border: 1px solid var(--border-field);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 14px;
}

.ds-modal-apply {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #fb923c, #c2410c);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 16px;
}

.ds-guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-field);
}

.ds-guest-row:last-child {
  border-bottom: none;
}

.ds-guest-info-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.ds-guest-info-sub {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.ds-guest-counter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ds-guest-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(249, 115, 22, 0.4);
  background: transparent;
  color: #f97316;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
}

.ds-guest-btn:hover {
  background: rgba(249, 115, 22, 0.15);
}

.ds-guest-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 24px;
  text-align: center;
}

.ds-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
  margin-top: 10px;
}

.ds-cal-hdr {
  font-size: 12px;
  color: var(--text-secondary);
  padding-bottom: 8px;
}

.ds-cal-day {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  color: var(--text-primary);
  transition: all .15s;
}

.ds-cal-day:hover:not(.muted):not(.ds-empty) {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.ds-cal-day.muted {
  color: var(--text-secondary);
  opacity: 0.4;
  cursor: default;
}

.ds-cal-day.today {
  border: 2px solid #f97316;
  border-radius: 12px;
  font-weight: 700;
}

.ds-cal-day.selected {
  background: linear-gradient(135deg, #fb923c, #c2410c);
  color: #fff;
  border-radius: 12px;
  font-weight: bold;
}

.ds-cal-day.in-range {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
  border-radius: 4px;
}

/* أزرار الفئات */
.ds-category-btn {
  padding: 12px;
  border-radius: 12px;
  background: var(--bg-field);
  border: 1px solid var(--border-field);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}

.ds-category-btn:hover {
  background: rgba(249, 115, 22, 0.1);
  border-color: #f97316;
}

.ds-category-btn.active {
  background: linear-gradient(135deg, #fb923c, #c2410c);
  color: #fff;
  border-color: transparent;
}

/* Forms visibility */
.search-form {
  display: none;
}

.search-form.active {
  display: block;
  animation: fadeInUp .4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ CREATIVE CARD (New Design) ============ */
.creative-card {
  transition: all 0.5s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  border-radius: 2rem;
  overflow: hidden;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-top: 1rem;
  cursor: pointer;
}

.creative-card:hover {
  transform: translateY(-6px);
}

.card-image-container {
  position: relative;
  overflow: hidden;
  height: 420px;
  border-radius: 2rem;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2rem;
}

.creative-card:hover .card-image-container img {
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 25%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.02) 100%);
  border-radius: 2rem;
  z-index: 1;
}

.image-overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 100%);
  z-index: 2;
  border-radius: 2rem 2rem 0 0;
}

.share-btn-top {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s;
  font-size: 16px;
}

.share-btn-top:hover {
  background: #FF6B35;
  border-color: #FF6B35;
  transform: scale(1.1);
}

.duration-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #FFA630;
  z-index: 2;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.rating-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.stars-small {
  display: flex;
  gap: 1px;
  font-size: 0.6rem;
  color: #FBBF24;
}

.rating-number {
  font-weight: 600;
  color: white;
  font-size: 0.75rem;
}

.review-count {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  padding-left: 0.3rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.card-action-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.price-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 130px;
}

.price-from {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1px;
  font-weight: 400;
}

.price-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FF6B35;
  line-height: 1.2;
  white-space: nowrap;
  overflow: visible;
}

.price-per-person {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  align-self: flex-end;
}

.book-btn {
  background: linear-gradient(135deg, #FF6B35, #FFA630);
  color: white;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
  padding: 12px 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  white-space: nowrap;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}

.book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.7);
  color: white;
}

/* تعديل عرض البطاقات في السلايدر */
.results-scroll-snap {
  display: flex;
  overflow-x: auto;
  overflow-y: visible;
  gap: 1.2rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.results-scroll-snap::-webkit-scrollbar {
  display: none;
}

.results-scroll-snap > * {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .results-scroll-snap > * {
    flex: 0 0 75%;
  }
}

@media (min-width: 1024px) {
  .results-scroll-snap > * {
    flex: 0 0 40%;
  }
}

@media (min-width: 1280px) {
  .results-scroll-snap > * {
    flex: 0 0 32%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .section-title {
    font-size: 1.15rem;
  }
  .bottom-nav {
    bottom: .7rem;
    padding: .5rem .7rem;
  }
}

/* ============================================================
   DESKTOP LAYOUT & ENHANCEMENTS
   ============================================================ */
@media (min-width: 1024px) {
  /* Desktop nav starts transparent, sitting on the hero image exactly like
     the mobile header-floating does — so hide the mobile one to avoid two
     overlapping headers. */
  .header-floating {
    display: none;
  }

  #desktopNav {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background .3s ease, border-color .3s ease;
  }

  #desktopNav .icon-btn,
  #desktopNav .desktop-nav-logo {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .55));
  }

  #desktopNav.scrolled {
    background: var(--bg-card);
    border-bottom-color: var(--border-card);
    box-shadow: var(--chrome-shadow);
  }

  #desktopNav.scrolled .icon-btn,
  #desktopNav.scrolled .desktop-nav-logo {
    filter: none;
  }

  #desktopNav.scrolled .icon-btn {
    background: var(--bg-field);
  }

  #desktopNav [class*="text-white"] {
    color: #fff !important;
  }

  #desktopNav.scrolled [class*="text-white"] {
    color: var(--text-primary) !important;
  }

  /* Only pages other than the hero-bearing home page need space reserved
     under the fixed nav — home's hero runs flush to the top, with the nav
     overlaid transparently on top of it. */
  #mainApp .page:not(#homePage) {
    padding-top: 80px;
  }

  .main-area {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
  }
  .bottom-nav {
    display: none !important;
  }
  .section-title {
    font-size: 28px;
    letter-spacing: -0.5px;
  }
  .section-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
  }
  .search-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px;
  }
  #featuredHotels,
  #hotelsList,
  #excursionsList,
  #transfersList,
  #restaurantsFullList,
  #favoritesList,
  #bookingsList {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1280px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hotel-card .flex {
    flex-direction: column;
  }
  .hotel-card .w-32.h-32,
  .hotel-card .md\:w-36.md\:h-36 {
    width: 100% !important;
    height: 220px !important;
  }
  .hotel-card .flex-1 {
    padding: 20px;
  }
  .destination-card {
    height: 200px;
  }
  .modal-overlay {
    padding: 60px 20px;
  }
  .modal-content {
    max-width: 700px;
  }
  /* Detail pages (excursion/hotel/restaurant/transfer/destination) render
     their content at full viewport width, which produced uncomfortably
     long lines of text on wide screens. */
  [class*="rounded-t-[28px]"] {
    max-width: 900px;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* ============ FIX Z-INDEX FOR MODALS ============ */
.modal-overlay,
.ds-modal-overlay,
#datepickerModal,
#searchGuestDropdown,
#searchCategoryDropdown {
  z-index: 99999 !important;
}

.s-area{ margin-top:-10rem;}


@media (max-width: 480px) {
  .s-area{ margin-top:-18rem;
         margin-bottom:6rem;
         }

  }


