/* Package details: editorial layout (title block, 1+2 gallery, tabs, sticky booking card). */
.rr-pd-top {
    padding: 28px 0 24px;
    background: #fff;
}

/* No banner on this page: give the (white-text, transparent) site header its own navy background. */
body:has(#rr-package-detail) .main-header--one {
    margin-bottom: 0;
    background-color: var(--gotur-base, #123a73);
}

.rr-pd-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #6b7686;
    font-size: 13px;
}

.rr-pd-crumbs a {
    color: #6b7686;
    text-decoration: none;
}

.rr-pd-crumbs a:hover {
    color: var(--gotur-base, #123a73);
}

.rr-pd-crumbs__current {
    overflow: hidden;
    max-width: 320px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rr-pd-eyebrow {
    margin: 0 0 10px;
    color: #b98a00;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.rr-pd-titlebar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.rr-pd-title {
    max-width: 820px;
    margin: 0 0 14px;
    color: var(--gotur-base, #123a73);
    font-size: clamp(28px, 4.2vw, 48px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.rr-pd-share {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.rr-pd-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e1e5ea;
    border-radius: 50%;
    color: var(--gotur-base, #123a73);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.rr-pd-share a:hover {
    background: var(--gotur-base, #123a73);
    color: #fff;
}

.rr-pd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    color: #5a6473;
    font-size: 14px;
}

.rr-pd-meta i {
    margin-right: 5px;
    color: #1b4f8c;
}

/* Gallery: one large image with two beneath. */
.rr-pd-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.rr-pd-gallery button {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #e9edf5;
    cursor: zoom-in;
}

.rr-pd-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rr-pd-gallery__main {
    grid-column: 1 / -1;
    aspect-ratio: 7 / 4;
}

.rr-pd-gallery__thumb {
    aspect-ratio: 4 / 3;
}

.rr-pd-gallery--1 .rr-pd-gallery__main {
    aspect-ratio: 16 / 9;
}

.rr-pd-gallery--2 .rr-pd-gallery__thumb {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 6;
}

.rr-pd-gallery__all {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #fff;
    color: #1d231f;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Mobile price + enquire bar (desktop has the booking card beside the content). */
.rr-pd-pricebar {
    display: none;
}

.rr-pd-tabs {
    position: sticky;
    top: 0;
    z-index: 15;
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e1e5ea;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
}

.rr-pd-tabs a {
    flex: 0 0 auto;
    padding: 14px 0;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.rr-pd-tabs a:hover,
.rr-pd-tabs a.is-active {
    border-bottom-color: var(--gotur-primary, #f4b400);
    color: var(--gotur-base, #123a73);
}

.rr-pd [id^="rr-sec-"] {
    scroll-margin-top: 70px;
}

/* Lightbox */
.rr-pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 16, 28, 0.92);
}

.rr-pd-lightbox[hidden] {
    display: none;
}

.rr-pd-lightbox img {
    max-width: min(92vw, 1200px);
    max-height: 86vh;
    border-radius: 8px;
    object-fit: contain;
}

.rr-pd-lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.rr-pd-lightbox button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.rr-pd-lightbox__close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 28px;
}

.rr-pd-lightbox__nav {
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    border-radius: 50%;
    font-size: 32px;
}

.rr-pd-lightbox__nav--prev { left: 16px; }
.rr-pd-lightbox__nav--next { right: 16px; }

@media (max-width: 991px) {
    .rr-pd-pricebar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: -4px 0 20px;
        padding: 14px 16px;
        border: 1px solid #e1e5ea;
        border-radius: 12px;
        background: #fff;
    }

    .rr-pd-pricebar__label {
        display: block;
        color: #6b7686;
        font-size: 12px;
    }

    .rr-pd-pricebar__amount {
        display: block;
        color: #1d231f;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.2;
    }

    .rr-pd-pricebar__btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 46px;
        padding: 0 20px;
        border-radius: 8px;
        background: #1b4f8c;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
    }
}

@media (max-width: 575px) {
    .rr-pd-top { padding: 20px 0 16px; }
    .rr-pd-gallery { gap: 8px; margin-bottom: 18px; }
    .rr-pd-gallery button { border-radius: 10px; }
    .rr-pd-gallery__main { aspect-ratio: 4 / 3; }
    .rr-pd-tabs { gap: 22px; }
}

.rr-pd .col-lg-8,
.rr-pd .col-lg-4 {
    min-width: 0;
}

.rr-pd-title {
    overflow-wrap: anywhere;
}

@media (max-width: 400px) {
    .rr-pd-pricebar {
        flex-wrap: wrap;
    }

    .rr-pd-pricebar__btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .rr-pd-gallery__all {
        right: 8px;
        bottom: 8px;
        padding: 7px 10px;
        font-size: 12px;
    }
}

/* Never let the page pan sideways. clip (not hidden) keeps position: sticky working. */
html:has(#rr-package-detail),
body:has(#rr-package-detail) {
    max-width: 100%;
    overflow-x: clip;
}

body:has(#rr-package-detail) .page-wrapper {
    min-width: 0;
    width: 100%;
    overflow: visible;
    overflow-x: clip;
    max-width: 100%;
}

#rr-package-detail img,
#rr-package-detail iframe,
#rr-package-detail video,
#rr-package-detail table {
    max-width: 100%;
}

/* Floating share button (bottom right), sits above the back-to-top control. */
.rr-pd-fab {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rr-pd-fab__btn,
.rr-pd-fab__menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.28);
}

.rr-pd-fab__btn {
    width: 52px;
    height: 52px;
    background: var(--gotur-base, #123a73);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.rr-pd-fab__btn:hover {
    transform: scale(1.06);
}

.rr-pd-fab__menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rr-pd-fab__menu[hidden] {
    display: none;
}

.rr-pd-fab__menu a {
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--gotur-base, #123a73);
    font-size: 18px;
}

.rr-pd-fab__menu a:hover {
    background: var(--gotur-base, #123a73);
    color: #fff;
}

@media (max-width: 575px) {
    .rr-pd-fab { right: 16px; bottom: 88px; }
}
