body.bft-piers-page .bft-v2-hero-shell {
    display: none !important;
}

.bft-piers-page .bft-piers-page__main {
    padding-top: 18px;
    padding-bottom: 48px;
}

.bft-piers-page .bft-piers-page__main h1 {
    margin: 0 0 12px;
    color: #143c69;
}

.bft-piers {
    font-family: Inter, "Open Sans", Arial, sans-serif;
    color: #1a2a3a;
}

.bft-piers__lead {
    margin: 0 0 16px;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.5;
    color: #3b5164;
}

.bft-piers__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.bft-piers__filters button {
    padding: 8px 14px;
    border: 1px solid #c5d6e4;
    border-radius: 999px;
    background: #fff;
    color: #143c69;
    font: 700 13px/1.2 Inter, "Open Sans", Arial, sans-serif;
    cursor: pointer;
}

.bft-piers__filters button.is-active,
.bft-piers__filters button:hover {
    background: #1569a5;
    border-color: #1569a5;
    color: #fff;
}

.bft-piers__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: stretch;
}

.bft-piers__map {
    min-height: 540px;
    height: 62vh;
    border-radius: 16px;
    overflow: hidden;
    background: #e8eef4;
    box-shadow: 0 10px 24px rgba(15, 58, 110, 0.08);
}

.bft-piers__aside {
    display: flex;
    flex-direction: column;
    max-height: 62vh;
    min-height: 540px;
    background: #fff;
    border: 1px solid #d7e4ee;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 58, 110, 0.06);
    overflow: hidden;
}

.bft-piers__aside h2 {
    margin: 0;
    padding: 14px 16px;
    border-bottom: 1px solid #edf3f8;
    font-size: 18px;
    color: #143c69;
}

.bft-piers__list {
    list-style: none;
    margin: 0;
    padding: 8px;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.bft-piers__list:has(.bft-piers__picked) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bft-piers__back {
    display: inline-flex;
    align-items: center;
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #1569a5;
    font: 700 13px/1.2 Inter, "Open Sans", Arial, sans-serif;
    cursor: pointer;
}

.bft-piers__back:hover {
    color: #0d4d7a;
}

.bft-piers__picked {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.bft-piers__item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 0 6px;
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    background: #f4f8fc;
    text-align: left;
    cursor: pointer;
}

.bft-piers__item span {
    font-weight: 700;
    color: #143c69;
}

.bft-piers__item small {
    color: #5a6d7e;
}

.bft-piers__item.is-active,
.bft-piers__item:hover {
    background: #e4eef7;
}

.bft-piers__item.is-hidden {
    display: none;
}

.bft-piers__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 12px;
    color: #3b5164;
    font-size: 13px;
}

.bft-piers__legend-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bft-piers__help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 2px;
    padding: 0;
    border: 1px solid #9ab0c2;
    border-radius: 50%;
    background: #fff;
    color: #5a6d7e;
    font: 700 11px/1 Inter, "Open Sans", Arial, sans-serif;
    cursor: help;
}

.bft-piers__help:hover,
.bft-piers__help:focus {
    border-color: #1569a5;
    color: #1569a5;
    outline: none;
}

.bft-piers__tip {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    width: min(320px, 78vw);
    padding: 10px 12px;
    border: 1px solid #d7e4ee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 58, 110, 0.12);
    color: #3b5164;
    font: 400 13px/1.45 Inter, "Open Sans", Arial, sans-serif;
}

.bft-piers__legend-item:hover .bft-piers__tip,
.bft-piers__legend-item:focus-within .bft-piers__tip {
    display: block;
}

.bft-piers__legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bft-piers__legend i.is-city {
    background: #d32f2f;
}

.bft-piers__legend i.is-private {
    background: #2e7d32;
}

.bft-piers__type-dot::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
    vertical-align: middle;
}

.bft-piers__type-dot--city::before {
    background: #d32f2f;
}

.bft-piers__type-dot--private::before {
    background: #2e7d32;
}

.bft-piers__card {
    margin: 16px 0 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #d7e4ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 58, 110, 0.06);
}

.bft-piers__card[hidden] {
    display: none;
}

.bft-piers__detail {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    min-height: 0;
    margin: 8px 0 0;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.bft-piers__gallery {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 148px;
    max-height: 148px;
    overflow: hidden;
    background: #e8eef4;
    cursor: zoom-in;
    border-radius: 12px;
}

.bft-piers__gallery .bft-wide-gallery,
.bft-piers__gallery .bft-wide-gallery__main,
.bft-piers__gallery .bft-wide-gallery__track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 0;
}

.bft-piers__gallery .bft-wide-gallery__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.bft-piers__gallery .bft-wide-gallery__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.bft-piers__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: zoom-in;
}

.bft-piers__gallery .bft-wide-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #143c69;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 58, 110, 0.16);
}

.bft-piers__gallery .bft-wide-gallery__nav--prev {
    left: 12px;
}

.bft-piers__gallery .bft-wide-gallery__nav--next {
    right: 12px;
}

.bft-piers__gallery .bft-wide-gallery__dots {
    position: absolute;
    top: 12px;
    right: 0;
    bottom: auto;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.bft-piers__gallery .bft-wide-gallery__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.bft-piers__gallery .bft-wide-gallery__dot.is-active {
    background: #fff;
}

.bft-piers__info {
    position: static;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 10px 2px 4px;
    background: none;
    pointer-events: none;
}

.bft-piers__type {
    display: inline-flex;
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.bft-piers__type--city {
    background: #fde8e8;
    color: #c62828;
}

.bft-piers__type--private {
    background: #e7f6ec;
    color: #1b7a3d;
}

.bft-piers__card h3,
.bft-piers__detail h3 {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 1.25;
    color: #143c69;
}

.bft-piers__addr,
.bft-piers__hint {
    margin: 0 0 4px;
    color: #4a6074;
    font-size: 13px;
    line-height: 1.35;
}

.bft-piers__ships {
    padding: 8px 22px 22px;
}

.bft-piers__ships h4 {
    margin: 8px 0 14px;
    font-size: 20px;
    color: #143c69;
}

.bft-piers .bft-similar-ships,
.bft-piers .bft-similar-ships .order,
.bft-piers .bft-similar-ships .order__wrap {
    margin: 0;
    padding: 0;
    width: 100%;
}

.bft-piers .bft-similar-ships .order__wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bft-piers .bft-similar-card.is-mini-hidden,
.bft-piers .bft-similar-card[hidden] {
    display: none !important;
}

.bft-piers .bft-similar-card,
.bft-piers .bft-similar-card__inner,
.bft-piers .bft-similar-card__media,
.bft-piers .bft-similar-card .bft-wide-gallery,
.bft-piers .bft-similar-card .bft-wide-gallery__main {
    overflow: hidden;
}

.bft-piers .bft-similar-card__media,
.bft-piers .bft-similar-card .bft-wide-gallery,
.bft-piers .bft-similar-card .bft-wide-gallery__main,
.bft-piers .bft-similar-card .bft-wide-gallery__track {
    position: relative;
}

.bft-piers .bft-similar-card .bft-wide-gallery__main {
    aspect-ratio: 16 / 10;
    background: #d7e3ee;
}

.bft-piers .bft-similar-card .bft-wide-gallery__slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.bft-piers .bft-similar-card .bft-wide-gallery__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.bft-piers .bft-similar-card .bft-wide-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bft-piers .bft-similar-card .bft-wide-gallery__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #143c69;
    cursor: pointer;
}

.bft-piers .bft-similar-card .bft-wide-gallery__nav--prev {
    left: 8px;
}

.bft-piers .bft-similar-card .bft-wide-gallery__nav--next {
    right: 8px;
}

.bft-piers .bft-similar-card .bft-wide-gallery__dots {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.bft-piers .bft-similar-card .bft-wide-gallery__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.bft-piers .bft-similar-card .bft-wide-gallery__dot.is-active {
    background: #fff;
}

.bft-piers__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-top: auto;
    padding: 12px 14px 14px;
    border-top: 1px solid #edf3f8;
}

.bft-piers__share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #1569a5;
    color: #fff;
    font: 700 12px/1.2 Inter, "Open Sans", Arial, sans-serif;
    cursor: pointer;
}

.bft-piers__share-btn:hover {
    background: #0d4d7a;
}

.bft-piers__guide {
    margin: 28px 0 0;
    max-width: 820px;
}

.bft-piers__guide h2 {
    margin: 0 0 12px;
    font-size: 24px;
    color: #143c69;
}

.bft-piers__guide h3 {
    margin: 18px 0 8px;
    font-size: 18px;
    color: #143c69;
}

.bft-piers__guide p {
    margin: 0 0 10px;
    color: #3b5164;
    font-size: 16px;
    line-height: 1.55;
}

.bft-piers-share[hidden] {
    display: none;
}

.bft-piers-share {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 36, 56, 0.35);
}

.bft-piers-share__box {
    width: min(420px, 100%);
    padding: 22px 24px 24px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 58, 110, 0.18);
}

.bft-piers-share__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.bft-piers-share__head h3 {
    margin: 0;
    font-size: 20px;
    color: #1a2a3a;
}

.bft-piers-share__close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: none;
    color: #8a97a6;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.bft-piers-share__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bft-piers-share__socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bft-piers-share__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.bft-piers-share__socials a[data-piers-share-net="wa"] { background: #25d366; }
.bft-piers-share__socials a[data-piers-share-net="tg"] { background: #2aabee; }
.bft-piers-share__socials a[data-piers-share-net="vk"] { background: #0077ff; }
.bft-piers-share__socials a[data-piers-share-net="tw"],
.bft-piers-share__socials a[data-piers-share-net="mail"] { background: #1d2c4d; }

.bft-piers-share__socials svg path {
    fill: #fff !important;
}

.bft-piers-share__copy {
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: #f07a5a;
    color: #fff;
    font: 700 14px/1 Inter, "Open Sans", Arial, sans-serif;
    cursor: pointer;
}

.bft-piers-share__copy:hover {
    background: #e46745;
}

.bft-piers__empty {
    margin: 0;
    color: #5a6d7e;
}

.bft-piers__status {
    margin: 12px 0 0;
    color: #5a6d7e;
    font-size: 13px;
}

.bft-piers__status.is-error {
    color: #b42318;
}

.bft-piers__empty.is-error {
    color: #b42318;
}

.bft-catalog-piers {
    margin: 36px 0 8px;
}

.bft-piers--catalog .bft-piers__map,
.bft-piers--catalog .bft-piers__aside {
    min-height: 480px;
    height: 56vh;
}

.bft-piers--catalog .bft-piers__aside {
    max-height: 56vh;
}

.bft-piers__catalog-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 0 0 16px;
    padding: 12px 16px;
    border: 1px solid #cfe0ee;
    border-radius: 12px;
    background: #f4f8fb;
    color: #143c69;
    font: 600 14px/1.4 Inter, "Open Sans", Arial, sans-serif;
}

.bft-piers__catalog-note[hidden] {
    display: none !important;
}

.bft-piers__catalog-note button {
    padding: 7px 12px;
    border: 1px solid #1569a5;
    border-radius: 999px;
    background: #1569a5;
    color: #fff;
    font: 700 13px/1 Inter, "Open Sans", Arial, sans-serif;
    cursor: pointer;
}

.bft-piers__catalog-note button:hover {
    background: #115687;
}

@media (max-width: 1100px) {
    .bft-piers .bft-similar-ships .order__wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .bft-piers__layout {
        grid-template-columns: 1fr;
    }

    .bft-piers__map,
    .bft-piers__aside {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .bft-piers__map {
        height: 420px;
        min-height: 380px;
    }

    .bft-piers__list {
        max-height: 420px;
    }

    .bft-piers__list:has(.bft-piers__picked) {
        max-height: none;
        overflow: visible;
    }

    .bft-piers__gallery,
    .bft-piers__gallery .bft-wide-gallery,
    .bft-piers__gallery .bft-wide-gallery__main,
    .bft-piers__gallery .bft-wide-gallery__track {
        min-height: 0;
        height: 148px;
        max-height: 148px;
    }

    .bft-piers .bft-similar-ships .order__wrap {
        grid-template-columns: 1fr;
    }
}

.bft-pier-photo {
    position: fixed;
    inset: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 72px;
    background: rgba(8, 18, 32, 0.9);
}

.bft-pier-photo[hidden] {
    display: none;
}

.bft-pier-photo__img {
    max-width: min(92vw, 1400px);
    max-height: 86vh;
    object-fit: contain;
    border-radius: 8px;
    background: #0c1826;
}

.bft-pier-photo__close,
.bft-pier-photo__nav {
    position: absolute;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #143c69;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.bft-pier-photo__close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 28px;
    line-height: 1;
}

.bft-pier-photo__nav {
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    font-size: 28px;
    line-height: 1;
}

.bft-pier-photo__nav--prev {
    left: 18px;
}

.bft-pier-photo__nav--next {
    right: 18px;
}

.bft-pier-photo__nav[hidden] {
    display: none;
}
