/* Shared onboard sections and galleries, moved from product/content.css.
 * Used by cabin cruises and private gulets; media rules and declarations preserved. */
/* Photo links share the existing main-gallery lightbox. */
.single-product .ytk-onboard-photo { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; cursor: zoom-in; }
.single-product .ytk-onboard-photo:focus-visible { outline: 3px solid #0071eb; outline-offset: -3px; }
.single-product .ytk-private-gallery-section.ytk-onboard-section--captioned .ytk-onboard-gallery figure { height: auto; overflow: visible; border-radius: 0; background: transparent; }
.single-product .ytk-onboard-section--captioned .ytk-onboard-photo { height: auto; aspect-ratio: 1 / 1; border-radius: 10px; }
.single-product .ytk-onboard-caption { margin-top: 9px; }
.single-product .ytk-onboard-caption strong { display: block; color: #1a2b49; font-size: 14px; line-height: 1.35; font-weight: 750; }
.single-product .ytk-onboard-caption > span { display: block; margin-top: 3px; color: #69758a; font-size: 13px; line-height: 1.45; font-weight: 500; }
@media (max-width: 760px) {
    .single-product .ytk-onboard-section--captioned .ytk-onboard-gallery figure { height: auto; }
    .single-product .ytk-onboard-section--captioned .ytk-onboard-photo { height: auto; }
}
/* Shared, deliberately simple section language */
.single-product .ytk-onboard-section {
    width: 100%;
    margin: 42px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}


.single-product .ytk-onboard-section > h2 {
    margin: 0 0 14px !important;
}


.single-product .ytk-onboard-copy {
    max-width: 900px;
    margin: 0 0 18px;
}


.single-product .ytk-onboard-copy p {
    margin: 0;
}


.single-product .ytk-onboard-gallery {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
}


.single-product .ytk-onboard-gallery figure {
    min-width: 0;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #eef1f3;
}


.single-product .ytk-onboard-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .35s ease;
}


.single-product .ytk-onboard-gallery figure:hover img {
    transform: scale(1.025);
}


.single-product .ytk-onboard-points,
.single-product .ytk-onboard-facts {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 24px;
    margin: 20px 0 0;
}


.single-product .ytk-onboard-points strong,
.single-product .ytk-onboard-facts strong {
    display: block;
    margin-bottom: 4px;
    color: #1a2b49;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}


@media (max-width: 1050px) and (min-width: 761px) {
    .single-product .ytk-onboard-gallery {
            grid-template-columns: repeat(2,minmax(0,1fr));
        }
}


@media (max-width: 760px) {
    .single-product .ytk-onboard-section {
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
        }


    .single-product .ytk-onboard-section .ytk-mobile-accordion__body {
            overflow: hidden;
        }


    .single-product .ytk-onboard-copy {
            margin: 0 0 14px;
        }


    .single-product .ytk-onboard-gallery {
            display: flex !important;
            grid-template-columns: none !important;
            grid-template-rows: none !important;
            gap: 8px;
            width: auto;
            margin-right: -16px;
            padding: 0 42px 5px 0;
            overflow-x: auto;
            overscroll-behavior-x: contain;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }


    .single-product .ytk-onboard-gallery::-webkit-scrollbar {
            display: none;
        }


    .single-product .ytk-onboard-gallery figure {
            flex: 0 0 84%;
            grid-column: auto;
            grid-row: auto;
            width: auto;
            max-width: 310px;
            height: auto;
            scroll-snap-align: start;
            border-radius: 9px;
        }


    .single-product .ytk-onboard-points,
    .single-product .ytk-onboard-facts {
            display: block;
            margin-top: 15px;
        }
}


.single-product .ytk-onboard-section h2::after {
    content: ".";
    color: #024f4d;
}


/* === YTK CABIN SECTION REFINEMENTS 2026-09-21 === */
.single-product .ytk-onboard-copy p {
    color: var(--ytk-body-copy) !important;
    font-size: var(--ytk-product-copy-size) !important;
    line-height: var(--ytk-product-copy-line-height) !important;
    font-weight: var(--ytk-product-copy-weight) !important;
}


.single-product .ytk-onboard-section--life {
    margin-bottom: 0 !important;
}


@media (max-width: 760px) {
    .single-product .ytk-onboard-section.ytk-mobile-accordion {
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            border-top: 1px solid rgba(26,43,73,.12) !important;
            border-radius: 0 !important;
            background: transparent !important;
        }


    .single-product .ytk-onboard-section.ytk-mobile-accordion > h2 {
            min-height: 60px !important;
            margin: 0 !important;
            padding: 18px 42px 18px 0 !important;
        }


    .single-product .ytk-onboard-section.ytk-mobile-accordion > h2::after {
            content: "" !important;
            color: transparent !important;
            background: transparent !important;
        }


    .single-product .ytk-onboard-section.ytk-mobile-accordion > .ytk-mobile-accordion__body {
            padding-top: 0 !important;
        }


    .single-product .ytk-onboard-section.ytk-mobile-accordion.is-open > .ytk-mobile-accordion__body {
            padding-top: 0 !important;
            padding-bottom: 24px !important;
        }


    .single-product .ytk-onboard-section .ytk-onboard-copy,
        .single-product .ytk-important-information-section .ytk-onboard-copy {
            margin: 0 0 14px !important;
            padding: 0 !important;
        }


    .single-product .ytk-onboard-section .ytk-onboard-copy p,
        .single-product .ytk-important-information-section .ytk-onboard-copy p {
            margin-top: 0 !important;
            color: var(--ytk-body-copy) !important;
            font-size: 14px !important;
            line-height: 1.6 !important;
            font-weight: var(--ytk-product-copy-weight) !important;
        }
}


.single-product .ytk-onboard-section > h2 {
    max-width: 980px;
    color: var(--ytk-ink) !important;
    font-size: clamp(26px,2.3vw,34px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1.25px !important;
    font-weight: 900 !important;
}


.single-product .ytk-onboard-points > div,
.single-product .ytk-onboard-facts > div {
    display: grid;
    align-items: start;
    min-width: 0;
    padding-top: 13px;
    color: rgba(26,43,73,.68) !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
}


.single-product .ytk-onboard-item-icon .ytk-icon {
    font-variation-settings:
        'FILL' 0,
        'wght' 300,
        'GRAD' 0,
        'opsz' 24;
}


.single-product .ytk-onboard-item-copy,
.single-product .ytk-onboard-item-copy > span {
    display: block;
    min-width: 0;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}


.single-product .ytk-onboard-item-copy strong {
    margin-bottom: 2px;
}


@media (max-width:760px) {
    .single-product .ytk-onboard-section.ytk-mobile-accordion > h2 {
            color: #1a2b49 !important;
            font-size: 18px !important;
            line-height: 1.3 !important;
            letter-spacing: -.2px !important;
        }


    .single-product .ytk-onboard-points > div,
        .single-product .ytk-onboard-facts > div {
            padding: 11px 0;
            color: rgba(26,43,73,.68) !important;
            font-size: 14px !important;
            line-height: 1.65 !important;
            font-weight: 500 !important;
        }
}


/* === YTK FINAL SECTION ALIGNMENT 2026-09-21 === */
/* Match the new gallery detail icons to the product fact icons. */
.single-product .ytk-onboard-item-icon,
.single-product .ytk-onboard-item-icon .ytk-icon {
    color: #1a2b49 !important;
}


.single-product .ytk-onboard-item-icon .ytk-icon {
    font-size: 30px !important;
    line-height: 1 !important;
}


.single-product .ytk-onboard-points > div,
.single-product .ytk-onboard-facts > div {
    border-top: 0 !important;
}


@media (min-width: 761px) {
    .single-product .ytk-onboard-section {
            padding-bottom: 24px !important;
        }
}


@media (max-width: 760px) {
    .single-product .ytk-onboard-section.ytk-mobile-accordion > h2 {
            font-weight: 900 !important;
        }


    .single-product .ytk-onboard-points > div,
        .single-product .ytk-onboard-facts > div {
            border-top: 0 !important;
        }


    .single-product .ytk-onboard-item-icon .ytk-icon {
            font-size: 30px !important;
        }
}


/* === YTK ONBOARD ICON BOX MATCH 2026-09-21 === */
.single-product .ytk-onboard-item-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 52px !important;
    height: 52px !important;
    flex: 0 0 52px !important;
    background: #f3f5f5 !important;
    border-radius: 10px !important;
}


.single-product .ytk-onboard-points > div,
.single-product .ytk-onboard-facts > div {
    grid-template-columns: 52px minmax(0,1fr) !important;
    gap: 12px !important;
}


@media (max-width: 760px) {
    .single-product .ytk-onboard-item-icon {
            width: 52px !important;
            height: 52px !important;
        }


    .single-product .ytk-onboard-points > div,
        .single-product .ytk-onboard-facts > div {
            grid-template-columns: 52px minmax(0,1fr) !important;
            gap: 12px !important;
        }
}


.single-product .ytk-fleet-private-cta {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) auto;
    align-items: center;
    gap: 12px;
    width: min(100%, 560px);
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    color: #1a2b49;
    text-decoration: none;
}


.single-product .ytk-fleet-private-cta .ytk-onboard-item-icon,
.single-product .ytk-fleet-private-cta .ytk-onboard-item-icon .ytk-icon {
    color: #1a2b49 !important;
}


.single-product .ytk-fleet-private-cta strong,
.single-product .ytk-fleet-private-cta small {
    display: block;
}


.single-product .ytk-fleet-private-cta strong {
    color: #1a2b49;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
}


.single-product .ytk-fleet-private-cta small {
    margin-top: 2px;
    color: rgba(26,43,73,.66);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}


.single-product .ytk-fleet-private-cta__arrow {
    color: #1a2b49;
    font-size: 22px;
    line-height: 1;
    font-weight: 500;
    transition: transform .18s ease;
}


.single-product .ytk-fleet-private-cta:hover .ytk-fleet-private-cta__arrow {
    transform: translateX(4px);
}


@media (max-width: 760px) {

    .single-product .ytk-fleet-private-cta {
            margin-top: 16px;
        }
}


@media (min-width: 761px) {
    .single-product .ytk-onboard-carousel {
            position: relative;
            width: 100%;
        }


    .single-product .ytk-onboard-carousel .ytk-onboard-gallery {
            display: flex !important;
            flex-wrap: nowrap;
            grid-template-columns: none !important;
            grid-template-rows: none !important;
            gap: 12px;
            overflow-x: auto;
            overflow-y: hidden;
            overscroll-behavior-x: contain;
            scroll-behavior: smooth;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
        }


    .single-product .ytk-onboard-carousel .ytk-onboard-gallery::-webkit-scrollbar {
            display: none;
        }


    .single-product .ytk-onboard-carousel .ytk-onboard-gallery figure {
            flex: 0 0 30%;
            width: 30%;
            max-width: none;
            height: auto;
            scroll-snap-align: start;
        }


    .single-product .ytk-onboard-carousel__arrow {
            position: absolute;
            z-index: 2;
            top: 50%;
            display: grid;
            place-items: center;
            width: 44px;
            height: 44px;
            padding: 0;
            transform: translateY(-50%);
            border: 2px solid #1a2b49;
            border-radius: 50%;
            background: #fff;
            color: #1a2b49;
            box-shadow: 0 2px 10px rgba(26, 43, 73, .12);
            cursor: pointer;
            transition: box-shadow .2s ease, transform .2s ease;
        }


    .single-product .ytk-onboard-carousel__arrow:hover {
            transform: translateY(-50%) scale(1.04);
            box-shadow: 0 4px 14px rgba(26, 43, 73, .2);
        }


    .single-product .ytk-onboard-carousel__arrow:focus-visible {
            outline: 2px solid #1a2b49;
            outline-offset: 3px;
        }


    .single-product .ytk-onboard-carousel__arrow .ytk-icon {
            color: inherit;
            font-size: 25px;
            line-height: 1;
        }


    .single-product .ytk-onboard-carousel__arrow--previous { left: -16px; }


    .single-product .ytk-onboard-carousel__arrow--next { right: -16px; }


    .single-product .ytk-onboard-carousel__arrow[hidden] { display: none !important; }
}


@media (max-width: 760px) {
    .single-product .ytk-onboard-carousel { display: contents; }


    .single-product .ytk-onboard-carousel__arrow { display: none !important; }
}


@media (prefers-reduced-motion: reduce) {
    .single-product .ytk-onboard-carousel .ytk-onboard-gallery { scroll-behavior: auto; }
}
