/* Boat / experience detail page.
   Editorial style: black type, thin rules, generous whitespace, one accent. */
:root {
    --bd-accent: #319795;
    --bd-accent-dark: #257f7d;
    --bd-accent-tint: #eef7f6;
    --bd-text: #17232a;
    --bd-text-2: #4a5a62;
    --bd-text-3: #7d8a90;
    --bd-rule: #e8ecec;
    --bd-rule-strong: #d3dbdb;
    --bd-surface: #f6f8f8;
    --bd-star: #17232a;
}

.bd-page,
.bd-page *,
.bd-modal,
.bd-modal * {
    box-sizing: border-box;
}

.bd-page {
    color: var(--bd-text);
    background: #fff;
    font-family: "Outfit", "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

.bd-page h1,
.bd-page h2,
.bd-page h3,
.bd-page p,
.bd-page dl,
.bd-page ul,
.bd-page ol {
    margin: 0;
    font-family: inherit;
    letter-spacing: 0;
}

.bd-page ul,
.bd-page ol {
    padding: 0;
    list-style: none;
}

.bd-page button {
    font-family: inherit;
}

.bd-page a {
    color: inherit;
}

.bd-page .fa-solid,
.bd-page .fa-regular,
.bd-page .fa-brands,
.bd-modal .fa-solid,
.bd-modal .fa-regular {
    line-height: 1;
}

.bd-wrap {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* Headings: same serif treatment as the home page */
.bd-page .bd-title,
.bd-page .bd-section__title,
.bd-page .bd-related h2,
.bd-page .bd-reviews-head h2,
.bd-modal .bd-modal__head h2 {
    font-family: var(--font-heading, Georgia, "Times New Roman", serif);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.bd-page .bd-title {
    letter-spacing: -0.03em;
}

.bd-page .bd-title span {
    font-weight: 400;
}

/* Small helpers */
.bd-link {
    color: var(--bd-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.bd-link:hover {
    color: var(--bd-accent-dark);
}

.bd-text-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--bd-text);
    font-size: 15px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    cursor: pointer;
}

.bd-text-btn:hover {
    color: var(--bd-accent-dark);
}

.bd-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 1px solid var(--bd-text);
    border-radius: 8px;
    background: #fff;
    color: var(--bd-text);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 150ms ease;
}

.bd-btn-ghost:hover {
    background: var(--bd-surface);
}

/* Breadcrumb */
.bd-page .bd-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    padding: 20px 0 16px;
    color: var(--bd-text-3);
    font-size: 13px;
}

.bd-crumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bd-crumbs li + li::before {
    content: "/";
    color: var(--bd-rule-strong);
}

.bd-crumbs a {
    color: var(--bd-text-2);
    text-decoration: none;
}

.bd-crumbs a:hover {
    text-decoration: underline;
}

.bd-crumbs li:last-child {
    color: var(--bd-text);
}

/* Top bar (share / save) */
.bd-topbar {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 12px;
}

.bd-topbar button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--bd-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.bd-topbar button:hover {
    background: var(--bd-surface);
}

.bd-topbar button i {
    font-size: 16px;
}

.bd-topbar button.is-active i {
    color: #e0245e;
}

/* Gallery */
.bd-gallery-shell {
    position: relative;
}

.bd-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 224px 224px;
    gap: 6px;
    overflow: hidden;
    border-radius: 12px;
}

.bd-gallery__item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #e9eeee;
    cursor: zoom-in;
}

.bd-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 200ms ease;
}

.bd-gallery__item:hover img {
    filter: brightness(0.92);
}

.bd-gallery__item--main {
    grid-row: 1 / span 2;
}

.bd-gallery--count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 454px;
}

.bd-gallery--count-1 .bd-gallery__item--main {
    grid-row: auto;
}

.bd-gallery--count-2 {
    grid-template-columns: 2fr 1fr;
}

.bd-gallery--count-2 .bd-gallery__item:nth-child(2) {
    grid-row: 1 / span 2;
}

.bd-gallery--count-3 {
    grid-template-columns: 2fr 1fr;
}

.bd-gallery--count-4 {
    grid-template-columns: 2fr 1fr 1fr;
}

.bd-gallery--count-4 .bd-gallery__item:nth-child(4) {
    grid-column: 2 / span 2;
}

.bd-gallery__more {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(23, 35, 42, 0.5);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.bd-gallery__all {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(23, 35, 42, 0.15);
    border-radius: 6px;
    background: #fff;
    color: var(--bd-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.bd-gallery__all:hover {
    background: var(--bd-surface);
}

.bd-gallery__counter {
    display: none;
}

/* Layout */
.bd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 72px;
    align-items: start;
    padding-top: 28px;
}

.bd-main {
    min-width: 0;
}

.bd-aside {
    position: sticky;
    top: 96px;
}

/* Heading */
.bd-title {
    color: var(--bd-text);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.bd-title span {
    color: var(--bd-text-3);
    font-weight: 400;
}

.bd-subtitle {
    margin-top: 6px !important;
    color: var(--bd-text-2);
    font-size: 15px;
}

.bd-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 10px;
}

.bd-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    padding: 14px 8px;
    text-align: center;
}

.bd-fact + .bd-fact {
    border-left: 1px solid var(--bd-rule);
}

.bd-fact strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.bd-fact strong i {
    font-size: 14px;
}

.bd-fact span {
    color: var(--bd-text-3);
    font-size: 13px;
}

/* Highlights */
.bd-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid var(--bd-rule);
}

.bd-highlight {
    display: flex;
    gap: 16px;
}

.bd-highlight > i {
    width: 24px;
    flex: 0 0 24px;
    margin-top: 2px;
    color: var(--bd-text);
    font-size: 19px;
    text-align: center;
}

.bd-highlight h3 {
    font-size: 16px;
    font-weight: 600;
}

.bd-highlight p {
    margin-top: 2px !important;
    color: var(--bd-text-2);
    font-size: 14.5px;
}

.bd-highlight--note {
    margin: 0 -14px;
    padding: 14px;
    border-radius: 8px;
    background: var(--bd-accent-tint);
}

.bd-highlight--note > i,
.bd-highlight--note h3 {
    color: var(--bd-accent-dark);
}

/* Sections */
.bd-section {
    padding: 34px 0;
    border-bottom: 1px solid var(--bd-rule);
}

.bd-section__title {
    margin-bottom: 18px !important;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.bd-section__lead {
    margin: -8px 0 18px !important;
    color: var(--bd-text-2);
    font-size: 14.5px;
}

.bd-prose {
    color: var(--bd-text);
    font-size: 16px;
    line-height: 1.65;
}

.bd-prose p + p {
    margin-top: 14px;
}

.bd-prose.is-clamped {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

/* Owner-entered sun deck, cabin and special-feature descriptions */
.bd-detail-notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.bd-detail-note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 12px;
    background: #fff;
}

.bd-detail-note__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--bd-accent-tint);
    color: var(--bd-accent-dark);
    font-size: 15px;
}

.bd-detail-note h3 {
    margin: 1px 0 7px !important;
    color: var(--bd-text);
    font-size: 16px;
    font-weight: 600;
}

.bd-detail-note__content {
    overflow-wrap: anywhere;
    color: var(--bd-text-2);
    font-size: 14.5px;
    line-height: 1.55;
}

.bd-detail-note__content p + p,
.bd-detail-note__content ul,
.bd-detail-note__content ol {
    margin-top: 8px !important;
}

.bd-detail-note__content ul,
.bd-detail-note__content ol {
    padding-left: 18px;
}

/* Check lists */
.bd-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 32px;
}

.bd-checks li {
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 16px;
}

.bd-checks i {
    color: var(--bd-accent);
    font-size: 14px;
}

.bd-checks--off li {
    color: var(--bd-text-3);
}

.bd-checks--off i {
    color: var(--bd-text-3);
}

.bd-checks li[hidden] {
    display: none;
}

.bd-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.bd-split h3 {
    margin-bottom: 14px !important;
    font-size: 16px;
    font-weight: 600;
}

.bd-split .bd-checks {
    grid-template-columns: 1fr;
}

.bd-group + .bd-group {
    margin-top: 24px;
}

.bd-group h3 {
    margin-bottom: 12px !important;
    color: var(--bd-text-3);
    font-size: 13px;
    font-weight: 500;
}

.bd-group[hidden] {
    display: none;
}

.bd-section .bd-btn-ghost {
    margin-top: 24px;
}

/* Itinerary */
.bd-itinerary li {
    position: relative;
    padding: 0 0 20px 26px;
}

.bd-itinerary li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 0;
    width: 10px;
    height: 10px;
    border: 2px solid var(--bd-accent);
    border-radius: 50%;
    background: #fff;
}

.bd-itinerary li::after {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 4px;
    width: 2px;
    background: var(--bd-rule);
}

.bd-itinerary li:last-child {
    padding-bottom: 0;
}

.bd-itinerary li:last-child::after {
    display: none;
}

.bd-itinerary h3 {
    font-size: 16px;
    font-weight: 600;
}

.bd-itinerary p {
    color: var(--bd-text-2);
    font-size: 14.5px;
}

/* Price list */
.bd-prices {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.bd-prices th,
.bd-prices td {
    padding: 12px 0;
    border-bottom: 1px solid var(--bd-rule);
    text-align: right;
    white-space: nowrap;
}

.bd-prices th:first-child,
.bd-prices td:first-child {
    text-align: left;
}

.bd-prices th {
    color: var(--bd-text-3);
    font-size: 13px;
    font-weight: 500;
}

.bd-prices td:first-child {
    font-weight: 500;
}

.bd-prices td.bd-strong {
    font-weight: 600;
}

.bd-prices tr.is-past td {
    color: var(--bd-text-3);
}

/* Owner */
.bd-owner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bd-avatar {
    display: grid;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--bd-text);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.bd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-owner h3 {
    font-size: 18px;
    font-weight: 600;
}

.bd-owner p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px !important;
    color: var(--bd-text-2);
    font-size: 14px;
}

.bd-owner p i {
    color: var(--bd-accent);
    font-size: 13px;
}

.bd-owner p i.fa-star {
    color: var(--bd-star);
}

/* Location */
.bd-map {
    overflow: hidden;
    border-radius: 10px;
    background: var(--bd-surface);
}

.bd-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* Details */
.bd-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 40px;
}

.bd-details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bd-rule);
    font-size: 15px;
}

.bd-details dt {
    color: var(--bd-text-2);
}

.bd-details dd {
    font-weight: 500;
    text-align: right;
}

.bd-know h3 {
    margin: 26px 0 10px !important;
    font-size: 16px;
    font-weight: 600;
}

.bd-know h3:first-child {
    margin-top: 0 !important;
}

.bd-policy li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bd-rule);
    font-size: 15px;
}

.bd-note {
    color: var(--bd-text-2);
    font-size: 14.5px;
}

.bd-inline-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    font-size: 15px;
}

.bd-inline-facts li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.bd-inline-facts i {
    width: 18px;
    font-size: 15px;
    text-align: center;
}

/* Reviews */
.bd-reviews-head {
    margin-bottom: 20px;
}

.bd-reviews-head h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 600;
}

.bd-reviews-head h2 i {
    font-size: 18px;
}

.bd-reviews-head p {
    margin-top: 4px !important;
    color: var(--bd-text-2);
    font-size: 14px;
}

.bd-reviews {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bd-review {
    padding: 20px;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 10px;
}

.bd-review[hidden] {
    display: none;
}

.bd-review__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.bd-review__avatar {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--bd-surface);
    color: var(--bd-text-2);
    font-size: 15px;
    font-weight: 500;
}

.bd-review__name {
    font-size: 15px;
    font-weight: 600;
}

.bd-review__date {
    color: var(--bd-text-3);
    font-size: 13px;
}

.bd-review__stars {
    display: flex;
    gap: 2px;
    margin-left: auto;
    color: var(--bd-star);
    font-size: 12px;
}

.bd-review__stars i.is-off {
    color: var(--bd-rule-strong);
}

.bd-review p {
    color: var(--bd-text);
    font-size: 15px;
}

.bd-review p.is-clamped {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.bd-review .bd-text-btn {
    margin-top: 10px;
    font-size: 14px;
}

.bd-empty {
    padding: 24px;
    border: 1px dashed var(--bd-rule-strong);
    border-radius: 10px;
    color: var(--bd-text-2);
    font-size: 15px;
    text-align: center;
}

.bd-review-form {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    padding: 22px;
    border-radius: 10px;
    background: var(--bd-surface);
}

.bd-review-form h3 {
    font-size: 17px;
    font-weight: 600;
}

.bd-review-form textarea {
    width: 100%;
    min-height: 110px;
    padding: 12px;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 8px;
    font: inherit;
    resize: vertical;
}

.bd-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14.5px;
}

.bd-alert--success {
    background: var(--bd-accent-tint);
    color: var(--bd-accent-dark);
}

.bd-alert--error {
    background: #fdf0ee;
    color: #b3423b;
}

.bd-booking-feedback {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin: 14px 0 20px;
    padding: 15px 16px;
    border: 1px solid #efc4bf;
    border-left: 4px solid #c84b43;
    border-radius: 10px;
    background: #fff5f3;
    color: #71332f;
    box-shadow: 0 8px 24px rgba(93, 46, 42, .08);
    scroll-margin-top: 96px;
}

.bd-booking-feedback:focus { outline: 3px solid rgba(200, 75, 67, .16); outline-offset: 3px; }

.bd-booking-feedback__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f9dedb;
    color: #b83d36;
    font-size: 18px;
}

.bd-booking-feedback strong {
    display: block;
    margin-bottom: 3px;
    color: #542522;
    font-size: 15px;
    font-weight: 700;
}

.bd-booking-feedback p { margin: 0; font-size: 14px; line-height: 1.45; }

.bd-booking-feedback__action {
    min-height: 40px;
    padding: 9px 13px;
    border: 1px solid #d8948e;
    border-radius: 8px;
    background: #fff;
    color: #8b3832;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.bd-booking-feedback__action:hover { border-color: #b94a43; background: #fffafa; }

/* Related listings */
.bd-related {
    padding-top: 48px;
}

.bd-layout + .bd-related {
    margin-top: 16px;
    border-top: 1px solid var(--bd-rule);
}

.bd-related:last-of-type {
    padding-bottom: 88px;
}

.bd-related h2 {
    margin-bottom: 20px !important;
    font-size: 22px;
    font-weight: 600;
}

.bd-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
}

.bd-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 180ms ease;
}

.bd-card:hover {
    box-shadow: 0 6px 20px rgba(23, 35, 42, 0.1);
}

.bd-card a {
    color: inherit;
    text-decoration: none;
}

.bd-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e9eeee;
}

.bd-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.bd-card:hover .bd-card__media img {
    transform: scale(1.03);
}

.bd-card__fav {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: rgba(23, 35, 42, 0.35);
    font-size: 15px;
    cursor: pointer;
}

.bd-card__fav:hover {
    color: var(--bd-text);
}

.bd-card__fav.is-active {
    color: #e0245e;
}

.bd-card__fav.is-loading {
    opacity: 0.5;
}

.bd-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px 16px;
}

.bd-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 4px !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.bd-card__title span {
    color: var(--bd-text-3);
    font-weight: 400;
}

.bd-card__meta {
    color: var(--bd-text-2);
    font-size: 14px;
    line-height: 1.4;
}

.bd-card__foot {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
}

.bd-card__price {
    font-size: 16px;
    font-weight: 600;
}

.bd-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.bd-card__rating i {
    font-size: 12px;
}

.bd-card__rating small {
    color: var(--bd-text-3);
    font-size: 14px;
    font-weight: 400;
}

/* Booking card */
.bd-book {
    overflow: hidden;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(23, 35, 42, 0.08);
}

.bd-book__top {
    padding: 18px 22px 16px;
    border-bottom: 1px solid var(--bd-rule);
}

.bd-book__name {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
}

.bd-book__name span:first-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.bd-book__rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.bd-book__rating i {
    font-size: 13px;
}

.bd-book__rating small {
    color: var(--bd-text-3);
    font-weight: 400;
}

.bd-book__sub {
    margin-top: 3px !important;
    color: var(--bd-text-2);
    font-size: 14px;
}

.bd-book__body {
    display: grid;
    gap: 14px;
    padding: 20px 22px 22px;
}

.bd-field {
    display: grid;
    gap: 6px;
}

.bd-field label {
    font-size: 15px;
    font-weight: 500;
}

.bd-page .bd-field input,
.bd-page .bd-field select {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--bd-rule-strong) !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: var(--bd-text) !important;
    font: 400 15px/1.3 "Outfit", "Segoe UI", Arial, sans-serif;
    box-shadow: none;
}

.bd-page .bd-field input::placeholder {
    color: var(--bd-text-3);
}

.bd-page .bd-field input {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 448 512'%3E%3Cpath fill='%2317232a' d='M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24v40H64C28.7 64 0 92.7 0 128v16 48V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V192 144 128c0-35.3-28.7-64-64-64H344V24c0-13.3-10.7-24-24-24s-24 10.7-24 24v40H152V24zM48 192H400V448c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    cursor: pointer;
}

.bd-page .bd-field input:focus,
.bd-page .bd-field select:focus {
    border-color: var(--bd-text) !important;
    outline: 0;
    box-shadow: none !important;
}

.bd-page .bd-field select:disabled {
    background-color: var(--bd-surface) !important;
    color: var(--bd-text-3) !important;
    cursor: not-allowed;
}

/* Site select widget inside the card */
.bd-book .blauereise-select__trigger {
    min-height: 48px;
    border-color: var(--bd-rule-strong);
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    font-weight: 400;
}

.bd-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bd-hint {
    color: var(--bd-text-3);
    font-size: 13px;
}

.bd-breakdown {
    display: grid;
    gap: 9px;
    padding-top: 14px;
    border-top: 1px solid var(--bd-rule);
}

.bd-breakdown[hidden] {
    display: none;
}

.bd-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--bd-text-2);
    font-size: 14.5px;
}

.bd-breakdown dd {
    margin: 0;
    color: var(--bd-text);
    font-variant-numeric: tabular-nums;
}

.bd-breakdown .is-discount dd {
    color: var(--bd-accent-dark);
}

.bd-breakdown .bd-total {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--bd-rule);
    color: var(--bd-text);
    font-size: 16px;
    font-weight: 600;
}

.bd-btn {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 8px;
    background: var(--bd-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 150ms ease;
}

.bd-btn:hover {
    background: var(--bd-accent-dark);
}

.bd-btn.is-attention {
    animation: bdAttention 1.2s ease-in-out 2;
}

@keyframes bdAttention {
    0%, 100% { box-shadow: 0 0 0 0 rgba(49, 151, 149, 0); }
    50% { box-shadow: 0 0 0 6px rgba(49, 151, 149, 0.28); }
}

.bd-btn--dark {
    background: var(--bd-text);
}

.bd-btn--dark:hover {
    background: #000;
}

.bd-book__note {
    color: var(--bd-text-2);
    font-size: 13px;
    text-align: center;
}

.bd-book__error {
    padding: 10px 12px;
    border-radius: 8px;
    background: #fdf0ee;
    color: #b3423b;
    font-size: 14px;
}

.bd-book__error[hidden] {
    display: none;
}

.bd-book__flag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--bd-accent-dark);
    font-size: 13px;
    font-weight: 500;
}

/* Mobile booking bar */
.bd-mobile-bar {
    display: none;
}

/* Modals */
.bd-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(10, 18, 22, 0.6);
    font-family: "Outfit", "Segoe UI", Arial, sans-serif;
}

.bd-modal.is-open {
    display: flex;
}

.bd-modal__panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 12px;
    background: #fff;
    color: var(--bd-text);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.bd-modal__panel--sm {
    max-width: 440px;
}

.bd-modal__head {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--bd-rule);
    background: #fff;
}

.bd-modal__head h2 {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.bd-modal__close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--bd-text);
    font-size: 16px;
    cursor: pointer;
}

.bd-modal__close:hover {
    background: var(--bd-surface);
}

.bd-modal__body {
    padding: 24px 28px 32px;
}

.bd-modal__body > p {
    margin: 0 0 20px;
    color: var(--bd-text-2);
    font-size: 15px;
}

.bd-choice {
    display: grid;
    gap: 10px;
}

.bd-choice button {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--bd-rule-strong);
    border-radius: 10px;
    background: #fff;
    color: var(--bd-text);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.bd-choice button:hover {
    border-color: var(--bd-text);
}

.bd-choice i {
    width: 22px;
    font-size: 18px;
    text-align: center;
}

.bd-choice strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
}

.bd-choice span span {
    display: block;
    color: var(--bd-text-3);
    font-size: 13px;
}

.bd-lightbox {
    flex-direction: column;
    gap: 14px;
    background: rgba(8, 14, 18, 0.95);
}

.bd-lightbox img {
    max-width: min(1100px, 100%);
    max-height: calc(100vh - 120px);
    border-radius: 8px;
    object-fit: contain;
    user-select: none;
}

.bd-lightbox__counter {
    color: #cfd8da;
    font-size: 14px;
}

.bd-lightbox .bd-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    color: #fff;
    font-size: 20px;
}

.bd-lightbox .bd-modal__close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.bd-lightbox__nav {
    position: absolute;
    top: 50%;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transform: translateY(-50%);
}

.bd-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.22);
}

.bd-lightbox__nav--prev {
    left: 20px;
}

.bd-lightbox__nav--next {
    right: 20px;
}

/* Flatpickr accents */
.flatpickr-calendar {
    font-family: "Outfit", "Segoe UI", Arial, sans-serif;
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(23, 35, 42, 0.15) !important;
}

.flatpickr-calendar .flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 6px;
    font-size: 15px;
    font-weight: 600;
}

.flatpickr-calendar .flatpickr-current-month .cur-month {
    margin: 0;
    font-weight: 600;
}

.flatpickr-calendar .numInputWrapper {
    width: 6ch;
}

.flatpickr-calendar .numInputWrapper span {
    display: none;
}

.flatpickr-calendar input.cur-year {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    font-weight: 600 !important;
    pointer-events: none;
}

.flatpickr-day {
    border-radius: 8px !important;
}

.flatpickr-day.flatpickr-disabled {
    color: #c9d1d3 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    border-color: var(--bd-text) !important;
    background: var(--bd-text) !important;
}

.flatpickr-day.today {
    border-color: var(--bd-rule-strong) !important;
}

.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    border-color: var(--bd-text) !important;
    background: var(--bd-text) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.flatpickr-day.inRange,
.flatpickr-day.inRange:hover {
    border-color: var(--bd-surface) !important;
    background: var(--bd-surface) !important;
    color: var(--bd-text) !important;
    box-shadow: -5px 0 0 var(--bd-surface), 5px 0 0 var(--bd-surface) !important;
}

.flatpickr-calendar.multiMonth {
    width: auto !important;
    max-width: calc(100vw - 32px);
}

.flatpickr-calendar.multiMonth .flatpickr-innerContainer,
.flatpickr-calendar.multiMonth .flatpickr-rContainer,
.flatpickr-calendar.multiMonth .flatpickr-days {
    width: auto !important;
}

.flatpickr-calendar.multiMonth .dayContainer {
    padding: 0 6px;
}

/* Responsive */
@media (max-width: 1120px) {
    .bd-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 40px;
    }

    .bd-related__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .bd-wrap {
        width: calc(100% - 32px);
    }

    .bd-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding-top: 20px;
    }

    .bd-main > *,
    .bd-aside {
        min-width: 0;
    }

    .bd-aside {
        position: static;
        padding: 32px 0;
        border-bottom: 1px solid var(--bd-rule);
        order: 2;
    }

    .bd-main {
        display: contents;
    }

    .bd-main > .bd-intro {
        order: 1;
    }

    .bd-main > .bd-section {
        order: 3;
    }

    .bd-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-detail-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-mobile-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 9000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--bd-rule);
        background: #fff;
        font-family: "Outfit", "Segoe UI", Arial, sans-serif;
    }

    .bd-mobile-bar strong {
        display: block;
        font-size: 18px;
        font-weight: 600;
    }

    .bd-mobile-bar small {
        color: var(--bd-text-3);
        font-size: 13px;
    }

    .bd-mobile-bar .bd-btn {
        width: auto;
        min-height: 46px;
        padding: 0 22px;
        font-size: 15px;
    }

    .bd-page {
        padding-bottom: 90px;
    }
}

@media (max-width: 720px) {
    .bd-booking-feedback {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 11px;
        padding: 14px;
    }

    .bd-booking-feedback__icon {
        width: 38px;
        height: 38px;
    }

    .bd-booking-feedback__action {
        grid-column: 1 / -1;
        width: 100%;
    }

    .bd-page .bd-crumbs {
        padding: 14px 0 10px;
        font-size: 12.5px;
    }

    .bd-topbar {
        margin-bottom: 8px;
    }

    .bd-gallery,
    .bd-gallery--count-1 {
        display: flex;
        width: calc(100% + 32px);
        height: 270px;
        margin: 0 -16px;
        overflow-x: auto;
        border-radius: 0;
        gap: 0;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .bd-gallery::-webkit-scrollbar {
        display: none;
    }

    .bd-gallery__item {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }

    .bd-gallery__more,
    .bd-gallery__all {
        display: none;
    }

    .bd-gallery__counter {
        position: absolute;
        right: 12px;
        bottom: 12px;
        display: block;
        padding: 3px 10px;
        border-radius: 999px;
        background: rgba(23, 35, 42, 0.75);
        color: #fff;
        font-size: 12.5px;
        pointer-events: none;
    }

    .bd-title {
        font-size: 24px;
    }

    .bd-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bd-fact:nth-child(3) {
        border-left: 0;
    }

    .bd-fact:nth-child(n + 3) {
        border-top: 1px solid var(--bd-rule);
    }

    .bd-checks,
    .bd-split,
    .bd-details,
    .bd-reviews {
        grid-template-columns: 1fr;
    }

    .bd-detail-notes {
        grid-template-columns: 1fr;
    }

    .bd-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 12px;
    }

    .bd-card__body {
        padding: 10px 12px 12px;
    }

    .bd-card__title,
    .bd-card__price {
        font-size: 14.5px;
    }

    .bd-card__meta,
    .bd-card__rating {
        font-size: 13px;
    }

    .bd-card__foot {
        flex-direction: column;
        gap: 2px;
    }

    .bd-related:last-of-type {
        padding-bottom: 56px;
    }

    .bd-section {
        padding: 28px 0;
    }

    .bd-section__title,
    .bd-related h2,
    .bd-reviews-head h2 {
        font-size: 20px;
    }

    .bd-prices-wrap {
        overflow-x: auto;
    }

    .bd-highlight--note {
        margin: 0;
    }

    .bd-lightbox__nav {
        display: none;
    }

    .bd-modal__body {
        padding: 20px;
    }
}
