.container {
    width: min(var(--container), calc(100% - 4px));
    margin-inline: auto;
}

.breadcrumbs {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 900;
    margin-top: 14px;
}

@media (max-width: 640px) {

    .td-breadcrumb,
    .breadcrumbs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        padding: 10px 0 12px;
        margin-bottom: 8px;
        white-space: nowrap;
        font-size: 13px;
    }
}
html {
    scroll-padding-top: 130px;
}



.td-tabs {
    position: sticky;
    top: 91px;
    z-index: 80;
    background: #e8ddc4;
    border: 1px solid var(--line);
    border-radius: 0;
    box-shadow: var(--soft);
    padding: 10px;
    display: flex;
    gap: 8px;
    overflow: auto;
    margin-bottom: 0;
    padding-bottom: 5px;
    padding-top: 4px;
}

.td-tabs a {
	white-space: nowrap;
	padding: 3px 16px;
	border-radius: 999px;
	font-weight: 900;
	color: var(--navy)
}

.td-tabs a:hover {
	background: #fff
}










/* Tour Sales Details Page - extends main.css */
.tour-hero {
    position: relative;
    min-height: 760px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--black)
}

.tour-hero picture,
.tour-hero picture img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%
}

.tour-hero img {
    object-fit: cover;
    filter: saturate(.84) contrast(1.05)
}

.tour-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .84), rgba(0, 0, 0, .48) 48%, rgba(0, 0, 0, .12)), linear-gradient(0deg, rgba(0, 0, 0, .68), transparent 58%)
}

.tour-hero-inner {
    position: relative;
    z-index: 2;
    padding: 142px 0 86px
}

.sales-hero-inner {
    max-width: 1180px
}

.tour-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 28px;
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62)
}

.tour-breadcrumb a {
    color: rgba(255, 255, 255, .88)
}

.tour-hero h1 {
    max-width: 940px;
    margin: 18px 0 22px;
    font-family: var(--serif);
    font-size: clamp(58px, 7.6vw, 108px);
    line-height: .98;
    font-weight: 600;
    letter-spacing: -.078em
}

.tour-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 20px
}

.tour-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px
}

.tour-hero-actions .btn-clear {
    background: rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px)
}

.tour-price-strip {
    display: grid;
    grid-template-columns: 1.1fr .7fr 1.35fr .9fr;
    gap: 1px;
    max-width: 100%;
    margin-top: 16px;
    background: rgba(255, 255, 255, .22);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(14px)
}

.tour-price-strip>div {
    padding: 18px 20px;
    background: rgba(246, 244, 239, .9);
    color: var(--black)
}

.tour-price-strip span {
    display: block;
    margin-bottom: 7px;
    color: var(--gold);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.tour-price-strip strong {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -.04em
}

.price-pill strong {
    font-size: 38px
}

.price-pill small {
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 800;
    color: #555;
    margin-left: 4px
}

.tour-sales-intro {
    padding: clamp(72px, 9vw, 120px) 0;
    background: var(--offwhite)
}

.sales-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 64px;
    align-items: center
}

.sales-intro-copy h2,
.tour-section-head h2,
.tour-block h2,
.tour-book-card h2,
.tour-cta-inner h2 {
    margin: 6px 0 13px;
    color: var(--soft-black);
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1.08
}

.sales-intro-copy h2 {
    font-size: clamp(42px, 5.5vw, 70px)
}

.sales-intro-copy p,
.tour-section-head p {
    max-width: 760px;
    margin: 0;
    color: #555;
    font-size: 18px
}

.sales-actions-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .07)
}

.sales-actions-card h3 {
    font-family: var(--serif);
    font-size: 36px;
    line-height: 1.05;
    letter-spacing: -.045em;
    margin: 12px 0
}

.sales-actions-card p {
    color: #555;
    margin: 0 0 20px
}

.sales-actions-stack {
    display: grid;
    gap: 12px
}

.btn-dark {
    background: var(--black);
    color: var(--white)
}

.btn-outline-dark {
    border-color: var(--black);
    color: var(--black);
    background: transparent
}

.btn-filter {
    background: var(--black);
    color: var(--white)
}

/* 
.tour-gallery-section {
    padding: clamp(72px,10vw,128px) 0;
    background: var(--white)
} */

.tour-section-head.compact {
    max-width: 100%;
    margin-bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.tour-section-head h2,
.tour-block h2 {
    font-size: clamp(40px, 5vw, 64px)
}

.tour-gallery {
    display: grid;
    grid-template-columns: 1.25fr .75fr .75fr;
    grid-auto-rows: 250px;
    gap: 14px
}

.tour-gallery a {
    position: relative;
    display: block;
    overflow: hidden;
    background: #ddd
}

.tour-gallery a:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .24), transparent 55%);
    opacity: .75;
    pointer-events: none
}

.tour-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.86) contrast(1.03);
    transition: .7s ease
}

.tour-gallery a:hover img {
    transform: scale(1.055)
}

.gallery-main {
    grid-row: span 2
}

.gallery-main span {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 22px;
    padding: 11px 14px;
    background: rgba(246, 244, 239, .9);
    color: var(--black);
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.tour-content {
    padding-top: 24px;
    background: var(--offwhite)
}

.tour-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 48px;
    align-items: start
}

.tour-main-content {
    display: grid;
    gap: 28px
}

.tour-block {
    padding: clamp(30px, 4vw, 44px);
    background: rgb(255 255 255 / 48%);
    border: 1px solid #ffffff;
    padding-top: 18px;
}

.tour-block-head h2 {
    margin-bottom: 11px;
}

.tour-block>p {
    font-size: 17px;
    color: #555;
    margin: 0 0 16px
}

.inline-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 0;
    margin-bottom: 0;
}

.text-link {
    white-space: nowrap
}

/* Itinerary Controls */
.itinerary-controls {
    display: flex;
    margin-bottom: 18px;
    padding-top: 0;
    justify-content: space-between;
    align-items: center;
}

.itinerary-control-btn {
    padding: 11px 20px;
    background: transparent;
    border: 1px solid #000;
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--deep-navy);
}

.itinerary-control-btn:hover {
    background: var(--deep-navy);
    border-color: var(--deep-navy);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.25);
}

.itinerary-control-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(201, 169, 97, 0.2);
}

.itinerary-accordion {
    display: grid;
    /* border: 1px solid #ccc; */
    gap: 7px;
}

.itinerary-accordion details {
    border: 1px solid var(--warm-sand);
}

.itinerary-accordion details:first-child {
    border-top: 1px solid var(--warm-sand);
    padding-left: 10px;
}

.itinerary-accordion summary {
    cursor: pointer;
    list-style: none;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 28px;
    gap: 0;
    align-items: center;
    padding: 26px 22px;
}

.itinerary-accordion summary::-webkit-details-marker {
    display: none
}

.itinerary-accordion summary:after {
    content: '+';
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    font-family: var(--ui);
    font-weight: 900;
    color: var(--gold)
}

.itinerary-accordion details[open] summary:after {
    content: '−'
}

.itinerary-accordion summary span {
    color: var(--gold);
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase
}

.itinerary-accordion summary strong {
    display: block;
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 20px);
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.04em;
    color: var(--soft-black)
}

.itinerary-body {
    padding: 18px 26px 15px 27px;
    border-top: 1px solid var(--warm-sand);
}

.itinerary-body p {
    margin: 0 0 12px;
    color: #555;
    font-size: 17px;
    line-height: 1.72
}

.include-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.include-grid>div {
    padding: 28px;
    background: var(--offwhite);
    border: 1px solid rgba(24, 24, 24, .08)
}

.include-grid h3,
.tour-highlights-list h3 {
    margin: 0 0 16px;
    display: block;
    color: var(--soft-black);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.08;
    font-weight: 600;
    letter-spacing: -.04em
}

.include-grid ul,
.tour-highlights-list ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.include-grid li,
.tour-highlights-list li {
    position: relative;
    padding: 12px 0 12px 24px;
    border-top: 1px solid rgba(24, 24, 24, .09);
    color: #555;
    font-size: 15.5px
}

.include-grid li:before,
.tour-highlights-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-family: var(--ui);
    font-weight: 900
}

.exclude-list li:before {
    content: '×';
    color: #9b1f55
}

.tour-highlights-list {
    margin-top: 18px;
    padding: 28px;
    background: var(--offwhite);
    border: 1px solid rgba(24, 24, 24, .08)
}

.tour-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 16px
}

.tour-book-card,
.sidebar-note,
.price-book-card {
    padding: 20px;
    background: #f8f5f0;
    border: 1px solid var(--line);
    padding-top: 0;
}

.price-book-card {
    box-shadow: 0 24px 70px rgba(0, 0, 0, .08)
}

.sidebar-price strong {
    font-family: var(--serif);
    font-size: 52px;
    letter-spacing: -.055em;
    line-height: 1;
    color: var(--soft-black)
}

.sidebar-price small {
    font-family: var(--ui);
    font-weight: 800;
    color: #555
}

.price-book-card p {
    color: #555;
    margin: 14px 0 20px
}

.sidebar-cta-row {
    display: grid;
    gap: 12px
}

.tour-book-card h2 {
    margin-top: 12px;
    font-size: 36px;
    text-align: center;
    margin-bottom: 24px;
}

.tour-book-card form {
    display: grid;
    gap: 1px;
    margin-top: 0;
}

.form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.form-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px
}

.tour-book-card label span {
    display: block;
    margin-bottom: 0;
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #0A2342;
}

.tour-book-card input,
.tour-book-card textarea,
.tour-book-card select {
    width: 100%;
    border: 1px solid rgba(24, 24, 24, .16);
    background: rgba(246, 244, 239, .64);
    color: var(--ink);
    padding: 14px;
    font-family: var(--ui);
    font-size: 13px;
    outline: none;
    resize: vertical;
    transition: all 0.3s ease;
}

.tour-book-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%230A2342' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.tour-book-card input {
    height: 48px
}

.tour-book-card input:focus,
.tour-book-card textarea:focus,
.tour-book-card select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.14);
    background: var(--white);
}

/* Guest Counter Styles */
.guest-counter-group {
    display: grid;
    gap: 5px;
    padding: 3px 0;
    border-top: 1px solid rgba(24, 24, 24, .09);
    border-bottom: 1px solid rgba(24, 24, 24, .09);
    margin: 8px 0;
}

.guest-counter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.guest-label {
    display: flex;
    flex-direction: column;
}

.guest-title {
    font-family: var(--ui);
    font-size: 14px;
    font-weight: 600;
    color: #0A2342;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(246, 244, 239, .64);
    border: 1px solid rgba(24, 24, 24, .16);
    border-radius: 0;
    padding: 6px 10px;
}

.counter-btn {
    width: 32px !important;
    height: 32px;
    border: none;
    background: var(--white);
    color: #0A2342;
    font-size: 20px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.counter-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.05);
}

.counter-btn:active {
    transform: scale(0.95);
}

.counter-controls input {
    width: 50px;
    height: 36px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #0A2342;
    padding: 0;
}

.counter-controls input:focus {
    box-shadow: none;
    background: transparent;
}

.btn-submit {
    margin-top: 8px;
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 8px;
}

.tour-book-card button {
    width: 100%;
    border: 0
}

.sidebar-note {
    background: var(--black);
    color: var(--white)
}

.sidebar-note strong {
    display: block;
    color: var(--white);
    font-family: var(--serif);
    font-size: 27px;
    line-height: 1.08;
    letter-spacing: -.04em
}

.sidebar-note p {
    color: rgba(255, 255, 255, .72);
    margin: 10px 0 0
}

.sidebar-note a {
    color: var(--white);
    border-bottom: 1px solid var(--gold)
}

.tour-cta {
    padding: clamp(90px, 12vw, 160px) 0;
    background: var(--black);
    color: var(--white);
    text-align: center
}

.tour-cta-inner {
    max-width: 820px
}

.tour-cta-inner .gold-rule {
    margin-inline: auto
}

.tour-cta-inner h2 {
    color: var(--white);
    font-size: clamp(46px, 6.5vw, 86px);
    margin: 0 0 20px
}

.tour-cta-inner p {
    max-width: 560px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, .72);
    font-size: 18px
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 56px);
    background: rgba(8, 8, 8, .92);
    backdrop-filter: blur(14px)
}

.lightbox:target {
    display: flex
}

.lightbox img {
    max-width: min(1180px, 90vw);
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .5)
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 24px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--black);
    font-size: 34px;
    line-height: 1;
    z-index: 2
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: rgba(246, 244, 239, .92);
    color: var(--black);
    font-size: 48px;
    line-height: 1;
    z-index: 2
}

.lightbox-nav.prev {
    left: 24px
}

.lightbox-nav.next {
    right: 24px
}

@media(max-width: 1100px) {
    .tour-price-strip {
        grid-template-columns: 1fr 1fr
    }

    .sales-intro-grid,
    .tour-content-grid {
        grid-template-columns: 1fr
    }

    .tour-sidebar {
        position: static
    }

    .tour-gallery {
        grid-template-columns: 1fr 1fr
    }

    .gallery-main {
        grid-column: span 2
    }

    .sales-sidebar {
        grid-template-columns: 1fr 1fr
    }

    .tour-book-card {
        grid-column: span 2
    }
}

@media(max-width: 760px) {
    .tour-hero {
        min-height: 760px;
        align-items: end
    }

    .tour-hero-shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, .62), rgba(0, 0, 0, .30) 38%, rgba(0, 0, 0, .76)), linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .10))
    }

    .tour-hero-inner {
        padding: 108px 0 54px
    }

    .tour-breadcrumb {
        margin-bottom: 18px;
        font-size: 9px;
        letter-spacing: .13em
    }

    .tour-hero h1 {
        max-width: 390px;
        font-size: 48px
    }

    .tour-hero p,
    .sales-intro-copy p,
    .tour-cta-inner p {
        font-size: 16px
    }

    .tour-price-strip {
        grid-template-columns: 1fr;
        margin-top: 24px
    }

    .tour-price-strip>div {
        padding: 15px 16px
    }

    .price-pill strong {
        font-size: 34px
    }

    .tour-hero-actions .btn {
        width: 100%
    }

    .tour-sales-intro,
    .tour-gallery-section,
    .tour-content {
        padding: 64px 0
    }

    .sales-intro-grid {
        gap: 34px
    }

    .sales-intro-copy h2,
    .tour-section-head h2,
    .tour-block h2,
    .tour-cta-inner h2 {
        font-size: 42px
    }

    .sales-actions-card {
        padding: 24px
    }

    .tour-gallery {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-inline: -14px;
        padding: 0 14px 8px
    }

    .tour-gallery::-webkit-scrollbar {
        display: none
    }

    .tour-gallery a,
    .tour-gallery .gallery-main {
        flex: 0 0 84%;
        height: 380px;
        min-height: 380px;
        scroll-snap-align: center
    }

    .gallery-main span {
        left: 18px;
        bottom: 18px
    }

    .tour-content-grid {
        gap: 28px
    }

    .tour-block,
    .tour-book-card,
    .sidebar-note,
    .price-book-card {
        padding: 24px;
        overflow: hidden;
    }

    .inline-head {
        display: block
    }

    .inline-head .text-link {
        display: inline-flex;
        margin-top: 12px
    }

    .itinerary-controls {
        margin-bottom: 16px;
    }

    .itinerary-control-btn {
        width: 100%;
        padding: 13px 18px;
        font-size: 10px;
    }

    .itinerary-accordion summary {
        grid-template-columns: 1fr 28px;
        gap: 12px;
        padding: 22px 0
    }

    .itinerary-accordion summary span {
        grid-column: 1/-1
    }

    .itinerary-body {
        padding: 2px 12px 24px;
    }

    .itinerary-accordion summary strong {
        font-size: 28px
    }

    .include-grid,
    .sales-sidebar,
    .form-two {
        grid-template-columns: 1fr
    }

    .tour-book-card {
        grid-column: auto
    }

    .form-three {
        grid-template-columns: repeat(3, 1fr)
    }

    .lightbox {
        padding: 16px
    }

    .lightbox img {
        max-width: 94vw;
        max-height: 76vh
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 38px;
        top: auto;
        bottom: 24px;
        transform: none
    }

    .lightbox-nav.prev {
        left: calc(50% - 56px)
    }

    .lightbox-nav.next {
        right: calc(50% - 56px)
    }

    .lightbox-close {
        top: 16px;
        right: 16px
    }
}

@media(max-width: 430px) {
    .tour-hero h1 {
        font-size: 43px
    }

    .tour-gallery a,
    .tour-gallery .gallery-main {
        flex-basis: 88%;
        height: 320px;
        min-height: 320px
    }

    .tour-book-card h2 {
        font-size: 32px
    }

    .form-three {
        gap: 8px
    }

    .tour-book-card input,
    .tour-book-card textarea {
        padding: 12px
    }

    .sidebar-price strong {
        font-size: 46px
    }
}

/* === FINAL UX PATCH: stacked include/exclude + sticky booking sidebar === */
.tour-sidebar,
.sales-sidebar {
    position: sticky !important;
    top: 110px !important;
    align-self: start;
}

.sales-include-grid,
.include-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
}

.sales-include-grid>div,
.include-grid>div {
    width: 100%;
}

.sales-include-grid .exclude-list li:before {
    content: '×';
    color: #9b1f55;
}

.tour-content-grid {
    align-items: start;
}

.sales-sidebar {
    align-content: start;
}

/* make the booking column calmer on desktop after removing sticky */
@media(min-width: 1101px) {
    .tour-content-grid {
        grid-template-columns: minmax(0, 1fr) 380px;
        gap: 56px;
    }

    .sales-sidebar {
        display: grid;
        gap: 18px;
    }

    .price-book-card,
    .tour-book-card,
    .sidebar-note {
        box-shadow: 0 18px 50px rgba(0, 0, 0, .055);
    }
}

/* itinerary: long day text remains elegant and readable */
.itinerary-body {
    max-width: 920px;
}

.itinerary-body p {
    max-width: 760px;
}

.itinerary-accordion details[open] .itinerary-body {
    animation: itinerarySoftReveal .28s ease both;
}

@keyframes itinerarySoftReveal {
    from {
        opacity: .6;
        transform: translateY(-4px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media(max-width: 1100px) {

    .tour-sidebar,
    .sales-sidebar {
        position: static !important;
    }

    .sales-sidebar {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .price-book-card {
        order: 1;
    }

    .tour-book-card {
        order: 2;
        grid-column: span 2;
    }

    .sidebar-note {
        order: 3;
        grid-column: span 2;
    }
}

@media(max-width: 760px) {
    .sales-sidebar {
        grid-template-columns: 1fr !important;
    }

    .price-book-card,
    .tour-book-card,
    .sidebar-note {
        grid-column: auto !important;
    }

    .sales-include-grid,
    .include-grid {
        grid-template-columns: 1fr !important;
    }

    .include-grid>div,
    .tour-highlights-list {
        padding: 24px;
    }

    .include-grid li,
    .tour-highlights-list li {
        font-size: 15px;
        line-height: 1.65;
    }
}


/* Flatpickr Custom Styles */
.flatpickr-calendar {
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
    border: 1px solid rgba(24, 24, 24, .12);
}

.flatpickr-day.selected {
    background: var(--gold);
    border-color: var(--gold);
}

.flatpickr-day.selected:hover {
    background: #B89855;
    border-color: #B89855;
}

.flatpickr-day:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: rgba(201, 169, 97, 0.3);
}

.flatpickr-months .flatpickr-month {
    background: #0A2342;
    color: var(--white);
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: #0A2342;
    color: var(--white);
}

.flatpickr-weekdays {
    background: #F5EFE6;
}

.flatpickr-weekday {
    color: #0A2342;
    font-weight: 600;
}

@media (max-width: 760px) {
    .tour-section-head.compact {
        align-items: flex-end;
        flex-direction: column;
        margin-bottom: 12px;
    }

    .tour-sales-intro,
    .tour-gallery-section,
    .tour-content {
        padding: 0 0;
    }

    .tour-price-strip {
        grid-template-columns: 1fr;
        margin-top: 24px;
        margin-bottom: 12px;
    }

    .itinerary-control-btn {
        width: auto;

    }

    .itinerary-accordion summary {

        padding: 22px 11px;
    }
}

/* Fixed sticky menu */
.td-tabs {
  position: sticky;
  top: 80px;
  z-index: 80;
  background: rgba(255, 249, 241, .96);
  backdrop-filter: blur(14px);
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 18px;
  box-shadow: 0 12px 28px rgba(13, 59, 76, .08);
}

.td-tabs::-webkit-scrollbar {
  height: 0
}

.td-tabs a {
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--navy)
}

.td-tabs a:hover {
  background: #fff
}

.td-card {
  /* background: #fff; */
  border: 1px solid #e8ddc4;
  border-radius: 0;
  /* box-shadow: 0 18px 50px rgba(0, 0, 0, .055); */
  padding: 26px;
  margin-bottom: 18px;
  scroll-margin-top: 180px;
  margin-top: 21px;
  overflow: hidden;
}

.td-card h2 {
  font-family: var(--heading);
  color: var(--navy);
  font-size: 30px;
  margin: 0 0 12px
}

.td-card p {
  color: var(--muted)
}

.td-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px
}

.td-check-grid span {
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  font-weight: 800
}

.td-check-grid span:before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
  margin-right: 8px
}
.table-responsive {
  width: 100%;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  display: block;
}

.price-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  border: 1px solid #e8ddc4;
}

.price-table th {
  background: #0b2341;
  color: #fff;
  text-align: left;
  white-space: nowrap;
}

.price-table th,
.price-table td {
  padding: 14px;
  border-bottom: 1px solid #e8ddc4;
  white-space: nowrap;
}

#gallery-title{
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    font-size: 37px;
    /* font-size: clamp(30px, 3vw, 42px); */
    line-height: .95;
    font-weight: 600;
}

.tour-book-card h2{
    margin-bottom: 3px;
}

/* ═══════════════════════════════════════
   MAP + SLIDER GALLERY
═══════════════════════════════════════ */

.tg-map-slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    height: 480px;
    margin-top: 20px;
    border: 1px solid rgba(10, 35, 66, 0.1);
    background: #f0e8d8;
    align-items: stretch;
}

/* ── Illustrated Map ── */
.tg-map {
    position: relative;
    height: 100%;
    min-height: 480px;
    background: #e8e0d5;
    border-right: 1px solid rgba(10, 35, 66, 0.1);
}

.tg-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(15%) contrast(1.05);
    position: absolute;
    inset: 0;
}

.tg-map-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--deep-navy);
    color: var(--white);
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    pointer-events: none;
    z-index: 2;
}

.tg-map-label svg {
    color: var(--antique-gold);
    flex-shrink: 0;
}

/* ── Slider ── */
.tg-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.tg-slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.tg-slide {
    flex: 0 0 100%;
    height: 100%;
    overflow: hidden;
}

.tg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    pointer-events: none;
}

.tg-slider:hover .tg-slide img {
    transform: scale(1.03);
}

/* Prev / Next buttons */
.tg-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 35, 66, 0.72);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
}

.tg-btn:hover { background: var(--deep-navy); }
.tg-prev { left: 12px; }
.tg-next { right: 12px; }

/* Dots */
.tg-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.tg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.tg-dot.active {
    background: var(--antique-gold);
    transform: scale(1.3);
}

/* Counter */
.tg-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: var(--ui);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    background: rgba(10, 35, 66, 0.55);
    padding: 4px 10px;
    backdrop-filter: blur(6px);
    pointer-events: none;
    z-index: 10;
    letter-spacing: 0.06em;
}

/* Expand button */
.tg-expand {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 35, 66, 0.65);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    backdrop-filter: blur(6px);
}

.tg-expand:hover { background: var(--antique-gold); }

/* ── Lightbox ── */
.tg-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-lightbox[hidden] { display: none; }

.tg-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 20, 0.94);
    backdrop-filter: blur(12px);
    cursor: pointer;
}

.tg-lightbox-img-wrap {
    position: relative;
    z-index: 2;
    max-width: min(1100px, 88vw);
    max-height: 84vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tg-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 84vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    box-shadow: 0 32px 80px rgba(0,0,0,0.6);
}

.tg-lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 50%;
}

.tg-lightbox-close:hover { background: rgba(255,255,255,0.22); }

.tg-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 50%;
}

.tg-lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.tg-lb-prev { left: 20px; }
.tg-lb-next { right: 20px; }

.tg-lightbox-counter {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ui);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.08em;
    z-index: 10;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .tg-map-slider {
        grid-template-columns: 1fr;
        height: auto;
    }

    .tg-map {
        height: 280px;
        min-height: 280px;
        border-right: none;
        border-bottom: 1px solid rgba(10, 35, 66, 0.1);
    }

    .tg-slider {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .tg-map { height: 220px; min-height: 220px; }
    .tg-slider { height: 260px; }
    .tg-lb-prev { left: 8px; }
    .tg-lb-next { right: 8px; }
}

/* ── Mobile overflow fix ── */
html, body {
    max-width: 100%;
}

@media (max-width: 760px) {
    .tour-price-strip {
        grid-template-columns: 1fr 1fr !important;
    }

    .tg-map-slider {
        grid-template-columns: 1fr !important;
        height: auto !important;
        gap: 3px !important;
    }

    .tg-map {
        height: 260px !important;
        min-height: 260px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(10, 35, 66, 0.1);
        order: 2;
    }

    .tg-slider {
        height: 280px !important;
        order: 1;
    }

    .eet-shell {
        width: calc(100% - 0) !important;
    }

    .itinerary-accordion summary {
        grid-template-columns: auto minmax(0, 1fr) 28px !important;
    }

    .tour-section-head.compact h1 {
        font-size: clamp(22px, 5vw, 32px) !important;
    }
}

@media (max-width: 430px) {
    .tour-price-strip {
        grid-template-columns: 1fr !important;
    }
}

/* ── Price table scrollbar styling ── */
.table-responsive::-webkit-scrollbar {
    height: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--warm-sand);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--antique-gold);
    border-radius: 4px;
}

@media (max-width: 760px) {
    .price-table th,
    .price-table td {
        padding: 10px 12px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ── Final horizontal scroll fix ── */
html {
    max-width: 100vw;
}

.table-responsive {
    overflow-x: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    display: block !important;
    width: 100% !important;
}

.table-responsive .price-table {
    width: max-content !important;
    min-width: 100% !important;
}

@media (max-width: 760px) {
    .tour-price-strip {
        grid-template-columns: 1fr 1fr !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .container,
    .eet-shell {
        max-width: 100% !important;
        width: calc(100% - 7px) !important;
        /* overflow: hidden; */
    }

    .tour-content-grid,
    .sales-intro-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
}

@media (max-width: 430px) {
    .tour-price-strip {
        grid-template-columns: 1fr !important;
    }
}
