/* ==========================================================================
   Airbnb-Style Properties & Details Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Airbnb Property Card (Reference Match)
   -------------------------------------------------------------------------- */
.airbnb-card-wrap {
  position: relative;
  width: 100%;
}

.airbnb-card {
  color: #222222 !important;
  text-decoration: none !important;
  display: block;
  border: none;
  background: transparent;
  transition: transform 0.2s ease;
}

.airbnb-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 19;
  border-radius: 18px;
  overflow: hidden;
  background-color: #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.airbnb-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* "Guest favourite" badge matching reference */
.airbnb-badge-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #222222;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  letter-spacing: -0.15px;
  line-height: 1.25;
  user-select: none;
  pointer-events: none;
}

/* Wishlist Heart Button matching reference */
.airbnb-heart-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.airbnb-heart-btn:hover {
  transform: scale(1.18);
}

.airbnb-heart-btn:active {
  transform: scale(0.92);
}

.airbnb-heart-svg {
  width: 24px;
  height: 24px;
  fill: rgba(0, 0, 0, 0.45);
  stroke: #ffffff;
  stroke-width: 2.2px;
  overflow: visible;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.airbnb-heart-btn.airbnb-heart-active .airbnb-heart-svg {
  fill: #e61e4d !important;
  stroke: #e61e4d !important;
  filter: drop-shadow(0 2px 8px rgba(230, 30, 77, 0.5));
}

/* Typography Hierarchy below image */
.airbnb-card-content {
  padding-top: 10px;
  color: #222222;
}

.airbnb-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  line-height: 1.35;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.airbnb-card-meta {
  font-size: 14px;
  color: #555555;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
  line-height: 1.4;
}

.airbnb-card-price {
  font-size: 14px;
  font-weight: 600;
  color: #222222;
}

.airbnb-card-period {
  font-size: 13.5px;
  color: #6a6a6a;
}

.airbnb-card-dot {
  font-size: 13px;
  color: #717171;
  margin: 0 2px;
}

.airbnb-card-rating {
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.airbnb-star-svg {
  width: 12px;
  height: 12px;
  fill: #222222;
  display: inline-block;
  vertical-align: -1px;
}

/* --------------------------------------------------------------------------
   2. Airbnb Property Details Header & Navigation
   -------------------------------------------------------------------------- */
.airbnb-detail-wrap {
  color: #222222;
}

.airbnb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: #717171;
  margin-bottom: 16px;
}

.airbnb-breadcrumb a {
  color: #717171;
  text-decoration: none;
  transition: color 0.15s;
}

.airbnb-breadcrumb a:hover {
  color: #222222;
  text-decoration: underline;
}

.airbnb-detail-title {
  font-size: 26px;
  font-weight: 700;
  color: #222222;
  line-height: 1.25;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.airbnb-detail-subnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: #222222;
  margin-bottom: 24px;
}

.airbnb-subnav-left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-weight: 500;
}

.airbnb-subnav-location {
  color: #222222;
  text-decoration: underline;
  font-weight: 600;
}

.airbnb-subnav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.airbnb-action-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: underline;
  transition: background-color 0.15s;
}

.airbnb-action-btn:hover {
  background-color: #f7f7f7;
}

.airbnb-action-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   3. Airbnb Signature 5-Photo Hero Grid
   -------------------------------------------------------------------------- */
.airbnb-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 205px 205px;
  gap: 8px;
  height: 418px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  margin-bottom: 36px;
  background: #f0f0f0;
}

.airbnb-photo-grid-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: #e5e7eb;
}

.airbnb-photo-cell-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.airbnb-photo-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.airbnb-photo-grid-cell:hover .airbnb-photo-grid-img {
  transform: scale(1.03);
  filter: brightness(0.94);
}

.airbnb-photos-modal-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 5;
  background: #ffffff;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 13.5px;
  font-weight: 600;
  color: #222222;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  transition: transform 0.15s ease, background 0.15s ease;
}

.airbnb-photos-modal-btn:hover {
  background: #f7f7f7;
  transform: scale(1.02);
}

.airbnb-photos-modal-btn svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   4. Left Column - Host Overview, Guest Favourite Banner, Features
   -------------------------------------------------------------------------- */
.airbnb-left-col {
  min-width: 0;
  max-width: 100%;
}

.airbnb-host-header {
  padding-bottom: 24px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 24px;
}

.airbnb-host-heading {
  font-size: 22px;
  font-weight: 600;
  color: #222222;
  line-height: 1.3;
  margin-bottom: 6px;
}

.airbnb-host-meta {
  font-size: 15px;
  color: #555555;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* Guest Favourite Banner with laurels/trophy */
.airbnb-guest-favourite-card {
  border: 1px solid #dddddd;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.airbnb-gf-badge-col {
  display: flex;
  align-items: center;
  gap: 14px;
}

.airbnb-gf-icon {
  width: 38px;
  height: 38px;
  color: #e61e4d;
  flex-shrink: 0;
}

.airbnb-gf-title {
  font-size: 16px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 2px;
}

.airbnb-gf-subtitle {
  font-size: 13px;
  color: #717171;
  line-height: 1.35;
}

.airbnb-gf-stats {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.airbnb-gf-rating-num {
  font-size: 20px;
  font-weight: 700;
  color: #222222;
  line-height: 1;
}

.airbnb-gf-rating-stars {
  font-size: 11px;
  color: #222222;
  margin-top: 3px;
}

.airbnb-gf-reviews-count {
  font-size: 18px;
  font-weight: 700;
  color: #222222;
  line-height: 1;
  text-decoration: underline;
}

.airbnb-gf-reviews-label {
  font-size: 11px;
  color: #717171;
  margin-top: 3px;
}

/* Highlight Features List */
.airbnb-highlights-section {
  padding-bottom: 24px;
  border-bottom: 1px solid #ebebeb;
  margin-bottom: 28px;
}

.airbnb-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.airbnb-highlight-item:last-child {
  margin-bottom: 0;
}

.airbnb-highlight-icon {
  width: 24px;
  height: 24px;
  color: #222222;
  flex-shrink: 0;
  margin-top: 2px;
}

.airbnb-highlight-text-title {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 2px;
}

.airbnb-highlight-text-desc {
  font-size: 14px;
  color: #717171;
  line-height: 1.4;
}

/* Sections Divider & Titles */
.airbnb-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.airbnb-divider {
  height: 1px;
  background: #ebebeb;
  margin: 28px 0;
}

.airbnb-description-body,
.property-description-body {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.airbnb-description-body *,
.property-description-body * {
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.airbnb-description-body h1,
.airbnb-description-body h2,
.airbnb-description-body h3,
.airbnb-description-body h4,
.property-description-body h1,
.property-description-body h2,
.property-description-body h3,
.property-description-body h4 {
  font-family: inherit;
  font-weight: 700;
  color: #0f172a;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.airbnb-description-body h1,
.property-description-body h1 {
  font-size: 22px !important;
}

.airbnb-description-body h2,
.property-description-body h2 {
  font-size: 19px !important;
}

.airbnb-description-body h3,
.property-description-body h3 {
  font-size: 17px !important;
}

.airbnb-description-body p,
.property-description-body p {
  margin-bottom: 0.85rem;
}

.airbnb-description-body p:last-child,
.property-description-body p:last-child {
  margin-bottom: 0;
}

/* "Where you'll sleep" cards */
.airbnb-bedroom-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.airbnb-bedroom-card {
  border: 1px solid #dddddd;
  border-radius: 12px;
  padding: 20px 22px;
  min-width: 175px;
  flex: 1;
  background: #ffffff;
}

.airbnb-bedroom-icon {
  width: 26px;
  height: 26px;
  color: #222222;
  margin-bottom: 14px;
}

.airbnb-bedroom-name {
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 4px;
}

.airbnb-bedroom-type {
  font-size: 13.5px;
  color: #717171;
}

/* "What this place offers" amenities card grid */
.airbnb-amenities-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 575px) {
  .airbnb-amenities-cards-grid {
    grid-template-columns: 1fr;
  }
}

.airbnb-amenity-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.airbnb-amenity-card.has-photo {
  cursor: pointer;
}

.airbnb-amenity-card.has-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.airbnb-amenity-card-thumb {
  position: relative;
  width: 100%;
  height: 170px;
  background: #f1f5f9;
  overflow: hidden;
}

.airbnb-amenity-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.airbnb-amenity-card.has-photo:hover .airbnb-amenity-card-thumb img {
  transform: scale(1.04);
}

.airbnb-amenity-zoom-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.15s ease;
}

.airbnb-amenity-card.has-photo:hover .airbnb-amenity-zoom-badge {
  background: #0f172a;
}

.airbnb-amenity-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.airbnb-amenity-capacity-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content !important;
  max-width: fit-content !important;
  align-self: flex-start !important;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 6px;
  margin-bottom: 4px;
}

.airbnb-amenity-card-noimg {
  background: #f8fafc;
}

.airbnb-amenity-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  color: #222222;
}

.airbnb-amenity-icon {
  width: 24px;
  height: 24px;
  color: #222222;
  flex-shrink: 0;
}

/* Location - Embedded Google Map */
.airbnb-map-wrap {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
  background: #f8fafc;
}

.airbnb-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 767px) {
  .airbnb-map-wrap {
    height: 280px;
    border-radius: 12px;
  }
}

/* --------------------------------------------------------------------------
   5. Right Column - Sticky Airbnb Booking Card
   -------------------------------------------------------------------------- */
.airbnb-booking-card-wrap {
  position: relative;
  z-index: 1;
}

.airbnb-booking-card {
  position: relative;
  z-index: 1;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  max-width: 100%;
}

@media (min-width: 992px) {
  .airbnb-booking-card {
    position: sticky;
    top: 85px;
    z-index: 10;
  }
}

@media (max-width: 991px) {
  .airbnb-booking-card {
    margin-bottom: 75px;
  }
}

.airbnb-booking-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.airbnb-booking-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.airbnb-booking-price {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.airbnb-booking-unit {
  font-size: 14px;
  color: #64748b;
}

.airbnb-booking-rating-pill {
  font-size: 13.5px;
  font-weight: 600;
  color: #222222;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.airbnb-booking-box {
  border: 1px solid #b0b0b0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.airbnb-booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #b0b0b0;
}

.airbnb-date-col {
  padding: 8px 12px;
  cursor: pointer;
  background: #ffffff;
  transition: background 0.15s;
}

.airbnb-date-col:first-child {
  border-right: 1px solid #b0b0b0;
}

.airbnb-date-col:hover {
  background: #fafafa;
}

.airbnb-date-label {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #222222;
  display: block;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.airbnb-date-input {
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  border: none;
  background: transparent;
  padding: 0;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.airbnb-booking-guests {
  padding: 8px 12px;
  cursor: pointer;
  background: #ffffff;
}

.airbnb-booking-guests:hover {
  background: #fafafa;
}

.airbnb-guests-select {
  font-size: 13px;
  font-weight: 500;
  color: #222222;
  border: none;
  background: transparent;
  width: 100%;
  outline: none;
  cursor: pointer;
}

.airbnb-reserve-cta {
  width: 100%;
  background: linear-gradient(90deg, #3b57ba 0%, #3b82f6 100%);
  color: #ffffff !important;
  border: none;
  border-radius: 12px;
  padding: 13px 20px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  margin-bottom: 12px;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 14px rgba(59, 87, 186, 0.28);
}

.airbnb-reserve-cta:hover {
  background: linear-gradient(90deg, #31489d 0%, #2563eb 100%);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 87, 186, 0.38);
}

.airbnb-reserve-subtext {
  font-size: 13px;
  color: #717171;
  text-align: center;
  margin-bottom: 18px;
}

.airbnb-price-breakdown {
  border-top: 1px solid #ebebeb;
  padding-top: 16px;
}

.airbnb-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14.5px;
  color: #222222;
  margin-bottom: 10px;
}

.airbnb-breakdown-row span:first-child {
  text-decoration: underline;
}

.airbnb-breakdown-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16.5px;
  font-weight: 700;
  color: #222222;
  border-top: 1px solid #ebebeb;
  padding-top: 14px;
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   6. General Helpers & Spinners (Legacy / State Compatibility)
   -------------------------------------------------------------------------- */
.property-state {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 24px;
}

.property-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f0f0f0;
  border-top-color: #e61e4d;
  border-radius: 50%;
  animation: property-spin 0.8s linear infinite;
}

@keyframes property-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   7. Responsive Layouts
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .airbnb-photo-grid {
    height: 320px;
    grid-template-rows: 156px 156px;
  }

  .airbnb-left-col {
    padding-right: 0;
    margin-bottom: 36px;
  }

  .airbnb-booking-card {
    position: static;
    top: auto;
  }
}

@media (max-width: 767px) {
  .airbnb-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px;
    height: 260px;
    border-radius: 14px;
  }

  .airbnb-photo-grid-cell:not(.airbnb-photo-cell-1) {
    display: none;
  }

  .airbnb-amenities-grid {
    grid-template-columns: 1fr;
  }

  .airbnb-guest-favourite-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .airbnb-gf-stats {
    width: 100%;
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid #ebebeb;
  }
}

/* --------------------------------------------------------------------------
   8. Dynamic Property Card & Details Enhancements (Admin-Aligned)
   -------------------------------------------------------------------------- */
.airbnb-badge-occupied {
  background: #fffbeb !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

/* Stat Cards Grid (Type, Area, Rent, Deposit) */
.prop-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

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

@media (max-width: 480px) {
  .prop-stats-grid {
    grid-template-columns: 1fr;
  }
}

.prop-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  min-width: 0;
}

.prop-stat-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.prop-stat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #064976;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prop-stat-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}

.prop-stat-val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Rental Terms Grid */
.prop-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 24px;
  max-width: 100%;
}

@media (max-width: 575px) {
  .prop-terms-grid {
    grid-template-columns: 1fr;
  }
}

.prop-term-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #cbd5e1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.prop-term-label {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prop-term-val {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

/* Parking Cards */
.prop-parking-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  min-width: 140px;
}

/* Booking Card Alerts & Terms */
.prop-booking-alert {
  border-radius: 10px;
  padding: 10px 14px;
}

.prop-booking-alert-available {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.prop-booking-alert-occupied {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.prop-card-terms-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
}

.border-bottom-dashed {
  border-bottom: 1px dashed #e2e8f0;
}

/* Single Hero Photo Banner */
.airbnb-photo-single {
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.06);
}

.airbnb-photo-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.airbnb-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
}

@media (max-width: 767px) {
  .airbnb-photo-single {
    height: 260px;
    border-radius: 14px;
  }
}

/* ==========================================================================
   Properties Filter Bar Component
   ========================================================================== */
.properties-filter-bar {
  margin-top: 10px;
  margin-bottom: 28px;
  width: 100%;
}

.properties-filter-inner {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.properties-filter-layout {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* Controls Group */
.filter-controls-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.filter-location-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.filter-action-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 1 210px;
  min-width: 0;
  flex-wrap: nowrap;
}

/* Filter Control Containers */
.filter-control-wrap {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  min-width: 0;
}

.filter-daterange-wrap {
  width: 175px;
  flex: 0 1 175px;
  min-width: 140px;
}

.filter-select-wrap {
  width: 120px;
  flex: 0 1 120px;
  min-width: 100px;
}

.filter-search-wrap {
  flex: 1 1 auto;
  min-width: 100px;
  width: 100%;
}

.filter-reset-wrap {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Inputs & Selects - Compact Unified Design */
.properties-filter-bar .filter-input,
.properties-filter-bar .filter-select,
.properties-filter-bar input.filter-input,
.properties-filter-bar select.filter-select,
.properties-filter-bar .flatpickr-input,
.properties-filter-bar input.form-control,
.properties-filter-bar select.form-select {
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  line-height: 32px !important;
  border-radius: 7px !important;
  border: 1px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
  margin: 0 !important;
}

.properties-filter-bar #filter-search,
.properties-filter-bar #filter-date-range,
.properties-filter-bar .filter-input-date,
.properties-filter-bar .filter-input-search {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

.properties-filter-bar .filter-input:hover,
.properties-filter-bar .filter-select:hover,
.properties-filter-bar input.filter-input:hover,
.properties-filter-bar select.filter-select:hover,
.properties-filter-bar .flatpickr-input:hover {
  border-color: #cbd5e1 !important;
}

.properties-filter-bar .filter-input:focus,
.properties-filter-bar .filter-select:focus,
.properties-filter-bar input.filter-input:focus,
.properties-filter-bar select.filter-select:focus,
.properties-filter-bar .flatpickr-input:focus {
  background-color: #ffffff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
  outline: none !important;
}

.properties-filter-bar .filter-select,
.properties-filter-bar select.filter-select {
  padding: 0 30px 0 12px !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 14px 10px !important;
}

.properties-filter-bar .filter-input-date,
.properties-filter-bar input.filter-input-date {
  padding-left: 34px !important;
  padding-right: 28px !important;
  cursor: pointer;
}

.properties-filter-bar .filter-input-search,
.properties-filter-bar input.filter-input-search {
  padding-left: 34px !important;
  padding-right: 28px !important;
}

.properties-filter-bar .filter-input::placeholder,
.properties-filter-bar input.filter-input::placeholder,
.properties-filter-bar .flatpickr-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 400 !important;
  opacity: 1 !important;
}

.filter-input-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 16px;
  height: 16px;
}

.filter-clear-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  border: none;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 3;
  transition: all 0.15s ease;
}

.filter-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.filter-reset-btn {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  line-height: 36px !important;
  padding: 0 12px !important;
  border-radius: 8px !important;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  box-sizing: border-box !important;
  white-space: nowrap;
}

.filter-reset-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

/* Flatpickr input wrapper compatibility */
.flatpickr-input.form-control,
.flatpickr-input.filter-input {
  background-color: #ffffff !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
  width: 100% !important;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

/* Tablet (768px - 1099px) */
@media (min-width: 768px) and (max-width: 1099.98px) {
  .properties-filter-inner {
    padding: 14px 16px;
  }

  .properties-filter-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-tabs-col {
    display: flex;
    justify-content: flex-start;
  }

  .filter-controls-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
  }

  .filter-daterange-wrap {
    flex: 1 1 200px;
    min-width: 180px;
    width: auto;
  }

  .filter-location-group {
    display: flex;
    gap: 8px;
    flex: 1 1 auto;
  }

  .filter-location-group .filter-select-wrap {
    flex: 1 1 130px;
    min-width: 110px;
    width: auto;
  }

  .filter-action-group {
    display: flex;
    gap: 8px;
    flex: 1 1 220px;
    min-width: 160px;
  }

  .filter-action-group .filter-search-wrap {
    flex: 1 1 auto;
    min-width: 110px;
  }
}

/* Mobile Devices (< 768px) - Professional Tailored Mobile Experience */
@media (max-width: 767.98px) {
  .properties-filter-bar {
    margin-top: 6px;
    margin-bottom: 22px;
  }

  .properties-filter-inner {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    min-height: auto !important;
  }

  .properties-filter-layout {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
  }

  /* Full-width segmented pill tabs */
  .filter-tabs-col {
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .filter-tabs {
    width: 100% !important;
    display: flex !important;
    padding: 3px !important;
    background: #f1f5f9 !important;
    border-radius: 9px !important;
    border: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
  }

  .filter-tab-btn {
    flex: 1 !important;
    text-align: center !important;
    padding: 6px 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 7px !important;
    height: 34px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Controls stacked in clear, organized mobile rows */
  .filter-controls-group {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0 !important;
  }

  /* Row 1: Date Range 100% full width */
  .filter-daterange-wrap {
    width: 100% !important;
    flex: 0 0 auto !important;
    min-width: 100% !important;
    margin: 0 !important;
  }

  /* Row 2: State & City side-by-side in balanced 2-column grid */
  .filter-location-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .filter-location-group .filter-select-wrap {
    width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    margin: 0 !important;
  }

  /* Row 3: Search + Reset side-by-side */
  .filter-action-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .filter-action-group .filter-search-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .filter-action-group .filter-reset-wrap {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  /* Touch-friendly height for mobile inputs */
  .properties-filter-bar .filter-input,
  .properties-filter-bar .filter-select,
  .properties-filter-bar input.filter-input,
  .properties-filter-bar select.filter-select,
  .properties-filter-bar .flatpickr-input {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    font-size: 13.5px !important;
    width: 100% !important;
  }

  .filter-reset-btn {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
    line-height: 36px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   Properties Page Pagination (Attachment Design Match)
   ========================================================================== */
.properties-pagination-bar {
  width: 100%;
  padding-top: 1.5rem;
}

.properties-pagination-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.pagination-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 6px 10px;
  color: var(--main-color, #1E40AF);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-btn:hover:not(.disabled):not(:disabled) {
  background-color: rgba(30, 64, 175, 0.08);
  color: var(--main-color, #1E40AF);
}

.pagination-btn.disabled,
.pagination-btn:disabled {
  color: #94a3b8;
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.pagination-icon {
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
}

.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  background: transparent;
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: var(--main-color, #1E40AF);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-page:hover:not(.active) {
  background-color: rgba(30, 64, 175, 0.06);
}

.pagination-page.active {
  border-color: var(--main-color, #1E40AF);
  background-color: rgba(30, 64, 175, 0.08);
  color: var(--main-color, #1E40AF);
  font-weight: 700;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 34px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 15px;
  user-select: none;
}

/* Limit / Per Page Selector */
.pagination-limit-wrap {
  display: inline-flex;
  align-items: center;
}

.pagination-select-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.pagination-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  color: var(--main-color, #1E40AF);
  font-size: 15px;
  font-weight: 600;
  padding: 6px 24px 6px 8px;
  cursor: pointer;
  outline: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.pagination-select:hover,
.pagination-select:focus {
  background-color: rgba(30, 64, 175, 0.06);
}

.pagination-select option {
  color: #0f172a;
  background: #ffffff;
  font-weight: 500;
}

.pagination-select-chevron {
  position: absolute;
  right: 6px;
  pointer-events: none;
  color: var(--main-color, #1E40AF);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 575px) {
  .properties-pagination-inner {
    justify-content: center;
    gap: 0.75rem;
  }
  .pagination-nav {
    gap: 0.2rem;
  }
  .pagination-page {
    min-width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .pagination-btn {
    font-size: 14px;
    padding: 4px 8px;
  }
}

/* ==========================================================================
   Related Properties Carousel Styling
   ========================================================================== */
.related-properties-section {
  padding-top: 2rem;
  margin-top: 2.5rem;
  border-top: 1px solid #e2e8f0;
}

.related-properties-carousel .owl-stage {
  display: flex !important;
}

.related-properties-carousel .owl-item {
  display: flex !important;
}

.related-properties-carousel .airbnb-card-slide-item {
  width: 100%;
}

.related-owl-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  transition: all 0.2s ease;
}

.related-owl-nav button:hover {
  background: var(--main-color, #1E40AF);
  border-color: var(--main-color, #1E40AF);
  color: #ffffff;
}

.related-properties-carousel .owl-dots {
  text-align: center;
  margin-top: 1.5rem;
}

.related-properties-carousel .owl-dot span {
  width: 9px;
  height: 9px;
  margin: 0 4px;
  background: #cbd5e1;
  display: inline-block;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.related-properties-carousel .owl-dot.active span {
  background: var(--main-color, #1E40AF);
  width: 24px;
  border-radius: 10px;
}




