/**
 * Homepage browse-mode redesign (BNBBooking.net mockup).
 * Scoped to body[data-home-browse] — search results mode unchanged.
 */
body[data-home-browse] {
  --hb-pink: #e91e8a;
  --hb-pink-dark: #d5167c;
  --hb-blue: #163f95;
  --hb-blue-deep: #0d2b7a;
  --hb-text: #172b5c;
  --hb-muted: #65708a;
  --hb-line: #ebebeb;
  --home-hero-image: url("/hero-bg.png");
  --hb-page-max: 100%;
  --hb-page-gutter: 12px;
  --hb-search-max: min(1120px, calc(100vw - (var(--hb-page-gutter) * 2)));
  --hb-card-width: 240px;
  font-family: "Poppins", "Airbnb Cereal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hb-text);
}

@media (min-width: 768px) {
  body[data-home-browse] {
    --hb-page-gutter: 16px;
  }
}

@media (min-width: 992px) {
  body[data-home-browse] {
    --hb-page-gutter: 20px;
  }
}

body[data-home-browse] .site-header,
body[data-home-browse] .site-header.sticky-top,
body[data-home-browse] .site-header.bg-white {
  --site-header-bg: #0d2b7a;
  --site-header-fg: #ffffff;
  --site-header-fg-muted: rgba(255, 255, 255, 0.78);
  --site-header-hover: rgba(255, 255, 255, 0.12);
  background: #0d2b7a !important;
  color: #ffffff !important;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body[data-home-browse] .site-header--scrolled {
  --site-header-bg: #0d2b7a;
  --site-header-fg: #ffffff;
  --site-header-fg-muted: rgba(255, 255, 255, 0.78);
  --site-header-hover: rgba(255, 255, 255, 0.12);
  background: #0d2b7a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  cursor: default;
}

body[data-home-browse] .site-header--scrolled .site-header__inner {
  background: #0d2b7a !important;
  color: #ffffff !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

body[data-home-browse] .site-header__inner {
  background: #0d2b7a !important;
  color: #ffffff !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body[data-home-browse] .site-header__inner {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: var(--hb-page-gutter);
  padding-right: var(--hb-page-gutter);
  box-sizing: border-box;
}

body[data-home-browse] .site-header__row--top {
  min-height: 78px;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 1rem;
  flex-wrap: nowrap;
  margin: 0 !important;
  width: 100%;
}

body[data-home-browse] .site-header__row--top > [class*="col-"] {
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  padding: 0 !important;
}

body[data-home-browse] .site-header__logo-col {
  justify-self: start;
  grid-column: 1;
}

body[data-home-browse] .site-header__center-col {
  justify-self: center;
  grid-column: 2;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  justify-content: center !important;
}

body[data-home-browse] .site-header__user-col {
  justify-self: end;
  grid-column: 3;
}

body[data-home-browse] .site-header__actions {
  justify-content: flex-end;
  width: 100%;
}

body[data-home-browse] .site-header__logo-col .brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

body[data-home-browse] .site-header__logo-col .brand-logo__img,
body[data-home-browse] .site-header__logo-col .brand-logo img {
  display: block;
  height: var(--brand-logo-height, 54px);
  width: auto;
  max-height: 54px;
}

body[data-home-browse] .site-header__nav {
  gap: 0;
}

body[data-home-browse] .site-header__nav-item:not(.site-header__nav-item--home),
body[data-home-browse] .site-header__nav-item[aria-label*="coming soon"] {
  display: none !important;
}

body[data-home-browse] .site-header__nav-item--home,
body[data-home-browse] .site-header__nav-item.site-header__nav-item--active {
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 27px 15px 23px;
  border-bottom: 3px solid var(--hb-pink);
  border-radius: 0;
  background: transparent !important;
  text-decoration: none;
}

body[data-home-browse] .site-header__nav-item--active::after {
  display: none !important;
}

body[data-home-browse] .site-header__nav-item--home:hover,
body[data-home-browse] .site-header__nav-item.site-header__nav-item--active:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body[data-home-browse] .site-header__nav-icon {
  color: var(--hb-pink);
  font-size: 14px;
}

body[data-home-browse] .site-header__nav-label-wrap,
body[data-home-browse] .badge-new {
  display: none !important;
}

body[data-home-browse] .site-header__link,
body[data-home-browse] .site-header__actions .site-header__link {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
}

body[data-home-browse] .site-header__link:hover {
  color: var(--hb-pink) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

body[data-home-browse] .site-header__user-btn,
body[data-home-browse] a.site-header__user-btn {
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

body[data-home-browse] .site-header__user-btn:hover,
body[data-home-browse] a.site-header__user-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

body[data-home-browse] .site-header__user-btn--photo {
  border-color: rgba(255, 255, 255, 0.7) !important;
  background: #ffffff !important;
}

body[data-home-browse] .site-header__menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  border-radius: 50%;
  color: #ffffff !important;
  background: transparent !important;
}

body[data-home-browse] .site-header__menu-btn:hover {
  background: var(--hb-pink) !important;
  border-color: var(--hb-pink) !important;
  color: #ffffff !important;
}

body[data-home-browse] .site-header__menu-svg {
  color: currentColor !important;
  stroke: currentColor !important;
}

body[data-home-browse] #siteHeader.site-header--scrolled .search-pill--compact {
  background: #ffffff !important;
  border-color: #dddddd !important;
  color: #222222 !important;
}

body[data-home-browse] #siteHeader.site-header--scrolled .search-pill--compact span,
body[data-home-browse] #siteHeader.site-header--scrolled .search-pill__where-input--compact {
  color: #222222 !important;
}

body[data-home-browse] #siteHeader.site-header--scrolled .search-pill__btn {
  background: var(--hb-pink) !important;
  color: #ffffff !important;
}

body[data-home-browse] #siteHeader:not(.site-header--scrolled) .site-header__nav {
  display: inline-flex !important;
}

body[data-home-browse] #siteHeader.site-header--scrolled .site-header__nav {
  display: none !important;
}

body[data-home-browse] #siteHeader:not(.site-header--scrolled) .site-header__search-compact {
  display: none !important;
}

body[data-home-browse] #siteHeader.site-header--scrolled .site-header__search-compact {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  max-height: none !important;
  position: relative !important;
  width: min(560px, 46vw);
  min-width: 300px;
}

body[data-home-browse] #siteHeader.site-header--scrolled .search-pill--compact {
  max-width: none !important;
  width: 100%;
}

body[data-home-browse] #siteHeader .site-header__search-expanded {
  padding: 0;
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

body[data-home-browse] .home-browse-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(68vh, 620px);
  padding-bottom: 0;
  background-color: #f4f6fb;
  background-image:
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.88) 28%,
      rgba(255, 255, 255, 0.45) 52%,
      rgba(255, 255, 255, 0.08) 72%,
      rgba(255, 255, 255, 0) 88%
    ),
    var(--home-hero-image, url("/hero-bg.png"));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

body[data-home-browse] .home-browse-hero__shell {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  min-height: inherit;
  padding: 72px var(--hb-page-gutter) 40px;
  box-sizing: border-box;
  gap: 32px;
}

body[data-home-browse] .home-browse-hero__inner {
  width: 100%;
  max-width: 640px;
  margin: 0;
  padding: 0;
}

body[data-home-browse] .home-browse-hero__eyebrow {
  color: var(--hb-pink);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

body[data-home-browse] .home-browse-hero__title {
  max-width: 620px;
  color: var(--hb-blue);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 700;
  margin: 0 0 20px;
}

body[data-home-browse] .home-browse-hero__desc {
  max-width: 470px;
  color: var(--hb-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

body[data-home-browse] .home-browse-hero__search-slot {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: min(100%, var(--hb-search-max));
  max-width: 100%;
  margin: auto auto -48px;
  transform: none;
  z-index: 20;
  flex-shrink: 0;
}

body[data-home-browse] .home-browse-hero__search-slot .site-header__search-expanded-row,
body[data-home-browse] .home-browse-hero__search-slot .col-md-6 {
  max-width: 100%;
  width: 100%;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill--expanded {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
  grid-template-areas: "where checkin checkout who search";
  align-items: stretch;
  gap: 0;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow:
    0 6px 20px rgba(20, 45, 100, 0.08),
    0 22px 48px rgba(20, 45, 100, 0.12) !important;
  padding: 8px !important;
  background: #fff !important;
  min-height: 66px;
  transform: none !important;
  width: 100%;
  max-width: 100%;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__item--where {
  grid-area: where;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__item--checkin {
  grid-area: checkin;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__item--checkout {
  grid-area: checkout;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__item--who {
  grid-area: who;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__btn--primary {
  grid-area: search;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__item {
  min-height: 58px;
  padding: 8px 22px !important;
  border-right: 1px solid #eee;
  border-bottom: none;
  border-radius: 0 !important;
  justify-content: center;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__item--who {
  border-right: none;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__divider {
  display: none !important;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__label {
  color: #1c1c1c;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-bottom: 4px;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__where-input,
body[data-home-browse] .home-browse-hero__search-slot .js-search-when-summary,
body[data-home-browse] .home-browse-hero__search-slot .js-search-checkin-summary,
body[data-home-browse] .home-browse-hero__search-slot .js-search-checkout-summary,
body[data-home-browse] .home-browse-hero__search-slot .js-search-who-summary {
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__btn--primary {
  margin: 4px !important;
  width: auto !important;
  min-width: 132px !important;
  max-width: none !important;
  height: auto !important;
  min-height: 52px !important;
  border-radius: 999px !important;
  background: var(--hb-pink) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 0 22px !important;
  gap: 0;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__btn--primary .search-pill__btn-label {
  display: inline;
  white-space: nowrap;
}

body[data-home-browse] .home-browse-hero__search-slot .search-pill__btn--primary .search-pill__btn-icon {
  display: none;
}

/* Browse homepage: Airbnb-style Where dropdown — no duplicate search box inside panel */
body[data-home-browse] .search-destination.search-destination--floating .search-destination__search-row {
  display: none !important;
}

body[data-home-browse] .search-destination.search-destination--floating {
  border-radius: 28px;
  padding: 1rem 0.55rem 1rem 0.85rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}

body[data-home-browse] .search-destination.search-destination--floating .search-destination__heading {
  font-size: 0.75rem;
  color: #717171;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

body[data-home-browse] .home-browse-main {
  padding-top: 0 !important;
}

body[data-home-browse] .home-trustpilot {
  background: #ffffff;
  border-bottom: 1px solid var(--hb-line);
  padding: 18px var(--hb-page-gutter);
}

body[data-home-browse] .home-trustpilot__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin: 0 auto;
}

body[data-home-browse] .home-trustpilot .trustpilot-widget {
  width: min(100%, 520px);
}

body[data-home-browse] .home-trustpilot .trustpilot-widget iframe {
  margin: 0 auto;
}

body[data-home-browse] .home-browse-properties {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 40px var(--hb-page-gutter) 72px !important;
  box-sizing: border-box;
}

body[data-home-browse] .home-browse-properties.container-fluid {
  padding-left: var(--hb-page-gutter) !important;
  padding-right: var(--hb-page-gutter) !important;
}

body[data-home-browse] .property-section {
  margin-bottom: 36px !important;
}

body[data-home-browse] .property-section__title-link {
  color: #222222 !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  gap: 6px;
  text-decoration: none !important;
}

body[data-home-browse] .property-section__title-link:hover {
  color: #222222 !important;
  text-decoration: none !important;
}

body[data-home-browse] .property-section__title-link:hover .property-section__title-text {
  text-decoration: underline;
  text-underline-offset: 3px;
}

body[data-home-browse] .property-section__title-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0f0f0;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

body[data-home-browse] .property-section__title-link:hover .property-section__title-arrow {
  background: #e8e8e8;
  transform: translateX(1px);
}

body[data-home-browse] .property-section__title-arrow-icon {
  display: block;
  width: 12px;
  height: 12px;
  stroke: #222222;
  stroke-width: 4px;
  fill: none;
}

body[data-home-browse] .property-section__head {
  align-items: center;
  margin-bottom: 0.5rem !important;
}

body[data-home-browse] .property-section__controls {
  flex-shrink: 0;
  gap: 8px !important;
}

body[data-home-browse] .property-section__scroll-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body[data-home-browse] .property-section__scroll-btn:hover:not(:disabled) {
  border-color: #b0b0b0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body[data-home-browse] .property-section__scroll-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

body[data-home-browse] .property-section__scroll-icon {
  display: block;
  fill: none;
  width: 12px;
  height: 12px;
  stroke: currentcolor;
  stroke-width: 4px;
  overflow: visible;
}

body[data-home-browse] .property-section__scroll-icon--left {
  transform: rotate(180deg);
}

body[data-home-browse] .property-section__list-wrap {
  min-height: 12rem;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  margin-right: 0;
  padding-right: 0;
}

body[data-home-browse] .property-section__list-wrap::-webkit-scrollbar {
  display: none;
}

body[data-home-browse] .property-section__list-wrap .property-cards-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  min-width: 100%;
  gap: 16px;
  margin: 0 !important;
  overflow: visible !important;
}

body[data-home-browse] .property-section__list-wrap .property-cards-row > [class*="col-"],
body[data-home-browse] .property-section__list-wrap .home-browse-card-col {
  flex: 0 0 auto !important;
  width: var(--hb-card-width, 240px) !important;
  max-width: var(--hb-card-width, 240px) !important;
  padding: 0 !important;
}

/* Airbnb-style listing cards */
body[data-home-browse] .home-browse-card-link {
  display: block;
  color: inherit;
}

body[data-home-browse] .home-browse-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body[data-home-browse] .home-browse-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 19;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
}

body[data-home-browse] .home-browse-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

body[data-home-browse] .home-browse-card-link:hover .home-browse-card__img {
  transform: scale(1.03);
}

body[data-home-browse] .home-browse-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #222222;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body[data-home-browse] .home-browse-card__badge--sponsored {
  background: #ffffff;
  color: #9d174d;
}

body[data-home-browse] .home-browse-card__heart.property-card__heart {
  top: 10px !important;
  right: 10px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.95) !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

body[data-home-browse] .home-browse-card__heart.property-card__heart::after {
  content: none !important;
}

body[data-home-browse] .home-browse-card__heart .property-card__heart-icon {
  width: 24px !important;
  height: 24px !important;
  fill: rgba(0, 0, 0, 0.55) !important;
  stroke: #ffffff !important;
  stroke-width: 2px !important;
}

body[data-home-browse] .home-browse-card__heart.property-card__heart:hover,
body[data-home-browse] .home-browse-card__heart.property-card__heart:focus-visible {
  transform: scale(1.06);
  background: transparent !important;
  box-shadow: none !important;
}

body[data-home-browse] .home-browse-card__heart.property-card__heart.is-saved,
body[data-home-browse] .home-browse-card__heart.property-card__heart[aria-pressed="true"] {
  background: transparent !important;
  box-shadow: none !important;
}

body[data-home-browse] .home-browse-card__heart.property-card__heart.is-saved .property-card__heart-icon,
body[data-home-browse] .home-browse-card__heart.property-card__heart[aria-pressed="true"] .property-card__heart-icon {
  fill: #e91e8a !important;
  stroke: #ffffff !important;
}

body[data-home-browse] .home-browse-card__body {
  padding: 10px 2px 0;
  min-height: 0 !important;
}

body[data-home-browse] .home-browse-card__title {
  margin: 0 0 2px;
  color: #222222;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-home-browse] .home-browse-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #717171;
  font-size: 15px;
  line-height: 1.25;
}

body[data-home-browse] .home-browse-card__price {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body[data-home-browse] .home-browse-card__price-value {
  color: #222222;
  font-weight: 600;
}

body[data-home-browse] .home-browse-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: #222222;
  font-weight: 400;
}

body[data-home-browse] .home-browse-card__star {
  width: 12px;
  height: 12px;
  fill: #222222;
  flex-shrink: 0;
}

/* Legacy card overrides (search mode / old markup) */
body[data-home-browse] .property-card {
  border: none !important;
  border-radius: 0 !important;
  overflow: visible;
  box-shadow: none !important;
  transition: none;
  background: transparent;
}

body[data-home-browse] .property-card:hover {
  transform: none;
  box-shadow: none !important;
}

body[data-home-browse] .property-card .card-text.text-muted {
  display: none;
}

body[data-home-browse] .guest-favorite-badge {
  top: 13px;
  left: 13px;
}

body[data-home-browse] .pd-footer {
  background: var(--hb-blue-deep);
  color: #fff;
  margin-top: 0;
}

body[data-home-browse] .pd-footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 55px;
  padding-bottom: 40px;
}

body[data-home-browse] .pd-footer-grid {
  gap: 60px;
}

body[data-home-browse] .pd-footer-col h6 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

body[data-home-browse] .pd-footer-col-desc,
body[data-home-browse] .pd-footer-links a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 13px;
}

body[data-home-browse] .pd-footer-links a:hover {
  color: var(--hb-pink) !important;
}

body[data-home-browse] .pd-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0 40px;
}

body[data-home-browse] .pd-footer-legal,
body[data-home-browse] .pd-footer-legal a,
body[data-home-browse] .pd-footer-meta,
body[data-home-browse] .pd-footer-meta a,
body[data-home-browse] .pd-footer-currency-link {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 12px;
}

body[data-home-browse] .pd-footer-legal a:hover,
body[data-home-browse] .pd-footer-meta a:hover {
  color: #fff !important;
}

body[data-home-browse] .pd-footer-dot {
  color: rgba(255, 255, 255, 0.35);
}

body[data-home-browse] .pd-footer-social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}

body[data-home-browse] .pd-footer-social-link:hover {
  background: var(--hb-pink);
  border-color: var(--hb-pink);
}

body[data-home-browse] .pd-footer-social-icon,
body[data-home-browse] .pd-footer-social-icon path {
  fill: #ffffff !important;
}

body[data-home-browse] .pd-footer-social-fallback {
  color: #ffffff;
}

@media (min-width: 1440px) {
  body[data-home-browse] {
    --hb-page-gutter: 24px;
    --hb-card-width: 252px;
  }

  body[data-home-browse] .home-browse-hero {
    min-height: min(62vh, 660px);
  }

  body[data-home-browse] .home-browse-hero__shell {
    padding-top: 80px;
    gap: 40px;
  }

  body[data-home-browse] .home-browse-hero__title {
    font-size: 58px;
  }

  body[data-home-browse] .property-section__list-wrap .property-cards-row {
    gap: 16px;
  }

  body[data-home-browse] #siteHeader.site-header--scrolled .site-header__search-compact {
    width: min(620px, 44vw);
  }
}

@media (min-width: 1920px) {
  body[data-home-browse] {
    --hb-page-gutter: 28px;
    --hb-card-width: 252px;
  }

  body[data-home-browse] .home-browse-hero {
    min-height: min(58vh, 700px);
  }
}

@media (max-width: 1199px) {
  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays.search-pill--expanded {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "where where"
      "checkin checkout"
      "who who"
      "search search";
    border-radius: 20px !important;
    padding: 0 !important;
    min-height: 0;
    overflow: hidden;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__item {
    min-height: 56px;
    padding: 12px 18px !important;
    border-right: none;
    border-bottom: 1px solid #eee;
    justify-content: center;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__item--checkin {
    border-right: 1px solid #eee;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__item--who {
    border-bottom: none;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__btn--primary {
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 0 0 20px 20px !important;
    gap: 8px;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__btn--primary .search-pill__btn-label {
    display: inline;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__btn--primary .search-pill__btn-icon {
    display: block;
    width: 18px;
    height: 18px;
  }

  body[data-home-browse] #siteHeader.site-header--scrolled .site-header__search-compact {
    width: min(100%, 520px);
    min-width: 0;
  }
}

@media (max-width: 767px) {
  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays.search-pill--expanded {
    grid-template-columns: 1fr;
    grid-template-areas:
      "where"
      "checkin"
      "checkout"
      "who"
      "search";
    border-radius: 16px !important;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__item {
    min-height: 52px;
    padding: 10px 16px !important;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__item--checkin {
    border-right: none;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__item--who {
    border-bottom: 1px solid #eee;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill--home-stays .search-pill__btn--primary {
    min-height: 48px !important;
    height: 48px !important;
    border-radius: 0 0 16px 16px !important;
    font-size: 15px;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill__label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill__where-input,
  body[data-home-browse] .home-browse-hero__search-slot .js-search-checkin-summary,
  body[data-home-browse] .home-browse-hero__search-slot .js-search-checkout-summary,
  body[data-home-browse] .home-browse-hero__search-slot .js-search-who-summary {
    font-size: 14px !important;
  }

  body[data-home-browse] .search-destination.search-destination--floating,
  body[data-home-browse] .search-calendar.search-calendar--floating,
  body[data-home-browse] .search-guests.search-guests--floating {
    width: min(420px, calc(100vw - 24px)) !important;
    max-height: min(72vh, 480px);
  }
}

@media (max-width: 1100px) {
  body[data-home-browse] .home-browse-hero__search-slot .search-pill--expanded:not(.search-pill--home-stays) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "where when"
      "who search";
    border-radius: 20px !important;
    padding: 0 !important;
  }
}

@media (max-width: 700px) {
  body[data-home-browse] .site-header__inner {
    width: 100%;
    padding-left: var(--hb-page-gutter);
    padding-right: var(--hb-page-gutter);
  }

  body[data-home-browse] .home-browse-hero__shell {
    width: 100%;
    padding: 56px var(--hb-page-gutter) 24px;
    gap: 24px;
  }

  body[data-home-browse] .home-browse-hero__inner,
  body[data-home-browse] .home-browse-properties {
    width: 100%;
  }

  body[data-home-browse] .property-section__list-wrap {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }

  body[data-home-browse] .home-browse-hero__search-slot {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
  }

  body[data-home-browse] .home-browse-hero__search-slot .search-pill__item {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  body[data-home-browse] .site-header__row--top {
    min-height: 64px;
    column-gap: 0.5rem;
  }

  body[data-home-browse] #siteHeader.site-header--scrolled .site-header__search-compact {
    width: 100%;
    min-width: 0;
  }

  body[data-home-browse] #siteHeader.site-header--scrolled .site-header__center-col {
    min-width: 0;
    overflow: hidden;
  }

  body[data-home-browse] .search-pill--compact {
    max-width: 100% !important;
    min-width: 0;
    padding: 0.4rem 0.5rem 0.4rem 0.65rem !important;
    font-size: 0.78rem !important;
  }

  body[data-home-browse] .search-pill--compact > span {
    padding: 0 0.25rem;
  }

  body[data-home-browse] .search-pill--compact .search-pill__btn {
    width: 30px;
    height: 30px;
    min-width: 30px;
  }

  body[data-home-browse] .site-header__nav-item--home {
    display: none !important;
  }

  body[data-home-browse] .home-browse-hero {
    min-height: auto;
    padding-bottom: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.82)),
      var(--home-hero-image, url("/hero-bg.png"));
    background-position: center center;
    background-size: cover;
  }

  body[data-home-browse] .home-browse-hero__shell {
    padding-bottom: 32px;
  }

  body[data-home-browse] .home-browse-hero__title {
    font-size: 40px;
  }

  body[data-home-browse] .home-browse-properties {
    width: 100%;
    padding: 48px var(--hb-page-gutter) 56px !important;
  }

  body[data-home-browse] .property-section__list-wrap .property-cards-row > [class*="col-"],
  body[data-home-browse] .property-section__list-wrap .home-browse-card-col {
    width: min(240px, 78vw) !important;
    max-width: 240px !important;
  }
}
