body.theme-casa-mare {
  --mare-ink: #182727;
  --mare-ink-soft: #344543;
  --mare-ocean: #153f48;
  --mare-ocean-deep: #0d3038;
  --mare-ocean-light: #dbe9e6;
  --mare-sand: #f0e7d8;
  --mare-cream: #faf7f0;
  --mare-white: #fffefa;
  --mare-clay: #af5d3e;
  --mare-gold: #d1a866;
  --mare-line: rgba(24, 39, 39, 0.14);
  --mare-muted: #687370;
  --body-font: "DM Sans", system-ui, sans-serif;
  --heading-font: "DM Serif Display", Georgia, serif;
  --bg: var(--mare-cream);
  --surface: var(--mare-white);
  --surface-soft: var(--mare-sand);
  --text: var(--mare-ink);
  --muted: var(--mare-muted);
  --line: var(--mare-line);
  --accent: var(--mare-clay);
  --dark: var(--mare-ocean-deep);
  margin: 0;
  overflow-x: hidden;
  background: var(--mare-cream);
  color: var(--mare-ink);
  font-family: var(--body-font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.theme-casa-mare *,
.theme-casa-mare *::before,
.theme-casa-mare *::after {
  box-sizing: border-box;
}

.theme-casa-mare html {
  scroll-behavior: smooth;
}

.theme-casa-mare img {
  display: block;
  max-width: 100%;
}

.theme-casa-mare button,
.theme-casa-mare input,
.theme-casa-mare select,
.theme-casa-mare textarea {
  font: inherit;
}

.theme-casa-mare button,
.theme-casa-mare a {
  -webkit-tap-highlight-color: transparent;
}

.theme-casa-mare a {
  color: inherit;
  text-decoration: none;
}

.theme-casa-mare h1,
.theme-casa-mare h2,
.theme-casa-mare h3,
.theme-casa-mare p {
  margin-top: 0;
}

.theme-casa-mare h1,
.theme-casa-mare h2,
.theme-casa-mare h3 {
  color: inherit;
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.theme-casa-mare p {
  line-height: 1.7;
}

.theme-casa-mare .container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.theme-casa-mare .section {
  padding: clamp(5.5rem, 8vw, 8rem) 0;
}

#apartment,
#gallery,
#location,
#reviews,
#availability,
#amenities,
#details,
#enquire,
#faq,
#house-rules,
#cancellation-policy,
#accessibility {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #111;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-ribbon {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 45;
  min-height: 38px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 48, 56, 0.86);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

.demo-ribbon__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.73rem;
  letter-spacing: 0.025em;
}

.demo-ribbon p {
  margin: 0;
  line-height: 1.3;
}

.demo-ribbon strong {
  color: #fff;
}

.demo-ribbon a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.rental-header {
  position: absolute;
  top: 38px;
  right: 0;
  left: 0;
  z-index: 40;
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, top 180ms ease;
}

.rental-header.is-scrolled {
  position: fixed;
  top: 0;
  color: var(--mare-ink);
  background: rgba(255, 254, 250, 0.95);
  box-shadow: 0 12px 36px rgba(13, 48, 56, 0.1);
  backdrop-filter: blur(18px);
}

.rental-header__row {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  min-height: 92px;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.rental-header.is-scrolled .rental-header__row {
  min-height: 76px;
  border-color: transparent;
}

.rental-brand {
  display: inline-flex;
  width: fit-content;
  min-width: 0;
  align-items: center;
  gap: 0.8rem;
}

.rental-brand__mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
}

.rental-brand__mark svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.4;
}

.rental-brand__words {
  display: grid;
  gap: 0.18rem;
  line-height: 1;
}

.rental-brand__words strong {
  font-family: var(--heading-font);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.rental-brand__words small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rental-header.is-scrolled .rental-brand__mark {
  border-color: var(--mare-line);
  color: var(--mare-ocean);
}

.theme-casa-mare .rental-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0;
}

.theme-casa-mare .rental-nav a,
.theme-casa-mare .rental-nav a:last-child {
  min-height: auto;
  padding: 0.4rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  position: relative;
}

.rental-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.rental-nav a:hover::after,
.rental-nav a:focus-visible::after {
  transform: scaleX(1);
}

.theme-casa-mare .button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 0.85rem 1.25rem;
  font-family: var(--body-font);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.theme-casa-mare .button:hover {
  transform: translateY(-2px);
}

.theme-casa-mare .header-booking {
  justify-self: end;
  min-height: 48px !important;
  background: var(--mare-cream);
  color: var(--mare-ocean-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
}

.header-booking svg,
.availability-submit svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-casa-mare .rental-header.is-scrolled .header-booking {
  background: var(--mare-ocean-deep);
  color: #fff;
  box-shadow: none;
}

.theme-casa-mare .nav-toggle,
.mobile-booking-bar {
  display: none;
}

.rental-hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  background: var(--mare-ocean-deep);
  color: #fff;
}

.rental-hero__image,
.rental-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rental-hero__image {
  object-fit: cover;
  object-position: 52% 52%;
  transform: scale(1.01);
}

.rental-hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 31, 36, 0.86) 0%, rgba(8, 31, 36, 0.64) 43%, rgba(8, 31, 36, 0.16) 72%, rgba(8, 31, 36, 0.08) 100%),
    linear-gradient(0deg, rgba(7, 28, 33, 0.55) 0%, rgba(7, 28, 33, 0) 40%);
}

.rental-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.65fr);
  min-height: 850px;
  align-items: end;
  gap: clamp(3rem, 7vw, 7rem);
  padding-top: 175px;
  padding-bottom: 76px;
}

.rental-hero__copy {
  max-width: 730px;
  padding-bottom: 0.25rem;
}

.rental-hero h1 {
  max-width: 780px;
  margin: 0;
  color: #fff;
  font-size: clamp(4.2rem, 7.3vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.rental-hero h1 em {
  color: #ead6bb;
  font-weight: 400;
}

.rental-hero__lead {
  max-width: 625px;
  margin: 1.8rem 0 2rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.hero-facts svg {
  width: 26px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.hero-facts span {
  display: grid;
  gap: 0.15rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.75rem;
}

.hero-facts strong {
  color: #fff;
  font-size: 0.86rem;
}

.availability-card {
  padding: 1.75rem;
  background: rgba(255, 254, 250, 0.97);
  box-shadow: 0 30px 80px rgba(5, 25, 29, 0.32);
  color: var(--mare-ink);
  backdrop-filter: blur(16px);
}

.availability-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--mare-line);
}

.availability-card__head p {
  margin: 0 0 0.35rem;
  color: var(--mare-muted);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.availability-card__head h2 {
  margin: 0;
  font-family: var(--body-font);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.availability-card__head h2 span {
  color: var(--mare-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0;
}

.sample-rating {
  display: grid;
  justify-items: end;
  gap: 0.2rem;
  font-size: 0.72rem;
}

.sample-rating strong {
  color: var(--mare-clay);
  font-size: 0.9rem;
}

.sample-rating span {
  color: var(--mare-muted);
}

.availability-form {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.25rem;
}

.availability-form label,
.enquiry-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--mare-ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.availability-form input,
.availability-form select,
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--mare-line);
  border-radius: 0;
  outline: 0;
  background: #fff;
  color: var(--mare-ink);
  padding: 0.8rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0;
}

.availability-form input:focus,
.availability-form select:focus,
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--mare-ocean);
  box-shadow: 0 0 0 3px rgba(21, 63, 72, 0.1);
}

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

.date-grid > *,
.date-grid input {
  min-width: 0;
  max-width: 100%;
}

.availability-submit {
  width: 100%;
  background: var(--mare-clay);
  color: #fff;
}

.availability-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--mare-muted);
  font-size: 0.69rem;
  line-height: 1.4;
  text-align: center;
}

.availability-note svg {
  width: 15px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.availability-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid rgba(21, 89, 72, 0.22);
  background: #eef7f1;
}

.availability-result[hidden] {
  display: none;
}

.availability-result__icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: #246b56;
  color: #fff;
  font-size: 0.76rem;
}

.availability-result strong {
  color: #1a5545;
  font-size: 0.8rem;
}

.availability-result p {
  margin: 0.25rem 0 0;
  color: #49635b;
  font-size: 0.7rem;
  line-height: 1.45;
}

.reassurance-strip {
  border-bottom: 1px solid var(--mare-line);
  background: var(--mare-white);
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.reassurance-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 122px;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 1.5rem;
  border-right: 1px solid var(--mare-line);
}

.reassurance-grid article:first-child {
  border-left: 1px solid var(--mare-line);
}

.reassurance-grid svg {
  width: 28px;
  fill: none;
  stroke: var(--mare-clay);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.reassurance-grid div {
  display: grid;
  gap: 0.22rem;
}

.reassurance-grid strong {
  font-size: 0.85rem;
}

.reassurance-grid span {
  color: var(--mare-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

.apartment-intro {
  background: var(--mare-cream);
}

.apartment-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.rental-heading h2,
.gallery-heading h2,
.stay-details h2,
.amenities-intro h2,
.location-copy h2,
.reviews-heading h2,
.host-copy h2,
.booking-copy h2,
.faq-heading h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.98;
  text-wrap: balance;
}

.apartment-intro__lead {
  margin-bottom: 1.4rem;
  color: var(--mare-ink);
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.3;
}

.apartment-intro__copy > p:not(.apartment-intro__lead) {
  max-width: 680px;
  color: var(--mare-muted);
  font-size: 1rem;
}

.theme-casa-mare .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid currentColor;
  color: var(--mare-ocean);
  font-size: 0.86rem;
  font-weight: 700;
}

.property-facts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: clamp(4rem, 7vw, 6.5rem);
  margin-bottom: 0;
  padding: 0;
  border-top: 1px solid var(--mare-line);
  border-bottom: 1px solid var(--mare-line);
  list-style: none;
}

.property-facts li {
  display: grid;
  min-height: 120px;
  align-content: center;
  gap: 0.3rem;
  padding: 1rem 1.35rem;
  border-right: 1px solid var(--mare-line);
}

.property-facts li:last-child {
  border-right: 0;
}

.property-facts strong {
  font-family: var(--heading-font);
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1;
}

.property-facts span {
  color: var(--mare-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gallery-section {
  padding-top: 1rem !important;
  background: var(--mare-cream);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.gallery-heading h2 {
  font-size: clamp(3rem, 5vw, 4.5rem);
}

.gallery-button {
  border-color: var(--mare-line) !important;
  background: transparent;
  color: var(--mare-ink);
}

.gallery-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.property-gallery {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 0.75fr;
  grid-template-rows: 280px 280px;
  gap: 0.75rem;
}

.gallery-tile {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--mare-sand);
  cursor: zoom-in;
}

.gallery-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 30, 35, 0.54), rgba(7, 30, 35, 0) 36%);
  transition: background 180ms ease;
}

.gallery-tile:hover::after,
.gallery-tile:focus-visible::after {
  background: linear-gradient(0deg, rgba(7, 30, 35, 0.62), rgba(7, 30, 35, 0.05) 60%);
}

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

.gallery-tile:hover img,
.gallery-tile:focus-visible img {
  transform: scale(1.025);
}

.gallery-tile span {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  left: 1.1rem;
  z-index: 2;
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.gallery-tile--main {
  grid-row: 1 / 3;
}

.gallery-tile--bedroom {
  grid-column: 2 / 4;
}

.gallery-tile--kitchen img {
  object-position: 25% center;
}

.stay-details {
  background: var(--mare-white);
}

.stay-details__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.68fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.stay-details__copy > p {
  max-width: 650px;
  margin: 1.8rem 0 0;
  color: var(--mare-muted);
}

.room-list {
  margin-top: 3.25rem;
  border-top: 1px solid var(--mare-line);
}

.room-list article {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--mare-line);
}

.room-number {
  color: var(--mare-clay);
  font-family: var(--heading-font);
  font-size: 1.35rem;
}

.room-list h3 {
  margin: 0 0 0.3rem;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.room-list p {
  margin: 0;
  color: var(--mare-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.room-bed {
  align-self: start;
  margin-top: 0.1rem;
  padding: 0.35rem 0.55rem;
  background: var(--mare-sand);
  color: var(--mare-ink-soft);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.stay-card {
  position: sticky;
  top: 110px;
  background: var(--mare-ocean-deep);
  color: #fff;
}

.stay-card img {
  width: 100%;
  height: 385px;
  object-fit: cover;
}

.stay-card__caption {
  padding: 2rem;
}

.stay-card h3 {
  max-width: 380px;
  margin: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1.08;
}

.stay-card ul {
  display: grid;
  gap: 0.7rem;
  margin: 1.5rem 0 0;
  padding: 1.35rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  list-style: none;
}

.stay-card li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.stay-card li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--mare-gold);
  font-size: 1.5rem;
  line-height: 0.7;
}

.amenities-section {
  background: var(--mare-sand);
}

.amenities-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.amenities-layout > *,
.amenities-grid,
.amenities-grid article {
  min-width: 0;
}

.amenities-intro {
  position: sticky;
  top: 110px;
}

.amenities-intro h2 {
  font-size: clamp(3rem, 4.5vw, 4.3rem);
  overflow-wrap: anywhere;
}

.amenities-intro > p {
  margin: 1.5rem 0;
  color: var(--mare-muted);
}

.amenities-toggle {
  min-height: 48px !important;
  border-color: rgba(24, 39, 39, 0.22) !important;
  background: transparent;
  color: var(--mare-ink);
}

.amenities-toggle span {
  font-size: 1.2rem;
  line-height: 0;
  transition: transform 180ms ease;
}

.amenities-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}

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

.amenities-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 180px;
  align-content: start;
  gap: 1rem;
  padding: 1.65rem;
  border: 1px solid rgba(24, 39, 39, 0.1);
  background: rgba(255, 254, 250, 0.66);
}

.amenities-grid article[hidden] {
  display: none;
}

.amenities-grid svg {
  width: 32px;
  fill: none;
  stroke: var(--mare-clay);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.3;
}

.amenities-grid h3 {
  margin: 0 0 0.45rem;
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.amenities-grid p {
  margin: 0;
  color: var(--mare-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.location-section {
  position: relative;
  overflow: hidden;
  background: var(--mare-ocean-deep);
  color: #fff;
}

.location-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.location-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.location-copy h2,
.booking-copy h2 {
  color: #fff;
}

.location-copy > p {
  margin: 1.75rem 0 2.25rem;
  color: rgba(255, 255, 255, 0.68);
}

.distance-list {
  margin: 0 0 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.distance-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
}

.distance-list dt {
  font-weight: 600;
}

.distance-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.theme-casa-mare .location-button {
  background: var(--mare-sand);
  color: var(--mare-ocean-deep);
}

.location-map {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background:
    linear-gradient(34deg, transparent 49.5%, rgba(29, 66, 66, 0.08) 50%, transparent 50.5%) 0 0 / 68px 68px,
    #e9e1d3;
  color: var(--mare-ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.map-ocean {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: flex;
  width: 34%;
  align-items: end;
  padding: 2rem 1.5rem;
  background: #9abfc0;
  color: rgba(13, 48, 56, 0.7);
  font-family: var(--heading-font);
  font-size: 1.3rem;
  font-style: italic;
}

.map-coast {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 29%;
  width: 12%;
  border-right: 3px solid rgba(255, 255, 255, 0.75);
  background: #d7c99f;
  clip-path: polygon(30% 0, 84% 10%, 45% 25%, 80% 40%, 20% 55%, 69% 70%, 36% 86%, 76% 100%, 0 100%, 0 0);
}

.map-road {
  position: absolute;
  display: block;
  height: 8px;
  border: 1px solid rgba(24, 39, 39, 0.18);
  border-width: 1px 0;
  background: rgba(255, 254, 250, 0.78);
}

.map-road--one {
  top: 26%;
  left: 34%;
  width: 78%;
  transform: rotate(-12deg);
}

.map-road--two {
  top: 58%;
  left: 30%;
  width: 78%;
  transform: rotate(9deg);
}

.map-road--three {
  top: 0;
  bottom: 0;
  left: 67%;
  width: 7px;
  height: 100%;
  transform: rotate(19deg);
}

.map-label {
  position: absolute;
  z-index: 2;
  padding: 0.28rem 0.45rem;
  background: rgba(255, 254, 250, 0.82);
  color: rgba(24, 39, 39, 0.72);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.map-label--beach { top: 60%; left: 12%; }
.map-label--village { top: 18%; left: 44%; }
.map-label--market { right: 10%; bottom: 19%; }

.map-pin {
  position: absolute;
  z-index: 4;
}

.map-pin i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50% 50% 50% 0;
  background: var(--mare-clay);
  box-shadow: 0 6px 20px rgba(24, 39, 39, 0.2);
  transform: rotate(-45deg);
}

.map-pin--home {
  top: 38%;
  left: 63%;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--mare-white);
  box-shadow: 0 15px 40px rgba(24, 39, 39, 0.2);
}

.map-pin--home i {
  grid-row: 1 / 3;
}

.map-pin--home strong,
.map-pin--home small {
  display: block;
  line-height: 1.15;
}

.map-pin--home strong {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 400;
}

.map-pin--home small {
  color: var(--mare-muted);
  font-size: 0.58rem;
}

.map-pin--beach {
  bottom: 27%;
  left: 27%;
}

.map-pin--beach i {
  width: 18px;
  height: 18px;
  background: var(--mare-ocean);
}

.map-compass {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--mare-line);
  border-radius: 50%;
  background: rgba(255, 254, 250, 0.75);
  font-family: var(--heading-font);
}

.map-compass::after {
  content: "";
  position: absolute;
  top: 3px;
  border-right: 4px solid transparent;
  border-bottom: 7px solid var(--mare-clay);
  border-left: 4px solid transparent;
}

.reviews-section {
  background: var(--mare-cream);
}

.reviews-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.reviews-heading h2 {
  max-width: 750px;
}

.review-score {
  display: grid;
  min-width: 150px;
  justify-items: end;
  gap: 0.25rem;
}

.review-score strong {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.review-score span {
  color: var(--mare-clay);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.review-score small {
  color: var(--mare-muted);
  font-size: 0.65rem;
}

.sample-review-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(175, 93, 62, 0.18);
  background: rgba(175, 93, 62, 0.06);
}

.sample-review-note span {
  flex: 0 0 auto;
  padding: 0.25rem 0.45rem;
  background: var(--mare-clay);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-review-note p {
  margin: 0;
  color: var(--mare-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.review-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--mare-line);
  background: var(--mare-white);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mare-muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.review-card__top strong {
  color: var(--mare-clay);
}

.review-card blockquote {
  margin: 2.3rem 0;
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.33;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.review-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--mare-ocean);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.review-avatar--sand { background: #a07a4d; }
.review-avatar--clay { background: var(--mare-clay); }

.review-card footer div {
  display: grid;
  gap: 0.15rem;
}

.review-card footer strong {
  font-size: 0.78rem;
}

.review-card footer small {
  color: var(--mare-muted);
  font-size: 0.62rem;
}

.host-section {
  padding-top: 0 !important;
  background: var(--mare-cream);
}

.host-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--mare-sand);
}

.host-avatar {
  position: relative;
  display: grid;
  width: 170px;
  height: 170px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.35), transparent 24%),
    var(--mare-ocean);
  color: #fff;
}

.host-avatar::before,
.host-avatar::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.host-avatar::before { inset: 13px; }
.host-avatar::after { inset: 27px; }

.host-avatar span {
  position: relative;
  z-index: 1;
  font-family: var(--heading-font);
  font-size: 2.5rem;
}

.host-copy h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.host-copy > p {
  max-width: 670px;
  margin: 1.25rem 0;
  color: var(--mare-muted);
  font-size: 0.9rem;
}

.host-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.host-copy li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.host-copy li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mare-clay);
}

.theme-casa-mare .host-button {
  border-color: rgba(24, 39, 39, 0.22) !important;
  background: transparent;
  color: var(--mare-ink);
}

.booking-section {
  background: var(--mare-ocean);
  color: #fff;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(460px, 1.05fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.booking-copy > p {
  max-width: 560px;
  margin: 1.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.booking-price {
  display: grid;
  width: fit-content;
  grid-template-columns: auto auto;
  align-items: end;
  gap: 0.15rem 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.booking-price span {
  grid-column: 1 / 3;
  color: #dfbc80;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-price strong {
  font-family: var(--heading-font);
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 1;
}

.booking-price small {
  max-width: 190px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.63rem;
  line-height: 1.4;
}

.enquiry-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--mare-white);
  color: var(--mare-ink);
}

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

.form-wide {
  grid-column: 1 / 3;
}

.enquiry-form textarea {
  min-height: 94px;
  resize: vertical;
}

.enquiry-form label small {
  color: var(--mare-muted);
  font-weight: 500;
}

.enquiry-submit {
  width: 100%;
  margin-top: 1rem;
  background: var(--mare-clay);
  color: #fff;
}

.enquiry-submit span {
  font-size: 1rem;
}

.enquiry-form .form-note {
  margin: 0.75rem 0 0;
  color: var(--mare-muted);
  font-size: 0.66rem;
  text-align: center;
}

.enquiry-form .form-message {
  min-height: 0;
  margin-top: 0.65rem;
  font-size: 0.75rem;
  text-align: center;
}

.enquiry-form .form-message.success {
  padding: 0.75rem;
  background: #eaf5ed;
  color: #1f664d;
}

.enquiry-form .form-message.error {
  padding: 0.75rem;
  background: #fff0eb;
  color: #8d3c25;
}

.faq-section {
  background: var(--mare-white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 9vw, 9rem);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 110px;
}

.faq-heading h2 {
  font-size: clamp(3rem, 4.5vw, 4.4rem);
}

.faq-heading > p {
  max-width: 420px;
  margin: 1.5rem 0;
  color: var(--mare-muted);
}

.theme-casa-mare .faq-list {
  display: block;
}

.faq-list details {
  border-top: 1px solid var(--mare-line);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--mare-line);
}

.faq-list summary {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--mare-ink);
  font-family: var(--body-font);
  font-size: 0.98rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--mare-line);
  border-radius: 50%;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-list summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-list details p {
  max-width: 700px;
  margin: -0.4rem 3rem 1.5rem 0;
  color: var(--mare-muted);
  font-size: 0.84rem;
}

.rental-footer {
  padding: 4.5rem 0 1.5rem;
  background: #0a292f;
  color: #fff;
}

.rental-footer__top {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.75fr) 1fr;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.rental-brand--footer .rental-brand__mark {
  border-color: rgba(255, 255, 255, 0.32);
}

.rental-footer__top > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.theme-casa-mare .footer-button {
  justify-self: end;
  background: var(--mare-sand);
  color: var(--mare-ocean-deep);
}

.rental-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.rental-footer__links nav,
.rental-footer__links > div {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.rental-footer__links a,
.rental-footer__links p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
  line-height: 1.6;
}

.rental-footer__links p {
  margin: 0;
}

.rental-footer__links strong {
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
}

.rental-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

.rental-footer__bottom p {
  margin: 0;
}

.gallery-dialog {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  margin: auto;
  border: 0;
  padding: 0;
  background: #0b252b;
  color: #fff;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.52);
}

.gallery-dialog::backdrop {
  background: rgba(3, 17, 20, 0.86);
  backdrop-filter: blur(8px);
}

.gallery-dialog__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.gallery-dialog__top p {
  margin: 0 0 0.15rem;
  color: #dfbc80;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-dialog__top h2 {
  margin: 0;
  color: #fff;
  font-size: 1.55rem;
}

.gallery-dialog__top button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
}

.gallery-dialog__stage {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 60px;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.gallery-dialog__stage figure {
  margin: 0;
}

.gallery-dialog__stage img {
  width: 100%;
  height: min(61vh, 680px);
  object-fit: cover;
}

.gallery-dialog__stage figcaption {
  padding: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
}

.gallery-dialog__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.gallery-dialog__thumbs {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  padding: 0 1.25rem 1.25rem;
}

.gallery-dialog__thumbs button {
  width: 76px;
  height: 50px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: transparent;
  opacity: 0.55;
  cursor: pointer;
}

.gallery-dialog__thumbs button.is-active {
  border-color: #dfbc80;
  opacity: 1;
}

.gallery-dialog__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1080px) {
  .theme-casa-mare .container {
    width: min(100% - 44px, 1120px);
  }

  .rental-header__row {
    grid-template-columns: 1fr auto auto;
  }

  .theme-casa-mare .nav-toggle {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid currentColor;
    border-radius: 0;
    padding: 0.6rem 0.8rem;
    background: transparent;
    color: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    justify-self: end;
  }

  .nav-toggle i,
  .nav-toggle i::before {
    display: block;
    width: 16px;
    height: 1px;
    background: currentColor;
  }

  .nav-toggle i {
    position: relative;
  }

  .nav-toggle i::before {
    content: "";
    position: absolute;
    top: -5px;
  }

  .theme-casa-mare .rental-nav {
    position: absolute;
    top: 100%;
    right: 22px;
    left: 22px;
    width: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1rem;
    border: 1px solid var(--mare-line);
    background: rgba(255, 254, 250, 0.98);
    box-shadow: 0 22px 50px rgba(13, 48, 56, 0.18);
    color: var(--mare-ink);
  }

  .theme-casa-mare .rental-nav.open {
    display: flex;
  }

  .theme-casa-mare .rental-nav a,
  .theme-casa-mare .rental-nav a:last-child {
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--mare-line);
  }

  .theme-casa-mare .rental-nav a:last-child {
    border-bottom: 0;
  }

  .rental-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
    gap: 2rem;
  }

  .rental-hero h1 {
    font-size: clamp(4rem, 8vw, 6rem);
  }

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

  .reassurance-grid article:nth-child(2) {
    border-right: 0;
  }

  .reassurance-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--mare-line);
  }

  .property-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .property-facts li:nth-child(3) {
    border-right: 0;
  }

  .property-facts li:nth-child(-n + 3) {
    border-bottom: 1px solid var(--mare-line);
  }

  .location-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
    gap: 3rem;
  }

  .location-map {
    min-height: 530px;
  }
}

@media (min-width: 821px) and (max-width: 1240px) {
  .availability-card .date-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .demo-ribbon__inner p {
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-booking {
    display: none !important;
  }

  .rental-header__row {
    grid-template-columns: 1fr auto;
  }

  .rental-hero,
  .rental-hero__layout {
    min-height: 0;
  }

  .rental-hero__image {
    object-position: 56% center;
  }

  .rental-hero__shade {
    background:
      linear-gradient(0deg, rgba(6, 28, 33, 0.88) 0%, rgba(6, 28, 33, 0.48) 65%, rgba(6, 28, 33, 0.18) 100%),
      linear-gradient(90deg, rgba(6, 28, 33, 0.48), transparent 75%);
  }

  .rental-hero__layout {
    grid-template-columns: 1fr;
    align-items: end;
    gap: 2.5rem;
    padding-top: 210px;
    padding-bottom: 3rem;
  }

  .rental-hero__copy {
    max-width: 650px;
  }

  .availability-card {
    max-width: 620px;
  }

  .apartment-intro__grid,
  .stay-details__layout,
  .amenities-layout,
  .location-grid,
  .booking-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stay-card,
  .amenities-intro,
  .faq-heading {
    position: static;
  }

  .property-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 400px 250px 250px;
  }

  .gallery-tile--main {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .gallery-tile--bedroom {
    grid-column: 1 / 3;
  }

  .location-map {
    min-height: 520px;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 0;
  }

  .host-card {
    grid-template-columns: auto 1fr;
  }

  .host-button {
    grid-column: 1 / 3;
    justify-self: start;
  }

  .rental-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .rental-footer__top > p {
    grid-column: 1 / 3;
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .theme-casa-mare {
    padding-bottom: 76px;
  }

  .theme-casa-mare .container {
    width: calc(100% - 32px);
  }

  .theme-casa-mare .section {
    padding: 4.5rem 0;
  }

  .demo-ribbon {
    min-height: 34px;
  }

  .demo-ribbon__inner {
    min-height: 34px;
  }

  .demo-ribbon__inner p {
    max-width: none;
    font-size: 0;
  }

  .demo-ribbon__inner p strong {
    font-size: 0.65rem;
  }

  .demo-ribbon a {
    font-size: 0.62rem;
  }

  .rental-header {
    top: 34px;
  }

  .rental-header__row {
    min-height: 76px;
  }

  .rental-brand__mark {
    width: 36px;
    height: 36px;
  }

  .rental-brand__mark svg {
    width: 27px;
  }

  .rental-brand__words strong {
    font-size: 1.28rem;
  }

  .rental-brand__words small {
    font-size: 0.53rem;
  }

  .nav-toggle span {
    display: none;
  }

  .theme-casa-mare .nav-toggle {
    width: 42px;
    justify-content: center;
    padding: 0.5rem;
  }

  .mobile-booking-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(124px, auto);
    min-height: 76px;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 1rem;
    border-top: 1px solid var(--mare-line);
    background: rgba(255, 254, 250, 0.97);
    color: var(--mare-ink);
    box-shadow: 0 -12px 38px rgba(13, 48, 56, 0.12);
    backdrop-filter: blur(16px);
  }

  .mobile-booking-bar div {
    display: grid;
    gap: 0.1rem;
  }

  .mobile-booking-bar small {
    color: var(--mare-muted);
    font-size: 0.58rem;
  }

  .mobile-booking-bar strong {
    font-size: 1rem;
  }

  .mobile-booking-bar strong span {
    color: var(--mare-muted);
    font-size: 0.65rem;
    font-weight: 500;
  }

  .mobile-booking-bar a {
    display: inline-flex;
    min-width: 124px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    background: var(--mare-clay);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .rental-hero__layout {
    gap: 1.75rem;
    padding-top: 190px;
    padding-bottom: 1.25rem;
  }

  .rental-hero__image {
    height: 690px;
    object-position: 58% center;
  }

  .rental-hero__shade {
    height: 690px;
  }

  .rental-hero h1 {
    font-size: clamp(3.4rem, 16vw, 4.65rem);
    line-height: 0.9;
  }

  .rental-hero__lead {
    margin: 1.25rem 0 1.45rem;
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .hero-facts li:last-child {
    grid-column: 1 / 3;
  }

  .availability-card {
    margin-top: 1.25rem;
    padding: 1.25rem;
    box-shadow: 0 18px 44px rgba(5, 25, 29, 0.25);
  }

  .availability-card__head h2 {
    font-size: 1.6rem;
  }

  .sample-rating span {
    display: none;
  }

  .date-grid {
    gap: 0.55rem;
  }

  .availability-form input,
  .availability-form select {
    padding: 0.72rem 0.55rem;
    font-size: 0.76rem;
  }

  .reassurance-grid {
    grid-template-columns: 1fr;
  }

  .reassurance-grid article,
  .reassurance-grid article:first-child,
  .reassurance-grid article:nth-child(2) {
    min-height: 95px;
    border-right: 0;
    border-bottom: 1px solid var(--mare-line);
    border-left: 0;
    padding: 1rem 0.25rem;
  }

  .reassurance-grid article:last-child {
    border-bottom: 0;
  }

  .rental-heading h2,
  .gallery-heading h2,
  .stay-details h2,
  .amenities-intro h2,
  .location-copy h2,
  .reviews-heading h2,
  .booking-copy h2,
  .faq-heading h2 {
    font-size: clamp(2.65rem, 12vw, 3.55rem);
  }

  .apartment-intro__lead {
    font-size: 1.45rem;
  }

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

  .property-facts li,
  .property-facts li:nth-child(3) {
    min-height: 100px;
    border-right: 1px solid var(--mare-line);
    border-bottom: 1px solid var(--mare-line);
    padding: 1rem;
  }

  .property-facts li:nth-child(2n) {
    border-right: 0;
  }

  .property-facts li:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .gallery-heading,
  .reviews-heading {
    display: grid;
    align-items: start;
  }

  .gallery-button {
    width: 100%;
  }

  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 320px repeat(3, 230px);
  }

  .gallery-tile--main,
  .gallery-tile--bedroom {
    grid-column: 1;
    grid-row: auto;
  }

  .room-list article {
    grid-template-columns: 34px 1fr;
  }

  .room-bed {
    grid-column: 2;
    width: fit-content;
  }

  .stay-card img {
    height: 300px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenities-grid article {
    min-height: 0;
  }

  .location-map {
    min-height: 430px;
  }

  .map-ocean {
    width: 38%;
    font-size: 1rem;
  }

  .map-pin--home {
    top: 38%;
    left: 50%;
  }

  .map-label--market {
    display: none;
  }

  .review-score {
    justify-items: start;
  }

  .sample-review-note {
    align-items: start;
  }

  .review-card {
    padding: 1.35rem;
  }

  .host-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .host-avatar {
    width: 120px;
    height: 120px;
  }

  .host-button {
    grid-column: auto;
    width: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-wide {
    grid-column: auto;
  }

  .rental-footer__top,
  .rental-footer__links {
    grid-template-columns: 1fr;
  }

  .rental-footer__top > p {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-button {
    width: 100%;
    justify-self: stretch;
  }

  .rental-footer__bottom {
    display: grid;
  }

  .gallery-dialog {
    width: calc(100% - 20px);
    max-height: calc(100vh - 20px);
  }

  .gallery-dialog__stage {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 0.35rem;
    padding: 0.75rem;
  }

  .gallery-dialog__stage img {
    height: 54vh;
  }

  .gallery-dialog__arrow {
    width: 36px;
    height: 36px;
  }

  .gallery-dialog__thumbs button {
    width: 58px;
    height: 42px;
  }
}

@media (min-width: 621px) and (max-width: 759px) {
  body.theme-casa-mare {
    padding-bottom: 0;
  }
}

@media (max-width: 360px) {
  .date-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-casa-mare *,
  .theme-casa-mare *::before,
  .theme-casa-mare *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
