/* =========================================================
   LIMNES SEASIDE — Minimal variant stylesheet
   ========================================================= */

:root {
  --c-ink:      #111111;
  --c-muted:    #6b7280;
  --c-faint:    #f5f5f4;
  --c-border:   #e5e5e5;
  --c-white:    #ffffff;
  --c-accent:   #2980b9;
  --c-sand:     #d4a843;

  --font: 'Ubuntu', system-ui, sans-serif;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 7rem;

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 20px;

  --t: 250ms ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

/* ── CONTAINER ── */
.m-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

/* ── NAV ── */
.m-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

.m-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.m-nav__logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-ink);
}

.m-nav__logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--c-sand);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.m-nav__links {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
  align-items: center;
}

.m-nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color var(--t);
}

.m-nav__links a:hover { color: var(--c-ink); }

.m-nav__links .m-nav__cta {
  background: var(--c-ink);
  color: var(--c-white);
  padding: .45rem 1rem;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 500;
  transition: opacity var(--t);
}

.m-nav__links .m-nav__cta:hover { opacity: .8; color: var(--c-white); }

/* ── HERO ── */
.m-hero {
  padding: var(--sp-xl) 0 var(--sp-lg);
  border-bottom: 1px solid var(--c-border);
}

.m-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.m-hero__label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-sm);
}

.m-hero__title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--c-ink);
  margin-bottom: var(--sp-sm);
}

.m-hero__title em {
  font-style: normal;
  color: var(--c-accent);
}

.m-hero__sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 38ch;
  margin-bottom: var(--sp-md);
}

.m-hero__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── BUTTONS ── */
.m-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--t);
  cursor: pointer;
}

.m-btn--dark {
  background: var(--c-ink);
  color: var(--c-white);
}

.m-btn--dark:hover { opacity: .8; }

.m-btn--ghost {
  border: 1px solid var(--c-border);
  color: var(--c-ink);
}

.m-btn--ghost:hover { background: var(--c-faint); border-color: #ccc; }

/* ── HERO PHOTO GRID ── */
.m-hero__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: .5rem;
}

.m-hero__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}

.m-hero__photos img:first-child {
  grid-row: span 2;
  border-radius: var(--r-lg);
}

/* ── SECTION ── */
.m-section {
  padding: var(--sp-lg) 0;
}

.m-section--alt {
  background: var(--c-faint);
}

.m-section__head {
  margin-bottom: var(--sp-md);
}

.m-section__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .5rem;
}

.m-section__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-ink);
  line-height: 1.15;
}

.m-section__sub {
  margin-top: .6rem;
  color: var(--c-muted);
  font-size: 1rem;
  max-width: 52ch;
}

/* ── PROPERTY CARDS (bento style) ── */
.m-properties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.m-prop-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-faint);
  display: block;
  text-decoration: none;
}

.m-prop-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.m-prop-card:hover img { transform: scale(1.04); }

.m-prop-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}

.m-prop-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-md);
  color: #fff;
}

.m-prop-card__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  padding: .25rem .6rem;
  border-radius: 100px;
  margin-bottom: .5rem;
}

.m-prop-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .3rem;
}

.m-prop-card__meta {
  font-size: .85rem;
  opacity: .8;
  margin-bottom: .75rem;
}

.m-prop-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(4px);
  padding: .4rem .9rem;
  border-radius: 100px;
  color: #fff;
  transition: background var(--t);
}

.m-prop-card__link:hover { background: rgba(255,255,255,.28); }

/* ── STATS STRIP ── */
.m-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-md);
}

.m-stat {
  background: var(--c-white);
  padding: var(--sp-md);
  text-align: center;
}

.m-stat__num {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--c-ink);
  line-height: 1;
}

.m-stat__label {
  font-size: .8rem;
  color: var(--c-muted);
  margin-top: .3rem;
}

/* ── WHY DIRECT ── */
.m-why {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--sp-lg);
  align-items: start;
}

.m-why__reasons {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--c-border);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.m-why__reason {
  background: var(--c-white);
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  gap: var(--sp-sm);
  align-items: flex-start;
}

.m-why__reason-num {
  font-size: .75rem;
  font-weight: 700;
  color: var(--c-accent);
  min-width: 1.5rem;
  padding-top: .1rem;
}

.m-why__reason-body h4 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: .2rem;
}

.m-why__reason-body p {
  font-size: .875rem;
  color: var(--c-muted);
  margin: 0;
}

/* ── LOCATION ── */
.m-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.m-places {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: var(--sp-sm);
}

.m-place {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--c-border);
  font-size: .9rem;
}

.m-place:last-child { border-bottom: none; }

.m-place__name { color: var(--c-ink); font-weight: 500; }
.m-place__dist { color: var(--c-muted); font-size: .8rem; }

.m-map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  height: 320px;
}

.m-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── PHOTO STRIP ── */
.m-photos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .4rem;
}

.m-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  transition: opacity var(--t);
}

.m-photos img:hover { opacity: .85; }

/* ── CONTACT ── */
.m-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}

.m-contact-card {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-sm) var(--sp-md);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-white);
  color: var(--c-ink);
  transition: border-color var(--t), box-shadow var(--t);
  text-decoration: none;
}

.m-contact-card:hover {
  border-color: #999;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.m-contact-card__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--c-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-muted);
}

.m-contact-card__icon svg { width: 18px; height: 18px; }

.m-contact-card__label {
  font-size: .75rem;
  color: var(--c-muted);
  margin-bottom: .1rem;
}

.m-contact-card__value {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-ink);
}

/* ── FOOTER ── */
.m-footer {
  border-top: 1px solid var(--c-border);
  padding: var(--sp-lg) 0 var(--sp-md);
}

.m-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.m-footer__brand-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.m-footer__brand-sub {
  font-size: .85rem;
  color: var(--c-muted);
}

.m-footer__col h4 {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .75rem;
}

.m-footer__col ul { list-style: none; }

.m-footer__col li { margin-bottom: .4rem; }

.m-footer__col a {
  font-size: .85rem;
  color: var(--c-muted);
  transition: color var(--t);
}

.m-footer__col a:hover { color: var(--c-ink); }

.m-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-sm);
  border-top: 1px solid var(--c-border);
  font-size: .8rem;
  color: var(--c-muted);
}

/* ── PROPERTY PAGE HEADER ── */
.m-prop-header {
  padding: var(--sp-lg) 0 var(--sp-md);
  border-bottom: 1px solid var(--c-border);
}

.m-prop-header__breadcrumb {
  font-size: .8rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-sm);
}

.m-prop-header__breadcrumb a {
  color: var(--c-muted);
  transition: color var(--t);
}

.m-prop-header__breadcrumb a:hover { color: var(--c-ink); }

.m-prop-header__breadcrumb span { margin: 0 .4rem; }

.m-prop-header__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--c-ink);
  line-height: 1.1;
  margin-bottom: .75rem;
}

.m-prop-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-bottom: var(--sp-sm);
}

.m-prop-header__badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: .3rem .8rem;
  color: var(--c-muted);
}

/* ── PROPERTY PHOTO INTRO GRID ── */
.m-intro-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: .4rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: var(--sp-md);
}

.m-intro-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-intro-grid img:first-child {
  grid-row: span 2;
}

/* ── PROPERTY BODY LAYOUT ── */
.m-prop-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-lg);
  align-items: start;
  padding: var(--sp-lg) 0;
}

.m-prop-body__main { min-width: 0; }

.m-prop-body__main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: var(--sp-sm);
}

.m-prop-body__main p {
  color: var(--c-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1em;
}

.m-prop-body__main ul {
  padding-left: 1.2rem;
  color: var(--c-muted);
  font-size: .9rem;
  line-height: 2;
}

.m-prop-body__divider {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: var(--sp-md) 0;
}

/* ── BOOKING SIDEBAR ── */
.m-sidebar {
  position: sticky;
  top: 76px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.m-sidebar__head {
  padding: var(--sp-sm) var(--sp-md);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-faint);
}

.m-sidebar__head-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .25rem;
}

.m-sidebar__head-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
}

.m-sidebar__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--c-border);
}

.m-sidebar__stat {
  background: var(--c-white);
  padding: .75rem var(--sp-sm);
  text-align: center;
}

.m-sidebar__stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-ink);
  display: block;
  line-height: 1;
}

.m-sidebar__stat-label {
  font-size: .7rem;
  color: var(--c-muted);
  margin-top: .2rem;
}

.m-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: var(--sp-sm) var(--sp-md);
}

.m-sidebar__note {
  padding: 0 var(--sp-md) var(--sp-sm);
  font-size: .75rem;
  color: var(--c-muted);
  text-align: center;
  line-height: 1.5;
}

.m-btn--airbnb {
  background: #ff5a5f;
  color: #fff;
}

.m-btn--airbnb:hover { opacity: .88; }

.m-btn--booking {
  background: #003580;
  color: #fff;
}

.m-btn--booking:hover { opacity: .88; }

.m-btn--full {
  width: 100%;
  justify-content: center;
  border-radius: var(--r-md);
}

/* ── AMENITIES GRID ── */
.m-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: .4rem;
}

.m-amenity {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .75rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-size: .85rem;
  color: var(--c-ink);
  background: var(--c-white);
}

.m-amenity svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--c-muted);
}

/* ── GALLERY GRID ── */
.m-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .4rem;
}

.m-gallery a {
  display: block;
  overflow: hidden;
  border-radius: var(--r-sm);
}

.m-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease;
}

.m-gallery a:hover img { transform: scale(1.04); }

/* ── GALLERY CATEGORIES ── */
.m-gallery-cat { margin-bottom: var(--sp-md); }
.m-gallery-cat:last-child { margin-bottom: 0; }

.m-gallery-cat__label {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .5rem;
}

.m-gallery-cat__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--c-border);
}

/* ── BOOKING CTA STRIP ── */
.m-cta-strip {
  background: var(--c-ink);
  border-radius: var(--r-lg);
  padding: var(--sp-md) var(--sp-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  margin: var(--sp-lg) 0;
}

.m-cta-strip__text h3 {
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: -.01em;
  margin-bottom: .2rem;
}

.m-cta-strip__text p {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  margin: 0;
}

.m-cta-strip__actions {
  display: flex;
  gap: .5rem;
  flex-shrink: 0;
}

/* ── CROSS-SELL CARD ── */
.m-crosssell {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--sp-md);
  align-items: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t), box-shadow var(--t);
}

.m-crosssell:hover {
  border-color: #bbb;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.m-crosssell img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.m-crosssell__body { padding: var(--sp-md); }

.m-crosssell__label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .4rem;
}

.m-crosssell__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-ink);
  margin-bottom: .4rem;
}

.m-crosssell__sub {
  font-size: .875rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-sm);
}

/* ── SEASONAL RATES ── */
.m-sidebar__rates {
  padding: var(--sp-sm) var(--sp-md);
  border-top: 1px solid var(--c-border);
}

.m-sidebar__rates-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .6rem;
}

.m-rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem;
}

.m-rates-table td {
  padding: .3rem 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-ink);
}

.m-rates-table tr:last-child td { border-bottom: none; }

.m-rates-table td:first-child { color: var(--c-muted); }

.m-rates-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.m-rates-table td span {
  font-weight: 400;
  color: var(--c-muted);
  font-size: .78rem;
}

.m-rates-table__ask {
  color: var(--c-muted) !important;
  font-weight: 400 !important;
  font-style: italic;
}

/* Price estimate shown after date selection */
.cal-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: var(--c-white);
  border: 1px solid var(--c-accent);
  border-radius: var(--r-sm);
  padding: .5rem .75rem;
  margin-top: .6rem;
}

.cal-price__nights {
  font-size: .8rem;
  color: var(--c-muted);
}

.cal-price__total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-accent);
}

/* ── AVAILABILITY CALENDAR ── */
.m-sidebar__cal-wrap {
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  border-top: 2px solid var(--c-accent);
  background: var(--c-faint);
}

.m-sidebar__cal-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: .75rem;
}

.m-sidebar__cal-status {
  font-size: .75rem;
  color: var(--c-muted);
  min-height: 1rem;
  margin-top: .4rem;
}

/* Hide the raw input — calendar renders inline */
#cal-input { display: none; }

/* Inline flatpickr: stretch to fill sidebar width */
.m-sidebar__cal-wrap .flatpickr-calendar {
  box-shadow: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-white);
  font-family: var(--font);
  width: 100% !important;
  margin-top: .5rem;
}

.m-sidebar__cal-wrap .flatpickr-innerContainer,
.m-sidebar__cal-wrap .flatpickr-rContainer,
.m-sidebar__cal-wrap .flatpickr-days,
.m-sidebar__cal-wrap .dayContainer {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.m-sidebar__cal-wrap .flatpickr-weekdays,
.m-sidebar__cal-wrap .flatpickr-weekdaycontainer {
  width: 100% !important;
}

.m-sidebar__cal-wrap .flatpickr-day {
  flex-basis: calc(100% / 7);
  max-width: calc(100% / 7);
  height: 34px;
  line-height: 34px;
  border-radius: var(--r-sm);
}

.m-sidebar__cal-wrap .flatpickr-months {
  padding: .4rem 0 .25rem;
}

.m-sidebar__cal-wrap .flatpickr-current-month {
  font-size: .9rem;
  font-weight: 600;
  color: var(--c-ink);
}

.m-sidebar__cal-wrap .flatpickr-weekday {
  font-size: .7rem;
  font-weight: 600;
  color: var(--c-muted);
}

/* Selected range */
.m-sidebar__cal-wrap .flatpickr-day.selected,
.m-sidebar__cal-wrap .flatpickr-day.startRange,
.m-sidebar__cal-wrap .flatpickr-day.endRange {
  background: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
}

.m-sidebar__cal-wrap .flatpickr-day.inRange {
  background: rgba(41, 128, 185, .15) !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Blocked day styling inside flatpickr */
.flatpickr-day.cal-blocked,
.flatpickr-day.cal-blocked:hover {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: transparent !important;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .m-hero__inner { grid-template-columns: 1fr; }
  .m-hero__photos { grid-template-rows: 180px 180px; }
  .m-why { grid-template-columns: 1fr; }
  .m-location { grid-template-columns: 1fr; }
  .m-footer__inner { grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
  .m-stats { grid-template-columns: 1fr; }
  .m-prop-body { grid-template-columns: 1fr; }
  .m-sidebar { position: static; }
  .m-intro-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px; }
  .m-intro-grid img:first-child { grid-row: span 1; }
  .m-intro-grid img:nth-child(3),
  .m-intro-grid img:nth-child(4) { display: none; }
  .m-cta-strip { flex-direction: column; text-align: center; padding: var(--sp-md); }
  .m-crosssell { grid-template-columns: 1fr; }
  .m-crosssell img { height: 180px; }
}

@media (max-width: 640px) {
  .m-properties { grid-template-columns: 1fr; }
  .m-contact-grid { grid-template-columns: 1fr; }
  .m-photos { grid-template-columns: repeat(3, 1fr); }
  .m-footer__inner { grid-template-columns: 1fr; }
  .m-footer__bottom { flex-direction: column; gap: .4rem; text-align: center; }
  .m-nav__links { display: none; }
  .m-hero { padding: var(--sp-lg) 0; }
}

/* ── LIGHTBOX ── */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}
#lightbox.lightbox--open { display: flex; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 32, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox__container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 3rem 1rem 1rem;
}

.lightbox__figure {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

.lightbox__caption {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  margin-top: .75rem;
  text-align: center;
  max-width: 600px;
}

.lightbox__counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  letter-spacing: .08em;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.6rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
  z-index: 2;
  line-height: 1;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
  z-index: 2;
}
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,.25); }
