/* Welcome Back Vacation Rentals – property listing styles */
.pbb-grid,
.pbb-property,
.pbb-grid *,
.pbb-property * { box-sizing: border-box; }

.pbb-grid {
  --pbb-teal: #004b49;
  --pbb-mint: #69c4a0;
  display: grid;
  width: 100%;
  max-width: 1280px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px;
  margin: 42px auto 56px;
  padding: 0 24px;
  font-family: inherit;
}
.pbb-grid.pbb-cols-1 { grid-template-columns: minmax(0, 1fr); }
.pbb-grid.pbb-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pbb-grid.pbb-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pbb-grid.pbb-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pbb-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: #243b39;
  background: #fff;
  border: 1px solid #e1e9e6;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 55, 52, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.pbb-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,55,52,.12); }
.pbb-card-image { display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #edf2f0; }
.pbb-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pbb-card:hover .pbb-card-image img { transform: scale(1.025); }
.pbb-no-image { display: grid; height: 100%; place-items: center; color: #536b67; }
.pbb-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px; }
.pbb-card-body small { color: #687b77; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pbb-price { margin: 8px 0; color: #004b49; font-size: clamp(21px, 2vw, 26px); font-weight: 700; line-height: 1.25; }
.pbb-price span { color: #667a76; font-size: 15px; font-weight: 400; }
.pbb-card h3 { margin: 8px 0 14px; color: #173d39; font: inherit; font-size: 21px; font-weight: 700; line-height: 1.3; }
.pbb-card h3 a { color: inherit; text-decoration: none; }
.pbb-card h3 a:hover { color: #00736c; }
.pbb-facts { margin: 0 0 8px; color: #526b67; font-size: 14px; line-height: 1.6; }
.pbb-cleaning { margin: 10px 0 20px; color: #687b77; font-size: 12px; }
.pbb-button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid #004b49; border-radius: 5px; background: #004b49; color: #fff; font: inherit; font-weight: 650; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.pbb-card .pbb-button { margin-top: auto; }
.pbb-button:hover, .pbb-button:focus { border-color: #69c4a0; background: #69c4a0; color: #123b38; }

/* Single property page. The top offset accommodates the site's fixed/sticky header without pushing content excessively far down. */
.pbb-property {
  --pbb-teal: #004b49;
  --pbb-mint: #69c4a0;
  width: 100%;
  max-width: 1280px;
  min-width: 0;
  margin: 0 auto !important;
  padding: clamp(76px, 7vw, 104px) 24px 58px !important;
  color: #344c48;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.pbb-property img { max-width: 100%; }
.pbb-property-head { display: flex; width: 100%; min-width: 0; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; padding: 0 0 22px; border-bottom: 1px solid #e1e9e6; }
.pbb-property-head > div { min-width: 0; }
.pbb-property-head h1 { margin: 0 0 7px; color: #173d39; font-family: inherit; font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; line-height: 1.13; letter-spacing: -.02em; }
.pbb-property-head p { margin: 0; color: #667a76; font-size: 15px; }
.pbb-property-head .pbb-price { margin: 0; white-space: nowrap; }
/* True masonry gallery: natural image proportions, tightly packed columns. */
.pbb-gallery { width: 100%; min-width: 0; column-count: 3; column-gap: 10px; margin: 24px 0 30px; }
.pbb-gallery-item { display: block; width: 100%; margin: 0 0 10px; break-inside: avoid; overflow: hidden; border-radius: 8px; background: #edf2f0; line-height: 0; cursor: zoom-in; }
.pbb-gallery-item img { display: block; width: 100%; height: auto; min-width: 0; border-radius: 8px; transition: transform .25s ease; }
.pbb-gallery-item:hover img { transform: scale(1.025); }
.pbb-lightbox { position: fixed; z-index: 999999; inset: 0; display: flex; align-items: center; justify-content: center; padding: 58px 76px; background: rgba(8,18,17,.94); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.pbb-lightbox.is-open { opacity: 1; visibility: visible; }
.pbb-lightbox-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 12px 45px rgba(0,0,0,.35); }
.pbb-lightbox-close, .pbb-lightbox-prev, .pbb-lightbox-next { position: absolute; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font: 32px/1 Arial,sans-serif; cursor: pointer; }
.pbb-lightbox-close { top: 16px; right: 18px; font-size: 30px; }
.pbb-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.pbb-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.pbb-lightbox-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; font: 14px/1.4 Arial,sans-serif; }
.pbb-lightbox button:hover, .pbb-lightbox button:focus { background: #004b49; outline: 2px solid #69c4a0; outline-offset: 2px; }
body.pbb-lightbox-open { overflow: hidden; }
.pbb-property-layout { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1.55fr) minmax(290px, .8fr); align-items: start; gap: clamp(26px, 4vw, 54px); }
.pbb-property-layout > main { min-width: 0; }
.pbb-property-layout h2 { margin: 28px 0 14px; color: #173d39; font-family: inherit; font-size: clamp(22px, 2vw, 27px); font-weight: 700; line-height: 1.25; }
.pbb-facts-large { margin: 0 0 22px; padding: 16px 0; border-bottom: 1px solid #e1e9e6; color: #365b55; font-size: 15px; font-weight: 600; line-height: 1.8; }
.pbb-description { color: #405853; }
.pbb-description p { margin: 0 0 16px; }
.pbb-amenities { columns: 2; column-gap: 36px; padding-left: 22px; color: #405853; }
.pbb-amenities li { break-inside: avoid; padding: 2px 0; }
.pbb-booking-box { position: sticky; top: 108px; width: 100%; min-width: 0; align-self: start; padding: 24px; border: 1px solid #dce7e4; border-radius: 10px; background: #fff; box-shadow: 0 8px 26px rgba(0,55,52,.08); }
.pbb-booking-box h2 { margin: 0 0 8px; color: #173d39; font-size: 23px; }
.pbb-booking-box .pbb-price { margin: 8px 0 18px; color: #004b49; font-size: 27px; }
.pbb-booking-form label { display: block; margin: 12px 0; color: #314c47; font-size: 14px; font-weight: 650; line-height: 1.4; }
.pbb-booking-form input { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 6px; padding: 10px 12px; border: 1px solid #cbd8d5; border-radius: 5px; background: #fff; color: #263b39; font: inherit; font-size: 15px; }
.pbb-booking-form input:focus { outline: 2px solid #69c4a0; outline-offset: 1px; }
.pbb-payment-methods { margin: 16px 0; padding: 12px 14px; border: 1px solid #dce7e4; border-radius: 7px; }
.pbb-payment-methods legend { padding: 0 5px; color: #173d39; font-weight: 700; }
.pbb-payment-methods .pbb-radio { display: flex; align-items: center; gap: 9px; margin: 8px 0; font-weight: 500; }
.pbb-payment-methods .pbb-radio input { width: auto; min-height: auto; margin: 0; accent-color: #004b49; }
.pbb-button-full { display: flex; width: 100%; min-height: 48px; white-space: normal; }
.pbb-small { color: #687b77; font-size: 12px; line-height: 1.55; }
.pbb-fee-note { margin-top: 12px; }
.pbb-notice { margin: 0 0 20px; padding: 14px 18px; border-radius: 6px; }
.pbb-notice-ok { border: 1px solid #69c4a0; background: #eaf6f1; color: #004b49; }
.pbb-notice-warn { border: 1px solid #e5c28c; background: #fff7eb; color: #704d17; }

@media (max-width: 1024px) {
  .pbb-property { padding: 72px 20px 46px !important; }
  .pbb-property-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pbb-booking-box { position: static; max-width: 680px; }
  .pbb-gallery { column-count: 2; }
}
@media (max-width: 767px) {
  .pbb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px auto 42px; padding: 0 18px; }
  .pbb-card-body { padding: 17px; }
  .pbb-card h3 { font-size: 18px; }
  .pbb-property { padding: 68px 18px 38px !important; }
  .pbb-property-head { display: block; }
  .pbb-property-head h1 { font-size: clamp(27px, 6vw, 36px); }
  .pbb-property-head .pbb-price { margin-top: 12px; white-space: normal; }
  .pbb-gallery { column-count: 2; column-gap: 7px; margin: 18px 0 24px; }
  .pbb-gallery-item { margin-bottom: 7px; }
  .pbb-amenities { columns: 2; }
}
@media (max-width: 480px) {
  .pbb-grid { grid-template-columns: minmax(0, 1fr); max-width: 430px; padding: 0 14px; gap: 18px; }
  .pbb-card-image { aspect-ratio: 1.5; }
  .pbb-card-body { padding: 19px; }
  .pbb-property { padding: 62px 14px 30px !important; }
  .pbb-gallery { column-gap: 6px; }
  .pbb-gallery-item { margin-bottom: 6px; }
  .pbb-lightbox { padding: 54px 12px; }
  .pbb-lightbox-prev { left: 8px; }
  .pbb-lightbox-next { right: 8px; }
  .pbb-property-layout h2 { font-size: 22px; }
  .pbb-facts-large { font-size: 14px; }
  .pbb-amenities { columns: 1; }
  .pbb-booking-box { padding: 17px; }
  .pbb-button-full { min-height: 48px; padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbb-card, .pbb-card-image img, .pbb-button { transition: none; }
}

/* Call option shown after a booking request is submitted. */
.pbb-call-client-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 18px; border-radius: 5px; background: #1f766e; color: #fff !important; font-weight: 700; text-decoration: none !important; }
.pbb-call-client-button:hover, .pbb-call-client-button:focus { background: #155b55; color: #fff !important; }
.pbb-notice-ok p { margin: 12px 0 0; }


/* Booking request confirmation modal: responsive on desktop, tablet and mobile. */
body.pbb-call-modal-open { overflow: hidden; }
.pbb-call-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 28, 26, .68); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.pbb-call-modal.is-open { opacity: 1; visibility: visible; }
.pbb-call-modal-panel { position: relative; box-sizing: border-box; width: min(100%, 480px); max-height: min(88vh, 720px); overflow-y: auto; padding: 38px 32px 32px; border-radius: 14px; background: #fff; color: #314c47; text-align: center; box-shadow: 0 22px 70px rgba(0,0,0,.25); transform: translateY(12px); transition: transform .2s ease; }
.pbb-call-modal.is-open .pbb-call-modal-panel { transform: translateY(0); }
.pbb-call-modal-close { position: absolute; top: 10px; right: 13px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #f0f5f3; color: #173d39; font-size: 27px; line-height: 1; cursor: pointer; }
.pbb-call-modal-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: #eaf6f1; color: #1f766e; font-size: 28px; }
.pbb-call-modal-panel h2 { margin: 0 0 12px; color: #173d39; font-size: clamp(22px, 4vw, 28px); line-height: 1.25; }
.pbb-call-modal-panel p { margin: 0 auto 22px; max-width: 380px; color: #526963; font-size: 15px; line-height: 1.65; }
.pbb-call-modal .pbb-call-client-button { width: 100%; max-width: 290px; min-height: 50px; box-sizing: border-box; }
@media (max-width: 600px) {
  .pbb-call-modal { align-items: center; padding: 16px; }
  .pbb-call-modal-panel { width: 100%; max-width: 440px; max-height: 90vh; padding: 42px 21px 24px; border-radius: 12px; }
  .pbb-call-modal-panel p { font-size: 14px; }
  .pbb-call-modal .pbb-call-client-button { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pbb-call-modal, .pbb-call-modal-panel { transition: none; }
}


/* Call scheduler controls inside the confirmation modal. */
.pbb-call-schedule-form { display: grid; grid-template-columns: 1fr; gap: 9px; width: 100%; text-align: left; }
.pbb-call-schedule-form label { margin: 5px 0 0; color: #314c47; font-size: 14px; font-weight: 700; }
.pbb-call-schedule-form input[type="date"], .pbb-call-schedule-form select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd8d5; border-radius: 6px; background: #fff; color: #263b39; font: inherit; font-size: 15px; }
.pbb-call-schedule-form input:focus, .pbb-call-schedule-form select:focus { outline: 2px solid #69c4a0; outline-offset: 1px; }
.pbb-call-schedule-form .pbb-call-client-button { max-width: none; width: 100%; margin-top: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.pbb-call-hours { margin: 2px 0 0 !important; font-size: 13px !important; }
.pbb-call-scheduled { display: grid; gap: 8px; padding: 15px; border: 1px solid #b8ddd0; border-radius: 8px; background: #eff8f4; color: #155b55; }
.pbb-call-scheduled strong { font-size: 14px; }
.pbb-call-scheduled span { font-size: 16px; font-weight: 700; }
@media (max-width: 600px) { .pbb-call-schedule-form { gap: 8px; } .pbb-call-schedule-form input[type="date"], .pbb-call-schedule-form select { min-height: 46px; font-size: 16px; } }

/* Property gallery: consistent editorial grid, with a large lead image. */
.pbb-gallery { display: grid; width: 100%; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(105px, 13vw, 175px); gap: 10px; margin: 24px 0 32px; }
.pbb-gallery-item { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 10px; background: #edf2f0; line-height: 0; cursor: zoom-in; }
.pbb-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pbb-gallery-item:hover img { transform: scale(1.035); }
.pbb-gallery-item.pbb-gallery-featured { grid-column: span 2; grid-row: span 2; }
.pbb-image-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 12px; color: #667a76; font: 13px/1.4 inherit; text-align: center; }
.pbb-gallery-item.pbb-image-broken .pbb-image-fallback { display: flex; }
.pbb-gallery-item.pbb-image-broken img { display: none; }
@media (max-width: 767px) {
  .pbb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 29vw, 190px); gap: 8px; }
  .pbb-gallery-item.pbb-gallery-featured { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 420px) { .pbb-gallery { gap: 6px; grid-auto-rows: 125px; } }

/* Property gallery: consistent editorial grid, with a large lead image. */
.pbb-gallery { display: grid; width: 100%; min-width: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(105px, 13vw, 175px); gap: 10px; margin: 24px 0 32px; }
.pbb-gallery-item { position: relative; display: block; min-width: 0; min-height: 0; overflow: hidden; border-radius: 10px; background: #edf2f0; line-height: 0; cursor: zoom-in; }
.pbb-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.pbb-gallery-item:hover img { transform: scale(1.035); }
.pbb-gallery-item.pbb-gallery-featured { grid-column: span 2; grid-row: span 2; }
.pbb-image-fallback { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; padding: 12px; color: #667a76; font: 13px/1.4 inherit; text-align: center; }
.pbb-gallery-item.pbb-image-broken .pbb-image-fallback { display: flex; }
.pbb-gallery-item.pbb-image-broken img { display: none; }
@media (max-width: 767px) {
  .pbb-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 29vw, 190px); gap: 8px; }
  .pbb-gallery-item.pbb-gallery-featured { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 420px) { .pbb-gallery { gap: 6px; grid-auto-rows: 125px; } }
.pbb-card-image .pbb-no-image { display: grid; width: 100%; height: 100%; min-height: 150px; place-items: center; color: #667a76; font-size: 13px; }
