.hbt-tour-detail {
    --hbt-navy: #132f4f;
    --hbt-blue: #17456f;
    --hbt-line: #dfe5eb;
    --hbt-muted: #687586;
    --hbt-soft: #f5f7f9;
    color: #1d2c3d;
}

.hbt-tour-hero {
    min-height: clamp(360px, 52vw, 620px);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

.hbt-tour-hero .hbt-tour-hero__inner {
    align-items: end;
    color: #fff;
    display: grid;
    gap: clamp(28px, 5vw, 80px);
    grid-template-columns: minmax(0, 1fr) minmax(220px, 304px);
    padding-bottom: clamp(42px, 7vw, 86px);
    position: relative;
}

.hbt-tour-hero__pdf,
.hbt-tour-title__pdf {
    align-items: center;
    border: 2px solid currentColor;
    color: inherit;
    display: inline-flex;
    font-weight: 700;
    justify-content: center;
    min-height: 48px;
    padding: 11px 22px;
    text-align: center;
    transition: background-color 160ms ease, color 160ms ease;
}

.hbt-tour-hero__pdf:hover,
.hbt-tour-hero__pdf:focus-visible {
    background: #fff;
    color: var(--hbt-navy);
}

.hbt-tour-title__pdf {
    color: var(--hbt-navy);
}

.hbt-tour-hero__gallery {
    align-items: center;
    background: #fff;
    border: 0;
    border-radius: 999px;
    bottom: 18px;
    color: var(--hbt-navy);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    min-height: 40px;
    padding: 9px 18px;
    position: absolute;
    right: 15px;
}

.hbt-tour-hero__gallery::before {
    content: '\1f5bc';
    font-size: 1rem;
}

.hbt-tour-gallery {
    background: #fff;
    border: 0;
    border-radius: 10px;
    color: #1d2c3d;
    max-height: min(88vh, 900px);
    max-width: min(1100px, calc(100vw - 32px));
    padding: 0;
    width: 100%;
}

.hbt-tour-gallery::backdrop {
    background: rgba(9, 24, 41, 0.78);
}

.hbt-tour-gallery__header {
    align-items: center;
    border-bottom: 1px solid var(--hbt-line, #dfe5eb);
    display: flex;
    justify-content: space-between;
    padding: 18px 22px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.hbt-tour-gallery__header h2 {
    font-size: 1.35rem;
    margin: 0;
}

.hbt-tour-gallery__close {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--hbt-navy, #132f4f);
    cursor: pointer;
    display: inline-flex;
    font-size: 2rem;
    height: 42px;
    justify-content: center;
    line-height: 1;
    width: 42px;
}

.hbt-tour-gallery__grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
}

.hbt-tour-gallery__grid a,
.hbt-tour-gallery__grid img {
    display: block;
    height: 100%;
    width: 100%;
}

.hbt-tour-gallery__grid img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hbt-tour-hero h1,
.hbt-tour-title h1 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
    line-height: 1.08;
    margin: 0;
    max-width: 900px;
}

.hbt-tour-hero__eyebrow {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.hbt-tour-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.5;
    margin: 16px 0 0;
    max-width: 720px;
}

.hbt-tour-hero__area {
    align-items: center;
    display: flex;
    font-weight: 700;
    gap: 12px;
    margin-top: 20px;
}

.hbt-tour-hero__area-icon {
    filter: brightness(0) invert(1);
    height: 42px;
    object-fit: contain;
    width: 42px;
}

.hbt-tour-title__eyebrow {
    color: var(--hbt-muted);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hbt-tour-title {
    padding: 56px 0 20px;
}

.hbt-tour-shell {
    padding-bottom: 80px;
}

.hbt-tour-facts {
    background: #fff;
    border: 1px solid var(--hbt-line);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: -34px 0 54px;
    position: relative;
    z-index: 2;
}

.hbt-tour-fact {
    padding: 22px 26px;
}

.hbt-tour-fact + .hbt-tour-fact {
    border-left: 1px solid var(--hbt-line);
}

.hbt-tour-fact dt {
    color: var(--hbt-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hbt-tour-fact dd {
    font-weight: 700;
    margin: 0;
}

.hbt-tour-grid {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1fr) 340px;
}

.hbt-tour-tablist {
    border-bottom: 1px solid var(--hbt-line);
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.hbt-tour-tab {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--hbt-muted);
    cursor: pointer;
    flex: 0 0 auto;
    font: inherit;
    padding: 0 0 15px;
}

.hbt-tour-tab:hover,
.hbt-tour-tab:focus-visible,
.hbt-tour-tab.is-active {
    border-bottom-color: var(--hbt-blue);
    color: var(--hbt-navy);
}

.hbt-tour-tab:focus-visible,
.hbt-tour-booking__toggle:focus-visible,
.hbt-tour-booking__form .date-wrapper:focus-visible,
.hbt-tour-hero__gallery:focus-visible,
.hbt-tour-gallery__close:focus-visible,
.hbt-tour-faq summary:focus-visible {
    outline: 3px solid rgba(23, 69, 111, 0.28);
    outline-offset: 3px;
}

.hbt-tour-panel {
    padding-top: 38px;
}

.hbt-tour-panel[hidden],
.hbt-tour-booking__form[hidden] {
    display: none;
}

.hbt-tour-prose {
    font-size: 1rem;
    line-height: 1.75;
}

.hbt-tour-prose > :first-child {
    margin-top: 0;
}

.hbt-tour-highlights {
    margin-top: 38px;
}

.hbt-tour-highlights h2,
.hbt-tour-costs h2 {
    color: var(--hbt-navy);
    font-size: 1.55rem;
}

.hbt-tour-highlights ul,
.hbt-tour-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hbt-tour-highlights li,
.hbt-tour-checklist li {
    padding: 7px 0 7px 32px;
    position: relative;
}

.hbt-tour-highlights li::before,
.hbt-tour-checklist li::before {
    border: 2px solid var(--hbt-blue);
    border-radius: 50%;
    color: var(--hbt-blue);
    content: "✓";
    font-size: 0.75rem;
    font-weight: 800;
    height: 20px;
    left: 0;
    line-height: 16px;
    position: absolute;
    text-align: center;
    top: 9px;
    width: 20px;
}

.hbt-tour-checklist--excluded li::before {
    border-color: #a84a4a;
    color: #a84a4a;
    content: "×";
}

.hbt-tour-day {
    display: grid;
    gap: 22px;
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 0 0 34px;
    position: relative;
}

.hbt-tour-day:not(:last-child)::before {
    background: var(--hbt-line);
    content: "";
    height: calc(100% - 42px);
    left: 20px;
    position: absolute;
    top: 42px;
    width: 2px;
}

.hbt-tour-day__number {
    align-items: center;
    background: var(--hbt-navy);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-weight: 700;
    height: 42px;
    justify-content: center;
    position: relative;
    width: 42px;
    z-index: 1;
}

.hbt-tour-day h2 {
    color: var(--hbt-navy);
    font-size: 1.3rem;
    margin: 7px 0 12px;
}

.hbt-tour-day__image {
    border-radius: 8px;
    display: block;
    margin: 0 0 18px;
    max-height: 360px;
    object-fit: cover;
    width: 100%;
}

.hbt-tour-day__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0 0 18px;
}

.hbt-tour-day__meta > div {
    align-items: baseline;
    display: flex;
    gap: 6px;
}

.hbt-tour-day__meta dt {
    color: var(--hbt-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hbt-tour-day__meta dd {
    color: var(--hbt-navy);
    font-weight: 700;
    margin: 0;
}

.hbt-tour-day__stay {
    border-left: 3px solid var(--hbt-line);
    margin-top: 20px;
    padding-left: 18px;
}

.hbt-tour-day__stay h3 {
    color: var(--hbt-navy);
    font-size: 1rem;
    margin: 0 0 8px;
}

.hbt-tour-costs {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hbt-tour-faq {
    border-bottom: 1px solid var(--hbt-line);
    padding: 4px 0;
}

.hbt-tour-faq summary {
    color: var(--hbt-navy);
    cursor: pointer;
    font-weight: 700;
    padding: 18px 36px 18px 0;
}

.hbt-tour-faq .hbt-tour-prose {
    padding: 0 36px 18px 0;
}

.hbt-tour-map,
.hbt-tour-map iframe {
    border-radius: 10px;
    min-height: 450px;
    overflow: hidden;
    width: 100%;
}

.hbt-tour-booking {
    position: sticky;
    top: 32px;
}

.admin-bar .hbt-tour-booking {
    top: 64px;
}

.hbt-tour-booking__card {
    background: #fff;
    border: 1px solid var(--hbt-line);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(20, 40, 62, 0.08);
    padding: 26px;
}

.hbt-tour-booking__label {
    color: var(--hbt-muted);
    margin: 0 0 4px;
}

.hbt-tour-booking__price {
    color: var(--hbt-navy);
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 22px;
}

.hbt-tour-booking__toggle {
    background: var(--hbt-navy);
    border: 2px solid var(--hbt-navy);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 13px 18px;
    width: 100%;
}

.hbt-tour-booking__toggle:hover {
    background: #fff;
    color: var(--hbt-navy);
}

.hbt-tour-booking__help {
    color: var(--hbt-muted);
    font-size: 0.9rem;
    margin: 18px 0 0;
    text-align: center;
}

.hbt-tour-booking__help a {
    color: var(--hbt-navy);
    font-weight: 700;
}

.hbt-tour-inquiry__toggle {
    appearance: none;
    background: none;
    border: 0;
    color: var(--hbt-navy);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 0;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.hbt-tour-inquiry__toggle:hover,
.hbt-tour-inquiry__toggle:focus-visible {
    color: var(--hbt-accent, #d85f35);
}

.hbt-tour-inquiry__toggle:focus-visible {
    border-radius: 2px;
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.hbt-tour-inquiry {
    border-top: 1px solid var(--hbt-line);
    margin-top: 20px;
    padding-top: 20px;
}

.hbt-tour-inquiry__form {
    display: grid;
    gap: 14px;
}

.hbt-tour-inquiry__field label {
    color: var(--hbt-navy);
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.hbt-tour-inquiry__optional {
    color: var(--hbt-muted);
    font-weight: 400;
}

.hbt-tour-inquiry__field input,
.hbt-tour-inquiry__field textarea {
    background: #fff;
    border: 1px solid var(--hbt-line);
    border-radius: 5px;
    box-sizing: border-box;
    color: var(--hbt-navy);
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}

.hbt-tour-inquiry__field textarea {
    min-height: 104px;
    resize: vertical;
}

.hbt-tour-inquiry__field input:focus,
.hbt-tour-inquiry__field textarea:focus {
    border-color: var(--hbt-navy);
    box-shadow: 0 0 0 3px rgba(19, 47, 79, 0.12);
    outline: 0;
}

.hbt-tour-inquiry__submit {
    align-items: center;
    background: var(--hbt-navy);
    border: 1px solid var(--hbt-navy);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 700;
    gap: 8px;
    justify-content: center;
    padding: 11px 16px;
    width: 100%;
}

.hbt-tour-inquiry__submit:hover,
.hbt-tour-inquiry__submit:focus-visible {
    background: #fff;
    color: var(--hbt-navy);
}

.hbt-tour-inquiry__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.hbt-tour-inquiry__status {
    border-radius: 5px;
    font-size: 0.86rem;
    margin: 0;
}

.hbt-tour-inquiry__status.is-success,
.hbt-tour-inquiry__status.is-error {
    padding: 10px 12px;
}

.hbt-tour-inquiry__status.is-success {
    background: #eef8f1;
    color: #206238;
}

.hbt-tour-inquiry__status.is-error {
    background: #fff4f2;
    color: #7a261f;
}

.hbt-tour-inquiry__honeypot {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.hbt-tour-booking__form {
    border-top: 1px solid var(--hbt-line);
    margin-top: 22px;
    padding-top: 22px;
}

.hbt-tour-booking__form .date-wrapper {
    cursor: pointer;
}

.hbt-tour-booking__form .message-wrapper:not([hidden]) {
    background: #fff4f2;
    border: 1px solid #d95c4f;
    border-radius: 6px;
    color: #7a261f;
    margin-top: 18px;
    padding: 12px 14px;
}

.hbt-tour-booking__form .form-head,
.hbt-tour-booking__form .owner-info {
    display: none;
}

.hbt-tour-booking__form .owner-info.hbt-tour-inquiry-form {
    display: block;
}

.hbt-tour-inquiry-form .form-control {
    margin-bottom: 14px;
}

.st-package-popup .hbt-tour-package-progress {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 24px;
}

.single-st_tours .mfp-inline-holder .mfp-content:has(.st-package-popup) {
    background: #fff;
    border-radius: 12px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 28px;
    width: min(760px, calc(100vw - 32px));
}

.single-st_tours .mfp-content .st-package-popup {
    margin: 0 auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
}

.st-package-popup .hbt-tour-package-progress span {
    border-bottom: 3px solid #dfe5eb;
    color: #687586;
    font-weight: 700;
    padding: 0 0 10px;
}

.st-package-popup .hbt-tour-package-progress span.is-active {
    border-bottom-color: #132f4f;
    color: #132f4f;
}

.hbt-tour-package-review {
    min-height: 260px;
}

.hbt-tour-package-review h3 {
    margin: 0 0 8px;
}

.hbt-tour-package-review__list {
    border: 1px solid #dfe5eb;
    border-radius: 8px;
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.hbt-tour-package-review__list li {
    align-items: center;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    padding: 16px 18px;
}

.hbt-tour-package-review__list li + li {
    border-top: 1px solid #dfe5eb;
}

.hbt-tour-package-actions {
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--hbt-line, #dfe5eb);
    bottom: 0;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-top: 24px;
    padding: 20px 0 4px;
    position: sticky;
    z-index: 2;
}

.hbt-tour-package-actions__status {
    color: var(--hbt-muted, #687586);
    margin: 0;
}

.hbt-tour-package-actions__buttons {
    display: flex;
    gap: 10px;
}

.hbt-tour-package-actions__next,
.hbt-tour-package-actions__apply,
.hbt-tour-package-actions__back {
    border-radius: 5px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    padding: 12px 22px;
}

.hbt-tour-package-actions__next,
.hbt-tour-package-actions__apply {
    background: var(--hbt-navy, #132f4f);
    border: 2px solid var(--hbt-navy, #132f4f);
    color: #fff;
}

.hbt-tour-package-actions__back {
    background: #fff;
    border: 2px solid #dfe5eb;
    color: #132f4f;
}

.hbt-tour-package-actions__next:hover,
.hbt-tour-package-actions__next:focus-visible,
.hbt-tour-package-actions__apply:hover,
.hbt-tour-package-actions__apply:focus-visible {
    background: #fff;
    color: var(--hbt-navy, #132f4f);
}

.hbt-tour-package-actions__back:hover,
.hbt-tour-package-actions__back:focus-visible {
    border-color: #132f4f;
}

.hbt-tour-package-actions [hidden],
.hbt-tour-package-review[hidden],
.st-faq[hidden] {
    display: none !important;
}

@media (max-width: 991px) {
    .hbt-tour-grid {
        grid-template-columns: 1fr;
    }

    .hbt-tour-booking {
        position: static;
    }
}

@media (max-width: 767px) {
    .hbt-tour-hero {
        min-height: 420px;
    }

    .hbt-tour-hero .hbt-tour-hero__inner {
        grid-template-columns: 1fr;
    }

    .hbt-tour-hero__pdf {
        width: 100%;
    }

    .hbt-tour-gallery__grid {
        grid-template-columns: 1fr;
    }

    .hbt-tour-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 38px;
    }

    .hbt-tour-fact + .hbt-tour-fact {
        border-left: 0;
    }

    .hbt-tour-fact:nth-child(even) {
        border-left: 1px solid var(--hbt-line);
    }

    .hbt-tour-fact:nth-child(n+3) {
        border-top: 1px solid var(--hbt-line);
    }

    .hbt-tour-tablist {
        gap: 22px;
    }

    .hbt-tour-costs {
        grid-template-columns: 1fr;
    }

    .hbt-tour-package-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hbt-tour-package-actions__buttons {
        display: grid;
    }
}
.hbt-pricing-variant-select {
    margin-bottom: 16px;
}

.hbt-pricing-variant-select label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.hbt-pricing-variant-select select {
    width: 100%;
}

.hbt-pricing-variant-select__description {
    margin: 6px 0 0;
    font-size: 0.875rem;
}
