.detail-page-body {
    background:
        radial-gradient(circle at top, rgba(240, 200, 137, 0.22), transparent 24%),
        linear-gradient(180deg, #f8f1e8 0%, #f5eee3 100%);
}

.detail-shell {
    min-height: 100vh;
    position: relative;
}

.detail-header {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 8;
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0;
    padding: 1.25rem 0;
    transform: translateX(-50%);
}

.detail-page {
    padding-bottom: 6rem;
}

.detail-hero {
    margin-top: 0;
    position: relative;
    min-height: clamp(720px, 92vh, 980px);
    display: flex;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
    color: #fff7ef;
}

.detail-hero-backdrop,
.detail-hero-overlay {
    position: absolute;
    inset: 0;
}

.detail-hero-backdrop {
    background-color: #091718;
    background-position: center;
    background-size: cover;
}

.detail-hero-overlay {
    background:
        linear-gradient(180deg, rgba(4, 14, 16, 0.34) 0%, rgba(4, 14, 16, 0.12) 18%, rgba(4, 14, 16, 0.22) 44%, rgba(4, 14, 16, 0.78) 100%),
        linear-gradient(115deg, rgba(4, 14, 16, 0.6) 0%, rgba(4, 14, 16, 0.18) 54%, rgba(193, 96, 43, 0.16) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 2.4rem), var(--max-width));
    margin: 0 auto;
    padding: 8.8rem 0 4.25rem;
    display: grid;
    gap: 2rem;
}

.detail-hero-copy {
    max-width: 40rem;
    display: grid;
    gap: 1.05rem;
}

.detail-hero .eyebrow {
    color: var(--color-gold);
    margin-bottom: 0;
}

.detail-hero h1 {
    max-width: 11ch;
    color: #fff7ef;
    font-size: clamp(3rem, 7vw, 6rem);
    text-shadow: 0 18px 44px rgba(3, 12, 13, 0.5);
}

.detail-subtitle {
    max-width: 36rem;
    margin-top: 0;
    color: rgba(255, 244, 232, 0.92);
    font-size: 1.05rem;
    line-height: 1.72;
    text-shadow: 0 10px 26px rgba(3, 12, 13, 0.34);
}

.detail-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 0.4rem;
}

.detail-hero .primary-button {
    box-shadow: 0 24px 54px rgba(202, 92, 37, 0.34);
}

.detail-hero .secondary-button {
    background: rgba(255, 251, 245, 0.96);
}

.detail-header .brand,
.detail-header .site-nav a {
    text-shadow: 0 8px 24px rgba(3, 12, 13, 0.34);
}

.detail-header .site-nav {
    color: rgba(255, 247, 237, 0.92);
}

.detail-header .header-search-button,
.detail-header .header-account-button,
.detail-header .auth-menu-trigger {
    background: rgba(8, 24, 26, 0.34);
    border-color: rgba(255, 255, 255, 0.16);
}

.detail-price-chip {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-pill);
    background: rgba(8, 24, 26, 0.62);
    border: 1px solid rgba(255, 248, 241, 0.14);
    color: #fff7ef;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(3, 12, 13, 0.22);
}

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

.detail-meta-card,
.snapshot-card,
.journey-route-card,
.roadmap-timeline-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    box-shadow: var(--shadow-strong);
}

.detail-meta-card {
    padding: 1.35rem;
    background: rgba(8, 24, 26, 0.56);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 54px rgba(3, 12, 13, 0.22);
}

.detail-meta-card span {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(255, 244, 232, 0.62);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-meta-card strong {
    color: #fffaf3;
    font-size: 1.06rem;
}

.detail-section {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
    padding-top: var(--section-space);
}

.detail-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.journey-route-card {
    padding: 1.5rem;
    background: rgba(255, 253, 248, 0.82);
    border: 1px solid rgba(24, 50, 52, 0.08);
    box-shadow: var(--shadow-soft);
}

.journey-route-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: center;
    min-height: 320px;
}

.journey-route-track::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 46%;
    height: 150px;
    border: 2px dashed rgba(15, 106, 105, 0.22);
    border-color: rgba(15, 106, 105, 0.22) transparent rgba(229, 123, 60, 0.16) transparent;
    border-radius: 999px;
    transform: rotate(-4deg);
}

.journey-route-stop {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
}

.journey-route-stop:nth-child(even) {
    align-self: end;
}

.journey-route-stop:nth-child(odd) {
    align-self: start;
}

.journey-route-marker {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(12, 79, 84, 0.94), rgba(229, 123, 60, 0.94));
    color: #fff8ef;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 18px 38px rgba(12, 79, 84, 0.2);
}

.journey-route-label {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
    max-width: 13rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 50, 52, 0.08);
    text-align: center;
}

.journey-route-label strong {
    font-size: 1rem;
}

.journey-route-label span {
    color: var(--color-muted);
    font-size: 0.84rem;
}

.journey-route-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.journey-route-chip {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.5rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 106, 105, 0.08);
    color: var(--color-teal-deep);
    font-size: 0.82rem;
    font-weight: 800;
}

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

.snapshot-card {
    padding: 1.5rem;
    background: rgba(255, 253, 248, 0.88);
    border: 1px solid rgba(24, 50, 52, 0.08);
    box-shadow: var(--shadow-soft);
}

.snapshot-card h3 {
    margin: 0 0 0.8rem;
}

.snapshot-card p,
.detail-list {
    color: var(--color-muted);
    line-height: 1.75;
}

.detail-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding-left: 1rem;
}

.roadmap-empty {
    padding: 1.2rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.88);
    border: 1px solid rgba(24, 50, 52, 0.08);
    color: var(--color-muted);
}

.roadmap-desktop {
    position: relative;
    display: grid;
    gap: 1.8rem;
}

.roadmap-desktop::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    bottom: 1.2rem;
    left: calc(50% - 1px);
    width: 2px;
    background: linear-gradient(180deg, rgba(15, 106, 105, 0.2), rgba(229, 123, 60, 0.18));
}

.timeline-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 112px 1fr;
    gap: 1.5rem;
    align-items: center;
}

.timeline-step.timeline-step-right .timeline-card {
    grid-column: 3;
}

.timeline-step.timeline-step-left .timeline-card {
    grid-column: 1;
}

.timeline-card {
    position: relative;
    padding: 1.45rem;
    border-radius: 28px;
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(24, 50, 52, 0.08);
    box-shadow: var(--shadow-soft);
}

.timeline-card::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 58px;
    height: 54px;
    border: 2px solid rgba(15, 106, 105, 0.14);
    border-top: 0;
    border-radius: 0 0 44px 44px;
    transform: translateY(-50%);
}

.timeline-step-left .timeline-card::after {
    right: -64px;
    border-left: 0;
}

.timeline-step-right .timeline-card::after {
    left: -64px;
    border-right: 0;
}

.timeline-marker {
    position: relative;
    z-index: 1;
    width: 112px;
    display: grid;
    justify-items: center;
    gap: 0.55rem;
}

.timeline-marker-dot {
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(12, 79, 84, 0.98), rgba(229, 123, 60, 0.92));
    color: #fff8ef;
    box-shadow: 0 20px 44px rgba(12, 79, 84, 0.22);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.timeline-marker-label {
    color: var(--color-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
}

.roadmap-day-tag {
    display: inline-flex;
    padding: 0.42rem 0.8rem;
    border-radius: var(--radius-pill);
    background: rgba(229, 123, 60, 0.12);
    color: var(--color-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.roadmap-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.roadmap-card-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.roadmap-date-chip {
    display: inline-flex;
    margin-left: 0.55rem;
    padding: 0.38rem 0.72rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 106, 105, 0.08);
    color: var(--color-teal-deep);
    font-size: 0.78rem;
    font-weight: 800;
}

.roadmap-node-image {
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
}

.roadmap-node-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1.45rem;
}

.roadmap-location {
    margin: 0 0 0.75rem;
    color: var(--color-accent-strong);
    font-weight: 800;
}

.roadmap-copy {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.8;
}

.departure-calendar-shell {
    padding: 1.4rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(240, 200, 137, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(8, 32, 34, 0.98), rgba(12, 79, 84, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(7, 20, 21, 0.16);
}

.departure-calendar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.departure-calendar-card,
.departure-calendar-empty {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    color: #fff9f2;
}

.departure-calendar-card {
    display: grid;
    gap: 0.8rem;
    padding: 1.1rem;
}

.departure-calendar-card.is-disabled {
    opacity: 0.56;
}

.departure-calendar-topline,
.departure-calendar-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.departure-calendar-date {
    display: block;
    font-size: 1rem;
    font-weight: 800;
}

.departure-calendar-return {
    margin: 0.24rem 0 0;
    color: rgba(255, 247, 237, 0.76);
    line-height: 1.6;
}

.departure-calendar-meta {
    flex-wrap: wrap;
    color: rgba(255, 247, 237, 0.76);
    font-size: 0.8rem;
    font-weight: 700;
}

.departure-calendar-price {
    font-size: 1.3rem;
    font-weight: 800;
}

.departure-calendar-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.36rem 0.68rem;
    border-radius: var(--radius-pill);
    background: rgba(240, 200, 137, 0.18);
    color: #ffdba5;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.departure-calendar-empty {
    padding: 1.25rem;
    text-align: center;
}

.roadmap-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.1rem;
}

.roadmap-fact-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(15, 106, 105, 0.05);
    border: 1px solid rgba(24, 50, 52, 0.08);
}

.roadmap-fact-card strong {
    color: var(--color-ink);
    font-size: 1rem;
}

.roadmap-fact-card-wide {
    grid-column: 1 / -1;
}

.roadmap-fact-label {
    color: var(--color-accent-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.roadmap-fact-detail {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.roadmap-meal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.roadmap-meal-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.4rem 0.72rem;
    border-radius: var(--radius-pill);
    background: rgba(229, 123, 60, 0.12);
    color: var(--color-accent-strong);
    font-size: 0.8rem;
    font-weight: 800;
}

.roadmap-empty-copy {
    color: var(--color-muted);
    font-size: 0.88rem;
}

.roadmap-highlights-block,
.roadmap-description-block {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.roadmap-highlights-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-ink-soft);
}

.roadmap-highlights-list li {
    line-height: 1.6;
}

.roadmap-description {
    color: var(--color-muted);
    line-height: 1.8;
}

.roadmap-description > *:first-child {
    margin-top: 0;
}

.roadmap-description > *:last-child {
    margin-bottom: 0;
}

.roadmap-transport-chip {
    display: inline-flex;
    padding: 0.46rem 0.82rem;
    border-radius: var(--radius-pill);
    background: rgba(15, 106, 105, 0.08);
    color: var(--color-teal-deep);
    font-size: 0.82rem;
    font-weight: 800;
}

.roadmap-mobile {
    display: none;
}

.roadmap-mobile-step {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 1rem;
}

.roadmap-mobile-step::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: -1.2rem;
    left: 30px;
    width: 2px;
    background: linear-gradient(180deg, rgba(15, 106, 105, 0.24), rgba(229, 123, 60, 0.18));
}

.roadmap-mobile-step:last-child::before {
    display: none;
}

.roadmap-mobile-marker {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(12, 79, 84, 0.96), rgba(229, 123, 60, 0.92));
    color: #fff8ef;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.roadmap-mobile-card {
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(24, 50, 52, 0.08);
    box-shadow: var(--shadow-soft);
}

.detail-hero.is-loading .detail-hero-backdrop {
    background:
        radial-gradient(circle at 18% 22%, rgba(193, 96, 43, 0.18), transparent 24%),
        linear-gradient(135deg, #0b191a 0%, #123033 52%, #091718 100%);
}

@media (max-width: 980px) {
    .detail-meta-grid,
    .snapshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .journey-route-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-height: 420px;
    }

    .roadmap-desktop {
        display: none;
    }

    .roadmap-mobile {
        display: grid;
        gap: 1rem;
    }

    .roadmap-fact-grid {
        grid-template-columns: 1fr;
    }

    .departure-calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .detail-header {
        left: 50%;
        width: min(calc(100% - 1rem), var(--max-width));
        padding: 1rem 0 0.35rem;
    }

    .detail-page {
        padding-bottom: 4rem;
    }

    .detail-hero {
        min-height: auto;
        border-radius: 0 0 30px 30px;
    }

    .detail-hero-content,
    .detail-section {
        width: min(calc(100% - 1rem), var(--max-width));
    }

    .detail-hero-content {
        padding: 8rem 0 2.6rem;
    }

    .detail-section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-meta-grid,
    .snapshot-grid,
    .journey-route-track {
        grid-template-columns: 1fr;
    }

    .detail-price-chip {
        width: 100%;
        justify-content: center;
    }

    .journey-route-track {
        min-height: auto;
    }

    .journey-route-track::before {
        left: 33px;
        right: auto;
        top: 12px;
        bottom: 12px;
        width: 2px;
        height: auto;
        border: 0;
        background: linear-gradient(180deg, rgba(15, 106, 105, 0.24), rgba(229, 123, 60, 0.18));
        transform: none;
    }

    .journey-route-stop,
    .journey-route-stop:nth-child(even),
    .journey-route-stop:nth-child(odd) {
        justify-items: start;
        align-self: auto;
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 1rem;
    }

    .journey-route-label {
        text-align: left;
    }

    .roadmap-card-header {
        flex-direction: column;
    }

    .departure-calendar-grid {
        grid-template-columns: 1fr;
    }
}
