/* Book5Star catalogue brochure only. */
[data-page="brochure"] .b5-brochure-title { gap: 16px 24px; align-items: flex-end; }
[data-page="brochure"] .b5-brochure-title h1 { overflow-wrap: anywhere; }
.b5-brochure-title > div:first-child { min-width: 0; }
.b5-brochure-title > div:first-child p:last-child a { color: inherit; text-decoration-color: #a88e53; text-underline-offset: 3px; }
.b5-brochure-tools { display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 8px; position: relative; }
.b5-brochure-tool, .b5-brochure-view-all {
  display: inline-flex; justify-content: center; align-items: center; gap: 8px;
  padding: 9px 14px; min-height: 44px;
  border: 1px solid #d8d2c3; border-radius: 9px;
  background: #fff; color: #17283b;
  font: 700 14px/1.3 Manrope, Arial, sans-serif; cursor: pointer;
}
.b5-brochure-tool:hover, .b5-brochure-view-all:hover { border-color: #a88e53; background: #fcfaf6; }
.b5-brochure-tool:focus-visible, .b5-brochure-view-all:focus-visible { outline: 3px solid #82652b; outline-offset: 2px; }
.b5-brochure-tool .lx-icon, .b5-brochure-view-all .lx-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.b5-brochure-tools [hidden], .b5-brochure-view-all[hidden], .b5-brochure-share-fallback[hidden] { display: none !important; }
.b5-brochure-share-status:not(:empty) {
  position: absolute; z-index: 3; right: 0; top: calc(100% + 5px);
  background: #17283b; color: white; border-radius: 7px; padding: 7px 10px;
  white-space: nowrap; font-size: 12px;
}
.b5-brochure-share-fallback {
  padding: 10px 14px 14px; margin: 0 0 16px; border: 1px solid #d8d2c3;
  border-radius: 9px; max-width: 600px;
}
.b5-brochure-share-fallback label { display: block; font-weight: 700; color: #17283b; }
.b5-brochure-share-fallback input { display: block; width: 100%; color: #17283b; padding: 8px; margin-top: 5px; font-size: 16px; }
.b5-brochure-gallery { position: relative; }
.b5-brochure-gallery .lx-mosaic { margin-bottom: 0; }
.b5-brochure-gallery-empty img { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 12px; }
.b5-brochure-view-all { position: absolute; z-index: 2; right: 14px; bottom: 14px; box-shadow: 0 2px 10px #17283b22; }
[data-page="brochure"] #property-details { scroll-margin-top: 100px; }
@media (min-width: 801px) {
  .review-page[data-page="brochure"] .rp-mobile-actions.b5-brochure-mobile { display: none !important; }
}
@media (max-width: 800px) {
  .review-page[data-page="brochure"] .rp-brochure-grid #enquiry-panel.b5-brochure-panel-has-booking { display: none !important; }
  .review-page[data-page="brochure"] .rp-mobile-actions.b5-brochure-mobile {
    display: flex !important; position: fixed; inset: auto 0 0; z-index: 30;
    justify-content: space-between; align-items: center; gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right))
      calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: #fff; border-top: 1px solid #b69b63; box-shadow: 0 -5px 24px #17283b1a;
  }
  .review-page[data-page="brochure"] .b5-brochure-mobile .dd-bottom-price { min-width: 0; }
  .review-page[data-page="brochure"] .b5-brochure-mobile .dd-bottom-price strong { color: #17283b; font-size: clamp(13px, 3.5vw, 16px); }
  .review-page[data-page="brochure"] .b5-brochure-mobile .rp-button {
    display: grid; place-items: center; flex: 0 0 auto;
    min-height: 46px; color: #fff; background: #17283b; border: 1px solid #a88e53;
    border-radius: 8px; white-space: nowrap;
  }
  .review-page[data-page="brochure"] .rp-main.b5-brochure-has-booking { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}
@media (max-width: 650px) {
  [data-page="brochure"] .b5-brochure-title { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .b5-brochure-tool { padding-inline: 12px; }
  .b5-brochure-share-status:not(:empty) { left: 0; right: auto; }
  [data-page="brochure"] .b5-brochure-gallery { margin-inline: -20px; }
  [data-page="brochure"] .b5-brochure-gallery .lx-mosaic { width: 100%; margin-inline: 0; }
  [data-page="brochure"] .b5-brochure-gallery .lx-mosaic-photo,
  [data-page="brochure"] .b5-brochure-gallery .lx-mosaic-photo img,
  [data-page="brochure"] .b5-brochure-gallery-empty img { border-radius: 0; }
  .b5-brochure-view-all { bottom: 10px; right: 12px; padding-inline: 10px; }
}
@media (max-width: 360px) { [data-page="brochure"] .b5-brochure-gallery { margin-inline: -16px; } }
@media screen {
  .b5-brochure-print-only { display: none !important; }
}
@media print {
  body[data-page="brochure"] > :not(#main-content),
  [data-page="brochure"] .b5-brochure-screen-only { display: none !important; }
  .b5-brochure-tools, .b5-brochure-view-all, .b5-brochure-share-fallback, #photo-dialog,
  .review-page[data-page="brochure"] .rp-mobile-actions.b5-brochure-mobile { display: none !important; }
  .b5-brochure-gallery { break-inside: avoid; }
  [data-page="brochure"] .dd-accordion > summary { color: #17283b; }
  [data-page="brochure"] .dd-accordion-body { display: block !important; }
}
