:root {
  --text: #17211f;
  --muted: #65706d;
  --line: #ded7d2;
  --background: #f3ddd8;
  --surface: #fffaf7;
  --surface-strong: #ffffff;
  --soft: #f4ebe7;
  --card: #ffffff;
  --primary: #0f6f68;
  --primary-dark: #0a4f4a;
  --accent: #c96d56;
  --gold: #d99a1d;
  --green: #137a55;
  --purple: #6652b8;
  --warning: #b95716;
  --shadow: 0 18px 42px rgba(23, 33, 31, 0.11);
  --soft-shadow: 0 8px 24px rgba(23, 33, 31, 0.07);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--background);
}

button,
input,
select {
  font: inherit;
}

.page-glow {
  display: none;
}

.page {
  width: min(1160px, calc(100% - 40px));
  max-width: 100%;
  margin: 0 auto;
  padding: 36px 0 48px;
}

.top-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: center;
  margin-bottom: 22px;
  padding: 22px 0 4px;
}

.hero-copy {
  min-width: 0;
}

.site-header {
  display: grid;
  gap: 12px;
  margin: 0;
}

.site-header h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 760;
}

.site-header p {
  max-width: 640px;
  margin: 0;
  color: #485451;
  font-size: 21px;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-chip {
  padding: 9px 12px;
  color: var(--primary-dark);
  background: rgba(255, 250, 247, 0.78);
  border: 1px solid rgba(222, 215, 210, 0.95);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
}

.hero-visual {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 250px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 111, 104, 0.82), rgba(201, 109, 86, 0.62)),
    url("https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&fm=jpg&q=88&w=3000") center/cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: static;
  padding: 14px 15px;
  color: var(--text);
  background: rgba(255, 250, 247, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  box-shadow: 0 14px 28px rgba(23, 33, 31, 0.16);
}

.hero-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-card strong {
  display: block;
  font-size: 23px;
  line-height: 1.12;
}

.hero-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-card--main {
  width: min(100%, 312px);
  justify-self: start;
}

.hero-card--saving {
  width: max-content;
  max-width: 220px;
  justify-self: end;
  order: -1;
}

.hero-card--saving strong {
  color: var(--green);
}

.search-section {
  margin-bottom: 30px;
  padding: 14px;
  background: rgba(255, 250, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.search-form {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1.18fr 1.18fr 1.08fr 132px;
  grid-template-areas:
    "from from destination destination budget date"
    "length route type travellers travellers button";
  gap: 10px;
  align-items: stretch;
  grid-auto-rows: minmax(72px, auto);
}

.field--from { grid-area: from; }
.field--destination { grid-area: destination; }
.field--budget { grid-area: budget; }
.field--date { grid-area: date; }
.field--length { grid-area: length; }
.field--route { grid-area: route; }
.field--type { grid-area: type; }
.field--travellers { grid-area: travellers; }

.search-button {
  grid-area: button;
  align-self: stretch;
}

.field {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--surface-strong);
  border: 1px solid rgba(222, 215, 210, 0.98);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 680;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field:focus-within {
  background: #fff;
  border-color: rgba(15, 111, 104, 0.64);
  box-shadow: 0 0 0 4px rgba(15, 111, 104, 0.10);
}

.field span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

.traveller-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.traveller-inputs label {
  min-width: 0;
}

.traveller-inputs small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.traveller-combobox {
  position: relative;
}

.traveller-summary {
  width: 100%;
  height: 34px;
  padding: 0 34px 0 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  text-align: left;
  font-size: 15px;
  font-weight: 520;
  cursor: pointer;
}

.traveller-panel {
  position: absolute;
  z-index: 25;
  top: calc(100% + 12px);
  left: -12px;
  right: -12px;
  display: none;
  gap: 4px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.traveller-panel.is-open {
  display: grid;
}

.traveller-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px;
  border-radius: 8px;
}

.traveller-row + .traveller-row {
  border-top: 1px solid rgba(222, 215, 210, 0.75);
}

.traveller-row strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.traveller-row span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  text-transform: none;
}

.traveller-stepper {
  display: grid;
  grid-template-columns: 34px 32px 34px;
  align-items: center;
  gap: 6px;
}

.traveller-stepper button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: rgba(15, 111, 104, 0.08);
  border: 1px solid rgba(15, 111, 104, 0.24);
  border-radius: 999px;
  font-size: 20px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
}

.traveller-stepper button:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.traveller-stepper output {
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  text-align: center;
}

.field input,
.field select {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  font-size: 15px;
  font-weight: 520;
}

.field input::placeholder {
  color: #9d9693;
}

.field--budget {
  position: relative;
}

#budsjett::placeholder {
  color: transparent;
}

.field--budget:has(#budsjett:placeholder-shown)::before {
  content: "Legg inn budsjett (valgfritt)";
  position: absolute;
  right: 12px;
  left: 12px;
  bottom: 16px;
  color: #9d9693;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.15;
  pointer-events: none;
  transform: none;
}

.field--budget:focus-within::before {
  content: none;
}

#datoVisning.is-placeholder,
#ferietype.is-placeholder {
  color: #9d9693;
  font-size: 15px;
  font-weight: 520;
}

.field input:focus,
.field select:focus {
  box-shadow: none;
}

.destination-field,
.destination-combobox {
  position: relative;
}

.destination-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: -12px;
  right: -12px;
  max-height: 320px;
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.destination-suggestions:empty {
  display: none;
}

.destination-group {
  padding: 8px;
  border-bottom: 1px solid #eee5e0;
}

.destination-group:last-child {
  border-bottom: 0;
}

.destination-group--open {
  background: #f5ece8;
}

.destination-group p {
  margin: 5px 8px 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.destination-option {
  width: 100%;
  margin: 0;
  padding: 10px 9px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}

.destination-group--open .destination-option {
  color: var(--primary-dark);
  font-weight: 700;
}

.destination-option--country {
  margin-bottom: 4px;
  color: var(--primary-dark);
  background: rgba(18, 128, 117, 0.09);
  font-weight: 700;
}

.destination-option:hover,
.destination-option:focus {
  background: var(--soft);
  outline: 0;
}

.destination-empty {
  padding: 13px 14px;
  color: var(--muted);
}

.search-button {
  width: 100%;
  min-height: 72px;
  color: white;
  background: var(--primary);
  border: 0;
  border-radius: var(--radius);
  font-weight: 740;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 10px 20px rgba(15, 111, 104, 0.20);
}

.search-button:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 13px 25px rgba(15, 111, 104, 0.23);
}

.status {
  min-height: 34px;
  padding-top: 2px;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 650;
}

.results h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 740;
}

.summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
}

.summary-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(255, 250, 247, 0.76);
  border: 1px solid rgba(222, 215, 210, 0.92);
  border-radius: var(--radius);
  white-space: nowrap;
  font-size: 14px;
}

.summary-item strong {
  color: var(--text);
  font-weight: 660;
}

.savings-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
  padding: 18px 20px;
  background: #f5fbf6;
  border: 1px solid #d3eadb;
  border-left: 5px solid var(--green);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.savings-label {
  margin: 0 0 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0;
}

.savings-panel h3 {
  margin: 0 0 8px;
  font-size: 21px;
  font-weight: 740;
}

.savings-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.savings-numbers {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 270px;
  color: var(--muted);
}

.savings-numbers strong {
  color: var(--green);
  font-weight: 720;
}


.info-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px;
}

.feature-card {
  margin: 0;
  padding: 16px 18px;
  background: rgba(255, 250, 247, 0.78);
  border: 1px solid rgba(222, 215, 210, 0.92);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  scroll-margin-top: 86px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card.is-highlighted {
  border-color: rgba(15, 111, 104, 0.42);
  box-shadow: 0 16px 34px rgba(15, 111, 104, 0.16);
  transform: translateY(-2px);
}

.feature-info-label {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0;
}

.feature-card h3 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.22;
  font-weight: 740;
}

.feature-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.booking-guide {
  margin: 0;
  padding: 16px 18px;
  background: rgba(255, 250, 247, 0.78);
  border: 1px solid rgba(222, 215, 210, 0.92);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.booking-guide-label {
  margin: 0 0 6px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0;
}

.booking-guide h3 {
  margin: 0 0 7px;
  font-size: 19px;
  font-weight: 740;
}

.booking-guide p:last-child {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.cards {
  display: grid;
  gap: 14px;
}

.travel-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(390px, 42%) 1fr;
  gap: 22px;
  min-height: 280px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(222, 215, 210, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  opacity: 0;
  transform: translateY(14px);
  animation: slideIn 520ms ease forwards;
}

.save-trip-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 111, 104, 0.22);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.16);
  font-size: 23px;
  font-weight: 760;
  line-height: 1;
  cursor: pointer;
  transition: transform 150ms ease, color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.save-trip-button:hover,
.save-trip-button:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.save-trip-button.is-saved {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.travel-card.is-hidden-by-saved-filter {
  display: none;
}

@media (max-width: 760px) {
  .travel-card {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
  }

  .travel-card::before {
    width: 100%;
    height: 5px;
    grid-column: 1;
    grid-row: 1;
  }

  .card-image {
    grid-column: 1;
    grid-row: 1;
    height: clamp(230px, 58vw, 320px);
    min-height: clamp(230px, 58vw, 320px);
    padding: 14px 14px 0;
  }

  .card-content {
    grid-column: 1;
    grid-template-columns: 1fr;
    padding: 18px 16px 16px;
  }

  .booking-actions {
    justify-self: stretch;
    width: 100%;
  }
}

.travel-card:nth-child(2) { animation-delay: 120ms; }
.travel-card:nth-child(3) { animation-delay: 240ms; }
.travel-card--budget { --accent-color: var(--green); }
.travel-card--value { --accent-color: var(--primary); }
.travel-card--upgrade { --accent-color: var(--purple); }
.travel-card--extra { --accent-color: var(--gold); }
.travel-card--more { --accent-color: var(--muted); }

.travel-card::before {
  content: "";
  width: 5px;
  background: var(--accent-color);
  grid-row: 1;
  grid-column: 1;
  z-index: 2;
}

.card-image {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  height: 270px;
  min-height: 270px;
  padding: 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius) 0 0 var(--radius);
}

.badge {
  position: absolute;
  top: 18px;
  left: 22px;
  padding: 7px 11px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color) 12%, white);
  border: 1px solid color-mix(in srgb, var(--accent-color) 46%, white);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 640;
  line-height: 1.15;
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.10);
  backdrop-filter: blur(8px);
}

@supports not (background: color-mix(in srgb, red 10%, white)) {
  .badge {
    color: #173b36;
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 111, 104, 0.28);
  }
}

.card-content {
  display: grid;
  grid-column: 2;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-content: center;
  padding: 20px 24px 20px 0;
}

.card-main {
  min-width: 0;
}

.destination {
  margin: 0 0 6px;
  font-size: 25px;
  line-height: 1.1;
  font-weight: 740;
}

.hotel,
.rating,
.details,
.reason,
.warning {
  margin: 0;
}

.hotel {
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
}

.rating {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.stars {
  color: var(--gold);
  font-size: 17px;
}

.reviews {
  color: var(--muted);
}

.details {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: var(--text);
}

.price {
  margin: 18px 0 0;
  color: var(--accent-color);
  font-size: 20px;
  font-weight: 740;
}

.price-breakdown {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.price-breakdown span {
  display: grid;
  gap: 3px;
  min-height: 62px;
  min-width: 0;
  padding: 8px 9px;
  color: var(--muted);
  background: rgba(244, 235, 231, 0.68);
  border: 1px solid rgba(222, 215, 210, 0.9);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.25;
}

.price-breakdown strong {
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.price-breakdown-total {
  color: var(--accent-color) !important;
  background: rgba(15, 111, 104, 0.08) !important;
  border-color: rgba(15, 111, 104, 0.18) !important;
  font-weight: 720;
}

.price-breakdown .is-checking {
  color: var(--muted);
  background: rgba(244, 235, 231, 0.48);
}

.price-breakdown .is-checking em {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 18px;
  color: var(--muted);
  font-style: normal;
  font-weight: 650;
}

.price-breakdown .is-checking em::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.5;
  animation: pricePulse 900ms ease-in-out infinite alternate;
}

@keyframes pricePulse {
  0% { opacity: 0.25; transform: scale(0.82); }
  100% { opacity: 0.75; transform: scale(1); }
}

.price-note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}
.reason {
  margin-top: 10px;
  color: #253235;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
}

.warning {
  margin-top: 12px;
  color: var(--warning);
}

.booking-actions {
  align-self: end;
  justify-self: end;
  display: grid;
  width: 160px;
  gap: 8px;
}

.booking-actions p {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 620;
  line-height: 1.25;
}

.booking-actions small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
}

.booking-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 720;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.booking-button--flight {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
}

.booking-button--hotel {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 111, 104, 0.55);
}

.booking-button:hover {
  transform: translateY(-1px);
}

.booking-button--flight:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.booking-button--hotel:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.empty {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .top-section {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
  }

  .hero-visual {
    display: none;
  }

  .search-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "from from destination destination"
      "budget date length type"
      "route route travellers travellers"
      "button button button button";
  }

  .travel-card {
    grid-template-columns: minmax(330px, 40%) 1fr;
    gap: 18px;
  }

  .card-image {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 1180px);
    padding-top: 22px;
  }

  .top-section {
    padding: 0;
    margin-bottom: 18px;
  }

  .site-header h1 {
    font-size: 36px;
  }

  .site-header p {
    font-size: 17px;
  }

  .trust-row {
    margin-top: 14px;
  }

  .search-section {
    padding: 12px;
  }

  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "from from"
      "destination destination"
      "budget date"
      "length route"
      "type type"
      "travellers travellers"
      "button button";
  }

  .travel-card,
  .card-content,
  .savings-panel {
    grid-template-columns: 1fr;
  }

  .savings-panel {
    display: grid;
  }

  .travel-card {
    gap: 0;
  }

  .travel-card::before {
    width: auto;
    height: 4px;
    grid-column: 1;
    grid-row: 1;
  }

  .card-image,
  .card-content {
    grid-column: 1;
  }

  .card-image {
    grid-row: 1;
    height: 230px;
    min-height: 230px;
    padding: 8px;
  }

  .card-content {
    grid-row: 2;
    padding: 18px;
  }

  .savings-numbers {
    min-width: 0;
  }

  .booking-actions {
    justify-self: start;
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .search-form {
    grid-template-columns: 1fr;
    grid-template-areas:
      "from"
      "destination"
      "budget"
      "date"
      "length"
      "route"
      "type"
      "travellers"
      "button";
  }
}


/* Input polish v19 */
.destination-combobox input {
  padding-right: 28px;
}

.destination-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transform: translateY(-50%);
}

.destination-toggle:hover {
  color: var(--primary);
  background: var(--soft);
}

.field--date input[type="date"] {
  color: transparent;
  cursor: pointer;
}

.field--date input[type="date"]:valid,
.field--date input[type="date"]:focus {
  color: var(--text);
}

.field--date input[type="date"]::-webkit-datetime-edit {
  color: transparent;
}

.field--date input[type="date"]:valid::-webkit-datetime-edit,
.field--date input[type="date"]:focus::-webkit-datetime-edit {
  color: var(--text);
}

.field--date input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
}


/* Matching combobox arrows v20 */
.field-combobox,
.destination-combobox {
  position: relative;
}

.field-combobox input,
.destination-combobox input {
  padding-right: 28px;
}

.field-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
}

.field-toggle:hover {
  color: var(--primary);
  background: var(--soft);
}

.destination-toggle {
  font-size: 18px;
}


/* Unified chevrons v21 */
.field--length,
.field--type,
.destination-combobox {
  position: relative;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
}

.field--length::after,
.field--type::after,
.destination-combobox::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  pointer-events: none;
  transform: translateY(-60%) rotate(45deg);
}

.field-combobox input,
.destination-combobox input {
  padding-right: 30px;
}

.field-toggle {
  right: 1px;
  width: 28px;
  height: 32px;
  color: transparent;
  font-size: 0;
  background: transparent;
}

.field-toggle:hover {
  background: transparent;
}

.field-toggle::before {
  content: "";
}


/* Dropdown fixes v22 */
.field--length::after,
.field--type::after,
.destination-combobox::after {
  right: 12px;
}

.field--length select,
.field--type select {
  padding-right: 34px;
}

.field-combobox,
.destination-combobox {
  position: relative;
}

.field-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 12px);
  left: -12px;
  right: -12px;
  max-width: calc(100vw - 24px);
  max-height: 320px;
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-suggestions:empty {
  display: none;
}

.field-option {
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  color: var(--text);
  background: transparent;
  border: 0;
  border-radius: 0;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
}

.field-option:hover,
.field-option:focus {
  background: var(--soft);
  outline: 0;
}

.field-toggle {
  z-index: 2;
}


/* Whole menu fields clickable v32 */
.field--from,
.field--destination,
.field--length,
.field--type {
  cursor: pointer;
}

.field--from input,
.field--destination input,
.field--length select,
.field--type select {
  cursor: pointer;
}


/* Date menu v33 */
.date-combobox {
  position: relative;
}

#datoVisning {
  cursor: pointer;
  font-size: 14px;
}

#dato {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.date-suggestions {
  min-width: 286px;
  padding: 8px;
}

.field--date::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.8px solid var(--muted);
  border-bottom: 1.8px solid var(--muted);
  pointer-events: none;
  transform: translateY(-60%) rotate(45deg);
}


/* Preferences filter v35 */
.search-form {
  grid-template-areas:
    "from from destination destination budget date"
    "length route type preferences travellers button";
}

.field--route {
  cursor: default;
}

.route-choice {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.route-choice label {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-size: 15px;
  font-weight: 520;
  cursor: pointer;
}

.route-choice input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: var(--primary);
}

.route-choice span {
  min-width: 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 520;
  text-transform: none;
}

.field--preferences {
  grid-area: preferences;
  cursor: pointer;
}

.preferences-combobox {
  position: relative;
}

.preferences-panel {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 8px;
  min-width: 340px;
}

.preferences-panel.is-open {
  display: grid;
}

.preferences-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  color: var(--text);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.preferences-panel label:hover {
  background: var(--soft);
}

.preferences-panel input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

@media (max-width: 1100px) {
  .search-form {
    grid-template-areas:
      "from from destination destination"
      "budget date length type"
      "route route preferences preferences"
      "travellers travellers travellers travellers"
      "button button button button";
  }
}

@media (max-width: 760px) {
  .search-form {
    grid-template-areas:
      "from from"
      "destination destination"
      "budget date"
      "length route"
      "type preferences"
      "travellers travellers"
      "button button";
  }

  .preferences-panel {
    min-width: 0;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .search-form {
    grid-template-areas:
      "from"
      "destination"
      "budget"
      "date"
      "length"
      "route"
      "type"
      "preferences"
      "travellers"
      "button";
  }
}


/* Desktop date width fix v39 */
@media (min-width: 1101px) {
  .search-form {
    grid-template-columns: minmax(155px, 1fr) minmax(155px, 1fr) minmax(155px, 1fr) minmax(155px, 1fr) minmax(132px, 0.82fr) minmax(166px, 0.95fr) 124px;
    grid-template-areas:
      "from from destination destination budget date button"
      "length route type preferences travellers travellers button";
  }

  .search-button {
    min-width: 0;
  }

  .field--date label,
  #datoVisning {
    white-space: nowrap;
  }
}


/* Cleaner primary button v40 */
.search-button {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.15;
}


/* Optional preferences placeholder v41 */
#preferencesSummary.is-placeholder,
#preferencesSummary::placeholder {
  color: var(--muted);
  font-weight: 520;
}


/* Optional select placeholder v43 */
#ferietype.is-placeholder {
  color: #9d9693;
  font-weight: 520;
}

#ferietype:not(.is-placeholder) {
  color: var(--text);
}


/* Custom calendar v50 */
.date-suggestions {
  min-width: 300px;
  padding: 10px;
}

.date-option--flexible {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border: 1px solid rgba(15, 111, 104, 0.18);
  border-radius: 8px;
  color: var(--primary);
  background: rgba(15, 111, 104, 0.08);
  font-size: 14px;
  font-weight: 650;
}

.date-option--flexible:hover {
  border-color: rgba(15, 111, 104, 0.32);
  background: rgba(15, 111, 104, 0.12);
}

.calendar-panel {
  padding: 4px 4px 6px;
}

.calendar-header {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.calendar-header strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
  text-transform: capitalize;
}

.calendar-nav {
  position: relative;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.calendar-nav::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.calendar-nav[data-action="prev"]::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.calendar-nav[data-action="next"]::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.calendar-nav:hover {
  border-color: rgba(15, 111, 104, 0.35);
  background: var(--soft);
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-weekdays {
  margin-bottom: 5px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  text-align: center;
}

.calendar-empty,
.calendar-day {
  width: 34px;
  height: 34px;
}

.calendar-day {
  border: 0;
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 560;
  cursor: pointer;
}

.calendar-day:hover {
  background: var(--soft);
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 1px rgba(15, 111, 104, 0.45);
}

.calendar-day.is-selected {
  color: #fff;
  background: var(--primary);
  box-shadow: none;
}

@media (max-width: 520px) {
  .date-suggestions {
    min-width: min(300px, calc(100vw - 54px));
  }

  .calendar-empty,
  .calendar-day {
    width: 32px;
    height: 32px;
  }
}




/* Premium trust chips v54 */
.trust-row {
  gap: 9px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: #173b36;
  background: rgba(255, 250, 247, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.06);
  font-size: 13px;
  font-weight: 620;
}

.trust-chip::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 154, 29, 0.13);
}

.trust-chip {
  cursor: pointer;
}

.trust-chip.is-active,
.trust-chip:hover {
  background: rgba(255, 250, 247, 0.26);
  border-color: rgba(255, 255, 255, 0.52);
}



/* Cohesive premium polish v56 */
body {
  background: #ead2cc;
}

.page {
  width: min(1180px, calc(100% - 40px));
  padding-top: 34px;
}

.top-section {
  gap: 30px;
  margin-bottom: 18px;
  padding: 18px 0 2px;
}

.site-header h1 {
  color: #123632;
  font-weight: 700;
}

.site-header p {
  color: #42514d;
  font-weight: 420;
}

.trust-chip {
  background: rgba(255, 250, 247, 0.70);
  border-color: rgba(255, 255, 255, 0.80);
  box-shadow: 0 8px 18px rgba(23, 33, 31, 0.06);
}

.hero-visual {
  min-height: 268px;
  background:
    linear-gradient(145deg, rgba(18, 54, 50, 0.48), rgba(15, 111, 104, 0.22) 46%, rgba(201, 109, 86, 0.18)),
    url("https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&fm=jpg&q=88&w=3000") center/cover;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 44px rgba(23, 33, 31, 0.15);
}

.hero-card {
  background: rgba(255, 250, 247, 0.91);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(23, 33, 31, 0.14);
}

.hero-card span {
  color: #55706b;
  font-weight: 650;
}

.hero-card strong {
  color: #123632;
  font-weight: 680;
}

.search-section {
  padding: 16px;
  background: rgba(255, 250, 247, 0.78);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 42px rgba(23, 33, 31, 0.10);
}

.field {
  background: rgba(255, 255, 255, 0.90);
  border-color: rgba(210, 199, 192, 0.88);
}

.field span {
  color: #5d6d68;
  font-weight: 660;
}

.search-button {
  background: #0f746c;
  box-shadow: 0 14px 26px rgba(15, 111, 104, 0.22);
}

.search-button:hover {
  background: #0b5e58;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 1180px);
    padding-top: 24px;
  }

  .top-section {
    gap: 18px;
  }

  .hero-visual {
    min-height: 220px;
  }
}




/* Top navigation v63 */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 10px 0 6px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  width: min(176px, 44vw);
  line-height: 0;
}

.nav-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nav-link {
  color: #243d39;
  background: rgba(255, 250, 247, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.nav-saved {
  display: inline-flex;
  width: 42px;
  min-width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--primary);
  font-size: 21px;
  line-height: 1;
  border-radius: 999px;
}

.nav-saved.has-saved span:first-child {
  color: var(--primary);
}

.nav-link:hover {
  background: rgba(255, 250, 247, 0.78);
}

.nav-button {
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 10px 22px rgba(15, 111, 104, 0.18);
}

.nav-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

@media (max-width: 720px) {
  .top-nav {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0 4px;
  }

  .nav-logo {
    flex: 0 0 auto;
    width: min(128px, 38vw);
  }

  .nav-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-link,
  .nav-button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-saved {
    width: 36px;
    min-width: 36px;
    height: 36px;
    padding: 0;
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .nav-logo {
    width: min(112px, 34vw);
  }

  .nav-link,
  .nav-button {
    min-height: 32px;
    padding: 0 8px;
    font-size: 11px;
  }

  .nav-saved {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
  }
}


/* Hero heading size v64 */
.site-header h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.02;
}

@media (max-width: 620px) {
  .site-header h1 {
    font-size: clamp(31px, 9vw, 42px);
  }
}



/* Full width nav v67 */
.top-nav {
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  background: rgba(255, 250, 247, 0.72);
  border-bottom: 1px solid rgba(15, 111, 104, 0.16);
  box-shadow: 0 8px 24px rgba(23, 33, 31, 0.05);
}

.top-nav-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-logo {
  width: min(164px, 42vw);
}

.page {
  padding-top: 0;
}

@media (max-width: 720px) {
  .top-nav {
    margin-bottom: 16px;
  }

  .top-nav-inner {
    width: min(100% - 28px, 1180px);
    min-height: 58px;
    gap: 12px;
  }

  .nav-logo {
    width: min(120px, 36vw);
  }
}

@media (max-width: 420px) {
  .nav-logo {
    width: min(108px, 33vw);
  }
}


/* Hero beach background v68 */
.top-section {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(18, 38, 35, 0.70), rgba(18, 38, 35, 0.34) 48%, rgba(18, 38, 35, 0.06)),
    url("https://images.unsplash.com/photo-1510414842594-a61c69b5ae57?auto=format&fit=crop&fm=jpg&q=88&w=3000") center/cover;
  box-shadow: 0 20px 46px rgba(23, 33, 31, 0.13);
}

.site-header h1,
.site-header p {
  color: #fffaf7;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.site-header p {
  max-width: 560px;
  color: rgba(255, 250, 247, 0.88);
}

.trust-chip {
  color: #fffaf7;
  background: rgba(255, 250, 247, 0.16);
  border-color: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(10px);
}

.hero-visual {
  background: rgba(255, 250, 247, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

@media (max-width: 760px) {
  .top-section {
    padding: 24px 18px;
    background-position: center;
  }
}


/* Desktop hero recommendation v69 */
@media (min-width: 901px) {
  .top-section {
    grid-template-columns: minmax(0, 1fr);
    min-height: 310px;
    align-items: center;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    display: none;
  }
}





/* Clearer hero beach image v75 */
.top-section {
  background-position: center 58%;
}

@media (max-width: 760px) {
  .top-section {
    background-position: center 54%;
  }
}


@media (max-width: 520px) {
  .booking-actions {
    width: 100%;
  }
}




@media (max-width: 620px) {
  .price-breakdown {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 900px) {
  .info-panels {
    grid-template-columns: 1fr;
  }
}


/* Stable field chevrons v102 */
.field--from,
.field--destination,
.field--date,
.field--length,
.field--route,
.field--type,
.field--travellers,
.field--preferences {
  position: relative;
}

.field-toggle {
  display: none;
}

.field-combobox::after,
.destination-combobox::after {
  content: none !important;
}

.field--from::after,
.field--destination::after,
.field--date::after,
.field--length::after,
.field--type::after,
.field--travellers::after,
.field--preferences::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.9px solid var(--muted);
  border-bottom: 1.9px solid var(--muted);
  pointer-events: none;
  transform: translateY(-58%) rotate(45deg);
}

.field--budget::after {
  content: none;
}

.field--from input,
.field--destination input,
.field--date input,
.field--preferences input,
.traveller-summary,
.field--length select,
.field--type select {
  padding-right: 38px;
}


.info-panels.is-hidden {
  display: none;
}


/* Matching holiday type option text v109 */
#ferietype,
#ferietype option {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

#ferietype.is-placeholder {
  color: #9d9693;
  font-size: 15px;
  font-weight: 520;
}


/* Per-card savings v110 */
.card-savings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  color: var(--green);
  background: #f5fbf6;
  border: 1px solid #d3eadb;
  border-radius: var(--radius);
}

.card-savings div {
  display: grid;
  gap: 2px;
}

.card-savings span {
  color: var(--green);
  font-size: 12px;
  font-weight: 740;
  text-transform: uppercase;
  letter-spacing: 0;
}

.card-savings strong {
  color: var(--green);
  font-size: 17px;
  font-weight: 760;
}

.card-savings p {
  max-width: 230px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}

@media (max-width: 620px) {
  .card-savings {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-savings p {
    max-width: none;
    text-align: left;
  }
}


/* More options v112 */
.more-options {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.more-options-toggle {
  justify-self: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 111, 104, 0.35);
  border-radius: var(--radius);
  font-weight: 720;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.more-options-toggle:hover {
  color: #fff;
  background: var(--primary);
  transform: translateY(-1px);
}

.more-options-cards[hidden] {
  display: none;
}


/* Result card polish v117 */
.reviews {
  color: var(--muted);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: rgba(91, 103, 101, 0.35);
  text-underline-offset: 3px;
}

.reviews:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

.details span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 9px;
  color: #33413f;
  background: rgba(244, 235, 231, 0.56);
  border: 1px solid rgba(222, 215, 210, 0.75);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 560;
}

.card-content {
  align-content: start;
}

.booking-actions {
  align-self: start;
  margin-top: 4px;
}


/* Rating and detail alignment v118 */
.stars {
  display: none;
}

.rating-score {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 9px;
  color: #1f2d2b;
  background: rgba(248, 190, 59, 0.16);
  border: 1px solid rgba(248, 190, 59, 0.34);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 720;
  line-height: 1;
}

.rating-score span {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.details {
  gap: 8px;
}

.details span {
  justify-content: center;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}


/* Hotel stars and review clarity v119 */
.hotel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hotel-stars {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1;
}

.rating-score {
  gap: 6px;
  color: #24312f;
  background: rgba(15, 111, 104, 0.08);
  border-color: rgba(15, 111, 104, 0.18);
}

.rating-score strong {
  color: var(--primary);
  font-size: 11px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}


/* Honest review link v121 */
.rating-score {
  display: none;
}

.reviews--check {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--primary);
  background: rgba(15, 111, 104, 0.08);
  border: 1px solid rgba(15, 111, 104, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 680;
  line-height: 1;
  text-decoration: none;
}

.reviews--check:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}


/* Larger hotel stars v123 */
.hotel-stars {
  font-size: 16px;
  font-weight: 760;
}

/* Unified booking buttons v128 */
.booking-button,
.booking-button--flight,
.booking-button--hotel {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 111, 104, 0.55);
}

.booking-button:hover,
.booking-button:focus-visible,
.booking-button:active,
.booking-button--flight:hover,
.booking-button--flight:focus-visible,
.booking-button--flight:active,
.booking-button--hotel:hover,
.booking-button--hotel:focus-visible,
.booking-button--hotel:active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}


/* Mobile result polish v129 */
@media (max-width: 620px) {
  .booking-actions {
    width: 100%;
    gap: 9px;
  }

  .booking-actions p {
    font-size: 12px;
  }

  .booking-actions small {
    font-size: 12px;
    line-height: 1.4;
  }

  .more-options-toggle {
    width: min(100%, 260px);
  }

  .card-savings strong {
    font-size: 18px;
  }
}


/* Compact mobile search form v136 */
@media (max-width: 520px) {
  .page {
    width: min(100% - 20px, 1180px);
    max-width: calc(100vw - 20px);
  }

  .top-section {
    padding: 20px 14px;
  }

  .search-section {
    padding: 10px;
    border-radius: 10px;
  }

  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "from from"
      "destination destination"
      "budget date"
      "length route"
      "type preferences"
      "travellers travellers"
      "button button";
    gap: 8px;
    grid-auto-rows: auto;
  }

  .field {
    min-height: 60px;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 9px;
  }

  .field span {
    font-size: 10px;
    line-height: 1.2;
  }

  .field input,
  .field select,
  #datoVisning,
  .traveller-summary {
    height: 28px;
    font-size: 13px;
    line-height: 1.15;
  }

  .field--from,
  .field--destination,
  .field--route,
  .field--preferences,
  .field--travellers {
    min-height: 64px;
  }

  .traveller-inputs {
    gap: 8px;
  }

  .traveller-inputs small {
    margin-bottom: 0;
    font-size: 10px;
  }

  .search-button {
    min-height: 48px;
    border-radius: 10px;
  }

  .field--from::after,
  .field--destination::after,
  .field--date::after,
  .field--length::after,
  .field--type::after,
  .field--travellers::after,
  .field--preferences::after {
    right: 12px;
  }

  .field--from input,
  .field--destination input,
  .field--date input,
  .field--preferences input,
  .traveller-summary,
  .field--length select,
  .field--type select {
    padding-right: 28px;
  }

  .destination-suggestions,
  .field-suggestions,
  .date-suggestions {
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    width: 100%;
    max-width: 100%;
    max-height: min(320px, 62vh);
  }
}


/* Return date picker v137 */
.calendar-help {
  margin: 4px 8px 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.35;
}

.calendar-day.is-in-range {
  background: rgba(15, 111, 104, 0.10);
  border-color: rgba(15, 111, 104, 0.16);
}

.field--length.is-disabled {
  opacity: 0.72;
}

.field--length.is-disabled select {
  cursor: not-allowed;
}

.field--length.is-disabled::after {
  opacity: 0.35;
}


/* Date period shortcuts v139 */
.period-shortcuts {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 6px 9px;
  scrollbar-width: thin;
}

.period-chip {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 10px;
  color: #28423e;
  background: rgba(15, 111, 104, 0.08);
  border: 1px solid rgba(15, 111, 104, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.period-chip:hover,
.period-chip.is-selected {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}


/* Date savings insight v147 */
.date-savings-card {
  display: grid;
  gap: 5px;
  margin-top: 12px;
  padding: 12px;
  color: #173b36;
  background: rgba(15, 111, 104, 0.08);
  border: 1px solid rgba(15, 111, 104, 0.22);
  border-radius: 9px;
}

.date-savings-card span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.date-savings-card strong {
  font-size: 15px;
  line-height: 1.3;
}

.date-savings-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
}


/* Footer and legal information v153 */
.site-footer {
  margin-top: 32px;
  padding: 28px 0 34px;
  color: #28423e;
  background: rgba(255, 250, 247, 0.58);
  border-top: 1px solid rgba(15, 111, 104, 0.14);
}

.site-footer-inner {
  display: grid;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 16px;
  align-items: start;
}

.footer-brand strong {
  display: block;
  margin-bottom: 6px;
  color: #123632;
  font-size: 20px;
  font-weight: 740;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 8px;
}

.footer-links button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 111, 104, 0.24);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 680;
  cursor: pointer;
}

.footer-links button:hover,
.footer-links button:focus-visible {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 35, 0.46);
}

.legal-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(720px, calc(100vh - 44px));
  overflow: auto;
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(23, 33, 31, 0.22);
}

.legal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(244, 235, 231, 0.7);
  border: 1px solid rgba(222, 215, 210, 0.9);
  border-radius: var(--radius);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.legal-close:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.legal-label {
  margin: 0 0 7px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.legal-dialog h2 {
  margin: 0 38px 12px 0;
  color: #123632;
  font-size: 24px;
  line-height: 1.18;
}

.legal-body {
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.52;
}

.legal-body p {
  margin: 0;
}

.legal-body ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 720px) {
  .site-footer-inner {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
  }

  .legal-dialog {
    padding: 21px 18px;
  }
}


/* Improved date picker v154 */
.date-suggestions {
  left: auto;
  right: 0;
  width: min(440px, calc(100vw - 48px));
  max-height: min(680px, 78vh);
  overflow: auto;
  padding: 12px;
}

.date-menu-section {
  display: grid;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(222, 215, 210, 0.75);
}

.date-menu-section:first-child {
  padding-top: 0;
}

.date-menu-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.date-menu-section > p:not(.calendar-help) {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.date-mode-section {
  gap: 10px;
}

.date-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.date-mode-card {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 12px;
  text-align: left;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(222, 215, 210, 0.95);
  border-radius: var(--radius);
  cursor: pointer;
}

.date-mode-card strong {
  font-size: 14px;
  font-weight: 760;
}

.date-mode-card span,
.date-menu-hint span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.35;
  text-transform: none;
}

.date-mode-card:hover,
.date-mode-card.is-selected {
  border-color: rgba(15, 111, 104, 0.35);
  background: rgba(15, 111, 104, 0.07);
}

.date-clear-button {
  display: grid;
  width: 100%;
  min-height: 58px;
  gap: 4px;
  align-items: center;
  justify-items: start;
  padding: 11px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(222, 215, 210, 0.95);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 520;
  text-align: left;
  cursor: pointer;
}

.date-clear-button strong {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 680;
}

.date-clear-button span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 520;
  text-transform: none;
}

.date-clear-button:hover {
  border-color: rgba(15, 111, 104, 0.35);
  background: rgba(15, 111, 104, 0.07);
}

.date-menu-hint {
  padding-bottom: 0;
  border-bottom: 0;
}

.date-range-panel {
  gap: 10px;
}

.date-range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.date-range-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.date-range-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-transform: none;
}

.date-range-input {
  width: 100%;
  min-height: 38px;
  padding: 0 9px;
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(222, 215, 210, 0.95);
  border-radius: var(--radius);
  outline: 0;
  font-size: 13px;
  font-weight: 560;
}

.date-range-input:focus {
  border-color: rgba(15, 111, 104, 0.55);
  box-shadow: 0 0 0 3px rgba(15, 111, 104, 0.09);
}

.date-range-apply {
  min-height: 38px;
  padding: 0 12px;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
}

.date-range-apply:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.date-range-error {
  min-height: 16px;
  color: var(--warning);
  font-size: 12px;
  font-weight: 620;
}

.calendar-panel {
  padding: 10px 0 0;
}

.calendar-help {
  margin: 0;
}

@media (max-width: 560px) {
  .date-suggestions {
    position: fixed;
    left: 10px;
    right: auto;
    top: calc(50% + 10px);
    width: calc(100dvw - 20px);
    max-width: calc(100dvw - 20px);
    max-height: calc(100dvh - 28px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px;
    z-index: 80;
    transform: translateY(-50%);
  }

  .date-mode-grid {
    grid-template-columns: 1fr;
  }

  .date-mode-card {
    min-height: 74px;
  }

  .date-range-grid {
    grid-template-columns: 1fr;
  }

  .calendar-panel {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .calendar-weekdays,
  .calendar-grid {
    width: 100%;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 3px;
  }

  .calendar-empty,
  .calendar-day {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    min-width: 0;
  }

  .calendar-header {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 6px;
  }

  .calendar-nav {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 380px) {
  .date-suggestions {
    left: 8px;
    right: auto;
    top: 50%;
    width: calc(100dvw - 16px);
    max-width: calc(100dvw - 16px);
    max-height: calc(100dvh - 16px);
    transform: translateY(-50%);
  }

  .period-shortcuts {
    padding-inline: 2px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 2px;
  }

  .calendar-day {
    font-size: 12px;
  }
}

/* Search field text polish v173 */
#budsjett::placeholder,
#datoVisning,
#datoVisning.is-placeholder,
#ferietype.is-placeholder {
  color: #9d9693;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.15;
}

#budsjett,
#datoVisning,
#ferietype,
.traveller-summary {
  height: 34px;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.15;
}

#datoVisning:not(.is-placeholder),
#ferietype:not(.is-placeholder) {
  color: var(--text);
}

@media (max-width: 760px) {
  #budsjett,
  #datoVisning,
  #ferietype,
  .traveller-summary,
  #budsjett::placeholder,
  #datoVisning.is-placeholder,
  #ferietype.is-placeholder {
    height: 28px;
    font-size: 13px;
    line-height: 1.15;
  }
}

/* Consistent search field values v178 */
.field input,
.field select,
.traveller-summary,
#budsjett,
#datoVisning,
#ferietype,
#preferencesSummary {
  min-height: 34px;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.15;
}

.traveller-summary,
#datoVisning:not(.is-placeholder),
#ferietype:not(.is-placeholder),
#preferencesSummary:not(.is-placeholder) {
  color: var(--text);
}

.field input::placeholder,
#budsjett::placeholder,
#datoVisning.is-placeholder,
#ferietype.is-placeholder,
#preferencesSummary.is-placeholder,
#preferencesSummary::placeholder {
  color: #9d9693;
  font-size: 15px;
  font-weight: 520;
  line-height: 1.15;
}

@media (max-width: 760px) {
  .field input,
  .field select,
  .traveller-summary,
  #budsjett,
  #datoVisning,
  #ferietype,
  #preferencesSummary,
  .field input::placeholder,
  #budsjett::placeholder,
  #datoVisning.is-placeholder,
  #ferietype.is-placeholder,
  #preferencesSummary.is-placeholder,
  #preferencesSummary::placeholder {
    font-size: 15px;
  }
}

/* Fixed mobile date menu containment v192 */
@media (max-width: 560px) {
  .field--date .date-suggestions {
    left: 10px;
    right: auto;
    width: calc(100dvw - 20px);
    max-width: calc(100dvw - 20px);
  }

  .field--date .calendar-panel,
  .field--date .calendar-weekdays,
  .field--date .calendar-grid {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .field--date .date-suggestions {
    left: 8px;
    width: calc(100dvw - 16px);
    max-width: calc(100dvw - 16px);
  }
}

/* Budget placeholder wraps cleanly on narrow screens v220 */
#budsjett::placeholder {
  color: transparent;
}

.field--budget:has(#budsjett:placeholder-shown) #budsjett {
  caret-color: var(--text);
}

@media (max-width: 760px) {
  .field--budget:has(#budsjett:placeholder-shown) {
    min-height: 66px;
  }

  .field--budget:has(#budsjett:placeholder-shown)::before {
    right: 10px;
    bottom: 9px;
    left: 10px;
    font-size: 15px;
    transform: none;
  }
}

/* Use the native budget placeholder outside narrow mobile layouts v226 */
@media (min-width: 521px) {
  #budsjett::placeholder {
    color: #9d9693;
    opacity: 1;
  }

  .field--budget:has(#budsjett:placeholder-shown)::before {
    content: none;
  }
}

@media (max-width: 520px) {
  #budsjett::placeholder {
    color: transparent;
  }

  .field--budget:has(#budsjett:placeholder-shown)::before {
    content: "Legg inn budsjett (valgfritt)";
    right: 10px;
    bottom: 9px;
    left: 10px;
    top: auto;
    transform: none;
  }
}

/* Edge-to-edge trip images v231 */
.card-image {
  padding: 0;
}

.card-image img {
  border-radius: var(--radius) 0 0 var(--radius);
}

@media (max-width: 760px) {
  .card-image {
    height: clamp(240px, 62vw, 330px);
    min-height: clamp(240px, 62vw, 330px);
    padding: 0;
  }

  .card-image img {
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

/* Keep direct-flight value text consistent on mobile v236 */
@media (max-width: 760px) {
  .route-choice label,
  .route-choice span {
    font-size: 15px;
    font-weight: 520;
    line-height: 1.15;
  }
}

/* Keep heart buttons round on mobile v237 */
@media (max-width: 760px) {
  .save-trip-button {
    top: 12px;
    right: 12px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 21px;
    line-height: 1;
    aspect-ratio: 1;
  }

  .nav-saved {
    flex: 0 0 36px;
    width: 36px;
    min-width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border-radius: 50%;
    font-size: 19px;
    color: var(--primary);
  }
}
