/* =========================================================
   TERRACE STREET RETREAT — terracestretreat.com
   Design System: Light Birchwood
   Fonts: Cormorant Garamond (display) + Jost (UI/body)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --bg:          #F8F6F1;
  --bg-alt:      #F0EDE5;
  --bg-dark:     #1A1714;
  --ink:         #1A1714;
  --ink-mid:     #4A4440;
  --ink-muted:   #8A8178;
  --ink-faint:   #D0C8BC;
  --sage:        #5E8059;
  --sage-dark:   #3F5C3B;
  --sage-light:  #EAF0E9;
  --wheat:       #B8975A;
  --wheat-light: #F5EDDE;
  --border:      rgba(26,23,20,0.12);
  --border-mid:  rgba(26,23,20,0.22);
  --white:       #FFFFFF;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);

  --max-w:       1160px;
  --gutter:      clamp(1.25rem, 5vw, 4rem);
  --section-gap: clamp(4rem, 10vw, 7rem);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── BASE ── */
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Grain texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

/* ── TYPOGRAPHY ── */
.t-label {
  font-family: var(--font-ui);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.t-section-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 300;
  color: var(--ink-faint);
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
}

h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
}

h4, .h4 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
}

p { color: var(--ink-mid); line-height: 1.78; }

p.lead {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-mid);
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--section-gap) 0; }
.section-alt { background: var(--bg-alt); }

.section-dark {
  background: var(--bg-dark);
  color: var(--bg);
}
.section-dark p { color: rgba(248,246,241,0.65); }
.section-dark .t-label { color: rgba(248,246,241,0.4); }
.section-dark h2, .section-dark h3 { color: var(--bg); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

hr, .divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── SECTION HEADER ── */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
}
.section-header-row .t-section-num { line-height: 0.85; flex-shrink: 0; }
.section-header .t-label { margin-bottom: 0.5rem; display: block; }

/* ── PHOTO PLACEHOLDER ── */
.photo-placeholder {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 18px,
    rgba(26,23,20,0.03) 18px,
    rgba(26,23,20,0.03) 19px
  );
}
.photo-placeholder span {
  position: relative;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.4rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--ink-muted);
  max-width: 80%;
}
.photo-placeholder.ratio-hero    { aspect-ratio: 16/7; }
.photo-placeholder.ratio-land    { aspect-ratio: 4/3; }
.photo-placeholder.ratio-port    { aspect-ratio: 3/4; }
.photo-placeholder.ratio-square  { aspect-ratio: 1; }
.photo-placeholder.ratio-wide    { aspect-ratio: 3/1; }

/* Real image swap */
.photo-slot { overflow: hidden; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-out); }
.photo-slot:hover img { transform: scale(1.03); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: 1px solid currentColor;
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg) !important;
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--sage-dark); border-color: var(--sage-dark); }

.btn-sage {
  background: var(--sage);
  color: var(--white) !important;
  border-color: var(--sage);
}
.btn-sage:hover { background: var(--sage-dark); border-color: var(--sage-dark); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-mid);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-outline-white {
  background: transparent;
  color: rgba(248,246,241,0.9) !important;
  border-color: rgba(248,246,241,0.35);
}
.btn-outline-white:hover { border-color: rgba(248,246,241,0.85); }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn .arrow { transition: transform 0.2s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── NAVIGATION ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-nav.scrolled {
  background: rgba(248,246,241,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.2s;
}
.nav-logo-sub {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 2px;
  transition: color 0.2s;
}

/* Transparent state on hero */
.site-nav:not(.scrolled) .nav-logo-name { color: rgba(248,246,241,0.95); }
.site-nav:not(.scrolled) .nav-logo-sub  { color: rgba(248,246,241,0.4); }
.site-nav:not(.scrolled) .nav-links a   { color: rgba(248,246,241,0.75); }
.site-nav:not(.scrolled) .nav-links a:hover { color: rgba(248,246,241,1); }
.site-nav:not(.scrolled) .nav-book { background: transparent; border-color: rgba(248,246,241,0.45); color: rgba(248,246,241,0.9) !important; }
.site-nav:not(.scrolled) .nav-book:hover { background: rgba(248,246,241,0.12); border-color: rgba(248,246,241,0.8); }
.site-nav:not(.scrolled) .nav-hamburger span { background: rgba(248,246,241,0.9); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width 0.25s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--ink); }

.nav-book {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 1.1rem;
  background: var(--sage);
  color: var(--white) !important;
  border: 1px solid var(--sage);
  transition: all 0.2s;
}
.nav-book:hover { background: var(--sage-dark) !important; border-color: var(--sage-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all 0.25s;
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(248,246,241,0.98);
  backdrop-filter: blur(14px);
  padding: 1.5rem var(--gutter) 2rem;
  border-top: 1px solid var(--border);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--ink); }

@media (max-width: 780px) {
  .nav-links, .nav-book { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  z-index: 0;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.80;
  filter: saturate(0.92) sepia(0.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(26,23,20,0.52) 0%, rgba(26,23,20,0.20) 45%, rgba(26,23,20,0) 75%),
    linear-gradient(to bottom, rgba(26,23,20,0.35) 0%, rgba(26,23,20,0.12) 28%, rgba(26,23,20,0.68) 72%, rgba(26,23,20,0.90) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248,246,241,0.82);
  margin-bottom: 0.75rem;
}

.hero h1 { color: var(--white); margin-bottom: 0.75rem; max-width: 16ch; }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(248,246,241,0.88);
  margin-bottom: 2.25rem;
}

/* ── STAT STRIP ── */
.stat-strip { background: var(--ink); padding: 1.75rem 0; }
.stat-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.15rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 300;
  color: var(--bg);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label { font-size: 0.63rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(248,246,241,0.5); }
.stat-sep { width: 1px; height: 2.5rem; background: rgba(248,246,241,0.12); flex-shrink: 0; }

/* ── BOOKING WIDGET ── */
.booking-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.booking-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.booking-header { text-align: center; margin-bottom: 2rem; }
.ownerrez-placeholder {
  border: 2px dashed var(--border-mid);
  padding: 3rem 2rem;
  text-align: center;
  background: var(--bg-alt);
  border-radius: 2px;
}
.ownerrez-placeholder .placeholder-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.5rem;
}
.ownerrez-placeholder p { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 0.75rem; }
.ownerrez-placeholder code {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-family: 'Courier New', monospace;
  line-height: 1.9;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  text-align: left;
  margin-top: 1rem;
}

/* ── ROOM CARDS ── */
.room-cards { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.room-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--bg); }
.room-card:nth-child(even) .room-card-image { order: 2; }
.room-card:nth-child(even) .room-card-body  { order: 1; }
.room-card-image { min-height: 360px; overflow: hidden; }
.room-card-image .photo-placeholder { height: 100%; width: 100%; }
.room-card-body {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; justify-content: center; gap: 0.85rem;
}
.room-card-body h3 { margin-bottom: 0.25rem; }
.room-feature-list { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.5rem; }
.room-feature-list li {
  font-size: 0.88rem;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 0.5rem;
}
.room-feature-list li::before { content: ''; display: inline-block; width: 14px; height: 1px; background: var(--ink-faint); flex-shrink: 0; }

@media (max-width: 700px) {
  .room-card { grid-template-columns: 1fr; }
  .room-card:nth-child(even) .room-card-image { order: unset; }
  .room-card:nth-child(even) .room-card-body  { order: unset; }
  .room-card-image { min-height: 260px; }
}

/* ── AMENITY GRID ── */
.amenity-category { margin-bottom: 2.5rem; }
.amenity-category-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.amenity-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.amenity-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-mid);
}
.amenity-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--sage); flex-shrink: 0;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left;
  padding: 1.4rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--ink);
  transition: color 0.2s;
}
.faq-q:hover { color: var(--sage); }
.faq-icon { flex-shrink: 0; width: 18px; height: 18px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute;
  background: currentColor;
  transition: transform 0.25s var(--ease-out), opacity 0.25s;
}
.faq-icon::before { width: 12px; height: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-icon::after  { width: 1px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { display: none; padding: 0 2rem 1.5rem 0; color: var(--ink-mid); font-size: 0.93rem; line-height: 1.82; max-width: 68ch; }
.faq-item.open .faq-a { display: block; }

/* ── DISTANCE CARDS ── */
.distance-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 0.4rem;
  transition: border-color 0.2s, background 0.2s;
}
.distance-card:hover { border-color: var(--ink); background: var(--bg-alt); }
.distance-num {
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 300; line-height: 1; color: var(--ink);
}
.distance-dest { font-family: var(--font-display); font-size: 1.25rem; font-weight: 400; color: var(--ink); }
.distance-mode { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }

/* ── GUIDE STEPS ── */
.guide-step {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.guide-step:last-child { border-bottom: none; }
.guide-step-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 300; color: var(--ink-faint);
  line-height: 1; flex-shrink: 0; width: 2.5rem; padding-top: 0.1rem;
}
.guide-step-content h4 { margin-bottom: 0.35rem; }

/* ── HOST SECTION ── */
.host-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 700px) { .host-wrap { grid-template-columns: 1fr; } }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding-top: 120px;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--border);
}
.page-hero .t-label { margin-bottom: 0.75rem; display: block; }
.page-hero .page-hero-body { max-width: 60ch; margin-top: 1rem; }

/* ── FOOTER ── */
.site-footer { background: var(--ink); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(248,246,241,0.1);
  margin-bottom: 2rem;
}
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; color: var(--bg); margin-bottom: 0.3rem; }
.footer-brand-sub  { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,246,241,0.3); }
.footer-brand-tag  { font-family: var(--font-display); font-style: italic; font-size: 1rem; font-weight: 300; color: rgba(248,246,241,0.4); margin-top: 0.75rem; }
.footer-col-label  { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248,246,241,0.3); margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.88rem; color: rgba(248,246,241,0.5); transition: color 0.2s; }
.footer-links a:hover { color: var(--bg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; font-size: 0.7rem; color: rgba(248,246,241,0.25); }

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════
   OWNERREZ WIDGET CUSTOM CSS
   Overrides OwnerRez default styles to match Terrace Street Retreat
   ══════════════════════════════════════════════════════════ */

/* Widget container */
.ownerrez-widget {
  font-family: var(--font-ui) !important;
  color: var(--ink) !important;
}

/* Primary buttons → sage green */
.ownerrez-widget .btn-primary,
.ownerrez-widget button[type="submit"],
.ownerrez-widget .or-btn-primary {
  background-color: var(--sage) !important;
  border-color: var(--sage) !important;
  color: #fff !important;
  font-family: var(--font-ui) !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 0.85rem 1.75rem !important;
  transition: background 0.2s, border-color 0.2s !important;
}
.ownerrez-widget .btn-primary:hover,
.ownerrez-widget button[type="submit"]:hover,
.ownerrez-widget .or-btn-primary:hover {
  background-color: var(--sage-dark) !important;
  border-color: var(--sage-dark) !important;
}

/* Input fields */
.ownerrez-widget input,
.ownerrez-widget select,
.ownerrez-widget textarea {
  font-family: var(--font-ui) !important;
  border-color: var(--border-mid) !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: var(--white) !important;
}
.ownerrez-widget input:focus,
.ownerrez-widget select:focus {
  border-color: var(--sage) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(94,128,89,0.15) !important;
}

/* Calendar — selected dates */
.ownerrez-widget .selected,
.ownerrez-widget .or-calendar-selected,
.ownerrez-widget td.selected {
  background-color: var(--sage) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

/* Calendar — today */
.ownerrez-widget .today,
.ownerrez-widget td.today {
  border: 1px solid var(--sage) !important;
  border-radius: 0 !important;
}

/* Calendar — range fill */
.ownerrez-widget .in-range,
.ownerrez-widget td.in-range {
  background-color: var(--sage-light) !important;
  color: var(--ink) !important;
}

/* Headings inside widget */
.ownerrez-widget h1,
.ownerrez-widget h2,
.ownerrez-widget h3,
.ownerrez-widget h4 {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
}

/* Price summary */
.ownerrez-widget .price,
.ownerrez-widget .total-price,
.ownerrez-widget .or-price {
  font-family: var(--font-display) !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
}

/* Remove default border-radius from widget cards/panels */
.ownerrez-widget .panel,
.ownerrez-widget .card,
.ownerrez-widget .or-panel {
  border-radius: 0 !important;
  border-color: var(--border) !important;
}

/* Links within widget */
.ownerrez-widget a {
  color: var(--sage) !important;
}
.ownerrez-widget a:hover {
  color: var(--sage-dark) !important;
}

/* ══ BOOKING MODAL ══════════════════════════════════════════════════════ */
.booking-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 900;
  overflow-y: auto;
  padding: 2.5rem 1rem 3rem;
}
.booking-modal.is-open { display: block; }
.booking-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,0.65);
  cursor: pointer;
  z-index: 0;
}
.booking-modal-panel {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: var(--radius);
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 16px 56px rgba(26,23,20,0.28);
  overflow: visible;
}
.booking-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.1rem;
  border-bottom: 1px solid var(--border);
}
.booking-modal-eyebrow {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-text);
  margin-bottom: 0.3rem;
}
.booking-modal-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.15;
}
.booking-modal-close {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  margin-left: 1rem;
  flex-shrink: 0;
  transition: color 0.15s, border-color 0.15s;
}
.booking-modal-close:hover { color: var(--ink); border-color: var(--ink-muted); }
.booking-modal-body { padding: 0; overflow: hidden; border-radius: 0 0 var(--radius) var(--radius); }
.booking-modal-body iframe { display: block; margin-top: -165px; height: 1080px; width: 100%; border: none; }
@media (max-width: 600px) {
  .booking-modal-body iframe { margin-top: -225px; }
}
@media (max-width: 480px) {
  .booking-modal { padding: 4rem 0 0; }
  .booking-modal-panel { border-radius: var(--radius) var(--radius) 0 0; }
}
