/* ============================================================
   SEARCH PAGE — Desktop Airbnb + Mobile Snapchat
   ============================================================ */

body.body-search {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

/* ========================
   FILTER BAR (desktop)
   ======================== */
.filter-bar {
  position: fixed;
  top: var(--nav-height, 72px);
  left: 0; right: 0;
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid #ebebeb;
  height: 64px;
  display: flex;
  align-items: center;
}
.filter-bar-inner {
  width: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }

.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.filter-chip:hover { border-color: #222; background: #fafafa; }
.filter-chip.active {
  background: #222; color: #fff; border-color: #222;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* Flag images in chips */
.chip-flag, .mob-chip-flag {
  width: 18px; height: 18px;
  border-radius: 3px;
  object-fit: cover;
  vertical-align: middle;
  flex-shrink: 0;
}
.mob-chip-flag { width: 16px; height: 16px; }

.filter-divider {
  width: 1px; height: 28px;
  background: #e0e0e0;
  flex-shrink: 0; margin: 0 6px;
}

.price-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
  padding: 8px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 24px; background: #fff;
  cursor: pointer; flex-shrink: 0;
  font-family: inherit; font-size: 13px; font-weight: 500; color: #444;
  transition: all 0.2s;
}
.price-toggle:hover { border-color: #222; }
.toggle-track {
  width: 38px; height: 22px;
  background: #ccc; border-radius: 11px;
  position: relative; transition: background 0.25s;
}
.toggle-track.on { background: #222; }
.toggle-thumb {
  width: 18px; height: 18px;
  background: white; border-radius: 50%;
  position: absolute; top: 2px; left: 2px;
  transition: left 0.25s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.toggle-track.on .toggle-thumb { left: 18px; }


/* ========================
   DESKTOP SPLIT LAYOUT
   ======================== */
.main-layout {
  position: fixed;
  top: calc(var(--nav-height, 72px) + 64px);
  left: 0; right: 0; bottom: 0;
  display: flex;
}

.listings-panel {
  width: 55%;
  min-width: 520px;
  overflow-y: auto;
  padding: 20px 24px 60px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
  transition: width 0.3s, min-width 0.3s, padding 0.3s;
}
.listings-panel::-webkit-scrollbar { width: 6px; }
.listings-panel::-webkit-scrollbar-track { background: transparent; }
.listings-panel::-webkit-scrollbar-thumb { background: #ddd; border-radius: 3px; }

.listings-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.listings-count { font-size: 14px; font-weight: 700; color: #222; }
.listings-sort {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: #717171;
}
.listings-sort select {
  border: none; font-family: inherit;
  font-size: 13px; font-weight: 600; color: #222;
  cursor: pointer; background: transparent; outline: none;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ========================
   LISTING CARD (Desktop)
   ======================== */
.listing-card {
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.listing-card:hover { transform: translateY(-2px); }
.listing-card.card-highlight {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* ---- Image wrapper ---- */
.listing-card .card-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%; /* 3:2 aspect ratio */
  background: #f0ece6;
}
.listing-card .carousel-container {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.listing-card .carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.listing-card .carousel-slides img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

/* ---- Carousel buttons ---- */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 5; padding: 0;
}
.carousel-btn svg {
  width: 14px; height: 14px;
  stroke: #222; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.listing-card:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { transform: translateY(-50%) scale(1.08); background: #fff; }

/* ---- Carousel dots ---- */
.carousel-dots {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 5;
}
.carousel-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.25s;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

/* ---- Badge ---- */
.card-badge-wrap {
  position: absolute;
  top: 12px; left: 12px; z-index: 5;
}
.card-badge {
  display: inline-block;
  padding: 5px 12px;
  background: #fff; color: #222;
  font-size: 11px; font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  letter-spacing: 0.2px;
}

/* ---- Heart button ---- */
.card-heart-btn {
  position: absolute;
  top: 12px; right: 12px; z-index: 5;
  width: 32px; height: 32px;
  border-radius: 50%; border: none;
  background: rgba(0,0,0,0.08);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
  padding: 0;
}
.card-heart-btn svg {
  width: 16px; height: 16px;
  fill: rgba(0,0,0,0.4); stroke: #fff; stroke-width: 2;
  transition: fill 0.2s;
}
.card-heart-btn:hover { background: rgba(0,0,0,0.15); transform: scale(1.1); }
.card-heart-btn.liked svg { fill: #FF385C; stroke: #FF385C; }

/* ---- Card details ---- */
.listing-card .card-details { padding: 12px 2px 4px; }
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px; margin-bottom: 2px;
}
.card-name {
  font-size: 15px; font-weight: 700; color: #222;
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 1;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-star {
  display: flex; align-items: center; gap: 3px;
  font-size: 13px; font-weight: 600; color: #222;
  white-space: nowrap; flex-shrink: 0;
}
.card-star svg { width: 13px; height: 13px; fill: #222; stroke: none; }
.card-subtitle {
  font-size: 13px; color: #717171;
  line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: 2px;
}
.card-meta { font-size: 13px; color: #888; margin-bottom: 6px; }
.card-price-row { display: flex; align-items: baseline; gap: 5px; }
.card-price-old { font-size: 13px; color: #999; text-decoration: line-through; }
.card-price-current { font-size: 16px; font-weight: 800; color: #222; }
.card-price-unit { font-size: 13px; color: #888; font-weight: 400; }
.card-free-cancel { font-size: 12px; color: #059669; font-weight: 600; margin-top: 3px; }


/* ========================
   MAP PANEL
   ======================== */
.map-panel {
  flex: 1; position: relative;
  border-left: 1px solid #ebebeb; min-width: 0;
}
#map { width: 100%; height: 100%; }
.map-expand-btn {
  position: absolute; top: 14px; right: 14px;
  z-index: 5; width: 40px; height: 40px;
  background: #fff; border: none; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.map-expand-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.18); transform: scale(1.05); }
.map-expand-btn svg {
  width: 18px; height: 18px;
  stroke: #333; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.mapboxgl-ctrl-group {
  border-radius: 10px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
  border: none !important; overflow: hidden;
}
.mapboxgl-ctrl-group button { width: 38px !important; height: 38px !important; }
.mapboxgl-ctrl-attrib { background: rgba(255,255,255,0.7) !important; font-size: 10px !important; }

/* Mobile: hidden by default */
.mob-map-full { display: none; }


/* ========================
   PRICE MARKERS (Map)
   ======================== */
.price-marker {
  display: inline-block !important;
  width: auto !important; max-width: none !important;
  background: #fff; border: none; border-radius: 28px;
  padding: 6px 12px;
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 13px; font-weight: 700; color: #222;
  white-space: nowrap; cursor: pointer;
  line-height: 1; text-align: center; user-select: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04);
  transition: all 0.2s cubic-bezier(.2,0,.2,1);
  z-index: 1;
}
.price-marker:hover,
.price-marker.hover {
  background: #222; color: #fff;
  transform: scale(1.08); z-index: 10;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.price-marker.active {
  background: #FF5A1F; color: #fff;
  transform: scale(1.1); z-index: 30 !important;
  box-shadow: 0 4px 16px rgba(255,90,31,0.4);
}
.price-marker.dimmed {
  opacity: 0.25; pointer-events: none;
  transform: scale(0.85); z-index: 0 !important;
}
.mapboxgl-marker { width: auto !important; height: auto !important; }


/* ========================
   MAP POPUP
   ======================== */
.ab-popup .mapboxgl-popup-content {
  padding: 0 !important; border-radius: 14px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.16) !important;
  overflow: hidden; width: 290px; border: none !important;
}
.ab-popup .mapboxgl-popup-tip { display: none !important; }
.ab-popup .mapboxgl-popup-close-button {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  top: 8px !important; right: 8px !important;
  font-size: 18px; font-weight: 300; color: #222;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px); border-radius: 50%;
  padding: 0; z-index: 10; border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12); line-height: 1;
}
.ab-popup .mapboxgl-popup-close-button:hover { background: #fff; transform: scale(1.08); }
.ab-popup { z-index: 100 !important; }

.mpc { cursor: pointer; }
.mpc-img {
  position: relative; width: 100%; height: 185px;
  overflow: hidden; background: #f0ece6;
}
.mpc-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: opacity 0.22s ease, transform 0.35s ease;
}
.mpc:hover .mpc-img img { transform: scale(1.04); }
.mpc-fav {
  position: absolute; top: 10px; right: 10px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.06);
  backdrop-filter: blur(6px); border: none; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  padding: 0; z-index: 5; transition: transform 0.2s;
}
.mpc-fav svg { width: 16px; height: 16px; fill: rgba(0,0,0,0.4); stroke: #fff; stroke-width: 2; }
.mpc-fav:hover { transform: scale(1.1); }
.mpc-fav.liked svg { fill: #FF385C; stroke: #FF385C; }
.mpc-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12); color: #222; padding: 0;
}
.mpc:hover .mpc-nav { opacity: 1; }
.mpc-nav svg { width: 12px; height: 12px; }
.mpc-nl { left: 8px; }
.mpc-nr { right: 8px; }
.mpc-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 5px;
}
.mpc-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.45); transition: all 0.2s;
}
.mpc-dot.on { background: #fff; transform: scale(1.3); box-shadow: 0 0 3px rgba(0,0,0,0.15); }
.mpc-info { padding: 12px 14px 14px; }
.mpc-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 2px; }
.mpc-name { font-size: 14px; font-weight: 700; color: #222; line-height: 1.35; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpc-star { font-size: 12px; font-weight: 600; color: #222; flex-shrink: 0; white-space: nowrap; }
.mpc-sub { font-size: 12.5px; color: #717171; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mpc-meta { font-size: 12.5px; color: #999; margin-bottom: 6px; }
.mpc-pr s { font-size: 13px; color: #999; margin-right: 3px; }
.mpc-pr b { font-size: 15px; font-weight: 800; color: #222; }
.mpc-fc { font-size: 11.5px; color: #059669; font-weight: 600; margin-top: 3px; }


/* ============================================================
   MOBILE — SNAPCHAT FULL-SCREEN MAP
   ============================================================ */
@media (max-width: 768px) {
  .filter-bar,
  .main-layout { display: none !important; }
  #navbar, .mobile-menu { display: none !important; }

  body.body-search {
    margin: 0 !important; padding: 0 !important;
    height: 100vh !important; height: 100dvh !important;
    width: 100vw !important; overflow: hidden !important;
  }

  .mob-map-full {
    display: block; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh; height: 100dvh;
    z-index: 1; background: #e8e0d8;
  }
  #mobMap {
    position: absolute; top: 0; left: 0;
    width: 100% !important; height: 100% !important;
  }

  .mob-back-btn {
    position: fixed;
    top: calc(env(safe-area-inset-top, 12px) + 10px);
    left: 14px; z-index: 80;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    text-decoration: none; color: #222; transition: transform 0.2s;
  }
  .mob-back-btn:active { transform: scale(0.92); }
  .mob-back-btn svg { width: 20px; height: 20px; }

  .mob-cats {
    position: fixed;
    top: calc(env(safe-area-inset-top, 12px) + 58px);
    left: 0; right: 0; z-index: 50;
    display: flex; gap: 7px; padding: 8px 16px;
    overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 16px, black calc(100% - 16px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, black 16px, black calc(100% - 16px), transparent 100%);
  }
  .mob-cats::-webkit-scrollbar { display: none; }

  .mob-cat-chip {
    display: flex; align-items: center; gap: 5px;
    padding: 9px 15px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: none; border-radius: 22px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px; font-weight: 700;
    color: #333; cursor: pointer; white-space: nowrap;
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease; flex-shrink: 0;
  }
  .mob-cat-chip.active {
    background: #222; color: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  }
  .mob-cat-chip span { font-size: 14px; line-height: 1; }

  .mob-pm {
    font-size: 11px !important; padding: 5px 9px !important;
    border-radius: 20px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.18) !important;
  }

  .mapboxgl-ctrl-top-right {
    top: calc(env(safe-area-inset-top, 12px) + 104px) !important;
    right: 12px !important;
  }
  .mapboxgl-ctrl-group { border-radius: 12px !important; overflow: hidden; }
  .mapboxgl-ctrl-group button { width: 42px !important; height: 42px !important; }

  .ab-popup .mapboxgl-popup-content { width: 260px; }
  .mpc-img { height: 155px; }
  .mpc-info { padding: 10px 12px 12px; }
  .mpc-name { font-size: 13px; }
  .mpc-sub { font-size: 12px; }
  .mpc-meta { font-size: 12px; margin-bottom: 4px; }


  /* ==== BOTTOM SHEET ==== */
  .mob-sheet {
    position: fixed; left: 0; right: 0; bottom: 0;
    height: 88vh; height: 88dvh; z-index: 60;
    background: #fff; border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.1);
    will-change: transform;
    display: flex; flex-direction: column; overflow: hidden;
  }
  .mob-sheet-handle {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 12px 0 6px; cursor: grab;
    user-select: none; -webkit-user-select: none;
  }
  .mob-handle-bar { width: 42px; height: 5px; background: #d4d4d4; border-radius: 3px; }
  .mob-sheet-header {
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 2px 18px 14px;
  }
  .mob-sheet-count { font-size: 16px; font-weight: 800; color: #222; letter-spacing: -0.3px; }
  .mob-sheet-sort select {
    border: 1px solid #e8e8e8; border-radius: 10px;
    padding: 7px 28px 7px 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px; font-weight: 600; color: #333;
    background: #f7f7f7; outline: none;
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }
  .mob-sheet-scroll {
    flex: 1; overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0; border-top: 1px solid #f0f0f0;
  }
  .mob-listings { display: flex; flex-direction: column; }

  /* ==== MOBILE CARD ==== */
  .mob-card {
    display: flex; gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #f2f2f2;
    cursor: pointer; transition: background 0.12s;
    align-items: flex-start;
  }
  .mob-card:last-child { border-bottom: none; }
  .mob-card:active { background: #f8f8f8; }

  .mob-card .card-img-wrap {
    width: 110px; height: 110px;
    flex-shrink: 0; border-radius: 14px;
    overflow: hidden; position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding-bottom: 0 !important; /* override desktop */
  }
  .mob-card .carousel-container {
    position: relative;
    width: 100%; height: 100%;
  }
  .mob-card .carousel-slides { height: 100%; }
  .mob-card .carousel-slides img {
    width: 110px; height: 110px;
    object-fit: cover; display: block; flex-shrink: 0;
  }
  .mob-card .carousel-btn,
  .mob-card .carousel-dots { display: none; }
  .mob-card .card-badge-wrap { position: absolute; top: 0; left: 0; }
  .mob-card .card-badge {
    font-size: 9px; padding: 3px 8px;
    border-radius: 14px 0 8px 0; font-weight: 700;
  }
  .mob-card .card-heart-btn {
    position: absolute; top: 6px; right: 6px;
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(4px); border-radius: 50%;
  }
  .mob-card .card-heart-btn svg { width: 14px; height: 14px; }

  .mob-card .card-details {
    flex: 1; display: flex; flex-direction: column;
    justify-content: center; min-width: 0;
    padding: 2px 0; gap: 2px;
  }
  .mob-card .card-top-row {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 6px;
  }
  .mob-card .card-name {
    font-size: 14px; font-weight: 700; color: #222;
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .mob-card .card-star {
    font-size: 12px; font-weight: 600; color: #222;
    white-space: nowrap; flex-shrink: 0;
    display: flex; align-items: center; gap: 2px; margin-top: 1px;
  }
  .mob-card .card-star svg { width: 11px; height: 11px; }
  .mob-card .card-meta {
    font-size: 12px; color: #888; line-height: 1.4;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px;
  }
  .mob-card .card-price-row { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
  .mob-card .card-price-old { font-size: 12px; color: #999; text-decoration: line-through; }
  .mob-card .card-price-current { font-size: 16px; font-weight: 800; color: #222; }
  .mob-card .card-price-unit { font-size: 12px; color: #888; }
  .mob-card .card-free-cancel { font-size: 11px; color: #059669; font-weight: 600; margin-top: 2px; }
}

@media (max-width: 380px) {
  .mob-card { padding: 12px 14px; gap: 12px; }
  .mob-card .card-img-wrap { width: 96px; height: 96px; }
  .mob-card .carousel-slides img { width: 96px; height: 96px; }
  .mob-card .card-name { font-size: 13px; }
  .mob-card .card-price-current { font-size: 15px; }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .listings-panel { width: 50%; min-width: 400px; }
  .listings-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1400px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .listings-panel { padding: 24px 32px 60px; }
}

/* ========================
   GUEST / DATE PANEL
   ======================== */
.guest-date-overlay {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.3);
  z-index: 200;
}
.guest-date-overlay.show { display: block; }

.guest-date-panel {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  padding: 28px 32px;
  z-index: 201;
  width: 380px;
  max-width: 92vw;
}
.guest-date-panel.show { display: block; }

.gdp-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.gdp-title { font-size: 18px; font-weight: 800; color: #222; }
.gdp-close {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid #e0e0e0; background: #fff;
  font-size: 20px; color: #666; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.gdp-close:hover { background: #f5f5f5; color: #222; }

.gdp-section { margin-bottom: 24px; }
.gdp-label { display: block; font-size: 13px; font-weight: 700; color: #555; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }

.gdp-date {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid #e0e0e0; border-radius: 12px;
  font-family: inherit; font-size: 15px; color: #222;
  outline: none; transition: border-color 0.2s;
  background: #fafafa;
}
.gdp-date:focus { border-color: #FF5A1F; background: #fff; }

.gdp-guests-row {
  display: flex; align-items: center; gap: 20px;
  justify-content: center;
}
.gdp-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid #e0e0e0; background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; color: #333;
}
.gdp-btn:hover { border-color: #222; background: #f5f5f5; }
.gdp-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.gdp-guest-count {
  font-size: 28px; font-weight: 800; color: #222;
  min-width: 40px; text-align: center;
}

.gdp-discount-note {
  text-align: center; margin-top: 10px;
  font-size: 13px; font-weight: 600; color: #059669;
  min-height: 20px;
}

.gdp-apply {
  width: 100%; padding: 14px;
  background: #222; color: #fff;
  border: none; border-radius: 12px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background 0.2s;
}
.gdp-apply:hover { background: #FF5A1F; }

/* ========================
   NO RESULTS
   ======================== */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}
.no-results-icon { font-size: 48px; margin-bottom: 16px; }
.no-results-title { font-size: 18px; font-weight: 700; color: #222; margin-bottom: 8px; }
.no-results-text { font-size: 14px; color: #717171; max-width: 320px; margin: 0 auto; line-height: 1.5; }