/* Minimal Airbnb-ish layout */
.oct-wrap{max-width:1120px;margin:0 auto;padding:24px}
.oct-title{font-size:28px;line-height:1.2;margin:0 0 8px}
.oct-sub{display:flex;flex-wrap:wrap;gap:10px;font-size:14px;opacity:.85;margin-bottom:16px}
.oct-pill{display:inline-block;padding:4px 10px;border:1px solid rgba(0,0,0,.12);border-radius:999px;font-size:12px;opacity:.85}
.oct-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px;align-items:start}
@media(max-width:960px){.oct-grid{grid-template-columns:1fr}}
.oct-card{border:1px solid rgba(0,0,0,.08);border-radius:16px;padding:16px;box-shadow:0 8px 22px rgba(0,0,0,.06);background:#fff}
.oct-sticky{position:sticky;top:18px}
@media(max-width:960px){.oct-sticky{position:static}}
.oct-gallery{display:grid;grid-template-columns:2fr 1fr;gap:10px}
.oct-gallery .oct-hero img{width:100%;height:420px;object-fit:cover;border-radius:16px;display:block}
.oct-gallery .oct-side{display:grid;grid-template-rows:repeat(2,1fr);gap:10px}
.oct-gallery .oct-side img{width:100%;height:205px;object-fit:cover;border-radius:16px;display:block}

.oct-rateplans{margin-top:18px}
.oct-rateplans ul{margin:8px 0 0 18px}
.oct-rateplans li{margin:6px 0}

/* --- Content formatting fixes --- */
.oct-wrap, .oct-wrap *{box-sizing:border-box}
.oct-card{overflow:visible}
.oct-card .entry-content, .oct-card .oct-content{max-width:100%}
.oct-card p{max-width:100%; overflow-wrap:anywhere; word-break:break-word; white-space:normal}
.oct-card span, .oct-card strong, .oct-card em{max-width:100%; overflow-wrap:anywhere; word-break:break-word}
.oct-card img{max-width:100%; height:auto}
.oct-section-title{margin:18px 0 10px; font-size:18px}
.oct-kv{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px}
@media(max-width:900px){.oct-kv{grid-template-columns:1fr 1fr}}
.oct-kv .oct-kv-item{padding:12px;border:1px solid rgba(0,0,0,.08);border-radius:14px}
.oct-kv .oct-kv-item b{display:block;font-size:13px;opacity:.8;margin-bottom:6px}
.oct-services{display:flex;gap:8px;flex-wrap:wrap}


/* --- Visual polish --- */
.oct-wrap{
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: rgba(10,10,10,.92);
}
.oct-title{font-size:34px; letter-spacing:-.02em}
.oct-sub{gap:8px}
.oct-card{
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.oct-pill{
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.02);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.oct-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:-.01em;
}
.oct-section-title:before{
  content:"";
  width:10px;height:10px;border-radius:999px;
  background: rgba(0,0,0,.18);
  display:inline-block;
}
.oct-content{line-height:1.6; font-size:15px}
.oct-content p{margin: 0 0 12px}
.oct-kv .oct-kv-item{background: rgba(0,0,0,.015)}
.oct-kv .oct-kv-item b{font-weight:600}

/* --- Services with icons --- */
.oct-services{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
@media(max-width:900px){.oct-services{grid-template-columns:1fr}}
.oct-service{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  background: rgba(255,255,255,.7);
}
.oct-ico{
  width:28px;height:28px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(0,0,0,.03);
  flex: 0 0 auto;
}
.oct-ico svg{width:16px;height:16px;opacity:.85}
.oct-service .oct-service-name{font-weight:600}
.oct-service .oct-service-sub{font-size:12px;opacity:.75;margin-top:2px}

/* --- Info blocks --- */
.oct-infobox{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:12px 14px;
  background: rgba(0,0,0,.015);
}
.oct-infogrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:900px){.oct-infogrid{grid-template-columns:1fr}}
.oct-row{display:flex; gap:10px; align-items:flex-start}
.oct-row .oct-row-ico{margin-top:2px}
.oct-row .oct-row-ico svg{width:16px;height:16px;opacity:.85}
.oct-row b{display:block;font-size:13px;opacity:.75;margin-bottom:2px}
.oct-row div{font-size:14px}

/* buttons in sidebar */
.oct-card a.button{border-radius:14px;padding:8px 12px}


/* --- Calendar --- */
.oct-cal{margin-top:12px}
.oct-cal-note{padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:rgba(255,255,0,.08);font-size:13px;margin-bottom:10px}
.oct-cal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(max-width:900px){.oct-cal-grid{grid-template-columns:1fr}}
.oct-cal-month{border:1px solid rgba(0,0,0,.08);border-radius:18px;padding:12px;background:rgba(255,255,255,.7)}
.oct-cal-head{font-weight:700;margin-bottom:8px}
.oct-cal-dow{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;font-size:11px;opacity:.7;margin-bottom:6px}
.oct-cal-cells{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.oct-cal-cell{aspect-ratio:1/1;border-radius:12px;border:1px solid rgba(0,0,0,.08);background:rgba(0,0,0,.02);font-size:12px;cursor:pointer}
.oct-cal-cell:hover{background:rgba(0,0,0,.05)}
.oct-cal-cell.is-past{opacity:.35;cursor:not-allowed}
.oct-cal-cell.is-unavail{background:rgba(0,0,0,.06);opacity:.55;cursor:not-allowed;text-decoration:line-through}
.oct-cal-empty{background:transparent;border:0}
.oct-cal-help{margin-top:10px;font-size:12px;opacity:.75}


/* --- Calendar: sidebar friendly --- */
.oct-sticky .oct-cal-grid{grid-template-columns:1fr}
.oct-sticky .oct-cal-month{padding:10px}
.oct-sticky .oct-cal-head{font-size:14px;margin-bottom:6px}
.oct-sticky .oct-cal-dow{font-size:10px;gap:4px;margin-bottom:4px}
.oct-sticky .oct-cal-cells{gap:4px}
.oct-sticky .oct-cal-cell{border-radius:10px;font-size:11px}
.oct-sticky .oct-cal-help{display:none}
@media(max-width:700px){
  .oct-cal-grid{grid-template-columns:1fr}
}


/* --- Calendar: single-month slider --- */
.oct-cal-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin: 0 0 10px 0;
}
.oct-cal-navtitle{
  font-weight:700;
  font-size:14px;
  letter-spacing:-.01em;
  text-align:center;
  flex: 1 1 auto;
}
.oct-cal-navbtn{
  width:34px;height:34px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
  cursor:pointer;
}
.oct-cal-navbtn:hover{ background: rgba(0,0,0,.05); }
.oct-cal-grid{ grid-template-columns:1fr !important; }


/* Ensure only one month is visible even if JS is blocked */
.oct-cal-month{display:none}
.oct-cal-month:first-child{display:block}


/* Range selection + booking CTA */
.oct-cal-cell.is-start,
.oct-cal-cell.is-end{
  outline:2px solid rgba(0,0,0,.35);
  background: rgba(0,0,0,.08);
}
.oct-cal-cell.is-inrange{ background: rgba(0,0,0,.05); }
.oct-cal-book{margin-top:10px; display:flex; flex-direction:column; gap:8px}
.oct-cal-range{font-size:12px; opacity:.8}
.oct-btn.is-disabled{pointer-events:none; opacity:.5}


/* Availability coloring (requested) */
.oct-cal-cell.is-unavail{
  background: rgba(220, 38, 38, 0.14);
  border: 1px solid rgba(220, 38, 38, 0.22);
  color: rgba(153, 27, 27, 1);
}
.oct-cal-cell.is-avail{
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.22);
  color: rgba(21, 128, 61, 1);
}


/* --- Layout width (middle ground) --- */
.oct-wrap{
  max-width: 1320px !important;
  width: 100%;
  padding-left: clamp(14px, 2vw, 28px);
  padding-right: clamp(14px, 2vw, 28px);
  margin-left: auto;
  margin-right: auto;
}
.oct-card{ border-radius: 16px; }

/* --- Gallery lightbox --- */
#oct-lb{ position: fixed; inset: 0; z-index: 999999; display: none; }
#oct-lb.is-open{ display: block; }
.oct-lb__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.72); }
.oct-lb__dialog{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%,-50%);
  width: min(1100px, calc(100vw - 24px));
  height: min(740px, calc(100vh - 24px));
  display:flex; align-items:center; justify-content:center;
}
.oct-lb__img{
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  background: rgba(255,255,255,.03);
}
.oct-lb__close{
  position:absolute; top: -6px; right: -6px;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 28px;
  cursor:pointer;
}
.oct-lb__nav{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size: 34px;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}
.oct-lb__prev{ left: -6px; }
.oct-lb__next{ right: -6px; }
.oct-lb-open{ overflow: hidden; }


/* --- Lightbox thumbnails (non-overlapping) --- */
.oct-lb__dialog{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.oct-lb__figure{ margin:0; display:flex; flex-direction:column; align-items:center; gap:10px; }
.oct-lb__caption{ color: rgba(255,255,255,.85); font-size: 13px; }

.oct-lb__thumbs{
  width: 100%;
  max-width: 100%;
  display:flex;
  gap:10px;
  padding: 6px 6px 2px;
  overflow:auto;
  scrollbar-width: thin;
  justify-content: center;
}
.oct-lb__thumb{
  border: 2px solid rgba(255,255,255,.12);
  background: transparent;
  padding:0;
  border-radius: 10px;
  width: 74px;
  height: 52px;
  flex: 0 0 auto;
  cursor:pointer;
  overflow:hidden;
}
.oct-lb__thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(0.98);
}
.oct-lb__thumb.is-active{ border-color: rgba(255,255,255,.75); }
@media (max-width: 520px){
  .oct-lb__thumb{ width: 62px; height: 44px; }
}



/* Booking CTA + selection */
.oct-cal-cell.is-start,
.oct-cal-cell.is-end{
  outline:2px solid rgba(0,0,0,.35);
  background: rgba(0,0,0,.10);
}
.oct-cal-cell.is-inrange{ background: rgba(0,0,0,.05); }
.oct-book-hint{ margin:10px 0 6px; font-size:12px; opacity:.8; }
.oct-book-error{ margin: 0 0 8px; font-size: 12px; color: #991b1b; }
.oct-book-cta{ width:100%; }
.oct-book-cta.is-disabled{ opacity:.55; }


.oct-book-debug{margin-top:8px;font-size:11px;opacity:.7;word-break:break-all;display:none;}


/* Guests controls */
.oct-guests{
  display:grid;
  grid-template-columns: auto 90px auto 90px;
  gap:8px 10px;
  align-items:center;
  margin: 10px 0 6px;
}
.oct-guests__label{ font-size:12px; opacity:.85; }
.oct-guests input{
  width:90px;
  padding:6px 8px;
  border:1px solid rgba(0,0,0,.15);
  border-radius:10px;
  font-size:13px;
}
@media(max-width:520px){
  .oct-guests{ grid-template-columns: 1fr 1fr; }
  .oct-guests__label{ justify-self:start; }
  .oct-guests input{ width:100%; }
}


/* ===== Mockup template styles ===== */
:root{
  --oct-brand:#E49532;
  --oct-navy:#2E597D;
  --oct-text:#0f172a;
  --oct-muted:#64748b;
  --oct-border:rgba(15,23,42,.12);
  --oct-card:#ffffff;
  --oct-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --oct-radius:14px;
  --oct-radius-lg:18px;
  --oct-container: 1160px;
}
.oct-mock{ font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color:var(--oct-text); }
.oct-mock .oct-container{ max-width: var(--oct-container); margin:0 auto; padding: 22px 18px 48px; }
.oct-topbar{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.oct-back{ color:var(--oct-muted); text-decoration:none; font-weight:600; }
.oct-top-cta{ background:var(--oct-brand); color:#fff; text-decoration:none; padding:12px 18px; border-radius:12px; font-weight:800; box-shadow:0 10px 24px rgba(228,149,50,.25); }
.oct-title{ font-size:38px; margin:0 0 6px; letter-spacing:-.02em; }
.oct-address{ color:var(--oct-muted); font-weight:600; }
.oct-gallery-mock{ display:grid; grid-template-columns: 1fr 260px; gap:14px; margin: 14px 0 18px; }
.oct-gallery-main{ position:relative; border-radius: var(--oct-radius-lg); overflow:hidden; box-shadow: var(--oct-shadow); background:#f1f5f9; }
.oct-gal-img{ width:100%; height: 360px; object-fit:cover; display:block; cursor:pointer; }
.oct-gal-arrow{ position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:999px; border:0; background:rgba(255,255,255,.92); box-shadow:0 10px 20px rgba(15,23,42,.18); cursor:pointer; font-size:28px; line-height:44px; }
.oct-gal-prev{ left:14px; }
.oct-gal-next{ right:14px; }
.oct-gallery-side{ display:grid; grid-template-rows: 1fr 1fr; gap:14px; }
.oct-thumb{ border:0; padding:0; border-radius: var(--oct-radius-lg); overflow:hidden; background:#f1f5f9; box-shadow: var(--oct-shadow); cursor:pointer; }
.oct-thumb img{ width:100%; height: 173px; object-fit:cover; display:block; }
.oct-grid{ display:grid; grid-template-columns: 1fr 360px; gap:22px; align-items:start; }
.oct-card{ background:var(--oct-card); border:1px solid var(--oct-border); border-radius: var(--oct-radius-lg); padding:18px; box-shadow: 0 8px 18px rgba(15,23,42,.05); margin-bottom:16px; }
.oct-section-title{ margin:0 0 10px; font-size:26px; font-weight:800; letter-spacing:-.01em; }
.oct-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.oct-badge{ background:rgba(11,47,75,.06); border:1px solid rgba(11,47,75,.12); color:var(--oct-navy); padding:8px 10px; border-radius:999px; font-weight:700; font-size:13px; }
.oct-desc{ color:#1f2937; line-height:1.55; }
.oct-services-cols{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px 20px; }
.oct-service-item{ color:#334155; font-weight:600; position:relative; padding-left:22px; }
.oct-service-item::before{ content:'✓'; position:absolute; left:0; top:0; color: var(--oct-brand); font-weight:900; }
.oct-muted{ color:var(--oct-muted); font-size:13px; }
.oct-side{ position:sticky; top: 16px; }
.oct-side-card{ background:#f8fafc; border:1px solid rgba(2,6,23,.08); border-radius: var(--oct-radius-lg); padding:16px; box-shadow: 0 12px 26px rgba(15,23,42,.06); margin-bottom:16px; }
.oct-side-title{ margin:0 0 8px; font-size:22px; font-weight:900; letter-spacing:-.01em; }
.oct-side-cal{ margin: 12px 0 12px; }
.oct-btn-primary{ width:100%; background:var(--oct-brand); color:#fff; border:0; border-radius:12px; padding:12px 14px; font-weight:900; cursor:pointer; }
.oct-btn-secondary{ width:100%; margin-top:10px; background:var(--oct-navy); color:#fff; border:0; border-radius:12px; padding:12px 14px; font-weight:900; cursor:pointer; }
.oct-rules{ color:#0f172a; line-height:1.5; white-space:pre-line; }
.oct-map{ height: 280px; border-radius: var(--oct-radius-lg); overflow:hidden; }
.oct-map-placeholder{ height: 280px; border-radius: var(--oct-radius-lg); background: linear-gradient(135deg, rgba(11,47,75,.08), rgba(228,149,50,.10)); display:flex; align-items:center; justify-content:center; color:var(--oct-navy); font-weight:800; text-align:center; padding:16px; }
.oct-lightbox{ position:fixed; inset:0; display:none; z-index:999999; }
.oct-lightbox.is-open{ display:block; }
.oct-lightbox__backdrop{ position:absolute; inset:0; background:rgba(0,0,0,.70); }
.oct-lightbox__content{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:24px; }
.oct-lightbox__img{ max-width:min(1100px, 92vw); max-height: 86vh; border-radius: 14px; box-shadow: 0 20px 70px rgba(0,0,0,.35); }
.oct-lightbox__close{ position:absolute; top:18px; right:18px; width:44px; height:44px; border-radius:999px; border:0; background:rgba(255,255,255,.92); cursor:pointer; font-size:26px; }
.oct-lightbox__nav{ position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:999px; border:0; background:rgba(255,255,255,.92); cursor:pointer; font-size:30px; }
.oct-lightbox__prev{ left:18px; }
.oct-lightbox__next{ right:18px; }
@media(max-width: 980px){
  .oct-gallery-mock{ grid-template-columns: 1fr; }
  .oct-gallery-side{ display:none; }
  .oct-grid{ grid-template-columns:1fr; }
  .oct-side{ position:static; }
  .oct-title{ font-size:30px; }
}

.oct-book-hint{display:none !important;}


/* Mockup color tweaks */
.oct-section-title, .oct-side-title{ color: var(--oct-navy) !important; }
.oct-btn-primary:hover, .oct-top-cta:hover{ filter: brightness(0.96); }
.oct-btn-primary[disabled], .oct-book-cta.is-disabled{ opacity:.55; cursor:not-allowed; }


/* ===== Flatten layout (remove boxes) ===== */
.oct-card,
.oct-side-card{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.oct-card{ margin-bottom: 28px !important; }
.oct-side-card{ margin-bottom: 24px !important; }

/* remove any bullets/dots before titles */
.oct-section-title::before,
.oct-side-title::before{ content: none !important; }
.oct-section-title, .oct-side-title{
  padding-left: 0 !important;
}

/* Services: vertical separators between columns */
.oct-services-cols{
  position: relative;
  padding: 6px 0;
  background-image:
    linear-gradient(to bottom, rgba(15,23,42,.10), rgba(15,23,42,.10)),
    linear-gradient(to bottom, rgba(15,23,42,.10), rgba(15,23,42,.10));
  background-size: 1px 100%, 1px 100%;
  background-position: calc(33.333% - 10px) 0, calc(66.666% - 10px) 0;
  background-repeat: no-repeat;
}
@media(max-width: 980px){
  .oct-services-cols{
    background-image: none;
  }
}

/* Title margin override */
.oct-section-title{ margin:0 !important; }


/* Paragraph clipping fix (theme conflicts) */
.oct-mock .oct-desc,
.oct-mock .oct-rules{
  overflow: visible !important;
}
.oct-mock .oct-desc p,
.oct-mock .oct-rules p{
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
}
.oct-mock .oct-desc p span,
.oct-mock .oct-rules p span{
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Fix text clipping: card overflow must be visible */
.oct-card{overflow:visible !important;}


/* Divi compatibility: keep map below header */
.oct-map, .oct-map-wrap, .oct-map-card{ position: relative; z-index: 0 !important; }
.leaflet-container{ z-index: 0 !important; }
.leaflet-control-container{ z-index: 1 !important; }


/* Spacing between gallery and content blocks */
.oct-gallery, .oct-gallery-mock{ margin-bottom: 28px !important; }
.oct-hero{ margin-bottom: 28px !important; }
