:where(.cvr-search, .cvr-results, .cvr-detail) {
  --cvr-navy: #173b56;
  --cvr-navy-deep: #102c40;
  --cvr-accent: #a16207;
  --cvr-accent-hover: #854d0e;
  --cvr-ink: #17242d;
  --cvr-muted: #66737c;
  --cvr-canvas: #f5f3ee;
  --cvr-surface: #ffffff;
  --cvr-border: #d9dde0;
  --cvr-success: #166534;
  --cvr-error: #b42318;
  --cvr-radius: 4px;
  --cvr-shadow-sm: 0 8px 24px rgba(16, 44, 64, 0.08);
  --cvr-shadow-lg: 0 24px 70px rgba(16, 44, 64, 0.14);
  --cvr-display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --cvr-body: Montserrat, "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  color: var(--cvr-ink);
  font-family: var(--cvr-body);
  font-size: 16px;
  line-height: 1.6;
}

:where(.cvr-search, .cvr-results, .cvr-detail) *,
:where(.cvr-search, .cvr-results, .cvr-detail) *::before,
:where(.cvr-search, .cvr-results, .cvr-detail) *::after {
  box-sizing: inherit;
}

:where(.cvr-search, .cvr-results, .cvr-detail) h1,
:where(.cvr-search, .cvr-results, .cvr-detail) h2,
:where(.cvr-search, .cvr-results, .cvr-detail) h3,
:where(.cvr-search, .cvr-results, .cvr-detail) p {
  margin-top: 0;
}

:where(.cvr-search, .cvr-results, .cvr-detail),
:where(.cvr-search, .cvr-results, .cvr-detail) :where(h1, h2, h3, h4, h5, h6, button, input, select, textarea) {
  font-family: var(--cvr-body) !important;
}

:where(.cvr-search, .cvr-results, .cvr-detail) svg {
  display: block;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

:where(.cvr-search, .cvr-results, .cvr-detail) button,
:where(.cvr-search, .cvr-results, .cvr-detail) a,
:where(.cvr-search, .cvr-results, .cvr-detail) input,
:where(.cvr-search, .cvr-results, .cvr-detail) select,
:where(.cvr-search, .cvr-results, .cvr-detail) textarea {
  font: inherit;
}

:where(.cvr-search, .cvr-results, .cvr-detail) button,
:where(.cvr-search, .cvr-results, .cvr-detail) a,
:where(.cvr-search, .cvr-results, .cvr-detail) select {
  cursor: pointer;
}

:where(.cvr-search, .cvr-results, .cvr-detail) :focus-visible {
  outline: 3px solid #f4c875;
  outline-offset: 3px;
}

.cvr-eyebrow {
  color: var(--cvr-accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.cvr-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--cvr-radius);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.65rem;
  justify-content: center;
  letter-spacing: 0.08em;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

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

.cvr-button--primary {
  background: var(--cvr-accent);
  color: #fff;
}

.cvr-button--primary:hover {
  background: var(--cvr-accent-hover);
  color: #fff;
}

.cvr-button--secondary {
  background: transparent;
  border-color: var(--cvr-navy);
  color: var(--cvr-navy);
}

.cvr-button--secondary:hover {
  background: var(--cvr-navy);
  color: #fff;
}

.cvr-button--wide {
  width: 100%;
}

/* Search */
.cvr-search {
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(135deg, var(--cvr-navy-deep), var(--cvr-navy));
  color: #fff;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.cvr-search::after {
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: "";
  height: 20rem;
  pointer-events: none;
  position: absolute;
  right: -8rem;
  top: -12rem;
  transform: rotate(28deg);
  width: 32rem;
}

.cvr-search__intro,
.cvr-search-form {
  margin-inline: auto;
  max-width: 1380px;
  position: relative;
  z-index: 1;
}

.cvr-search__intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 1380px;
}

.cvr-search__title {
  color: #fff;
  font-family: var(--cvr-display);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0;
  max-width: 15ch;
}

.cvr-search-form {
  background: rgba(7, 28, 42, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--cvr-radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.17);
  padding: clamp(1rem, 2.2vw, 1.75rem);
}

.cvr-transaction-tabs {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

.cvr-transaction-tab {
  cursor: pointer;
  margin: 0;
}

.cvr-transaction-tab input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.cvr-transaction-tab span {
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.55rem 1.15rem;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.cvr-transaction-tab input:checked + span {
  border-bottom-color: #e6b75f;
  color: #fff;
}

.cvr-transaction-tab input:focus-visible + span {
  outline: 3px solid #f4c875;
  outline-offset: 2px;
}

.cvr-search-form__grid {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(190px, 1.35fr) minmax(170px, 1.1fr) minmax(120px, 0.72fr) minmax(130px, 0.78fr) minmax(130px, 0.78fr) minmax(170px, 0.9fr);
}

.cvr-field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  min-width: 0;
}

.cvr-field > label {
  color: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cvr-control {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 2px;
  color: var(--cvr-ink);
  display: flex;
  min-height: 50px;
  padding-left: 0.9rem;
}

.cvr-control > svg {
  color: var(--cvr-accent);
  flex: 0 0 auto;
}

.cvr-control .cvr-currency {
  color: var(--cvr-accent);
  font-weight: 700;
}

.cvr-search :where(input, select),
.cvr-search-form__advanced :where(input, select) {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--cvr-ink);
  min-height: 48px;
  min-width: 0;
  outline: 0;
  padding: 0.65rem 0.8rem;
  width: 100%;
}

.cvr-search select {
  background-image: linear-gradient(45deg, transparent 50%, var(--cvr-muted) 50%), linear-gradient(135deg, var(--cvr-muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 2rem;
}

.cvr-search-submit {
  align-self: end;
  min-height: 52px;
  width: 100%;
}

.cvr-advanced-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.84);
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 0.45rem;
  letter-spacing: 0.07em;
  margin-top: 1rem;
  padding: 0.45rem 0;
  text-transform: uppercase;
}

.cvr-advanced-toggle svg {
  transition: transform 180ms ease;
}

.cvr-advanced-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.cvr-search-form__advanced {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.8rem;
  padding-top: 1rem;
}

.cvr-search-form__advanced[hidden] {
  display: none;
}

.cvr-search-form__advanced :where(input, select) {
  background: #fff;
  border-radius: 2px;
}

/* Search feature filters */
.cvr-feature-launch-row {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
}

.cvr-feature-launch-row p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  margin-bottom: 0;
  text-align: right;
}

.cvr-feature-launch {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  color: #fff;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 0.65rem;
  letter-spacing: 0.06em;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  text-transform: uppercase;
  touch-action: manipulation;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.cvr-feature-launch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.cvr-feature-launch > svg:last-child {
  margin-left: 0.2rem;
}

.cvr-feature-launch__count,
.cvr-feature-submit__count,
.cvr-feature-group__count {
  align-items: center;
  background: var(--cvr-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 800;
  height: 24px;
  justify-content: center;
  min-width: 24px;
  padding-inline: 0.38rem;
}

.cvr-feature-launch__count[hidden],
.cvr-feature-submit__count[hidden],
.cvr-feature-group__count[hidden] {
  display: none;
}

.cvr-feature-dialog {
  background: transparent;
  border: 0;
  color: var(--cvr-ink);
  height: min(840px, 88dvh);
  margin: auto;
  max-height: 88dvh;
  max-width: 1040px;
  overflow: hidden;
  padding: 0;
  width: calc(100% - 2rem);
}

.cvr-feature-dialog::backdrop {
  background: rgba(5, 18, 27, 0.68);
  backdrop-filter: blur(3px);
}

.cvr-feature-sheet {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(3, 19, 29, 0.3);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  overflow: hidden;
}

.cvr-feature-sheet__header {
  align-items: center;
  border-bottom: 1px solid var(--cvr-border);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1.35rem clamp(1rem, 3vw, 2rem) 1.15rem;
}

.cvr-feature-sheet__header :where(h3, p) {
  margin-bottom: 0;
}

.cvr-feature-sheet__header h3 {
  color: var(--cvr-navy);
  font-family: var(--cvr-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.cvr-icon-button {
  align-items: center;
  background: var(--cvr-canvas);
  border: 1px solid var(--cvr-border);
  border-radius: 50%;
  color: var(--cvr-navy);
  display: inline-flex;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  padding: 0;
  touch-action: manipulation;
  width: 48px;
}

.cvr-feature-sheet__body {
  overscroll-behavior: contain;
  overflow-y: auto;
  padding: 1.35rem clamp(1rem, 3vw, 2rem) 2rem;
  scrollbar-gutter: stable;
}

.cvr-feature-search {
  align-items: center;
  background: #fff;
  border: 1px solid #aeb8be;
  border-radius: 3px;
  color: var(--cvr-muted);
  display: flex;
  min-height: 52px;
  padding-left: 1rem;
}

.cvr-feature-search:focus-within {
  border-color: var(--cvr-navy);
  box-shadow: 0 0 0 3px rgba(23, 59, 86, 0.12);
}

.cvr-search .cvr-feature-search input[type="search"] {
  background: transparent;
  color: var(--cvr-ink);
  min-height: 50px;
}

.cvr-feature-help {
  color: var(--cvr-muted);
  font-size: 0.77rem;
  margin: 0.65rem 0 1.4rem;
}

.cvr-popular-features {
  border: 0;
  margin: 0 0 1.6rem;
  padding: 0;
}

.cvr-popular-features legend {
  color: var(--cvr-navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.7rem;
  text-transform: uppercase;
}

.cvr-popular-features__grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cvr-feature-option {
  align-items: center;
  color: var(--cvr-ink);
  cursor: pointer;
  display: flex;
  gap: 0.7rem;
  min-height: 48px;
  padding: 0.55rem 0.2rem;
  touch-action: manipulation;
}

.cvr-feature-option[hidden] {
  display: none;
}

.cvr-feature-option--popular {
  background: var(--cvr-canvas);
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 0.65rem 0.75rem;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.cvr-feature-option--popular:hover {
  border-color: #b8c1c6;
}

.cvr-search .cvr-feature-dialog input[type="checkbox"],
.cvr-search .cvr-feature-dialog input[type="radio"] {
  height: 1px;
  min-height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.cvr-feature-option__box {
  align-items: center;
  background: #fff;
  border: 1.5px solid #8a969e;
  border-radius: 2px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  height: 24px;
  justify-content: center;
  transition: background-color 150ms ease, border-color 150ms ease;
  width: 24px;
}

.cvr-feature-option__box svg {
  height: 15px;
  opacity: 0;
  stroke-width: 2.5;
  width: 15px;
}

.cvr-feature-option input:checked + .cvr-feature-option__box {
  background: var(--cvr-navy);
  border-color: var(--cvr-navy);
}

.cvr-feature-option input:checked + .cvr-feature-option__box svg {
  opacity: 1;
}

.cvr-feature-option input:focus-visible + .cvr-feature-option__box {
  outline: 3px solid #f4c875;
  outline-offset: 3px;
}

.cvr-feature-option__label {
  font-size: 0.86rem;
  line-height: 1.3;
}

.cvr-feature-groups {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cvr-feature-group {
  align-self: start;
  border: 1px solid var(--cvr-border);
  border-radius: 3px;
  min-width: 0;
}

.cvr-feature-group[hidden] {
  display: none;
}

.cvr-feature-group summary {
  align-items: center;
  color: var(--cvr-navy);
  cursor: pointer;
  display: grid;
  font-size: 0.82rem;
  font-weight: 750;
  gap: 0.55rem;
  grid-template-columns: minmax(0, 1fr) auto auto;
  list-style: none;
  min-height: 50px;
  padding: 0.65rem 0.8rem;
  touch-action: manipulation;
}

.cvr-feature-group summary::-webkit-details-marker {
  display: none;
}

.cvr-feature-group summary > svg {
  transition: transform 160ms ease;
}

.cvr-feature-group[open] summary > svg {
  transform: rotate(180deg);
}

.cvr-feature-group__count {
  background: var(--cvr-navy);
  height: 22px;
  min-width: 22px;
}

.cvr-feature-group__options {
  border-top: 1px solid var(--cvr-border);
  padding: 0.35rem 0.8rem 0.55rem;
}

.cvr-feature-limit {
  color: var(--cvr-error);
  font-size: 0.78rem;
  margin: 0.9rem 0 0;
  min-height: 1.25em;
}

.cvr-feature-sheet__footer {
  align-items: center;
  background: #fff;
  border-top: 1px solid var(--cvr-border);
  box-shadow: 0 -10px 30px rgba(16, 44, 64, 0.06);
  display: grid;
  gap: 1rem;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
}

.cvr-feature-reset {
  background: transparent;
  border: 0;
  color: var(--cvr-navy);
  font-size: 0.78rem;
  font-weight: 750;
  min-height: 44px;
  padding: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  touch-action: manipulation;
}

.cvr-feature-reset:disabled {
  color: #98a1a7;
  cursor: default;
}

.cvr-feature-mode {
  align-items: center;
  border: 0;
  display: flex;
  justify-content: center;
  margin: 0;
  min-width: 0;
  padding: 0;
}

.cvr-feature-mode legend {
  color: var(--cvr-muted);
  float: left;
  font-size: 0.7rem;
  margin-right: 0.7rem;
}

.cvr-feature-mode label {
  cursor: pointer;
}

.cvr-feature-mode label span {
  align-items: center;
  border: 1px solid var(--cvr-border);
  color: var(--cvr-muted);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0.5rem 0.75rem;
  touch-action: manipulation;
}

.cvr-feature-mode label + label span {
  border-left: 0;
}

.cvr-feature-mode input:checked + span {
  background: var(--cvr-navy);
  border-color: var(--cvr-navy);
  color: #fff;
}

.cvr-feature-mode input:focus-visible + span {
  outline: 3px solid #f4c875;
  outline-offset: 2px;
}

.cvr-feature-submit {
  min-width: 190px;
  touch-action: manipulation;
}

.cvr-feature-submit__count {
  background: rgba(255, 255, 255, 0.2);
}

body.cvr-dialog-open {
  overflow: hidden;
}

/* Results */
.cvr-results {
  margin-inline: auto;
  max-width: 1480px;
  min-height: 240px;
  padding: clamp(2.5rem, 6vw, 6rem) clamp(1rem, 3vw, 2rem);
  position: relative;
}

.cvr-results.is-loading::after {
  animation: cvr-spin 0.8s linear infinite;
  border: 3px solid rgba(23, 59, 86, 0.15);
  border-radius: 50%;
  border-top-color: var(--cvr-accent);
  content: "";
  height: 42px;
  left: calc(50% - 21px);
  position: absolute;
  top: 7rem;
  width: 42px;
  z-index: 2;
}

.cvr-results.is-loading > * {
  opacity: 0.28;
  pointer-events: none;
}

.cvr-results__header {
  align-items: end;
  border-bottom: 1px solid var(--cvr-border);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
}

.cvr-results__header h2 {
  color: var(--cvr-navy);
  font-family: var(--cvr-display);
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0;
}

.cvr-sort {
  align-items: center;
  color: var(--cvr-muted);
  display: flex;
  font-size: 0.78rem;
  gap: 0.75rem;
  white-space: nowrap;
}

.cvr-sort select {
  appearance: none;
  background: #fff;
  border: 1px solid var(--cvr-border);
  border-radius: 2px;
  color: var(--cvr-ink);
  min-height: 44px;
  padding: 0.6rem 2.2rem 0.6rem 0.8rem;
}

.cvr-property-grid {
  display: grid;
  gap: clamp(1.15rem, 2vw, 2rem);
  grid-template-columns: repeat(var(--cvr-columns, 3), minmax(0, 1fr));
}

.cvr-card {
  background: var(--cvr-surface);
  border-bottom: 3px solid transparent;
  box-shadow: var(--cvr-shadow-sm);
  min-width: 0;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.cvr-card:hover {
  border-bottom-color: var(--cvr-accent);
  box-shadow: var(--cvr-shadow-lg);
  transform: translateY(-4px);
}

.cvr-card__media {
  aspect-ratio: 4 / 3;
  background: #dfe5e7;
  display: block;
  overflow: hidden;
  position: relative;
}

.cvr-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.cvr-card:hover .cvr-card__media img {
  transform: scale(1.035);
}

.cvr-image-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #dfe7ea, #f5f3ee);
  color: var(--cvr-navy);
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 220px;
  width: 100%;
}

.cvr-image-placeholder svg {
  height: 3rem;
  opacity: 0.45;
  width: 3rem;
}

.cvr-card__badge {
  background: rgba(16, 44, 64, 0.92);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  left: 1rem;
  letter-spacing: 0.1em;
  padding: 0.48rem 0.7rem;
  position: absolute;
  text-transform: uppercase;
  top: 1rem;
}

.cvr-card__arrow {
  align-items: center;
  background: var(--cvr-accent);
  bottom: 0;
  color: #fff;
  display: flex;
  height: 46px;
  justify-content: center;
  position: absolute;
  right: 0;
  transform: translateY(100%);
  transition: transform 200ms ease;
  width: 46px;
}

.cvr-card:hover .cvr-card__arrow {
  transform: translateY(0);
}

.cvr-card__body {
  padding: 1.25rem 1.25rem 1.15rem;
}

.cvr-card__location {
  align-items: center;
  color: var(--cvr-accent);
  display: flex;
  font-size: 0.7rem;
  font-weight: 700;
  gap: 0.35rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.55rem;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.cvr-card__location svg {
  flex: 0 0 auto;
  width: 1rem;
}

.cvr-card__title {
  font-family: var(--cvr-display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 1rem;
  min-height: 2.3em;
}

.cvr-card__title a {
  color: var(--cvr-navy);
  text-decoration: none;
}

.cvr-card__facts {
  border-bottom: 1px solid var(--cvr-border);
  color: var(--cvr-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.73rem;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.cvr-card__facts span {
  align-items: center;
  display: inline-flex;
  gap: 0.3rem;
}

.cvr-card__facts svg {
  color: var(--cvr-navy);
}

.cvr-card__footer {
  align-items: baseline;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.cvr-card__footer strong {
  color: var(--cvr-navy);
  font-size: 1.1rem;
}

.cvr-card__footer span {
  color: var(--cvr-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.cvr-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.cvr-pagination a {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cvr-border);
  color: var(--cvr-navy);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 0.35rem;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding-inline: 0.75rem;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cvr-pagination a:hover,
.cvr-pagination a[aria-current="page"] {
  background: var(--cvr-navy);
  border-color: var(--cvr-navy);
  color: #fff;
}

.cvr-state {
  align-items: center;
  background: var(--cvr-canvas);
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 3rem 1.25rem;
  text-align: center;
}

.cvr-state__icon {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--cvr-accent);
  display: flex;
  height: 64px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 64px;
}

.cvr-state h1,
.cvr-state h2,
.cvr-state h3 {
  color: var(--cvr-navy);
  font-family: var(--cvr-display);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.cvr-state p {
  color: var(--cvr-muted);
  max-width: 560px;
}

.cvr-state--error .cvr-state__icon,
.cvr-ajax-error {
  color: var(--cvr-error);
}

/* Detail */
.cvr-virtual-detail {
  background: var(--cvr-canvas, #f5f3ee);
}

.cvr-detail {
  background: var(--cvr-canvas);
  padding-bottom: clamp(3rem, 7vw, 7rem);
}

.cvr-detail-hero__top,
.cvr-detail-layout {
  margin-inline: auto;
  max-width: 1480px;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

.cvr-detail-hero__top {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-top: clamp(2rem, 5vw, 5rem);
}

.cvr-detail-hero h1 {
  color: var(--cvr-navy);
  font-family: var(--cvr-display);
  font-size: clamp(2.4rem, 5.5vw, 5.7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 0;
  max-width: 16ch;
}

.cvr-detail-hero__price {
  align-items: end;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.25rem;
}

.cvr-detail-hero__price strong {
  color: var(--cvr-navy);
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.cvr-detail-hero__price span {
  color: var(--cvr-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.cvr-gallery {
  background: var(--cvr-navy-deep);
  position: relative;
}

.cvr-gallery__stage {
  aspect-ratio: auto;
  height: var(--cvr-gallery-height, clamp(480px, calc(100dvh - 208px), 920px));
  max-height: none;
  min-height: 420px;
  overflow: hidden;
}

.cvr-gallery__open {
  background: transparent;
  border: 0;
  display: block;
  height: 100%;
  padding: 0;
  position: relative;
  width: 100%;
}

.cvr-gallery__open > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cvr-gallery__open > span {
  align-items: center;
  background: rgba(16, 44, 64, 0.9);
  bottom: 1.5rem;
  color: #fff;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.5rem;
  letter-spacing: 0.08em;
  padding: 0.7rem 0.9rem;
  position: absolute;
  right: clamp(1rem, 3vw, 2.5rem);
  text-transform: uppercase;
}

.cvr-gallery__thumbs {
  display: flex;
  gap: 4px;
  height: 96px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-color: var(--cvr-accent) var(--cvr-navy-deep);
}

.cvr-gallery__thumbs button {
  background: transparent;
  border: 2px solid transparent;
  flex: 0 0 156px;
  height: 88px;
  opacity: 0.7;
  overflow: hidden;
  padding: 0;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.cvr-gallery__thumbs button:hover,
.cvr-gallery__thumbs button[aria-current="true"] {
  border-color: var(--cvr-accent);
  opacity: 1;
}

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

.cvr-lightbox {
  background: #071c2a;
  border: 0;
  height: 100dvh;
  max-height: none;
  max-width: none;
  padding: 2.5rem;
  width: 100vw;
}

.cvr-lightbox::backdrop {
  background: rgba(3, 12, 18, 0.96);
}

.cvr-lightbox img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.cvr-lightbox__close {
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 50%;
  color: var(--cvr-navy-deep);
  display: flex;
  font-size: 1.75rem;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 44px;
  z-index: 2;
}

.cvr-lightbox__nav {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  color: var(--cvr-navy-deep);
  display: inline-flex;
  height: 52px;
  justify-content: center;
  padding: 0;
  position: absolute;
  top: 50%;
  touch-action: manipulation;
  transform: translateY(-50%);
  transition: background-color 180ms ease, color 180ms ease;
  width: 52px;
  z-index: 2;
}

.cvr-lightbox__nav:hover {
  background: var(--cvr-accent);
  color: #fff;
}

.cvr-lightbox__nav--prev {
  left: clamp(0.75rem, 2vw, 2rem);
}

.cvr-lightbox__nav--prev svg {
  transform: rotate(180deg);
}

.cvr-lightbox__nav--next {
  right: clamp(0.75rem, 2vw, 2rem);
}

.cvr-lightbox__count {
  background: rgba(7, 28, 42, 0.82);
  bottom: 1rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
  left: 50%;
  letter-spacing: 0.08em;
  padding: 0.55rem 0.75rem;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.cvr-detail-layout {
  align-items: start;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}

.cvr-detail-main {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.cvr-panel,
.cvr-contact-card {
  background: #fff;
  box-shadow: 0 1px 0 rgba(16, 44, 64, 0.03);
  padding: clamp(1.4rem, 3.5vw, 3rem);
}

.cvr-panel h2 {
  color: var(--cvr-navy);
  font-family: var(--cvr-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.cvr-section-heading {
  align-items: start;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
}

.cvr-detail-actions {
  display: flex;
  gap: 0.45rem;
}

.cvr-detail-actions button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--cvr-border);
  color: var(--cvr-navy);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  text-transform: uppercase;
}

.cvr-detail-actions button:hover,
.cvr-detail-actions button.is-active {
  border-color: var(--cvr-accent);
  color: var(--cvr-accent);
}

.cvr-detail-actions [aria-pressed="true"] svg {
  fill: currentColor;
}

.cvr-stat-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cvr-stat {
  align-items: center;
  background: var(--cvr-canvas);
  display: flex;
  gap: 0.75rem;
  min-height: 92px;
  padding: 1rem;
}

.cvr-stat__icon {
  align-items: center;
  background: #fff;
  color: var(--cvr-accent);
  display: flex;
  flex: 0 0 auto;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.cvr-stat > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cvr-stat > div span {
  color: var(--cvr-muted);
  font-size: 0.67rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cvr-stat strong {
  color: var(--cvr-ink);
  font-size: 0.92rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cvr-copy p:not(.cvr-eyebrow) {
  color: #45545e;
  font-size: 1rem;
  line-height: 1.85;
  max-width: 82ch;
}

.cvr-feature-grid {
  display: grid;
  gap: 2rem 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cvr-feature-grid h3 {
  color: var(--cvr-navy);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.cvr-feature-grid ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cvr-feature-grid li {
  align-items: center;
  color: #45545e;
  display: flex;
  font-size: 0.88rem;
  gap: 0.5rem;
}

.cvr-feature-grid li svg {
  color: var(--cvr-accent);
  flex: 0 0 auto;
  width: 1rem;
}

.cvr-fee-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cvr-fee-grid > div {
  background: var(--cvr-canvas);
  display: flex;
  flex-direction: column;
  min-height: 145px;
  padding: 1.2rem;
}

.cvr-fee-grid span {
  color: var(--cvr-muted);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  margin-bottom: auto;
  text-transform: uppercase;
}

.cvr-fee-grid strong {
  color: var(--cvr-navy);
  font-size: 1.5rem;
}

.cvr-fee-grid small {
  color: var(--cvr-muted);
}

.cvr-location-card {
  align-items: center;
  background: linear-gradient(120deg, var(--cvr-navy-deep), var(--cvr-navy));
  color: #fff;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.cvr-location-card h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cvr-location-card p:not(.cvr-eyebrow) {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
  max-width: 65ch;
}

.cvr-location-card .cvr-button {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  flex: 0 0 auto;
}

.cvr-location-card .cvr-button:hover {
  background: #fff;
  color: var(--cvr-navy);
}

.cvr-contact-card {
  position: sticky;
  top: max(1rem, var(--wp-admin--admin-bar--height, 0px));
}

.cvr-contact-card__heading {
  align-items: center;
  border-bottom: 1px solid var(--cvr-border);
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
}

.cvr-contact-card__mark {
  align-items: center;
  border: 1px solid var(--cvr-navy);
  color: var(--cvr-navy);
  display: flex;
  font-family: var(--cvr-display);
  font-size: 1.1rem;
  height: 48px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 48px;
}

.cvr-contact-card__heading div {
  display: flex;
  flex-direction: column;
}

.cvr-contact-card__heading strong {
  color: var(--cvr-navy);
}

.cvr-contact-card__heading div span {
  color: var(--cvr-muted);
  font-size: 0.72rem;
}

.cvr-lead-form {
  display: grid;
  gap: 0.9rem;
}

.cvr-form-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cvr-lead-form .cvr-field > label {
  color: var(--cvr-muted);
  font-size: 0.66rem;
}

.cvr-lead-form :where(input, textarea) {
  background: #fff;
  border: 1px solid #b9c1c6;
  border-radius: 2px;
  color: var(--cvr-ink);
  min-height: 46px;
  padding: 0.7rem 0.75rem;
  width: 100%;
}

.cvr-lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

.cvr-lead-form :where(input, textarea):focus {
  border-color: var(--cvr-navy);
}

.cvr-consent {
  align-items: flex-start;
  color: var(--cvr-muted);
  cursor: pointer;
  display: flex;
  font-size: 0.73rem;
  gap: 0.55rem;
  line-height: 1.45;
}

.cvr-consent input {
  flex: 0 0 auto;
  height: 18px;
  min-height: 18px;
  padding: 0;
  width: 18px;
}

.cvr-consent a {
  color: var(--cvr-navy);
}

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

.cvr-form-status {
  font-size: 0.78rem;
  margin-bottom: 0;
  min-height: 1.25em;
}

.cvr-lead-form.is-success .cvr-form-status {
  color: var(--cvr-success);
}

.cvr-lead-form.is-error .cvr-form-status {
  color: var(--cvr-error);
}

.cvr-lead-form.is-sending .cvr-button {
  opacity: 0.65;
}

.cvr-contact-actions {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.cvr-contact-actions a {
  align-items: center;
  background: var(--cvr-canvas);
  color: var(--cvr-navy);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  min-height: 44px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, color 180ms ease;
}

.cvr-contact-actions a:hover {
  background: var(--cvr-navy);
  color: #fff;
}

.cvr-detail--error {
  padding: clamp(2rem, 6vw, 6rem) 1rem;
}

.cvr-detail--error .cvr-state {
  margin-inline: auto;
  max-width: 900px;
}

.cvr-ajax-error {
  background: #fff0ef;
  border-left: 3px solid var(--cvr-error);
  padding: 0.75rem 1rem;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

@keyframes cvr-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .cvr-search-form__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cvr-property-grid {
    --cvr-columns: 2 !important;
  }

  .cvr-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cvr-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cvr-popular-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cvr-feature-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .cvr-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-contact-card {
    position: static;
  }

  .cvr-gallery__stage {
    aspect-ratio: auto;
    height: var(--cvr-gallery-height, clamp(320px, 52vh, 520px));
    min-height: 320px;
  }

  .cvr-gallery__thumbs {
    height: 84px;
  }

  .cvr-gallery__thumbs button {
    flex-basis: 132px;
    height: 76px;
  }
}

@media (max-width: 767px) {
  .cvr-search {
    padding: 2rem 1rem;
  }

  .cvr-search__title {
    font-size: clamp(2rem, 11vw, 3.25rem);
  }

  .cvr-transaction-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cvr-transaction-tab span {
    padding-inline: 0.5rem;
    text-align: center;
  }

  .cvr-search-form__grid,
  .cvr-search-form__advanced,
  .cvr-form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-feature-launch-row {
    align-items: stretch;
    flex-direction: column;
    gap: 0.55rem;
  }

  .cvr-feature-launch {
    justify-content: flex-start;
    width: 100%;
  }

  .cvr-feature-launch > svg:last-child {
    margin-left: auto;
  }

  .cvr-feature-launch-row p {
    text-align: left;
  }

  .cvr-feature-dialog {
    height: 92dvh;
    margin: auto 0 0;
    max-height: 92dvh;
    max-width: none;
    width: 100%;
  }

  .cvr-feature-sheet {
    border-radius: 12px 12px 0 0;
  }

  .cvr-feature-sheet__header {
    padding-bottom: 0.9rem;
    padding-top: 1rem;
  }

  .cvr-feature-sheet__header h3 {
    font-size: 1.75rem;
  }

  .cvr-feature-sheet__body {
    padding-bottom: 1.25rem;
  }

  .cvr-popular-features__grid,
  .cvr-feature-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-feature-option--popular {
    min-height: 52px;
  }

  .cvr-feature-sheet__footer {
    gap: 0.65rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
  }

  .cvr-feature-mode {
    justify-content: flex-end;
  }

  .cvr-feature-mode legend {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
  }

  .cvr-feature-submit {
    grid-column: 1 / -1;
    min-height: 52px;
    width: 100%;
  }

  .cvr-property-grid {
    --cvr-columns: 1 !important;
  }

  .cvr-results__header,
  .cvr-detail-hero__top,
  .cvr-section-heading,
  .cvr-location-card {
    align-items: stretch;
    flex-direction: column;
  }

  .cvr-sort {
    align-items: stretch;
    flex-direction: column;
  }

  .cvr-detail-hero__price {
    align-items: flex-start;
  }

  .cvr-gallery__stage {
    aspect-ratio: 4 / 3;
    height: var(--cvr-gallery-height, auto);
    max-height: 420px;
    min-height: 0;
  }

  .cvr-gallery__thumbs {
    height: 76px;
  }

  .cvr-gallery__thumbs button {
    flex-basis: 112px;
    height: 68px;
  }

  .cvr-stat-grid,
  .cvr-feature-grid,
  .cvr-fee-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-detail-actions {
    width: 100%;
  }

  .cvr-detail-actions button {
    flex: 1 1 0;
    justify-content: center;
  }

  .cvr-location-card .cvr-button {
    width: 100%;
  }

  .cvr-pagination__label {
    display: none;
  }

  .cvr-lightbox {
    padding: 3rem 0.5rem 0.5rem;
  }

  .cvr-lightbox__nav {
    height: 48px;
    width: 48px;
  }

  .cvr-lightbox__nav--prev {
    left: 0.5rem;
  }

  .cvr-lightbox__nav--next {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  :where(.cvr-search, .cvr-results, .cvr-detail) *,
  :where(.cvr-search, .cvr-results, .cvr-detail) *::before,
  :where(.cvr-search, .cvr-results, .cvr-detail) *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Layout refinements: compact full-width search, card galleries and safe dialogs. */
.cvr-search {
  max-width: none;
  padding: clamp(1rem, 2.2vw, 2rem);
  width: 100%;
}

.cvr-search,
.cvr-search :where(button, input, select, label, span, p, h2, h3) {
  font-family: var(--cvr-body) !important;
}

.cvr-search-form {
  max-width: none;
  width: 100%;
}

.cvr-transaction-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1rem;
  width: min(720px, 100%);
}

.cvr-transaction-tab span {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: flex;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 0.8rem;
  text-align: center;
}

.cvr-transaction-tab + .cvr-transaction-tab span {
  border-left: 0;
}

.cvr-transaction-tab input:checked + span {
  background: rgba(255, 255, 255, 0.14);
  border-bottom-color: #e6b75f;
}

.cvr-search-form__grid {
  grid-template-columns:
    minmax(145px, 1.05fr)
    minmax(165px, 1.2fr)
    minmax(105px, 0.72fr)
    minmax(105px, 0.72fr)
    minmax(115px, 0.78fr)
    minmax(115px, 0.78fr)
    minmax(125px, 0.82fr)
    minmax(120px, 0.78fr);
}

.cvr-search .cvr-control {
  background: #fff !important;
  border-color: #d3dade !important;
  color: #17242d !important;
  min-height: 52px;
  position: relative;
}

.cvr-search .cvr-control :where(input, select),
.cvr-search .cvr-control :where(input, select):focus {
  background-color: transparent !important;
  color: #17242d !important;
  -webkit-text-fill-color: #17242d;
}

.cvr-search .cvr-control input::placeholder {
  color: #6c7880 !important;
  opacity: 1;
}

.cvr-control__clear {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4d5b64;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  margin-right: 0.15rem;
  padding: 0;
}

.cvr-control__clear[hidden] {
  display: none;
}

.cvr-control__clear svg {
  height: 18px;
  width: 18px;
}

.cvr-search-submit {
  height: 52px;
  min-height: 52px;
}

.cvr-feature-dialog:not([open]),
.cvr-lightbox:not([open]) {
  display: none !important;
}

.cvr-feature-dialog[open] {
  display: block;
  inset: 0;
  max-width: min(1040px, calc(100vw - 2rem));
  position: fixed;
}

.cvr-feature-sheet,
.cvr-feature-sheet__header,
.cvr-feature-sheet__body,
.cvr-feature-sheet__footer,
.cvr-feature-sheet__header > div {
  min-width: 0;
}

.cvr-feature-help,
.cvr-feature-sheet :where(h3, p, span, label) {
  overflow-wrap: anywhere;
  white-space: normal;
}

.cvr-card__image-link {
  display: block;
  height: 100%;
  width: 100%;
}

.cvr-card__slide[hidden] {
  display: none !important;
}

.cvr-card__favorite,
.cvr-card__gallery-button {
  align-items: center;
  backdrop-filter: blur(8px);
  background: rgba(10, 37, 53, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  padding: 0;
  position: absolute;
  width: 46px;
  z-index: 2;
}

.cvr-card__favorite {
  right: 0.85rem;
  top: 0.85rem;
}

.cvr-card__favorite svg {
  height: 21px;
  width: 21px;
}

.cvr-card__favorite.is-active {
  background: var(--cvr-accent);
  border-color: var(--cvr-accent);
}

.cvr-card__favorite.is-active svg {
  fill: currentColor;
}

.cvr-card__gallery-button {
  top: calc(50% - 23px);
}

.cvr-card__gallery-button--prev {
  left: 0.7rem;
}

.cvr-card__gallery-button--prev svg {
  transform: rotate(180deg);
}

.cvr-card__gallery-button--next {
  right: 0.7rem;
}

.cvr-card__gallery-count {
  background: rgba(10, 37, 53, 0.78);
  bottom: 0.75rem;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  position: absolute;
  right: 0.75rem;
  z-index: 2;
}

.cvr-detail {
  max-width: 100%;
  overflow-x: clip;
  width: 100%;
}

.cvr-detail :where(img, video, iframe) {
  max-width: 100%;
}

.cvr-detail-hero,
.cvr-gallery,
.cvr-detail-layout,
.cvr-detail-main,
.cvr-contact-card {
  min-width: 0;
  max-width: 100%;
}

.cvr-lightbox[open] {
  box-sizing: border-box;
  display: block;
  height: 100dvh;
  inset: 0;
  margin: 0;
  position: fixed;
  width: 100%;
}

@media (max-width: 1280px) {
  .cvr-search-form__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cvr-search {
    padding: 1rem;
  }

  .cvr-search-form {
    padding: 0.85rem;
  }

  .cvr-transaction-tabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-transaction-tab + .cvr-transaction-tab span {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    border-top: 0;
  }

  .cvr-search-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-search .cvr-control,
  .cvr-search-submit {
    min-height: 54px;
  }

  .cvr-card__gallery-button,
  .cvr-card__favorite {
    height: 48px;
    width: 48px;
  }

  .cvr-feature-dialog[open] {
    inset: auto 0 0;
    margin: 0;
    max-width: 100vw;
    width: 100vw;
  }

  .cvr-feature-sheet__header {
    padding-right: 5rem;
    position: relative;
  }

  .cvr-feature-sheet__header .cvr-icon-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
}

/* Search v0.4: transparent overlay, uniform controls and accessible multi-selects. */
.cvr-search {
  --cvr-search-font: Montserrat, "Helvetica Neue", Arial, sans-serif;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  background: rgba(7, 30, 45, 0.48) !important;
  overflow: visible;
}

.cvr-search::after {
  display: none;
}

.cvr-search,
.cvr-search :where(button, input, select, label, span, p, h2, h3) {
  font-family: var(--cvr-search-font) !important;
}

.cvr-search-form {
  background: rgba(5, 27, 41, 0.62);
  margin-inline: auto;
  max-width: 1440px;
  overflow: visible;
}

.cvr-transaction-tabs {
  margin-inline: auto;
}

.cvr-search-form__grid {
  align-items: stretch;
  grid-template-columns:
    minmax(142px, 1.08fr)
    minmax(154px, 1.2fr)
    minmax(106px, 0.72fr)
    minmax(112px, 0.76fr)
    minmax(116px, 0.8fr)
    minmax(116px, 0.8fr)
    minmax(122px, 0.84fr)
    minmax(122px, 0.84fr);
  justify-content: center;
}

.cvr-search-form__grid > .cvr-field,
.cvr-search-form__grid > .cvr-search-submit {
  align-self: stretch;
  min-height: 52px;
}

.cvr-search .cvr-control,
.cvr-multiselect__trigger,
.cvr-search-submit {
  border-radius: 2px;
  height: 52px;
  min-height: 52px;
}

.cvr-search .cvr-control {
  padding: 0;
}

.cvr-search .cvr-control :where(input, select),
.cvr-search .cvr-control :where(input, select):focus {
  border: 0 !important;
  box-shadow: none !important;
  height: 50px !important;
  margin: 0 !important;
  min-height: 50px !important;
  padding: 0 0.9rem !important;
}

.cvr-field--multiselect {
  position: relative;
}

.cvr-multiselect__trigger {
  align-items: center;
  background: #fff;
  border: 1px solid #d3dade;
  color: #17242d;
  display: flex;
  justify-content: space-between;
  padding: 0 0.9rem;
  text-align: left;
  width: 100%;
}

.cvr-multiselect__trigger:hover,
.cvr-field--multiselect.is-open .cvr-multiselect__trigger {
  border-color: #78858d;
}

.cvr-multiselect__trigger > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cvr-multiselect__chevron {
  border-bottom: 5px solid transparent;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #5f6b73;
  flex: 0 0 auto;
  margin: 6px 0 0 0.7rem;
}

.cvr-field--multiselect.is-open .cvr-multiselect__chevron {
  border-bottom: 6px solid #5f6b73;
  border-top: 0;
  margin-top: 0;
}

.cvr-multiselect__panel {
  background: #fff;
  border: 1px solid #cbd2d6;
  box-shadow: 0 18px 42px rgba(3, 18, 28, 0.24);
  color: #26343d;
  left: 0;
  min-width: 310px;
  position: absolute;
  top: calc(100% + 6px);
  width: min(370px, 90vw);
  z-index: 100;
}

.cvr-multiselect__panel[hidden] {
  display: none !important;
}

.cvr-multiselect__search {
  align-items: center;
  background: #f1f2f2;
  border-bottom: 1px solid #d7dcdf;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.45rem;
}

.cvr-search .cvr-multiselect__search input[type="search"] {
  appearance: none;
  background: #fff !important;
  border: 1px solid #c9d0d4 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  color: #26343d !important;
  height: 42px !important;
  margin: 0 !important;
  min-height: 42px !important;
  padding: 0 0.7rem !important;
  width: 100% !important;
}

.cvr-multiselect__search button {
  background: transparent;
  border: 0;
  color: var(--cvr-navy);
  font-size: 0.76rem;
  font-weight: 700;
  min-height: 42px;
  padding: 0.35rem 0.55rem;
}

.cvr-multiselect__options {
  max-height: min(430px, 56vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.3rem 0;
}

.cvr-multiselect__group + .cvr-multiselect__group {
  border-top: 1px solid #edf0f1;
}

.cvr-multiselect__option {
  align-items: center;
  color: #33424b;
  cursor: pointer;
  display: flex;
  font-size: 0.86rem;
  gap: 0.65rem;
  line-height: 1.35;
  min-height: 42px;
  padding: 0.48rem 0.75rem;
  text-transform: none;
}

.cvr-multiselect__option:hover {
  background: #f3f5f5;
}

.cvr-multiselect__option--parent {
  color: #1d2b34;
  font-weight: 700;
}

.cvr-multiselect__option--child {
  padding-left: 1.75rem;
}

.cvr-search .cvr-multiselect__option input[type="checkbox"] {
  appearance: auto !important;
  accent-color: var(--cvr-accent);
  border: 1px solid #879198 !important;
  flex: 0 0 18px;
  height: 18px !important;
  margin: 0 !important;
  min-height: 18px !important;
  padding: 0 !important;
  width: 18px !important;
}

.cvr-multiselect__group-label {
  color: #1d2b34;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  min-height: 42px;
  padding: 0.7rem 0.75rem;
}

.cvr-search-form__tools {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.45rem;
}

.cvr-search-reset {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 650;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.25rem 0.2rem;
  text-transform: uppercase;
}

.cvr-search-reset span {
  font-size: 1.15rem;
  line-height: 1;
}

@media (max-width: 1280px) {
  .cvr-search-form__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cvr-search {
    background: rgba(7, 30, 45, 0.56) !important;
  }

  .cvr-search-form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cvr-multiselect__panel {
    min-width: 0;
    width: 100%;
  }

  .cvr-multiselect__options {
    max-height: 48vh;
  }

  .cvr-multiselect__option {
    min-height: 48px;
  }
}

/* Detail v0.4: gallery-first flow, compact enquiry form and embedded map. */
.cvr-detail-hero__top {
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.cvr-detail-layout {
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem);
}

.cvr-contact-card {
  overflow: hidden;
}

.cvr-lead-form,
.cvr-lead-form .cvr-form-row,
.cvr-lead-form .cvr-field {
  min-width: 0;
  width: 100%;
}

.cvr-lead-form .cvr-form-row {
  grid-template-columns: minmax(0, 1fr);
}

.cvr-lead-form :where(input:not([type="checkbox"]), textarea) {
  box-sizing: border-box !important;
  display: block !important;
  height: 44px !important;
  margin: 0 !important;
  max-width: 100% !important;
  min-height: 44px !important;
  padding: 0.55rem 0.7rem !important;
  width: 100% !important;
}

.cvr-lead-form textarea {
  height: 108px !important;
  min-height: 108px !important;
}

.cvr-map-card {
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.cvr-map-card__heading {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.cvr-map-card__heading h2 {
  margin-bottom: 0;
}

.cvr-map-card__heading > a {
  color: var(--cvr-navy);
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cvr-map-card__frame {
  aspect-ratio: 16 / 8.5;
  background: #e7eaeb;
  min-height: 330px;
  overflow: hidden;
  width: 100%;
}

.cvr-map-card__frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .cvr-detail-hero__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .cvr-detail-hero__price {
    align-items: flex-start;
  }

  .cvr-map-card__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .cvr-map-card__frame {
    aspect-ratio: 4 / 3;
    min-height: 260px;
  }
}

/* Elementor-editable landing components and gallery sizing (v0.6). */
.cvr-detail-widget--gallery-viewport .cvr-gallery__stage {
  height: clamp(420px, calc(100dvh - var(--cvr-site-header-offset, 112px) - 96px), 920px);
  max-height: none;
}

.cvr-detail-widget--gallery-custom .cvr-gallery__stage {
  height: var(--cvr-gallery-height, 72vh);
  max-height: none;
}

.cvr-landing-hero,
.cvr-area-grid,
.cvr-contact-cta,
.cvr-guide,
.cvr-faq {
  box-sizing: border-box;
  font-family: var(--cvr-body-font, Montserrat, "Helvetica Neue", Arial, sans-serif);
}

.cvr-landing-hero {
  align-items: center;
  background-color: #071e2d;
  background-image: var(--cvr-landing-hero-image, none);
  background-position: center;
  background-size: cover;
  color: var(--cvr-landing-text, #fff);
  display: flex;
  min-height: 72vh;
  padding: clamp(4rem, 9vw, 8rem) clamp(1rem, 7vw, 7rem);
  position: relative;
}

.cvr-landing-hero::before { background: var(--cvr-landing-overlay, #071e2d); content: ""; inset: 0; opacity: var(--cvr-landing-overlay-opacity, .62); position: absolute; }
.cvr-landing-hero__content { position: relative; z-index: 1; }
.cvr-landing-eyebrow { color: var(--cvr-landing-accent, #c47a10); font-size: .72rem; font-weight: 700; letter-spacing: .16em; margin: 0 0 1rem; text-transform: uppercase; }
.cvr-landing-hero h1 { color: inherit !important; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 600; line-height: 1.02; margin: 0; }
.cvr-landing-hero__lead { color: inherit !important; font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.65; margin: 1.5rem 0 0; max-width: 60ch; }
.cvr-landing-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.cvr-landing-button { align-items: center; border: 1px solid rgba(255,255,255,.72); color: #fff !important; display: inline-flex; font-size: .78rem; font-weight: 700; gap: .8rem; justify-content: center; min-height: 48px; padding: .85rem 1.25rem; text-decoration: none !important; text-transform: uppercase; transition: background-color 180ms ease, border-color 180ms ease; }
.cvr-landing-button--primary { background: var(--cvr-landing-accent, var(--cvr-cta-accent, #c47a10)); border-color: transparent; }
.cvr-landing-button--primary:hover { background: #9d5e08; }
.cvr-landing-button--secondary { background: transparent; }
.cvr-landing-button--secondary:hover { background: rgba(255,255,255,.12); }

.cvr-area-grid { --cvr-area-text: #fff; margin-inline: auto; max-width: 1440px; padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem); }
.cvr-landing-section-heading { align-items: end; display: flex; gap: 2rem; justify-content: space-between; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.cvr-landing-section-heading h2 { color: var(--cvr-navy, #153a55) !important; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.08; margin: 0; }
.cvr-landing-section-heading > p { color: #4e5c65 !important; line-height: 1.65; margin: 0; max-width: 52ch; }
.cvr-area-grid__items { display: grid; gap: 1rem; grid-template-columns: repeat(var(--cvr-area-columns, 3), minmax(0, 1fr)); }
.cvr-area-card { background: #082433; color: var(--cvr-area-text, #fff) !important; display: block; min-height: 340px; overflow: hidden; position: relative; text-decoration: none !important; }
.cvr-area-card::before { background: linear-gradient(180deg, transparent 18%, var(--cvr-area-overlay, #061d2a) 100%); content: ""; inset: 0; opacity: var(--cvr-area-overlay-strength, .88); position: absolute; z-index: 1; }
.cvr-area-card img { height: 100%; inset: 0; object-fit: cover; position: absolute; transition: transform 240ms ease; width: 100%; }
.cvr-area-card:hover img { transform: scale(1.03); }
.cvr-area-card__body { bottom: 0; padding: 1.5rem; position: absolute; z-index: 2; }
.cvr-area-card__body h3 { color: var(--cvr-area-text, #fff) !important; font-size: 1.45rem; margin: 0 0 .4rem; }
.cvr-area-card__body p { color: var(--cvr-area-text, #fff) !important; font-size: .85rem; line-height: 1.55; margin: 0 0 .8rem; }
.cvr-area-card__body > span { color: var(--cvr-area-accent, #f0bd62) !important; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.cvr-contact-cta { align-items: center; background: var(--cvr-cta-background, #153a55); color: var(--cvr-cta-text, #fff); display: grid; gap: 3rem; grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr); margin-inline: auto; max-width: 1380px; overflow: hidden; padding: clamp(2rem, 5vw, 5rem); position: relative; }
.cvr-contact-cta h2 { color: inherit !important; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.08; margin: 0; }
.cvr-contact-cta p:not(.cvr-landing-eyebrow) { color: inherit !important; line-height: 1.65; max-width: 68ch; }
.cvr-contact-cta__details { border-left: 1px solid rgba(255,255,255,.28); display: flex; flex-direction: column; gap: .65rem; padding-left: 2rem; }
.cvr-contact-cta__details span { color: rgba(255,255,255,.72); font-size: .75rem; text-transform: uppercase; }
.cvr-contact-cta__details a { color: inherit !important; text-decoration: none; }

.cvr-guide { display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr); margin-inline: auto; max-width: 1380px; padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem); }
.cvr-guide h2 { color: var(--cvr-navy, #153a55) !important; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.08; margin: 0; }
.cvr-guide__intro > p:last-child { color: #4e5c65 !important; line-height: 1.65; }
.cvr-guide__steps article { border-top: 1px solid #d9dfe2; display: grid; gap: 1.25rem; grid-template-columns: 48px minmax(0, 1fr); padding: 1.5rem 0; }
.cvr-guide__steps article > span { color: #a86408; font-size: .75rem; font-weight: 700; }
.cvr-guide__steps h3 { color: var(--cvr-navy, #153a55) !important; margin: 0 0 .5rem; }
.cvr-guide__steps p { color: #4e5c65 !important; line-height: 1.65; margin: 0; }

.cvr-faq { background: var(--cvr-faq-background, #082433); color: var(--cvr-faq-text, #fff); display: grid; gap: clamp(2rem, 6vw, 6rem); grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr); padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 7vw, 7rem); }
.cvr-faq h2 { color: inherit !important; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.08; margin: 0; }
.cvr-faq details { border-top: 1px solid rgba(255,255,255,.28); }
.cvr-faq summary { color: inherit !important; cursor: pointer; font-weight: 600; list-style: none; min-height: 56px; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; }
.cvr-faq summary::-webkit-details-marker { display: none; }
.cvr-faq summary::after { content: "+"; font-size: 1.4rem; position: absolute; right: .25rem; top: .85rem; }
.cvr-faq details[open] summary::after { content: "−"; }
.cvr-faq details p { color: rgba(255,255,255,.78) !important; line-height: 1.65; margin: 0; padding: 0 2.5rem 1.25rem 0; }

/* Contrast bridge for the current HTML drafts until they are migrated to widgets. */
.mep-location-card__body h3,
.mep-location-card__body p { color: #fff !important; }

@media (max-width: 900px) {
  .cvr-detail-widget--gallery-viewport .cvr-gallery__stage { height: clamp(320px, calc(100dvh - var(--cvr-site-header-offset, 88px) - 84px), 760px); }
  .cvr-contact-cta,
  .cvr-guide,
  .cvr-faq { grid-template-columns: minmax(0, 1fr); }
  .cvr-contact-cta__details { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); padding-left: 0; padding-top: 1.5rem; }
}

@media (max-width: 767px) {
  .cvr-detail-widget--gallery-viewport .cvr-gallery__stage { aspect-ratio: auto; height: clamp(320px, calc(100dvh - var(--cvr-site-header-offset, 72px) - 76px), 680px); max-height: none; }
  .cvr-landing-hero { min-height: 68dvh; padding-block: 4rem; }
  .cvr-landing-hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .cvr-landing-section-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .cvr-area-grid__items { --cvr-area-columns: 1 !important; }
  .cvr-area-card { min-height: 300px; }
  .cvr-landing-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cvr-area-card img,
  .cvr-landing-button { transition: none; }
}

/* v0.7.1: compact controls and a local layer scale that remains below the site header. */
.elementor-widget-cvr-property-search {
  overflow: visible !important;
  position: relative;
  z-index: 10;
}

.elementor-widget-cvr-property-search:has(.cvr-field--multiselect.is-open) {
  z-index: 20;
}

.cvr-search,
.cvr-search-form,
.cvr-search-form__grid {
  overflow: visible !important;
  position: relative;
}

.cvr-search { z-index: 10; }
.cvr-search-form { z-index: 11; }
.cvr-search-form__grid { z-index: 12; }
.cvr-field--multiselect { z-index: 1; }
.cvr-field--multiselect.is-open { z-index: 30; }

/* v0.7.2: Elementor may clip the Sales dropdown at a parent container.
   Lift only the active search path; header containers are never touched. */
[data-cvr-search-form].cvr-search-layer-open,
.elementor-element.cvr-search-layer-open:not(.elementor-location-header):not([data-elementor-type="header"]),
.e-con.cvr-search-layer-open:not(.elementor-location-header):not([data-elementor-type="header"]),
.elementor-section.cvr-search-layer-open:not(.elementor-location-header):not([data-elementor-type="header"]),
.elementor-container.cvr-search-layer-open:not(.elementor-location-header):not([data-elementor-type="header"]) {
  overflow: visible !important;
  z-index: 20 !important;
}

.cvr-search-form__grid > .cvr-field,
.cvr-search-form__grid > .cvr-search-submit {
  min-height: 46px;
}

.cvr-search .cvr-control,
.cvr-multiselect__trigger,
.cvr-search-submit {
  height: 46px;
  min-height: 46px;
}

.cvr-search .cvr-control :where(input, select),
.cvr-search .cvr-control :where(input, select):focus {
  height: 44px !important;
  min-height: 44px !important;
}

.cvr-multiselect__panel {
  max-width: calc(100vw - 24px);
  min-width: 0;
  width: min(300px, calc(100vw - 24px));
  z-index: 40;
}

.cvr-multiselect__group-head {
  align-items: stretch;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.cvr-multiselect__group-head > .cvr-multiselect__option,
.cvr-multiselect__group-head > .cvr-multiselect__group-label {
  min-width: 0;
}

.cvr-multiselect__group-head > .cvr-multiselect__option--parent {
  padding-right: 0.4rem;
}

.cvr-multiselect__option-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cvr-multiselect__parent-status {
  color: #68757d;
  font-size: 0.68rem;
  font-weight: 600;
  margin-left: auto;
  padding-left: 0.4rem;
  white-space: nowrap;
}

.cvr-multiselect__group-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: #4c5b64;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0;
  touch-action: manipulation;
}

.cvr-multiselect__group-toggle:hover {
  background: #f3f5f5;
}

.cvr-multiselect__group-toggle:focus-visible {
  outline: 3px solid #f4c875;
  outline-offset: -3px;
}

.cvr-multiselect__group-toggle > span {
  border-bottom: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  height: 8px;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 160ms ease;
  width: 8px;
}

.cvr-multiselect__group-toggle[aria-expanded="true"] > span {
  transform: rotate(225deg) translate(-1px, -1px);
}

.cvr-multiselect__children[hidden] {
  display: none !important;
}

.cvr-search .cvr-multiselect__option input[type="checkbox"]:indeterminate {
  accent-color: var(--cvr-accent);
}

.cvr-multiselect__search {
  gap: 0.25rem;
  grid-template-columns: minmax(0, 1fr) 58px;
}

.cvr-search .cvr-multiselect__search input[type="search"] {
  box-sizing: border-box !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.cvr-multiselect__search button {
  box-sizing: border-box;
  min-width: 58px;
  padding: 0.3rem 0.2rem;
  white-space: nowrap;
  width: 58px;
}

.cvr-feature-mode-wrap {
  min-width: 0;
  text-align: center;
}

.cvr-feature-mode legend {
  clip: auto;
  clip-path: none;
  float: none;
  height: auto;
  margin: 0 0.65rem 0 0;
  overflow: visible;
  position: static;
  white-space: nowrap;
  width: auto;
}

.cvr-feature-mode label span {
  min-height: 44px;
  overflow-wrap: normal;
  padding: 0.45rem 0.7rem;
  white-space: nowrap;
}

.cvr-feature-mode-help {
  color: var(--cvr-muted) !important;
  font-size: 0.66rem !important;
  line-height: 1.4 !important;
  margin: 0.35rem auto 0;
  max-width: 48ch;
}

@media (max-width: 767px) {
  .cvr-search-form__grid > .cvr-field,
  .cvr-search-form__grid > .cvr-search-submit,
  .cvr-search .cvr-control,
  .cvr-multiselect__trigger,
  .cvr-search-submit {
    height: 48px;
    min-height: 48px;
  }

  .cvr-search .cvr-control :where(input, select),
  .cvr-search .cvr-control :where(input, select):focus {
    height: 46px !important;
    min-height: 46px !important;
  }

  .cvr-multiselect__panel {
    max-width: min(300px, calc(100vw - 24px));
    width: 100%;
  }

  .cvr-multiselect__group-toggle {
    min-height: 48px;
    min-width: 48px;
  }

  .cvr-feature-sheet__footer {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cvr-feature-mode-wrap {
    grid-column: 1 / -1;
    order: 1;
  }

  .cvr-feature-reset { order: 0; }


  .cvr-feature-mode {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.35rem;
  }

  .cvr-feature-mode legend {
    flex: 0 0 auto;
  }

  .cvr-feature-submit {
    grid-column: 1 / -1;
    min-height: 48px;
    order: 2;
  }
}

/* v0.7.3: equal-width desktop search, exact 12px type and brand-gold states. */
.cvr-search-form__grid {
  gap: 8px;
}

.cvr-transaction-tab span,
.cvr-search-form__grid :where(button, input, select),
.cvr-multiselect__panel :where(button, input),
.cvr-multiselect__option,
.cvr-multiselect__group-label,
.cvr-multiselect__parent-status,
.cvr-search-reset,
.cvr-feature-launch-row :where(button, p) {
  font-size: 12px !important;
}

.cvr-search select option {
  background: #fff;
  color: #17242d;
  font-size: 12px;
}

.cvr-search .cvr-field:hover > .cvr-control,
.cvr-search .cvr-field:focus-within > .cvr-control,
.cvr-multiselect__trigger:hover,
.cvr-multiselect__trigger:focus-visible,
.cvr-field--multiselect.is-open .cvr-multiselect__trigger {
  background: var(--cvr-accent) !important;
  border-color: var(--cvr-accent) !important;
  color: #fff !important;
}

.cvr-search .cvr-field:hover > .cvr-control :where(input, select),
.cvr-search .cvr-field:focus-within > .cvr-control :where(input, select) {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.cvr-search .cvr-field:hover > .cvr-control input::placeholder,
.cvr-search .cvr-field:focus-within > .cvr-control input::placeholder {
  color: rgba(255, 255, 255, 0.92) !important;
}

.cvr-search .cvr-field:hover > .cvr-control select,
.cvr-search .cvr-field:focus-within > .cvr-control select {
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%) !important;
}

.cvr-search .cvr-field:hover > .cvr-control .cvr-control__clear,
.cvr-search .cvr-field:focus-within > .cvr-control .cvr-control__clear,
.cvr-search .cvr-field:hover > .cvr-control .cvr-currency,
.cvr-search .cvr-field:focus-within > .cvr-control .cvr-currency {
  color: #fff !important;
}

.cvr-multiselect__trigger:hover .cvr-multiselect__chevron,
.cvr-multiselect__trigger:focus-visible .cvr-multiselect__chevron,
.cvr-field--multiselect.is-open .cvr-multiselect__chevron {
  border-top-color: #fff;
}

.cvr-field--multiselect.is-open .cvr-multiselect__chevron {
  border-bottom-color: #fff;
}

.cvr-multiselect__option:hover,
.cvr-multiselect__group-toggle:hover {
  background: rgba(161, 98, 7, 0.12) !important;
  color: #17242d !important;
}

@media (min-width: 1101px) {
  .cvr-search-form__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .cvr-search-form__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
