:root {
  /*--bg: #e9e9e9;*/
  --bg: #666666;
  --bg-soft: #f4f4f4;
  --card: #ffffff;
  --muted: #666666;
  --text: #222222;
  --heading: #111111;
  --line: #cfcfcf;
  --orange: #ea6a00;
  --orange-dark: #c95700;
  --orange-soft: #fff1e6;
  --success: #2e7d32;
  --warn: #b77900;
  --danger: #b42318;
  --r: 16px;
  --shadow: 0 10px 24px rgba(0, 0, 0, .08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(180deg, #f3f3f3 0%, var(--bg) 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding-bottom: 8px;
  padding-top: 8px;
}

.section-head {
  color: #111111;
}

.card,
.tile {
  background: var(--card);
  border: 1px solid #ddd;
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.card {
  padding: 12px;
}

.tile {
  padding: 16px;
}

.tile h3 {
  margin: 0;
  font-size: 15px;
  color: var(--heading);
}

.tile p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.tile-image {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

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

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #bdbdbd;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--heading);
  flex: 0 0 auto;
  min-width: 0;
  flex-shrink: 0;
}

.logo-img {
  width: auto;
  height: 40px;
  display: block;
  background: transparent;
  flex-shrink: 0;
}

.brand-title {
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--heading);
  line-height: 1.1;
}

.brand-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-left: auto;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.navlink {
  font-size: 14px;
  color: #444;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: .2s ease;
  font-weight: 700;
  white-space: nowrap;
}

.navlink:hover {
  color: var(--orange);
  background: #fafafa;
  border-color: #e2e2e2;
}

.navlink.active {
  color: #fff;
  background: linear-gradient(180deg, #f07a14 0%, var(--orange) 100%);
  border-color: #d35f00;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, .18);
}

.navlink.cta {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

.navlink.cta:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex: 0 0 auto;
  margin-left: 12px;
  margin-right: 0;
  color: #111;
  text-decoration: none;
  font-weight: 800;
}

.header-phone:hover {
  color: var(--orange);
}

.desktop-only {
  display: inline-flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  margin-left: 10px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: var(--heading);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
}

/* Mellanläge desktop/laptop */
@media (max-width: 1200px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 940px) {
  .topbar-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    margin-left: 0;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #ececec;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
    padding: 14px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .nav.active {
    display: flex;
  }

  .navlink {
    text-transform: none;
    text-align: left;
  }

  .navlink.cta {
    text-align: center;
  }

  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    gap: 12px;
    min-height: 64px;
  }

  .logo-img {
    height: 32px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-sub {
    display: none;
  }

  .nav {
    top: 64px;
  }
}

/* Hero */
.hero {
  padding-top: 16px;
  padding-bottom: 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
}

.hero-card {
  padding: 22px;
}

.kicker {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.h1 {
  font-size: 34px;
  line-height: 1.08;
  margin: 10px 0 8px;
  color: var(--heading);
}

.p {
  color: #4f4f4f;
  margin: 0 0 14px;
  font-size: 15px;
  max-width: 64ch;
}

/* Buttons */
.btnrow {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid #d3d3d3;
  background: #fff;
  color: var(--heading);
  cursor: pointer;
  transition: .2s ease;
}

.btn:hover {
  background: #f7f7f7;
  border-color: #c4c4c4;
}

.btn.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.btn.primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn.ghost {
  border-color: #f0c29d;
  background: var(--orange-soft);
  color: #8a3e00;
}

.btn.ghost:hover {
  background: #ffe5d2;
}
.btnrow.sub {
  margin-top: 10px;
  gap: 10px;
}

.btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.outline:hover {
  background: #fff;
  color: #000;
}

.minirow {
	margin-top: 10px;
}

/* Layout helpers */
.grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

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

.grid3 .btn {
  margin-top: 10px;
}

/* Forms */
.form {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.form-alert {
  padding: 14px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

.form-alert.success {
  background: #e6f4ea;
  color: #1e7e34;
}

.form-alert.error {
  background: #fdecea;
  color: #b02a37;
}

.form-alert.notice {
  background: #fff3cd;
  color: #856404;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #cfcfcf;
  color: var(--text);
  border-radius: 10px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: #f19b5a;
  box-shadow: 0 0 0 4px rgba(234, 106, 0, .12);
}

input[type="number"] {
  max-width: 160px;
}

.notice {
  padding: 12px 14px;
  border-radius: var(--r);
  border: 1px solid #f1c29f;
  background: var(--orange-soft);
  color: #8a3e00;
}

/* Generic tags and status */
.tags,
.listing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  color: #555;
}

.status {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  margin-bottom: 8px;
}

.status.sale {
  color: #1f5f2c;
  border-color: rgba(46, 125, 50, .22);
  background: rgba(46, 125, 50, .10);
}

.status.res {
  color: #8a5b00;
  border-color: rgba(183, 121, 0, .25);
  background: rgba(183, 121, 0, .12);
}

.status.sold {
  color: #8f1f13;
  border-color: rgba(180, 35, 24, .22);
  background: rgba(180, 35, 24, .10);
}

/* Listings overview */
.listings-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.item {
  overflow: hidden;
  background: #fff;
}

.item .thumb {
  height: 190px;
  background: linear-gradient(180deg, #f2f2f2 0%, #e5e5e5 100%);
  border-bottom: 1px solid #d7d7d7;
}

.item .body {
  padding: 12px;
}

.price {
  font-size: 18px;
  font-weight: 900;
  color: var(--heading);
}

.meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}

.listing-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #111;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  transition: .2s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.listing-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-card-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.00) 40%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.listing-card-top-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.listing-card-status {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: #fff;
  z-index: 2;
  width: fit-content;
}

.listing-card-status.sale {
  color: #c65100;
  background: #fff3e8;
}

.listing-card-status.res {
  background: #fff7cc;
  color: #a27c00;
}

.listing-card-status.sold {
  background: #eee;
  color: #555;
}

.listing-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.listing-card-title {
  font-weight: 800;
  font-size: 16px;
}

.listing-card-price-overlay {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(17, 17, 17, .82);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.listing-card-price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .82;
}

.listing-card-price-value {
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
}

.listing-card-meta {
  font-size: 13px;
  color: var(--muted);
}

.listing-card-cta {
  margin-top: 10px;
  font-weight: 700;
  color: var(--orange);
}

/* Listing filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid #d7d7d7;
  box-shadow: var(--shadow);
}

.filters-wrap {
  margin-top: 18px;
  margin-bottom: 12px;
}

.filters-upgraded {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 14px;
}

.filters-upgraded .field {
  margin: 0;
}

.filters-upgraded label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
}

.filters-upgraded input,
.filters-upgraded select {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
}

.filters-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filters-actions .btn {
  min-height: 46px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 12px;
}

.quick-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ddd;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  transition: .2s ease;
}

.quick-filter:hover,
.quick-filter.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.mobile-filter-toggle {
  display: none;
}

.mobile-filter-panel {
  display: block;
}

/* Listing detail */
.back-btn {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 16px;
  background: #f5f5f5;
  color: #111;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s ease;
}

.back-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.listing-detail-page {
  padding-top: 20px;
}

.listing-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, .95fr);
  gap: 20px;
  align-items: start;
}

.listing-gallery,
.listing-sidebar,
.listing-description-card,
.listing-tags-card,
.contact-card {
  border-radius: 16px;
  overflow: hidden;
}

.listing-gallery-inner {
  padding: 14px;
}

.main-image-wrap {
  width: 100%;
}

.main-image,
#mainListingImage {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f1f1;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.placeholder-image {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 14px;
  background: #f1f1f1;
  color: var(--muted);
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.thumb-btn img {
  width: 100%;
  height: 84px;
  object-fit: cover;
  display: block;
}

.thumb-btn.active {
  border-color: var(--orange);
}

.listing-sidebar {
  position: sticky;
  top: 88px;
}

.listing-title {
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.1;
  color: var(--heading);
}

.listing-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 10px;
}

.listing-meta-line,
.contact-intro,
.cta-note {
  color: var(--muted);
}

.listing-meta-line {
  margin-bottom: 16px;
}

.listing-cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.listing-cta,
.form-submit-btn {
  min-height: 48px;
}
.listing-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.listing-cta-call {
  box-shadow: 0 10px 24px rgba(234, 106, 0, .22);
}

.listing-cta-message {
  border-width: 2px;
}

.listing-trust-strip {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.listing-trust-strip span {
  display: block;
  padding: 10px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
  background: #fff7f1;
  color: var(--heading);
  font-size: 14px;
  font-weight: 700;
}

.listing-contact-tile {
  border: 1px solid #ececec;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f3 100%);
}

.listing-contact-details {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.fact-item {
  background: var(--bg-soft);
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  padding: 10px 12px;
}

.fact-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.fact-value {
  display: block;
  font-weight: 800;
  color: var(--heading);
}

.listing-description-card,
.listing-tags-card,
.contact-card {
  margin-top: 18px;
}

/* Listing contact form */
.contact-intro {
  margin: 0 0 14px;
  font-size: 15px;
}

.listing-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.listing-contact-form .form-group {
  display: flex;
  flex-direction: column;
}

.listing-contact-form .form-group-full {
  grid-column: 1 / -1;
}

.listing-contact-form label {
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
}

.listing-contact-form input,
.listing-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: var(--heading);
}

.listing-contact-form input:focus,
.listing-contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(234, 106, 0, .12);
}

.listing-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 2.0fr 1fr;
  z-index: 9999;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
}

.sticky-cta a {
  padding: 16px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 16px;
}

.cta-call {
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.3px;
}

.cta-form {
  background: #111;
  color: #fff;
  font-weight: 800;
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.form-alert.success {
  background: #edf8ee;
  border: 1px solid #b7dfbc;
  color: #1f6b2a;
}

.form-alert.error {
  background: #fff1f1;
  border: 1px solid #e4b4b4;
  color: #9f1f1f;
}

/* Cookie banner */
.cookie-banner-simple {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 12px;
  background: rgba(17, 17, 17, .95);
  color: #fff;
}

.cookie-banner-simple .cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-simple .cookie-banner-text {
  font-size: 14px;
  line-height: 1.5;
}

.cookie-banner-simple a {
  color: #fff;
  text-decoration: underline;
}

/* Footer */
.footer {
  margin-top: 8px;
  padding: 20px 0 10px;
  background: rgba(255, 255, 255, .96);
  color: var(--text);
  border-top: 1px solid #bdbdbd;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .04);
}

.footer p {
  margin: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 14px;
  line-height: 1.6;
}

.footer-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-address-label {
  font-weight: 800;
  color: var(--heading);
}

.footer-map-link {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
}

.contact-card .contact-tile-primary {
  border-color: rgba(240, 122, 20, .28);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .06);
}
.contact-map-section {
  margin-top: 40px;
}

.contact-map-wrapper {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 15px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-address {
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-actions-inline {
  margin-top: 14px;
}

.footer-right a,
.footer-legal a {
  color: var(--heading);
  font-weight: 600;
}

.footer-right a:hover,
.footer-legal a:hover {
  color: var(--orange);
}

.footer-legal {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, .08);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

@media(min-width: 768px){
  .sticky-cta {
    display: none;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.footer-center {
  text-align: center;
}

.footer-address {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-map-btn {
  display: inline-block;
  padding: 10px 16px;
  background: #ff6600;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.footer-map-btn:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .filters-upgraded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .listings,
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .listing-detail-layout {
    grid-template-columns: 1fr;
  }

  .listing-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 940px) {
  .hero-grid,
  .grid3,
  .grid2 {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #ececec;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
    padding: 14px 18px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .nav.active {
    display: flex;
  }

  .navlink {
    text-transform: none;
    text-align: left;
  }

  .navlink.cta {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .logo-img {
    height: 32px;
  }

  .brand-title {
    font-size: 14px;
  }

  .brand-sub {
    display: none;
  }

  .listings-head {
    flex-direction: column;
    align-items: stretch;
  }

  .listings,
  .cards,
  .listing-contact-form .form-row,
  .listing-cta-box,
  .facts-grid,
  .listing-trust-strip {
    grid-template-columns: 1fr;
  }

  .filters-wrap {
    position: static;
    top: auto;
    margin-top: 10px;
  }

  .filters-upgraded {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
  }

  .filters-actions {
    grid-column: 1 / -1;
  }

  .filters-upgraded .field label {
    font-size: 12px;
  }

  .quick-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
    margin-top: 0;
  }

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

  .hide-mobile {
    display: none !important;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 18px;
    margin-bottom: 10px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font-weight: 800;
    font-size: 15px;
  }

  .mobile-filter-panel {
    display: none;
  }

  .mobile-filter-panel.is-open {
    display: block;
  }

  .listing-title {
    font-size: 24px;
  }

  .listing-price {
    font-size: 26px;
  }

  .listing-card-price-overlay {
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
  }

  .listing-card-price-value {
    font-size: 17px;
  }

  .thumb-btn img {
    height: 72px;
  }

  .mobile-sticky-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
  }

  .mobile-sticky-cta a {
    padding: 14px;
  }

  body {
    padding-bottom: 60px;
  }

  .cookie-banner-simple .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-simple button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 12px;
  }

  .footer-right {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-left {
    font-size: 13px;
  }
}
.related-listings {
  margin-top: 24px;
}

.related-listings h3 {
  margin-bottom: 14px;
}

.related-cards {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
  .related-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .related-cards {
    grid-template-columns: 1fr;
  }
}
.header-phone {
  margin-left: 10px;
  margin-right: 8px;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--orange);
}

.desktop-only {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1100px) {
  .desktop-only {
    display: none;
  }
}

@media (max-width: 1200px) {
  .header-phone {
    display: none;
  }
}
.listing-card-badge-new {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
  z-index: 2;
  width: fit-content;
}	
.listing-detail-badge-new {
  align-self: start;
  justify-self: start;
  margin-top: 12px;
  margin-left: 12px;
  z-index: 7;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

.gallery-stage {
  display: grid;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.gallery-stage > * {
  grid-area: 1 / 1;
}

#mainListingImage {
  display: block;
  width: 100%;
}

.listing-detail-watermark {
  align-self: end;
  justify-self: start;
  margin-left: 12px;
  margin-bottom: 12px;
  width: 70px;
  max-width: none;
  height: auto;
  display: block;
  opacity: 1;
  pointer-events: none;
  z-index: 6;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.gallery-nav-prev {
  align-self: center;
  justify-self: start;
  margin-left: 12px;
  z-index: 7;
}

.gallery-nav-next {
  align-self: center;
  justify-self: end;
  margin-right: 12px;
  z-index: 7;
}

.gallery-counter {
  align-self: end;
  justify-self: end;
  margin-right: 12px;
  margin-bottom: 12px;
  z-index: 7;
}

@media (max-width: 640px) {
  .listing-detail-watermark {
    width: 56px;
    margin-left: 10px;
    margin-bottom: 10px;
  }

  .gallery-nav-prev {
    margin-left: 10px;
  }

  .gallery-nav-next {
    margin-right: 10px;
  }

  .gallery-counter {
    margin-right: 10px;
    margin-bottom: 10px;
  }
}

/* WATERMARK – LISTINGS */
.listing-card-watermark {
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 60px !important;
  max-width: 60px !important;
  height: auto !important;
  display: block;
  opacity: 1;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

@media (max-width: 640px) {
  .listing-card-watermark {
    width: 48px !important;
    max-width: 48px !important;
    left: 8px;
    bottom: 8px;
  }
}

.listing-card-monthly {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.9;
}
.listing-monthly-from {
  margin-top: -4px;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
}

.vehicle-shortcuts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.vehicle-card {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: block;
  text-decoration: none;
  color: #fff;
}

.vehicle-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.2));
}

.vehicle-card__content {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
}

.vehicle-card__title {
  font-size: 22px;
  font-weight: 800;
}

.vehicle-card__cta {
  margin-top: 6px;
  display: inline-block;
  background: var(--orange);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
}

/* Koppla dina bilder */
.vehicle-card.caravan {
  background-image: url('/assets/img/index-husvagn.jpg');
}

.vehicle-card.motorhome {
  background-image: url('/assets/img/index-husbil.jpg');
}

/* Mobil */
@media (max-width: 940px) {
  .vehicle-shortcuts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-sub {
    display: none;
  }

  .brand-title {
    font-size: 13px;
	display: none;
  }

  .topbar-inner {
    min-height: 58px;
  }
}

@media (max-width: 640px) {
  .listing-card {
    border-radius: 18px;
  }

  .listing-card-body {
    padding: 12px 14px;
  }

  .listing-card-title {
    font-size: 18px;
  }

  .listing-card-meta {
    font-size: 14px;
  }

  .listing-card-cta {
    margin-top: 12px;
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .listing-cta-box {
    grid-template-columns: 1fr;
  }

  .listing-cta {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  input,
  textarea,
  select {
    font-size: 16px;
    padding: 14px;
  }

  .form button {
    min-height: 52px;
    font-size: 16px;
  }
}
@media (max-width: 640px) {
  section {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .h1 {
    font-size: 28px;
  }

  .p {
    font-size: 16px;
  }
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  margin: 20px 0;
}