@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
body { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 400; }
h1, h2, h3 { font-weight: 800; }
.logo-text { font-weight: 800; }
.nav-item { font-weight: 500; }
.price { font-weight: 700; }
.body-text { font-weight: 400; }

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;800&display=swap');

/* ===== CSS Variables ===== */
:root {
  --brand: #FF385C;
  --brand-hover: #E31C5F;
  --text-dark: #222222;
  --text-medium: #717171;
  --text-light: #B0B0B0;
  --border: #DDDDDD;
  --border-light: #EBEBEB;
  --bg: #FFFFFF;
  --bg-gray: #F7F7F7;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 14px 28px rgba(0, 0, 0, 0.12), 0 10px 10px rgba(0, 0, 0, 0.08);
  --radius: 32px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--bg-gray);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1760px;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ===== Header ===== */
.text-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  color: var(--brand);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
  letter-spacing: 0;
}

.text-logo .logo-icon {
  font-size: 26px;
  margin-right: 2px;
  color: var(--brand);
}

.text-logo .logo-bold {
  font-weight: 800;
  color: var(--brand);
}

.text-logo .logo-light {
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--brand);
}

.main-header {
  position: sticky;
  top: 0;
  background: #F7F7F7;
  z-index: 1000;
  padding: 4px 0;
  transition: box-shadow 0.3s ease;
}

.main-header .container-fluid {
  max-width: 1760px;
  padding: 0 40px;
}

.logo svg { display: block; }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--text-medium);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.nav-links a .nav-icon {
  font-size: 24px;
  line-height: 1;
}

/* nav-links a::after removed to prevent double underline on header items */

.nav-badge {
  position: absolute;
  top: -8px;
  right: -24px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #222222;
  border-radius: 6px;
  padding: 3px 6px;
  line-height: 1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.become-host {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 22px;
  transition: var(--transition);
}

.become-host:hover {
  background: var(--bg-gray);
}

.btn-globe {
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-dark);
  transition: var(--transition);
}

.btn-globe:hover {
  background: var(--bg-gray);
}

.btn-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 6px 6px 6px 14px;
  background: #fff;
  color: var(--text-dark);
  transition: box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-profile:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.btn-profile i.bi-list {
  font-size: 18px;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--text-medium);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}


.btn-menu {
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 22px;
  cursor: pointer;
}

/* ===== Search Bar ===== */
.search-section {
  padding: 12px 0 24px;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #cccccc; /* Darker line requested by user */
  background: var(--bg-gray);
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  padding: 10px 10px 10px 32px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
}

.search-bar:hover {
  box-shadow: var(--shadow-md);
}

.search-item {
  padding: 8px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  border-radius: 32px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.search-item:hover {
  background: #ebebeb;
}

.search-item .label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.search-item .search-subtext {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-medium);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
  margin: 0 8px;
}

.search-guests {
  flex: 1;
}

.search-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 8px;
}

.search-btn:hover {
  background: var(--brand-hover);
}

/* ===== Search Suggestion Box ===== */


.search-suggestion .container {
  display: flex;
  justify-content: center;
}

.suggestion-box {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  padding: 8px;
}

.suggestion-box:hover {
  opacity: 0.9;
}

.suggestion-img-stack {
  position: relative;
  width: 70px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-img {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
  background: white;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.img-back {
  transform: rotate(12deg) translate(8px, 2px) scale(0.85);
  z-index: 1;
}

.img-middle {
  transform: rotate(-12deg) translate(-8px, 2px) scale(0.85);
  z-index: 2;
}

.img-front {
  transform: rotate(0deg) scale(1.05);
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
}

/* Fan out effect on hover */
.suggestion-box:hover .img-back {
  transform: rotate(18deg) translate(14px, -2px) scale(0.85);
}
.suggestion-box:hover .img-middle {
  transform: rotate(-18deg) translate(-14px, -2px) scale(0.85);
}
.suggestion-box:hover .img-front {
  transform: rotate(0deg) scale(1.1);
}

.suggestion-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.suggestion-main {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dark);
}

.suggestion-sub {
  font-size: 15px;
  color: var(--text-medium);
}

.suggestion-box i {
  color: var(--text-medium);
  font-size: 16px;
  margin-left: 4px;
}



/* ===== Listings ===== */
.listings-section {
  padding: 12px 0 48px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-header-title {
  display: flex;
  align-items: center;
  gap: 8px; /* Slightly more gap */
  cursor: pointer;
}

.section-header-title h2 {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  color: #222222;
  margin: 0;
}

.title-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: transparent; /* No background by default in Airbnb */
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.section-header-title:hover .title-chevron {
  background-color: #f7f7f7;
  transform: translateX(2px);
}

.title-chevron i {
  font-size: 11px; /* Smaller, like Airbnb */
  color: #222222;
  font-weight: 900; /* Bolder to match SVG thickness */
  -webkit-text-stroke: 1px #222222; /* Make the icon thicker */
}

.scroll-nav {
  display: flex;
  gap: 12px;
}

.scroll-btn {
  width: 28px; /* Smaller like Airbnb */
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08); /* Very faint border */
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); /* Subtle shadow */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.scroll-btn i {
  font-size: 12px;
  color: #222222;
    font-size: 14px;
    font-weight: 500;
  -webkit-text-stroke: 0.5px #222222;
}

.scroll-btn:hover {
  background: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.listings-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.listings-row::-webkit-scrollbar {
  display: none;
}

.listing-card {
  flex: 0 0 auto;
  width: 216px;
  cursor: pointer;
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-container.in-view .listing-card {
  opacity: 1;
  transform: translateY(0);
}

.stagger-container.in-view .listing-card:nth-child(1) { transition-delay: 0.05s; }
.stagger-container.in-view .listing-card:nth-child(2) { transition-delay: 0.1s; }
.stagger-container.in-view .listing-card:nth-child(3) { transition-delay: 0.15s; }
.stagger-container.in-view .listing-card:nth-child(4) { transition-delay: 0.2s; }
.stagger-container.in-view .listing-card:nth-child(5) { transition-delay: 0.25s; }
.stagger-container.in-view .listing-card:nth-child(6) { transition-delay: 0.3s; }
.stagger-container.in-view .listing-card:nth-child(7) { transition-delay: 0.35s; }

.card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 20/19;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 0;
}

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

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

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px; /* Slightly rounder pill for small size */
  padding: 3px 8px; /* Slightly larger padding for 12px text */
  font-size: 12px; /* Changed to 12px as requested */
  font-weight: 600;
  color: #222222;
    font-size: 14px;
    font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
  z-index: 10;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  z-index: 100;
}

.wishlist-btn i {
  color: rgba(0, 0, 0, 0.5);
  -webkit-text-stroke: 1.5px white; /* Thinner stroke for smaller icon */
  font-size: 20px; /* Smaller heart icon */
  display: block;
}

.wishlist-btn:hover {
  transform: scale(1.1);
}

.wishlist-btn.active i {
  color: var(--brand);
  text-shadow: none;
  -webkit-text-stroke: 0;
}

.card-info {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-rating {
  font-weight: 400;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-rating i {
  font-size: 12px;
}

.card-details {
  font-size: 15px;
  color: var(--text-medium);
  margin-top: 2px;
  line-height: 1.3;
}

.card-price {
  margin-top: 6px;
  font-size: 15px;
  color: var(--text-dark);
}

.card-price span {
  font-weight: 600;
}

.see-all-card {
  width: 100%;
  aspect-ratio: 20/19;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.see-all-card:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

.see-all-stack {
  position: relative;
  width: 100px;
  height: 100px;
}

.see-all-stack img {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 2px solid #fff;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.see-all-stack img:nth-child(1) { top: 0; left: 10px; z-index: 1; transform: rotate(-5deg); }
.see-all-stack img:nth-child(2) { top: 10px; left: 20px; z-index: 2; transform: rotate(5deg); }
.see-all-stack img:nth-child(3) { top: 20px; left: 0; z-index: 3; }

.see-all-card span {
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.see-all {
  display: flex;
  align-items: center;
  justify-content: center;
}

.see-all .card-img {
  position: relative;
}

.see-all-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
}

/* ===== Inspiration ===== */
.inspiration-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-light);
}

.inspiration-section h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ===== Discover Tabs ===== */
.tabs-wrapper {
    border-bottom: 1px solid #dddddd;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 30px;
}
.tabs-wrapper::-webkit-scrollbar {
    display: none;
}
.tabs {
    display: flex;
    position: relative;
    gap: 40px;
    width: max-content;
}
.tab {
    background: none;
    border: none;
    color: #717171;
    font-size: 14px;
    padding: 0 0 12px;
    cursor: pointer;
    white-space: nowrap;
    transition: .25s;
    font-weight: 500;
}
.tab:hover {
    color: #222;
}
.tab.active {
    color: #222;
    font-weight: 600;
}
.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: #222;
    border-radius: 999px;
    transition: .30s ease;
}
.tab-content {
    padding: 0;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.inspiration-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inspiration-item {
  cursor: pointer;
}

.city-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2px;
}

.city-desc {
  font-size: 13px;
  color: var(--text-medium);
  margin-top: 2px;
}

@media (max-width: 1200px) {
  .inspiration-grid { grid-template-columns: repeat(3, 1fr); }
}

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

@media (max-width: 576px) {
  .inspiration-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ===== Footer ===== */
.main-footer {
  background: var(--bg-gray);
  padding: 48px 0 24px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left,
.footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-left a {
  color: var(--text-dark);
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

.footer-left .dot {
  font-size: 4px;
  vertical-align: middle;
}

.footer-right .lang,
.footer-right .currency {
  font-weight: 500;
  cursor: pointer;
}

.footer-right .lang i,
.footer-right .currency i {
  margin-right: 4px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  color: var(--text-dark);
  font-size: 16px;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--text-medium);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Mobile Offcanvas ===== */
.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  margin-bottom: 8px;
}

.mobile-menu-list li a {
  display: block;
  padding: 12px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: var(--transition);
}

.mobile-menu-list li a:hover {
  background: var(--bg-gray);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for children */
.stagger-container.in-view .listing-card:nth-child(1) { transition-delay: 0.05s; }
.stagger-container.in-view .listing-card:nth-child(2) { transition-delay: 0.1s; }
.stagger-container.in-view .listing-card:nth-child(3) { transition-delay: 0.15s; }
.stagger-container.in-view .listing-card:nth-child(4) { transition-delay: 0.2s; }
.stagger-container.in-view .listing-card:nth-child(5) { transition-delay: 0.25s; }
.stagger-container.in-view .listing-card:nth-child(6) { transition-delay: 0.3s; }
.stagger-container.in-view .listing-card:nth-child(7) { transition-delay: 0.35s; }
.stagger-container.in-view .listing-card:nth-child(8) { transition-delay: 0.4s; }
.stagger-container.in-view .listing-card:nth-child(9) { transition-delay: 0.45s; }
.stagger-container.in-view .listing-card:nth-child(10) { transition-delay: 0.5s; }
.stagger-container.in-view .listing-card:nth-child(11) { transition-delay: 0.55s; }
.stagger-container.in-view .listing-card:nth-child(12) { transition-delay: 0.6s; }
.stagger-container.in-view .listing-card:nth-child(13) { transition-delay: 0.65s; }
.stagger-container.in-view .listing-card:nth-child(14) { transition-delay: 0.7s; }
.stagger-container.in-view .listing-card:nth-child(15) { transition-delay: 0.75s; }

.listing-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-container.in-view .listing-card {
  opacity: 1;
  transform: translateY(0);
}

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

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 600ms linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Search bar expand */
.search-bar.active {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transform: scale(1.02);
}


/* ===== Compact Search Bar (On Scroll) ===== */
.main-header {
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
}



.header-center-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  transition: opacity 0.2s ease, transform 0.3s ease;
  transform-origin: top;
}

.compact-search {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
  padding: 6px 6px 6px 16px;
  white-space: nowrap;
  transition: box-shadow 0.2s;
  margin-right: 12px;
}

.compact-search:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.18);
  cursor: pointer;
}

.compact-btn {
  background: transparent;
  border: none;
  font-size: 14px;
  padding: 0 12px;
}

.compact-divider {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 4px;
}

.compact-search-icon {
  width: 32px;
  height: 32px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  font-size: 14px;
}

/* Scroll Animations */




/* Hide big search bar on scroll */
.search-section {
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.2, 0, 0, 1);
  transform-origin: top;
}
.search-section.scrolled {
  opacity: 0;
  transform: scale(0.95) translateY(-20px);
  pointer-events: none;
  /* Option: to collapse space completely */
  /* height: 0; overflow: hidden; padding: 0; margin: 0; */
}

.section-subtitle {
  color: var(--text-medium);
  font-size: 16px;
  margin-bottom: 30px;
}

.inspiration-item {
  margin-bottom: 2px;
  padding: 4px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.inspiration-item:hover {
  background: var(--bg-gray);
}

.fade-in {
  animation: fadeIn 0.4s ease forwards;
}

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

.bg-gray { background: var(--bg-gray); }

/* ===== Search Section ===== */
    
 
    .search-pill {
      max-width: 860px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      background: #fff;
      border: 1px solid #ddd;
      border-radius: 40px;
      box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
      transition: box-shadow 0.2s ease;
      
    }
 
    .search-pill:hover {
      box-shadow: 0 2px 4px rgba(0,0,0,0.18);
    }
 
    .sf {
      flex: 1;
      padding: 14px 22px;
      cursor: pointer;
      position: relative;
      transition: background 0.15s ease;
      min-width: 0;
    }
 
    .sf:not(:last-of-type)::after {
      content: '';
      position: absolute;
      right: 0; top: 20%; bottom: 20%;
      width: 1px;
      background: #ddd;
      transition: opacity 0.15s ease;
    }
 
    .sf:hover {
      background: #f0f0f0;
      border-radius: 40px;
    }
 
    .sf:hover::after { opacity: 0; }
 
    .sf-label {
      font-size: 11.5px;
      font-weight: 700;
      color: var(--dark);
      letter-spacing: 0.1px;
    }
 
    .sf-value {
      font-size: 13px;
      color: var(--text-medium);
      margin-top: 1px;
    }
 
    .search-btn {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: var(--brand);
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 4px 6px 4px 4px;
      flex-shrink: 0;
      transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    }
 
    .search-btn:hover {
      background: #e00b3f; /* Slightly darker brand red */
      transform: scale(1.06);
      box-shadow: 0 4px 12px rgba(255,56,92,0.4);
    }
 
    .search-btn:active { transform: scale(0.97); }


/* Dropdown Hover */
.dropdown-hover:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}
.dropdown-toggle-custom::after {
    display: none; /* Hide default dropdown arrow */
}
.dropdown-item:hover {
    background-color: #f7f7f7;
    color: var(--text-dark);
}

/* Footer New Styles */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e7e5e4;
  background-color: #fafaf9;
  color: #57534e;
  text-decoration: none;
  transition: all 0.2s ease;
}
.social-icon-btn:hover {
  background-color: #f5f5f4;
  color: #059669;
}
.footer-link {
  color: #78716c;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  display: block;
}
.footer-link:hover {
  color: #059669;
}

/* User Profile Menu Styles */
.hover-bg-light:hover {
  background-color: #f7f7f7 !important;
}
.hover-shadow:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.18) !important;
}
.btn-profile {
  border-color: #dddddd !important;
}

/* Custom Profile Dropdown */
.profile-dropdown-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: white;
  width: 240px;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
  border: 1px solid #ebebeb;
}
.profile-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.profile-dropdown-item {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
}
.profile-dropdown-item:hover {
  background-color: #f7f7f7;
}
.profile-dropdown-divider {
  height: 1px;
  background-color: #ebebeb;
  margin: 8px 0;
}

/* --- USER PROVIDED CSS --- */
html { scroll-behavior: smooth; }
 
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont,
               'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────────
   HEADER (Adapted to .main-header)
───────────────────────────────────────────── */
.main-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid #ebebeb;
}

/* ── NAV TABS (Adapted to .nav-links) ── */
.nav-links .dropdown-toggle-custom {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  color: var(--text-dark) !important;
  transition: 0.2s;
  position: relative;
  user-select: none;
}

.nav-links .dropdown-toggle-custom:hover { color: var(--dark); }

.nav-links .dropdown-toggle-custom.active {
  border-bottom-color: var(--dark);
}

.nav-links .nav-icon, .nav-links video, .nav-links img {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* NEW badge */
.nav-badge {
  position: absolute;
  top: 10px !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  background: var(--brand);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 2.5px 6px;
  border-radius: 20px;
  white-space: nowrap;
  animation: badgePop 0.4s 0.3s cubic-bezier(0.34,1.56,0.64,1) backwards;
}

@keyframes badgePop {
  from { transform: translateX(-50%) scale(0); opacity: 0; }
  to   { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* ── HEADER RIGHT ── */
.become-host {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--dark) !important;
  text-decoration: none;
  padding: 10px 14px !important;
  border-radius: 24px !important;
  transition: background 0.15s ease !important;
  white-space: nowrap;
}

.become-host:hover { background: #f7f7f7 !important; }

/* ─────────────────────────────────────────────
   SEARCH BAR
───────────────────────────────────────────── */


.search-pill {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 40px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05) !important;
  transition: box-shadow 0.2s ease !important;
  
}

.search-pill:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.18) !important;
}

.sf {
  flex: 1;
  padding: 14px 22px !important;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
  min-width: 0;
  border-radius: 40px;
}

.sf:not(:last-of-type)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: #ddd;
  transition: opacity 0.15s ease;
}

.sf:hover {
  background: #f0f0f0;
}

.sf:hover::after { opacity: 0; }

.sf-label {
  font-size: 11.5px !important;
  font-weight: 700 !important;
  color: var(--dark);
  letter-spacing: 0.1px;
}

.sf-value {
  font-size: 13px !important;
  color: var(--text-muted);
  margin-top: 1px;
}

.search-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: var(--brand) !important;
  border: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 6px 4px 4px !important;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease !important;
}

.search-btn:hover {
  transform: scale(1.06) !important;
  box-shadow: 0 4px 12px rgba(255,56,92,0.4) !important;
}

.search-btn:active { transform: scale(0.97) !important; }

/* ─────────────────────────────────────────────
   CONTINUE SECTION (USER PROVIDED)
───────────────────────────────────────────── */
.continue-row {
  padding: 0 80px;
  border-bottom: 1px solid #ebebeb;
}

.continue-card {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  cursor: pointer;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.continue-card:hover { background: #f7f7f7; } /* using #f7f7f7 instead of var(--hover-bg) */

.c-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 2px solid white;
}

.c-thumb-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-info {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.c-main {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--dark);
}

.c-sub {
  font-size: 15.5px;
  color: #717171; /* --gray */
}

.c-arrow {
  margin-left: 2px;
  color: #717171;
  font-size: 15px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.continue-card:hover .c-arrow { transform: translateX(4px); }

/* Make only the destination icon a bit larger */













/* Allow the large 95px destination icon to slightly overflow or fit without pushing the header height too much */






/* Fix scrolled header height */
.main-header {
  transition: height 0.25s ease, background 0.3s ease, box-shadow 0.3s ease !important;
}



/* Allow the large 95px destination icon to slightly overflow or fit without pushing the header height too much */


.main-header.scrolled {
  height: 80px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
}

.main-header.scrolled .nav-links {
  display: none !important; /* Remove from flow so it doesn't prop up the height */
}

/* Remove fixed height from nav links so they can fit inside the smaller header */
.nav-links .dropdown-toggle-custom {
  height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}



/* Restore visibility of compact search when scrolled */




/* Custom sizes for Budget Hotel and Destinations */
.nav-links img[alt="Destinations"] {
  width: 95px !important;
  height: 95px !important;
  margin-right: -36px !important;
  margin-left: -18px !important;
}
.nav-links video[src="hotel_animation_header.mp4"] {
  width: 54px !important;
  height: 54px !important;
}

.search-row {
  padding-top: 8px !important;
  padding-bottom: 12px !important;
}

.search-suggestion { padding: 12px 0 !important; margin-top: 0 !important; }

/* Reduce main header height by ~20% and align content better (move it up visually) */
.main-header:not(.scrolled) {
  height: 90px !important;
  padding: 0 !important;
  display: flex;
  align-items: center; /* keep it centered in the smaller height */
}

/* Allow the large 95px destination icon to slightly overflow or fit without pushing the header height too much */
.main-header:not(.scrolled) .row {
  height: 100%;
}

.nav-links .dropdown-toggle-custom {
  height: auto !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  gap: 6px !important;
}

/* ===== Final Background & Layout Adjustments ===== */

/* 1. Body (Listings) & Continue Section Background: Pure White */
body {
  background: #ffffff !important;
}

.search-suggestion {
  padding: 12px 0 24px 0 !important;
  margin-top: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid #ebebeb !important;
}

/* 2. Header & Search Bar Background: Footer Color (#F7F7F7) */
.main-header {
  background: #F7F7F7 !important;
  border-bottom: none !important; /* Remove line between header and search bar */
}

.search-row {
  background: #F7F7F7 !important;
  border-bottom: 1px solid #cccccc !important; /* Darker line requested by user */
}


.search-row, .search-container {
  background-color: #F7F7F7 !important;
}
.site-footer, footer, .footer {
  background-color: #F7F7F7 !important;
}


@media (min-width: 1200px) {
  .listings-row .listing-card {
    flex: 0 0 calc((100% - 80px) / 6) !important; width: calc((100% - 80px) / 6) !important;
  }
}
@media (max-width: 1199px) and (min-width: 992px) {
  .listings-row .listing-card {
    flex: 0 0 calc((100% - 80px) / 6) !important; width: calc((100% - 80px) / 6) !important;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .listings-row .listing-card {
    flex: 0 0 calc((100% - 80px) / 6) !important; width: calc((100% - 80px) / 6) !important;
  }
}

/* Nav links active/inactive states (borders managed by inline CSS) */
.nav-links .dropdown-toggle-custom {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px !important;
    cursor: pointer;
    padding-bottom: 8px !important;
    transition: opacity 0.2s, color 0.2s !important;
    color: #717171 !important;
    opacity: 0.65;
}

.nav-links .dropdown-toggle-custom:hover {
    color: #222222 !important;
    opacity: 1;
}

.nav-links .dropdown-toggle-custom.active {
    color: #000000 !important;
    opacity: 1;
}

.listings-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 48px;
  padding: 24px 0;
}
.listings-grid .listing-card {
  flex: 0 0 calc((100% - 96px) / 5) !important;
  max-width: calc((100% - 96px) / 5) !important;
  margin-bottom: 0 !important;
  transition: opacity 0.6s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.listings-grid .listing-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.listings-grid .listing-card:hover {
  transform: translateY(-4px);
}
.listings-grid .listing-card:hover .card-img img {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}


/* FORCE VISIBILITY FOR LISTING CARDS IF JS FAILS */



/* ===== Interactive Search Dropdowns ===== */
.search-pill {
  position: relative !important;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  margin-top: 14px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 1000;
  color: #222;
  text-align: left;
}

.search-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Where Dropdown */
.sd-where {
  left: 0;
  width: 400px;
}
.sd-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-left: 8px;
}
.sd-item {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.sd-item:hover {
  background: #f7f7f7;
}
.sd-icon {
  width: 48px;
  height: 48px;
  background: #ebebeb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 20px;
}
.sd-text {
  display: flex;
  flex-direction: column;
}
.sd-primary {
  font-size: 16px;
  font-weight: 400;
}
.sd-secondary {
  font-size: 14px;
  color: #717171;
}

/* When Dropdown */
.sd-when {
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 850px;
  padding: 32px;
  border-radius: 32px;
}
.sd-when.active {
  transform: translateX(-50%) translateY(0);
}
.sd-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  background: #ebebeb;
  border-radius: 32px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 4px;
}
.sd-tab {
  padding: 8px 24px;
  border-radius: 32px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.sd-tab.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.sd-calendar-container {
  display: flex;
  justify-content: center;
}

/* Who Dropdown */
.sd-who {
  right: 0;
  width: 400px;
  padding: 16px 32px;
}
.sd-guest-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #ebebeb;
}
.sd-guest-row:last-child {
  border-bottom: none;
}
.sd-guest-title {
  font-size: 16px;
  font-weight: 600;
}
.sd-guest-desc {
  font-size: 14px;
  color: #717171;
  margin-top: 2px;
}
.sd-guest-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.sd-btn-minus, .sd-btn-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #717171;
  background: #fff;
  color: #717171;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sd-btn-minus:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ebebeb;
}
.sd-btn-minus:not(:disabled):hover, .sd-btn-plus:hover {
  border-color: #222;
  color: #222;
}
.sd-guest-count {
  font-size: 16px;
  width: 16px;
  text-align: center;
}

/* SF Active State */
.sf {
  border-radius: 32px;
  transition: background 0.2s;
}
.sf:hover {
  background: #ebebeb;
}
.sf.active {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.search-pill.has-active {
  background: #ebebeb;
}

/* Search Btn Airbnb Pink Override */
.search-btn {
  background: #E61E4D !important;
  transition: all 0.2s ease !important;
}
.search-btn:hover {
  background: linear-gradient(to right, #E61E4D 0%, #E31C5F 50%, #D70466 100%) !important;
}

/* Mobile Search Icon Update */
.compact-search-icon {
  background: #E61E4D !important;
}


/* Responsive Search Dropdowns */
@media (max-width: 991px) {
  .search-dropdown {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    margin-top: 8px !important;
    padding: 16px !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    background: #f7f7f7 !important;
  }
  
  .sd-when, .sd-where, .sd-who {
    width: 100% !important;
    left: 0 !important;
    transform: none !important;
  }
  
  .search-dropdown.active {
    transform: none !important;
  }
  
  .sf.active {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}


/* ===== AI Voice Search Styles ===== */
.ai-search-pill {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 40px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 6px 8px 6px 24px;
  max-width: 650px;
  width: 100%;
  margin: 0 auto;
  transition: box-shadow 0.2s, background 0.2s;
  position: relative;
}

.ai-search-pill:hover, .ai-search-pill:focus-within {
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
  background: #ffffff;
}

.ai-search-input-wrapper {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

#aiSearchInput {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  outline: none;
  padding: 8px 0;
}

#aiSearchInput::placeholder {
  color: var(--text-medium);
  font-weight: 400;
}

.ai-search-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-btn-voice {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.ai-btn-voice:hover {
  background: var(--bg-gray);
  color: var(--brand);
}

.ai-btn-voice.listening {
  background: #ef4444;
  color: white;
  animation: pulse-mic 1.5s infinite;
}

@keyframes pulse-mic {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.voice-wave {
  position: absolute;
  left: 0;
  bottom: -22px;
  font-size: 0.85rem;
  color: #ef4444;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.voice-wave.show { opacity: 1; }

.ai-btn-search {
  background: var(--brand);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.ai-btn-search:hover {
  background: var(--brand-hover);
}
.ai-btn-search:active {
  transform: scale(0.95);
}

/* Suggestions Dropdown */
.ai-search-dropdown {
  position: absolute;
  top: calc(100% + 24px);
  left: -20px;
  right: -80px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
  padding: 24px;
  z-index: 100;
  display: none;
}

.ai-search-dropdown.show {
  display: block;
}

/* Compact AI Search Header */
.ai-compact-search {
  gap: 8px;
  padding: 4px 6px 4px 12px;
}

.compact-ai-input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 4px;
}

.ai-btn-voice-compact {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-size: 1.1rem;
  padding: 4px;
  cursor: pointer;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.ai-btn-voice-compact:hover { background: var(--bg-gray); color: var(--brand); }
.ai-btn-voice-compact.listening { background: #ef4444; color: white; }



/* ===== Hero Section Background ===== */
.search-row {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/3315291/pexels-photo-3315291.jpeg?auto=compress&cs=tinysrgb&w=1920');
  /* Beautiful luxury hotel hotel resort architecture image */
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  padding: 120px 24px;
  margin-bottom: 48px;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .search-row {
    padding: 80px 16px;
    border-radius: 0 0 24px 24px;
  }
}


/* ===== Premium Header Enhancements ===== */
.main-header {
  border-bottom: 1px solid #EBEBEB;
  padding-top: 8px;
  padding-bottom: 8px;
}

.compact-search {
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05) !important;
  border: 1px solid #DDDDDD !important;
  transition: box-shadow 0.2s ease !important;
}

.compact-search:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.18) !important;
}

#profileDropdownBtn {
  border: 1px solid #DDDDDD !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

#profileDropdownBtn:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}


/* ---- PREMIUM HEADER DEMO ---- */
:root {
  --brand: #FF385C;
  --brand-2: #FF7A59;
  --ink: #1A1A1A;
  --ink-soft: #6b6b6b;
  --line: rgba(0,0,0,0.08);
  --glass: rgba(255,255,255,0.72);
  --glass-strong: rgba(255,255,255,0.92);
  --gold: #E0A100;
  --radius: 999px;
}

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Premium Glassmorphism */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
  transition: padding .4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow .4s ease, background .4s ease;
  padding: 18px 32px;
}

/* Subtle top highlight for depth */
#siteHeader::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,56,92,0.35), transparent);
  z-index: 1;
}

#siteHeader.scrolled {
  padding: 12px 32px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
#siteHeader .bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#siteHeader nav {
  position: relative;
  display: flex;
  gap: 4px;
  background: transparent;
}
#siteHeader nav .pill {
  position: absolute;
  top: 0; bottom: 0;
  left: 0; width: 0;
  background: rgba(255,56,92,0.09);
  border-radius: var(--radius);
  transition: left .35s cubic-bezier(.2,.8,.2,1), width .35s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
  opacity: 0;
  z-index: 0;
}
#siteHeader nav a {
  position: relative;
  z-index: 1;
  padding: 6px 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color .25s ease;
  white-space: nowrap;
}
#siteHeader nav a.active, #siteHeader nav a:hover {
  color: var(--brand);
}

#siteHeader .search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  padding: 9px 8px 9px 18px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: width .4s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
#siteHeader .search:hover {
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.1);
}
#siteHeader .search:focus-within {
  width: 420px;
  background: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(255,56,92,0.18);
}
#siteHeader .search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
}
#siteHeader .search input::placeholder {
  color: #9b9b9b;
}
#siteHeader .search .icon-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); /* Solid pink as requested */
  flex: none;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
#siteHeader .search .icon-btn:hover {
  box-shadow: 0 4px 12px rgba(255, 56, 92, 0.4);
}
#siteHeader .search .icon-btn svg {
  width: 15px; height: 15px;
  stroke: #fff;
  transition: transform .5s ease;
}
#siteHeader .search:focus-within .icon-btn svg {
  transform: rotate(90deg);
}
#siteHeader .search .icon-btn:hover {
  transform: scale(1.08);
}

#siteHeader .right {
  display: flex;
  align-items: center;
  gap: 14px;
}
#siteHeader .menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 8px 6px 14px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow .3s ease;
  position: relative;
}
#siteHeader .menu-btn:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
#siteHeader .menu-btn svg {
  width: 16px; height: 16px;
  stroke: var(--ink);
}
#siteHeader .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg,#444,#222);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
#siteHeader .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  transform: translateY(-8px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  text-align: left;
}
#siteHeader .menu-btn.open .dropdown {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#siteHeader .dropdown a, #siteHeader .dropdown .profile-dropdown-item {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background .2s ease;
}
#siteHeader .dropdown a:hover, #siteHeader .dropdown .profile-dropdown-item:hover {
  background: #f7f4f2;
}

@media (max-width:900px) {
  #siteHeader .search {
    width: 0;
    padding: 0;
    border: none;
    overflow: hidden;
  }
  #siteHeader nav {
    display: none;
  }
}

#siteHeader .menu-btn.circular {
  padding: 0;
  border: none;
  background: transparent;
  border-radius: 50%;
}
#siteHeader .menu-btn.circular .avatar {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--ink-soft);
  transition: all 0.2s ease;
  font-size: 22px;
}
#siteHeader .menu-btn.circular:hover .avatar {
  background: rgba(0,0,0,0.04);
  color: var(--ink);
}
#siteHeader nav .pill {
  display: none !important;
}

/* ===== New Badge for Header Links ===== */
nav a {
    position: relative !important;
}
.badge-new {
    position: absolute !important;
    top: -4px !important;
    left: calc(100% - 24px) !important;
    transform: rotate(15deg) !important;
    background: linear-gradient(135deg, #ff4d6d 0%, #ff0f7b 100%) !important;
    color: white !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 4px rgba(255, 15, 123, 0.4) !important;
    pointer-events: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: max-content !important;
    height: 16px !important;
    line-height: 1 !important;
}


/* ===== Discover Grid (Matches Index.html Listing Cards) ===== */
.discover-grid {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 24px;
  padding-bottom: 24px;
}
.discover-grid > a {
  flex: 0 0 calc((100% - 48px) / 4);
  max-width: calc((100% - 48px) / 4);
  margin-bottom: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 14px;
}
.discover-grid > a:hover {
  transform: translateY(-4px);
}

@media (max-width: 1199px) and (min-width: 992px) {
  .discover-grid > a {
    flex: 0 0 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3);
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .discover-grid > a {
    flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2);
  }
}
@media (max-width: 767px) {
  .discover-grid > a {
    flex: 0 0 100%; max-width: 100%;
  }
}


/* ===== Custom Pagination ===== */
.custom-pagination {
  gap: 8px;
}
.custom-pagination .page-link {
  color: #222;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-weight: 600;
  font-size: 15px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.custom-pagination .page-item.active .page-link {
  background-color: #222;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.custom-pagination .page-link:hover {
  background-color: #f1f1f1;
  color: #222;
}
.custom-pagination .page-item.active .page-link:hover {
  background-color: #000;
  color: #fff;
}
.custom-pagination .page-item.disabled .page-link {
  color: #ccc;
  cursor: not-allowed;
}

.discover-grid .listing-card {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

/* Mobile Responsive Overhaul */
.mobile-top-nav, .mobile-bottom-nav {
  display: none;
}

@media (max-width: 767px) {
  /* Hide Desktop Header and Footer */
  #siteHeader {
    display: none !important;
  }
  
  
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  
  /* Show Mobile Top Nav */
  .mobile-top-nav {
    display: block;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    padding: 12px 16px 8px;
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
  }
  
  .mobile-search-pill {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    padding: 10px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
    color: #222222;
    font-size: 14px;
    font-weight: 500;
  }
  
  .mobile-category-pills {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    scrollbar-width: none;
    justify-content: space-between;
  }
  .mobile-category-pills::-webkit-scrollbar {
    display: none;
  }
  
  .mobile-cat-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 40px;
    color: #717171;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.2s;
    flex: 1;
  }
  
  .mobile-cat-pill.active {
    border-color: #222;
    color: #222;
    background: #f7f7f7;
  }
  
  /* Horizontal Scrolling for Listings Sections */
  .listings-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: none;
    gap: 16px;
  }
  .listings-row::-webkit-scrollbar {
    display: none;
  }
  
  /* Reset Card Widths */
  .listings-row .listing-card {
    flex: 0 0 40vw !important; 
    width: 40vw !important;
    max-width: 40vw !important;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
  }
  
  /* Specific styling for 'Trending this week' (Recently viewed) */
  #trending-section .listings-row .listing-card {
    flex: 0 0 40vw !important;
    width: 40vw !important;
    max-width: 40vw !important;
  }
  
  #trending-section .listings-row .listing-card .card-img {
    aspect-ratio: 1/1 !important; 
  }
  
  
  
  .scroll-nav { display: none !important; }

  /* Mobile Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #ebebeb;
    padding: 12px 0 24px;
    z-index: 1000;
  }
  
  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #717171;
    font-size: 10px;
    font-weight: 500;
    gap: 4px;
    transition: color 0.2s;
  }
  
  .bottom-nav-item.active {
    color: #ff385c;
  }
  
  body {
    padding-bottom: 80px;
  }

  /* Make Guest favourite badge smaller on mobile and move left */
  .badge {
    font-size: 10px !important;
    padding: 3px 6px !important;
    top: 8px !important;
    left: 8px !important;
  }

  .inspiration-item .city-name { font-size: 13px !important; }
  .inspiration-item .city-desc { font-size: 11px !important; }
}

/* Trending Cards Row */
.trending-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 8px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.trending-row::-webkit-scrollbar {
  display: none;
}
.trending-card {
  flex: 0 0 calc(31.25% - 11.25px);
  scroll-snap-align: start;
  max-width: 140px;
}
@media (min-width: 768px) {
  .trending-card {
  flex: 0 0 calc(31.25% - 11.25px);
  scroll-snap-align: start;
  max-width: 140px;
}
}



.trending-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark, #222222);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trending-subtitle {
  font-size: 15px;
  color: var(--text-medium, #717171);
  margin-top: 2px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trending-cards-section { padding-top: 16px; padding-bottom: 8px; }



@media (min-width: 768px) {
  .trending-card:nth-child(n+4) {
    display: none !important;
  }
  .trending-row {
    justify-content: flex-start !important;
    gap: 16px;
  }
  .trending-card {
    flex: 0 0 140px !important;
    max-width: 140px !important;
  }
}

/* Make skeleton cards match the 6-card row width */
@media (min-width: 768px) {
  .listings-row .skeleton-card {
    flex: 0 0 calc((100% - 80px) / 6) !important; width: calc((100% - 80px) / 6) !important; min-width: 0 !important; margin-right: 0 !important;
  }
}
@media (max-width: 767px) {
  .listings-row .skeleton-card {
    flex: 0 0 40vw !important; width: 40vw !important; min-width: 0 !important; margin-right: 0 !important;
  }
}

/* Prevent wrapping on header elements */
.text-logo span { white-space: nowrap !important; }
.become-host-btn { white-space: nowrap !important; }
