:root {
    --ttt-accent: #066a73;
    --ttt-accent-hover: #044e55;
    --ttt-border: #dfe5e7;
    --ttt-muted: #667176;
    --ttt-surface: #fff;
    --ttt-radius: 16px;
}

.ttt-tour-grid-widget,
.ttt-tour-search-widget,
.ttt-tour-checkout,
.ttt-tour-bar {
    box-sizing: border-box;
    min-width: 0;
}

.ttt-tour-grid-widget *,
.ttt-tour-search-widget *,
.ttt-tour-checkout *,
.ttt-tour-bar * {
    box-sizing: border-box;
}

.ttt-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
	align-items: start;
}

.ttt-tour-card {
    position: relative;
    display: var(--ttt-card-display, flex);
    grid-template-columns: var(--ttt-card-columns, none);
    min-width: 0;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    border: 1px solid var(--ttt-border);
    border-radius: var(--ttt-radius);
    background: var(--ttt-surface);
    box-shadow: 0 8px 26px rgba(20, 42, 48, .08);
    isolation: isolate;
    transition: transform .2s ease, box-shadow .2s ease;
	align-self: start;
}

.ttt-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(20, 42, 48, .14);
}

.ttt-card-section {
    min-width: 0;
}

.ttt-card-section:not(.ttt-section-image):not([class*="ttt-position-overlay-"]) {
    margin-right: 20px;
    margin-left: 20px;
}

.ttt-card-section:not(.ttt-section-image):first-child {
    margin-top: var(--ttt-card-top, 20px);
}

.ttt-card-section:not(.ttt-section-image):last-child {
    margin-bottom: var(--ttt-card-bottom, 20px);
}

.ttt-section-image {
    grid-column: var(--ttt-card-image-column, auto);
    grid-row: var(--ttt-card-image-row, auto);
    align-self: stretch;
    width: 100%;
    height: var(--ttt-card-image-height, auto);
    overflow: hidden;
}
.ttt-section-image > .ttt-card-image,
.ttt-section-image > .ttt-card-media-slider,
.ttt-section-image > .ttt-card-video,
.ttt-section-image > .ttt-card-video-embed,
.ttt-section-image .ttt-media-viewport,
.ttt-section-image .ttt-media-track,
.ttt-section-image .ttt-media-slide { min-height: var(--ttt-card-image-height, auto); height: var(--ttt-card-image-height, auto); }

.ttt-tour-card .ttt-card-section:not(.ttt-section-image):not([class*="ttt-position-overlay-"]) {
    grid-column: var(--ttt-card-body-column, auto);
}

.ttt-card-orientation-landscape-left,
.ttt-card-orientation-landscape-right {
    --ttt-card-display: grid;
    --ttt-card-columns: minmax(150px, var(--ttt-side-media-width, 40%)) minmax(0, 1fr);
    --ttt-card-image-column: 1;
    --ttt-card-body-column: 2;
    --ttt-card-image-row: 1 / span 50;
}
.ttt-card-orientation-landscape-right {
    --ttt-card-columns: minmax(0, 1fr) minmax(150px, var(--ttt-side-media-width, 40%));
    --ttt-card-image-column: 2;
    --ttt-card-body-column: 1;
}
.ttt-card-orientation-landscape-left .ttt-section-image .ttt-card-image,
.ttt-card-orientation-landscape-right .ttt-section-image .ttt-card-image,
.ttt-card-orientation-landscape-left .ttt-section-image img,
.ttt-card-orientation-landscape-right .ttt-section-image img,
.ttt-card-orientation-landscape-left .ttt-card-media-slider,
.ttt-card-orientation-landscape-right .ttt-card-media-slider,
.ttt-card-orientation-landscape-left .ttt-media-viewport,
.ttt-card-orientation-landscape-right .ttt-media-viewport,
.ttt-card-orientation-landscape-left .ttt-media-track,
.ttt-card-orientation-landscape-right .ttt-media-track,
.ttt-card-orientation-landscape-left .ttt-media-slide,
.ttt-card-orientation-landscape-right .ttt-media-slide { min-height: 0; }

.ttt-align-left { text-align: left; }
.ttt-align-center { text-align: center; }
.ttt-align-right { text-align: right; }
.ttt-align-justify { text-align: justify; }
.ttt-align-space-evenly { text-align: center; }

.ttt-layout-row,
.ttt-layout-column {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ttt-layout-row { flex-direction: row; align-items: center; }
.ttt-layout-column { flex-direction: column; }
.ttt-align-center.ttt-layout-row { justify-content: center; }
.ttt-align-right.ttt-layout-row { justify-content: flex-end; }
.ttt-align-justify.ttt-layout-row { justify-content: space-between; }
.ttt-align-space-evenly.ttt-layout-row { justify-content: space-evenly; }

[class*="ttt-position-overlay-"] {
    position: absolute;
    z-index: 4;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
}

.ttt-position-overlay-top-left { top: 16px; left: 16px; }
.ttt-position-overlay-top-centre { top: 16px; left: 50%; transform: translateX(-50%); }
.ttt-position-overlay-top-right { top: 16px; right: 16px; }
.ttt-position-overlay-centre { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ttt-position-overlay-bottom-left { bottom: 16px; left: 16px; }
.ttt-position-overlay-bottom-centre { bottom: 16px; left: 50%; transform: translateX(-50%); }
.ttt-position-overlay-bottom-right { right: 16px; bottom: 16px; }

.ttt-card-image {
    display: block;
    width: 100%;
    overflow: hidden;
}

.ttt-card-image img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: 50% var(--ttt-image-y, 50%);
    transition: transform .35s ease, filter .25s ease;
}

.ttt-card-video,
.ttt-card-video-embed,
.ttt-card-video-embed iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
    object-fit: cover;
}

.ttt-card-title {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.ttt-card-title a {
    color: inherit;
    text-decoration: none;
}

.ttt-card-strapline p,
.ttt-labelled-section p,
.ttt-custom-field-value p {
    margin-block: 0;
}

.ttt-card-badges,
.ttt-card-terms,
.ttt-card-buttons,
.ttt-card-dates,
.ttt-card-locations,
.ttt-card-availability {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ttt-card-badges span,
.ttt-card-terms span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eaf4f5;
    color: #075c64;
    font-size: .78rem;
    font-weight: 650;
}

.ttt-status-sold-out .ttt-status-badge,
.ttt-status-completed .ttt-status-badge { background: #f2f2f2; color: #555; }
.ttt-status-limited .ttt-status-badge { background: #fff1d6; color: #7a4a00; }
.ttt-solo-badge { background: #efe9ff !important; color: #53368b !important; }

.ttt-card-dates,
.ttt-card-duration,
.ttt-card-locations,
.ttt-card-stops,
.ttt-card-suitability,
.ttt-card-availability,
.ttt-card-booking-closes {
    color: var(--ttt-muted);
    font-size: .92rem;
}

.ttt-card-availability { justify-content: space-between; }

.ttt-card-price,
.ttt-checkout-price {
    margin-top: auto;
    color: var(--ttt-accent);
    font-size: 1.28rem;
    font-weight: 750;
}

.ttt-price-basis,
.ttt-price-prefix,
.ttt-checkout-price span { font-size: .78em; font-weight: 500; }

.ttt-alternative-label,
.ttt-traveller-control,
.ttt-filter-field,
.ttt-checkout-quantity,
.ttt-collection-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: .86rem;
    font-weight: 650;
}
.ttt-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.ttt-filter-icon { display: inline-flex; flex: 0 0 auto; line-height: 1; }
.ttt-filter-icon svg { width: 1em; height: 1em; fill: currentColor; }
.ttt-filter-example { color: var(--ttt-muted); font-size: .78rem; font-weight: 400; }

.ttt-alternative-select,
.ttt-traveller-quantity,
.ttt-filter-field input,
.ttt-filter-field select,
.ttt-checkout-quantity select,
.ttt-collection-field input,
.ttt-collection-field select,
.ttt-collection-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--ttt-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.ttt-collection-field textarea { min-height: 120px; resize: vertical; }

.ttt-traveller-control {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.ttt-traveller-quantity { width: auto; min-width: 76px; }

.ttt-card-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
}

.ttt-card-buttons > :only-child { grid-column: 1 / -1; }

.ttt-card-button,
.ttt-search-button,
.ttt-filter-toggle,
.ttt-load-more,
.ttt-checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--ttt-accent);
    border-radius: 8px;
    background: var(--ttt-accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.ttt-card-button:hover,
.ttt-search-button:hover,
.ttt-filter-toggle:hover,
.ttt-load-more:hover,
.ttt-checkout-submit:hover {
    border-color: var(--ttt-accent-hover);
    background: var(--ttt-accent-hover);
    color: #fff;
}

.ttt-card-button:disabled,
.ttt-search-button:disabled,
.ttt-checkout-submit:disabled { cursor: wait; opacity: .6; }

.ttt-button-2,
.ttt-search-action-reset { background: transparent; color: var(--ttt-accent); }

.ttt-card-button.ttt-icon-top,
.ttt-search-button.ttt-icon-top { flex-direction: column; }
.ttt-card-button.ttt-icon-bottom,
.ttt-search-button.ttt-icon-bottom { flex-direction: column-reverse; }
.ttt-card-button.ttt-icon-after,
.ttt-search-button.ttt-icon-after { flex-direction: row-reverse; }
.ttt-button-icon { display: inline-flex; flex: 0 0 auto; line-height: 1; }
.ttt-button-icon svg { width: 1em; height: 1em; fill: currentColor; }

.ttt-card-style-lite {
    gap: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(20, 42, 48, .07);
}

.ttt-card-style-lite .ttt-card-image img,
.ttt-card-style-lite .ttt-card-video,
.ttt-card-style-lite .ttt-card-video-embed,
.ttt-card-style-lite .ttt-card-video-embed iframe { height: 180px; }
.ttt-card-style-lite .ttt-card-section:not(.ttt-section-image):not([class*="ttt-position-overlay-"]) { margin-inline: 14px; }
.ttt-card-style-lite .ttt-card-section:not(.ttt-section-image):last-child { margin-bottom: 14px; }

.ttt-card-style-checkout { border-top: 4px solid var(--ttt-accent); }
.ttt-card-style-checkout .ttt-card-price { font-size: 1.45rem; }

/* Media slideshow */
.ttt-card-media-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    --ttt-media-visible: 1;
}

.ttt-media-viewport { width: 100%; overflow: hidden; }
.ttt-media-track {
    display: flex;
    width: 100%;
    transition: transform .45s ease;
    will-change: transform;
}
.ttt-media-slide {
    position: relative;
    flex: 0 0 calc(100% / var(--ttt-media-visible));
    min-width: 0;
}
.ttt-media-caption {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: .82rem;
}
.ttt-media-arrow,
.ttt-carousel-arrow {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--ttt-border);
    border-radius: 50%;
    background: #fff;
    color: var(--ttt-accent);
    cursor: pointer;
    font-size: 1.6rem;
    line-height: 1;
}
.ttt-media-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
.ttt-media-prev { left: 10px; }
.ttt-media-next { right: 10px; }
.ttt-media-dots,
.ttt-carousel-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.ttt-media-dots { position: absolute; z-index: 3; right: 12px; bottom: 10px; left: 12px; margin: 0; }
.ttt-media-dot,
.ttt-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid var(--ttt-accent);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.ttt-media-dot.is-current,
.ttt-carousel-dot.is-current { background: var(--ttt-accent); }

/* Card carousel */
.ttt-card-carousel {
    position: relative;
    --ttt-carousel-items: 3;
    --ttt-carousel-gap: 24px;
}
.ttt-carousel-viewport { width: 100%; overflow: hidden; }
.ttt-card-grid.ttt-carousel-track {
    display: flex;
    width: 100%;
    gap: var(--ttt-carousel-gap);
    transition: transform var(--ttt-carousel-speed, .5s) ease;
    will-change: transform;
}
.ttt-carousel-track > .ttt-tour-card {
    flex: 0 0 calc((100% - (var(--ttt-carousel-items) - 1) * var(--ttt-carousel-gap)) / var(--ttt-carousel-items));
}
.ttt-carousel-prev,
.ttt-carousel-next { position: absolute; z-index: 6; top: 50%; transform: translateY(-50%); }
.ttt-carousel-prev { left: -18px; }
.ttt-carousel-next { right: -18px; }
.ttt-carousel-mode-fade .ttt-carousel-track { transition-property: transform, opacity; }
.ttt-carousel-mode-fade.is-changing .ttt-carousel-track { opacity: .25; }
.ttt-carousel-mode-marquee .ttt-carousel-viewport { overflow: hidden; }
.ttt-carousel-mode-marquee .ttt-carousel-track {
    width: max-content;
    animation: ttt-marquee var(--ttt-marquee-duration, 30s) linear infinite;
}
.ttt-carousel-mode-marquee:hover .ttt-carousel-track { animation-play-state: paused; }
.ttt-carousel-mode-marquee .ttt-tour-card { width: min(380px, 80vw); flex-basis: min(380px, 80vw); }

@keyframes ttt-marquee { to { transform: translateX(calc(-50% - var(--ttt-carousel-gap) / 2)); } }

/* Results loading and pagination */
.ttt-tour-grid-widget.is-loading { min-height: 180px; opacity: .55; pointer-events: none; }
.ttt-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.ttt-page-button {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--ttt-border);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    cursor: pointer;
}
.ttt-page-button.is-current { border-color: var(--ttt-accent); background: var(--ttt-accent); color: #fff; }
.ttt-load-more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.ttt-empty-results { padding: 32px; border: 1px dashed var(--ttt-border); border-radius: 12px; text-align: center; }

/* Tour Search */
.ttt-search-shell {
    display: flex;
    flex-direction: var(--ttt-search-direction, column);
    gap: 24px;
    width: 100%;
    --ttt-panel-order: 1;
    --ttt-results-order: 2;
    --ttt-panel-flex: 1 1 auto;
}
.ttt-search-panel,
.ttt-search-results { min-width: 0; }
.ttt-search-results :where(.ttt-tour-card) {
    display: var(--ttt-result-card-display, flex);
    grid-template-columns: var(--ttt-result-card-columns, none);
}
.ttt-search-results :where(.ttt-tour-card .ttt-section-image) {
    grid-column: var(--ttt-result-image-column, auto);
    grid-row: 1 / span 50;
    height: var(--ttt-result-image-section-height, auto);
}
.ttt-search-results :where(.ttt-tour-card .ttt-section-image img),
.ttt-search-results :where(.ttt-tour-card .ttt-section-image .ttt-card-video),
.ttt-search-results :where(.ttt-tour-card .ttt-section-image .ttt-card-video-embed),
.ttt-search-results :where(.ttt-tour-card .ttt-section-image .ttt-card-video-embed iframe) {
    height: var(--ttt-result-image-height, 260px);
    min-height: var(--ttt-result-image-min-height, 0);
}
.ttt-search-results :where(.ttt-tour-card .ttt-card-section:not(.ttt-section-image)) { grid-column: var(--ttt-result-body-column, auto); }
.ttt-search-panel { order: var(--ttt-panel-order); flex: var(--ttt-panel-flex); }
.ttt-search-results { order: var(--ttt-results-order); flex: 1 1 auto; }
.ttt-search-external-results .ttt-search-panel { width: 100%; flex: 1 1 auto; }
.ttt-filter-position-left .ttt-search-shell { --ttt-search-direction: row; --ttt-panel-flex: 0 0 var(--ttt-filter-width, 28%); }
.ttt-filter-position-right .ttt-search-shell { --ttt-search-direction: row; --ttt-panel-order: 2; --ttt-results-order: 1; --ttt-panel-flex: 0 0 var(--ttt-filter-width, 28%); }
.ttt-filter-position-bottom .ttt-search-shell { --ttt-panel-order: 2; --ttt-results-order: 1; }

.ttt-filters-form { padding: 20px; border: 1px solid var(--ttt-border); border-radius: 12px; background: #fff; }
.ttt-filter-fields {
    display: var(--ttt-filter-display, flex);
    flex-wrap: var(--ttt-filter-wrap, wrap);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    align-items: flex-end;
    overflow: visible;
}
.ttt-filter-field { flex: 1 1 220px; min-width: 0; }
.ttt-filter-position-left .ttt-filter-fields,
.ttt-filter-position-right .ttt-filter-fields { grid-template-columns: 1fr; --ttt-filter-display: flex; --ttt-filter-wrap: wrap; }
.ttt-filter-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ttt-search-button { gap: 8px; }
.ttt-filter-summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: var(--ttt-muted); font-size: .88rem; }
.ttt-active-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.ttt-active-filter { padding: 5px 9px; border: 1px solid var(--ttt-border); border-radius: 999px; background: #fff; color: inherit; cursor: pointer; font: inherit; }
.ttt-filter-toggle,
.ttt-filter-drawer-header,
.ttt-filter-overlay { display: none; }
.ttt-search-lite .ttt-filters-form { padding: 12px; }
.ttt-search-lite .ttt-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ttt-search-lite .ttt-filter-actions { margin-top: 10px; }

/* Full booking widget */
.ttt-tour-checkout {
    padding: 28px;
    border: 1px solid var(--ttt-border);
    border-radius: var(--ttt-radius);
    background: var(--ttt-surface);
    box-shadow: 0 8px 26px rgba(20, 42, 48, .08);
}
.ttt-checkout-heading { margin-top: 0; }
.ttt-checkout-sections { display: flex; flex-direction: column; gap: 20px; }
.ttt-checkout-section { min-width: 0; }
.ttt-checkout-section h3 { margin-block: 0; }
.ttt-checkout-media { overflow: hidden; border-radius: calc(var(--ttt-radius) / 1.5); }
.ttt-checkout-locations { margin-top: 8px; color: var(--ttt-muted); }
.ttt-collection-fields { display: flex; flex-wrap: wrap; gap: 16px; }
.ttt-collection-field { flex: 1 1 calc(var(--ttt-field-width, 100%) - 16px); max-width: var(--ttt-field-width, 100%); }
.ttt-checkout-submit { width: 100%; }
.ttt-checkout-message { display: block; margin-top: 8px; color: #9b1c1c; }
.ttt-embedded-wc-checkout { margin-top: 32px; }

.ttt-checkout-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.ttt-checkout-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--ttt-accent);
    border-radius: 8px;
    background: var(--ttt-accent);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
.ttt-checkout-action:hover { background: var(--ttt-accent-hover); color: #fff; }
.ttt-checkout-action-icon { display: inline-flex; line-height: 1; }
.ttt-checkout-action-icon svg { width: 1em; height: 1em; fill: currentColor; }
.ttt-deposit-note {
    margin: 16px 0;
    padding: 12px 14px;
    border: 1px solid #c9dfe1;
    border-radius: 8px;
    background: #f1f8f8;
    color: #315b60;
}
.ttt-email-enquiry-form {
    margin: 16px 0 24px;
    padding: 18px;
    border: 1px solid var(--ttt-border);
    border-radius: 10px;
    background: #fff;
}
.ttt-email-enquiry-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.ttt-email-enquiry-fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 650; }
.ttt-email-enquiry-fields input,
.ttt-email-enquiry-fields textarea {
    width: 100%;
    min-height: 44px;
    padding: 9px 12px;
    border: 1px solid var(--ttt-border);
    border-radius: 8px;
    font: inherit;
}
.ttt-email-message-field,
.ttt-email-enquiry-status { grid-column: 1 / -1; }
.ttt-email-message-field textarea { min-height: 110px; resize: vertical; }
.ttt-enquiry-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
.ttt-email-enquiry-status { color: var(--ttt-muted); }
.ttt-email-enquiry-modal,
.ttt-waitlist-modal {
    position: fixed;
    z-index: 100010;
    inset: 0;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, .58);
}
.ttt-email-enquiry-modal.is-open,
.ttt-waitlist-modal.is-open { display: grid; }
.ttt-email-enquiry-dialog,
.ttt-waitlist-dialog {
    position: relative;
    width: min(680px, 100%);
    max-height: 90vh;
    overflow: auto;
    padding: 26px;
    border-radius: 14px;
    background: #fff;
}
.ttt-email-modal-close,
.ttt-waitlist-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 2rem;
}
.ttt-waitlist-dialog { width: min(620px,100%); }
.ttt-waitlist-form { display: grid; gap: 14px; }
.ttt-waitlist-form > label:not(.ttt-waitlist-consent) { display: grid; gap: 6px; font-weight: 650; }
.ttt-waitlist-form input[type="text"],
.ttt-waitlist-form input[type="email"] { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--ttt-border); border-radius: 8px; font: inherit; }
.ttt-waitlist-consent { display: flex; gap: 9px; align-items: flex-start; }
.ttt-waitlist-consent input { margin-top: .25em; accent-color: var(--ttt-accent); }
.ttt-waitlist-status { min-height: 1.5em; color: var(--ttt-muted); }

.ttt-checkout-travel-information { margin: 18px 0; }
.ttt-checkout-empty-basket { display: flex; flex-direction: column; gap: 6px; }
.ttt-checkout-product-list { display: grid; gap: 16px; margin: 0 0 20px; }
.ttt-basket-product-summary {
	display: grid;
	gap: 16px;
	padding: 18px;
	border: 1px solid var(--ttt-border);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(20,42,48,.06);
}
.ttt-basket-product-main { display: grid; grid-template-columns: minmax(90px,140px) minmax(0,1fr); gap: 18px; align-items: center; }
.ttt-basket-product-image img { display: block; width: 100%; height: 110px; border-radius: 10px; object-fit: cover; }
.ttt-basket-product-copy h3 { margin: 0 0 8px; }
.ttt-basket-product-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; }
.ttt-basket-product-summary .ttt-checkout-actions { margin: 0; padding-top: 12px; border-top: 1px solid var(--ttt-border); }
.ttt-basket-product-summary > .ttt-email-enquiry-form { padding-top: 4px; }
.ttt-basket-travel-product {
    margin: 0 0 16px;
    padding: 18px;
    border: 1px solid var(--ttt-border);
    border-radius: 10px;
    background: #fff;
}
.ttt-basket-travel-product h3 { margin-top: 0; }
.ttt-basket-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
    align-items: start;
    gap: var(--ttt-checkout-column-gap, 28px);
}
.ttt-basket-checkout form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; width: 100%; }
.ttt-basket-checkout form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin-top: 0; }
.ttt-basket-checkout form.checkout #order_review { grid-column: 2; grid-row: 2; width: 100%; }
.ttt-basket-checkout form.checkout > .ttt-checkout-extras { grid-column: 2; width: 100%; }
.ttt-basket-checkout form.checkout .col2-set .col-1,
.ttt-basket-checkout form.checkout .col2-set .col-2 { float: none; width: 100%; }
.ttt-basket-checkout form.checkout .col2-set .col-2 { margin-top: 20px; }
.ttt-basket-checkout .woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.ttt-basket-checkout .woocommerce-checkout-review-order-table th,
.ttt-basket-checkout .woocommerce-checkout-review-order-table td { padding: 12px; vertical-align: top; }
.ttt-basket-checkout #payment { overflow: hidden; border: 1px solid var(--ttt-border); background: #fff; }
.ttt-basket-checkout #payment ul.payment_methods { display: grid; gap: 10px; padding: 16px; border: 0; }
.ttt-basket-checkout #payment ul.payment_methods li { padding: 13px 14px; border: 1px solid var(--ttt-border); border-radius: 10px; background: #f8fafb; }
.ttt-basket-checkout #payment ul.payment_methods li > label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.ttt-basket-checkout #payment input[type="radio"] { accent-color: var(--ttt-accent); }
.ttt-basket-checkout #payment div.payment_box { margin-bottom: 0; border-radius: 8px; background: #fff; }
.ttt-basket-checkout #payment .place-order { display: grid; gap: 14px; padding: 18px; }
.ttt-basket-checkout #place_order { float: none; width: 100%; min-height: 50px; border: 1px solid var(--ttt-accent); border-radius: 9px; background: var(--ttt-accent); color: #fff; font-weight: 750; cursor: pointer; }
.ttt-basket-checkout #place_order:hover { background: var(--ttt-accent-hover); }
.ttt-checkout-coupon-slot { margin: 18px 0; padding: 18px; border: 1px solid var(--ttt-border); border-radius: 12px; background: #fff; }
.ttt-checkout-coupon-slot h3 { margin: 0 0 12px; }
.ttt-checkout-coupon-slot form.woocommerce-form-coupon { display: flex !important; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; }
.ttt-checkout-coupon-slot form.woocommerce-form-coupon > p { float: none; width: auto; margin: 0; }
.ttt-checkout-coupon-slot form.woocommerce-form-coupon .form-row-first { flex: 1 1 220px; }
.ttt-checkout-coupon-slot form.woocommerce-form-coupon input { width: 100%; min-height: 44px; }
.ttt-checkout-extras { display: grid; gap: 12px; margin: 18px 0; padding: 16px; border: 1px solid var(--ttt-border); border-radius: 10px; background: #fff; }
.ttt-checkout-extras h3 { margin: 0; }
.ttt-checkout-document-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ttt-checkout-agreements { display: grid; gap: 10px; }
.ttt-checkout-agreements label { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.ttt-checkout-agreements input { margin-top: .25em; accent-color: var(--ttt-accent); }
.ttt-checkout-line-quantity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 7px;
}
.ttt-checkout-line-quantity input { width: 76px !important; min-height: 38px; }
.ttt-checkout-line-quantity small { color: var(--ttt-muted); font-size: .76rem; font-weight: 400; }

.ttt-cart-departure { display: block; margin-top: 4px; color: var(--ttt-muted); }
.ttt-product-traveller-label { display: block; margin-bottom: 5px; font-weight: 700; }
.ttt-tour-field { display: flex; flex-direction: column; gap: 4px; }
.ttt-field-label { color: var(--ttt-muted); font-size: .82em; }

/* Sticky Tour Bar */
.ttt-tour-bar {
    position: fixed;
    z-index: 9999;
    top: var(--ttt-bar-top, 0);
    right: var(--ttt-bar-right, 0);
    bottom: var(--ttt-bar-bottom, auto);
    left: var(--ttt-bar-left, 0);
    width: min(var(--ttt-bar-width, 100%), 100vw);
    height: var(--ttt-bar-height, auto);
    max-width: 100vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: var(--ttt-bar-anchor, none);
}
.ttt-tour-bar.is-visible { opacity: 1; visibility: visible; }
.ttt-tour-bar-panel {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    overflow: auto;
    padding: 14px 22px;
    border: 1px solid var(--ttt-border);
    background: #fff;
    box-shadow: 0 8px 30px rgba(20, 42, 48, .15);
    pointer-events: auto;
    transition: transform var(--ttt-bar-speed, 450ms) ease, opacity var(--ttt-bar-speed, 450ms) ease;
}
.ttt-bar-display-click:not(.is-open) .ttt-tour-bar-panel,
.ttt-bar-display-hover:not(.is-open) .ttt-tour-bar-panel {
    opacity: 0;
    transform: var(--ttt-bar-closed, translateY(-110%));
    pointer-events: none;
}
.ttt-tour-bar.is-open .ttt-tour-bar-panel,
.ttt-bar-display-always .ttt-tour-bar-panel { opacity: 1; transform: none; }
.ttt-tour-bar-rows { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-width: 0; min-height: var(--ttt-row-min-height, auto); }
.ttt-tour-bar-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}
.ttt-tour-bar-element {
    display: flex;
    min-width: 0;
    align-items: center;
}
.ttt-tour-bar-element :where(h2, h3, p) { margin: 0; }
.ttt-tour-bar-element .ttt-card-image,
.ttt-tour-bar-element .ttt-card-media-slider { width: min(180px, 30vw); }
.ttt-tour-bar-element .ttt-card-image img,
.ttt-tour-bar-element .ttt-card-video,
.ttt-tour-bar-element .ttt-card-video-embed,
.ttt-tour-bar-element .ttt-card-video-embed iframe { width: 100%; height: 76px; object-fit: cover; }
.ttt-tour-bar-element .ttt-card-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.ttt-tour-bar-element .ttt-card-button { width: auto; min-height: 40px; }
.ttt-tour-bar-element .ttt-card-badges { position: static; }
.ttt-tour-bar-element .ttt-card-alternatives { margin: 0; padding: 0; border: 0; }
.ttt-tour-bar-trigger {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid var(--ttt-accent);
    border-radius: 8px;
    background: var(--ttt-accent);
    color: #fff;
    box-shadow: 0 6px 18px rgba(20, 42, 48, .18);
    cursor: pointer;
    pointer-events: auto;
    font: inherit;
    font-weight: 700;
    top: var(--ttt-trigger-top, 100%);
    right: var(--ttt-trigger-right, auto);
    bottom: var(--ttt-trigger-bottom, auto);
    left: var(--ttt-trigger-left, 50%);
    transform: var(--ttt-trigger-transform, translateX(-50%));
    writing-mode: var(--ttt-trigger-writing, horizontal-tb);
}
.ttt-tour-bar-trigger-icon { display: inline-flex; line-height: 1; }
.ttt-tour-bar-trigger-icon svg { width: 1em; height: 1em; fill: currentColor; }
.ttt-tour-bar-position-top:not(.is-docked) .ttt-tour-bar-trigger { top: 0; }
.ttt-tour-bar-position-top.is-docked .ttt-tour-bar-trigger { top: 100%; }
.ttt-tour-bar-maximise {
	position: absolute;
	z-index: 5;
	top: 8px;
	right: 8px;
	display: inline-grid;
	width: 38px;
	height: 38px;
	place-items: center;
	padding: 0;
	border: 1px solid var(--ttt-border);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	font: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}
.ttt-tour-bar.is-maximised {
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	max-width: 100vw;
	transform: none !important;
}
.ttt-tour-bar.is-maximised .ttt-tour-bar-panel { width: 100%; height: 100%; max-height: 100vh; }

.ttt-tour-bar.is-visible.ttt-bar-display-always.ttt-bar-animation-slide-down .ttt-tour-bar-panel,
.ttt-tour-bar.is-visible.is-open.ttt-bar-animation-slide-down .ttt-tour-bar-panel { animation: ttt-bar-slide-down var(--ttt-bar-speed, 450ms) both; }
.ttt-tour-bar.is-visible.ttt-bar-display-always.ttt-bar-animation-slide-up .ttt-tour-bar-panel,
.ttt-tour-bar.is-visible.is-open.ttt-bar-animation-slide-up .ttt-tour-bar-panel { animation: ttt-bar-slide-up var(--ttt-bar-speed, 450ms) both; }
.ttt-tour-bar.is-visible.ttt-bar-display-always.ttt-bar-animation-slide-left .ttt-tour-bar-panel,
.ttt-tour-bar.is-visible.is-open.ttt-bar-animation-slide-left .ttt-tour-bar-panel { animation: ttt-bar-slide-left var(--ttt-bar-speed, 450ms) both; }
.ttt-tour-bar.is-visible.ttt-bar-display-always.ttt-bar-animation-slide-right .ttt-tour-bar-panel,
.ttt-tour-bar.is-visible.is-open.ttt-bar-animation-slide-right .ttt-tour-bar-panel { animation: ttt-bar-slide-right var(--ttt-bar-speed, 450ms) both; }
.ttt-tour-bar.is-visible.ttt-bar-display-always.ttt-bar-animation-fade .ttt-tour-bar-panel,
.ttt-tour-bar.is-visible.is-open.ttt-bar-animation-fade .ttt-tour-bar-panel { animation: ttt-bar-fade var(--ttt-bar-speed, 450ms) both; }
.ttt-tour-bar.is-visible.ttt-bar-display-always.ttt-bar-animation-pop .ttt-tour-bar-panel,
.ttt-tour-bar.is-visible.is-open.ttt-bar-animation-pop .ttt-tour-bar-panel { animation: ttt-bar-pop var(--ttt-bar-speed, 450ms) both; }
@keyframes ttt-bar-slide-down { from { opacity: 0; transform: translateY(-100%); } }
@keyframes ttt-bar-slide-up { from { opacity: 0; transform: translateY(100%); } }
@keyframes ttt-bar-slide-left { from { opacity: 0; transform: translateX(100%); } }
@keyframes ttt-bar-slide-right { from { opacity: 0; transform: translateX(-100%); } }
@keyframes ttt-bar-fade { from { opacity: 0; } }
@keyframes ttt-bar-pop { from { opacity: 0; transform: scale(.85); } }

.ttt-tour-bar.is-exiting.ttt-bar-exit-slide-down .ttt-tour-bar-panel { animation: ttt-bar-exit-down var(--ttt-bar-exit-speed,350ms) both !important; }
.ttt-tour-bar.is-exiting.ttt-bar-exit-slide-up .ttt-tour-bar-panel { animation: ttt-bar-exit-up var(--ttt-bar-exit-speed,350ms) both !important; }
.ttt-tour-bar.is-exiting.ttt-bar-exit-slide-left .ttt-tour-bar-panel { animation: ttt-bar-exit-left var(--ttt-bar-exit-speed,350ms) both !important; }
.ttt-tour-bar.is-exiting.ttt-bar-exit-slide-right .ttt-tour-bar-panel { animation: ttt-bar-exit-right var(--ttt-bar-exit-speed,350ms) both !important; }
.ttt-tour-bar.is-exiting.ttt-bar-exit-fade .ttt-tour-bar-panel { animation: ttt-bar-exit-fade var(--ttt-bar-exit-speed,350ms) both !important; }
.ttt-tour-bar.is-exiting.ttt-bar-exit-pop .ttt-tour-bar-panel { animation: ttt-bar-exit-pop var(--ttt-bar-exit-speed,350ms) both !important; }
.ttt-tour-bar.is-exiting.ttt-bar-exit-none .ttt-tour-bar-panel { animation: none !important; }
@keyframes ttt-bar-exit-down { to { opacity: 0; transform: translateY(110%); } }
@keyframes ttt-bar-exit-up { to { opacity: 0; transform: translateY(-110%); } }
@keyframes ttt-bar-exit-left { to { opacity: 0; transform: translateX(-110%); } }
@keyframes ttt-bar-exit-right { to { opacity: 0; transform: translateX(110%); } }
@keyframes ttt-bar-exit-fade { to { opacity: 0; } }
@keyframes ttt-bar-exit-pop { to { opacity: 0; transform: scale(.85); } }

/* Entrance animations */
.ttt-animation-fade { animation: ttt-fade .55s both; }
.ttt-animation-slide-up { animation: ttt-slide-up .55s both; }
.ttt-animation-slide-left { animation: ttt-slide-left .55s both; }
.ttt-animation-zoom { animation: ttt-zoom .5s both; }
.ttt-animation-stagger { animation: ttt-fade .5s both; animation-delay: calc(var(--ttt-card-index, 0) * 80ms); }
@keyframes ttt-fade { from { opacity: 0; } }
@keyframes ttt-slide-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes ttt-slide-left { from { opacity: 0; transform: translateX(24px); } }
@keyframes ttt-zoom { from { opacity: 0; transform: scale(.92); } }

@media (max-width: 1024px) {
    .ttt-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ttt-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ttt-card-carousel { --ttt-carousel-items: 2; }
}

@media (max-width: 767px) {
    .ttt-card-grid { grid-template-columns: 1fr; }
    .ttt-card-buttons { grid-template-columns: 1fr; }
    .ttt-card-buttons > * { grid-column: 1; width: 100%; }
	.ttt-basket-product-main { grid-template-columns: 86px minmax(0,1fr); gap: 12px; }
	.ttt-basket-product-image img { height: 86px; }
    .ttt-card-carousel { --ttt-carousel-items: 1; }
	.ttt-card-orientation-landscape-left,
	.ttt-card-orientation-landscape-right {
		--ttt-card-display: flex;
		--ttt-card-columns: none;
		--ttt-card-image-column: auto;
		--ttt-card-body-column: auto;
		--ttt-card-image-row: auto;
		--ttt-card-image-height: auto;
	}
    .ttt-carousel-prev { left: 8px; }
    .ttt-carousel-next { right: 8px; }
    .ttt-search-panel,
    .ttt-search-results { width: 100%; }
    .ttt-has-mobile-drawer .ttt-filter-toggle { display: inline-flex; }
    .ttt-has-mobile-drawer .ttt-filters-form {
        position: fixed;
        z-index: 100002;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(90vw, 420px);
        overflow-y: auto;
        border-radius: 0;
        transform: translateX(105%);
        transition: transform .25s ease;
    }
    .ttt-has-mobile-drawer.is-open .ttt-filters-form { transform: translateX(0); }
    .ttt-has-mobile-drawer .ttt-filter-drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
    .ttt-filter-close { border: 0; background: transparent; font-size: 2rem; cursor: pointer; }
    .ttt-has-mobile-drawer .ttt-filter-overlay { position: fixed; z-index: 100001; inset: 0; background: rgba(0, 0, 0, .45); }
    .ttt-has-mobile-drawer.is-open .ttt-filter-overlay { display: block; }
    .ttt-filter-fields,
    .ttt-search-lite .ttt-filter-fields { grid-template-columns: 1fr; }
    body.ttt-filter-drawer-open { overflow: hidden; }
    .ttt-tour-checkout { padding: 18px; }
    .ttt-collection-field { flex-basis: 100%; max-width: 100%; }
	.ttt-email-enquiry-fields { grid-template-columns: 1fr; }
	.ttt-email-message-field,
	.ttt-email-enquiry-status { grid-column: 1; }
	.ttt-checkout-actions { align-items: stretch; }
	.ttt-checkout-action { width: 100%; }
	.ttt-basket-checkout form.checkout { display: block; }
	.ttt-basket-checkout form.checkout #order_review_heading { margin-top: 28px; }
	.ttt-tour-bar { max-height: 100vh; }
	.ttt-tour-bar-panel { padding: 12px 14px; }
	.ttt-tour-bar-row { gap: 10px; }
	.ttt-tour-bar-element { flex: 1 1 100%; }
	.ttt-tour-bar-element .ttt-card-buttons { width: 100%; }
	.ttt-tour-bar-element .ttt-card-button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    .ttt-tour-card,
    .ttt-card-image img,
    .ttt-carousel-track,
	.ttt-media-track,
	.ttt-tour-bar,
	.ttt-tour-bar-panel { transition: none !important; animation: none !important; }
	.ttt-carousel-mode-marquee .ttt-carousel-track { animation: none !important; }
}

.ttt-tour-grid-widget :focus-visible,.ttt-tour-filters-widget :focus-visible,.ttt-tour-checkout :focus-visible,.ttt-tour-bar :focus-visible,.ttt-email-enquiry-modal :focus-visible,.ttt-waitlist-modal :focus-visible{outline:3px solid #1d4ed8;outline-offset:3px}
.ttt-reservation-notice{margin:0 0 18px;padding:12px 14px;border-left:4px solid currentColor;background:rgba(0,0,0,.045)}
.ttt-tour-grid-widget .screen-reader-text,.ttt-card-media-slider .screen-reader-text,.ttt-card-carousel .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
