/* ============================================================
   [DESIGN] CSS-SYSTEMET — from 03_C01_Homepage_v67.html
   ============================================================ */
* {
  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;
}

/* [DESIGN] Topbar — navy, sticky */
.topbar {
  background: var(--navy);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

a.logo {
  text-decoration: none;
}

.topbar-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: #fff;
  text-decoration: underline;
}

/* [DESIGN] Hero — 480px */
.hero {
  position: relative;
}

.hero-media {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.hero-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.2) 60%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

/* [DESIGN] Sökkort */
.search-card {
  position: absolute;
  bottom: -28px;
  left: 14px;
  right: 14px;
  background: white;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.f-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.f-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  font-size: 13px;
  font-family: Inter, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  background: #fafafa;
  cursor: pointer;
}

.f-input:focus-within {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.f-input .ph {
  color: #9ca3af;
}

.f-input-field {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 13px;
  font-family: inherit;
  color: var(--black);
  outline: none;
}

.f-input-field::placeholder {
  color: #9ca3af;
}

.f-input-chevron {
  margin-left: auto;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chairs-row {
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
  margin-bottom: 12px;
}

.chairs-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.chairs-ctrl {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 1px solid var(--border);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.c-btn:hover {
  background: #e5e7eb;
}

.c-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.c-num {
  font-size: 14px;
  font-weight: 700;
}

/* [DESIGN] Filter pills */
.pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill {
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  background: white;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.pill.on {
  background: var(--black);
  color: white;
  border-color: var(--black);
}

/* [DESIGN] CTA */
.search-btn {
  width: 100%;
  background: var(--black);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

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

/* [DESIGN] Strandkort */
.content {
  margin-top: 46px;
  padding: 0 14px;
}

.bcard {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f6;
}

.bcard-img-wrap {
  position: relative;
  flex-shrink: 0;
  width: 115px;
  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: 7px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.ams {
  display: flex;
  gap: 4px;
  margin-bottom: 7px;
  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-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;
}

/* Location autocomplete (home hero) */
.search-loc-wrap {
  position: relative;
  z-index: 25;
  margin-bottom: 10px;
}

.search-loc-wrap .f-input {
  margin-bottom: 0;
}

.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 280px;
  overflow-y: auto;
  background: #faf9f6;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 36px rgba(26, 58, 143, 0.12);
  padding: 6px 0;
}

.search-suggest--hidden {
  display: none !important;
}

.search-suggest-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  margin: 0;
  border: none;
  background: transparent;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: var(--black);
}

.search-suggest-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.search-suggest-pin {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.35;
}

.search-suggest-text {
  flex: 1;
  min-width: 0;
}

.search-suggest-item:hover,
.search-suggest-item:focus-visible {
  background: rgba(26, 58, 143, 0.08);
  outline: none;
}

.f-input:focus-within + .search-suggest .search-suggest-item.is-active,
.search-suggest-item.is-active {
  background: rgba(26, 58, 143, 0.1);
}

.search-suggest-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}

.search-suggest-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.pb {
  padding-bottom: 48px;
}
