/* ═══════════════════════════════════════════════════════════════════
   HILLYGO ENHANCEMENTS — Premium Booking Platform Upgrades
   New Components: Trust Strip, Trip Planner, Availability Badges,
   Season Guide, Host Profiles, Stats Counter, Sticky Book Bar
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties Extensions ── */
:root {
  --accent-light: rgba(140, 180, 46, 0.12);
  --accent-glow: rgba(140, 180, 46, 0.35);
  --green-ok: #16a34a;
  --green-bg: #dcfce7;
  --red-urgent: #dc2626;
  --red-bg: #fee2e2;
  --amber: #7A9D28;
  --amber-bg: #fef3c7;
  --surface: #f9fafb;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-dark: rgba(38, 58, 70, 0.85);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════════════
   1. TRUST BADGES STRIP
   ══════════════════════════════════════ */
.trust-strip {
  background: #fff;
  border: 1px solid #f0f0f0;
  padding: 0.8rem 1rem;
  overflow: hidden;
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #444;
  font-weight: 500;
  white-space: nowrap;
}

.trust-item i {
  font-size: 0.95rem;
  color: var(--accent);
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: #e5e7eb;
}

@media (max-width: 768px) {
  .trust-strip {
    padding: 0.6rem 0.5rem;
  }
  .trust-strip-inner {
    gap: 0.8rem;
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: 0 0.2rem;
  }
  .trust-item {
    font-size: 0.7rem;
  }
  .trust-item i {
    font-size: 0.8rem;
  }
  .trust-strip-inner::-webkit-scrollbar { display: none; }
  .trust-divider { display: none; }
}

/* ══════════════════════════════════════
   2. STATS COUNTER STRIP
   ══════════════════════════════════════ */
.stats-counter-strip {
  background: var(--primary);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats-counter-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?w=1400&q=40') center/cover;
  opacity: 0.06;
}

.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.stat-counter-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--accent);
  line-height: 1.1;
  font-family: 'Inter', sans-serif;
}

.stat-counter-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.stat-counter-sep {
  width: 1px;
  background: rgba(255,255,255,0.1);
  height: 60px;
  align-self: center;
}

@media (max-width: 768px) {
  .stats-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-counter-sep { display: none; }
}

/* ══════════════════════════════════════
   3. AVAILABILITY BADGE
   ══════════════════════════════════════ */
.avail-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 50px;
}

.avail-badge.urgent {
  background: var(--red-bg);
  color: var(--red-urgent);
}

.avail-badge.available {
  background: var(--green-bg);
  color: var(--green-ok);
}

.avail-badge.limited {
  background: var(--amber-bg);
  color: var(--amber);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* ══════════════════════════════════════
   4. INSTANT BOOKING MODAL (Premium)
   ══════════════════════════════════════ */
.booking-panel {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid #eee;
  padding: 1.8rem;
  position: sticky;
  top: 100px;
}

.booking-panel .bp-price {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.booking-panel .bp-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.booking-panel .bp-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.booking-panel .bp-rating strong {
  color: var(--text-main);
}

.bp-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.bp-date-field {
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.bp-date-field:hover { background: #f9f9f9; }

.bp-date-field:first-child {
  border-right: 1px solid #e0e0e0;
}

.bp-date-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
  margin-bottom: 3px;
}

.bp-date-field input {
  width: 100%;
  border: none;
  outline: none;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  background: transparent;
  font-family: 'Inter', sans-serif;
}

.bp-guests-row {
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.bp-guests-label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #888;
}

.bp-guests-ctrl {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bp-guests-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-family: inherit;
}

.bp-guests-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.bp-book-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(38, 58, 70, 0.3);
  letter-spacing: 0.3px;
}

.bp-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(38, 58, 70, 0.4);
}

.bp-price-breakdown {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.bp-price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.bp-price-row.total {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.bp-no-charge {
  text-align: center;
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.8rem;
}

/* ══════════════════════════════════════
   5. TRIP TYPE SELECTOR (Guest Interest)
   ══════════════════════════════════════ */
.trip-type-section {
  padding: 3.5rem 2rem;
  background: #fff;
}

.trip-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  max-width: 1140px;
  margin: 0 auto;
}

.trip-type-card {
  background: #f9fafb;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.trip-type-card:hover,
.trip-type-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(140, 180, 46,0.15);
}

.trip-type-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.trip-type-card h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.trip-type-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* ══════════════════════════════════════
   6. SEASON GUIDE SECTION
   ══════════════════════════════════════ */
.season-section {
  padding: 3.5rem 2rem;
  background: #f8f9fa;
}

.season-tabs {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e0e0e0;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.season-tab {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
  border-right: 1px solid #e0e0e0;
}

.season-tab:last-child { border-right: none; }

.season-tab.active {
  background: var(--primary);
  color: #fff;
}

.season-content {
  max-width: 1140px;
  margin: 0 auto;
  display: none;
}

.season-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  animation: fadeIn 0.4s ease;
}

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

.season-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.season-card-img {
  height: 180px;
  overflow: hidden;
}

.season-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.season-card:hover .season-card-img img {
  transform: scale(1.05);
}

.season-card-body {
  padding: 1.2rem;
}

.season-card-body h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.season-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 0.5rem;
}

.season-badge.peak { background: #fef3c7; color: #92400e; }
.season-badge.ideal { background: #dcfce7; color: #15803d; }
.season-badge.offpeak { background: #ede9fe; color: #7c3aed; }

.season-card-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .season-content.active {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════
   7. HOST SPOTLIGHT SECTION
   ══════════════════════════════════════ */
.host-spotlight-section {
  padding: 3.5rem 2rem;
  background: #fff;
}

.host-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
  max-width: 1140px;
  margin: 0 auto;
}

.host-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03), 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.host-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.host-cover {
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
  overflow: hidden;
}

.host-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

.host-avatar-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: -60px; /* Pull it up into the cover */
  z-index: 2;
  padding: 0 1.5rem;
}

.host-avatar {
  width: 140px;
  height: 140px;
  border-radius: 20px; /* Premium softened square instead of circle */
  border: 5px solid #fff;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.host-card:hover .host-avatar {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.host-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.host-card-body {
  padding: 1.5rem 2rem 2.5rem;
  text-align: center;
}

.host-name {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.host-role {
  font-size: 0.9rem;
  color: #8CB42E;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.host-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.host-quote {
  font-size: 1rem;
  color: #4a5568;
  font-style: italic;
  line-height: 1.6;
  position: relative;
  padding: 1.5rem 0 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
}

.host-quote::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: rgba(140, 180, 46, 0.2);
  font-family: serif;
  line-height: 1;
}

.btn-view-host {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  margin-top: 1.5rem;
  transition: all 0.2s;
}

.btn-view-host:hover {
  color: var(--accent);
  gap: 12px;
}

/* ══════════════════════════════════════
   8. AI TRIP PLANNER WIDGET
   ══════════════════════════════════════ */
.trip-planner-section {
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, #1a2a35 0%, #263A46 100%);
  position: relative;
  overflow: hidden;
}

.trip-planner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(140, 180, 46,0.12) 0%, transparent 70%);
}

.trip-planner-inner {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.trip-planner-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trip-planner-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(140, 180, 46,0.15);
  color: #e8c57a;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.trip-planner-header h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 300;
  margin-bottom: 0.6rem;
}

.trip-planner-header h2 span { color: var(--accent); }

.trip-planner-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}

.planner-widget {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.planner-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.planner-step label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.planner-step select,
.planner-step input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.planner-step select option { background: #263A46; color: #fff; }

.planner-step select:focus,
.planner-step input:focus {
  border-color: var(--accent);
}

.planner-step input::placeholder {
  color: rgba(255,255,255,0.35);
}

.btn-plan {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(140, 180, 46,0.4);
}

.btn-plan:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(140, 180, 46,0.5);
}

.planner-results {
  margin-top: 1.5rem;
  display: none;
}

.planner-results.visible { display: block; }

.planner-result-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  transition: background 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.planner-result-card:hover {
  background: rgba(255,255,255,0.12);
}

.planner-result-info h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 3px;
}

.planner-result-info p {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin: 0;
}

.planner-result-price {
  text-align: right;
  flex-shrink: 0;
}

.planner-result-price strong {
  display: block;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 500;
}

.planner-result-price span {
  color: rgba(255,255,255,0.4);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .planner-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ══════════════════════════════════════
   9. STICKY BOOK BAR (for detail pages)
   ══════════════════════════════════════ */
.sticky-book-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 900;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-book-bar.visible {
  transform: translateY(0);
}

.sticky-bar-info .price {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
}

.sticky-bar-info .price span {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
}

.sticky-bar-info .rating-mini {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.sticky-bar-info .rating-mini i { color: var(--accent); }

.sticky-bar-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
}

.sticky-bar-actions .btn-sticky-wish {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #888;
  font-size: 1rem;
  transition: all 0.2s;
}

.sticky-bar-actions .btn-sticky-wish:hover {
  border-color: #e53935;
  color: #e53935;
}

.sticky-bar-actions .btn-sticky-book {
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  white-space: nowrap;
}

.sticky-bar-actions .btn-sticky-book:hover {
  background: var(--accent);
}

/* ══════════════════════════════════════
   10. ENHANCED FILTER BAR (Homestay page)
   ══════════════════════════════════════ */
.enhanced-filter-bar {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 100px; /* Reduced to align with the sleeker 70px navbar */
  z-index: 800;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.filter-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  max-width: 1260px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-bar-inner::-webkit-scrollbar { display: none; }

.efilter-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 1rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.efilter-chip i { font-size: 0.75rem; }

.efilter-chip:hover,
.efilter-chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.filter-separator {
  width: 1px;
  height: 24px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.sort-select-wrap {
  margin-left: auto;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select-wrap label {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.sort-select-wrap select {
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  outline: none;
  color: var(--text-main);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s;
}

.sort-select-wrap select:focus { border-color: var(--accent); }

/* ══════════════════════════════════════
   11. FLOATING WHATSAPP BUTTON
   ══════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  z-index: 950;
  transition: all 0.3s;
  text-decoration: none;
  animation: floatWA 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

@keyframes floatWA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

/* ══════════════════════════════════════
   12. PHOTO GALLERY STRIP
   ══════════════════════════════════════ */
.photo-gallery-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}

.photo-gallery-strip .gal-img {
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.photo-gallery-strip .gal-img:first-child {
  grid-row: span 2;
}

.photo-gallery-strip .gal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.photo-gallery-strip .gal-img:hover img {
  transform: scale(1.05);
}

.gal-more-btn {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .photo-gallery-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
  }
  .photo-gallery-strip .gal-img:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .photo-gallery-strip .gal-img:nth-child(n+4) {
    display: none;
  }
}

/* ══════════════════════════════════════
   13. ANIMATED SCROLL COUNTER
   ══════════════════════════════════════ */
.counter-anim {
  display: inline-block;
  transition: all 0.3s;
}

/* ══════════════════════════════════════
   14. PROMO BANNER (Limited Offer)
   ══════════════════════════════════════ */
.promo-bar {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  padding: 0.35rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
}

.promo-bar-text {
  position: relative;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}

.promo-bar-text .promo-badge {
  background: rgba(255,255,255,0.2);
  padding: 1px 8px;
  border-radius: 50px;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.promo-bar-text span:not(.promo-badge) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-bar-text a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.7rem;
  opacity: 0.9;
  flex-shrink: 0;
  white-space: nowrap;
}

.promo-bar-text a:hover { opacity: 1; }

/* Mobile: shorter text via flex shrink */
@media (max-width: 600px) {
  .promo-bar {
    padding: 0.3rem 0.5rem;
  }
  .promo-bar-text {
    font-size: 0.65rem;
    gap: 0.35rem;
  }
  .promo-bar-text .promo-badge {
    display: none;
  }
}

/* ══════════════════════════════════════
   15. CATEGORY PILLS STRIP
   ══════════════════════════════════════ */
.category-pills-strip {
  padding: 3rem 2rem;
  background: #fff;
}

.category-pills-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid #e0e0e0;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.25s;
  background: #fff;
}

.cat-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(140, 180, 46,0.18);
}

.cat-pill i { font-size: 0.9rem; }

/* ══════════════════════════════════════
   16. PROPERTY DETAILS ENHANCEMENTS
   ══════════════════════════════════════ */
.amenity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 1rem 0;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-main);
}

.amenity-item i {
  width: 20px;
  color: var(--primary);
  font-size: 0.9rem;
  text-align: center;
}

.property-rules {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
}

.rule-item:last-child { border-bottom: none; }

.rule-item i { color: var(--primary); width: 16px; }

/* ══════════════════════════════════════
   17. ANIMATIONS AND MICRO-INTERACTIONS
   ══════════════════════════════════════ */

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* On mobile — always show content, skip reveal animation for performance */
@media (max-width: 768px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .reveal-delay-1,
  .reveal-delay-2,
  .reveal-delay-3,
  .reveal-delay-4 {
    transition-delay: 0s !important;
  }
}

/* Shimmer loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}

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

/* ══════════════════════════════════════
   18. NOTIFICATION TOAST
   ══════════════════════════════════════ */
.hg-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1200;
  max-width: 300px;
  transform: translateY(200%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f0f0f0;
}

.hg-toast.visible {
  transform: translateY(0);
}

.hg-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-ok);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.hg-toast-content .title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.hg-toast-content .subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .hg-toast {
    bottom: 80px;
    left: 12px;
    right: 12px;
    max-width: none;
  }
}

/* ══════════════════════════════════════
   19. REVIEW HIGHLIGHT CARDS (Enhanced)
   ══════════════════════════════════════ */
.review-card-enhanced {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.review-card-enhanced:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.review-card-enhanced .quote-mark {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  font-family: 'Inter', sans-serif;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

/* ══════════════════════════════════════
   20. PAGE TRANSITION LOADER
   ══════════════════════════════════════ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.page-loader.loading {
  transform: scaleX(0.8);
  transition: transform 2s ease;
}

.page-loader.done {
  transform: scaleX(1);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease 0.3s;
}

/* ══════════════════════════════════════
   21. STAYS PAGE REDESIGN
   ══════════════════════════════════════ */
.homestay-layout {
  display: flex;
  height: calc(100vh - 80px);
  overflow: hidden;
}

.homestay-left {
  flex: 0 0 55%;
  overflow-y: auto;
  padding: 24px 12px 0 24px;
}

.homestay-left::-webkit-scrollbar {
  width: 6px;
}
.homestay-left::-webkit-scrollbar-track {
  background: transparent;
}
.homestay-left::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.homestay-right {
  flex: 0 0 45%;
  height: 100%;
  padding: 24px 24px 24px 12px;
}

.homestay-layout .stay-card {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.homestay-layout .stay-card.active {
  border-color: #8CB42E; /* Primary accent */
}

.homestay-layout .stay-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.homestay-layout .stay-card img {
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.homestay-layout .stay-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.homestay-layout .stay-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: #111;
}

.homestay-layout .stay-info p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.homestay-layout .stay-info p:last-child {
  margin-bottom: 0;
  margin-top: auto;
}

.homestay-layout .stay-info strong {
  font-size: 1.15rem;
  color: #111;
}

@media (max-width: 768px) {
  .homestay-layout {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }
  
  .homestay-left {
    flex: none;
    order: 2;
    overflow-y: visible;
    padding: 16px;
  }

  .homestay-right {
    flex: none;
    position: relative;
    top: 0;
    height: 400px;
    order: 1; /* Move map to top on mobile for better UX */
    padding: 16px;
  }

  .homestay-layout .stay-card {
    flex-direction: column;
    padding: 16px;
  }

  .homestay-layout .stay-card img {
    width: 100%;
    height: 200px;
  }
}

/* ══════════════════════════════════════
   PREMIUM DESTINATIONS SECTION
   ══════════════════════════════════════ */
.premium-dest-section {
  padding: 4rem 2rem;
  background: #fff;
}

.premium-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.premium-dest-card {
  position: relative;
  height: 400px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-dest-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.premium-dest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.premium-dest-card:hover .premium-dest-img {
  transform: scale(1.05);
}

.premium-dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 2rem;
  z-index: 1;
}

.premium-dest-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.premium-dest-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.premium-dest-desc {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.premium-dest-card:hover .premium-dest-desc {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .premium-dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .premium-dest-grid {
    grid-template-columns: 1fr;
  }
  .premium-dest-card {
    height: 350px;
  }
}
