:root {
    /* =========================================================
       PACKAGE FLOW / PACKAGE SUMMARY TITLE SIZE
       Current original size: .75rem
       1.125rem = 1.5x
       1.50rem  = 2x
       ========================================================= */
    --book-section-title-size: 1.1rem;
}

/* ==================================================
   GENERAL
   ================================================== */
body {
    font-family: 'Montserrat', sans-serif;
}

/* Floor form control font-size at 16px on mobile to stop iOS Safari's zoom-on-focus. */
@media (max-width: 600px) {
    input,
    select,
    textarea,
    .RadInput_Bootstrap input,
    .riSingle,
    .rcbInput,
    .form-control,
    .form-select {
        font-size: 16px !important;
    }
}

/* ============================================================
   Book Dynamic Title Bars
   Uses PackageContentItem:
   - OccupancyTitleBackgroundColor
   - OccupancyTitleTextColor
   ============================================================ */

.book-title-bar {
    background-color: var(--book-title-bg, #000000) !important;
    color: var(--book-title-color, #ffffff) !important;
}

.book-title-bar *,
.book-title-bar a,
.book-title-bar span,
.book-title-bar div {
    color: inherit !important;
}

/* ==================================================
   HERO SECTION STYLES
   ================================================== */
.hero {
    padding: 0;
    color: #fff;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 28px 48px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.hero-logo {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    zoom: var(--hero-scale, 100%);
}

.hero-accent-line {
    height: 3px;
}

.hero-in {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: center;
    padding: 56px 48px 68px;
}

.h-over {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

    .h-over::before {
        content: '';
        width: 24px;
        height: 1px;
        background: currentColor;
    }

.h-title {
    font-size: clamp(2.8rem,6vw,5.5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: .92;
    margin-bottom: 10px;
}

.h-sub {
    font-size: .875rem;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .22em;
    margin-bottom: 26px;
}

.h-desc {
    font-size: .875rem;
    color: rgba(255,255,255,.65);
    line-height: 1.85;
    max-width: 520px;
}

    .h-desc strong {
        color: #fff;
    }

.hcard {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.hcr {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

    .hcr:last-child {
        border-bottom: none;
    }

.hcr-k {
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.hcr-v {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.4;
}

@media(max-width:900px) {
    .hero-in {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px 52px;
    }

    .hero-logo-bar {
        padding: 20px;
    }

    .hero-logo {
        zoom: var(--hero-mobile-scale, 68.75%);
    }
}

@media(max-width:600px) {
    .hero {
        min-height: auto;
    }

    .hero-in {
        padding: 32px 20px 44px;
    }

    .h-title {
        font-size: clamp(2.25rem,14vw,3.4rem);
        line-height: .96;
    }

    .h-sub {
        font-size: .75rem;
        letter-spacing: .16em;
        line-height: 1.6;
    }
}

/* ==================================================
   PACKAGE SECTION STYLES
   ================================================== */

.section-header h2 {
    font-size: clamp(1.4rem, 4vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

    .section-header h2 span {
        color: #888;
    }

.section-desc {
    font-size: .875rem;
    color: #666;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

.packages-section {
    background: #f8f9fa;
    text-align: center;
    padding: 50px 48px;
}

.package-card-grid {
    max-width: 1200px;
    margin: 48px auto 0;
    display: grid;
    gap: 18px;
    text-align: left;
}

.package-card-grid.cols-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 500px;
}

.package-card-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 3+ packages:
Use 6 internal columns so normal cards can remain 1/3 width,
while incomplete final rows can be centered. */
    .package-card-grid.cols-3 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.package-card-grid.cols-3 > .package-card {
    grid-column: span 2;
}

/* 5, 8, 11, etc.
When the final row contains 2 packages,
start that row one column in so the two cards are centered. */
    .package-card-grid.cols-3 > .package-card:nth-last-child(2):nth-child(3n + 1) {
    grid-column: 2 / span 2;
}


/* 7, 10, 13, etc.
When the final row contains 1 package,
center that package. */
    package-card-grid.cols-3 > .package-card:last-child:nth-child(3n + 1) {
    grid-column: 3 / span 2;
}


/* Exactly 4 packages is the special case:
2 wide cards + 2 wide cards. */
    .package-card-grid.cols-3 > .package-card:first-child:nth-last-child(4),
    .package-card-grid.cols-3 > .package-card:first-child:nth-last-child(4) ~ .package-card {
        grid-column: span 3;
}

.package-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}

    .package-card:hover {
        box-shadow: 0 14px 40px rgba(0,0,0,.1);
        transform: translateY(-4px);
    }

.package-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    position: relative;
    overflow: hidden;
}

.package-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .78;
}

.package-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #bb0000;
    color: #fff;
    font-size: .65rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
}

.package-body {
    padding: 20px;
    flex: 1;
}

.package-type {
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}

.package-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.package-dates {
    font-size: .875rem;
    color: #999;
    margin-bottom: 14px;
}

.package-footer {
    padding: 16px 20px 20px;
}

.package-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #bb0000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .875rem;
    padding: 12px;
    border-radius: 3px;
}

    .package-btn:hover {
        color: #fff;
        background: #888;
    }

@media(max-width: 600px) {
    .packages-section {
        padding: 60px 16px;
    }

    .package-card-grid,
    .package-card-grid.cols-2,
    .package-card-grid.cols-3 {
        grid-template-columns: 1fr !important;
        margin-top: 40px;
    }

    /* Match .packages-section's mobile padding above, or this overflows the viewport. */
    .package-summary-area {
        margin-left: -16px !important;
        margin-right: -16px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
/* ==================================================
   FAQ SECTION STYLES
   ================================================== */

.faq-section {
    background: #f8f9fa;
    padding: 96px 48px;
}

.faq-inner {
    max-width: 820px;
    margin: 0 auto;
}

.section-hd {
    text-align: center;
    margin-bottom: 48px;
}

.eyebrow {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 12px;
}

.section-hd h2 {
    font-size: clamp(1.4rem, 4vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

    .section-hd h2 .g {
        color: #888;
    }

.on-light {
    color: #111;
}

.section-hd p {
    font-size: .875rem;
    color: #666;
    line-height: 1.8;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    text-align: left;
}

.faq-q-text {
    font-size: .875rem;
    font-weight: 600;
    color: #111;
}

.faq-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .3s;
    color: #999;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-a {
    display: none;
    padding: 0 0 18px;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-a p {
    font-size: .875rem;
    color: #666;
    line-height: 1.85;
    margin: 0;
}

@media(max-width:600px) {
    .faq-section {
        padding: 60px 16px;
    }
}

/* ==================================================
   PACKAGE SUMMARY SECTION STYLES
   ================================================== */

.pkg-summary-card {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    color: #111;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    text-align: left;
    box-shadow: none;
    padding: 0;
}

.package-summary-area {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    margin: 80px -48px 0;
    padding: 0 48px 96px;
    text-align: center;
}

.package-summary-intro {
    background: #fff;
    padding: 80px 0 40px;
    text-align: center;
    margin: 0;
}

.summary-eyebrow {
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-bottom: 12px;
}

.package-summary-intro h2 {
    font-size: clamp(1.4rem, 4vw, 3.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px;
}

    .package-summary-intro h2 span {
        color: #888;
    }

.summary-desc {
    font-size: .875rem;
    color: #666;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
}

.psc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}


.psc-top {
    padding: 14px 28px;
    border-bottom: 1px solid #e5e5e5;
    background: #111;
}

.psc-package-name {
    font-size: var(--book-section-title-size);
    font-weight: 800;
    color: #fff;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
}

.psc-left {
    padding: 24px 28px;
    border-right: 1px solid #e5e5e5;
    text-align: left;
    background: #f8f9fa;
}

.psc-right {
    padding: 24px 28px;
    text-align: left;
    background: #f8f9fa;
}

.psc-footer {
    padding: 20px 28px;
    border-top: 1px solid #e5e5e5;
    background: #f8f9fa;
    display: flex;
    justify-content: flex-end;
}

@media(max-width:900px) {
    .psc-body {
        grid-template-columns: 1fr;
    }

    .psc-left {
        border-right: none;
        border-bottom: 1px solid #e5e5e5;
    }

    .psc-right {
        text-align: left;
    }

    .psc-footer {
        text-align: center;
    }
}

/* ==================================================
   FLIGHT SUMMARY STYLES
   ================================================== */

.psc-section-title {
    font-size: var(--book-section-title-size);
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 10px;
    margin-top: 20px;
    padding: 6px 0;
}

    .psc-section-title:first-child {
        margin-top: 0;
    }

.flight-route-card {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 14px;
    display: flex;
    flex-direction: row;
    background: #fff;
}

.flight-route-label {
    font-size: .75rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #fff;
    background: #888;
    padding: 14px 8px;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flight-route-row {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 16px 14px;
    display: grid;
    grid-template-columns: minmax(0, 120px) minmax(44px, 1fr) minmax(0, 120px);
    align-items: start;
    column-gap: 8px;
}

.flight-airport {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Keep the circle centered without forcing the full
   airport column to become wider. */
.flight-circle-slot {
    width: 70px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.flight-circle {
    margin-bottom: 0;
}

.flight-circle-code {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #111;
    background: #fff;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .flight-circle-code span {
        display: block;
        font-size: .72rem;
        font-weight: 800;
        letter-spacing: .08em;
    }

.flight-circle-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #111;
}

    .flight-circle-dot span {
        display: none;
    }

.flight-city {
    width: 100%;
    min-width: 0;
    min-height: 18px;
    font-size: .65rem;
    letter-spacing: .04em;
    color: #666;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}

.flight-airport-no-code .flight-city {
    font-weight: 800;
    color: #111;
}

.flight-date {
    width: 100%;
    min-width: 0;
    min-height: 17px;
    font-size: .65rem;
    font-weight: 600;
    color: #111;
    text-align: center;
    line-height: 1.3;
    white-space: normal;
}

.flight-connector {
    width: 100%;
    min-width: 0;
    margin-top: 9px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.flight-line {
    flex: 1;
    height: 1px;
    background: #e5e5e5;
}

.flight-plane-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .flight-plane-icon svg {
        width: 26px;
        height: 26px;
        fill: #111;
        transform-origin: center center;
    }

/*.flight-route-return .flight-plane-icon svg {
    transform: scaleX(-1);
}*/

.psc-accordion-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform .3s;
    color: #666;
}

/* ============================================================
   Package Summary Flight Accordion
   ============================================================ */

.psc-accordion + .psc-accordion {
    margin-top: 20px;
}

.psc-accordion {
    border: 1px solid #dddddd;
    border-radius: 3px;
    background: #ffffff;
    margin: 20px 0 0 0;
    overflow: hidden;
}

.psc-accordion-btn {
    width: 100%;
    min-height: 40px;
    padding: 12px 16px;
    border: 0;
    background: #f8f9fa !important;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

    .psc-accordion-btn:hover,
    .psc-accordion-btn:focus {
        background: #eceff1 !important;
        color: #000000;
        text-decoration: none !important;
        outline: none;
    }

.psc-accordion.open .psc-accordion-btn {
    background: #f8f9fa !important;
}

.psc-accordion-body {
    display: none;
    border-top: 1px solid #e4e4e4;
    background: #ffffff !important;
    padding: 10px 16px 12px;
    color: #555555;
    text-align: left;
}

.psc-accordion-body,
.psc-accordion-body p,
.psc-accordion-body span,
.psc-accordion-body div {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.psc-accordion.open .psc-accordion-body {
    display: block;
}

.psc-accordion.open .psc-accordion-icon {
    transform: rotate(180deg);
}

/* ==================================================
   FOOTER SECTION STYLES
   ================================================== */
.footer-section {
    background: #111;
    color: #fff;
    padding: 64px 48px;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: block;
}

.footer-image {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    zoom: var(--footer-scale, 100%);
}

.footer-content {
    max-width: 920px;
    min-width: 0;
}

    .footer-content h2,
    .footer-content h3 {
        font-size: clamp(1.8rem, 4vw, 3.2rem);
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 12px;
        color: #fff;
    }

    .footer-content p {
        font-size: 1rem;
        color: rgba(255,255,255,.75);
        line-height: 1.7;
        max-width: 860px;
    }

.footer-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-top: 40px;
}

.footer-btn {
    height: 44px;
    min-width: 0;
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #d00000;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .875rem;
    font-weight: 500;
    padding: 0 28px;
    border-radius: 3px;
    box-sizing: border-box;
    white-space: nowrap;
}

.footer-btn-icon {
    font-size: .95rem;
    line-height: 1;
    flex: 0 0 auto;
}

.footer-btn-value {
    display: inline-block;
    min-width: 0;
}

/*fallback*/
.footer-btn:hover {
    background: #888;
    color: #fff;
    text-decoration: none;
}

.footer-buttons .footer-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: auto !important;
    height: auto !important;
    min-height: 44px !important;
    min-width: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    text-align: center !important;
    flex: 0 0 auto !important;
}

.footer-buttons .footer-btn-icon {
    font-size: .95rem !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
}

.footer-buttons .footer-btn-value {
    display: inline-block !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

@media(max-width:900px) {
    .footer-buttons {
        flex-wrap: wrap;
    }
}

@media(max-width:700px) {
    .footer-section {
        padding: 48px 20px;
    }

    .footer-image {
        zoom: calc(var(--footer-scale, 100%) * 0.6875);
    }

    .footer-content {
        max-width: 100%;
    }

    .footer-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .footer-btn,
    .footer-btn-email,
    .footer-btn-phone,
    .footer-btn-website {
        width: 100%;
        min-width: 0;
    }
}


/* ==================================================
   PACKAGE FLOW
   ================================================== */
.package-flow-section {
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 80px 0 96px;
    margin: 0 -48px;
}

.package-flow-stepper {
    max-width: 1300px;
    margin: 0 auto 20px;
    padding: 0 48px;
}

.package-flow-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: start;
}

.package-flow-main,
.package-flow-summary {
    min-width: 0;
}

.package-flow-summary {
    position: sticky;
    top: 24px;
}

.flow-step-panel {
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.flow-step-title {
    background-color: var(--book-title-bg, #111);
    color: var(--book-title-color, #fff);
    padding: 14px 20px;
    font-size: var(--book-section-title-size);
    letter-spacing: .05em;
    text-transform: uppercase;
    text-align: left !important;
}

.flow-step-body {
    padding: 32px;
}

.flow-step-subtitle {
    font-size: .75rem;
    letter-spacing: .28em;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.passenger-number-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.passenger-number-left {
    flex: 1;
}

.flow-field-label {
    display: block;
    margin-bottom: 4px;
    text-align: left;
    font-size: 0.85rem;
    /*font-weight: 600;*/
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

.flow-select {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 0 14px;
    font-size: .875rem;
    background: #fff;
}

.flow-help-text {
    font-size: .75rem;
    color: #777;
    margin-top: 26px;
}

.price-per-person-box {
    width: 134px;
    min-height: 65px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #f3f3f3;
    text-align: center;
    padding: 14px 10px;
}

.price-label {
    font-size: .75rem;
    letter-spacing: .18em;
    color: #666;
}

.price-value {
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    margin-top: 4px;
}

.flow-step-actions {
    margin-top: 48px;
    text-align: right;
}

.flow-next-btn {
    display: inline-block;
    background: #c90000;
    color: #fff;
    text-decoration: none;
    padding: 13px 36px;
    border-radius: 4px;
    font-size: .875rem;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.flow-next-btn:hover {
    background: #888;
    color: #fff;
}

.flow-step-no-slide {
    animation: none;
}

.flow-step-slide {
    animation: flowSlideInRight .55s cubic-bezier(.22,1,.36,1);
}

.pax-top-action-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 12px;
}

.booking-for-other {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #d8b12a;
    border-radius: 6px;
    background: #fffaf0;
    color: #6a5400;
}

.booking-for-other-label {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 640px) {
    .pax-top-action-row {
        align-items: center;
        flex-wrap: wrap;
    }

    .booking-for-other {
        margin-left: auto;
    }
}

@keyframes flowSlideInRight {
    from {
        opacity: 0;
        transform: translateX(45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@media(max-width:900px) {

    .package-flow-section {
        padding: 60px 0;
        margin: 0 -16px;
    }

    .package-flow-stepper,
    .package-flow-layout {
        max-width: 100%;
        padding: 0 16px;
    }

    .package-flow-layout {
        grid-template-columns: 1fr;
    }

    .package-flow-summary {
        position: static;
        order: -1;
    }

    .passenger-number-row {
        flex-direction: column;
    }

    .price-per-person-box {
        width: 100%;
    }

    .flow-step-actions {
        text-align: center;
    }
}

/* Normal ASP.NET / Bootstrap inputs inside Package Flow */
.flow-step-body input.form-control,
.flow-step-body select.form-select,
.flow-step-body input.flow-input,
.flow-step-body select.flow-input {
    width: 100% !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 14px !important;
    line-height: 34px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: .875rem !important;
    border: 1px solid #ced4da !important;
    border-radius: .375rem !important;
    box-sizing: border-box !important;
}

/* Textareas should not be forced to 46px */
.flow-step-body textarea.form-control,
.flow-step-body textarea.flow-input {
    width: 100% !important;
    min-height: 90px !important;
    padding: 12px 14px !important;
    line-height: 1.5 !important;
}

.flow-step-body {
    text-align: left;
}

    .flow-step-body .flow-field-label {
        display: block !important;
        text-align: left !important;
        margin: 0 0 4px 0 !important;
    }

.flow-two-col {
    column-gap: 14px;
    row-gap: 0;
    margin-bottom: 14px;
}

    .flow-two-col > div {
        text-align: left;
    }

/* ==================================================
   PACKAGE FLOW (SUMMARY / PAYMENT CARDS)
   ================================================== */

.package-flow-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* The summary column is sticky, not each individual card. */
.package-flow-summary .flow-summary-card {
    position: static;
    top: auto;
}

/* ------------------------------
   Booking summary detail rows
   ------------------------------ */

.flow-summary-detail-row {
    align-items: flex-start;
    background: #fff;
}

.flow-summary-description {
    --summary-qty-width: 12px;
    --summary-qty-gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 12px;
    line-height: 1.4;
    text-align: left;
    display: grid;
    grid-template-columns: var(--summary-qty-width) minmax(0, 1fr);
    column-gap: var(--summary-qty-gap);
    align-items: start;
}

.flow-summary-row .flow-summary-qty {
    display: block;
    width: var(--summary-qty-width);
    min-width: 0;
    margin-right: 0;
    color: #111;
    font-weight: 700;
    text-align: left;
}

.flow-summary-description-text {
    display: block;
    min-width: 0;
}

.flow-summary-detail-row > strong {
    text-align: right;
}



.flow-summary-detail-row > strong,
.flow-summary-breakdown-row > strong,
.flow-summary-payment-row > strong,
.flow-summary-remaining-row > strong,
.flow-summary-grand-total > strong {
    flex: 0 0 auto;
    white-space: nowrap;
}

.flow-summary-empty {
    padding: 18px 20px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    color: #777;
    font-size: .82rem;
    line-height: 1.45;
}

/* ------------------------------
   Subtotal / fees / total
   ------------------------------ */

.flow-summary-calculation {
    border-top: 1px solid #dcdcdc;
    background: #fff;
}

.flow-summary-breakdown-row {
    padding-top: 10px;
    padding-bottom: 10px;
    background: #fff;
}

.flow-summary-grand-total {
    background: #fff;
    font-weight: 700;
}

/* ------------------------------
   Payment summary card
   ------------------------------ */

.flow-payment-summary-card {
    margin-top: 0;
}

.flow-payment-header {
    padding: 15px 18px;
    border-bottom: 1px solid #e5e5e5;
    background: #f5f5f5;
    color: #666;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.flow-summary-payment-row {
    padding-top: 10px;
    padding-bottom: 10px;
    background: #fff;
}

.flow-summary-remaining-row {
    background: #fff;
    font-weight: 700;
}

.flow-summary-remaining-row span,
.flow-summary-remaining-row strong {
    color: #111;
}

/* ------------------------------
   Coupon
   ------------------------------ */

.flow-coupon-section {
    padding: 16px 18px 18px;
    border-top: 1px solid #e5e5e5;
    background: #fff;
    text-align: left;
}

.flow-coupon-label {
    margin-bottom: 7px;
    color: #666;
    font-size: .75rem;
    font-weight: 500;
}

.flow-coupon-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.flow-coupon-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #d6d6d6;
    border-radius: 3px;
    background: #fff;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-size: .78rem;
    box-sizing: border-box;
    outline: none;
}

.flow-coupon-input:focus {
    border-color: #999;
}

.flow-coupon-input[readonly] {
    background: #f5f5f5;
    color: #555;
}

.flow-coupon-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    background: #fff;
    color: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .07em;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.flow-coupon-button:hover,
.flow-coupon-button:focus {
    border-color: #999;
    background: #f1f1f1;
    color: #111;
    text-decoration: none;
}

.flow-coupon-message {
    display: block;
    margin-top: 7px;
    font-size: .72rem;
    line-height: 1.4;
}

.flow-coupon-success {
    color: #27852b;
}

.flow-coupon-error {
    color: #c90000;
}

@media(max-width: 430px) {
    .flow-coupon-row {
        flex-direction: column;
    }

    .flow-coupon-button {
        width: 100%;
    }
}

/* ==================================================
   PASSENGER INFORMATION STEP
   ================================================== */

.pax-card {
    margin-bottom: 14px;
    border-bottom: 1px solid #bdbdbd;
    padding-bottom: 20px;
}

.pax-card-header {
    width: 100%;
    min-height: 46px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #f3f3f3;
    color: #999;
    text-decoration: none;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .95rem;
    font-weight: 600;
}

/*aligns 'incomplete' pill to the right*/
.pax-header-title {
    flex: 1;
}

.pax-card-header:hover {
    color: #777;
    text-decoration: none;
}

.pax-primary-badge {
    margin-left: auto;
    background: #e7f6e7;
    color: #2a8a2a;
    border: 1px solid #b9e5b9;
    border-radius: 12px;
    padding: 2px 14px;
    font-size: .75rem;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 600;
}

.pax-chevron {
    margin-left: auto;
    font-size: 1.2rem;
    color: #aaa;
}

.pax-primary-badge + .pax-chevron {
    margin-left: 10px;
}

.pax-card-body {
    padding: 12px 0 24px;
}

    .pax-card-body .row {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 12px;
    }

    .pax-card-body .mb-3 {
        margin-bottom: 14px !important;
    }

    .pax-card-body .flow-field-label {
        display: block !important;
        text-align: left !important;
        margin: 0 0 4px 0 !important;
    }

.pax-section-title {
    background: #8a8a8a;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 18px;
    margin-bottom: 20px;
}

.pax-gov-id-alert {
    border: 1px solid #ff6b6b;
    background: #fff5f5;
    color: #d10000;
    font-size: .875rem;
    line-height: 1.6;
    padding: 12px 16px;
    border-radius: 4px;
    margin: 14px 0 18px;
    text-align: center;
}

.pax-check-row {
    margin-bottom: 14px;
    font-size: .85rem;
    color: #666;
}

.pax-sms-optin {
    min-height: 38px;
    border: 1px solid #f0c77e;
    background: #fff6df;
    border-radius: 4px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .pax-sms-optin strong {
        display: block;
        font-size: .85rem;
        color: #111;
    }

    .pax-sms-optin span {
        display: block;
        font-size: .75rem;
        color: #666;
    }

.flow-label-muted {
    color: #aaa;
    letter-spacing: .08em;
}

.pax-textarea {
    min-height: 90px !important;
    line-height: 1.5 !important;
    padding: 12px 14px !important;
}

.pax-flex-placeholder {
    border: 1px dashed #ccc;
    padding: 14px;
    color: #999;
    font-size: .85rem;
    background: #fff;
}

.flow-field {
    margin-bottom: 14px;
}

@media(max-width:700px) {
    .pax-card-body .row {
        --bs-gutter-y: 10px;
    }

    .pax-card-header {
        padding: 0 14px;
        font-size: .8rem;
    }

    .pax-primary-badge {
        font-size: .7rem;
        padding: 2px 8px;
    }
}

/* ==================================================
   PACKAGE FLOW (SUMMARY CARD)
   ================================================== */
.flow-summary-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    overflow: hidden;
    position: sticky;
    top: 24px;
}

.flow-summary-header {
    background: #f8f9fa;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    line-height: 1.25;
}

.flow-summary-dates {
    margin-top: 6px;
    font-size: .875rem;
    font-weight: 400;
    color: #333;
    text-transform: none;
}

.flow-summary-row,
.flow-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 20px;
    border-top: 1px solid #e5e5e5;
    font-size: .875rem;
}

    .flow-summary-row span,
    .flow-summary-total span {
        color: #666;
    }

    .flow-summary-row strong,
    .flow-summary-total strong {
        color: #111;
        font-weight: 700;
    }

.flow-summary-total {
    background: #f8f9fa;
}

    .flow-summary-total span {
        letter-spacing: .12em;
        text-transform: uppercase;
    }


.package-flow-stepper .k-stepper {
    position: relative;
}

.package-flow-stepper .k-progressbar {
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    top: 19px !important;
    z-index: 0;
}

.package-flow-stepper .k-step-list {
    position: relative;
    z-index: 1;
}


/* ==================================================
   PACKAGE FLOW (LOGIN/REGISTER)
   ================================================== */

.flow-instruction {
    font-size: .875rem;
    color: #000;
    line-height: 1.7;
    margin: 18px 0 28px;
}

/* Go Back buttons */
.flow-back-btn,
.flow-back-btn:hover,
.flow-back-btn:focus,
.flow-back-btn:active,
.flow-back-btn:visited {
    color: #000 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.flow-toggle-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.flow-toggle-btn {
    display: block;
    text-align: center;
    border: 1px solid #ddd;
    background: #fff;
    color: #777;
    text-decoration: none;
    padding: 14px;
    border-radius: 4px;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: .875rem;
}

    .flow-toggle-btn.selected {
        background: #c90000;
        border-color: #c90000;
        color: #fff;
    }

/*    .flow-toggle-btn:hover {
        text-decoration: none;
        color: #fff;
        background: #c90000;
        border-color: #c90000;
    }*/

.flow-input {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    outline: none;
    margin-bottom: 14px;
}

.flow-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.flow-code-row {
    display: flex;
    gap: 18px;
    margin: 4px 0 16px;
}

.flow-code-link {
    color: #000;
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.flow-error {
    border: 1px solid #c90000;
    color: #c90000;
    background: #fff;
    padding: 10px 14px;
    margin-bottom: 18px;
    font-size: .875rem;
}

.flow-step-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
}

@media(max-width:600px) {
    .flow-toggle-row,
    .flow-two-col {
        grid-template-columns: 1fr;
    }

    .flow-step-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==================================================
   PASSENGER INFORMATION - VALIDATION / STATUS
   Append near the existing Passenger Information styles in Book.css
   ================================================== */

.required-marker {
    color: #c90000;
    font-weight: 700;
    margin-left: 2px;
}

.pax-card-error {
    border: 1px solid #c90000;
    background: #fff5f5;
    color: #c90000;
    padding: 10px 14px;
    margin: 0 0 16px;
    font-size: .85rem;
    line-height: 1.55;
}

.pax-validation-summary {
    line-height: 1.55;
}

.pax-status-badge {
    border-radius: 999px;
    padding: 3px 12px;
    font-size: .72rem;
    letter-spacing: normal;
    text-transform: none;
    font-weight: 700;
    white-space: nowrap;
}

.pax-status-incomplete {
    background: #fff3cd;
    color: #8a6d00;
    border: 1px solid #ffe08a;
}

.pax-status-complete {
    background: #e7f6e7;
    color: #2a8a2a;
    border: 1px solid #b9e5b9;
}

.pax-primary-badge + .pax-status-badge {
    margin-left: 8px;
}

.pax-status-badge + .pax-chevron {
    margin-left: 8px;
}

.pax-inline-check {
    margin-top: 5px;
    font-size: .78rem;
    color: #666;
}

    .pax-inline-check input {
        margin-right: 4px;
    }

/* Keep passenger dropdowns from adding the old .flow-input bottom gap */
.pax-card-body select.form-select {
    margin-bottom: 0 !important;
}

/* Optional visual hint for required wrappers */
.pax-card-body .rf-required-field .flow-field-label {
    color: #000;
}

.pax-required-legend {
    margin: 8px 0 24px;
    font-size: 12px;
    color: #777;
}

.required-marker {
    color: #d9534f;
    font-weight: 700;
}

.pax-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pax-status-pill.incomplete {
    background: #fdecea;
    color: #d9534f;
    border: 1px solid #f5c2c0;
}

.pax-status-pill.complete {
    background: #eaf7ec;
    color: #198754;
    border: 1px solid #c3e6cb;
}

@media(max-width:700px) {
    .pax-card-header {
        flex-wrap: wrap;
        min-height: 52px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .pax-status-badge {
        font-size: .68rem;
        padding: 2px 8px;
    }
}

/* ==================================================
   REVIEW & PAY STEP
   ================================================== */

.review-pay-step .flow-step-body {
    padding: 32px;
}

.review-booking-summary {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 22px 24px;
    margin-bottom: 22px;
}

.review-section-eyebrow {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #c90000;
    margin-bottom: 18px;
}

.review-summary-line,
.review-summary-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    font-size: .9rem;
    color: #666;
}

    .review-summary-line strong,
    .review-summary-total strong {
        color: #111;
        font-weight: 800;
    }

.review-summary-rule {
    border-top: 2px solid #111;
    margin: 22px 0 16px;
}

.review-summary-total span {
    color: #111;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.review-policy-box {
    border-radius: 4px;
    padding: 16px 18px;
    margin-bottom: 22px;
    font-size: .875rem;
    line-height: 1.7;
}

.review-policy-cancel {
    border: 1px solid #c90000;
    background: #fff;
    color: #555;
}

.review-policy-deposit {
    border: 1px solid #d8b12a;
    background: #fffaf0;
    color: #6a5400;
}

.review-policy-title {
    color: #9b7a00;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 8px;
}

.review-pay-card {
    margin-bottom: 24px;
}

.review-card-title-row {
    background: #888;
    color: #fff;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.review-card-title {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 700;
}

.review-card-remove {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    padding: 0 4px;
}

    .review-card-remove:hover {
        color: #fff;
        text-decoration: none;
        opacity: .8;
    }

.stripe-card-element-placeholder {
    min-height: 42px;
    border: 1px dashed #ced4da;
    border-radius: .375rem;
    background: #fff;
    color: #999;
    display: flex;
    align-items: center;
    padding: 0 14px;
    font-size: .875rem;
}

.review-billing-label {
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #555;
    margin: 18px 0 10px;
}

.review-use-mailing-btn {
    display: inline-block;
    border: 1px solid #c90000;
    color: #c90000;
    background: #fff;
    text-decoration: none;
    border-radius: 4px;
    padding: 8px 16px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 16px;
}

    .review-use-mailing-btn:hover {
        background: #c90000;
        color: #fff;
        text-decoration: none;
    }

.review-add-card-btn {
    display: inline-block;
    border: 1px dashed #ddd;
    color: #777;
    background: #fff;
    text-decoration: none;
    border-radius: 4px;
    padding: 12px 20px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    margin: 4px 0 26px;
}

    .review-add-card-btn:hover {
        color: #111;
        border-color: #aaa;
        text-decoration: none;
    }

@media(max-width:700px) {
    .review-pay-step .flow-step-body {
        padding: 24px 18px;
    }

    .review-summary-line,
    .review-summary-total {
        align-items: flex-start;
    }
}

/* ==================================================
   ADDITIONAL SELECTIONS STEP
   ================================================== */

.additional-step .flow-step-body {
    padding: 32px;
}

.additional-section {
    margin-bottom: 34px;
}

.additional-section-help {
    font-size: .85rem;
    color: #666;
    line-height: 1.65;
    margin: 0 0 12px;
}

.additional-line-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    column-gap: 14px;
    row-gap: 8px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #d7d7d7;
}

.additional-line-row-selected {
    /* No background - radio color alone indicates selection. */
}

.additional-line-row-soldout {
    color: #8a8a8a;
}

/* Main item text should look disabled/gray */
.additional-line-row-soldout .additional-name,
.additional-line-row-soldout .additional-subtitle,
.additional-line-row-soldout .additional-price,
.additional-line-row-soldout .additional-description,
.additional-line-row-soldout .additional-required,
.additional-line-row-soldout label {
    color: #8a8a8a !important;
}

/* Sold-out / inventory message stays red */
.additional-line-row-soldout .additional-inventory,
.additional-line-row-soldout .additional-inventory * {
    color: #c62828 !important;
    font-weight: 700;
}

.additional-row-control {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.additional-row-info {
    min-width: 0;
}

.additional-name-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.additional-name {
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #111;
}

.additional-subtitle {
    font-size: .76rem;
    color: #777;
    margin-top: 4px;
}

.additional-row-price-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    white-space: nowrap;
}

.additional-price {
    font-size: .85rem;
    color: #111;
    font-weight: 700;
}

.additional-arrow {
    width: 32px;
    height: 32px;
    border: 2px solid #111;
    border-radius: 50%;
    color: #111;
    background: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    box-sizing: border-box;
    transition: transform .15s ease;
}

    /* Rotate instead of swapping glyphs (▾/▴ metrics differ, causing the stretch). */
    .additional-arrow-open {
        transform: rotate(180deg);
    }

    /* Hides the arrow for a selected ticket (always-open, so it'd do nothing). */
    .additional-arrow-hidden {
        display: none;
    }

    .additional-arrow:hover {
        color: #fff;
        background: #111;
        border-color: #111;
        text-decoration: none;
    }

    .additional-arrow:focus {
        outline: 2px solid rgba(0, 0, 0, .25);
        outline-offset: 2px;
    }

.additional-description {
    grid-column: 2 / -1;
    font-size: .85rem;
    color: #666;
    line-height: 1.7;
    padding: 4px 0 8px;
}

.additional-inventory {
    grid-column: 2 / -1;
    font-size: 11px;
    color: #c90000;
    font-weight: 700;
}

.additional-qty {
    width: 68px;
    height: 34px;
}

.additional-required {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: #fff3cd;
    color: #8a6d00;
    border: 1px solid #ffe08a;
}

.additional-empty {
    border: 1px dashed #ccc;
    background: #fff;
    color: #777;
    padding: 18px;
    font-size: .875rem;
    margin-bottom: 28px;
}

.additional-ticket-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.additional-ticket-radio input[type="radio"],
.additional-ticket-radio-input {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: var(--additional-ticket-radio-color, var(--book-title-bg, #111)) !important;
}

@media(max-width:700px) {
    .additional-line-row {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .additional-row-price-toggle {
        grid-column: 2 / -1;
        justify-content: flex-start;
    }

    .additional-description,
    .additional-inventory {
        grid-column: 1 / -1;
    }
}

/* ==================================================
   FLOW NAVIGATION OVERLAY
   Shows only during real step navigation Ajax updates.
   ================================================== */

.rf-flow-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(255, 255, 255, .92);
    align-items: center;
    justify-content: center;
    pointer-events: all;
}

body.rf-flow-nav-busy .rf-flow-nav-overlay {
    display: flex;
}

.rf-flow-nav-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 12px 34px rgba(0, 0, 0, .14);
}

.rf-flow-nav-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #ddd;
    border-top-color: #111;
    border-radius: 50%;
    animation: rfFlowSpin .75s linear infinite;
}

.rf-flow-nav-text {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #222;
}

@keyframes rfFlowSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================================
   Stripe Card Element - Review Pay
   ============================================================ */

/*.stripe-card-element-placeholder {
    min-height: 46px;
    padding: 13px 14px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: #ffffff;
    box-sizing: border-box;
}

.stripe-card-errors {
    margin-top: 8px;
    color: #dc3545;
    font-size: 13px;
}*/

/* ==================================================
   PACKAGE FLOW � HOTEL INFORMATION
   ================================================== */
.hotel-information-body {
    padding: 0;
}

.hotel-information-errors {
    margin: 20px 22px 0;
    padding: 12px 15px;
    border: 1px solid #dba8a8;
    border-radius: 3px;
    background: #fff4f4;
    color: #a40000;
    font-size: .8rem;
    line-height: 1.5;
}

.hotel-step-section {
    padding: 28px 22px;
    border-bottom: 1px solid #e5e5e5;
}

/* Hotel cards need slightly more usable width than
   occupancy and room-type sections. */
.hotel-choice-section {
    padding-right: 8px;
    padding-left: 8px;
}

/* Hotel-selection instruction only. */
    .hotel-choice-section .hotel-step-heading,
    .hotel-option-heading {
        margin: 0 0 12px;
        color: #000;
        font-size: .75rem;
        font-weight: 500;
        letter-spacing: .22em;
        line-height: 1.4;
        text-align: left;
        text-transform: uppercase;
    }

.hotel-option-heading p {
    margin: 0;
}

.hotel-option-help {
    margin: -4px 0 18px;
    color: #000;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1.5;
    text-align: left;
}

.hotel-empty-message {
    padding: 22px;
    border: 1px solid #e1e1e1;
    background: #fafafa;
    color: #777;
    font-size: .82rem;
    text-align: center;
}

.hotel-room-title {
    margin-top: 0;
}

.hotel-room-subheading {
    margin: 0 0 12px;
    color: #333;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
}

.hotel-occupancy-section {
    border-bottom-style: dotted;
}

/* ------------------------------
   Hotel cards
   ------------------------------ */

.hotel-choice-card {
    display: grid;
    grid-template-columns: minmax(0, 68%) minmax(0, 32%);
    min-height: 308px;
    margin-bottom: 22px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

    .hotel-choice-card:last-child {
        margin-bottom: 0;
    }

    .hotel-choice-card:hover {
        border-color: #bcbcbc;
        box-shadow: 0 7px 22px rgba(0, 0, 0, .08);
    }

    .hotel-choice-card.is-selected {
        border-color: var(--book-title-bg, #111);
        box-shadow: 0 0 0 2px var(--book-title-bg, #111), 0 8px 24px rgba(0, 0, 0, .10);
    }

    .hotel-choice-card.is-sold-out {
        background: #fafafa;
    }

.hotel-choice-media {
    position: relative;
    min-height: 308px;
    overflow: hidden;
    background: #222;
}

.hotel-media-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient( 145deg, #343434 0%, #1e1e1e 55%, #111 100%);
    color: rgba(255, 255, 255, .65);
}

    .hotel-media-placeholder::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( 180deg, transparent 42%, rgba(0, 0, 0, .82) 100%);
    }

.hotel-media-placeholder-icon,
.hotel-media-placeholder-text {
    position: relative;
    z-index: 1;
}

.hotel-media-placeholder-icon {
    font-size: 2rem;
    line-height: 1;
}

.hotel-media-placeholder-text {
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .18em;
}

.hotel-choice-name {
    position: absolute;
    z-index: 8;
    top: 16px;
    right: auto;
    bottom: auto;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 8px 11px;
    border-radius: 3px;
    background: rgba(0, 0, 0, .56);
    color: #fff;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    text-shadow: 0 2px 7px rgba(0, 0, 0, .75);
}

.hotel-sold-out-badge {
    position: absolute;
    z-index: 3;
    top: 14px;
    right: 14px;
    padding: 6px 9px;
    border-radius: 2px;
    background: rgba(0, 0, 0, .82);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.hotel-choice-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px 20px;
    text-align: center;
}

.hotel-choice-price-html {
    width: 100%;
    margin-bottom: 22px;
    color: #333;
    font-size: .88rem;
    line-height: 1.65;
    text-align: center;
}

    .hotel-choice-price-html b,
    .hotel-choice-price-html strong {
        color: #111;
        font-weight: 700;
    }

/* Size/colors come from PackageContentItem CSS. */
.hotel-select-button {
    width: 100%;
    text-decoration: none;
}

    .hotel-select-button:hover,
    .hotel-select-button:focus {
        text-decoration: none;
    }

/* ------------------------------
   Occupancy
   ------------------------------ */

.hotel-occupancy-grid {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hotel-occupancy-option {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    min-height: 72px;
    padding: 14px 18px;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    background: #fff;
    color: #222;
    box-sizing: border-box;
    text-align: left;
    text-decoration: none;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
    cursor: pointer;
}

    .hotel-occupancy-option:hover,
    .hotel-occupancy-option:focus {
        border-color: #8f8f8f;
        color: #111;
        text-decoration: none;
    }

    .hotel-occupancy-option.is-selected {
        border-color: #d7d7d7;
        background: #fff;
        color: #222;
        box-shadow: none;
    }

.hotel-occupancy-radio {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    justify-self: center;
    border: 1px solid #999;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.hotel-occupancy-option.is-selected .hotel-occupancy-radio {
    border-color: var(--hotel-proceed-bg, var(--book-title-bg, #111));
}

    .hotel-occupancy-option.is-selected .hotel-occupancy-radio::after {
        content: "";
        position: absolute;
        inset: 3px;
        border-radius: 50%;
        background: var(--hotel-proceed-bg, var(--book-title-bg, #111));
    }

.hotel-occupancy-text {
    display: block;
    min-width: 0;
}

.hotel-occupancy-name {
    display: block;
    margin-bottom: 3px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.hotel-occupancy-guests {
    display: block;
    min-height: 0;
    margin-bottom: 0;
    font-size: .75rem;
    line-height: 1.35;
    color: #888;
    opacity: 1;
}

.hotel-occupancy-price-wrap {
    display: block;
    min-width: 112px;
    text-align: right;
}

.hotel-occupancy-price {
    display: block;
    margin-top: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.15;
}

.hotel-occupancy-per-person {
    display: block;
    margin-top: 2px;
    font-size: .68rem;
    color: #888;
    opacity: 1;
}

.hotel-occupancy-savings {
    display: block;
    margin-top: 4px;
    color: #2f7d32;
    font-size: .68rem;
    line-height: 1.2;
}

.hotel-occupancy-radio-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ------------------------------
   Room types
   ------------------------------ */

.hotel-room-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.hotel-room-type-option {
    min-width: 0;
    box-sizing: border-box;
    user-select: none;
}

.hotel-room-type-option.is-disabled {
    opacity: .5;
    cursor: not-allowed;
}

.hotel-room-type-name {
    display: block;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

/* ------------------------------
   Footer
   ------------------------------ */

.hotel-step-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-top: 1px solid #e5e5e5;
    background: #fafafa;
}

.hotel-step-footer .flow-back-btn {
    margin-bottom: 0;
}

.hotel-step-next-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-left: auto;
    text-decoration: none;
}


.hotel-occupancy-option {
    cursor: pointer;
}

.hotel-occupancy-radio-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ------------------------------
   Responsive
   ------------------------------ */

@media(max-width: 800px) {
    .hotel-choice-section {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hotel-choice-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hotel-choice-media {
        min-height: 255px;
    }

    .hotel-choice-details {
        padding: 24px;
    }
}

@media(max-width: 500px) {
    .hotel-step-section,
    .hotel-choice-section {
        padding: 24px 15px;
    }

    .hotel-information-errors {
        margin-right: 15px;
        margin-left: 15px;
    }

    .hotel-choice-media {
        min-height: 225px;
    }

    .hotel-choice-details {
        padding: 21px 18px;
    }

    .hotel-room-type-grid {
        grid-template-columns: 1fr;
    }

    /* Keep the 3-column layout (narrower) so price stays right, not underneath. */
    .hotel-occupancy-option {
        grid-template-columns: 30px minmax(0, 1fr) auto;
        column-gap: 10px;
        padding: 12px 14px;
        min-height: 0;
    }

    .hotel-occupancy-price-wrap {
        min-width: 84px;
    }

    .hotel-step-footer {
        padding: 17px 15px;
    }

    .hotel-step-next-button {
        width: 100%;
    }
}

/* ------------------------------
   Hotel children / upgrades
   Reuses hotel occupancy rectangle styles
   ------------------------------ */

.hotel-child-grid,
.hotel-upgrade-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.hotel-upgrade-selector {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hotel-upgrade-input {
    width: 20px;
    height: 20px;
    accent-color: var(--hotel-proceed-bg, var(--book-title-bg, #111));
    cursor: pointer;
}

/* =========================================================
   EXTRA NIGHTS
   ========================================================= */

.hotel-extra-night-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.hotel-extra-night-option {
    min-width: 0;
}

.hotel-extra-night-option .hotel-option-help {
    margin-top: 4px;
    margin-bottom: 4px;
}

.hotel-extra-night-option .hotel-room-type-dropdown-wrap {
    margin-top: 0;
}

@media (max-width: 767px) {
    .hotel-extra-night-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Toast notifications (shared, site-wide — see Scripts/toast.js) ---- */
#rfToast {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    font-size: 1.1rem;
    --bs-toast-max-width: 550px; /* Bootstrap sets width, not max-width, from this var */
    width: 550px;
    max-width: calc(100vw - 32px);
}
#rfToastMessage {
    white-space: pre-line;
}
.rf-toast-error {
    background: #dc3545;
}
.rf-toast-success {
    background: #27852b;
}
.rf-toast-warning {
    background: #ffc107;
}
.rf-toast-info {
    background: #0dcaf0;
}