@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/**
 * PTBR Direct Booking — Styles v3.1 (Airbnb/Wander)
 *
 * Palette:
 *   Primary   : #222222 (headings, strong text)
 *   Accent    : #f0a882 (buttons)
 *   Secondary : #717171 (body text, labels)
 *   Border    : #DDDDDD
 *   Hover bg  : #F7F7F7
 *   White     : #FFFFFF
 *   Error     : #C13515
 */

/* ── Reset within our container ─────────────── */
#hostfully-app {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222222;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background: #FFFFFF;
}
#hostfully-app * {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#hostfully-app *, #hostfully-app *::before, #hostfully-app *::after {
  box-sizing: border-box;
}

/* ── Hero slideshow — show lower portion of images ── */
[data-id="569c4be"] .overflow-hidden img,
[data-id="83fcb27"] .overflow-hidden img {
  object-position: center bottom !important;
}

/* ── Fixed frosted-glass header — all pages ── */
[data-id="e978970"] {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
[data-id="e978970"] .elementor-nav-menu a {
  font-family: 'Raleway', sans-serif !important;
  letter-spacing: 0.08em !important;
}
[data-id="e978970"] .elementor-nav-menu--dropdown,
[data-id="e978970"] .elementor-nav-menu__container.elementor-nav-menu--dropdown {
  z-index: 10000 !important;
  position: absolute !important;
}
/* Offset page content below fixed header */
.hf-detail-wrap {
  padding-top: 80px !important;
}

/* ── Detail page wrapper ──────────────────────── */
/* White card sitting on top of the gradient #hostfully-app frame
   (gradient is set in Customizer post 2206). Centered max-width
   column lets the gradient show through on the left/right margins
   on desktop, and a small horizontal margin lets it peek through
   on mobile too. */
.hf-detail-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* ── Loading / Spinner ──────────────────────── */
.hf-loading {
  text-align: center;
  padding: 60px 20px;
  color: #717171;
  font-size: 16px;
}
.hf-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #EBEBEB;
  border-top-color: #222;
  border-radius: 50%;
  animation: hf-spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes hf-spin { to { transform: rotate(360deg); } }

/* ── Error ──────────────────────────────────── */
.hf-error {
  text-align: center;
  color: #C13515;
  font-size: 16px;
  padding: 40px 20px;
}
.hf-error-msg {
  color: #C13515;
  background: #FEF2F2;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
}

/* ── Grid ───────────────────────────────────── */
.hf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  padding: 20px 0;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Card ───────────────────────────────────── */
.hf-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.hf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.hf-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #F7F7F7;
  border-radius: 12px;
}
.hf-card-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}
.hf-card:hover .hf-card-img {
  transform: scale(1.03);
}
.hf-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F7F7;
  color: #717171;
  font-size: 14px;
  font-style: italic;
}
.hf-card-img--placeholder::after {
  content: "Loading photo...";
}

.hf-card-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 1;
}

.hf-card-body {
  padding: 12px 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hf-card-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.hf-card-location {
  margin: 0 0 6px;
  font-size: 14px;
  color: #717171;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
}
.hf-card-location svg {
  flex-shrink: 0;
}

.hf-card-meta {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  font-size: 13px;
  color: #717171;
}
.hf-card-meta span {
  padding: 0;
  border-radius: 0;
  border: none;
  background: none;
}

/* ── Buttons ────────────────────────────────── */
.hf-btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
  text-align: center;
  padding: 14px 24px;
  font-size: 16px;
}
.hf-btn-primary {
  background: #222;
  color: #fff;
}
.hf-btn-primary:hover {
  background: #000;
}
.hf-btn-primary:disabled {
  background: #DDDDDD;
  color: #717171;
  cursor: not-allowed;
  transform: none;
}
.hf-view-btn {
  margin-top: auto;
  width: 100%;
}

/* ── Back Button ────────────────────────────── */
.hf-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #DDDDDD;
  color: #222;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.2s;
  font-family: inherit;
}
.hf-back-btn:hover {
  background: #F7F7F7;
}

/* ── Detail View ────────────────────────────── */
.hf-detail-loading {
  text-align: center;
  padding: 60px 20px;
  color: #717171;
}

/* ── Gallery — Airbnb-style: large left + small right ── */
.hf-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  max-height: 480px;
}
.hf-gallery-hero {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F7F7F7;
  cursor: pointer;
  transition: opacity 0.3s;
  border-radius: 12px 0 0 12px;
}
.hf-gallery-hero:hover { opacity: 0.92; }
.hf-gallery-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}
.hf-gallery-cell {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #F7F7F7;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s;
}
.hf-gallery-cell:nth-child(2) { border-radius: 0 12px 0 0; }
.hf-gallery-cell:nth-child(4),
.hf-gallery-cell:last-child:nth-child(even) { border-radius: 0 0 12px 0; }
.hf-gallery-cell:hover { opacity: 0.85; }
.hf-gallery-more {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hf-gallery-more::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hf-gallery-more span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* ── Detail Layout ──────────────────────────── */
.hf-detail-layout {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 48px;
  align-items: start;
}

/* ── Detail Eyebrow / Title / Stats ── */
.hf-detail-eyebrow {
  font-size: 14px;
  color: #717171;
  margin: 0 0 4px;
  font-weight: 400;
}
.hf-detail-title {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 600;
  color: #222;
  line-height: 1.2;
}
.hf-detail-stats-line {
  font-size: 16px;
  color: #717171;
  margin: 0 0 0;
}
.hf-detail-location {
  font-size: 15px;
  color: #717171;
  font-weight: 400;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Stats Row (legacy — kept for grid pages) ── */
.hf-detail-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hf-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #F7F7F7;
  border: 1px solid #EBEBEB;
  border-radius: 8px;
}
.hf-stat-icon {
  font-size: 20px;
}
.hf-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}
.hf-stat-label {
  font-size: 13px;
  color: #717171;
  font-weight: 400;
}

/* ── Divider ────────────────────────────────── */
.hf-divider {
  height: 1px;
  background: #EBEBEB;
  margin: 24px 0;
}

/* ── Section Titles ─────────────────────────── */
.hf-section-title {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 0 0 16px;
}

/* ── Description Blocks ─────────────────────── */
.hf-desc-block {
  margin-bottom: 20px;
}
.hf-desc-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hf-desc-block-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.hf-desc-block-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
}
.hf-desc-text {
  color: #717171;
  line-height: 1.7;
  font-size: 16px;
}
.hf-desc-text p {
  margin: 0 0 10px;
}
.hf-desc-collapsed {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: none;
}
.hf-read-more {
  display: inline-block;
  background: none;
  border: none;
  color: #222;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
  font-size: 14px;
  font-family: inherit;
  margin-top: 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hf-read-more:hover {
  color: #000;
}

/* ── Fade-in Animation ─────────────────────── */
@keyframes hf-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hf-fade-in {
  opacity: 0;
  animation: hf-fade-in 0.4s ease forwards;
}

/* ── House Rules ────────────────────────────── */
.hf-house-rules {
  color: #717171;
  line-height: 1.7;
  font-size: 16px;
}
.hf-house-rules p {
  margin: 0 0 10px;
}

/* ── Placeholder Text ───────────────────────── */
.hf-placeholder-text {
  color: #717171;
  font-style: italic;
  font-size: 14px;
}

/* ── Amenities — Highlights ─────────────────── */
.hf-amenities-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 16px;
}
.hf-amenity-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  font-size: 16px;
  font-weight: 400;
  color: #222;
  border-bottom: 1px solid #EBEBEB;
}
.hf-amenity-highlight .hf-amenity-icon svg {
  stroke: #222;
}
.hf-amenities-toggle {
  display: inline-block;
  background: none;
  border: 1px solid #222;
  color: #222;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 14px;
  font-family: inherit;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
}
.hf-amenities-toggle:hover {
  background: #F7F7F7;
}
.hf-amenity-category {
  margin-bottom: 20px;
}
.hf-amenity-cat-title {
  font-size: 12px;
  font-weight: 600;
  color: #717171;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Amenities Grid ────────────────────────── */
.hf-amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.hf-amenity-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  font-size: 15px;
  color: #222;
  border-bottom: 1px solid #EBEBEB;
}
.hf-amenity-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.hf-amenity-icon svg {
  stroke: #222;
}

/* ── Gallery Enhancements ──────────────────── */
.hf-show-all-photos {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: #fff;
  border: 1px solid #222;
  color: #222;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
  z-index: 2;
}
.hf-show-all-photos:hover {
  background: #F7F7F7;
}

/* ── Lightbox ──────────────────────────────── */
.hf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hf-lightbox-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  z-index: 3;
}
.hf-lightbox-counter {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 500;
}
.hf-lightbox-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.hf-lightbox-close:hover {
  background: rgba(255,255,255,0.15);
}
.hf-lightbox-img-wrap {
  max-width: 90vw;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hf-lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
}
.hf-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 3;
}
.hf-lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}
.hf-lightbox-prev-btn { left: 16px; }
.hf-lightbox-next-btn { right: 16px; }
.hf-lightbox-thumbs {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  max-width: 85vw;
  overflow-x: auto;
  padding: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}
.hf-lightbox-thumb {
  width: 64px;
  height: 44px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s;
  border: 2px solid transparent;
}
.hf-lightbox-thumb:hover { opacity: 0.8; }
.hf-lightbox-thumb-active {
  opacity: 1;
  border-color: #fff;
}

/* ── Booking Sidebar Card ───────────────────── */
.hf-booking-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
  border: 1px solid #DDDDDD;
}
.hf-booking-rate {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hf-booking-rate strong {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}
.hf-rate-label {
  font-size: 13px;
  color: #717171;
  margin-right: 4px;
}
.hf-rate-per {
  font-size: 16px;
  color: #717171;
  font-weight: 400;
}
.hf-booking-rate-placeholder {
  font-size: 16px;
  color: #717171;
  margin-bottom: 20px;
  font-weight: 400;
}
.hf-booking-note {
  font-size: 14px;
  color: #717171;
  text-align: center;
  margin: 8px 0 0;
}
.hf-booking-details {
  margin-bottom: 12px;
}
.hf-booking-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: #717171;
  border-bottom: 1px solid #EBEBEB;
}
.hf-checkinout-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #717171;
  padding: 6px 0;
  border-bottom: 1px solid #EBEBEB;
}

/* ── Form Groups ────────────────────────────── */
.hf-form-group {
  display: flex;
  flex-direction: column;
}
.hf-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hf-form-group input,
.hf-form-group select,
.hf-form-group textarea {
  padding: 10px 14px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  color: #222;
}
.hf-form-group input:focus,
.hf-form-group select:focus {
  outline: none;
  border-color: #222;
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

/* ── Quote Box ──────────────────────────────── */
.hf-quote-box {
  background: #F7F7F7;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #EBEBEB;
}
.hf-quote-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  color: #717171;
}
.hf-quote-total {
  border-top: 1px solid #DDDDDD;
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 600;
  font-size: 16px;
  color: #222;
}

/* ── Success Box ────────────────────────────── */
.hf-success-box {
  background: #F0FDF4;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid #DCFCE7;
}
.hf-success-icon {
  font-size: 40px;
  color: #16A34A;
  margin-bottom: 8px;
}
.hf-success-box h3 {
  margin: 0 0 8px;
  color: #16A34A;
  font-size: 18px;
}
.hf-success-box p {
  margin: 4px 0;
  color: #717171;
  font-size: 14px;
}

/* ── Stripe Card Element ───────────────────── */
.hf-stripe-card {
  padding: 12px 14px;
  border: 1px solid #DDDDDD;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hf-stripe-card.StripeElement--focus {
  border-color: #222;
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}
.hf-stripe-card.StripeElement--invalid {
  border-color: #C13515;
}
.hf-card-errors {
  color: #C13515;
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 900px) {
  .hf-detail-wrap {
    padding: 16px 20px;
  }
  .hf-detail-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hf-booking-card {
    position: static;
  }
  .hf-lightbox-nav { display: none; }
  .hf-gallery {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .hf-gallery-hero {
    border-radius: 12px 12px 0 0;
    min-height: 240px;
  }
  .hf-gallery-side {
    grid-template-columns: repeat(4, 1fr);
  }
  .hf-gallery-cell {
    border-radius: 0 !important;
    aspect-ratio: 4 / 3;
    min-height: 100px;
  }
  .hf-gallery-cell:last-child { border-radius: 0 0 12px 0 !important; }
  .hf-gallery-cell:nth-child(1) { border-radius: 0 0 0 12px !important; }
}
@media (max-width: 768px) {
  .hf-gallery-side {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hf-gallery-cell {
    aspect-ratio: 4 / 3 !important;
    min-height: 120px !important;
  }
  .hf-detail-wrap {
    padding: 12px 16px;
    margin: 0 12px;
    border-radius: 12px;
  }
  .hf-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 12px;
  }
  .hf-detail-stats {
    gap: 8px;
  }
  .hf-stat {
    padding: 8px 14px;
  }
  .hf-gallery-side {
    grid-template-columns: repeat(2, 1fr);
  }
  .hf-amenities-grid {
    grid-template-columns: 1fr;
  }
  .hf-amenities-highlights {
    grid-template-columns: 1fr;
  }
  .hf-lightbox-thumbs {
    max-width: 95vw;
  }
  .hf-lightbox-thumb {
    width: 48px;
    height: 34px;
  }
}
@media (max-width: 480px) {
  .hf-card-title {
    font-size: 16px;
  }
  .hf-detail-title {
    font-size: 22px;
  }
  .hf-amenities-grid {
    grid-template-columns: 1fr;
  }
  .hf-amenity-highlight {
    font-size: 14px;
    padding: 12px 4px;
  }
  .hf-stat-val { font-size: 16px; }
  .hf-stat-label { font-size: 12px; }
}

/* ── Search / Filter Bar ──────────────────────── */
.hf-search-bar {
  background: transparent !important;
  border: none !important;
  border-radius: 16px;
  padding: 24px 0;
  margin-bottom: 0 !important;
  padding-bottom: 24px !important;
  box-shadow: none !important;
}
#hostfully-app {
  background: transparent !important;
}
#hf-listings {
  background: transparent !important;
}
.hf-search-fields {
  display: flex !important;
  gap: 16px;
  align-items: stretch !important;
  flex-wrap: wrap;
}
.hf-search-field {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 160px;
}
.hf-search-field--guests {
  flex: 0 0 120px;
  min-width: 100px;
}
.hf-search-field label {
  display: none;
}
.hf-search-field select,
.hf-search-field input[type="date"],
.hf-search-field input[type="text"] {
  width: 100%;
  height: 44px !important;
  line-height: 44px !important;
  vertical-align: middle !important;
  padding: 0 14px !important;
  border: 1px solid rgba(143,181,176,0.3) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  font-size: 15px !important;
  font-family: inherit;
  color: #222;
  box-sizing: border-box !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.hf-search-field input[type="text"] {
  margin-top: 0 !important;
}
.hf-search-field input[type="text"]::placeholder {
  color: #717171;
  opacity: 1;
}
/* Date input placeholder trick */
.hf-date-wrap {
  position: relative;
}
.hf-date-wrap::before {
  content: attr(data-placeholder);
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #717171;
  font-size: 14px;
  pointer-events: none;
  z-index: 1;
}
.hf-date-wrap.hf-date-has-value::before {
  display: none;
}
.hf-date-wrap input[type="date"] {
  position: relative;
  z-index: 2;
}
.hf-date-wrap:not(.hf-date-has-value) input[type="date"] {
  color: transparent;
}
.hf-date-wrap:not(.hf-date-has-value) input[type="date"]::-webkit-datetime-edit {
  color: transparent;
}
.hf-date-wrap.hf-date-has-value input[type="date"] {
  color: #222;
}
.hf-date-wrap.hf-date-has-value input[type="date"]::-webkit-datetime-edit {
  color: #222;
}
#hf-filter-guests,
#hfs-guests {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 10 !important;
}
.hf-search-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23717171' d='M2 4l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  padding-right: 32px !important;
}
.hf-search-field select::-ms-expand {
  display: none;
}
.hf-search-bar select,
.hf-search-standalone select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}
.hf-search-field select:focus,
.hf-search-field input[type="date"]:focus,
.hf-search-field input[type="text"]:focus {
  outline: none;
  border-color: #8fb5b0 !important;
  box-shadow: 0 0 0 2px rgba(143,181,176,0.2);
  background: #fff;
}
.hf-search-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
  align-self: center;
}
.hf-search-actions .hf-btn {
  font-size: 14px;
  white-space: nowrap;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 20px !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}
.hf-btn-outline {
  background: #FF385C !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 999px !important;
  box-shadow: 0 4px 14px rgba(255,56,92,0.25) !important;
}
.hf-btn-outline:hover {
  background: #E31C5F !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 6px 18px rgba(255,56,92,0.35) !important;
}

/* Search status messages */
.hf-search-status {
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.hf-search-success {
  color: #166534;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
}
.hf-search-warn {
  color: #92400E;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
}
.hf-search-info {
  color: #1E40AF;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 8px;
}
/* Mini spinner for availability check */
.hf-mini-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid #DDDDDD;
  border-top-color: #222;
  border-radius: 50%;
  animation: hf-spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ── Standalone search bar (homepage widget) ──── */
.hf-search-standalone {
  max-width: 900px;
  margin: 0 auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  border: 1px solid #DDDDDD;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
#hf-standalone-search {
  margin-bottom: 0 !important;
}
#hf-standalone-search + * {
  margin-top: 0 !important;
}
.hf-search-standalone .hf-search-fields {
  gap: 4px;
  align-items: center;
}
.hf-search-standalone .hf-search-field label {
  display: none;
}
.hf-search-standalone .hf-search-field select,
.hf-search-standalone .hf-search-field input[type="date"],
.hf-search-standalone .hf-search-field input[type="text"] {
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.hf-search-standalone .hf-search-field input[type="text"]::placeholder {
  color: #222222;
  font-weight: 500;
  opacity: 1;
}
.hf-search-standalone .hf-date-wrap::before {
  left: 16px;
  font-size: 15px;
  font-weight: 500;
  color: #222222;
}
.hf-search-standalone .hf-date-wrap:not(.hf-date-has-value) input[type="date"]::-webkit-datetime-edit {
  color: transparent;
}
.hf-search-standalone .hf-date-wrap:not(.hf-date-has-value) input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
}
.hf-search-standalone .hf-search-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23717171' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.hf-search-standalone .hf-search-field select:focus,
.hf-search-standalone .hf-search-field input[type="date"]:focus,
.hf-search-standalone .hf-search-field input[type="text"]:focus {
  background: #F7F7F7;
  box-shadow: none;
  border: none;
}
.hf-search-standalone .hf-search-field {
  border-right: 1px solid #EBEBEB;
  min-width: 120px;
}
.hf-search-standalone .hf-search-field:last-of-type {
  border-right: none;
}
.hf-search-standalone .hf-search-actions {
  flex-shrink: 0;
}
.hf-search-standalone .hf-search-actions .hf-btn {
  border-radius: 999px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hf-search-standalone .hf-search-status {
  margin-bottom: 0;
  padding-bottom: 0;
}
.hf-search-heading {
  display: none;
}

/* ── Search bar responsive ────────────────────── */
@media (max-width: 768px) {
  .hf-search-fields {
    flex-direction: column;
    gap: 12px;
  }
  .hf-search-field {
    min-width: 100%;
  }
  .hf-search-field--guests {
    flex: 1;
    min-width: 100%;
  }
  .hf-search-actions {
    width: 100%;
  }
  .hf-search-actions .hf-btn {
    flex: 1;
  }
  .hf-search-standalone {
    border-radius: 16px;
    padding: 16px;
  }
  .hf-search-standalone .hf-search-field {
    border-right: none;
    border-bottom: 1px solid #EBEBEB;
  }
  .hf-search-standalone .hf-search-field:last-of-type {
    border-bottom: none;
  }
  .hf-search-standalone .hf-search-field select,
  .hf-search-standalone .hf-search-field input[type="date"],
  .hf-search-standalone .hf-search-field input[type="text"] {
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    background: #F7F7F7;
  }
}

/* ── Airbnb Date Picker ──────────────────────── */
.hf-datepicker-wrap {
  position: relative;
  margin-bottom: 12px;
}
.hf-datepicker-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #222;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.hf-datepicker-box {
  padding: 11px 14px;
  transition: background 0.15s;
}
.hf-datepicker-box:first-child {
  border-right: 1px solid #DDDDDD;
}
.hf-datepicker-box:hover {
  background: #F7F7F7;
}
.hf-datepicker-box.active {
  border: 2px solid #222;
  border-radius: 8px;
}
.hf-datepicker-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #222;
  margin-bottom: 3px;
}
.hf-datepicker-val {
  font-size: 13px;
  color: #717171;
}
.hf-datepicker-val.has-date {
  color: #222;
  font-weight: 500;
}
.hf-datepicker-calendar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 40px rgba(0,0,0,0.18);
  padding: 24px;
  z-index: 9999;
  width: 560px;
  max-width: 95vw;
}
.hf-dpcal-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}
.hf-dpcal-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-align: center;
}
.hf-dpcal-months {
  display: grid;
  grid-template-columns: 28px 1fr 1fr 28px;
  gap: 0;
  align-items: start;
}
.hf-dpcal-month {
  padding: 0 8px;
}
.hf-dpcal-nav {
  font-size: 22px;
  cursor: pointer;
  color: #222;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 4px;
  user-select: none;
  width: 28px;
}
.hf-dpcal-nav:hover { color: #000; }
.hf-dpcal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}
.hf-dpcal-dow {
  text-align: center;
  font-size: 12px;
  color: #717171;
  padding: 4px 0 8px;
  font-weight: 400;
}
.hf-dpcal-empty { padding: 6px; }
.hf-dpcal-day {
  text-align: center;
  padding: 6px 2px;
  border-radius: 50%;
  font-size: 13px;
  cursor: default;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1px auto;
}
.hf-dpcal-past { color: #DDDDDD; }
.hf-dpcal-blocked {
  color: #DDDDDD;
  text-decoration: line-through;
}
.hf-dpcal-avail {
  cursor: pointer;
  color: #222;
}
.hf-dpcal-avail:hover {
  background: #F7F7F7;
  border-radius: 50%;
}
.hf-dpcal-selected {
  background: #222 !important;
  color: #fff !important;
  border-radius: 50% !important;
}
.hf-dpcal-in-range {
  background: #EBEBEB;
  border-radius: 0;
}
.hf-dpcal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #EBEBEB;
}
.hf-dpcal-clear {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  color: #222;
  font-family: inherit;
}
.hf-dpcal-close {
  background: #222;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.hf-dpcal-error {
  font-size: 12px;
  color: #C13515;
  text-align: center;
  margin-top: 8px;
}

/* ── Page title above photos ──────────────────── */
.hf-page-top {
  margin-bottom: 12px;
}
.hf-page-title {
  font-size: 26px;
  font-weight: 600;
  color: #222222;
  margin: 0 0 16px;
  line-height: 1.2;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}
.hf-page-subtitle {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  margin: 0 0 4px !important;
  line-height: 1.3 !important;
}

/* ── Overrides — v3.2 ─────────────────────────── */
.hf-btn-primary {
  background: #FF385C !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 14px !important;
  cursor: pointer !important;
  transition: background 0.2s !important;
  width: 100% !important;
}
.hf-btn-primary:hover {
  background: #E31C5F !important;
}
.hf-read-more,
.hf-amenities-toggle {
  display: inline-block !important;
  background: #F7F7F7 !important;
  border: 1px solid #DDDDDD !important;
  border-radius: 24px !important;
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #222222 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  margin-top: 16px !important;
  transition: background 0.15s !important;
  font-family: inherit !important;
}
.hf-read-more:hover,
.hf-amenities-toggle:hover {
  background: #EBEBEB !important;
}
.hf-divider {
  height: 1px !important;
  background: #DDDDDD !important;
  margin: 40px 0 !important;
}
.hf-section-title {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  margin: 0 0 24px !important;
}
.hf-desc-block-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  margin: 0 0 8px !important;
}
.hf-desc-text,
.hf-desc-text p {
  font-size: 15px !important;
  color: #484848 !important;
  line-height: 1.75 !important;
}
.hf-detail-eyebrow {
  font-size: 14px !important;
  color: #717171 !important;
  margin: 0 0 4px !important;
}
.hf-detail-stats-line {
  font-size: 15px !important;
  color: #717171 !important;
  margin: 6px 0 0 !important;
}
.hf-detail-layout {
  display: grid !important;
  grid-template-columns: 1fr 380px !important;
  gap: 48px !important;
  align-items: start !important;
  position: relative !important;
  overflow: visible !important;
}
.hf-detail-main {
  min-width: 0 !important;
}
.hf-detail-sidebar {
  position: sticky !important;
  top: 80px !important;
  align-self: start !important;
  overflow: visible !important;
}
.hf-booking-card {
  border: 1px solid #DDDDDD !important;
  border-radius: 12px !important;
  padding: 24px !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1) !important;
  max-height: calc(100vh - 120px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}
.hf-booking-rate strong {
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #222222 !important;
}
.hf-rate-per {
  font-size: 15px !important;
  color: #717171 !important;
}
.hf-booking-note {
  font-size: 13px !important;
  color: #717171 !important;
  text-align: center !important;
  margin: 8px 0 16px !important;
}

/* ── Guest Reviews ─────────────────────────── */
.hf-reviews-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hf-reviews-avg {
  font-size: 32px;
  font-weight: 700;
  color: #222222;
  line-height: 1;
}
.hf-reviews-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}
.hf-reviews-count {
  font-size: 15px;
  color: #717171;
}
.hf-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .hf-review-grid { grid-template-columns: 1fr; }
}
.hf-review-card {
  padding: 20px;
  border: 1px solid #EBEBEB;
  border-radius: 12px;
}
.hf-review-hidden {
  display: none;
}
.hf-review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.hf-review-name {
  font-weight: 600;
  font-size: 15px;
  color: #222222;
}
.hf-review-date {
  font-size: 13px;
  color: #717171;
}
.hf-review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}
.hf-review-body {
  font-size: 14px;
  color: #222222;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hf-review-body.hf-review-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}
.hf-review-expand,
.hf-show-all-reviews {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  background: #FFFFFF;
  border: 1px solid #222222;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  cursor: pointer;
  transition: background 0.2s;
}
.hf-review-expand:hover,
.hf-show-all-reviews:hover {
  background: #F7F7F7;
}
.hf-star-filled { color: #FF385C; }
.hf-star-empty  { color: #DDDDDD; }

/* ── Neighborhood Map ──────────────────────── */
.hf-map-subtitle {
  font-size: 16px;
  color: #222222;
  margin: 0 0 16px;
}
.hf-map-wrap {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}
.hf-map-wrap iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}
.hf-map-note {
  font-size: 13px;
  color: #717171;
  margin-top: 12px;
}

/* ── Browse toast validation message ────────── */
.hf-browse-toast {
  display: none;
  margin-top: 12px;
  padding: 12px 16px;
  background: #FEF2F2;
  color: #C13515;
  border: 1px solid #FECACA;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* ── Browse Properties button — mobile only ── */
.hf-btn-browse {
  display: none !important;
}
@media (max-width: 768px) {
  .hf-btn-browse {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #5e9c92 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 0 20px !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(94,156,146,0.25) !important;
  }
  .hf-btn-browse:hover {
    background: #4e8a80 !important;
  }
}

/* ── Nav dropdown — prevent text cutoff on mobile ── */
@media (max-width: 768px) {
  .elementor-nav-menu--dropdown .elementor-item,
  .elementor-nav-menu--dropdown .elementor-sub-item {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    padding-left: 20px !important;
    padding-right: 16px !important;
  }
  .elementor-nav-menu__container.elementor-nav-menu--dropdown {
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: visible !important;
    background: #fff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
  }
}

/* ══════════════════════════════════════════════
   MOBILE RESPONSIVENESS — v3.3
   Target: 375px–430px (iPhone) fully functional
   ══════════════════════════════════════════════ */

/* ── 0. Homepage hero on mobile ────────────── */
@media (max-width: 768px) {
  /* Let the hero grow taller so text + buttons fit */
  [data-id="569c4be"] .relative.flex.items-center.justify-center {
    height: auto !important;
    min-height: 50vh !important;
    padding: 48px 0 32px !important;
  }
  /* Wrap the heading instead of overflowing */
  [data-id="569c4be"] h1 {
    white-space: normal !important;
    font-size: clamp(1.8rem, 10vw, 3.5rem) !important;
    line-height: 1.1 !important;
    padding: 0 16px !important;
  }
  /* Stack buttons vertically */
  [data-id="569c4be"] .relative.text-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 20px !important;
  }
  [data-id="569c4be"] button,
  [data-id="569c4be"] a[href="/all-properties/"] {
    margin-left: 0 !important;
    margin-top: 8px !important;
    width: auto !important;
    padding: 12px 28px !important;
    font-size: 0.9rem !important;
  }
}


/* ── 1. Booking card on mobile ─────────────── */
@media (max-width: 900px) {
  .hf-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .hf-detail-main {
    order: 1 !important;
  }
  .hf-booking-card {
    position: static !important;
    width: 100% !important;
    margin-top: 24px;
    max-height: none !important;
  }
  .hf-detail-sidebar {
    position: static !important;
    order: 2 !important;
    width: 100% !important;
  }
  .hf-booking-card .hf-form-group input,
  .hf-booking-card .hf-form-group select,
  .hf-booking-card .hf-form-group textarea {
    min-height: 48px;
    font-size: 16px !important;
    padding: 12px 14px !important;
  }
  .hf-booking-card {
    max-height: none !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    -webkit-overflow-scrolling: auto !important;
  }
  .hf-booking-card .hf-btn-primary {
    width: 100% !important;
    min-height: 52px;
    font-size: 17px !important;
    font-weight: 700 !important;
  }
  .hf-booking-card .hf-form-group input[type="date"] {
    width: 100% !important;
    min-height: 48px;
  }
  .hf-datepicker-box {
    padding: 14px !important;
    min-height: 48px;
  }
  .hf-datepicker-calendar {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 0 !important;
    top: auto !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 20px 16px !important;
    border-radius: 16px 16px 0 0 !important;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.2) !important;
    z-index: 99999 !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
  }
  .hf-dpcal-months {
    grid-template-columns: 28px 1fr 28px !important;
  }
  .hf-dpcal-month:nth-child(3) {
    display: none;
  }
  .hf-dpcal-grid {
    gap: 2px !important;
  }
  .hf-dpcal-day {
    width: auto !important;
    min-width: 32px !important;
    min-height: 32px !important;
    font-size: 13px !important;
  }
}

/* ── 2. Search bar on mobile ───────────────── */
@media (max-width: 768px) {
  .hf-search-standalone {
    border-radius: 16px !important;
    padding: 16px !important;
  }
  .hf-search-standalone .hf-search-field select,
  .hf-search-standalone .hf-search-field input[type="date"],
  .hf-search-standalone .hf-search-field input[type="text"] {
    min-height: 48px !important;
    font-size: 16px !important;
    padding: 12px 14px !important;
  }
  .hf-search-standalone .hf-search-actions .hf-btn {
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    max-height: none !important;
    font-size: 16px !important;
  }
  .hf-search-bar .hf-search-field select,
  .hf-search-bar .hf-search-field input[type="date"],
  .hf-search-bar .hf-search-field input[type="text"] {
    min-height: 48px !important;
    font-size: 16px !important;
  }
  .hf-search-bar .hf-search-actions .hf-btn {
    width: 100% !important;
    min-height: 52px !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* ── 3. Property cards on mobile ───────────── */
@media (max-width: 768px) {
  .hf-grid {
    gap: 24px !important;
    padding: 16px !important;
  }
  .hf-card {
    border-radius: 12px;
  }
  .hf-card-img-wrap {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }
  .hf-card-img {
    width: 100%;
    height: 100%;
  }
  .hf-card-title {
    font-size: 15px;
  }
}

/* ── 4. Gallery on property detail — mobile ── */
@media (max-width: 900px) {
  .hf-gallery-hero {
    aspect-ratio: 4 / 3;
    min-height: 200px !important;
  }
}
@media (max-width: 480px) {
  .hf-gallery-side {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .hf-gallery-hero {
    aspect-ratio: 4 / 3;
  }
}

/* ── 5. Touch targets — all breakpoints ────── */
@media (max-width: 768px) {
  .hf-btn,
  .hf-back-btn,
  .hf-read-more,
  .hf-amenities-toggle,
  .hf-review-expand,
  .hf-show-all-reviews,
  .hf-show-all-photos,
  .hf-card a,
  .hf-card-link {
    min-height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .hf-dpcal-day {
    min-width: 36px !important;
    min-height: 36px !important;
    font-size: 14px !important;
  }
  .hf-dpcal-nav {
    min-width: 44px;
    min-height: 44px;
  }
}

/* ── 6. Typography scaling ─────────────────── */
@media (max-width: 480px) {
  .hf-detail-title {
    font-size: 22px !important;
  }
  .hf-booking-rate strong {
    font-size: 24px !important;
  }
  .hf-section-title {
    font-size: 18px !important;
  }
  .hf-page-title {
    font-size: 22px;
  }
  .hf-page-subtitle {
    font-size: 17px !important;
  }
  .hf-detail-wrap {
    padding: 10px 14px !important;
  }
  .hf-desc-text,
  .hf-desc-text p {
    font-size: 14px !important;
  }
  .hf-review-grid {
    gap: 16px;
  }
  .hf-review-card {
    padding: 16px;
  }
  .hf-map-wrap iframe {
    height: 280px;
  }
}

/* ── Fix: force search bar visible (JS race condition on mobile) ── */
#hf-search-bar {
  display: block !important;
}

/* ── 7. Prevent horizontal overflow ────────── */
#hostfully-app {
  overflow-x: hidden;
  max-width: 100vw;
}
@media (max-width: 768px) {
  .hf-detail-wrap {
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }
}

/* ── 8. Calendar readability on small screens ─ */
@media (max-width: 480px) {
  .hf-dpcal-dow {
    font-size: 11px !important;
    padding: 2px 0 6px !important;
  }
  .hf-dpcal-day {
    font-size: 14px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }
  .hf-dpcal-title {
    font-size: 14px !important;
  }
  .hf-dpcal-nav {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 24px !important;
  }
}

/* ── 9. Lightbox usability on small screens ── */
@media (max-width: 480px) {
  .hf-lightbox-thumbs {
    max-width: 100vw !important;
    padding: 6px 4px !important;
    gap: 4px !important;
    bottom: 8px !important;
  }
  .hf-lightbox-thumb {
    width: 40px !important;
    height: 28px !important;
    border-radius: 4px !important;
  }
  .hf-lightbox-img-wrap {
    max-width: 96vw !important;
    max-height: 60vh !important;
  }
  .hf-lightbox-img {
    max-height: 60vh !important;
  }
  .hf-lightbox-close {
    width: 44px !important;
    height: 44px !important;
    font-size: 28px !important;
  }
  .hf-lightbox-counter {
    font-size: 13px !important;
  }
}

/* ── 10. Show all photos button — mobile ───── */
@media (max-width: 480px) {
  .hf-show-all-photos {
    bottom: 8px !important;
    right: 8px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}

/* ── 11. Tightest screens (375px) ──────────── */
@media (max-width: 375px) {
  .hf-detail-wrap {
    padding: 8px 10px !important;
  }
  .hf-booking-card {
    padding: 16px !important;
  }
  .hf-gallery-hero {
    min-height: 180px !important;
  }
  .hf-gallery-cell {
    min-height: 80px !important;
  }
  .hf-page-title {
    font-size: 20px !important;
  }
  .hf-page-subtitle {
    font-size: 16px !important;
  }
  .hf-section-title {
    font-size: 17px !important;
  }
  .hf-amenity-highlight {
    font-size: 13px !important;
    gap: 10px !important;
  }
  .hf-amenity-item {
    font-size: 13px !important;
    gap: 10px !important;
  }
  .hf-review-card {
    padding: 12px !important;
  }
  .hf-quote-box {
    padding: 12px !important;
  }
  .hf-booking-detail-row,
  .hf-quote-row {
    font-size: 13px !important;
  }
}

/* ---------------------------------------------------------------------------
 * SEO PRERENDER BLOCK  (added 2026-04-09 — v4.0.6)
 *
 * Server-rendered static block emitted by ptbr_render_seo_block() before the
 * JS-managed property card area. Visible to crawlers and to users until the
 * JS-rendered detail view loads, at which point hostfully-booking.js calls
 * .hf-seo-prerender.remove() to take it out of the DOM (no flash of dup h1).
 * --------------------------------------------------------------------------- */
.hf-seo-prerender {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 1100px;
  margin: 32px auto 24px;
  padding: 0 24px;
  color: #222222;
  -webkit-font-smoothing: antialiased;
}
.hf-seo-prerender .hf-seo-h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
  color: #222222;
}
.hf-seo-prerender .hf-seo-eyebrow {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222222;
  margin: 0 0 6px;
}
.hf-seo-prerender .hf-seo-location {
  font-size: 0.95rem;
  color: #717171;
  margin: 0 0 14px;
}
.hf-seo-prerender .hf-seo-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  color: #717171;
  font-size: 0.95rem;
}
.hf-seo-prerender .hf-seo-stats li {
  padding-right: 14px;
  margin-right: 14px;
  border-right: 1px solid #DDDDDD;
}
.hf-seo-prerender .hf-seo-stats li:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.hf-seo-prerender .hf-seo-description {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 720px;
  color: #222222;
}
.hf-seo-prerender .hf-seo-amenities-heading {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: #222222;
}
.hf-seo-prerender .hf-seo-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: #222222;
}
.hf-seo-prerender .hf-seo-amenities li::before {
  content: '✓';
  color: #5e9c92;
  margin-right: 8px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .hf-seo-prerender {
    margin: 20px auto 16px;
    padding: 0 16px;
  }
  .hf-seo-prerender .hf-seo-amenities {
    grid-template-columns: 1fr;
  }
}
