:root {
    --cbnb-navy: #003D5B;
    --cbnb-yellow: #FBAF00;
    --cbnb-red: #d93232;
    --cbnb-soft: #f4f8fb;
}

.single-yacht-listing .wp-block-columns,
form.jet-form-builder:is([data-form-id="3194"], [data-form-id="3527"]) .wp-block-columns {
    margin-bottom: 10px;
}

body:is(
    .page-id-875,
    .page-id-920,
    .page-id-945,
    .page-id-610,
    .page-id-599,
    .page-id-597,
    .cbnb-form-loader-page,
    .cbnb-pricing-state-restoring
)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99997;
    background: #fff;
    pointer-events: none;
    animation: cbnb-form-loader-cover var(--cbnb-form-loader-duration, 1s) ease forwards;
}

body:is(
    .page-id-875,
    .page-id-920,
    .page-id-945,
    .page-id-610,
    .page-id-599,
    .page-id-597,
    .cbnb-form-loader-page,
    .cbnb-pricing-state-restoring
)::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99998;
    width: 46px;
    height: 46px;
    margin: -23px 0 0 -23px;
    border: 4px solid rgba(251, 175, 0, .18);
    border-top-color: var(--cbnb-yellow);
    border-radius: 50%;
    pointer-events: none;
    animation:
        cbnb-form-loader-spin var(--cbnb-form-loader-duration, 1s) linear infinite,
        cbnb-form-loader-cover var(--cbnb-form-loader-duration, 1s) ease forwards;
}

body.cbnb-pricing-state-restoring {
    --cbnb-form-loader-duration: .5s;
}

@keyframes cbnb-form-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cbnb-form-loader-cover {
    0%, 82% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes cbnb-switcher-gate-fail-open {
    to {
        opacity: 1;
        visibility: visible;
    }
}

form.jet-form-builder .jet-form-builder__fields-group:not(.cbnb-switcher-control):has(input[type="radio"]):has(> .jet-form-builder__field-wrap:nth-child(2)):not(:has(> .jet-form-builder__field-wrap:nth-child(3))),
form.jet-form-builder .jet-radio-list:not(.cbnb-switcher-control):has(input[type="radio"]):has(> .jet-radio-list__row:nth-child(2)):not(:has(> .jet-radio-list__row:nth-child(3))),
form.jet-form-builder .block-radio:not(.cbnb-switcher-control):has(input[type="radio"]):has(> label:nth-of-type(2)):not(:has(> label:nth-of-type(3))) {
    height: 34px;
    min-height: 34px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    animation: cbnb-switcher-gate-fail-open 0s linear 8s forwards;
}

form.jet-form-builder .jet-form-builder-row:not(.cbnb-yesno-switcher-row):has(> input[type="checkbox"]:is(
    [name="lessor_ads_new_map_price_is_negotiable"],
    [name="lessor_ads_new_onboard_cash"],
    [name="ads_flexible_dates"]
)) {
    min-height: 78px;
}

form.jet-form-builder .jet-form-builder-row:not(.cbnb-yesno-switcher-row) > input[type="checkbox"]:is(
    [name="lessor_ads_new_map_price_is_negotiable"],
    [name="lessor_ads_new_onboard_cash"],
    [name="ads_flexible_dates"]
) {
    opacity: 0;
    visibility: hidden;
    animation: cbnb-switcher-gate-fail-open 0s linear 8s forwards;
}

.cbnb-cookie-consent {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 20px;
    border-radius: 18px;
    color: #fff;
    background: var(--cbnb-navy);
    box-shadow: 0 18px 45px rgba(0, 31, 49, .24);
}

.cbnb-cookie-consent[hidden] {
    display: none !important;
}

.cbnb-cookie-consent__text {
    display: grid;
    gap: 4px;
    line-height: 1.4;
}

.cbnb-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cbnb-cookie-consent button {
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    font-weight: 700;
}

.cbnb-cookie-consent__accept {
    padding: 12px 18px;
    color: var(--cbnb-navy);
    background: var(--cbnb-yellow);
}

.cbnb-cookie-consent__reject {
    padding: 12px 18px;
    color: #fff;
    background: rgba(255,255,255,.15);
}

.cbnb-char-counter {
    display: block;
    margin-top: 6px;
    color: var(--cbnb-navy);
    font-size: 12px;
    line-height: 1.3;
    text-align: right;
}

.cbnb-char-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.35;
}

.cbnb-char-meta .cbnb-char-counter {
    display: inline;
    margin-top: 0;
    color: inherit;
}

.cbnb-char-meta .cbnb-char-counter--warning {
    color: var(--cbnb-red);
}

.cbnb-min-symbols {
    flex: 1 1 auto;
}

.cbnb-char-counter--warning {
    color: var(--cbnb-red);
    font-weight: 700;
}

.cbnb-owner-form-nav-host {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
    transform: none;
}

.cbnb-owner-form-nav-host .e-con {
    padding-inline: 0;
}

.cbnb-owner-form-nav-host .e-con-inner {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: 0;
}

.cbnb-owner-form-layout {
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.cbnb-owner-form-layout > form.jet-form-builder {
    min-width: 0;
}

.cbnb-owner-form-nav {
    position: sticky;
    top: 110px;
    z-index: 20;
    padding: 18px;
    border: 1px solid rgba(0, 61, 91, .14);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 61, 91, .08);
}

.cbnb-owner-form-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cbnb-owner-form-nav__list li + li {
    margin-top: 8px;
}

.cbnb-owner-form-nav__link {
    display: block;
    padding: 9px 12px;
    border-left: 3px solid transparent;
    border-radius: 8px;
    color: var(--cbnb-navy);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.cbnb-owner-form-nav__link:hover,
.cbnb-owner-form-nav__link:focus-visible,
.cbnb-owner-form-nav__link.is-active {
    border-left-color: var(--cbnb-yellow);
    outline: 0;
    background: rgba(251, 175, 0, .14);
    color: var(--cbnb-navy);
}

.cbnb-owner-form-nav__link:focus-visible {
    box-shadow: 0 0 0 3px rgba(251, 175, 0, .28);
}

.cbnb-owner-form-section {
    min-width: 0;
    padding-block: 0;
    scroll-margin-top: 120px;
}

.cbnb-owner-form-row--overview-measurements,
.cbnb-owner-form-row--overview-charter-price {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(120px, .7fr) minmax(0, 1.2fr);
    gap: 20px !important;
    align-items: start;
}

.cbnb-owner-form-row--overview-charter-price {
    grid-template-columns: minmax(0, 1.15fr) minmax(135px, .975fr) minmax(0, .675fr);
}

.cbnb-owner-form-row--overview-measurements > .wp-block-column,
.cbnb-owner-form-row--overview-charter-price > .wp-block-column {
    min-width: 0;
}

.cbnb-owner-form-row--boat-plan {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px !important;
    align-items: start;
}

.cbnb-owner-form-row--boat-plan > .wp-block-column {
    display: contents !important;
}

.cbnb-owner-form-row--extra-services {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px !important;
    align-items: start;
}

.cbnb-owner-form-row--extra-services > .wp-block-column {
    display: contents !important;
}

.cbnb-owner-form-row--extra-services .jet-form-builder-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    align-items: center;
    min-width: 0;
    margin: 0;
}

.cbnb-owner-form-row--extra-services .jet-form-builder__label {
    width: auto;
    min-width: 0;
    margin: 0;
    line-height: 1.35;
}

.cbnb-owner-form-row--extra-services .jet-form-builder__field-wrap {
    width: 112px;
    min-width: 0;
}

.cbnb-owner-form-row--extra-services input[type="number"] {
    width: 100% !important;
    height: 42px;
    min-height: 42px;
    padding: 8px 12px;
}

.cbnb-owner-boat-plan__capacity > .jet-form-builder-row,
.cbnb-owner-boat-plan__cabins > .jet-form-builder-row {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    min-width: 0;
    margin: 0;
}

.cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_cabins"]) {
    grid-column: 4;
    grid-row: 1;
}

.cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_number_of_cabins_with_one_double_bed"]) {
    grid-column: 1;
    grid-row: 1;
}

.cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_number_of_cabins_with_two_single_beds"]) {
    grid-column: 2;
    grid-row: 1;
}

.cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_number_of_cabins_with_a_single_bed"]) {
    grid-column: 3;
    grid-row: 1;
}

.cbnb-owner-boat-plan__capacity > .jet-form-builder-row:has([name="boat_people"]) {
    grid-column: 1;
    grid-row: 2;
}

.cbnb-owner-boat-plan__capacity > .jet-form-builder-row:has([name="boat_galyuns"]) {
    grid-column: 2;
    grid-row: 2;
}

.cbnb-owner-form-row--accommodations-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px !important;
    align-items: start;
}

.cbnb-owner-form-row--accommodations-gallery > .wp-block-column {
    min-width: 0;
}

.cbnb-owner-cabin-note {
    margin-left: .4rem;
    color: #6b7280;
    font-size: .82em;
    font-weight: 400;
}

.cbnb-owner-cabin-compact > .jet-form-builder__desc {
    display: none !important;
}

.cbnb-owner-form-row--accommodations-gallery .jet-form-builder-repeater__row {
    position: relative;
    display: block;
}

.cbnb-owner-form-row--accommodations-gallery .jet-form-builder-repeater__row-fields {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding-right: 44px;
}

.cbnb-owner-form-row--accommodations-gallery .jet-form-builder-repeater__row-remove {
    position: absolute;
    top: 15px;
    right: 0;
    margin: 0;
}

.cbnb-owner-form-row--accommodations-gallery .jet-form-builder-repeater__remove {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff0f0;
    color: #b91c1c;
    font: 700 22px/1 Arial, sans-serif;
    cursor: pointer;
}

.cbnb-owner-form-row--accommodations-gallery .jet-form-builder-repeater__remove:hover,
.cbnb-owner-form-row--accommodations-gallery .jet-form-builder-repeater__remove:focus-visible {
    outline: 0;
    background: #fee2e2;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, .16);
}

.cbnb-owner-form-row--accommodations-gallery input[type="file"] {
    width: min(100%, 260px);
    max-width: 260px;
    font-size: 14px;
}

.cbnb-owner-form-row--accommodations-gallery input[type="file"]::file-selector-button {
    padding: 5px 10px;
    font-size: 14px;
}

@media (min-width: 1023px) {
    .cbnb-owner-form-nav-host {
        width: calc(100% + 120px);
        max-width: calc(100% + 120px);
        margin-left: -60px;
    }
}

@media (max-width: 900px) {
    .cbnb-owner-form-nav-host {
        width: 100%;
        margin-left: 0;
        transform: none;
    }

    .cbnb-owner-form-nav-host .e-con {
        padding-inline: 0 20px;
    }

    .cbnb-owner-form-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .cbnb-owner-form-row--accommodations-gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbnb-owner-form-nav {
        top: 72px;
        overflow-x: auto;
        padding: 10px;
        border-radius: 12px;
    }

    .cbnb-owner-form-nav__list {
        display: flex;
        width: max-content;
        gap: 8px;
    }

    .cbnb-owner-form-nav__list li + li {
        margin-top: 0;
    }

    .cbnb-owner-form-nav__link {
        padding: 8px 10px;
        border-left: 0;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }

    .cbnb-owner-form-nav__link:hover,
    .cbnb-owner-form-nav__link:focus-visible,
    .cbnb-owner-form-nav__link.is-active {
        border-bottom-color: var(--cbnb-yellow);
    }
}

@media (max-width: 767px) {
    .cbnb-owner-form-row--overview-measurements,
    .cbnb-owner-form-row--overview-charter-price {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbnb-owner-form-row--boat-plan {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbnb-owner-form-row--extra-services {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbnb-owner-form-row--extra-services .jet-form-builder-row {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    .cbnb-owner-form-row--extra-services .jet-form-builder__field-wrap {
        width: 96px;
    }

    .cbnb-owner-form-row--boat-plan :is(
        .cbnb-owner-boat-plan__capacity,
        .cbnb-owner-boat-plan__cabins
    ) > .jet-form-builder-row {
        grid-column: 1;
    }

    .cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_number_of_cabins_with_one_double_bed"]) {
        grid-row: 1;
    }

    .cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_number_of_cabins_with_two_single_beds"]) {
        grid-row: 2;
    }

    .cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_number_of_cabins_with_a_single_bed"]) {
        grid-row: 3;
    }

    .cbnb-owner-boat-plan__cabins > .jet-form-builder-row:has([name="boat_cabins"]) {
        grid-row: 4;
    }

    .cbnb-owner-boat-plan__capacity > .jet-form-builder-row:has([name="boat_people"]) {
        grid-row: 5;
    }

    .cbnb-owner-boat-plan__capacity > .jet-form-builder-row:has([name="boat_galyuns"]) {
        grid-row: 6;
    }
}

.book-bm-popup > :is(.cbnb-char-counter, .cbnb-final-counter, .cbnb-char-meta) {
    flex: 0 0 100%;
    box-sizing: border-box;
    margin-top: -14px;
    text-align: right;
}

/* Keep counter rows in the layout before the deferred counter scripts run. */
form.jet-form-builder:is(
    [data-form-id="3194"],
    [data-form-id="3527"],
    [data-form-id="3229"],
    [data-form-id="3008"],
    [data-form-id="3476"],
    [data-form-id="3003"]
) .jet-form-builder-row:is(.field-type-text-field, .field-type-textarea-field)
> .jet-form-builder__field-wrap:has(> :is(textarea, input:not([type]), input[type="text"], input[type="email"], input[type="url"], input[type="search"])):not(:has(> :is(
    [name*="_social_"],
    .sn-phone-mask,
    .iti__search-input,
    .select2-search__field,
    [name*="date_start_end_"],
    .cbnb-season-date-range,
    .cbnb-route-date-range
))):not(:has(> :is(.cbnb-char-counter, .cbnb-char-meta, .cbnb-final-counter)))::after,
form.jet-form-builder:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-wysiwyg-field .wp-editor-container:has(> textarea:is(
    [name$="[marina_desc]"],
    [name$="[transition_desc]"],
    [name$="[flexibl_dates_desc]"]
)):not(:has(> :is(.cbnb-char-counter, .cbnb-char-meta, .cbnb-final-counter)))::after,
form.jet-form-builder:is(
    [data-form-id="3229"],
    [data-form-id="3008"],
    [data-form-id="3476"],
    [data-form-id="3003"]
) .field-type-address-field:has(> input):not(:has(> :is(.cbnb-char-counter, .cbnb-char-meta, .cbnb-final-counter)))::after {
    content: "";
    display: block;
    height: 16.2px;
    margin-top: 6px;
    visibility: hidden;
    pointer-events: none;
}

form.jet-form-builder:is(
    [data-form-id="3194"],
    [data-form-id="3527"],
    [data-form-id="3229"],
    [data-form-id="3008"],
    [data-form-id="3476"],
    [data-form-id="3003"]
) :is(.jet-form-builder__field-wrap, .wp-editor-container, .field-type-address-field)
> :is(.cbnb-char-counter, .cbnb-char-meta, .cbnb-final-counter) {
    box-sizing: border-box;
    min-height: 16.2px;
    margin-top: 6px;
}

.cbnb-profile-social-invalid {
    border-color: var(--cbnb-red) !important;
    box-shadow: 0 0 0 1px rgba(220, 38, 38, .18) !important;
}

.cbnb-profile-social-error {
    display: block;
    margin-top: 6px;
    color: var(--cbnb-red);
    font-size: 12px;
    line-height: 1.35;
}

form[data-form-id="3229"].cbnb-owner-profile-form > .cbnb-owner-profile-name-columns,
form[data-form-id="3229"].cbnb-owner-profile-form > .cbnb-owner-profile-contact-columns {
    display: flex;
    flex-wrap: nowrap;
    gap: 36px;
    align-items: flex-start;
}

form[data-form-id="3229"].cbnb-owner-profile-form > .cbnb-owner-profile-name-columns > .wp-block-column,
form[data-form-id="3229"].cbnb-owner-profile-form > .cbnb-owner-profile-contact-columns > .wp-block-column {
    flex: 1 1 0;
    min-width: 0;
}

form:is([data-form-id="3008"], [data-form-id="3229"]) input[name="user_email"].cbnb-profile-email-readonly {
    background-color: #f3f3f3 !important;
    border-color: #d8d8d8 !important;
    box-shadow: none !important;
    color: #7a7a7a !important;
    caret-color: transparent;
    cursor: not-allowed;
    opacity: 1;
}

@media (max-width: 767px) {
    form[data-form-id="3229"].cbnb-owner-profile-form > .cbnb-owner-profile-name-columns,
    form[data-form-id="3229"].cbnb-owner-profile-form > .cbnb-owner-profile-contact-columns {
        flex-direction: column;
        gap: 18px;
    }
}

.cbnb-clear-filters-visible,
.jet-remove-all-filters.cbnb-clear-filters-visible,
.jet-remove-all-filters__button.cbnb-clear-filters-visible,
#custom-date-range-clear.cbnb-clear-filters-visible,
#cbnb-clear-btn.cbnb-clear-filters-visible {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.cbnb-clear-filters-visible.cbnb-final-duplicate-clear,
#custom-date-range-clear.cbnb-clear-filters-visible.cbnb-final-duplicate-clear,
#cbnb-clear-btn.cbnb-clear-filters-visible.cbnb-final-duplicate-clear {
    display: none !important;
}

.cbnb-checkin-days-row .cbnb-checkin-days-group {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 14px 24px;
    width: 100%;
}

.cbnb-checkin-days-row .cbnb-checkin-days-option {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.cbnb-checkin-days-row .cbnb-checkin-days-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin: 0;
}

@media (max-width: 520px) {
    .cbnb-checkin-days-row .cbnb-checkin-days-option {
        flex-basis: auto;
    }
}

.cbnb-boat-type-label {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.cbnb-boat-type-icon {
    display: inline-flex;
    width: 28px;
    height: 22px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    color: var(--cbnb-navy);
}

.cbnb-boat-type-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.cbnb-boat-type-filter {
    position: relative !important;
}

#main-filter-listing > .e-con.e-child:has(.cbnb-boat-type-select.is-open) {
    z-index: 101;
}

.cbnb-boat-type-filter .cbnb-boat-type-native {
    display: none !important;
}

.cbnb-boat-type-select {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.cbnb-boat-type-select__trigger,
.cbnb-boat-type-select__option {
    width: 100%;
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.cbnb-boat-type-select__trigger {
    position: relative;
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    padding: 6px 42px 6px 12px;
    border-radius: 5px;
    background: #fff;
    color: #333;
}

.cbnb-boat-type-select__trigger:focus-visible,
.cbnb-boat-type-select__option:focus-visible {
    outline: 2px solid var(--cbnb-yellow, #FBAF00);
    outline-offset: 2px;
}

.cbnb-boat-type-select__trigger.is-placeholder {
    color: #7d8790;
}

.cbnb-boat-type-select__value,
.cbnb-boat-type-select__option {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cbnb-boat-type-select__value {
    min-width: 0;
}

.cbnb-boat-type-select__value > span:last-child,
.cbnb-boat-type-select__option > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cbnb-boat-type-select__chevron {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 160ms ease;
}

.cbnb-boat-type-select.is-open .cbnb-boat-type-select__chevron {
    transform: translateY(-25%) rotate(225deg);
}

.cbnb-boat-type-select__menu {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    max-height: min(420px, 60vh);
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #d9e0e5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0, 61, 91, 0.2);
}

.cbnb-boat-type-select__menu[hidden] {
    display: none;
}

.cbnb-boat-type-select__option {
    min-height: 48px;
    padding: 6px 10px;
    border-radius: 8px;
    background: transparent;
    color: var(--cbnb-navy, #003D5B);
}

.cbnb-boat-type-select__option:hover,
.cbnb-boat-type-select__option:focus-visible {
    background: #eef6f8;
}

.cbnb-boat-type-select__option[aria-selected="true"] {
    background: #fff5d6;
    font-weight: 700;
}

.cbnb-boat-type-select__trigger .cbnb-boat-type-icon,
.cbnb-boat-type-select__option .cbnb-boat-type-icon {
    width: 36px;
    height: 32px;
    flex-basis: 36px;
}

/* Owner listing form variant: the trigger reuses the box of a native form field so the
   row keeps its height (its exact height is copied from the field it replaces in JS). */
.cbnb-boat-type-filter--form .cbnb-boat-type-native {
    display: block !important;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    pointer-events: none;
}

.cbnb-boat-type-filter--form .cbnb-boat-type-select__trigger {
    box-sizing: border-box;
    min-height: 0;
    padding: 15px 42px 15px 25px;
    border: 1px solid #E9E6E6;
    border-radius: 4px;
    box-shadow: inset 0 0 1px #E9E6E6;
    font-size: 1rem;
    /* `normal` is the line box a native <select> uses; the inherited body line-height
       would make the trigger ~7px taller than its sibling fields. */
    line-height: normal;
    color: #555;
}

.cbnb-boat-type-filter--form .cbnb-boat-type-select__trigger:focus-visible {
    border-color: #FFBA06;
}

/* Menu rows are an overlay and keep the roomier icon; the trigger icon must stay inside
   the line box so the closed field cannot be taller than a plain select. */
.cbnb-boat-type-filter--form .cbnb-boat-type-select__option .cbnb-boat-type-icon {
    width: 28px;
    height: 22px;
    flex-basis: 28px;
}

.cbnb-boat-type-filter--form .cbnb-boat-type-select__trigger .cbnb-boat-type-icon {
    width: 24px;
    height: 18px;
    flex-basis: 24px;
}

.cbnb-switcher-control,
.cbnb-switcher-group .jet-radio-list,
.cbnb-switcher-group .jet-form-builder__fields-group,
.cbnb-switcher-group .jet-form-builder__field-wrap,
.cbnb-switcher-group .checkradio-wrap,
.cbnb-switcher-group .block-radio {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: auto;
    max-width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.cbnb-switcher-control .jet-radio-list__row,
.cbnb-switcher-control .jet-form-builder__field-wrap,
.cbnb-switcher-control .jet-form-builder__field-label,
.cbnb-switcher-control .jet-form__field-label,
.cbnb-switcher-group .jet-radio-list__row,
.cbnb-switcher-group .jet-form-builder__field-label,
.cbnb-switcher-group .jet-form__field-label {
    margin: 0 !important;
}

.cbnb-switcher-control .cbnb-switcher-item,
.cbnb-switcher-group .cbnb-switcher-item {
    display: inline-flex;
    align-items: center;
    width: auto !important;
}

.cbnb-switch-option {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    color: var(--cbnb-navy);
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 500;
    cursor: pointer;
    opacity: .62;
    transition: color .2s ease, opacity .2s ease, font-weight .2s ease;
}

.cbnb-switcher-control .cbnb-final-switcher-option,
.cbnb-switcher-control .cbnb-final-switcher-option:has(input:checked),
.cbnb-switcher-control .cbnb-switch-option:has(input:checked),
.cbnb-switcher-control .cbnb-switch-option.is-active {
    padding: 0 !important;
    border: 0 !important;
    color: var(--cbnb-navy);
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 500;
    opacity: 1;
}

.cbnb-switcher-control .cbnb-switch-option:not(.is-active),
.cbnb-switcher-control .cbnb-switcher-item:not(.is-active) .cbnb-switch-option {
    color: #333;
    font-weight: 500;
    opacity: .55;
}

.cbnb-switcher-control .cbnb-switch-option > span::before,
.cbnb-switcher-control .cbnb-switch-option > span::after {
    content: none !important;
    display: none !important;
}

.cbnb-switch-option input[type="radio"],
.cbnb-switch-option .radio-style,
.cbnb-switch-option .checkradio-field {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

.cbnb-switch-toggle {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 66px;
    height: 34px;
    border-radius: 999px;
    background: var(--cbnb-yellow);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .18), 0 1px 4px rgba(0, 0, 0, .12);
    cursor: pointer;
    transition: box-shadow .2s ease, opacity .2s ease;
}

.cbnb-switch-toggle::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .24);
    transition: transform .2s ease;
}

.cbnb-route-booking-option-disabled {
    opacity: .45;
    pointer-events: none;
    cursor: not-allowed;
}

.cbnb-route-booking-disabled .cbnb-switch-toggle {
    background: #d9e0e5;
}

.cbnb-switcher-control.is-right .cbnb-switch-toggle::before {
    transform: translateX(32px);
}

.cbnb-binary-state-switcher-control.is-left .cbnb-switch-toggle {
    background: #d9e0e5;
}

.cbnb-binary-state-switcher-control.is-right .cbnb-switch-toggle {
    background: var(--cbnb-yellow);
}

.cbnb-yesno-switcher-row > input[type="checkbox"].jet-form-builder__field {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

.cbnb-yesno-switcher-row .cbnb-yesno-switcher-control {
    margin-top: 8px;
}

.cbnb-media-upload-stale .jet-form-builder-file-upload {
    border-color: rgba(191, 29, 23, .35);
}

.cbnb-media-upload-sync-error {
    margin-top: 8px;
    color: #b91c1c;
    font-size: 13px;
    line-height: 1.35;
}

.cbnb-media-has-file-state input[type="file"].jet-form-builder-file-upload__input {
    max-width: 170px;
    color: transparent;
}

.cbnb-media-has-file-state input[type="file"].jet-form-builder-file-upload__input::file-selector-button {
    color: #111;
}

.cbnb-media-has-file-state input[type="file"].jet-form-builder-file-upload__input::-webkit-file-upload-button {
    color: #111;
}

.cbnb-yesno-switcher-control.is-left .cbnb-switch-toggle {
    background: #d9e0e5;
}

.cbnb-yesno-switcher-control.is-right .cbnb-switch-toggle {
    background: var(--cbnb-yellow);
}

.cbnb-yesno-switcher-row .cbnb-yesno-switcher-label {
    min-width: 28px;
}

.cbnb-switch-toggle:focus-visible {
    outline: 3px solid rgba(0, 61, 91, .24);
    outline-offset: 3px;
}

.cbnb-auth-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 42px 16px 56px;
}

.cbnb-auth-card {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(320px, 1fr);
    gap: 32px;
    align-items: stretch;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 61, 91, .12);
}

.cbnb-auth-card__story {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 520px;
    padding: 34px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0,61,91,.28), rgba(0,61,91,.92)), url('../img/login.jpg') center/cover no-repeat;
}

.cbnb-auth-card__story h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
}

.cbnb-auth-card__story p,
.cbnb-auth-card__story li {
    color: #fff;
}

.cbnb-auth-card__story ul {
    display: grid;
    gap: 8px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.cbnb-auth-card__story li::before {
    content: '✓';
    display: inline-block;
    margin-right: 10px;
    color: var(--cbnb-yellow);
    font-weight: 900;
}

.cbnb-auth-card__panel {
    padding: 34px;
}

.cbnb-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
    padding: 6px;
    border-radius: 18px;
    background: #eef4f8;
}

.cbnb-auth-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 2px solid transparent;
    border-radius: 14px;
    color: var(--cbnb-navy);
    font-weight: 800;
    text-decoration: none;
}

.cbnb-auth-tab.is-active {
    border-color: var(--cbnb-navy);
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 61, 91, .12);
}

.cbnb-role-tabs-note {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-left: 4px solid var(--cbnb-yellow);
    border-radius: 10px;
    color: var(--cbnb-navy);
    background: #fff7e0;
    font-weight: 700;
}

.cbnb-hidden-auth-link {
    display: none !important;
}

.cbnb-notification-settings {
    margin: 28px 0;
    padding: 24px;
    border: 1px solid rgba(0,61,91,.12);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0,61,91,.08);
}

.cbnb-notification-settings__head h2 {
    margin: 0 0 6px;
    color: var(--cbnb-navy);
}

.cbnb-notification-settings__head p {
    margin: 0 0 18px;
}

.cbnb-notification-settings__body {
    display: grid;
    gap: 12px;
}

.cbnb-settings-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--cbnb-soft);
}

.cbnb-settings-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cbnb-settings-switch__label {
    color: var(--cbnb-navy);
    font-weight: 700;
}

.cbnb-settings-switch__ui {
    position: relative;
    width: 56px;
    height: 30px;
    flex: 0 0 56px;
    border-radius: 999px;
    background: #c6ced5;
    transition: background .2s ease;
}

.cbnb-settings-switch__ui::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,.18);
    transition: transform .2s ease;
}

.cbnb-settings-switch input:checked + .cbnb-settings-switch__ui {
    background: var(--cbnb-yellow);
}

.cbnb-settings-switch input:checked + .cbnb-settings-switch__ui::after {
    transform: translateX(26px);
}

.cbnb-notification-settings__status {
    min-height: 20px;
    margin-top: 12px;
    color: var(--cbnb-navy);
    font-size: 13px;
    font-weight: 700;
}

.cbnb-phone-reveal-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px 0;
    color: #fff !important;
    background: var(--cbnb-navy) !important;
}

.cbnb-phone-confirm-message,
.cbnb-phone-value,
.cbnb-phone-value a {
    color: #fff;
}

.cbnb-phone-value a {
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.cbnb-phone-confirm-trigger .wp-block-button__link {
    min-width: 100px;
    border: 0;
    border-radius: 999px;
    color: var(--cbnb-navy) !important;
    background: #fbaf00 !important;
    font-weight: 800;
}

.cbnb-pricing-stamp {
    position: absolute;
    top: 24px;
    right: 22px;
    z-index: 2;
    transform: rotate(-9deg);
    padding: 10px 18px;
    border: 3px solid var(--cbnb-red);
    border-radius: 8px;
    color: var(--cbnb-red);
    background: rgba(255,255,255,.92);
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}

.cbnb-pricing-note-slot {
    display: grid;
    margin-top: 12px;
}

.pricing.is-private-active .cbnb-pricing-note-slot,
.pricing.is-business-active .cbnb-pricing-note-slot {
    margin-bottom: 40px;
}

.cbnb-pricing-note {
    grid-area: 1 / 1;
    margin: 0;
    color: var(--cbnb-navy);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.pricing.is-private-active .cbnb-pricing-note--business,
.pricing.is-business-active .cbnb-pricing-note--private {
    visibility: hidden;
}

.cbnb-price-free {
    color: var(--cbnb-red);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
}

.cbnb-price-old {
    color: #687b86;
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

@media (max-width: 840px) {
    .cbnb-cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cbnb-auth-card {
        grid-template-columns: 1fr;
    }

    .cbnb-auth-card__story {
        min-height: 360px;
    }
}

.pricing-plan,
.pricing__item_3 {
    position: relative;
}

.pricing-radio__item_top .toggle-type {
    min-height: 56px;
    padding: 16px 30px;
    border-radius: 18px;
    font-size: 24px;
    font-weight: 900;
}

.pricing-radio__item_top {
    width: min(100%, 560px);
    gap: 12px;
    padding: 12px;
    border: 0;
    background: #f3f3f3;
    border-radius: 999px;
}

.pricing-radio__item_top .toggle-type {
    flex: 1 1 0;
    min-width: 0;
    color: #d3d3d3;
    background: #fff;
    text-align: center;
    cursor: pointer;
}

.pricing-radio__item_top .toggle-type.active {
    color: var(--cbnb-yellow);
    background: var(--cbnb-navy);
    box-shadow: none;
}

.pricing-radio__item_bottom {
    display: flex !important;
    --cbnb-pricing-switch-height: 40px;
}

.pricing-radio__item_bottom .pricing-radio__toggle {
    flex: 0 0 clamp(90px, 10vw, 128px);
    color: #d3d3d3;
    font-weight: 400;
    opacity: 1;
}

.pricing-radio__item_bottom .pricing-radio__toggle[data-plan="monthly"] {
    text-align: right;
}

.pricing-radio__item_bottom .pricing-radio__toggle[data-plan="yearly"] {
    text-align: left;
}

.pricing-radio__item_bottom .block-checkbox,
.pricing-radio__item_bottom .block-checkbox .cont-checkbox,
.pricing-radio__item_bottom .block-checkbox .checkbox-label {
    height: var(--cbnb-pricing-switch-height);
}

.pricing-radio__item_bottom .block-checkbox .checkbox-label {
    display: block;
    line-height: 0;
}

.pricing-radio__item_bottom .block-checkbox .checkbox-label .checkbox-style,
.pricing-radio__item_bottom .block-checkbox .checkbox:checked + .checkbox-style {
    display: block !important;
    top: 0;
}

.pricing-radio__item_bottom .pricing-radio__toggle.active {
    color: var(--cbnb-navy);
    font-weight: 700;
}

.pricing-radio__item_bottom .block-checkbox .checkbox-label span {
    background: #e9e9e9 !important;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, .18);
}

.pricing-radio__item_bottom .block-checkbox .checkbox-label span::before {
    background: #fff !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .16);
}

.pricing-radio__item_bottom .block-checkbox .checkbox:disabled + .checkbox-style {
    cursor: not-allowed;
    opacity: .85;
}

.pricing.is-business-active .pricing-radio__toggle[data-plan="monthly"] {
    color: #d3d3d3;
    opacity: 1;
    pointer-events: none;
}

.pricing.is-business-active .pricing-radio__toggle[data-plan="yearly"] {
    color: #333;
    font-weight: 700;
}

@media (max-width: 1022px) {
    .pricing-radio__item_bottom {
        --cbnb-pricing-switch-height: 34px;
    }
}

@media (max-width: 520px) {
    .pricing-radio__item_bottom {
        --cbnb-pricing-switch-height: 30px;
    }
}

.pricing-plan .pricing-plan-wrapper:nth-child(2) .pricing-plan__item:before {
    background: #00B4D8;
}

.pricing-plan .pricing-plan-wrapper:nth-child(3) .pricing-plan__item:before {
    background: var(--cbnb-yellow);
}

.pricing-plan .pricing-plan-wrapper:nth-child(4) .pricing-plan__item:before {
    background: var(--cbnb-navy);
}

.pricing .cbnb-pricing-stamp {
    display: none;
}

.pricing-offer__wrapper {
    min-height: 300px;
    padding-top: 26px;
}

.pricing-offer__content {
    position: relative;
    z-index: 5;
    max-width: 760px;
    margin-left: 200px;
}

.pricing-offer__button-wrapper {
    max-width: 640px;
    padding-left: 30px;
    padding-bottom: 18px;
}

.pricing-offer__link--migrate,
.pricing-offer__link--join {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(420px, calc(100vw - 80px));
    padding: 13px 40px;
    white-space: nowrap;
    margin-bottom: 0;
    border-radius: 1000px;
    background: var(--cbnb-yellow);
    color: #333;
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.pricing-offer__link--join {
    min-width: min(310px, calc(100vw - 80px));
    margin-top: 16px;
}

.pricing-offer__premium-link {
    background: linear-gradient(331deg, #ce1124 0%, #ff6776 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: underline;
    text-decoration-color: #e44a55;
    text-underline-offset: 4px;
}

.pricing-offer__link--migrate:hover,
.pricing-offer__link--migrate:focus-visible,
.pricing-offer__link--join:hover,
.pricing-offer__link--join:focus-visible {
    color: #333;
    filter: brightness(0.96);
}

.pricing-offer__contact {
    max-width: 620px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.35;
}

.pricing-offer__contact a {
    font-size: inherit;
    line-height: inherit;
}

.pricing-offer {
    padding-top: 14px;
    padding-bottom: 14px;
}

.pricing-offer__title {
    margin-bottom: 2px;
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.25;
}

.pricing-offer__text {
    font-size: clamp(18px, 2.1vw, 26px);
    line-height: 1.35;
}

.pricing-offer__decor-item.pricing-offer__decor-item--gift {
    width: clamp(150px, 20vw, 280px);
    bottom: 3%;
}

.pricing-offer__decor-item.pricing-offer__decor-item--lifebuoy {
    width: clamp(130px, 18vw, 210px);
    bottom: 26%;
}

.pricing-privileges {
    padding-top: 14px;
    padding-bottom: 26px;
}

.pricing-privileges h1.title {
    margin: 0 0 10px;
    font-size: clamp(30px, 3.2vw, 42px) !important;
    line-height: 1.2;
}

.pricing-privileges .desc {
    margin-bottom: 18px;
}

.pricing.is-founder-offer-ended .pricing-plan__text-discount,
.pricing.is-founder-offer-ended .pricing-plan-icon-label,
.pricing.is-founder-offer-ended .cbnb-pricing-note-slot,
.pricing.is-founder-offer-ended .cbnb-pricing-stamp,
.pricing.is-founder-offer-ended .pricing__item_4 {
    display: none !important;
}

@media (max-width: 900px) {
    .pricing-offer__wrapper {
        min-height: 330px;
    }

    .pricing-offer__content {
        margin-left: clamp(112px, 22vw, 160px);
        margin-right: 24px;
        max-width: calc(100% - 150px);
    }

    .pricing-offer__button-wrapper {
        right: 22px;
        max-width: calc(100% - 44px);
        padding-left: 22px;
    }

    .pricing-offer__link--migrate {
        min-width: min(350px, calc(100vw - 88px));
    }

    .pricing-offer__decor-item.pricing-offer__decor-item--gift {
        width: clamp(110px, 22vw, 170px);
        right: 24px;
        bottom: 8%;
    }
}

@media (max-width: 620px) {
    .pricing-radio__item_top {
        width: 100%;
    }

    .pricing-radio__item_top .toggle-type {
        padding: 12px 14px;
        font-size: 18px;
    }

    .pricing-offer__label--icon {
        width: 140px;
        height: 168px;
    }

    .pricing-offer__wrapper,
    .pricing-offer__wrapper.private-pricing {
        min-height: 390px;
        padding-top: 160px;
    }

    .pricing-offer__content {
        margin-left: 18px;
        margin-right: 18px;
        max-width: calc(100% - 36px);
    }

    .pricing-offer__title {
        font-size: 21px;
    }

    .pricing-offer__text {
        font-size: 17px;
        line-height: 1.35;
    }

    .pricing-offer__button-wrapper {
        padding-left: 18px;
        padding-bottom: 88px;
    }

    .pricing-offer__link--migrate,
    .pricing-offer__link--join {
        box-sizing: border-box;
        min-width: 0;
        min-height: 48px;
        width: min(100%, 360px);
        padding: 12px 20px;
        font-size: 16px;
        line-height: 1.2;
        text-align: center;
        white-space: normal;
    }

    .pricing-offer__link--join {
        width: min(100%, 360px);
        margin-top: 12px;
    }

    .pricing-offer__contact {
        display: none;
        margin-top: 18px;
        padding-right: 120px;
        line-height: 1.35;
    }

    .pricing-offer {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .pricing-privileges {
        padding-top: 10px;
        padding-bottom: 20px;
    }
}

.cbnb-page-404__container {
    padding: clamp(70px, 10vw, 130px) 0;
}

.cbnb-page-404__card {
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(34px, 6vw, 72px);
    border-radius: 32px;
    color: #fff;
    background: linear-gradient(135deg, var(--cbnb-navy), #0d6687);
    text-align: center;
    box-shadow: 0 28px 60px rgba(0,61,91,.22);
}

.cbnb-page-404__eyebrow {
    color: var(--cbnb-yellow);
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cbnb-page-404__card h1 {
    margin: 8px 0 16px;
    color: #fff;
}

.cbnb-page-404__card .btn {
    margin-top: 18px;
}

.cbnb-route-share {
    display: inline-flex;
    align-items: center;
    margin: 8px 0 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--cbnb-navy);
    background: rgba(251,175,0,.18);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.cbnb-route-share:hover {
    color: var(--cbnb-navy);
    background: rgba(251,175,0,.28);
}

.cbnb-route-landing {
    min-height: 70vh;
    padding: 48px 20px 72px;
    color: var(--cbnb-navy);
    background: #f4f8fb;
}

.cbnb-route-landing__shell {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.cbnb-route-landing__breadcrumb {
    margin-bottom: 18px;
}

.cbnb-route-landing__breadcrumb a {
    color: var(--cbnb-navy);
    font-weight: 800;
}

.cbnb-route-landing__card {
    overflow: hidden;
    border: 1px solid rgba(0,61,91,.12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(0,61,91,.12);
}

.cbnb-route-landing__hero {
    aspect-ratio: 1200 / 520;
    background: #dfe8ed;
}

.cbnb-route-landing__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cbnb-route-landing__content {
    padding: clamp(24px, 5vw, 52px);
}

.cbnb-route-landing__eyebrow {
    display: inline-flex;
    margin: 0 0 14px;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--cbnb-navy);
    background: rgba(251,175,0,.24);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cbnb-route-landing h1 {
    max-width: 900px;
    margin: 0;
    color: var(--cbnb-navy);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
}

.cbnb-route-landing__yacht {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 16px 0 0;
    color: rgba(0,61,91,.72);
}

.cbnb-route-landing__yacht a {
    color: var(--cbnb-navy);
    font-weight: 800;
}

.cbnb-route-landing__share-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
}

.cbnb-route-share-action {
    display: inline-flex;
    box-sizing: border-box;
    min-width: 0;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.cbnb-route-share-action svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.cbnb-route-share-action--copy {
    color: var(--cbnb-navy);
    background: var(--cbnb-yellow);
}

.cbnb-route-share-action--copy svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cbnb-route-share-action--copy.is-copied {
    color: #fff;
    background: #16834f;
}

.cbnb-route-share-action--facebook {
    background: #1877f2;
}

.cbnb-route-share-action--telegram {
    background: #229ed9;
}

.cbnb-route-share-action:hover,
.cbnb-route-share-action:focus-visible {
    color: #fff;
    outline: 0;
    filter: brightness(.96);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 61, 91, .18);
}

.cbnb-route-share-action--copy:hover,
.cbnb-route-share-action--copy:focus-visible {
    color: var(--cbnb-navy);
}

.cbnb-route-share-action--copy.is-copied:hover,
.cbnb-route-share-action--copy.is-copied:focus-visible {
    color: #fff;
}

.cbnb-route-landing__route {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    gap: 20px;
    align-items: center;
    margin: 34px 0;
    padding: 24px;
    border-radius: 20px;
    background: var(--cbnb-navy);
}

.cbnb-route-landing__route div {
    display: grid;
    gap: 6px;
}

.cbnb-route-landing__route div:last-child {
    text-align: right;
}

.cbnb-route-landing__route span {
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbnb-route-landing__route strong {
    color: #fff;
    font-size: clamp(18px, 2.5vw, 28px);
    line-height: 1.2;
}

.cbnb-route-landing__route-arrow {
    color: var(--cbnb-yellow) !important;
    font-size: 34px !important;
}

.cbnb-route-landing__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 1px;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(0,61,91,.12);
    border-radius: 20px;
    background: rgba(0,61,91,.12);
}

.cbnb-route-landing__facts > div {
    padding: 20px;
    background: #fff;
}

.cbnb-route-landing__facts dt {
    margin-bottom: 6px;
    color: rgba(0,61,91,.62);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.cbnb-route-landing__facts dd {
    margin: 0;
    color: var(--cbnb-navy);
    font-weight: 800;
    overflow-wrap: anywhere;
}

.cbnb-route-landing__description {
    margin-top: 34px;
}

.cbnb-route-landing__description h2 {
    margin: 0 0 10px;
    color: var(--cbnb-navy);
}

.cbnb-route-landing__description p {
    max-width: 820px;
    margin: 0;
    color: rgba(0,61,91,.82);
    font-size: 17px;
    line-height: 1.7;
}

.cbnb-route-landing__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 34px;
}

.cbnb-route-landing__actions > a {
    display: inline-flex;
    flex: 1 1 220px;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 46px;
    min-height: 44px;
    padding: 10px 16px;
    box-sizing: border-box;
    border-radius: 999px;
    color: var(--cbnb-navy);
    background: #edf2f5;
    font-weight: 800;
    text-decoration: none;
}

.cbnb-route-landing__actions > .btn {
    background: var(--cbnb-yellow);
}

@media (max-width: 640px) {
    .cbnb-route-landing {
        padding: 24px 12px 48px;
    }

    .cbnb-route-landing__card {
        border-radius: 20px;
    }

    .cbnb-route-landing__hero {
        aspect-ratio: 4 / 3;
    }

    .cbnb-route-landing__route {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px;
    }

    .cbnb-route-landing__route div:last-child {
        text-align: left;
    }

    .cbnb-route-landing__route-arrow {
        transform: rotate(90deg);
        justify-self: start;
    }

    .cbnb-route-landing__facts {
        grid-template-columns: 1fr;
    }

    .cbnb-route-landing__share-actions {
        grid-template-columns: 1fr;
    }

    .cbnb-route-landing__actions > a {
        width: 100%;
    }
}

.cbnb-map-actions,
.cbnb-hero__clear {
    position: relative;
    z-index: 5;
}

.cbnb-hero__clear {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    color: var(--cbnb-navy);
    background: #fff;
    font-weight: 800;
    box-shadow: 0 8px 22px rgba(0,61,91,.18);
    cursor: pointer;
}

.cbnb-generated-clear {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 14px;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--cbnb-navy);
    font-weight: 800;
    cursor: pointer;
}

body.home .footer__item_menu a,
body.home .footer__item_info a,
body.page-id-1028 .footer__item_menu a,
body.page-id-1028 .footer__item_info a {
    font-size: 1rem !important;
    font-weight: 300 !important;
    line-height: 1.45 !important;
}

.accordion .yacht-dates__list ul {
    align-items: stretch;
}

.accordion .yacht-dates__list ul li {
    display: grid;
    grid-template-columns: minmax(13rem, 38%) minmax(0, 1fr);
    gap: 0.25rem 1.25rem;
    align-items: start;
    width: 100%;
}

.accordion .yacht-dates__list ul li > span,
.accordion .yacht-dates__list ul li > a {
    min-width: 0;
    white-space: normal;
}

.accordion .yacht-dates__list ul li > span:first-child {
    padding-right: 0;
}

.accordion .yacht-dates__list ul li > span:nth-child(2),
.accordion .yacht-dates__list ul li > a {
    overflow-wrap: anywhere;
    text-align: right;
}

@media only screen and (max-width: 800px) {
    .accordion .yacht-dates__list ul li {
        grid-template-columns: 1fr;
    }

    .accordion .yacht-dates__list ul li > span:nth-child(2),
    .accordion .yacht-dates__list ul li > a {
        text-align: left;
    }
}

/* Issue #223: localized native controls stay on JetFormBuilder's data path. */
.cbnb-file-control__native,
.cbnb-native-multiselect {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cbnb-file-control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    width: 100%;
}

.cbnb-file-control__button {
    min-height: 2.65rem;
    padding: .55rem 1rem;
    border: 1px solid #003d5b;
    border-radius: .45rem;
    color: #003d5b;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.cbnb-file-control__button:hover,
.cbnb-file-control__button:focus-visible {
    color: #fff;
    background: #003d5b;
    outline: 2px solid #ffcf00;
    outline-offset: 2px;
}

.cbnb-file-control__button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.cbnb-file-control__status {
    min-width: 0;
    overflow-wrap: anywhere;
    color: #56666e;
}

.cbnb-qualification-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    width: 100%;
    margin-top: .55rem;
}

.cbnb-qualification-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 2.45rem;
    padding: .5rem .9rem;
    border: 1px solid #a7b2b8;
    border-radius: 999px;
    color: #003d5b;
    background: #fff;
    font-weight: 600;
    cursor: pointer;
}

.cbnb-qualification-chip:has(input:checked) {
    border-color: #ffcf00;
    background: #ffcf00;
}

.cbnb-qualification-chip input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cbnb-qualification-chip:has(input:focus-visible) {
    outline: 2px solid #003d5b;
    outline-offset: 2px;
}

/* WPML marks this local/staging installation as development; do not expose its banner in the frontend UI. */
.otgs-development-site-front-end {
    display: none !important;
}

.asked-questions-one .asked-questions__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 1.25rem;
    width: min(100%, 64rem);
    margin-inline: auto;
}

.asked-questions-one .asked-questions__list li,
.asked-questions-one .asked-questions__list a {
    width: 100%;
    min-width: 0;
}

.pricing-plan__price--discount {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    white-space: nowrap;
}

.pricing-plan__price--discount > span {
    padding-right: 0;
}

.pricing-plan__from--discount {
    margin-right: .35rem;
}

.pricing-plan__btn .cbnb-plan-unavailable {
    pointer-events: none;
    user-select: none;
}

.pricing-plan__btn .btn {
    box-sizing: border-box;
    max-width: 100%;
    padding-right: 1.4rem;
    padding-left: 1.4rem;
    white-space: normal;
    overflow-wrap: anywhere;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.wp-block-columns:has([name="lessor_ads_new_brend"]):has([name="lessor_ads_new_model_type"]):has([name="lessor_ads_new_model_year"]) {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) minmax(16rem, 1.6fr) minmax(5.5rem, .45fr);
    gap: 1rem;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1rem;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"]) > .wp-block-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__field-label,
form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__label-text {
    min-width: 10rem;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__fields-group {
    width: 100%;
    min-width: 0;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-select-field:has([name="lessor_ads_new_crew"]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-select-field:has([name="lessor_ads_new_crew"]) .jet-form-builder__field-wrap {
    position: static;
    width: 100%;
    min-width: 0;
}

@media only screen and (min-width: 801px) {
    .footer .footer__item_info a {
        white-space: nowrap;
    }
}

@media only screen and (max-width: 800px) {
    .profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
        grid-template-columns: minmax(0, 1fr) 2.1111rem;
    }

    form:is([data-form-id="3194"], [data-form-id="3527"])
    .wp-block-columns:has([name="lessor_ads_new_brend"]):has([name="lessor_ads_new_model_type"]):has([name="lessor_ads_new_model_year"]),
    form:is([data-form-id="3194"], [data-form-id="3527"])
    .wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"]) {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media only screen and (max-width: 520px) {
    .cbnb-file-control {
        align-items: stretch;
    }

    .cbnb-file-control__button,
    .cbnb-file-control__status {
        width: 100%;
    }
}

.header .menu-lang {
    position: relative;
}

.header .menu-lang.is-open .menu-lang__inner,
.header .menu-lang:focus-within .menu-lang__inner {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 4px);
    right: 0;
    display: block;
    min-width: 10rem;
    padding: 6px 0;
    border: 1px solid #e9e6e6;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 61, 91, .16);
}

.header .menu-lang__inner a {
    white-space: nowrap;
}

@media only screen and (min-width: 801px) {
    .profile-tabs .tab-menu {
        left: 0;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        width: 100%;
        gap: .25rem;
    }

    .profile-tabs .tab-menu__item {
        justify-content: center;
        min-width: 0;
        padding-right: .5rem;
        padding-left: .5rem;
        font-size: clamp(.76rem, 1vw, .95rem);
    }

    .profile-tabs .tab-menu__item > svg {
        flex: 0 0 auto;
    }

    .profile-tabs .tab-menu__label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Keep account search, count and localized CTA stable while results are filtered. */
.profile-tabs .listing-panel-head__item--search {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: .75rem;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__left,
.profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
    min-width: 0;
    margin-bottom: 0;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__title {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: .3em;
    font-size: clamp(1.45rem, 2.2vw, 1.8rem);
    white-space: nowrap;
}

.profile-tabs .listing-panel-head__count {
    white-space: nowrap;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
    display: grid;
    grid-template-columns: minmax(14rem, 1fr) 2.1111rem minmax(10rem, max-content);
    align-items: center;
    gap: .75rem;
}

.profile-tabs .listing-panel-head__text-info .information-notice {
    top: auto;
    bottom: calc(100% + 14px);
    z-index: 20;
    box-sizing: border-box;
    width: min(360px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    white-space: normal;
    overflow-wrap: break-word;
    text-align: left;
}

.profile-tabs .listing-panel-head__text-info .information-notice i {
    display: block;
}

.profile-tabs .listing-panel-head__text-info .information-notice i::after {
    bottom: -10px;
}

.profile-tabs .listing-panel-head input.account-listing-search-input {
    position: static;
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 2.2222rem;
    transform: none;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__search {
    box-sizing: border-box;
    width: 2.1111rem;
    min-width: 2.1111rem;
    height: 2.1111rem;
    padding: 0;
    border: 0;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__btn {
    box-sizing: border-box;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 2.2222rem;
    max-height: none;
    padding-right: 1rem;
    padding-left: 1rem;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.profile-tabs .listing-panel-content--searching > .pagination,
.profile-tabs .listing-panel-content > .pagination[hidden] {
    display: none !important;
}

.profile-tabs .listing-search-results.loading {
    min-height: 8rem;
    opacity: .55;
}

@media only screen and (max-width: 1022px) {
    .profile-tabs .listing-panel-head__item--search {
        grid-template-columns: minmax(0, 1fr);
    }

    .profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
        justify-content: start;
    }
}

@media only screen and (max-width: 800px) {
    .profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
        grid-template-columns: minmax(0, 1fr) 2.1111rem;
        width: 100%;
    }

    .profile-tabs .listing-panel-head__item--search .listing-panel-head__btn {
        grid-column: 1 / -1;
    }
}

/* Keep localized owner actions aligned even when Cyrillic labels are longer. */
.account-listing__btns {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .5556rem;
}

.account-listing__btns .btn {
    flex: 1 1 max-content;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: .5444rem .75rem;
    white-space: nowrap;
}

.account-listing__btns .btn span {
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
}

.yacht-page-info__btns > .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0 !important;
    max-width: none !important;
    padding-right: 1rem;
    padding-left: 1rem;
    white-space: nowrap;
}

@media only screen and (max-width: 1022px) {
    .account-listing__btns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-listing__btns .btn {
        width: 100%;
    }
}

@media only screen and (max-width: 520px) {
    .yacht-page-info__btns > .btn {
        width: 100%;
    }
}

@media only screen and (max-width: 520px) {
    .header .header__item_menus.active .menu-lang {
        display: flex !important;
        margin-right: 0;
    }

    .header .menu-lang > li > a {
        padding-right: 10px;
        padding-left: 10px;
    }

    .profile__info,
    .profile__info > li,
    .account-listing,
    .account-listing__item,
    .account-listing__cont,
    .account-listing__cont > * {
        min-width: 0;
        max-width: 100%;
    }

    .profile__info,
    .account-listing__item,
    .account-listing__cont {
        width: 100%;
    }

    .profile__info a,
    .account-listing__name,
    .account-listing__desc {
        overflow-wrap: anywhere;
    }
}

/* A listing title is whatever its author typed, and a junk one (the word "Headline"
   dozens of times over) turned a cabinet card into a column of text that buried the
   Edit / View / Delete buttons and the next card with it. Two lines, then an ellipsis. */
.account-listing__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* The theme reserves room for the footer with a fixed `.wrapper::after` and pulls the footer
   back up by the same hard-coded amount per breakpoint. Those numbers fit the English footer
   only: at 390px the reserve is 750px against a 774px English footer, a 500px Russian one and
   a 477px Ukrainian one, which left 250-273px of white below the site on RU and UK. The class
   arrives once frontend-stage3.js has measured the footer, so without the script the theme's
   own numbers still apply. */
.wrapper.cbnb-footer-reserve-measured::after {
    height: var(--cbnb-footer-reserve);
}

.wrapper.cbnb-footer-reserve-measured ~ .footer {
    margin-top: calc(-1 * var(--cbnb-footer-reserve));
}

.footer form.subscribe .subscribe__btn {
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    padding-top: 0;
    padding-bottom: 0;
}

@media only screen and (max-width: 800px) {
    body.home .subscribe__item:first-child .wpcf7-form-control-wrap[data-name="sn_your_name"],
    body.home .subscribe__item:first-child .wpcf7-form-control-wrap[data-name="sn_your_email"],
    body.page-template-template-help .form-contact .wpcf7-form-control-wrap[data-name="sn_your_name"],
    body.page-template-template-help .form-contact .wpcf7-form-control-wrap[data-name="sn_your_email"],
    body.page-template-template-contact .form-contact .wpcf7-form-control-wrap[data-name="sn_your_name"],
    body.page-template-template-contact .form-contact .wpcf7-form-control-wrap[data-name="sn_your_email"] {
        width: 100%;
    }

    body.home .subscribe__item:first-child .wpcf7-list-item label,
    body.page-template-template-help .form-contact .wpcf7-list-item label,
    body.page-template-template-contact .form-contact .wpcf7-list-item label {
        text-align: left;
    }

    body.home .subscribe__item:first-child .wpcf7-list-item label input[type="checkbox"],
    body.page-template-template-help .form-contact .wpcf7-list-item label input[type="checkbox"],
    body.page-template-template-contact .form-contact .wpcf7-list-item label input[type="checkbox"] {
        flex: 0 0 20px;
    }

    .account-listing__left {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .account-listing__img {
        display: block;
    }

    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has(input[name="no_license_required"])
    .jet-form-builder__fields-group {
        width: 100%;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has(input[name="no_license_required"])
    .jet-form-builder__field-wrap,
    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has(input[name="no_license_required"])
    .jet-form-builder__field-label {
        width: 100%;
        min-width: 0;
    }

    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has(input[name="no_license_required"])
    .jet-form-builder__field-label {
        align-items: flex-start;
        gap: 10px;
    }

    form:is([data-form-id="3194"], [data-form-id="3527"])
    input[name="no_license_required"] {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
}

/* ---------------------------------------------------------------------------
   Issue #223 — QA retest 27.08.2026.
   Every rule here exists because a Cyrillic string is longer than the English
   one the layout was built for.
   --------------------------------------------------------------------------- */

/* Footer legal links: the fixed 50% columns could not hold "Политика
   конфиденциальности", so the text painted over its neighbour. Columns now size
   to their content and drop to one per row when they no longer fit. */
.footer__item_info ul {
    column-gap: 1.5rem;
}

.footer__item_info ul li {
    flex: 1 1 auto;
    width: auto;
    min-width: calc(50% - 1.5rem);
    max-width: 100%;
}

/* Pricing ribbon: the SVG now carries only the banner, the wording is real text. */
.pricing-plan-icon-label {
    display: block;
}

.pricing-plan-icon-label__text {
    position: absolute;
    top: 35%;
    left: 47%;
    box-sizing: border-box;
    width: 200px;
    padding: 0 4px;
    transform: translate(-50%, -50%) rotate(41.2deg);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .01em;
    text-align: center;
    text-transform: uppercase;
    hyphens: none;
    overflow-wrap: break-word;
    pointer-events: none;
}

/* The private-plan ribbon is the same banner in a 256x288 box instead of 280x293,
   so its band centre sits a little up and to the left. */
.pricing-plan-icon-label--private .pricing-plan-icon-label__text {
    top: 34%;
    left: 45.3%;
}

/* Owner listing CTA: "Разместить бесплатно" is ~40% wider than "List for Free",
   and the search row was shrinking it below its own text. */
.profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
    grid-template-columns: minmax(8rem, 1fr) 2.1111rem max-content;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__btn {
    flex-shrink: 0;
    width: max-content;
    min-width: max-content;
    max-width: none;
    overflow: visible;
}

.profile-tabs .listing-panel-head__item--search .listing-panel-head__btn span,
.profile-tabs .listing-panel-head__item--search .listing-panel-head__text-info {
    overflow: visible;
    text-overflow: clip;
}

@media only screen and (max-width: 800px) {
    .profile-tabs .listing-panel-head__item--search .listing-panel-head__right {
        grid-template-columns: minmax(0, 1fr) 2.1111rem;
    }

    .profile-tabs .listing-panel-head__item--search .listing-panel-head__btn {
        width: 100%;
        min-width: 0;
    }
}

/* Skipper & Crew row: "Приготовление пищи" must stay on one line (п.6), and the
   Crew select must sit on the same line as the Cooking checkbox (п.7). Labels
   share a row, controls share the next one. */
form:is([data-form-id="3194"], [data-form-id="3527"])
.wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"]) {
    grid-template-columns: minmax(0, 1fr) minmax(max-content, auto);
    align-items: stretch;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"])
.jet-form-builder__label,
form:is([data-form-id="3194"], [data-form-id="3527"])
.wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"])
> .wp-block-column > .jet-form-builder-row > .jet-form-builder__label-text {
    display: flex;
    align-items: flex-end;
    min-height: 1.7em;
    margin-bottom: .5rem;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__field-label,
form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__label-text {
    min-width: 0;
    white-space: nowrap;
}

form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__fields-group,
form:is([data-form-id="3194"], [data-form-id="3527"])
.field-type-select-field:has([name="lessor_ads_new_crew"]) .jet-form-builder__field-wrap {
    display: flex;
    align-items: center;
    min-height: 2.7778rem;
}

@media only screen and (max-width: 800px) {
    form:is([data-form-id="3194"], [data-form-id="3527"])
    .wp-block-columns:has([name="lessor_ads_new_crew"]):has([name="lessor_ads_new_cooking"]) {
        grid-template-columns: minmax(0, 1fr);
    }

    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__field-label,
    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has([name="lessor_ads_new_cooking"]) .jet-form-builder__label-text {
        white-space: normal;
    }
}

/* RU and UK labels run around twice the length of the English source and carry
   long unbreakable words ("Посудомоечная машина", "путешественника"). Inside a
   min-content sized column those words set the width, and the listing forms grew
   past a 375px viewport into horizontal scroll. Only text that cannot otherwise
   fit is broken; anything that already wraps at a space is untouched. */
@media only screen and (max-width: 767px) {
    body.cbnb-form-loader-page :is(h1, h2, h3, .elementor-heading-title) {
        min-width: 0;
        overflow-wrap: break-word;
    }

    body.cbnb-form-loader-page form.jet-form-builder :is(
        .jet-form-builder-row,
        .jet-form-builder__field-wrap,
        .jet-form-builder__fields-group,
        .jet-form-builder__field-label,
        .jet-form-builder__label-text,
        .jet-form-builder__desc
    ) {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    /* Eleven amenities, the longest a single 13-character Cyrillic word, do not
       fit two to a row on a phone whatever the wrapping rules say. */
    form:is([data-form-id="3194"], [data-form-id="3527"])
    .field-type-checkbox-field:has([name^="lessor_ads_new_amenit"]) .jet-form-builder__fields-group {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The section strip scrolls sideways below 900px, but with no scrollbar and no
   clipped edge nothing announced it: the sections past the fold read as missing.
   A permanently visible thin bar is the affordance. */
@media (max-width: 900px) {
    .cbnb-owner-form-nav {
        scrollbar-color: rgba(0, 61, 91, .35) transparent;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .cbnb-owner-form-nav::-webkit-scrollbar {
        height: 4px;
        -webkit-appearance: none;
    }

    .cbnb-owner-form-nav::-webkit-scrollbar-thumb {
        border-radius: 2px;
        background: rgba(0, 61, 91, .35);
    }
}
