h1, .u-text-style-h1 {
  font-size: var(--_typography-tokens---h1--size);
  line-height: var(--_typography-tokens---h1--line-height);
  font-weight: var(--_typography-tokens---h1--weight);
  letter-spacing: var(--_typography-tokens---h1--letter-spacing);
  margin-top: 0;
  margin-bottom: 0;
}

h2, .u-text-style-h2 {
  font-size: var(--_typography-tokens---h2--size);
  line-height: var(--_typography-tokens---h2--line-height);
  font-weight: var(--_typography-tokens---h2--weight);
  letter-spacing: var(--_typography-tokens---h2--letter-spacing);
  margin-top: 0;
  margin-bottom: 0;
}

h3, .u-text-style-h3 {
  font-size: var(--_typography-tokens---h3--size);
  line-height: var(--_typography-tokens---h3--line-height);
  font-weight: var(--_typography-tokens---h3--weight);
  letter-spacing: var(--_typography-tokens---h3--letter-spacing);
  margin-top: 0;
  margin-bottom: 0;
}

h4, .u-text-style-h4 {
  font-size: var(--_typography-tokens---h4--size);
  line-height: var(--_typography-tokens---h4--line-height);
  font-weight: var(--_typography-tokens---h4--weight);
  letter-spacing: var(--_typography-tokens---h4--letter-spacing);
  margin-top: 0;
  margin-bottom: 0;
}

h5, .u-text-style-h5 {
  font-size: var(--_typography-tokens---h5--size);
  line-height: var(--_typography-tokens---h5--line-height);
  font-weight: var(--_typography-tokens---h5--weight);
  letter-spacing: var(--_typography-tokens---h5--letter-spacing);
  margin-top: 0;
  margin-bottom: 0;
}

h6, .u-text-style-h6 {
  font-size: var(--_typography-tokens---h6--size);
  line-height: var(--_typography-tokens---h6--line-height);
  font-weight: var(--_typography-tokens---h6--weight);
  letter-spacing: var(--_typography-tokens---h6--letter-spacing);
  margin-top: 0;
  margin-bottom: 0;
}

p[role="alert"] {
  color: red;
  margin: 0;
}

fieldset {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}

legend {
  margin-bottom: 1rem;
}
/* Villa Filter Template — styles from the Ocean Florida 2026 design system
   (Figma: Villa Filter Template / Desktop, node 0:2547). Class prefix `ofl-`
   keeps these away from Webflow's own classes. */

.ofl-root {
  --ofl-purple: #7938b4;
  --ofl-purple-dark: #3e1d78;
  --ofl-lavender: #f6f2fa;
  --ofl-pink: #ff41f2;
  --ofl-pink-100: #fddefd;
  --ofl-text: #3e3e3a;
  --ofl-text-secondary: #6b6b6b;
  --ofl-border: #a3a3a3;
  --ofl-input-border: #d4d4d4;
  --ofl-placeholder: #878787;
  --ofl-disabled: #ededed;
  --ofl-radius: 8px;
  --ofl-green-gradient: linear-gradient(0deg, #3a9051 0%, #3f9b58 49%, #29ba50 89%, #29ba50 100%);
  /* Loaded by shared/styles/tokens.css (@font-face "Mreavesmodot Webfont" —
     this is Mr Eaves Mod OT, same as the rest of the components). */
  font-family:
    var(--_typography-primitives---family--primary-family, 'Mreavesmodot Webfont'), Arial,
    sans-serif;
  color: var(--ofl-text);
}

/* ---- Filter bar ---------------------------------------------------------- */

/* A brand-tinted panel of dropdowns — every list the same. Full width: the
   Webflow container around the component sets the max-width. */
.ofl-filter-bar {
  padding: 2rem;
  background: var(--_colour-primitives---brand--primary--100, #f6f2fa);
  border-radius: var(--_site-sizes---radius--small, 0.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* ---- Range slider (Figma Component / Element / Range Slider, 0:2503) ----- */

.ofl-range {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 0;
  width: 100%;
  max-width: 496px;
}

.ofl-range-label {
  margin: 0;
  color: var(--ofl-purple);
  font-size: var(--_typography-tokens---body-xlarge--size, 1.25rem);
  line-height: var(--_typography-tokens---body-xlarge--line-height, 140%);
}

.ofl-range-slider {
  position: relative;
  height: 31.5px;
  margin: 0 8px;
  cursor: pointer;
  touch-action: none;
}

.ofl-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 10px;
  transform: translateY(-50%);
  background: var(--ofl-border);
}

.ofl-range-active {
  position: absolute;
  top: 50%;
  height: 10px;
  transform: translateY(-50%);
  background: var(--ofl-purple-dark);
}

.ofl-range-handle {
  position: absolute;
  top: 0;
  width: 13px;
  height: 31.5px;
  transform: translateX(-50%);
  cursor: grab;
  user-select: none;
}

.ofl-range-handle:focus-visible {
  outline: 2px solid var(--ofl-pink);
  outline-offset: 2px;
}

.ofl-range-values {
  display: flex;
  justify-content: space-between;
  color: var(--ofl-text);
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  font-weight: 700;
  line-height: 1;
}

/* Equal columns — FilterBar sets --ofl-filter-cols to the number of controls
   (1–4), or 3 when there are more than four, so extra filters wrap in threes. */
.ofl-filter-bar-options {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--ofl-filter-cols, 4), minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* A lone dropdown: the first of two columns, so half the row, left-aligned
   with its label above it. */
.ofl-filter-bar-options--single > .ofl-filter-option {
  align-items: flex-start;
}

.ofl-filter-bar-options--single .ofl-filter-option-label {
  text-align: left;
}

.ofl-filter-option {
  display: flex;
  flex-direction: column;
  /* Figma says an 8px gap, but that reads too airy in the browser —
     trimmed per client feedback. */
  gap: 2px;
  align-items: center;
  width: 100%;
  min-width: 0;
  position: relative;
}

.ofl-filter-option-label {
  /* It's a <p> — kill the UA's 1em block margins (the original source of
     the oversized gap), then add back a deliberate 8px below. */
  margin: 0 0 8px;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  font-weight: 700;
  text-align: center;
  color: var(--ofl-text);
  width: 100%;
}

.ofl-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--ofl-input-border);
  border-radius: var(--ofl-radius);
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-text);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.ofl-select:hover {
  border-color: var(--ofl-purple);
}

.ofl-select-arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 150ms ease;
}

.ofl-select-arrow--open {
  transform: rotate(180deg);
}

/* ---- Dropdown panel ------------------------------------------------------ */

/* Placed by useDropdownPosition (Floating UI): it sets the position, the max
   height (the room below, up to 500px) and the two custom properties read
   here — the viewport width left to the panel, and where the pointer sits. */
.ofl-dropdown {
  position: absolute;
  z-index: 50;
  min-width: 425px;
  max-width: min(875px, var(--ofl-dropdown-available-width, 90vw));
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--ofl-purple);
  border-radius: var(--ofl-radius);
  padding: 16px;
  box-shadow: 0 8px 24px rgba(62, 29, 120, 0.12);
}

/* Pointer triangle up to the trigger, per the design's dropdown pointer. */
.ofl-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: var(--ofl-dropdown-pointer-left, 32px);
  width: 14px;
  height: 14px;
  background: #fff;
  border-left: 1px solid var(--ofl-purple);
  border-top: 1px solid var(--ofl-purple);
  transform: rotate(45deg);
}

.ofl-dropdown-close {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 28px;
  height: 28px;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ofl-dropdown-close img {
  width: 14px;
  height: 14px;
  display: block;
}

.ofl-dropdown-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
}

/* Grouped facets (the Itinerary page's Destination, under its parent
   destinations) stack one titled block per group instead of one flat run of
   checkboxes, so the headings own a full row. */
.ofl-dropdown-grid--grouped {
  display: block;
  padding: 10px;
}

.ofl-option-group + .ofl-option-group {
  margin-top: 18px;
}

.ofl-option-group-title {
  margin: 0 0 8px;
  font-weight: 600;
  color: var(--ofl-purple);
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  line-height: var(--_typography-tokens---body-small--line-height, 140%);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ofl-option-group-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Range facets in a dropdown: the slider needs far less room than a grid of
   checkboxes, and its handles overhang the track, so the panel is narrower
   with side padding to match .ofl-range-slider's 8px inset. */
.ofl-dropdown--range {
  min-width: 0;
  width: 100%;
  padding: 32px 16px 16px;
}

.ofl-dropdown--range .ofl-range {
  max-width: none;
  padding: 0;
}

/* Several facets behind one trigger (the deal-type page's Price & Duration).
   Members reuse the grouped-facet heading, so a slider and a checkbox list
   stack under their own labels. */
.ofl-dropdown--combined {
  width: min(720px, var(--ofl-dropdown-available-width, calc(100vw - 32px)));
  max-width: none;
  padding-top: 32px;
}

/* The combined panel's checkboxes in three even columns. */
.ofl-dropdown--combined .ofl-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CombinedFacetGroup.wide: the panel spans the whole filter row (its width
   and left edge come from useDropdownPosition) and lays its members side by
   side — each slider a column, a checkbox list three, in a five-column grid —
   as on the live site's villa panel. */
.ofl-dropdown--wide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 32px;
  align-items: start;
}

.ofl-dropdown--wide .ofl-option-group {
  grid-column: span 3;
}

.ofl-dropdown--wide .ofl-option-group:has(.ofl-range) {
  grid-column: span 1;
  /* The panel scrolls (max-height); the sliders stay in view beside the
     longer feature list. */
  position: sticky;
  top: 0;
}

.ofl-dropdown--wide .ofl-option-group + .ofl-option-group {
  margin-top: 0;
}

/* Tablet: too narrow for the columns — the members stack as usual. */
@media (max-width: 991px) {
  .ofl-dropdown--wide {
    display: block;
  }

  .ofl-dropdown--wide .ofl-option-group:has(.ofl-range) {
    position: static;
  }

  .ofl-dropdown--wide .ofl-option-group + .ofl-option-group {
    margin-top: 18px;
  }
}

.ofl-dropdown--combined .ofl-range {
  max-width: none;
  padding: 0;
}

/* FacetConfig display: 'checkboxes' — and any list's only filter (see
   FilterBar). The boxes sit in the bar in a four-column grid rather than
   behind a dropdown; three columns on tablet. */
.ofl-filter-option--checkboxes {
  width: 100%;
}

.ofl-checkbox-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 20px;
  width: 100%;
}

/* Fill the grid cell rather than the panel's fixed 180px column. */
.ofl-checkbox-row .ofl-checkbox {
  width: auto;
  min-width: 0;
  align-items: center;
}

@media (max-width: 991px) {
  .ofl-checkbox-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---- Checkbox ------------------------------------------------------------ */

.ofl-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 180px;
  cursor: pointer;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-text);
}

.ofl-checkbox input {
  /* Visually hidden; the styled box mirrors state. */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.ofl-checkbox-box {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: 2px solid var(--ofl-border);
  border-radius: var(--ofl-radius);
  background: #fff;
  display: grid;
  place-items: center;
}

.ofl-checkbox input:checked + .ofl-checkbox-box {
  background: var(--ofl-purple);
  border-color: rgba(0, 0, 0, 0.16);
}

.ofl-checkbox-box img {
  width: 20px;
  height: 20px;
  display: none;
}

.ofl-checkbox input:checked + .ofl-checkbox-box img {
  display: block;
}

.ofl-checkbox input:focus-visible + .ofl-checkbox-box {
  outline: 2px solid var(--ofl-purple);
  outline-offset: 2px;
}

.ofl-checkbox-label {
  padding-top: 6px;
}

/* ---- Active filter badges + sort row ------------------------------------- */

.ofl-list-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.ofl-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 8px;
}

/* Individual filter tag: white with a gray border (Badges, node 0:2569). */
.ofl-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--ofl-border);
  border-radius: 4px;
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  line-height: 1;
  color: var(--ofl-text);
  cursor: pointer;
  font-family: inherit;
}

/* Reset Filter badge: pink fill with the pink "active" border (node 0:1598). */
.ofl-tag--reset {
  background: var(--ofl-pink-100);
  border-color: #f07af0;
}

.ofl-tag img {
  width: 14px;
  height: 14px;
  display: block;
}

.ofl-sort {
  width: 282px;
  flex-shrink: 0;
}

.ofl-sort-wrap {
  position: relative;
}

.ofl-sort-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  /* Pink down-arrow from the design system, mirrored from icons.ts. */
  background-image: url("data:image/svg+xml,%3Csvg width=%2720%27 height=%2720%27 viewBox=%270 0 20 20%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath d=%27M1.5 5.5L10 14L18.5 5.5%27 stroke=%27%23FF41F2%27 stroke-width=%272%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px 20px;
}

/* ---- Heading bar --------------------------------------------------------- */

.ofl-heading-bar {
  border-bottom: 1px solid var(--ofl-border);
  padding: 8px 0;
  width: 100%;
}

.ofl-heading-bar h2 {
  margin: 0;
  color: var(--ofl-purple);
  /* Type comes from u-text-style-h3 on the element. */
}

/* ---- Layout -------------------------------------------------------------- */

/* List + map row, full width — the Webflow container around the component
   sets the max-width. */
.ofl-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px 0px;
}

.ofl-content {
  flex: 1 1 62%;
  min-width: 0;
  display: grid;
  /* An implicit auto track grows to its widest child's min-content — the sort
     select's longest option — and overflows a phone. Pin it to the column. */
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

/* Card layout follows Webflow viewport breakpoints, including inside shadow roots. */
.ofl-cards {
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

/* CollectionAdapter.groupBy: a titled run of cards per group (the Sale
   page's deal groups). */
.ofl-groups {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
}

.ofl-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* A full-width purple bar, white heading centred — as on the live Sale page.
   Size from u-text-style-h4 on the element; bold, as live. */
.ofl-group-heading {
  margin: 0;
  padding: 8px 15px;
  background: var(--ofl-purple);
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.ofl-sidebar {
  flex: 1 1 38%;
  min-width: 0;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  /* Design height (871px) reduced by 10%, and 90% of the viewport-fit cap. */
  height: min(784px, calc((100vh - 48px) * 0.9));
}

/* MapConfig.square: a square map sized by the sidebar's width. */
.ofl-sidebar--square {
  height: auto;
  aspect-ratio: 1 / 1;
}

/* Where Google Maps won't load (see MapPlaceholder): a box the size of the
   map, so the list keeps its real width. */
.ofl-map-placeholder {
  height: 100%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background: var(--ofl-lavender);
  border: 1px dashed var(--ofl-input-border);
  border-radius: var(--ofl-radius);
  color: var(--ofl-text-secondary);
}

.ofl-map-placeholder-icon {
  width: auto;
  height: 32px;
}

.ofl-map-placeholder-title {
  margin: 0;
  color: var(--ofl-purple);
  font-size: var(--_typography-tokens---body-xlarge--size, 1.25rem);
  line-height: var(--_typography-tokens---body-xlarge--line-height, 140%);
  font-weight: 700;
}

.ofl-map-placeholder-note {
  margin: 0;
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  line-height: var(--_typography-tokens---body-small--line-height, 140%);
}

/* ---- Loading cards ------------------------------------------------------- */

.ofl-skeleton-block {
  background: #eee9f3;
  border-radius: 6px;
  animation: ofl-skeleton-pulse 1.6s ease-in-out infinite;
}

.ofl-skeleton-filters {
  width: 100%;
}

.ofl-skeleton-checkboxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  width: 100%;
}

.ofl-skeleton-checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ofl-skeleton-checkbox {
  width: 24px;
  height: 24px;
}

.ofl-skeleton-checkbox-text {
  width: 100px;
  height: 18px;
}

.ofl-skeleton-filter-label {
  width: 70px;
  height: 16px;
  margin-bottom: 8px;
}

.ofl-skeleton-filter-input {
  height: 44px;
  width: 100%;
}

.ofl-skeleton-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.ofl-skeleton-toolbar > div {
  width: min(40%, 200px);
}

.ofl-skeleton-toolbar--mobile-only {
  display: none;
}

@media (max-width: 991px) {
  .ofl-skeleton-toolbar--mobile-only {
    display: flex;
  }
}

.ofl-skeleton-sidebar {
  position: relative;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
}

.ofl-skeleton-map-road {
  position: absolute;
  width: 150%;
  height: 24px;
  background: rgb(255 255 255 / 55%);
  top: 40%;
  left: -25%;
  transform: rotate(-30deg);
}

.ofl-skeleton-map-road--cross {
  top: 60%;
  transform: rotate(55deg);
}

.ofl-skeleton-map-pin {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: #d6c7e5;
  transform: rotate(-45deg);
}

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

.ofl-skeleton-image {
  aspect-ratio: 4 / 3;
}

.ofl-skeleton-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}

.ofl-skeleton-title {
  height: 32px;
  width: 85%;
  margin-bottom: 12px;
}

.ofl-skeleton-line {
  height: 18px;
  width: 100%;
}

.ofl-skeleton-short {
  width: 65%;
}

.ofl-skeleton-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ofl-skeleton-buttons > div {
  height: 48px;
}

@keyframes ofl-skeleton-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

@media (max-width: 767px) {
  .ofl-skeleton-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
  }

  .ofl-skeleton-price {
    grid-column: 1 / -1;
  }

  .ofl-skeleton-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 400px) {
  .ofl-skeleton-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ofl-skeleton-block {
    animation: none;
  }
}

/* ---- Villa card ---------------------------------------------------------- */

.ofl-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--ofl-border);
  min-width: 0;
  max-width: 100%;
}

.ofl-card-main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}

.ofl-card-media {
  /* 424 of the 1060 card in Listing Card Villa (168:28077). */
  width: 40%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 11 / 8;
  overflow: hidden;
  background: transparent;
}

.ofl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Labelled facts as a wrapping row of pairs. */
/* Taxonomy pills — the vocabulary just filtered on. */
.ofl-card-body {
  flex: 1 1 300px;
  min-width: 0;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ofl-card-title {
  margin: 0;
  color: var(--ofl-purple);
}

.ofl-card .ofl-card-title {
  font-size: 24px;
  line-height: 110%;
}

.ofl-card-title-link {
  color: inherit;
  text-decoration: none;
}

.ofl-card-location {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-card-location img {
  /* Pin SVG is 9x14; scale by height and keep its intrinsic ratio. */
  width: auto;
  height: 16px;
  flex-shrink: 0;
}

.ofl-card-price {
  display: flex;
  gap: 4px;
  align-items: baseline;
  flex-wrap: wrap;
}

/* Same sizes as the Deal Price component — see .ofl-price below. */
.ofl-card-price-lead {
  font-size: 20px;
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-purple);
  font-weight: 700;
}

.ofl-card-price-amount {
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  color: var(--ofl-purple);
}

.ofl-card-price-suffix {
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-purple);
}

.ofl-card-price-note {
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-purple);
}

/* The "Incl." line, centred on every card. */
.ofl-card-incl {
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  margin: 0;
  text-align: center;
}

.ofl-villa-card .ofl-card-incl {
  text-align: left;
}

.ofl-card-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

/* Starred features left, icon stats right — two equal halves of the row
   (168:28087), so the stats stay pinned to the card's right edge. */
.ofl-card-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  flex: 1 1 0;
  min-width: 0;
}

.ofl-card-features li {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-card-features img {
  width: 14px;
  height: 13px;
  flex-shrink: 0;
}

.ofl-card-stats {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  gap: 24px 8px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
}

.ofl-card-stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-purple);
  text-align: center;
}

.ofl-card-stat img {
  height: 22px;
  display: block;
}

/* ---- Buttons ------------------------------------------------------------- */

.ofl-card-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  width: 100%;
  flex-wrap: wrap;
}

.ofl-btn {
  /* The shadow root never sees Webflow's global border-box reset, so the
     phone layout's width: 100% would otherwise add the padding and border on
     top and push the stacked CTAs past the card. */
  box-sizing: border-box;
  flex: 1 1 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--ofl-radius);
  font-family: inherit;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  text-align: center;
}

.ofl-btn--tertiary {
  background: #fff;
  border: 1px solid var(--ofl-purple);
  color: var(--ofl-purple);
}

.ofl-btn--secondary {
  background: var(--ofl-green-gradient);
  color: #fff;
}

.ofl-btn--primary {
  background: var(--ofl-purple);
  color: #fff;
}

.ofl-btn:hover {
  filter: brightness(1.05);
}

/* White (tertiary) buttons — the cards' "View this …", the map bar's CTA,
   Prev / Next, Filter and Map — take the site's tertiary hover: accent fill,
   dark purple label, no border. */
.ofl-btn--tertiary,
.ofl-page-btn {
  transition:
    background-color 150ms ease-out,
    border-color 150ms ease-out,
    color 150ms ease-out;
}

.ofl-btn--tertiary:hover,
.ofl-page-btn:hover:not(:disabled) {
  background: var(--button-tertiary--tertiary-bg-hover, #f07af0);
  border-color: var(--button-tertiary--tertiary-border-hover, transparent);
  color: var(--button-tertiary--tertiary-content-hover, #3e1d78);
  filter: none;
}

/* Compact button — the map bar's CTA. */
.ofl-btn--small {
  flex: none;
  padding: 10px 20px;
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
}

/* ---- Pagination ---------------------------------------------------------- */

.ofl-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  flex-wrap: wrap;
}

/* Equal-width side columns keep the page numbers truly centred in the row. */
.ofl-pagination-side {
  flex: 0 0 160px;
}

.ofl-pagination-side--right {
  display: flex;
  justify-content: flex-end;
}

.ofl-pagination-summary {
  font-size: var(--_typography-tokens---body-xsmall--size, 0.75rem);
  line-height: var(--_typography-tokens---body-xsmall--line-height, 140%);
}

.ofl-pagination-summary strong {
  color: var(--ofl-purple);
  font-weight: 700;
}

.ofl-pagination-list {
  display: flex;
  gap: 7px;
  align-items: center;
}

.ofl-pagination-pages {
  display: flex;
  gap: 2px;
  align-items: center;
}

.ofl-page-btn {
  min-height: 44px;
  padding: 12px 24px;
  background: #fff;
  border: 1px solid var(--ofl-purple);
  border-radius: var(--ofl-radius);
  color: var(--ofl-purple);
  font-family: inherit;
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  cursor: pointer;
}

.ofl-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ofl-page-btn-arrow {
  width: 18px;
  height: 18px;
  display: block;
}

.ofl-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* "Filter" text link back to the filter bar (Text Link, node 0:1929). */
.ofl-filter-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--ofl-purple);
  font-family: inherit;
  font-size: var(--_typography-tokens---body-xsmall--size, 0.75rem);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
  cursor: pointer;
}

.ofl-filter-link:hover {
  text-decoration: underline;
}

.ofl-filter-link img {
  width: 14px;
  height: 14px;
  display: block;
}

.ofl-page-step {
  width: 32px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--ofl-border);
  border-radius: var(--ofl-radius);
  color: var(--ofl-purple);
  font-family: inherit;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  font-weight: 700;
  cursor: pointer;
}

.ofl-page-step--active {
  background: var(--ofl-purple);
  border-color: var(--ofl-purple);
  color: #fff;
}

/* ---- Status / empty ------------------------------------------------------ */

.ofl-status {
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-text-secondary);
  padding: 24px 0;
}

/* ---- Responsive ---------------------------------------------------------- */

/* ---- Mobile toolbar (Filter / sort / Map modal triggers) ----------------- */

.ofl-mobile-toolbar {
  display: none;
  gap: 16px;
  align-items: center;
}

.ofl-mobile-sort {
  flex: 1;
  min-width: 0;
}

/* Toolbar controls share the row equally; mobile gives sort its own row. */
.ofl-mobile-toolbar .ofl-page-btn {
  flex: 1 1 0;
  justify-content: center;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
}

.ofl-toolbar-btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

/* ---- Filter modal (mobile) ----------------------------------------------- */

.ofl-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.ofl-filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--ofl-border);
}

.ofl-filter-modal-header h2 {
  margin: 0;
  color: var(--ofl-purple);
  /* Type comes from u-text-style-h4 on the element. */
}

.ofl-filter-modal-header .ofl-dropdown-close {
  position: static;
}

/* Sheet padding per the design's Modal (80:12408): 32px top, 24px sides. */
.ofl-filter-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 32px 24px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.ofl-filter-modal-section .ofl-filter-modal-grid {
  margin-top: 8px;
}

.ofl-filter-modal .ofl-filter-option-label {
  font-size: 1.25rem;
}

.ofl-modal-dropdown {
  border: 1px solid var(--ofl-input-border);
  border-radius: var(--ofl-radius);
  background: #fff;
}

.ofl-modal-dropdown > .ofl-select {
  border: 0;
  background: transparent;
}

.ofl-modal-dropdown--open > .ofl-select {
  border-bottom: 1px solid var(--ofl-input-border);
  border-radius: var(--ofl-radius) var(--ofl-radius) 0 0;
}

.ofl-modal-dropdown > .ofl-filter-modal-grid {
  margin-top: 0;
  padding: 16px;
}

.ofl-filter-modal-section h3 {
  margin: 0 0 12px;
  font-size: var(--_typography-tokens---body-xlarge--size, 1.25rem);
  line-height: var(--_typography-tokens---body-xlarge--line-height, 140%);
  font-weight: 400;
  color: var(--ofl-purple);
}

.ofl-filter-modal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px 10px;
}

.ofl-filter-modal-grid.ofl-dropdown-grid--grouped {
  display: block;
}

.ofl-filter-modal-grid .ofl-option-group-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px 10px;
}

.ofl-filter-modal-grid .ofl-checkbox {
  width: 100%;
  min-width: 0;
}

.ofl-filter-modal-footer {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-top: 1px solid var(--ofl-border);
  background: #fff;
}

/* ---- Fullscreen map modal ------------------------------------------------ */

/* Portaled to <body>, so it also carries `ofl-root` for the tokens and font. */
.ofl-map-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #fff;
  /* The bar's breakpoints key off the modal's width — the viewport's, as the
     modal fills it — so the playground's framed preview can reproduce them. */
  container: ofl-map-frame / inline-size;
}

.ofl-map-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(62, 29, 120, 0.3);
  cursor: pointer;
}

.ofl-map-modal-close img {
  width: 14px;
  height: 14px;
  display: block;
}

/* ---- Villa detail bar (inside the map modal) ----------------------------- */

/* Pinned to the map's bottom edge. Sits above .gm-style (z-index 0) and
   below Google's own controls (1000000+). */
.ofl-map-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 -2px 12px rgba(62, 29, 120, 0.18);
}

.ofl-map-bar-media {
  margin: 0;
  flex: 0 0 160px;
  aspect-ratio: 11 / 8;
  overflow: hidden;
}

/* Holds its width rather than growing, so the villa slider beside it takes
   the spare room and its cards stay wide enough for a title on one line. */
.ofl-map-bar-info {
  flex: 0 1 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.ofl-map-bar-info .ofl-card-title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 120%;
}

/* Stars sit on the first line of a wrapping feature, not its middle: top-
   aligned, then dropped by half the line box less the star's 13px. */
.ofl-map-bar .ofl-card-features li {
  align-items: flex-start;
  line-height: 120%;
}

.ofl-map-bar .ofl-card-features img {
  margin-top: 5px;
  margin-top: calc((1lh - 13px) / 2);
}

/* The bar's CTA hugs its label rather than filling the row like the card's;
   its size comes from ofl-btn--small. */
.ofl-map-bar-info .ofl-btn {
  flex: 0 0 auto;
}

.ofl-map-bar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right column: the other villas at this villa's community. */
.ofl-map-bar-community {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Count left, "View all" right. */
.ofl-map-bar-community-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.ofl-map-bar-view-all {
  flex: none;
  color: var(--ofl-purple);
  font-weight: 700;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  text-decoration: none;
}

.ofl-map-bar-view-all:hover {
  text-decoration: underline;
}

.ofl-map-bar-community-count {
  margin: 0;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

/* Arrows sit outside the slider as flex siblings, so they never overlap the
   cards. The Swiper takes the remaining width; min-width: 0 lets it shrink
   inside the flex row rather than being stretched by the full run of slides. */
.ofl-map-villas-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

/* Three slides per view, so Swiper computes the slide width from its own box. */
.ofl-map-villas {
  flex: 1 1 auto;
  min-width: 0;
}

.ofl-map-villas-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.ofl-map-villas-nav img {
  width: 20px;
  height: 20px;
}

/* Shared right-chevron asset, flipped for the previous button. */
.ofl-map-villas-prev img {
  transform: scaleX(-1);
}

/* Swiper adds this class when there's nowhere further to slide. */
.ofl-map-villas-nav.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.ofl-map-villa-slide {
  height: auto;
  container-type: inline-size;
}

/* Three-per-view leaves each slide roughly a third of the column, which is
   ~305px on a wide screen (image beside the text, as designed) but ~180px at
   1280 — where the image would squeeze the text to nothing. Keyed off the slide
   rather than the viewport because the column's width, not the screen's, is
   what actually constrains the card. */
@container (max-width: 260px) {
  .ofl-map-villa {
    flex-direction: column;
  }

  .ofl-map-villa-media {
    flex: 0 0 auto;
    width: 100%;
    align-self: stretch;
  }

  .ofl-map-villa-body {
    padding-right: 0;
  }
}

.ofl-map-villa {
  position: relative;
  height: 100%;
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--ofl-input-border);
  border-radius: var(--ofl-radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.ofl-map-villa-media {
  margin: 0;
  flex: 0 0 110px;
  /* Without this the flex parent stretches it to full card height and the
     aspect-ratio is ignored. */
  align-self: flex-start;
  aspect-ratio: 11 / 8;
  overflow: hidden;
  background: var(--ofl-disabled);
}

.ofl-map-villa-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ofl-map-villa-body {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 2px;
  align-content: start;
}

.ofl-map-villa-title {
  margin: 0 0 4px;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: 120%;
  font-weight: 700;
  color: var(--ofl-purple);
}

/* The shared Price Indicator as one compact line — "7 nights from £680 pp",
   as on the live site's panel — rather than the listing cards' display size,
   which wrapped the amount and "pp" in a slide this narrow. */
.ofl-map-villa-body .ofl-price {
  justify-content: flex-start;
  flex-wrap: nowrap;
  white-space: nowrap;
  text-align: left;
}

.ofl-map-villa-body .ofl-price-lead,
.ofl-map-villa-body .ofl-price-suffix {
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  line-height: var(--_typography-tokens---body-small--line-height, 140%);
}

.ofl-map-villa-body .ofl-price-amount {
  font-size: var(--_typography-tokens---body-large--size, 1.125rem);
}

.ofl-map-villa-incl {
  margin: 0;
  font-size: var(--_typography-tokens---body-small--size, 0.875rem);
  line-height: 120%;
  color: var(--ofl-purple);
}

/* ---- Responsive ---------------------------------------------------------- */

/* Below 1200px the sidebar map is hidden behind the Map button — beside a
   narrower list it squeezes the cards — and the sort moves into the same
   toolbar. The filter bar stays until mobile. */
@media (max-width: 1199px) {
  .ofl-sidebar {
    display: none;
  }

  .ofl-mobile-toolbar {
    display: flex;
  }

  .ofl-list-toolbar .ofl-sort {
    display: none;
  }

  /* With the sort moved out, the toolbar is empty until a filter is applied. */
  .ofl-list-toolbar:not(:has(.ofl-tag)) {
    display: none;
  }

  /* Filter bar still visible here — no need for the modal trigger. */
  .ofl-toolbar-filter-btn {
    display: none;
  }
}

/* Up to 1100px: the selected item across the top — image, name and features,
   CTA at the right — and the villa slider full width beneath a rule, as on the
   live site's panel. The info column's wrapper dissolves so its title,
   features and CTA can each take a grid cell. (The slider itself drops to one
   card and a peek at 800px — see MapBarContent.) */
@container ofl-map-frame (max-width: 1100px) {
  .ofl-map-bar {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto;
    column-gap: 24px;
    row-gap: 0.5rem;
    align-items: start;
    max-height: 60vh;
    overflow-y: auto;
  }

  .ofl-map-bar-media {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .ofl-map-bar-info {
    display: contents;
  }

  .ofl-map-bar-info > :not(.ofl-btn) {
    grid-column: 2;
  }

  /* Bottom of the top row, level with the image's bottom edge. */
  .ofl-map-bar-info .ofl-btn {
    grid-column: 3;
    grid-row: 1 / span 3;
    align-self: end;
  }

  .ofl-map-bar-community {
    grid-column: 1 / -1;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--ofl-purple);
  }
}

/* Phone: the same stacked layout, tightened — a smaller image, 16px spacing,
   and no feature list or villa stats (the CTA sits under the name instead).
   MapBarContent shows a card and a peek at this width. */
@container ofl-map-frame (max-width: 575px) {
  .ofl-map-bar {
    grid-template-columns: 125px minmax(0, 1fr);
    column-gap: 16px;
    padding: 16px;
  }

  /* The features and stats are dropped for room; the CTA takes their place
     under the name, the width of that column. */
  .ofl-map-bar-info .ofl-card-features,
  .ofl-map-bar-info .ofl-card-stats {
    display: none;
  }

  .ofl-map-bar-info .ofl-btn {
    grid-column: 2;
    grid-row: auto;
    align-self: start;
    width: 100%;
    margin-top: 4px;
  }

  .ofl-map-bar-community {
    margin-top: 8px;
    padding-top: 16px;
  }
}

/* From 800px down the slider is swiped, not stepped: no arrows, so its cards
   get the full width. */
@container ofl-map-frame (max-width: 800px) {
  .ofl-map-villas-nav {
    display: none;
  }
}

/* Mobile: filter bar collapses into the Filter modal; pagination wraps to two
   rows. Page chrome, so these stay viewport-based. */
@media (max-width: 767px) {
  .ofl-mobile-toolbar {
    flex-wrap: wrap;
  }

  .ofl-mobile-sort {
    order: 1;
    flex: 0 0 100%;
  }

  .ofl-filter-bar {
    display: none;
  }

  .ofl-toolbar-filter-btn {
    display: inline-flex;
  }

  /* Prev + seven steps + Next must fit a 320px phone: tighter buttons, and the
     steps give up width before the row overflows. */
  .ofl-pagination-list {
    order: -1;
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }

  .ofl-pagination-list .ofl-page-btn {
    flex: none;
    padding-inline: 12px;
  }

  .ofl-pagination-pages {
    min-width: 0;
  }

  .ofl-page-step {
    flex: 0 1 32px;
    min-width: 20px;
  }

  .ofl-pagination-side {
    flex: 1 1 auto;
  }
}

/* ---- 2026 listing-card parts (Figma "Component / Element / Listing Card *")
   Shared by the Deal, Itinerary, Accommodation, Villa and Things-to-do cards:
   the pointed tag, campaign badges, price indicator, labelled facts, icon
   lists and "Best for" badges. ------------------------------------------- */

/* Same polygon ribbon, padding and shadow as Webflow's Tag component. */
.ofl-card-tag {
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 5;
  /* Include padding in the ribbon height inside Webflow's shadow root. */
  box-sizing: border-box;
  height: 22px;
  padding: 4px 6px 6px;
  filter: drop-shadow(1px 2px 0 var(--_colour-primitives---brand--primary--300, #b26ff9));
  color: #fff;
  font-size: 12px;
  line-height: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}
.ofl-card-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--section-bar--bg, var(--ofl-purple));
  clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
}
.ofl-card-tag-label {
  position: relative;
  z-index: 1;
}

.ofl-card-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  gap: 4px;
}

.ofl-card-badges img {
  width: 70px;
  height: auto;
  display: block;
}

@media (max-width: 991px) {
  .ofl-card-badges img {
    width: 40px;
  }
}

/* Component / Element / Price Indicator (578:26134). Sized to match the Deal
   Price component (../deal-price/deal-price.css) so every card's price reads
   the same as the deal page's. */
.ofl-price {
  margin: 0;
  display: block;
  font-size: 20px;
  line-height: 140%;
  font-weight: 700;
  color: var(--ofl-purple);
  text-align: center;
}

.ofl-price-lead {
  color: var(--ofl-purple);
  font-weight: 700;
  font-size: 20px;
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-card .ofl-deal-price-lead {
  font-size: 20px;
  color: var(--ofl-purple);
  font-weight: 700;
}

.ofl-card .ofl-deal-price-amount {
  font-size: 28px;
}

.ofl-price-amount {
  color: var(--ofl-purple);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
}

.ofl-price-suffix {
  color: var(--ofl-purple);
  font-size: 20px;
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

/* "Accommodation: … / Location: … / Flight: …" */
.ofl-facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ofl-facts p {
  margin: 0;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: 120%;
  color: var(--ofl-text);
}

.ofl-a11y-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.ofl-a11y-icon {
  display: block;
  width: 28px;
  height: 28px;
}
.ofl-a11y-icons img {
  width: 24px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Wrapper / Icon List / Vertical — "Highlights:" and "Prices Include:". */
.ofl-icon-list {
  flex: 1 1 167px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ofl-icon-list-title {
  margin: 0;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-text);
}

.ofl-icon-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ofl-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-icon-list li img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: none;
  margin-top: 2px;
}

/* Component / Element / Badges — the italic outlined "Best for" pills. */
.ofl-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ofl-badges-lead {
  color: var(--ofl-purple);
  font-size: var(--_typography-tokens---h6--size, 1rem);
  line-height: var(--_typography-tokens---h6--line-height, 140%);
  font-weight: var(--_typography-tokens---h6--weight, 700);
}

.ofl-badge {
  padding: 8px;
  border: 1px solid var(--ofl-border);
  border-radius: 4px;
  color: var(--ofl-text-secondary);
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: 1;
  text-box: trim-both cap alphabetic;
  font-style: italic;
}

.ofl-card-note {
  margin: 0;
  text-align: center;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-text);
}

.ofl-card-ref {
  margin: 0;
  text-align: center;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
  color: var(--ofl-text);
}

.ofl-card-ref strong {
  color: var(--ofl-purple);
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-card-buttons--stacked {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.ofl-card-buttons--stacked .ofl-btn {
  flex: none;
}

/* The secondary CTA's label shortens on mobile ("Call 0203 …"). */
.ofl-btn-short {
  display: none;
}

/* ---- Villa community card (Listing Card Villa Community, 168:28476) ------ */

.ofl-community-card .ofl-card-media {
  width: 30%;
  padding-left: 10px;
  aspect-ratio: auto;
}
.ofl-community-card .ofl-image-slider {
  height: auto;
  aspect-ratio: 11 / 8;
}
.ofl-community-card .ofl-card-media > img {
  height: auto;
  aspect-ratio: 11 / 8;
}

/* Desktop community image and content share a row with a 32px gap. */
.ofl-community-card .ofl-card-main {
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 32px;
}

.ofl-community-card .ofl-card-body {
  flex: 1 1 0;
  padding: 0;
  gap: 8px;
}

/* Title, location, blurb and features, 0.5rem apart. */
.ofl-community-card .ofl-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Two lines, then ellipsis — the design clips the community blurb. */
.ofl-community-card-desc {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 22.4px;
}

/* CTA right, where it sat beside the (since removed) price. */
.ofl-community-card-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-top: 8px;
}

.ofl-community-card-footer .ofl-btn {
  flex: 0 1 267px;
}

/* ---- Deal card (Listing Card Deal, 168:27904) ---------------------------- */

.ofl-deal-card {
  gap: 32px;
}

/* Media / title+facts / price. The image spans both rows so the title can sit
   above the facts in the middle column, as the desktop design has it. */
.ofl-triple-columns {
  display: grid;
  gap: 16px 32px;
  grid-template-columns: 30% minmax(0, 1fr) minmax(0, 1fr);
  /* The title takes only the height it needs and the facts row absorbs the
     slack, so the facts stay under the title however tall the image and price
     rail either side of them run. */
  grid-template-rows: min-content 1fr;
  grid-template-areas:
    'media title price'
    'media facts price';
  align-items: start;
  width: 100%;
}

.ofl-triple-columns > .ofl-card-media {
  grid-area: media;
  width: 100%;
  margin: 0;
  aspect-ratio: 11 / 8;
  position: relative;
}

.ofl-triple-title {
  grid-area: title;
  margin: 0;
}

.ofl-triple-facts {
  grid-area: facts;
}

.ofl-triple-price-col {
  grid-area: price;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

/* Static cards group the pricing and blurb 4px apart, then leave 16px
   between that group and the accessibility icons. */
.ofl-deal-card-price,
.ofl-accom-card-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* ---- Shared listing card (Category / Ship / Cruise Line / Cruise
   Destination / Flight / Park / Attraction Ticket / Things to do) ---------- */

.ofl-listing-card-columns {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  width: 100%;
}

.ofl-listing-card .ofl-card-media {
  flex: none;
  width: 30%;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 16 / 9;
  position: relative;
}

/* Brand marks (airline, cruise line) sit in a bordered white box, contained
   rather than cropped. */
.ofl-card-media--logo {
  aspect-ratio: auto;
  height: auto;
  min-height: 160px;
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid var(--ofl-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ofl-card-media--logo img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.ofl-listing-card-mobile-title {
  display: none;
}
.ofl-listing-card-header,
.ofl-listing-card-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  width: 100%;
}
.ofl-listing-card .ofl-icon-list-lines li {
  font-size: 18px;
  line-height: 22.4px;
}
.ofl-listing-card .ofl-card-location {
  gap: 4px;
  align-items: flex-start;
}
.ofl-listing-card .ofl-card-location img {
  height: 14px;
}
.ofl-listing-card--split-header:has(.ofl-listing-card-inline-cta) .ofl-card-location {
  font-size: 14px;
}
.ofl-listing-card--category .ofl-card-media {
  aspect-ratio: auto;
  border: 1px solid var(--ofl-border);
}
.ofl-listing-card--category .ofl-card-media img {
  aspect-ratio: 5 / 3;
  height: auto;
}
.ofl-listing-card--expanded .ofl-listing-card-columns {
  align-items: stretch;
}
.ofl-listing-card--expanded .ofl-card-media {
  min-height: 160px;
  aspect-ratio: auto;
}
.ofl-listing-card--expanded .ofl-card-media:not(.ofl-card-media--logo) img {
  aspect-ratio: 3 / 2;
  height: auto;
}
.ofl-listing-card--standard .ofl-card-media--logo {
  aspect-ratio: 3 / 2;
  padding: 12px;
}
.ofl-listing-card--split-header:not(:has(.ofl-listing-card-inline-cta)) .ofl-card-media {
  border: 1px solid var(--ofl-border);
}

.ofl-listing-card--expanded .ofl-card-media--logo {
  align-self: flex-start;
  border: 1px solid var(--ofl-border);
  padding: 0 16px;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ofl-listing-card--expanded .ofl-card-media--logo img {
  height: auto;
}
.ofl-listing-card--split-header:has(.ofl-listing-card-inline-cta) .ofl-card-media {
  aspect-ratio: 5 / 4;
  min-height: 160px;
}

.ofl-listing-card-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ofl-listing-card-fact {
  margin: 0;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-listing-card-summary {
  margin: 0;
  font-size: var(--_typography-tokens---body-large--size, 1.125rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-listing-card-inline-cta {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  gap: 32px;
}

.ofl-listing-card-inline-cta .ofl-btn {
  flex: 0 1 calc(50% - 16px);
}

/* With a price column the card runs to three, as the Ship design does. */
.ofl-listing-card--priced .ofl-listing-card-columns > * {
  flex: 1 1 0;
}

.ofl-listing-card--priced .ofl-card-media {
  flex: 1 1 0;
  width: auto;
}

/* Pink corner flag on the Category card. */
.ofl-price-badge {
  /* Declared, not inherited: this ships into Webflow, where the surrounding
     page may set its own family on the card's ancestors. */
  font-family:
    var(--_typography-primitives---family--primary-family, 'Mreavesmodot Webfont'), Arial,
    sans-serif;
  position: absolute;
  top: 0;
  left: 10px;
  z-index: 2;
  width: 68px;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  padding: 4px 8px 12px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: var(--ofl-purple-dark);
  line-height: 1;
}

.ofl-price-badge-lead,
.ofl-price-badge-note {
  font-size: var(--_typography-tokens---body-xsmall--size, 0.75rem);
}

/* The design sets this in the bold cut of the primary family, which is the
   h6 token — 16px at the shared bold weight. */
.ofl-price-badge-amount {
  font-size: var(--_typography-tokens---h6--size, 1rem);
  font-weight: var(--_typography-tokens---h6--weight, 700);
  padding: 2px 0;
}

/* ---- Accommodation card (Listing Card - Accommodation, 168:27722) -------- */

.ofl-accom-card {
  gap: 32px;
}

.ofl-accom-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Location pin then starred features, all on one 14px icon list. */
.ofl-icon-list-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ofl-icon-list-lines li {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

.ofl-icon-list-lines img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex: none;
  margin-top: 2px;
}

/* The pin is taller than it is wide, so it keeps its own ratio. */
.ofl-icon-list-lines .ofl-icon-pin {
  width: 9px;
  height: 14px;
}

.ofl-accom-card-bestfor {
  margin: 0;
  font-size: var(--_typography-tokens---body-medium--size, 1rem);
  line-height: var(--_typography-tokens---body-medium--line-height, 140%);
}

/* ---- Itinerary: independent desktop stacks, flattened at smaller widths. */
.ofl-itinerary-card-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 0.75fr);
  grid-template-rows: auto auto;
  gap: 16px 24px;
  align-items: start;
  width: 100%;
}
.ofl-itinerary-card .ofl-card-media {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 0;
  aspect-ratio: 5 / 4;
  position: relative;
}
.ofl-itinerary-card-content-stack,
.ofl-itinerary-card-booking-stack {
  display: flex;
  flex-direction: column;
  min-width: 0;
  grid-row: 1;
}
.ofl-itinerary-card-content-stack {
  grid-column: 2;
  gap: 24px;
}
.ofl-itinerary-card-booking-stack {
  grid-column: 3;
  align-self: stretch;
  justify-content: space-between;
  gap: 16px;
}
.ofl-itinerary-card-titles {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.ofl-itinerary-card-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 16px;
  font-weight: 700;
}
.ofl-itinerary-card-lists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}
.ofl-itinerary-card-price-col {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 24rem;
  min-width: 0;
  text-align: center;
}
.ofl-itinerary-card-price-wrap {
  max-width: 100%;
}
.ofl-itinerary-card .ofl-price {
  font-size: 20px;
  text-align: inherit;
}
.ofl-itinerary-card .ofl-price-lead,
.ofl-itinerary-card .ofl-price-suffix {
  font-size: 20px;
}
.ofl-itinerary-card .ofl-price-amount {
  font-size: 28px;
  line-height: 1;
}
.ofl-itinerary-card .ofl-card-note {
  padding-top: 4px;
  line-height: 100%;
  text-align: inherit;
  text-wrap: balance;
}
.ofl-itinerary-card .ofl-card-ref {
  text-align: inherit;
}
.ofl-itinerary-card .ofl-card-ref strong {
  font-size: 18px;
  line-height: inherit;
}
.ofl-itinerary-card-booking-stack > .ofl-card-buttons {
  margin: 0;
}
.ofl-itinerary-card-bottom {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ofl-itinerary-card-desc {
  margin: 0;
  font-size: 18px;
  line-height: 22.4px;
}
.ofl-itinerary-card .ofl-badges-lead {
  line-height: 110%;
}
.ofl-itinerary-card-highlights ul {
  display: block;
  margin-bottom: 16px;
}
.ofl-itinerary-card-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.ofl-itinerary-card-highlights li img {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  object-fit: contain;
  margin-top: 4px;
}
.ofl-itinerary-card-lists > .ofl-icon-list:not(.ofl-itinerary-card-highlights) ul {
  gap: 0;
}
.ofl-itinerary-card-lists > .ofl-icon-list:not(.ofl-itinerary-card-highlights) li {
  min-height: 24px;
  gap: 8px;
}
.ofl-itinerary-card-lists > .ofl-icon-list:not(.ofl-itinerary-card-highlights) li img {
  margin-top: 5px;
}

/* ---- Aside (CollectionAdapter.Aside) ------------------------------------- */

/* The aside has no fixed height, unlike the sticky map viewport. */
.ofl-sidebar--aside {
  height: auto;
  flex: 0 1 340px;
}

/* Collapse entirely when the Aside renders nothing. */
.ofl-sidebar--aside:empty {
  display: none;
}

/* ---- Load more (paginationStyle: 'load-more') ---------------------------- */

.ofl-load-more {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}

.ofl-load-more .ofl-btn {
  flex: 0 0 auto;
}

/* ---- Static Webflow listing layouts (Liam's playground) ------------------
   Match the 991 / 767 / 479 viewport breakpoints used by Webflow.
   Gallery previews use real iframes so viewport queries are exercised too. */

/* Webflow's text wrapper adds 3px below the label. Fold that into the
   bottom padding while retaining native button semantics in React. */
.ofl-card .ofl-btn {
  font-size: 18px;
  line-height: 22.4px;
  min-height: 0;
  padding: 16px 24px 19px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--ofl-purple);
}
.ofl-card .ofl-btn--secondary {
  border-color: #3a9051;
  color: #f6f2fa;
}
.ofl-listing-card--ticket .ofl-btn {
  font-size: 14px;
  line-height: 15.6px;
  padding: 12px 24px 15px;
}

.ofl-listing-card--split-header > .ofl-card-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.ofl-accom-heading {
  grid-area: title;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ofl-accom-location {
  gap: 4px;
}
.ofl-accom-location img {
  width: 9px;
  height: 14px;
}
.ofl-accom-card .ofl-icon-list-lines {
  gap: 0;
}
.ofl-deal-card .ofl-facts {
  gap: 0;
}
.ofl-deal-card .ofl-facts p {
  line-height: 140%;
}

.ofl-listing-card--category .ofl-listing-card-summary,
.ofl-listing-card--ticket .ofl-listing-card-summary,
.ofl-listing-card--split-header .ofl-listing-card-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ofl-accom-card .ofl-card-media {
  aspect-ratio: 5 / 4;
}

.ofl-villa-card .ofl-card-main {
  flex-wrap: nowrap;
  gap: 32px;
}
.ofl-villa-card .ofl-card-media {
  width: 32%;
  flex: none;
}
.ofl-villa-card .ofl-card-body {
  flex: 1 1 0;
  padding: 0;
  gap: 16px;
}
.ofl-villa-card .ofl-price {
  text-align: start;
}
.ofl-villa-card-top {
  display: grid;
  gap: 6px;
}
.ofl-villa-card .ofl-card-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.ofl-villa-card .ofl-card-stats {
  gap: 16px;
}
.ofl-villa-card .ofl-card-stat img {
  height: 30px;
  object-fit: contain;
}
.ofl-community-card .ofl-card-body,
.ofl-community-card .ofl-card-stack {
  gap: 16px;
}
.ofl-community-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ofl-community-card-details {
  min-width: 0;
}
.ofl-community-card .ofl-card-features {
  gap: 0;
  margin-bottom: 16px;
}
.ofl-community-card-footer {
  margin-top: 0;
}
.ofl-villa-card .ofl-card-features {
  gap: 0;
  margin-bottom: 16px;
}
.ofl-villa-card .ofl-card-stat img {
  width: 30px;
  height: 30px;
}

.ofl-community-card-footer .ofl-btn {
  flex-basis: calc(50% - 16px);
}
.ofl-itinerary-card .ofl-card-buttons--stacked {
  align-items: stretch;
}

@media (max-width: 991px) {
  .ofl-itinerary-card-content-stack,
  .ofl-itinerary-card-booking-stack {
    display: contents;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .ofl-itinerary-card-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.75fr);
    /* Keep the title snug; the price row absorbs the image's extra height. */
    grid-template-rows: min-content minmax(0, 1fr) auto auto;
    row-gap: 16px;
  }
  .ofl-itinerary-card .ofl-card-media {
    grid-area: 1 / 1 / 3 / 2;
  }
  .ofl-itinerary-card-titles {
    grid-area: 1 / 2 / 2 / 4;
  }
  .ofl-itinerary-card-lists {
    grid-area: 3 / 1 / 4 / 3;
  }
  .ofl-itinerary-card-price-col {
    grid-area: 2 / 2 / 3 / 4;
    align-self: start;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
  }
  .ofl-itinerary-card-booking-stack > .ofl-card-buttons {
    grid-area: 3 / 3 / 4 / 4;
  }
  .ofl-itinerary-card-bottom {
    grid-row: 4;
  }
}

@media (max-width: 767px) {
  .ofl-card {
    gap: 16px;
  }
  .ofl-card .ofl-card-title {
    font-size: 20px;
  }
  .ofl-itinerary-card .ofl-card-title,
  .ofl-villa-card .ofl-card-title,
  .ofl-community-card .ofl-card-title,
  .ofl-listing-card .ofl-card-title {
    font-size: 24px;
  }
  .ofl-listing-card-mobile-title .ofl-card-title {
    font-size: 20px;
  }

  .ofl-villa-card .ofl-card-features,
  .ofl-community-card .ofl-card-features,
  .ofl-listing-card-feature {
    display: none;
  }
  .ofl-listing-card .ofl-icon-list-lines:not(:has(.ofl-icon-pin)) {
    display: none;
  }
  .ofl-card-buttons {
    gap: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ofl-card-buttons > :nth-child(3) {
    grid-column: 1 / -1;
  }
  .ofl-listing-card--split-header > .ofl-card-buttons {
    gap: 16px;
  }
  .ofl-btn {
    min-width: 0;
    padding-inline: 16px;
  }
  .ofl-btn-long {
    display: none;
  }
  .ofl-btn-short {
    display: inline;
  }

  .ofl-triple-columns {
    grid-template-columns: 50% minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: 'title title' 'media price' 'facts facts';
    gap: 16px;
  }
  .ofl-triple-price-col {
    gap: 16px;
  }
  .ofl-deal-card-price {
    gap: 4px;
  }
  .ofl-accom-heading {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ofl-accom-location img {
    display: none;
  }
  .ofl-accom-card .ofl-card-media {
    aspect-ratio: 11 / 8;
  }
  .ofl-accom-card .ofl-card-incl,
  .ofl-deal-card .ofl-card-incl,
  .ofl-listing-card--priced .ofl-card-incl {
    font-size: var(--_typography-tokens---body-small--size, 0.875rem);
    line-height: 120%;
  }

  .ofl-villa-card .ofl-card-main,
  .ofl-community-card .ofl-card-main {
    flex-direction: column;
    gap: 16px;
  }
  .ofl-villa-card .ofl-card-media,
  .ofl-community-card .ofl-card-media {
    width: 100%;
    aspect-ratio: 11 / 8;
  }
  .ofl-villa-card .ofl-card-body,
  .ofl-community-card .ofl-card-body {
    width: 100%;
    flex: none;
  }
  .ofl-villa-card .ofl-card-details {
    display: flex;
    flex-direction: column;
  }
  .ofl-villa-card .ofl-card-stats {
    justify-content: flex-start;
  }
  .ofl-community-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ofl-community-card-footer .ofl-btn {
    flex-basis: 100%;
  }

  .ofl-listing-card-columns {
    display: grid;
    grid-template-columns: 50% minmax(0, 1fr);
    gap: 16px;
    align-items: start;
  }
  .ofl-listing-card .ofl-card-media {
    width: 100%;
    aspect-ratio: 11 / 8;
  }
  .ofl-listing-card--standard .ofl-card-media--logo,
  .ofl-listing-card--split-header:has(.ofl-listing-card-inline-cta) .ofl-card-media,
  .ofl-listing-card--expanded .ofl-card-media {
    aspect-ratio: 11 / 8;
  }
  .ofl-listing-card--expanded .ofl-listing-card-columns {
    align-items: start;
  }
  .ofl-listing-card--category .ofl-card-media img {
    aspect-ratio: 11 / 8;
  }

  .ofl-listing-card-body {
    width: 100%;
    min-width: 0;
    height: 100%;
    justify-content: space-between;
  }
  .ofl-listing-card .ofl-listing-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ofl-listing-card-mobile-title {
    display: block;
  }
  .ofl-listing-card--category .ofl-listing-card-header,
  .ofl-listing-card--ticket .ofl-listing-card-header {
    display: none;
  }
  .ofl-listing-card--category .ofl-listing-card-details,
  .ofl-listing-card--ticket .ofl-listing-card-details,
  .ofl-listing-card--standard .ofl-listing-card-details {
    flex: 1;
  }
  .ofl-listing-card--expanded .ofl-listing-card-body,
  .ofl-listing-card--split-header .ofl-listing-card-body {
    display: contents;
  }
  .ofl-listing-card--expanded .ofl-listing-card-header,
  .ofl-listing-card--split-header .ofl-listing-card-header {
    grid-column: 2;
    grid-row: 1;
  }
  .ofl-listing-card--expanded .ofl-listing-card-details,
  .ofl-listing-card--split-header .ofl-listing-card-details,
  .ofl-listing-card--split-header .ofl-listing-card-inline-cta {
    grid-column: 1 / -1;
  }
  .ofl-listing-card .ofl-listing-card-inline-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ofl-listing-card--split-header .ofl-listing-card-inline-cta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ofl-itinerary-card-columns {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(5, auto);
    gap: 8px 16px;
  }
  .ofl-itinerary-card .ofl-card-media {
    grid-area: 1 / 1 / 2 / 2;
    aspect-ratio: 11 / 8;
  }
  .ofl-itinerary-card-titles {
    grid-area: 2 / 1 / 3 / 2;
    padding-top: 8px;
  }
  .ofl-itinerary-card-price-col {
    grid-area: 3 / 1 / 4 / 2;
    justify-self: start;
    align-items: flex-start;
    text-align: left;
    padding-top: 8px;
    max-width: none;
  }
  .ofl-itinerary-card-lists {
    grid-area: 4 / 1 / 5 / 2;
    padding-bottom: 16px;
  }
  .ofl-itinerary-card-booking-stack > .ofl-card-buttons {
    display: grid;
    grid-area: 5 / 1 / 6 / 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
  }
  .ofl-itinerary-card-bottom {
    display: none;
  }
}

@media (max-width: 479px) {
  .ofl-price {
    font-size: 16px;
  }
  .ofl-card .ofl-card-title {
    font-size: 20px;
  }
  .ofl-card:is(
      .ofl-deal-card,
      .ofl-accom-card,
      .ofl-villa-card,
      .ofl-listing-card--expanded,
      .ofl-listing-card--priced
    )
    > .ofl-card-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .ofl-card:is(
      .ofl-deal-card,
      .ofl-accom-card,
      .ofl-villa-card,
      .ofl-listing-card--expanded,
      .ofl-listing-card--priced
    )
    > .ofl-card-buttons
    > .ofl-btn {
    flex: none;
    width: 100%;
  }
  .ofl-accom-card .ofl-card-buttons,
  .ofl-deal-card .ofl-card-buttons,
  .ofl-villa-card .ofl-card-buttons,
  .ofl-itinerary-card-booking-stack > .ofl-card-buttons,
  .ofl-listing-card--priced .ofl-card-buttons,
  .ofl-listing-card--expanded:has(.ofl-card-media--logo) .ofl-card-buttons {
    gap: 8px;
  }

  /* Horizontal medium Price Indicator: match Webflow's portrait variant. */
  .ofl-price-lead,
  .ofl-price-suffix,
  .ofl-card-price-lead,
  .ofl-card-price-suffix,
  .ofl-card .ofl-deal-price-lead,
  .ofl-card .ofl-deal-price-suffix {
    font-size: 1rem;
  }

  .ofl-price-amount,
  .ofl-card-price-amount,
  .ofl-card .ofl-deal-price-amount {
    font-size: 1.125rem;
    line-height: 1.4rem;
  }

  .ofl-accom-card .ofl-icon-list-lines li,
  .ofl-itinerary-card-highlights li,
  .ofl-villa-card .ofl-card-incl {
    font-size: 0.875rem;
    line-height: 140%;
  }
}

/**
 * Swiper 14.0.7
 * Most modern mobile touch slider and framework with hardware accelerated transitions
 * https://swiperjs.com
 *
 * Copyright 2014-2026 Vladimir Kharlampidi
 *
 * Released under the MIT License
 *
 * Released on: July 28, 2026
 */

:host {
  --swiper-theme-color: #007aff;
  /*
  --swiper-preloader-color: var(--swiper-theme-color);
  --swiper-wrapper-transition-timing-function: initial;
  */
}
:host {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}
.swiper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  /* Fix of Webkit flickering */
  z-index: 1;
  display: block;
}
.swiper-vertical > .swiper-wrapper {
  flex-direction: column;
}
.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-android .swiper-slide,
.swiper-ios .swiper-slide,
.swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}
.swiper-horizontal {
  touch-action: pan-y;
}
.swiper-vertical {
  touch-action: pan-x;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-slide-invisible-blank {
  visibility: hidden;
}
/* Auto Height */
.swiper-autoheight,
.swiper-autoheight .swiper-slide {
  height: auto;
}
.swiper-autoheight .swiper-wrapper {
  align-items: flex-start;
  transition-property: transform, height;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* 3D Effects */
.swiper-3d.swiper-css-mode .swiper-wrapper {
  perspective: 1200px;
}
.swiper-3d .swiper-wrapper {
  transform-style: preserve-3d;
}
.swiper-3d {
  perspective: 1200px;
  .swiper-slide,
  .swiper-cube-shadow {
    transform-style: preserve-3d;
  }
}

/* CSS Mode */
.swiper-css-mode {
  > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    &::-webkit-scrollbar {
      display: none;
    }
  }
  > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start;
  }
  &.swiper-horizontal {
    > .swiper-wrapper {
      scroll-snap-type: x mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-slides-offset-before);
      scroll-margin-inline-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-inline-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-vertical {
    > .swiper-wrapper {
      scroll-snap-type: y mandatory;
    }
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-slides-offset-before);
      scroll-margin-block-start: var(--swiper-slides-offset-before);
    }
    > .swiper-wrapper > .swiper-slide:last-child {
      margin-block-end: var(--swiper-slides-offset-after);
    }
  }
  &.swiper-free-mode {
    > .swiper-wrapper {
      scroll-snap-type: none;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: none;
    }
  }
  &.swiper-centered {
    > .swiper-wrapper::before {
      content: "";
      flex-shrink: 0;
      order: 9999;
    }
    > .swiper-wrapper > .swiper-slide {
      scroll-snap-align: center center;
      scroll-snap-stop: always;
    }
  }
  &.swiper-centered.swiper-horizontal {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-inline-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      height: 100%;
      min-height: 1px;
      width: var(--swiper-centered-offset-after);
    }
  }
  &.swiper-centered.swiper-vertical {
    > .swiper-wrapper > .swiper-slide:first-child {
      margin-block-start: var(--swiper-centered-offset-before);
    }
    > .swiper-wrapper::before {
      width: 100%;
      min-width: 1px;
      height: var(--swiper-centered-offset-after);
    }
  }
}

/* Slide styles start */
/* 3D Shadows */
.swiper-3d {
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom,
  .swiper-slide-shadow,
  .swiper-slide-shadow-left,
  .swiper-slide-shadow-right,
  .swiper-slide-shadow-top,
  .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
  }
  .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15);
  }
  .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
}
.swiper-lazy-preloader {
  width: 42px;
  height: 42px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -21px;
  margin-top: -21px;
  z-index: 10;
  transform-origin: 50%;
  box-sizing: border-box;
  border: 4px solid var(--swiper-preloader-color, var(--swiper-theme-color));
  border-radius: 50%;
  border-top-color: transparent;
}
.swiper:not(.swiper-watch-progress),
.swiper-watch-progress .swiper-slide-visible {
  .swiper-lazy-preloader {
    animation: swiper-preloader-spin 1s infinite linear;
  }
}
.swiper-lazy-preloader-white {
  --swiper-preloader-color: #fff;
}
.swiper-lazy-preloader-black {
  --swiper-preloader-color: #000;
}
@keyframes swiper-preloader-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Slide styles end */

:host {
  --swiper-navigation-size: 44px;
  /*
  --swiper-navigation-top-offset: 50%;
  --swiper-navigation-sides-offset: 4px;
  --swiper-navigation-color: var(--swiper-theme-color);
  */
}
.swiper-button-prev,
.swiper-button-next {
  position: absolute;

  width: var(--swiper-navigation-size);
  height: var(--swiper-navigation-size);

  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color));
  &.swiper-button-disabled {
    opacity: 0.35;
    cursor: auto;
    pointer-events: none;
  }
  &.swiper-button-hidden {
    opacity: 0;
    cursor: auto;
    pointer-events: none;
  }
  .swiper-navigation-disabled & {
    display: none !important;
  }

  ::slotted(svg),
  svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform-origin: center;
    fill: currentColor;
    pointer-events: none;
  }
}

.swiper-button-lock {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  top: var(--swiper-navigation-top-offset, 50%);
  margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
}
.swiper-button-prev {
  left: var(--swiper-navigation-sides-offset, 4px);
  right: auto;
  ::slotted(.swiper-navigation-icon),
  .swiper-navigation-icon {
    transform: rotate(180deg);
  }
}
.swiper-button-next {
  right: var(--swiper-navigation-sides-offset, 4px);
  left: auto;
}
.swiper-horizontal {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    top: var(--swiper-navigation-top-offset, 50%);
    margin-top: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-left: 0;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 4px);
    right: auto;
  }
  .swiper-button-next,
  & ~ .swiper-button-next,
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 4px);
    left: auto;
  }
  .swiper-button-prev,
  & ~ .swiper-button-prev,
  &.swiper-rtl .swiper-button-next,
  &.swiper-rtl ~ .swiper-button-next {
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(180deg);
    }
  }
  &.swiper-rtl .swiper-button-prev,
  &.swiper-rtl ~ .swiper-button-prev {
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(0deg);
    }
  }
}
.swiper-vertical {
  .swiper-button-prev,
  .swiper-button-next,
  ~ .swiper-button-prev,
  ~ .swiper-button-next {
    left: var(--swiper-navigation-top-offset, 50%);
    right: auto;
    margin-left: calc(0px - (var(--swiper-navigation-size) / 2));
    margin-top: 0;
  }
  .swiper-button-prev,
  ~ .swiper-button-prev {
    top: var(--swiper-navigation-sides-offset, 4px);
    bottom: auto;
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(-90deg);
    }
  }
  .swiper-button-next,
  ~ .swiper-button-next {
    bottom: var(--swiper-navigation-sides-offset, 4px);
    top: auto;
    ::slotted(.swiper-navigation-icon),
    .swiper-navigation-icon {
      transform: rotate(90deg);
    }
  }
}

