/* Tokens + base — match index (home.css) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #1a3a8f;
  --black: #1a1a1a;
  --border: #e5e7eb;
  --muted: #6b7280;
}

body {
  font-family: Inter, sans-serif;
  background: #fff;
  color: #1a1a1a;
}

/* C-02 Search results — from 04_C02_SearchResults_v67.html */
.search-sticky-stack {
  position: sticky;
  top: calc(
    env(safe-area-inset-top, 0px) + var(--guest-topbar-stack-offset, 72px)
  );
  z-index: 99;
  background: #fff;
}

.search-bar {
  background: white;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.search-pill {
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fafafa;
}

.search-pill-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  color: #1a1a1a;
  outline: none;
  min-width: 0;
}

.search-pill-input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.mobile-suggest-list--below {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.mobile-suggest-list--below.is-hidden {
  display: none;
}

.mobile-suggest-list {
  max-height: 240px;
  overflow-y: auto;
}

.mobile-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.mobile-suggest-item:active {
  background: rgba(26, 58, 143, 0.06);
}

.mobile-suggest-item:last-child {
  border-bottom: none;
}

.mobile-suggest-pin {
  font-size: 16px;
  flex-shrink: 0;
}

.mobile-suggest-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}

.mobile-suggest-sub {
  font-size: 12px;
  color: #6b7280;
  margin-top: 1px;
}

.search-pill-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.search-pill-sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.search-pill-filters {
  background: var(--black);
  color: white;
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  margin-left: auto;
  flex-shrink: 0;
}

.search-pill-filters.is-hidden {
  display: none;
}

.search-mobile-date-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: #fafafa;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  text-align: left;
}

.search-mobile-date-text {
  flex: 1;
  min-width: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}

.search-mobile-date-text .guest-date-display__days {
  font-size: 11px;
  font-weight: 700;
  color: #1a3a8f;
}

.search-mobile-date-input-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  margin: 0;
  padding: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.search-map-panel {
  background: #f3f4f6;
  border-bottom: 1px solid var(--border);
}

.search-map-panel.is-hidden {
  display: none !important;
}

.search-map-el {
  height: 220px;
  width: 100%;
}

/* Leaflet default tiles need explicit z-index below our topbars */
.search-map-el .leaflet-container {
  font-family: Inter, sans-serif;
}

.tb-btn.tb-btn--active {
  color: var(--navy);
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.sheet-backdrop.is-hidden {
  display: none !important;
}

.sheet-panel {
  width: 100%;
  max-width: 390px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px 18px 24px;
  max-height: 70vh;
  overflow: auto;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
}

.sheet-panel--tall {
  max-height: 85vh;
}

.sheet-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--black);
}

.sheet-hint {
  font-size: 12px;
  color: var(--muted);
  margin: -8px 0 14px;
  line-height: 1.4;
}

.sheet-options {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sheet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 4px;
  border: none;
  border-bottom: 1px solid #f3f4f6;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  text-align: left;
}

.sheet-option:last-child {
  border-bottom: none;
}

.sheet-option:hover,
.sheet-option:focus-visible {
  color: var(--navy);
}

.sheet-option.is-selected::after {
  content: "✓";
  color: var(--navy);
  font-weight: 800;
}

.sheet-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sheet-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.sheet-check-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.sheet-filter-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.sheet-clear-filters {
  width: 100%;
  background: #fff;
  color: var(--black);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.sheet-clear-filters:hover:not(:disabled) {
  background: #f9fafb;
}

.sheet-clear-filters:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.sheet-filter-foot .sheet-done {
  margin-top: 0;
}

.sheet-done {
  margin-top: 18px;
  width: 100%;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.sheet-done:hover {
  opacity: 0.92;
}

.tb-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  flex: 1;
  justify-content: center;
  padding: 6px 0;
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
}

.tb-btn:hover {
  color: var(--navy);
}

.tb-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

.results-count {
  padding: 12px 14px 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.results-count strong {
  color: var(--black);
}

.bcard {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}

@media (max-width: 1023px) {
  body.guest-app--search #resultsList .bcard {
    padding: 16px 14px;
    border-bottom: 10px solid #f0f1f3;
  }

  body.guest-app--search #resultsList .bcard:last-child {
    border-bottom: none;
  }
}

.bcard-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 115px;
  border-radius: 12px;
  overflow: hidden;
}

.bcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bcard-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  border-radius: 10px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.13);
}

.bcard-badge.popular {
  background: var(--black);
  color: white;
}

.bcard-badge.family_favourite {
  background: #1a3a8f;
  color: #ffffff;
}

.bcard-badge.popular_choice {
  background: #c9a84c;
  color: #ffffff;
}

.bcard-badge.new {
  background: var(--navy);
  color: white;
}

/* In high demand — cyan, livlig */
.bcard-badge.high_demand {
  background: #00BFFF;
  color: #ffffff;
}

/* Only X left — navy, exklusiv */
.bcard-badge.low {
  background: #1A3A8F;
  color: #ffffff;
}

/* Newly added — grön, fräsch */
.bcard-badge.newly_added {
  background: #22C55E;
  color: #ffffff;
}

.bcard-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.bcard-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.rating-box {
  background: var(--navy);
  color: white;
  border-radius: 6px 6px 6px 0;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.rating-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
}

.bcard-loc {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ams {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
  align-items: center;
}

.am-more {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
  flex-shrink: 0;
}

.am {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcard-avail {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}

.bcard-price {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

.bcard-price strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--black);
}

.bcard-price-fees {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

.sel-btn {
  background: var(--black);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  cursor: pointer;
  align-self: flex-start;
}

.sel-btn:hover {
  opacity: 0.92;
}

.load-more {
  text-align: center;
  padding: 24px 20px;
  color: var(--muted);
  font-size: 13px;
}

.load-btn {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  cursor: pointer;
  margin-top: 12px;
  display: block;
  width: 100%;
}

.load-btn:hover {
  opacity: 0.92;
}

.load-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pb {
  padding-bottom: 40px;
}

.results-relaxed-hint {
  margin: 0 20px 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
  background: #f3f4f6;
  border-radius: 10px;
}

.results-empty-detail {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
  max-width: 28rem;
  margin: 0 auto 16px;
}

.results-empty {
  padding: 32px 20px;
  text-align: center;
}

.results-empty h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}

.empty-cta {
  display: inline-block;
  background: var(--navy);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  font-family: Inter, sans-serif;
}

.empty-cta:hover {
  opacity: 0.92;
}

.is-hidden {
  display: none !important;
}
