/* ============================================================
   STAYBEE USER CSS — Modern redesign
   ============================================================ */

/* ---------- Top Nav ---------- */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 36, 64, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #fff;
}
.topnav .container { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: #fff; display: flex; align-items: center; gap: 8px; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); display: inline-block; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 0.9rem; }
.nav-links a { color: rgba(255,255,255,0.75); transition: color 0.15s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(140deg, #0d1b35 0%, #1a2f52 45%, #1e6f8e 100%);
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  top: -300px; right: -200px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
}
.hero-orb-2 {
  width: 500px; height: 500px;
  bottom: -200px; left: -150px;
  background: radial-gradient(circle, rgba(30,111,142,0.25) 0%, transparent 70%);
}

.hero-inner { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.eyebrow-line {
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.hero h1 {
  color: #fff;
  max-width: 700px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero p.lead {
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Hero search card */
.hero-search-card {
  background: #fff;
  border-radius: 18px;
  padding: 8px;
  display: flex;
  align-items: stretch;
  box-shadow: 0 24px 64px rgba(0,0,0,0.32);
  max-width: 900px;
}
.hero-search-grid {
  display: flex;
  width: 100%;
  align-items: center;
}
.hsf {
  flex: 1;
  padding: 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  min-width: 0;
}
.hsf-divider::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 1px;
  background: var(--line);
}
.hsf-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.hsf input,
.hsf select {
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: none !important;
  outline: none !important;
  width: 100%;
}
.hsf input::placeholder { color: #b0b8c4; font-weight: 400; }
.hero-search-btn {
  flex-shrink: 0;
  margin: 5px;
  border-radius: 14px;
  padding: 14px 26px;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* Hero trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; line-height: 1; }
.trust-lbl { font-size: 0.74rem; color: rgba(255,255,255,0.6); }
.trust-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.2); }

@media (max-width: 860px) {
  .hero-search-card { flex-direction: column; padding: 16px; border-radius: 16px; }
  .hero-search-grid { flex-direction: column; gap: 0; }
  .hsf { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .hsf:last-of-type { border-bottom: none; }
  .hsf-divider::before { display: none; }
  .hsf input, .hsf select { border: none !important; }
  .hero-search-btn { margin: 12px 0 0; border-radius: 12px; width: 100%; justify-content: center; }
  .hero-trust { gap: 16px; }
}
@media (max-width: 480px) {
  .hero { padding: 56px 0 52px; min-height: auto; }
  .hero-trust { display: none; }
}

/* ---------- Section ---------- */
.section { padding: 60px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.view-all-link { font-size: 0.88rem; font-weight: 600; color: var(--teal); white-space: nowrap; }
.view-all-link:hover { color: var(--teal-dark); text-decoration: underline; }

/* ---------- Popular destinations ---------- */
.loc-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.loc-scroll::-webkit-scrollbar { display: none; }
.loc-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
  cursor: pointer;
}
.loc-pill:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.loc-pill .loc-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--coral-pale); color: var(--coral-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; flex-shrink: 0;
}

/* ---------- Category tabs ---------- */
.cat-tabs-wrap {
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 0;
}
.cat-tabs-wrap::-webkit-scrollbar { display: none; }
.cat-tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 4px;
  width: max-content;
}
.cat-chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--paper);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  color: var(--ink);
}
.cat-chip:hover { border-color: var(--teal); color: var(--teal); }
.cat-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Hotel cards ---------- */
.hotel-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
  border-radius: var(--radius-md);
}
.hotel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hotel-card .img-wrap { position: relative; height: 200px; overflow: hidden; }
.hotel-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.hotel-card:hover .img-wrap img { transform: scale(1.08); }
.hotel-card .img-wrap .discount-flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--coral); color: #fff; font-weight: 700; font-size: 0.74rem;
  padding: 4px 10px; border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.hotel-card .badge-rating {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.52); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.78rem; font-weight: 700;
  padding: 4px 9px; border-radius: var(--radius-sm);
}
.hotel-card .img-wrap .overlay-price {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  padding: 32px 14px 12px;
  color: #fff; font-family: var(--font-display); font-size: 1.25rem;
}
.hotel-card .img-wrap .overlay-price small { font-family: var(--font-body); font-size: 0.78rem; font-weight: 400; opacity: 0.85; }
.hotel-card .body { padding: 14px 16px 18px; }
.hotel-card .body h3 { font-size: 0.96rem; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hotel-card .body .location { font-size: 0.8rem; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.hotel-card .price { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); margin-top: 8px; }
.hotel-card .price small { font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; }

/* ---------- Listing row cards (search results) ---------- */
.listing-row {
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  gap: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.listing-row:hover { box-shadow: var(--shadow-md); }
.listing-row .img-wrap { height: 100%; min-height: 190px; overflow: hidden; }
.listing-row .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.listing-row:hover .img-wrap img { transform: scale(1.05); }
.listing-row .content { padding: 20px; border-right: 1px solid var(--line); }
.listing-row .side { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; }
.listing-row .amenity-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.amenity-tag { font-size: 0.76rem; color: var(--ink-soft); background: var(--sand); padding: 4px 10px; border-radius: var(--radius-sm); }
@media (max-width: 760px) {
  .listing-row { grid-template-columns: 1fr; }
  .listing-row .content { border-right: none; border-bottom: 1px solid var(--line); }
  .listing-row .side { align-items: flex-start; text-align: left; }
}

/* ---------- Search bar strip (search page) ---------- */
.search-bar-strip {
  background: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.search-inline-form {
  display: flex; align-items: center; gap: 0;
  background: var(--paper); border-radius: 12px;
  overflow: hidden; border: 1px solid var(--line);
}
.sif-field {
  display: flex; align-items: center; gap: 8px;
  flex: 1; padding: 10px 14px; min-width: 0;
}
.sif-sep { border-left: 1px solid var(--line); }
.sif-ico { font-size: 0.85rem; flex-shrink: 0; }
.sif-field input,
.sif-field select {
  border: none !important; background: transparent !important;
  outline: none !important; box-shadow: none !important;
  font-size: 0.88rem; color: var(--ink); width: 100%; padding: 0 !important;
}
.sif-btn { border-radius: 0 10px 10px 0; padding: 10px 20px; flex-shrink: 0; }

/* ---------- Search page layout ---------- */
.search-body { padding-top: 24px; padding-bottom: 48px; }
.search-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}
.filters-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  position: sticky; top: 80px;
}
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.filters-head h3 { margin: 0; font-size: 1rem; }
.filters-close { display: none; background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--ink-soft); }
.filters-panel .field { margin-bottom: 14px; }
.search-results-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.search-results-head h2 { margin: 0; font-size: 1.1rem; }
.filter-toggle-btn { display: none; }

@media (max-width: 760px) {
  .search-inline-form { flex-wrap: wrap; border-radius: 10px; }
  .sif-field { flex: 1 1 45%; border-left: none !important; border-top: 1px solid var(--line); }
  .sif-field:first-child { flex: 1 1 100%; border-top: none; }
  .sif-btn { width: 100%; border-radius: 0 0 10px 10px; }
  .search-layout { grid-template-columns: 1fr; }
  .filters-panel {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    z-index: 300; border-radius: 0; overflow-y: auto;
    padding: 24px 20px;
  }
  .filters-panel.open { display: block; }
  .filters-close { display: block; }
  .filter-toggle-btn { display: inline-flex; }
}

/* ---------- Filters sidebar (legacy class used in filters-card) ---------- */
.filters-card .field { margin-bottom: 16px; }
.filters-card h3 { font-size: 1rem; margin-bottom: 16px; }

/* ---------- Offers section ---------- */
.offers-section {
  background: linear-gradient(135deg, var(--teal-pale) 0%, #f0f8fd 100%);
  border-radius: 0;
}

/* ---------- Why StayBee section ---------- */
.why-section {
  background: var(--ink);
  padding: 64px 0;
  margin-top: 64px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.why-item { text-align: center; }
.why-ico { font-size: 2rem; margin-bottom: 14px; }
.why-item h4 { font-family: var(--font-display); font-size: 1rem; color: #fff; margin-bottom: 8px; font-weight: 600; }
.why-item p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 480px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Hotel detail gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery a:first-child { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: 220px; height: auto; }
  .gallery a:not(:first-child) { display: none; }
}

.amenity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .amenity-list { grid-template-columns: 1fr 1fr; } }
.amenity-list li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--ink); }
.amenity-list .ico { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: var(--teal-pale); border-radius: 50%; font-size: 0.85rem; }

/* ---------- Room option ---------- */
.room-option {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.room-option:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.room-option img { width: 140px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 640px) {
  .room-option { grid-template-columns: 1fr; }
  .room-option img { width: 100%; height: 160px; }
}

/* ---------- Booking summary sidebar ---------- */
.summary-card { position: sticky; top: 90px; }
.summary-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 6px 0; color: var(--ink-soft); }
.summary-line.total { color: var(--ink); font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; }

/* ---------- Review item ---------- */
.review-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-item:last-child { border-bottom: none; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }

/* ---------- Payment method selection ---------- */
.pay-method-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
@media (max-width: 560px) { .pay-method-options { grid-template-columns: 1fr; } }
.pay-method-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; border: 2px solid var(--line); border-radius: var(--radius-md);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
  background: var(--paper);
}
.pay-method-card:hover { border-color: var(--teal); }
.pay-method-card.active { border-color: var(--teal); background: var(--teal-pale); }
.pay-method-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.pay-method-title { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 4px; }
.pay-method-desc { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.45; }

/* ---------- Room detail page ---------- */
.room-detail-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 960px) { .room-detail-layout { grid-template-columns: 1fr; } }

.breadcrumb-link { display: inline-block; font-size: 0.88rem; color: var(--teal); margin-bottom: 12px; }
.breadcrumb-link:hover { text-decoration: underline; }

.room-detail-header { margin-bottom: 20px; }
.room-detail-title { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin-bottom: 10px; }
.room-detail-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.room-meta-item { font-size: 0.88rem; color: var(--ink-soft); }
.rating-chip { background: var(--teal); color: #fff; padding: 3px 10px; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700; }

/* Gallery */
.room-gallery { margin-bottom: 28px; border-radius: var(--radius-lg); overflow: hidden; }
.gallery-main { position: relative; background: var(--sand); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.gallery-main img { width: 100%; height: 400px; object-fit: cover; display: block; transition: transform 0.3s ease; }
.gallery-main:hover img { transform: scale(1.02); }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
  color: #fff; border: none; cursor: pointer; padding: 0;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.6rem; line-height: 44px; text-align: center;
  transition: background 0.15s;
}
.gallery-nav:hover { background: rgba(0,0,0,0.7); }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-count { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.5); color: #fff; font-size: 0.78rem; padding: 3px 10px; border-radius: 999px; }
.gallery-badge { position: absolute; top: 12px; left: 12px; background: var(--coral); color: #fff; font-weight: 700; font-size: 0.78rem; padding: 5px 12px; border-radius: var(--radius-sm); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 70px; height: 52px; object-fit: cover; border-radius: 6px; cursor: pointer; opacity: 0.6; border: 2px solid transparent; flex-shrink: 0; transition: opacity 0.15s, border-color 0.15s; }
.gallery-thumb.active { opacity: 1; border-color: var(--teal); }
.gallery-thumb:hover { opacity: 0.9; }

/* Room sections */
.room-section { margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.room-section:last-child { border-bottom: none; }
.room-section h3 { font-size: 1.15rem; margin-bottom: 14px; }
.facilities-display { display: flex; gap: 10px; flex-wrap: wrap; }
.facility-chip { display: flex; align-items: center; gap: 8px; background: var(--sand); padding: 8px 14px; border-radius: var(--radius-sm); font-size: 0.88rem; }
.room-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 600px) { .room-details-grid { grid-template-columns: 1fr 1fr; } }
.room-detail-item { background: var(--sand); border-radius: var(--radius-sm); padding: 14px; }
.rd-label { display: block; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 4px; }
.rd-value { font-weight: 700; font-size: 0.95rem; color: var(--ink); }

/* Similar rooms */
.similar-rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .similar-rooms-grid { grid-template-columns: 1fr 1fr; } }
.similar-room-card { text-decoration: none; overflow: hidden; transition: transform 0.2s ease; }
.similar-room-card:hover { transform: translateY(-3px); }
.similar-room-img { height: 110px; overflow: hidden; }
.similar-room-img img { width: 100%; height: 100%; object-fit: cover; }
.similar-room-body { padding: 10px 12px; }
.similar-room-name { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.similar-room-price { font-family: var(--font-display); font-size: 1.05rem; color: var(--teal-dark); margin-top: 4px; }

/* Booking sidebar */
.room-booking-sidebar { position: sticky; top: 90px; }
.booking-price { font-family: var(--font-display); font-size: 2rem; color: var(--ink); margin-bottom: 14px; }
.booking-price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); font-weight: 400; }
.booking-form .booking-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-form .field { margin-bottom: 12px; }
.booking-form label { display: block; font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 4px; }
.booking-form input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--ink); background: var(--paper); box-sizing: border-box; }
.booking-form input:focus { outline: none; border-color: var(--teal); }
.avail-note { font-size: 0.82rem; color: var(--success); margin: 6px 0 10px; }
.quote-lines { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; margin: 10px 0; }
.quote-line { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); padding: 5px 0; }
.quote-line.total { color: var(--ink); font-weight: 700; font-size: 1rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }

/* Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.92);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  animation: lb-fade 0.2s ease;
}
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 1100px; width: 100%; padding: 20px; }
.lb-img-wrap img { max-width: 90vw; max-height: 75vh; object-fit: contain; border-radius: var(--radius-md); display: block; }
.lb-close { position: absolute; top: 0; right: 0; background: rgba(255,255,255,0.1); color: #fff; border: none; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; line-height: 38px; text-align: center; transition: background 0.15s; }
.lb-close:hover { background: rgba(255,255,255,0.25); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.12); color: #fff; border: none; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; font-size: 2rem; line-height: 50px; text-align: center; transition: background 0.15s; }
.lb-nav:hover { background: rgba(255,255,255,0.28); }
.lb-prev { left: 0; }
.lb-next { right: 0; }
.lb-counter { color: rgba(255,255,255,0.55); font-size: 0.82rem; margin: 10px 0 8px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 90vw; padding: 4px; }
.lb-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 5px; cursor: pointer; opacity: 0.5; border: 2px solid transparent; flex-shrink: 0; transition: opacity 0.15s, border-color 0.15s; }
.lb-thumb.active { opacity: 1; border-color: var(--teal); }
.lb-thumb:hover { opacity: 0.85; }

/* ---------- AUTH SPLIT SCREEN ---------- */
.auth-split-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left brand panel */
.auth-brand-panel {
  background: linear-gradient(145deg, #0d1b35 0%, #1a2f52 50%, #1e6f8e 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.auth-brand-inner {
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  width: 100%;
}
.auth-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: auto;
}
.brand-bee { font-size: 1.6rem; }
.auth-brand-content { margin-top: 48px; }
.auth-brand-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
}
.auth-brand-content > p { color: rgba(255,255,255,0.68); font-size: 1rem; line-height: 1.65; margin-bottom: 32px; }
.auth-stats { display: flex; gap: 28px; margin-bottom: 36px; }
.auth-stat { display: flex; flex-direction: column; gap: 2px; }
.auth-stat strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--coral); line-height: 1; }
.auth-stat span { font-size: 0.74rem; color: rgba(255,255,255,0.6); }
.auth-testimonial {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  backdrop-filter: blur(8px);
}
.test-quote { color: rgba(255,255,255,0.85); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.test-name { color: #fff; font-weight: 600; font-size: 0.88rem; }
.test-place { color: rgba(255,255,255,0.55); font-size: 0.78rem; }

/* Decorative circles */
.auth-brand-circles { position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none; z-index: 1; }
.ab-circle { position: absolute; border-radius: 50%; }
.ab-c1 { width: 400px; height: 400px; top: -150px; right: -150px; background: radial-gradient(circle, rgba(245,166,35,0.1) 0%, transparent 70%); }
.ab-c2 { width: 300px; height: 300px; bottom: -100px; left: -100px; background: radial-gradient(circle, rgba(30,111,142,0.2) 0%, transparent 70%); }
.ab-c3 { width: 200px; height: 200px; top: 40%; left: 60%; background: radial-gradient(circle, rgba(245,166,35,0.07) 0%, transparent 70%); }

/* Right form panel */
.auth-form-panel {
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}
.auth-form-inner { width: 100%; max-width: 400px; }
.auth-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-bottom: 36px; }
.auth-back-link:hover { text-decoration: underline; }
.auth-form-head { margin-bottom: 28px; }
.auth-form-head h2 { font-size: 1.8rem; margin-bottom: 6px; }
.auth-form-head p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.auth-form { background: var(--paper); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); margin-bottom: 20px; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.auth-field-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.auth-field-head label { margin-bottom: 0; }
.forgot-link { font-size: 0.8rem; color: var(--teal); font-weight: 600; }
.forgot-link:hover { text-decoration: underline; }

.auth-input-wrap { position: relative; }
.auth-input-ico {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  font-size: 0.9rem; color: var(--ink-soft); pointer-events: none;
}
.auth-input-wrap input {
  width: 100%;
  padding: 12px 14px 12px 40px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-input-wrap input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-pale);
}

.auth-submit-btn { height: 48px; font-size: 1rem; border-radius: var(--radius-sm); margin-top: 4px; }

.auth-divider { text-align: center; position: relative; margin: 16px 0; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--line); }
.auth-divider span { background: var(--sand); position: relative; z-index: 1; padding: 0 14px; font-size: 0.82rem; color: var(--ink-soft); }

.auth-switch-btn { height: 46px; font-size: 0.95rem; border-radius: var(--radius-sm); }
.auth-terms { text-align: center; font-size: 0.76rem; color: var(--ink-soft); margin-top: 20px; line-height: 1.55; }
.auth-terms a { color: var(--teal); }

@media (max-width: 860px) {
  .auth-split-page { grid-template-columns: 1fr; }
  .auth-brand-panel { display: none; }
  .auth-form-panel { min-height: 100vh; }
}

/* Legacy auth classes for other pages */
.auth-wrap { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; background: var(--sand); }
.auth-card { width: 100%; max-width: 420px; background: var(--paper); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.auth-card .brand { color: var(--ink); justify-content: center; margin-bottom: 8px; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 0.88rem; color: var(--ink-soft); }
.auth-switch a { color: var(--teal); font-weight: 600; }

/* ---------- Hero background slider ---------- */
.slider-bg { position: absolute; inset: 0; z-index: 0; }
.slider-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slider-slide.active { opacity: 1; }
.slider-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(13,27,53,0.82) 0%, rgba(26,47,82,0.7) 50%, rgba(30,111,142,0.65) 100%);
}
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.sdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.sdot.active { background: #fff; transform: scale(1.3); }

/* ---------- User notification bell in nav ---------- */
.notif-bell-user {
  position: relative;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}
.notif-bell-user:hover { background: rgba(255,255,255,0.1); }
#user-notif-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 300px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 500;
  overflow: hidden;
}

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  .topnav .container { padding: 12px 16px; }
  .nav-links { display: none; }
  .hero { padding: 56px 0 48px; min-height: 420px; }
  .hero h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .hero-search-card { border-radius: 12px; padding: 6px; }
  .hero-search-grid { flex-direction: column; }
  .hsf { padding: 10px 12px; }
  .hsf-divider { border-left: none; border-top: 1px solid var(--line); }
  .hero-search-btn { border-radius: 8px; margin: 4px; }
  .hero-trust { flex-wrap: wrap; gap: 12px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 0; }
  .dest-card-body h3 { font-size: 1rem; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer .container { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 48px 0 28px; }
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer a:hover { color: #fff; }
.footer-brand { font-family: var(--font-display); font-size: 1.3rem; color: #fff; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.footer-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.5); }

/* ---------- Category Browse Cards ---------- */
.cat-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}
.cat-browse-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 12px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.cat-browse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.10);
  border-color: var(--teal);
}
.cat-browse-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  overflow: hidden;
}
.cat-browse-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.cat-browse-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
@media (max-width: 480px) {
  .cat-card-grid { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; }
  .cat-browse-icon { width: 44px; height: 44px; font-size: 1.35rem; }
  .cat-browse-name { font-size: 0.72rem; }
}
