/*
Theme Name: Novo
Theme URI: https://novo.example
Author: Novo
Description: Holiday homes. Guests send a request, and WordPress emails you so you can reply with the invoice.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: halden
*/

:root {
  --paper: #ffffff;
  --ink: #243038;
  --sea: #14667c;
  --sea-deep: #0e5164;
  --foam: #f4f8f9;
  --line: #d7e0e6;
  --muted: #54636b;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --display: "Fraunces", ui-serif, Georgia, serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
.eyebrow { margin: 0; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sea); }
h1, h2, .logo, .price, .stat dt, .mood-title, .card-title { font-family: var(--display); font-weight: 560; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  padding: 0 1.25rem;
  border: 0;
  background: var(--sea);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}
.btn:hover { background: var(--sea-deep); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 4.75rem; gap: 1rem; }
.lang-switch { display: flex; gap: 0.55rem; align-items: center; }
.lang-switch a { text-decoration: none; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; }
.logo { display: inline-block; line-height: 0; text-decoration: none; }
.logo img { height: 2.15rem; width: auto; display: block; }
.nav-desktop { display: none; }
.nav-desktop ul, .nav-mobile ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.nav-mobile ul { flex-direction: column; gap: 0; }
.chip { display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
[data-saved-board] .card { display: none; }
[data-saved-board] .card.is-kept { display: flex; }
.nav-desktop a { color: var(--muted); text-decoration: none; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-desktop a:hover, .nav-desktop .current-menu-item a, .nav-desktop .current_page_item a { color: var(--ink); }
.menu-toggle {
  width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); background: #fff;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile { display: grid; border-top: 1px solid var(--line); padding: 0.5rem 1rem 1rem; }
.nav-mobile a { display: flex; align-items: center; height: 3rem; text-decoration: none; }
.hero { display: grid; gap: 2rem; align-items: end; padding-top: 2.5rem; }
.hero h1 { margin: 0.75rem 0 0; font-size: clamp(2.4rem, 5vw, 3.25rem); line-height: 1.1; }
.hero p { max-width: 32rem; }
.hero img { width: 100%; height: 18rem; object-fit: cover; }
.search-bar {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px -36px rgba(20, 48, 56, 0.55);
}
.search-bar label, .request label { display: grid; gap: 0.35rem; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.search-bar input, .search-bar select, .request input, .request select, .request textarea, .filters select {
  height: 3rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 0.75rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
}
.name-row { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .name-row { grid-template-columns: 1fr 1fr; } }
.request abbr, .phone-field abbr { margin-left: 0.2rem; text-decoration: none; color: var(--sea); }
.phone-field > span { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.phone-row { display: grid; gap: 0.5rem; }
.phone-row select, .phone-row input { width: 100%; min-width: 0; }
.phone-row input.is-bad { border-color: #9f2d2d; }
.novo-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 40rem) {
  .phone-row { grid-template-columns: 14.5rem minmax(0, 1fr); }
}
.request textarea { height: auto; padding: 0.5rem 0.75rem; background: #fff; }
.date-field { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.date-button { height: 3rem; width: 100%; border: 1px solid var(--line); background: #fff; text-align: left; padding: 0 0.75rem; letter-spacing: 0; text-transform: none; font-size: 1rem; font-weight: 400; color: var(--ink); }
.cal { position: absolute; z-index: 30; top: calc(100% + 0.5rem); left: 0; width: min(20rem, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--line); padding: 0.75rem; }
.cal-head, .cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-head { grid-template-columns: 2.25rem 1fr 2.25rem; align-items: center; }
.cal-head p { margin: 0; text-align: center; font-size: 0.875rem; font-weight: 500; }
.cal-head button, .cal-day { border: 0; background: transparent; height: 2.25rem; }
.cal-week { margin-top: 0.5rem; text-align: center; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cal-day.is-on { background: var(--sea); color: #fff; }
.cal-day.is-range { background: var(--foam); }
.cal-day:disabled { color: #b7c3c8; cursor: default; }
.cal-day.is-short { text-decoration: line-through; }
.draft-bar[hidden] { display: none; }
.draft-bar {
  position: sticky; top: 0; z-index: 40;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; justify-content: space-between;
  background: #1e4744; color: #fff; padding: 0.75rem 1rem;
}
.draft-bar p { margin: 0; }
.draft-bar div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.draft-bar a, .draft-bar button { height: 2.5rem; display: inline-flex; align-items: center; padding: 0 0.75rem; text-decoration: none; }
.draft-bar [data-draft-continue] { background: #fff; color: var(--ink); }
.draft-bar [data-draft-search] { border: 1px solid var(--line); }
.draft-bar [data-draft-cancel] { background: transparent; border: 0; color: var(--muted); }
.cal-note { margin: 0.75rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.cal-max { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.75rem; }
.moods { display: grid; gap: 0.75rem; margin-top: 3.5rem; }
.moods a { background: #fff; border: 1px solid var(--line); padding: 1.5rem 1.25rem; text-decoration: none; }
.moods a:hover { background: var(--foam); }
.mood-title { margin: 0; font-size: 1.5rem; }
.section { margin-top: 4rem; }
.section-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; flex-wrap: wrap; }
.section-head > div { min-width: 0; flex: 1; }
.section-head h1 { overflow-wrap: anywhere; }
.filters select { min-width: 8.5rem; max-width: 100%; }
.section h2 { margin: 0; font-size: clamp(2rem, 4vw, 2.5rem); }
.cards { display: grid; gap: 1.75rem; margin-top: 1.5rem; }
.catalogue-bar { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between; margin-top: 1.25rem; }
.catalogue-bar .muted { margin: 0; }
.view-switch { display: flex; }
.view-switch a { display: inline-flex; align-items: center; height: 2.75rem; padding: 0 0.85rem; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.view-switch a + a { border-left: 0; }
.view-switch a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pages { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2rem; }
.pages a, .pages span { min-width: 2.75rem; height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 0 0.7rem; text-decoration: none; }
.pages .current { background: var(--sea); border-color: var(--sea); color: #fff; }
.card { display: flex; flex-direction: column; background: #fff; }
.card-media { position: relative; overflow: hidden; }
.card-media img { width: 100%; height: 15rem; object-fit: cover; transition: transform 0.7s ease; }
.card:hover img { transform: scale(1.03); }
.save {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
}
.card-media .save {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2;
}
.stay-actions { display: flex; gap: 0.4rem; }
.card-media .stay-actions { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; }
.card-media .stay-actions .save,
.card-media .stay-actions .share { position: static; }
.share {
  width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; position: relative;
}
.share svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
.share.is-copied::after {
  content: attr(data-note);
  position: absolute; top: calc(100% + 0.35rem); right: 0;
  background: #fff; border: 1px solid var(--line); padding: 0.2rem 0.45rem;
  font-size: 0.75rem; white-space: nowrap;
}
.section-head .save { position: static; flex: none; align-self: start; }
.save[aria-pressed="true"] { color: var(--sea); }
.badge {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 1;
  max-width: calc(100% - 5rem);
  background: #fff; padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.card-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; }
.card-kicker .muted { margin: 0; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.verified { display: inline-flex; align-items: center; gap: 0.3rem; margin: 0; color: #1c6b45; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.card-body { display: flex; flex-direction: column; gap: 0.55rem; padding: 1rem 0.15rem 0; flex: 1; }
.card-title { margin: 0; font-size: 1.65rem; line-height: 1.15; }
.card-title a { text-decoration: none; }
.card-foot { display: flex; justify-content: space-between; align-items: end; margin-top: auto; padding-top: 0.75rem; }
.price { font-size: 1.25rem; }
.stats { display: grid; gap: 2.5rem; margin-top: 4rem; padding: 4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats dt { margin: 0; font-size: 3rem; line-height: 1; color: var(--sea); font-variant-numeric: tabular-nums; }
.stats dd { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer { margin-top: 5rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 2rem; padding: 3rem 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-base { border-top: 1px solid var(--line); }
.footer-base-row { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: end; justify-content: space-between; padding: 1.5rem 0 2rem; }
.newsletter { display: grid; gap: 0.4rem; }
.newsletter label { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.newsletter div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.newsletter input[type="email"] { height: 3rem; min-width: 16rem; border: 1px solid var(--line); background: #fff; padding: 0 0.75rem; }
.newsletter .consent { display: flex; align-items: flex-start; gap: 0.5rem; max-width: 28rem; font-size: 0.875rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.newsletter .consent input { width: 1rem; height: 1rem; margin-top: 0.2rem; flex: none; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 0; }
.legal-links a { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.site-footer .logo { display: inline-block; margin-bottom: 0.5rem; }
.page { padding: 2.5rem 0 1rem; }
.page h1 { margin: 0.5rem 0 0; font-size: clamp(2.4rem, 5vw, 3.25rem); line-height: 1.1; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1rem; }
.chip { height: 2.75rem; padding: 0 0.75rem; border: 1px solid var(--line); background: #fff; }
.chip.is-on { background: var(--sea); border-color: var(--sea); color: #fff; }
.stay-layout { display: grid; gap: 2rem; margin-top: 1.5rem; }
.stay-layout > img { width: 100%; max-height: 28rem; object-fit: cover; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.facts div, .trait { border: 1px solid var(--line); padding: 0.75rem; }
.traits { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.trait { display: flex; align-items: center; min-height: 2.5rem; font-size: 0.875rem; }
.fact-list { margin: 0.75rem 0 0; padding: 0; list-style: none; }
.fact-list li { border-bottom: 1px solid var(--line); padding: 0.5rem 0; }
.request, .notice { border: 1px solid var(--line); padding: 1.25rem; }
.request h2, .notice h2 { margin: 0.25rem 0 0; font-size: 1.8rem; line-height: 1.15; }
.estimate { margin-top: 1rem; padding: 0.75rem; border: 1px solid var(--line); background: var(--foam); font-size: 0.875rem; }
.request .btn { width: 100%; margin-top: 1rem; }
.error { color: #8a3b32; font-size: 0.875rem; }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.steps span { font-family: var(--display); font-size: 1.8rem; color: var(--sea); }
details { border: 1px solid var(--line); padding: 1rem; }
details + details { margin-top: 0.75rem; }
summary { cursor: pointer; font-weight: 500; }
.empty { margin-top: 2rem; border: 1px solid var(--line); padding: 2rem; }
@media (min-width: 800px) {
  .nav-desktop { display: flex; }
  .menu-toggle, .nav-mobile { display: none; }
  .hero { grid-template-columns: 5fr 7fr; padding-top: 4rem; }
  .hero img { height: 24rem; }
  .search-bar { grid-template-columns: 1.4fr 2fr 0.7fr auto; align-items: end; }
  .moods { grid-template-columns: repeat(4, 1fr); }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.list { grid-template-columns: 1fr; }
  .cards.list .card { flex-direction: row; gap: 1.25rem; }
  .cards.list .card-media { width: 18rem; flex: none; }
  .cards.list .card-media img { height: 100%; min-height: 12rem; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .stay-layout { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .request-col { position: sticky; top: 6rem; grid-row: span 2; }
  .facts { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
