.yacht-detail {
    --yacht-detail-blue: #071b39;
    --yacht-detail-border: #dadee5;
    --yacht-detail-item-border: #ddd;
    --yacht-detail-muted: rgba(0, 0, 0, 0.6);
    --yacht-detail-surface: #fbfbfb;
    --yacht-detail-section-gap: 50rem;
    --yacht-detail-nav-height: 96rem;
    padding-top: 40rem;
}

.yacht-detail * {
    scroll-margin-top: calc(var(--header-height) + var(--yacht-detail-nav-height) + 16rem);
}

.yacht-detail__article,
.yacht-detail__content {
    min-width: 0;
}

.yacht-detail .detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1013fr) minmax(0, 739fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8rem;
    height: 760rem;
    margin-bottom: 0;
}

.yacht-detail .detail-hero-main,
.yacht-detail .detail-hero-item {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.yacht-detail .detail-hero-main {
    grid-row: 1 / -1;
}

.yacht-detail .detail-hero-item {
    aspect-ratio: auto;
}

.yacht-detail .detail-hero-item .gallery-more {
    gap: 12rem;
    font-size: 20rem;
}

.yacht-detail__body {
    display: grid;
    grid-template-columns: minmax(0, 1312rem) 416rem;
    gap: 32rem;
    align-items: start;
}

.yacht-detail-section {
    width: 100%;
    margin-bottom: var(--yacht-detail-section-gap);
    padding-bottom: var(--yacht-detail-section-gap);
    border-bottom: max(1px, 1rem) solid var(--yacht-detail-border);
}

.yacht-detail-section__title {
    margin: 0 0 50rem;
    font-size: 32rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.yacht-detail-section__toggle {
    padding: 0 0 2rem;
    border: 0;
    border-bottom: max(1px, 1rem) solid currentColor;
    background: transparent;
    color: var(--yacht-detail-blue);
    font-size: 12rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    cursor: pointer;
}

.yacht-detail-section__toggle[hidden] {
    display: none;
}

.yacht-detail-section--overview {
    display: block;
    padding-top: 40rem;
}

.yacht-detail #main-information {
    display: block;
}

.yacht-detail__title {
    margin: 0 0 12rem;
    font-size: 48rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.yacht-detail-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32rem;
}

.yacht-detail-overview__primary {
    min-width: 0;
}

.yacht-detail-overview__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    color: var(--yacht-detail-blue);
    font-size: 14rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
    list-style: none;
    text-transform: capitalize;
}

.yacht-detail-overview__meta li + li {
    position: relative;
    margin-left: 12rem;
    padding-left: 12rem;
}

.yacht-detail-overview__meta li + li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: max(1px, 1rem);
    height: 8rem;
    background: currentColor;
    transform: translateY(-50%);
}

.yacht-detail-overview__price {
    margin-top: 24rem;
}

.yacht-detail .detail-cost {
    display: flex;
    align-items: center;
    gap: 12rem;
    margin-top: 14rem;
    font-size: 24rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.yacht-detail .detail-cost-old {
    color: rgba(var(--default-rgb), 0.5);
    font-size: 14rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-decoration: line-through;
    text-transform: uppercase;
}

.yacht-detail-overview__price .detail-cost {
    margin-top: 0;
}

.yacht-detail .yacht-detail-overview__switchers {
    flex: 0 0 auto;
    width: min(320rem, 100%);
    max-width: 320rem;
    margin: 0;
}

.yacht-detail-overview__mobile-cta {
    display: none;
}

.yacht-detail-description {
    width: min(715rem, 100%);
}

.yacht-detail-description__content,
.yacht-detail-description__content p,
.yacht-detail-description__content ul {
    font-size: 16rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.yacht-detail-description__content p,
.yacht-detail-description__content ul {
    margin-bottom: 20rem;
}

.yacht-detail-description__content > :last-child {
    margin-bottom: 0;
}

.yacht-detail-description__content ul {
    margin-top: 20rem;
}

.yacht-detail-section--description .yacht-detail-section__toggle {
    display: none;
    margin-top: 24rem;
}

.yacht-detail-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yacht-detail-highlights__item {
    display: flex;
    align-items: center;
    gap: 8rem;
    padding: 20rem;
    background: var(--yacht-detail-surface);
    font-size: 14rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.yacht-detail-highlights__item::before {
    content: "";
    width: 18rem;
    height: 18rem;
    padding: 6rem;
    flex: 0 0 18rem;
    background: var(--yacht-detail-blue);
    background-clip: content-box;
}

.yacht-detail-specifications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32rem;
    margin: 0;
}

.yacht-detail-specification {
    min-width: 0;
}

.yacht-detail-specification__label,
.yacht-detail-specification__value {
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.yacht-detail-specification__label {
    margin-bottom: 8rem;
    color: var(--yacht-detail-muted);
    font-size: 18rem;
    text-transform: capitalize;
}

.yacht-detail-specification__value {
    font-size: 16rem;
}

.yacht-detail-equipment {
    display: flex;
    flex-direction: column;
    gap: 50rem;
}

.yacht-detail-equipment__group {
    min-width: 0;
}

.yacht-detail-equipment__title {
    width: min(565rem, 100%);
    margin: 0 0 25rem;
    overflow: hidden;
    font-size: 18rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-overflow: ellipsis;
}

.yacht-detail-equipment__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10rem 32rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yacht-detail-equipment__item {
    display: flex;
    min-height: 52rem;
    align-items: flex-start;
    padding-bottom: 4rem;
    border-bottom: max(1px, 0.5rem) solid var(--yacht-detail-item-border);
    font-size: 16rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
}

.yacht-detail-equipment__item[hidden] {
    display: none;
}

.yacht-detail-equipment__toggle {
    margin-top: 50rem;
}

.yacht-detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8rem;
    color: #fff;
}

.yacht-detail-gallery__main,
.yacht-detail-gallery__item,
.yacht-detail-gallery__more {
    position: relative;
    overflow: hidden;
}

.yacht-detail-gallery__main {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
}

.yacht-detail-gallery__item {
    aspect-ratio: 4 / 3;
}

.yacht-detail-gallery__more {
    grid-column: 1 / -1;
    aspect-ratio: 1312 / 489;
}

.yacht-detail-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yacht-detail .detail-sold-media {
    position: relative;
    overflow: hidden;
}

.yacht-detail .detail-sold-media > img.absolute-fit.object-cover {
    filter: blur(8px);
    transform: scale(1.03);
}

.yacht-detail .detail-sold-label {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 27, 57, 0.28);
    color: #fff;
    font-size: 64rem;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    pointer-events: none;
}

.yacht-detail .gallery-tour-trigger {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.48) 100%);
}

.yacht-detail .gallery-tour-trigger-inner {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12rem;
}

.yacht-detail .gallery-tour-play-circle {
    display: inline-flex;
    width: 68rem;
    height: 68rem;
    align-items: center;
    justify-content: center;
    border: max(1px, 1rem) solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.yacht-detail .gallery-tour-play-icon {
    width: 22rem;
    height: 22rem;
    margin-left: 3rem;
    color: #fff;
}

.yacht-detail .gallery-tour-label {
    color: #fff;
    font-size: 13rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.has-yacht-video .f-html,
.has-yacht-video .f-html iframe {
    aspect-ratio: 16 / 9;
}

.yacht-detail-section--deck-plans {
    text-align: center;
}

.yacht-detail-deck-plans__tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50rem;
    overflow-x: auto;
}

.yacht-detail-deck-plans__tab {
    min-height: 46rem;
    padding: 15rem;
    border: max(1px, 1rem) solid transparent;
    background: transparent;
    color: var(--yacht-detail-blue);
    font-size: 12rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
}

.yacht-detail-deck-plans__tab.tab-active {
    border-color: var(--yacht-detail-blue);
    background: var(--yacht-detail-blue);
    color: #fff;
}

.yacht-detail-deck-plans__panel:not(.tab-active) {
    display: none;
}

.yacht-detail-deck-plans__image {
    display: block;
    width: 100%;
    max-height: 317rem;
    margin-inline: auto;
    object-fit: contain;
    cursor: zoom-in;
}

.yacht-detail-deck-plans__image + .yacht-detail-deck-plans__image {
    margin-top: 24rem;
}

.yacht-detail-broker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: calc(var(--header-height) + var(--yacht-detail-nav-height) + 40rem);
    width: 416rem;
    max-width: 100%;
    padding: 36rem;
    flex-shrink: 0;
    background: var(--yacht-detail-surface);
    text-align: center;
}

.yacht-detail-broker .detail-author-image {
    position: relative;
    width: 126rem;
    aspect-ratio: 1 / 1;
    margin-bottom: 12rem;
    overflow: hidden;
    border-radius: 50%;
}

.yacht-detail-broker .detail-author-name {
    margin: 0;
    font-size: 20rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.yacht-detail-broker .detail-author-props {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12rem;
    margin-top: 24rem;
}

.yacht-detail-broker .detail-author-lang,
.yacht-detail-broker .detail-author-phone,
.yacht-detail-broker .detail-author-email {
    color: inherit;
    font-size: 16rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.yacht-detail-broker .detail-author-description {
    margin: 24rem 0 0;
    font-size: 14rem;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.yacht-detail-broker .detail-author-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 24rem;
    border-top: max(1px, 1rem) solid var(--yacht-detail-border);
    border-bottom: max(1px, 1rem) solid var(--yacht-detail-border);
}

.yacht-detail-broker .detail-author-social {
    display: inline-flex;
    min-height: 46rem;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    color: inherit;
    font-size: 14rem;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.yacht-detail-broker .detail-author-social + .detail-author-social {
    border-inline-start: max(1px, 1rem) solid var(--yacht-detail-border);
}

.yacht-detail-broker .detail-author-social-icon {
    width: 18rem;
    height: 18rem;
    color: rgba(var(--primary-rgb), 1);
}

.yacht-detail-broker .detail-author-btn {
    width: 100%;
    margin-top: 24rem;
}

.yacht-detail-similar {
    margin-top: 0;
    padding: 80rem 0 160rem;
    overflow: hidden;
}

.yacht-detail-similar .similar-title {
    width: min(864rem, 100%);
    margin: 0 0 75rem;
    font-size: 32rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.yacht-detail-similar .similar-slider {
    width: 100%;
    margin-inline: 0;
    overflow: visible;
}

.yacht-detail-similar .similar-slide {
    width: calc((100% - 32rem) / 2);
    padding-inline: 0;
    margin-right: 32rem;
}

.yacht-detail-similar .featured-item {
    height: 622rem;
    aspect-ratio: auto;
}

.yacht-detail-similar .featured-item-title {
    font-size: 20rem;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.yacht-detail-similar .slider-arrows {
    margin-top: 50rem;
}

body:has(.gallery-dialog:target) {
    overflow: hidden;
}

.gallery-dialog {
    position: fixed;
    inset: 0;
    z-index: 20;
    height: 100%;
    padding-block: 40rem;
    overflow: auto;
    background: rgba(var(--primary-rgb), 1);
    color: #fff;
    transition: opacity 0.3s ease;
}

.gallery-dialog *::selection {
    background: #fff;
    color: rgba(var(--primary-rgb), 1);
}

.gallery-dialog:not(:target) {
    opacity: 0;
    pointer-events: none;
}

.gallery-dialog-container {
    width: calc(100% - 40rem);
    max-width: 1312rem;
    margin: 0 auto;
}

.gallery-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40rem;
}

.gallery-dialog-close {
    display: flex;
    align-items: center;
    gap: 28rem;
    color: inherit;
    font-size: 20rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.gallery-dialog-controls {
    display: flex;
}

.gallery-dialog-controls .detail-nav-control {
    width: 217rem;
    min-height: 48rem;
    gap: 12rem;
    border-color: rgba(255, 255, 255, 0.9) !important;
    font-size: 12rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: capitalize;
}

.gallery-dialog-controls .detail-nav-control + .detail-nav-control {
    margin-left: min(-1px, -1rem);
}

.gallery-dialog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32rem;
}

.gallery-dialog-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.gallery-dialog-item:nth-of-type(3n + 1) {
    grid-column: 1 / -1;
}

.gallery-dialog-bottom {
    position: sticky;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding-block: 20rem;
    background: rgba(var(--primary-rgb), 1);
}

@media (min-width: 610px) {
    .gallery-dialog-bottom {
        display: none;
    }
}

.yacht-detail__visually-hidden {
    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;
}

.yacht-detail-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 10;
    min-height: var(--yacht-detail-nav-height);
    padding-block: 24rem;
    border-bottom: max(1px, 1rem) solid #c0ccdb;
    background: #fff;
}

.yacht-detail-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24rem;
}

.yacht-detail-nav__links,
.yacht-detail-nav__actions {
    display: flex;
    align-items: center;
}

.yacht-detail-nav__links {
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.yacht-detail-nav__links::-webkit-scrollbar {
    display: none;
}

.yacht-detail-nav__link {
    display: inline-flex;
    min-height: 46rem;
    align-items: center;
    padding: 15rem;
    color: var(--yacht-detail-blue);
    font-size: 12rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.yacht-detail-nav__link.is-active {
    background: var(--yacht-detail-blue);
    color: #fff;
}

.yacht-detail-nav__actions {
    flex: 0 0 434rem;
    width: 434rem;
}

.yacht-detail-nav__primary-actions {
    display: flex;
    width: 100%;
}

.yacht-detail-nav__action,
.yacht-detail-overview__action {
    display: inline-flex;
    min-height: 48rem;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    padding: 12rem 24rem;
    border: max(1px, 1rem) solid var(--yacht-detail-border);
    background: #fff;
    color: var(--yacht-detail-blue);
    font-size: 12rem;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.yacht-detail-nav__action {
    width: 50%;
}

.yacht-detail-nav__action + .yacht-detail-nav__action {
    margin-left: min(-1px, -1rem);
}

.yacht-detail-nav__action.is-added,
.yacht-detail-overview__action.is-added {
    border-color: var(--yacht-detail-blue);
    background: var(--yacht-detail-blue);
    color: #fff;
}

.yacht-detail-nav__action-icon,
.yacht-detail-overview__action-icon {
    display: block;
    width: 16rem;
    height: 16rem;
    flex: 0 0 16rem;
    font-size: 16rem;
}

.yacht-detail-nav__switchers {
    display: none;
}

@media (hover: hover) {
    .yacht-detail-nav__link:hover,
    .yacht-detail-nav__action:hover {
        background: var(--yacht-detail-blue);
        color: #fff;
    }

    .yacht-detail .gallery-tour-trigger:hover .gallery-tour-play-circle {
        border-color: rgba(255, 255, 255, 0.58);
        background: rgba(255, 255, 255, 0.24);
        transform: scale(1.06);
    }
}

@media (max-width: 1199.98px) {
    .yacht-detail {
        --yacht-detail-nav-height: 142rem;
    }

    .yacht-detail .detail-hero {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        height: auto;
    }

    .yacht-detail .detail-hero-main {
        grid-row: auto;
        aspect-ratio: 1013 / 760;
    }

    .yacht-detail .detail-hero-item {
        aspect-ratio: 739 / 376;
    }

    .yacht-detail-nav__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12rem;
    }

    .yacht-detail-nav__actions {
        width: 100%;
        flex-basis: auto;
    }

    .yacht-detail__body {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .yacht-detail__content {
        display: contents;
    }

    .yacht-detail-section--overview {
        order: 1;
    }

    .yacht-detail-section--description {
        order: 2;
    }

    .yacht-detail-section--highlights {
        order: 3;
    }

    .yacht-detail-section--specifications {
        order: 4;
    }

    .yacht-detail-broker {
        position: static;
        order: 5;
        width: 100%;
        padding: 12rem;
        margin-bottom: var(--yacht-detail-section-gap);
    }

    .yacht-detail-broker .detail-author-image {
        width: max(64rem, 16.4102564103vw);
    }

    .yacht-detail-broker .detail-author-name {
        width: 100%;
        padding-bottom: 24rem;
        border-bottom: max(1rem, 1px) solid var(--yacht-detail-border);
        font-size: 18rem;
    }

    .yacht-detail-broker .detail-author-props {
        width: 100%;
        align-items: flex-start;
        padding-bottom: 24rem;
        border-bottom: max(1rem, 1px) solid var(--yacht-detail-border);
        text-align: left;
    }

    .yacht-detail-section--equipment {
        order: 6;
    }

    .yacht-detail-section--gallery {
        order: 7;
    }

    .yacht-detail-section--deck-plans {
        order: 8;
    }

    .yacht-detail-similar .similar-slide {
        width: 75%;
    }
}

@media (max-width: 767.98px) {
    .yacht-detail {
        --yacht-detail-nav-height: 0rem;
        padding-top: 20rem;
        padding-bottom: 40rem;
    }

    .yacht-detail .detail-hero {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4rem;
    }

    .yacht-detail .detail-hero-main {
        grid-column: 1 / -1;
        aspect-ratio: 350 / 252;
    }

    .yacht-detail .detail-hero-item {
        aspect-ratio: 173 / 88;
    }

    .yacht-detail .detail-hero-item .gallery-more {
        gap: 4rem;
        font-size: 12rem;
        letter-spacing: -0.08em;
    }

    .yacht-detail-nav {
        display: none;
    }

    .yacht-detail .yacht-detail-overview__switchers {
        display: none;
    }

    .yacht-detail-section {
        --yacht-detail-section-gap: 40rem;
    }

    .yacht-detail-section--overview {
        padding-top: 20rem;
        padding-bottom: 20rem;
        margin-bottom: 0;
        border-bottom: 0;
    }

    .yacht-detail__title {
        margin-bottom: 20rem;
        font-size: 36rem;
    }

    .yacht-detail .detail-cost {
        margin-top: 20rem;
        font-size: 18rem;
    }

    .yacht-detail-section__title {
        margin-bottom: 32rem;
        font-size: 26rem;
    }

    .yacht-detail-overview {
        align-items: stretch;
        flex-direction: column;
        gap: 20rem;
    }

    .yacht-detail-overview__mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 12rem;
        margin-top: 20rem;
    }

    .yacht-detail-overview__mobile-cta .detail-author-btn {
        width: 100%;
        height: 48rem;
        min-height: 48rem;
        justify-content: space-between;
        margin: 0;
        padding: 0 16rem 0 20rem;
        font-size: 12rem;
        line-height: 1.3;
        letter-spacing: 0.01em;
    }

    .yacht-detail-overview__mobile-actions {
        display: flex;
        min-height: 28rem;
        align-items: center;
        justify-content: space-between;
        color: var(--yacht-detail-blue);
    }

    .yacht-detail-overview__primary-actions,
    .yacht-detail-overview__mobile-switchers,
    .yacht-detail-overview__mobile-switchers .compare-currency-dropdowns {
        display: contents;
    }

    .yacht-detail-overview__action,
    .yacht-detail-overview__mobile-switchers .compare-currency-dropdown {
        position: relative;
        min-height: 28rem;
    }

    .yacht-detail-overview__action {
        width: auto;
        padding: 6rem 0;
        border: 0;
        background: transparent;
        font-size: 12rem;
        line-height: 1.2;
    }

    .yacht-detail-overview__action + .yacht-detail-overview__action,
    .yacht-detail-overview__mobile-switchers .compare-currency-dropdown {
        margin-left: 26rem;
    }

    .yacht-detail-overview__action + .yacht-detail-overview__action::before,
    .yacht-detail-overview__mobile-switchers .compare-currency-dropdown::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -13rem;
        width: max(1px, 1rem);
        height: 16rem;
        background: var(--yacht-detail-border);
        transform: translateY(-50%);
    }

    .yacht-detail-overview__action.is-added {
        background: transparent;
        color: var(--yacht-detail-blue);
    }

    .yacht-detail-overview__mobile-switchers c-menu-button.btn-light-contur {
        min-height: 28rem;
        gap: 4rem;
        justify-content: center;
        padding: 6rem 0;
        border: 0;
        background: transparent;
        color: var(--yacht-detail-blue);
        font-size: 12rem;
        font-weight: 300;
        line-height: 1.2;
        letter-spacing: 0.01em;
    }

    .yacht-detail-overview__mobile-switchers .compare-switcher-label-short {
        display: none;
    }

    .yacht-detail-overview__mobile-switchers .compare-switcher-label-full {
        display: inline;
    }

    .yacht-detail-overview__mobile-switchers c-menu-button .icon {
        width: 16rem;
        height: 16rem;
        font-size: 16rem;
    }

    .yacht-detail-specifications,
    .yacht-detail-equipment__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24rem 20rem;
    }

    .yacht-detail-gallery__main {
        aspect-ratio: 1 / 1;
    }

    .yacht-detail-gallery__more {
        aspect-ratio: 350 / 120;
    }

    .gallery-dialog-header {
        align-items: stretch;
        flex-direction: column;
        gap: 20rem;
        margin-bottom: 20rem;
    }

    .gallery-dialog-grid {
        gap: 16rem;
    }
}

@media (max-width: 609.98px) {
    .yacht-detail-section__title {
        margin-bottom: 24rem;
        font-size: 22rem;
    }

    .yacht-detail-section--description .yacht-detail-section__toggle {
        display: inline-block;
    }

    .yacht-detail-description__content:not(.toggle-active) {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 8;
    }

    .yacht-detail-highlights {
        gap: 10rem;
    }

    .yacht-detail-highlights__item {
        gap: 10rem;
        padding: 14rem;
        font-size: 12rem;
    }

    .yacht-detail-specifications {
        display: flex;
        flex-direction: column;
        gap: 25rem;
    }

    .yacht-detail-specification {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 16rem;
    }

    .yacht-detail-specification__label {
        margin-bottom: 0;
        font-size: 16rem;
        line-height: 1.3;
    }

    .yacht-detail-specification__value {
        font-size: 14rem;
        line-height: 1.3;
        text-align: right;
    }

    .yacht-detail-specification[hidden] {
        display: none;
    }

    .yacht-detail-specifications__toggle {
        margin-top: 25rem;
    }

    .yacht-detail-equipment__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 20rem;
    }

    .yacht-detail-equipment__item {
        font-size: 14rem;
    }

    .yacht-detail .detail-cost {
        align-items: flex-start;
        flex-direction: column;
        font-size: 18rem;
    }

    .yacht-detail-gallery {
        gap: 4rem;
    }

    .yacht-detail .detail-sold-label {
        font-size: 36rem;
    }

    .has-yacht-video .f-html {
        width: calc(100vw - 24rem);
        max-width: calc(100vw - 24rem);
        height: auto;
        max-height: calc((100vw - 24rem) * 9 / 16);
    }

    .yacht-detail-broker {
        padding: 24rem 12rem;
    }

    .yacht-detail-broker .detail-author-lang,
    .yacht-detail-broker .detail-author-phone,
    .yacht-detail-broker .detail-author-email {
        font-size: 14rem;
    }

    .yacht-detail-broker .detail-author-description {
        display: none;
    }

    .yacht-detail-broker .detail-author-social {
        min-height: 0;
    }

    .gallery-dialog {
        padding-top: 20rem;
        padding-bottom: 0;
    }

    .gallery-dialog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 4rem;
    }

    .yacht-detail-similar {
        margin-top: 0;
        padding: 40rem 0 80rem;
    }

    .yacht-detail-similar .similar-title {
        margin-bottom: 40rem;
        font-size: 22rem;
    }

    .yacht-detail-similar .similar-slider {
        overflow: hidden;
    }

    .yacht-detail-similar .similar-slide {
        width: 100%;
        margin-right: 0;
    }

    .yacht-detail-similar .featured-item {
        height: auto;
        aspect-ratio: 350 / 343;
    }

    .yacht-detail-similar .slider-arrows {
        display: none;
    }
}
