
/* Public Host Page (verhuurder) – Step 1B
   Hero background + overlap accommodation cards + profile + availability.
*/
/* Public host page: force full-width even inside theme containers */
.buzer-owner-page{
  background:#fff;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  box-sizing:border-box;
}
.buzer-owner-wrap{
  /* Premium feel: keep content constrained + centered on wide screens */
  width:min(1240px, calc(100% - 48px));
  max-width:1240px;
  margin:0 auto;
  padding:0 0 72px;
  box-sizing:border-box;
}

/* Shared overlap token (hero ↔ cards) */
:root{
  --buzer-hero-card-overlap: clamp(62px, 7vw, 92px);
}

.buzer-host-hero{
  position:relative;
  /* Full-bleed hero banner (keep the rest in the premium container) */
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  border-radius:0;
  overflow:hidden;
  min-height:420px;
  background-size:cover;
  background-position:center;
  margin-top:18px;
}
.buzer-host-hero-overlay{
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.30) 35%, rgba(0,0,0,.05) 70%, rgba(0,0,0,0) 100%);
}
.buzer-host-hero-inner{
  position:relative;
  /* Center hero content to match the page container */
  max-width:1240px;
  margin:0 auto;
  padding:34px 24px 0;
  color:#fff;
  box-sizing:border-box;
}

.buzer-host-hero-brand{
  position:absolute;
  /* Keep clear of the rounded corner so the logo never gets clipped */
  top:28px;
  left:34px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  gap:12px;
  max-width:calc(100% - 52px);

  /* Frosted card like a subtle glass badge */
  padding:10px 12px;
  border-radius:18px;
  background:rgba(255,255,255,.35);
  border:1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.buzer-host-hero-brand img{
  display:block;
  width:auto;
  height:auto;
  max-height:72px;
  max-width:260px;
  object-fit:contain;
  border-radius:0;
  background:transparent;
  border:0;
}
.buzer-host-hero-brand-text{
  color:#111;
  font-size:18px;
  font-weight:800;
  text-shadow:0 6px 18px rgba(0,0,0,.55);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.buzer-host-hero-title h1{
  margin:0 0 10px;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.02em;
}
.buzer-host-hero-title p{
  margin:0;
  max-width:680px;
  opacity:.92;
  font-size:16px;
}

.buzer-host-cards-wrap{
  position:relative;
  /* Pull the accommodation cards upward so they sit half-over the hero */
  margin-top:calc(-1 * var(--buzer-hero-card-overlap));
  padding-bottom:10px;
  z-index:5;
}

/* Overlap: cards sit half over hero */
.buzer-host-cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  transform:none;
}
.buzer-host-cards.is-single{
  grid-template-columns:1fr;
  transform:none;
}
.buzer-host-card{
  display:block;
  border-radius:22px;
  overflow:hidden;
  background:#fff;
  color:#111;
  text-decoration:none;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
  border:1px solid rgba(0,0,0,.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.buzer-host-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 48px rgba(0,0,0,.20);
}
.buzer-host-card.is-hidden{ display:none; }
.buzer-host-cards.is-expanded .buzer-host-card.is-hidden{ display:block; }

.buzer-host-card.is-big .buzer-host-card-img{ height:260px; }
.buzer-host-card-img{
  height:170px;
  background:#f3f3f3;
  background-size:cover;
  background-position:center;
}
.buzer-host-card-body{
  padding:14px 14px 16px;
}
.buzer-host-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.buzer-host-card-top h3{
  margin:0;
  font-size:17px;
  line-height:1.25;
}
.buzer-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.06);
  font-size:12px;
  white-space:nowrap;
}
.buzer-host-card-meta{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:13px;
  opacity:.9;
}
.buzer-host-card-desc{
  margin-top:10px;
  font-size:13px;
  line-height:1.45;
  opacity:.92;
}
.buzer-host-card-cta{
  margin-top:12px;
  font-weight:700;
  font-size:13px;
}

.buzer-host-more{
  margin-top:74px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  cursor:pointer;
  font-weight:700;
}

/* Bottom section below hero */
.buzer-host-bottom{
  margin-top:110px; /* because cards overlap out of hero */
}
.buzer-host-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}

.buzer-host-col{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.buzer-host-free-text{
  color:#111;
  font-size:14px;
  line-height:1.55;
}
.buzer-host-free-text p{ margin:0 0 10px; }
.buzer-host-free-text ul{ margin:0 0 10px 18px; }
.buzer-host-free-text li{ margin:0 0 6px; }
.buzer-host-panel{
  background:#fff;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  padding:16px;
}
.buzer-panel-head{
  margin-bottom:12px;
}
.buzer-panel-head-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.buzer-host-panel h2{
  margin:0;
  font-size:18px;
}
.buzer-host-profile{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.buzer-host-profile-avatar{
  width:78px;
  height:78px;
  border-radius:18px;
  overflow:hidden;
  flex:0 0 78px;
  background:#111;
}
.buzer-host-profile-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.buzer-owner-avatar-fallback{
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#111,#333);
}
.buzer-host-profile-name{
  font-weight:800;
  font-size:16px;
  margin-bottom:6px;
}
.buzer-host-profile-bio p{ margin:0 0 10px; }
.buzer-host-profile-contact{
  font-size:13px;
  opacity:.9;
}
.buzer-host-profile-contact a{ color:var(--buzer-primary, #111); }

.buzer-contact-icons{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}

.buzer-contact-icons .buzer-icon{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,.85);
  transition:transform .12s ease, box-shadow .12s ease;
}

.buzer-contact-icons .buzer-icon svg{
  width:18px;
  height:18px;
  fill:currentColor;
}

.buzer-contact-icons .buzer-icon:hover{
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(0,0,0,.10);
}

/* Host availability widget */
.buzer-host-avail{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.buzer-avail-form{
  padding:14px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:rgba(0,0,0,.02);
}

.buzer-avail-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-bottom:12px;
}

.buzer-avail-grid label{
  font-size:12px;
  font-weight:700;
  opacity:.8;
  display:block;
  margin-bottom:6px;
}

.buzer-avail-grid input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}

.buzer-avail-msg{
  margin-top:12px;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
}

.buzer-avail-msg.is-error{ background:rgba(239, 68, 68, .12); border:1px solid rgba(239, 68, 68, .22); }
.buzer-avail-msg.is-ok{ background:rgba(34, 197, 94, .12); border:1px solid rgba(34, 197, 94, .22); }

.buzer-avail-legend{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; font-size:12px; opacity:.85; }
.buzer-legend-dot.is-green{ background:rgba(34, 197, 94, .30); }
.buzer-legend-dot.is-red{ background:rgba(239, 68, 68, .30); }

.buzer-avail-cal-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.buzer-avail-results-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.buzer-avail-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  padding:12px;
  background:#fff;
}

.buzer-avail-card-media{
  margin:-12px -12px 10px;
  overflow:hidden;
  border-radius:18px 18px 14px 14px;
}

.buzer-avail-card-media img{
  width:100%;
  height:auto;
  display:block;
}

.buzer-avail-card-title{ font-weight:800; margin-bottom:6px; }

@media (max-width: 560px){
  .buzer-avail-cal-grid{ grid-template-columns:1fr; }
  .buzer-avail-results-grid{ grid-template-columns:1fr; }
}

.buzer-host-prop-select .buzer-select{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
}

/* Make sure availability block fits nicely */
.buzer-host-calendar{
  margin-top:10px;
}

/* Calendar UI */
.buzer-cal{margin-top:10px}
.buzer-cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:10px;flex-wrap:wrap}
.buzer-cal-title{font-weight:800}
.buzer-cal-legend{display:flex;gap:10px;align-items:center;font-size:12px;opacity:.85}
.buzer-legend-dot{width:10px;height:10px;border-radius:99px;display:inline-block;border:1px solid rgba(0,0,0,.12)}
.buzer-legend-dot.is-free{background:#fff}
.buzer-legend-dot.is-booked{background:rgba(255, 80, 80, .35)}
.buzer-legend-dot.is-blocked{background:rgba(0,0,0,.14)}
.buzer-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}
.buzer-cal-dow{font-size:12px;font-weight:700;opacity:.7;text-align:center;padding:6px 0}
.buzer-cal-day{background:rgba(34, 197, 94, .14);border:1px solid rgba(34, 197, 94, .22);border-radius:12px;min-height:46px;display:flex;align-items:center;justify-content:center;font-weight:700;position:relative}
.buzer-cal-day.is-empty{background:transparent;border-color:transparent}
.buzer-cal-day.is-booked{background:rgba(255, 80, 80, .20);border-color:rgba(255, 80, 80, .25)}
.buzer-cal-day.is-blocked{background:rgba(239, 68, 68, .18);border-color:rgba(239, 68, 68, .28)}
.buzer-cal-day.is-past{background:rgba(0,0,0,.06);border-color:rgba(0,0,0,.08);opacity:.65}
.buzer-cal-day small{position:absolute;bottom:6px;right:8px;font-weight:600;font-size:11px;opacity:.65}

/* --- Availability calendar (host page) ---
   The host page renderer outputs .buzer-cal-week + .buzer-cal-days.
   These class names are different from earlier drafts (.buzer-cal-grid/.buzer-cal-head),
   so we style both to avoid “vertical list of numbers” when theme CSS interferes. */
.buzer-cal-week{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #f7f8fb;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.buzer-cal-dow,
.buzer-cal-colhead{
  text-align: center;
  padding: 10px 6px;
  font-size: 12px;
  font-weight: 700;
  opacity: .75;
}

.buzer-cal-days,
.buzer-cal-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.buzer-cal-empty,
.buzer-cal-day{
  height: 44px;
  border-right: 1px solid rgba(0,0,0,.05);
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.buzer-cal-days > :nth-child(7n),
.buzer-cal-grid > :nth-child(7n){
  border-right: none;
}

/* Responsive */
@media (max-width: 980px){
  :root{ --buzer-hero-card-overlap: 78px; }
  .buzer-host-cards{ grid-template-columns:repeat(2, minmax(0, 1fr)); transform:none; }
  .buzer-host-bottom{ margin-top:92px; }
  .buzer-host-grid{ grid-template-columns:1fr; }
}
@media (max-width: 560px){
  :root{ --buzer-hero-card-overlap: 62px; }
  .buzer-host-hero{ min-height:380px; border-radius:0; }
  .buzer-host-hero-inner{ padding:22px 16px 0; }
  .buzer-host-hero-brand{ top:20px; left:22px; }
  .buzer-host-hero-title h1{ font-size:30px; }
  .buzer-host-cards{ grid-template-columns:1fr; transform:none; }
  .buzer-host-more{ width:100%; }
  .buzer-host-panel{ border-radius:18px; }
  .buzer-avail-grid{ grid-template-columns:1fr; }
  .buzer-avail-cal-grid{ grid-template-columns:1fr; }
}


/* Sticky top menu for host frontpage */
.buzer-host-topnav{
  position:sticky;
  top:0;
  z-index:999;
  /* Full-bleed background while keeping inner content constrained */
  width:100vw;
  margin:0;
  margin-left:calc(50% - 50vw);
  padding:10px 0;
  backdrop-filter:saturate(180%) blur(10px);
}
.buzer-host-topnav--theme{ background: var(--buzer-primary, #111); }
.buzer-host-topnav--white{ background: rgba(255,255,255,.92); border-bottom:1px solid rgba(0,0,0,.06); }
.buzer-host-topnav-inner{
  width:min(1240px, calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.buzer-host-topnav-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:18px;
  /* No "card" behind the logo/text (requested) */
  background:transparent;
  border:0;
  box-shadow:none;
  max-width:48%;
}
.buzer-host-topnav-brand img{
  display:block;
  height:auto;
  max-height:54px;
  width:auto;
  max-width:240px;
}
.buzer-host-topnav-brand-text{
  font-size:20px;
  font-weight:700;
  letter-spacing:.2px;
  line-height:1.1;
  color:#111;
}
.buzer-host-topnav--theme .buzer-host-topnav-brand-text{ color:#111; }
.buzer-host-topnav-links{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.buzer-host-topnav-links a{
  text-decoration:none;
  font-weight:600;
  padding:10px 10px;
  border-radius:14px;
  line-height:1;
}
.buzer-host-topnav--theme .buzer-host-topnav-links a{ color:#fff; }
.buzer-host-topnav--white .buzer-host-topnav-links a{ color: var(--buzer-primary, #111); }
.buzer-host-topnav-links a:hover{
  background:rgba(255,255,255,.18);
}
.buzer-host-topnav--white .buzer-host-topnav-links a:hover{
  background:rgba(0,0,0,.04);
}

/* Nice anchor offsets (so sticky nav doesn't hide headings) */
#over,#accommodaties,#boeken,#info,#contact{ scroll-margin-top:90px; }
html{ scroll-behavior:smooth; }

@media (max-width: 820px){
  .buzer-host-topnav-inner{ flex-wrap:wrap; }
  .buzer-host-topnav-brand{ max-width:100%; }
  .buzer-host-topnav-links{ width:100%; gap:10px; justify-content:flex-start; }
  .buzer-host-topnav-links a{ padding:9px 9px; }
}


/* --- Theme color overrides (remove purple / theme defaults) --- */
.buzer-owner-page a{ color: var(--buzer-primary, #111); }
.buzer-owner-page a:visited{ color: var(--buzer-primary, #111); }
.buzer-owner-page a:hover{ color: var(--buzer-primary, #111); opacity:.9; }

.buzer-owner-page .buzer-btn{
  background: var(--buzer-primary, #111);
  border-color: var(--buzer-primary, #111);
  color:#fff !important;
}
.buzer-owner-page .buzer-btn:hover{
  filter:brightness(.95);
}
.buzer-owner-page .buzer-btn:focus,
.buzer-owner-page .buzer-btn:focus-visible{
  outline:2px solid var(--buzer-primary, #111);
  outline-offset:2px;
}

.buzer-owner-page .buzer-btn-secondary{
  background:#fff;
  color: var(--buzer-primary, #111) !important;
  border-color: var(--buzer-primary, #111);
}
.buzer-owner-page .buzer-btn-secondary:hover{
  background: var(--buzer-primary, #111);
  color:#fff !important;
}

/* Inputs focus (datepicker + party inputs) */
.buzer-owner-page input:focus,
.buzer-owner-page input:focus-visible,
.buzer-owner-page select:focus,
.buzer-owner-page select:focus-visible,
.buzer-owner-page textarea:focus,
.buzer-owner-page textarea:focus-visible{
  outline:2px solid var(--buzer-primary, #111);
  outline-offset:2px;
  border-color: var(--buzer-primary, #111);
}

/* Topnav links: prevent theme visited/purple */
.buzer-host-topnav--white .buzer-host-topnav-links a{ color: var(--buzer-primary, #111); }
.buzer-host-topnav--white .buzer-host-topnav-links a:visited{ color: var(--buzer-primary, #111); }
.buzer-host-topnav--theme .buzer-host-topnav-links a{ color:#fff; }
.buzer-host-topnav--theme .buzer-host-topnav-links a:visited{ color:#fff; }
.buzer-host-topnav--theme .buzer-host-topnav-links a:hover{ color:#fff; opacity:.92; }



/* Booking embed on host frontpage */
.buzer-host-booking-wrap{margin-top:18px;}
.buzer-host-panel--compact .buzer-panel-head{margin-bottom:12px;}
.buzer-book-choice{display:flex;gap:14px;align-items:center;margin:8px 0 14px;}
.buzer-book-choice-media{width:120px;flex:0 0 120px;}
.buzer-book-choice-thumb{width:120px;height:80px;object-fit:cover;border-radius:16px;display:block;}
.buzer-book-choice-title{font-weight:700;font-size:16px;margin-bottom:4px;}
.buzer-booking-embed #buzer-booking{margin-top:10px;}
.buzer-party-summary{margin:-6px 0 12px;}
@media (max-width: 768px){.buzer-book-choice{flex-direction:column;align-items:flex-start}.buzer-book-choice-media{width:100%}.buzer-book-choice-thumb{width:100%;height:160px}}



/* Checkout summary improvements */
.buzer-checkout-prop{display:flex;gap:12px;align-items:center;margin:12px 0 14px;}
.buzer-checkout-prop__img{width:74px;height:74px;border-radius:16px;overflow:hidden;flex:0 0 auto;background:#f3f3f3;}
.buzer-checkout-prop__img img{width:100%;height:100%;object-fit:cover;display:block;}
.buzer-checkout-prop__title{font-weight:900;line-height:1.15;}
.buzer-checkout-lines{margin-top:10px;border-top:1px solid rgba(0,0,0,.06);padding-top:10px;}
.buzer-line{display:flex;justify-content:space-between;gap:12px;padding:6px 0;}
.buzer-line span:last-child{font-variant-numeric:tabular-nums;}
.buzer-line--subtotal{border-top:1px dashed rgba(0,0,0,.12);margin-top:6px;padding-top:10px;font-weight:800;}
.buzer-line--total{border-top:1px solid rgba(0,0,0,.10);margin-top:6px;padding-top:10px;font-weight:950;font-size:16px;}

