/* ==========================================================================
   Tsalanang Tours – Mobile-First Frontend Styles
   ========================================================================== */

:root {
    --tst-green: #4CAF50;
    --tst-green-dark: #388E3C;
    --tst-orange: #E8A030;
    --tst-orange-dark: #C7882A;
    --tst-dark: #1a1a2e;
    --tst-gray-900: #212121;
    --tst-gray-700: #616161;
    --tst-gray-500: #9e9e9e;
    --tst-gray-300: #e0e0e0;
    --tst-gray-100: #f5f5f5;
    --tst-white: #ffffff;
    --tst-radius: 12px;
    --tst-radius-sm: 8px;
    --tst-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --tst-shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --tst-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --tst-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Container */
.tst-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .tst-container { padding: 0 2rem; }
}

/* ==========================================================================
   Tour Card
   ========================================================================== */

.tst-tour-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
}

@media (min-width: 600px) {
    .tst-tour-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .tst-tour-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .tst-tour-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.tst-tour-card {
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    overflow: hidden;
    box-shadow: var(--tst-shadow);
    transition: transform var(--tst-transition), box-shadow var(--tst-transition);
}

.tst-tour-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tst-shadow-lg);
}

.tst-tour-card__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.tst-tour-card__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--tst-gray-100);
}

.tst-tour-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tst-transition);
}

.tst-tour-card:hover .tst-tour-card__img {
    transform: scale(1.05);
}

.tst-tour-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--tst-gray-500);
}

.tst-tour-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--tst-orange);
    color: var(--tst-white);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tst-tour-card__duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.65);
    color: var(--tst-white);
    padding: 0.25rem 0.6rem;
    border-radius: var(--tst-radius-sm);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(4px);
}

.tst-tour-card__body {
    padding: 1.25rem;
}

.tst-tour-card__location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--tst-gray-700);
    margin-bottom: 0.5rem;
}

.tst-tour-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tst-gray-900);
    margin: 0 0 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tst-tour-card__reviews {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.tst-tour-card__reviews-stars {
    display: inline-flex;
    gap: 0.1rem;
}

.tst-tour-card__reviews-count {
    font-size: 0.75rem;
    color: var(--tst-gray-600);
}

.tst-tour-card__excerpt {
    font-size: 0.875rem;
    color: var(--tst-gray-700);
    margin: 0 0 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tst-tour-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--tst-gray-300);
}

.tst-tour-card__price-label {
    font-size: 0.75rem;
    color: var(--tst-gray-500);
    display: block;
}

.tst-tour-card__price-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--tst-green-dark);
}

.tst-tour-card__price-per {
    font-size: 0.75rem;
    color: var(--tst-gray-500);
}

.tst-tour-card__cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tst-green);
    white-space: nowrap;
}

/* ==========================================================================
   Search Form
   ========================================================================== */

.tst-search {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    padding: 1.5rem;
    box-shadow: var(--tst-shadow);
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .tst-search--horizontal {
        flex-direction: row;
        align-items: flex-end;
    }

    .tst-search--horizontal .tst-search__field {
        flex: 1;
    }

    .tst-search--horizontal .tst-search__submit {
        flex-shrink: 0;
    }
}

.tst-search__field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tst-gray-700);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tst-search__field input,
.tst-search__field select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--tst-gray-300);
    border-radius: var(--tst-radius-sm);
    font-size: 0.95rem;
    color: var(--tst-gray-900);
    background: var(--tst-white);
    transition: border-color var(--tst-transition);
    font-family: var(--tst-font);
}

.tst-search__field input:focus,
.tst-search__field select:focus {
    outline: none;
    border-color: var(--tst-green);
}

/* Search field with suggestion dropdown */
.tst-search__field--keyword {
    position: relative;
}

/* ==========================================================================
   Autocomplete Suggestions Dropdown
   ========================================================================== */

.tst-suggest {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 4px;
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    max-height: 420px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--tst-gray-300);
}

.tst-suggest--open {
    display: block;
    animation: tst-suggest-enter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tst-suggest-enter {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tst-suggest__empty {
    padding: 1.25rem 1rem;
    text-align: center;
    color: var(--tst-gray-500);
    font-size: 0.9rem;
}

.tst-suggest__group {
    padding: 0.35rem 0;
}

.tst-suggest__group + .tst-suggest__group {
    border-top: 1px solid var(--tst-gray-300);
}

.tst-suggest__group-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--tst-gray-500);
}

.tst-suggest__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--tst-gray-900);
    transition: background-color 0.15s;
    cursor: pointer;
}

.tst-suggest__item:hover,
.tst-suggest__item--active {
    background: var(--tst-gray-100);
    text-decoration: none;
    color: var(--tst-gray-900);
}

.tst-suggest__thumb {
    width: 44px;
    height: 44px;
    border-radius: var(--tst-radius-sm);
    object-fit: cover;
    flex-shrink: 0;
    background: var(--tst-gray-100);
}

.tst-suggest__thumb--empty,
.tst-suggest__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tst-gray-500);
}

.tst-suggest__info {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
}

.tst-suggest__title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tst-suggest__meta {
    font-size: 0.78rem;
    color: var(--tst-gray-500);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tst-suggest__meta-loc {
    color: var(--tst-green-dark);
}

.tst-suggest__price {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tst-green-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.tst-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: var(--tst-radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tst-transition);
    text-decoration: none;
    font-family: var(--tst-font);
}

.tst-btn--primary {
    background: var(--tst-green);
    color: var(--tst-white);
}

.tst-btn--primary:hover {
    background: var(--tst-green-dark);
    transform: translateY(-1px);
}

/* ==========================================================================
   Booking Widget (unified: date + tickets + total + book now)
   ========================================================================== */

.tst-booking-widget {
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: var(--tst-shadow-lg);
    border: 1px solid var(--tst-gray-300);
    overflow: visible;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

/* Date selection bar */
.tst-booking__date-bar {
    width: 100%;
}

.tst-booking__date-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--tst-green);
    color: var(--tst-white);
    border-radius: var(--tst-radius) var(--tst-radius) 0 0;
}

.tst-booking__date-label {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.tst-booking__date-picker-wrap {
    position: relative;
    flex: 1;
    min-width: 180px;
}

.tst-booking__date-input {
    width: 100%;
    padding: 0.55rem 2.5rem 0.55rem 0.85rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--tst-radius-sm);
    font-size: 0.9rem;
    font-family: var(--tst-font);
    background: var(--tst-white);
    color: var(--tst-gray-900);
    cursor: pointer;
    transition: border-color var(--tst-transition);
}

.tst-booking__date-input:focus {
    outline: none;
    border-color: var(--tst-green-dark);
}

.tst-booking__date-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tst-gray-500);
    pointer-events: none;
}

.tst-booking__check-btn {
    background: var(--tst-gray-900) !important;
    color: var(--tst-white) !important;
    padding: 0.55rem 1.25rem !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
    border-radius: var(--tst-radius-sm) !important;
}

.tst-booking__check-btn:hover {
    background: var(--tst-dark) !important;
}

/* Calendar popup */
.tst-calendar-backdrop {
    display: none;
}

.tst-calendar {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    transform: none;
    z-index: 1000;
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: 0 12px 48px rgba(0,0,0,0.18), 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid var(--tst-gray-300);
    width: 320px;
    max-height: none;
    overflow-y: visible;
    padding: 0.75rem;
    animation: tst-cal-enter 0.2s ease;
    pointer-events: auto;
}

.tst-calendar button,
.tst-calendar select {
    font: inherit;
    margin: 0;
}

.tst-calendar-backdrop {
    display: none;
}

@keyframes tst-cal-enter {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .tst-calendar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 9998;
    }

    .tst-calendar {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999;
        width: min(calc(100vw - 2rem), 360px);
        max-height: min(80vh, 560px);
        overflow-y: auto;
        animation: tst-cal-enter-modal 0.22s ease;
    }

    @keyframes tst-cal-enter-modal {
        from { opacity: 0; transform: translate(-50%, -48%); }
        to { opacity: 1; transform: translate(-50%, -50%); }
    }
}

.tst-calendar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.tst-calendar__nav {
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border: none;
    background: var(--tst-gray-100);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--tst-gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tst-transition);
    line-height: 1;
}

.tst-calendar__nav:hover {
    background: var(--tst-green);
    color: var(--tst-white);
}

.tst-calendar__month-year {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.tst-calendar__month-select,
.tst-calendar__year-select {
    padding: 0.25rem 0.4rem;
    min-height: 32px;
    border: 1px solid var(--tst-gray-300);
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: var(--tst-font);
    color: var(--tst-gray-900);
    background: var(--tst-white);
    cursor: pointer;
}

.tst-calendar__weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--tst-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
    padding: 0.4rem 0;
}

.tst-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.tst-calendar__day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--tst-gray-900);
    cursor: pointer;
    transition: all 0.15s;
    font-family: var(--tst-font);
}

.tst-calendar__day:hover:not(:disabled) {
    background: rgba(76, 175, 80, 0.12);
    color: var(--tst-green-dark);
}

.tst-calendar__day--blank {
    cursor: default;
}

.tst-calendar__day--past {
    color: var(--tst-gray-300);
    cursor: not-allowed;
}

.tst-calendar__day--available {
    background: rgba(76, 175, 80, 0.1);
    color: var(--tst-green-dark);
    font-weight: 600;
}

.tst-calendar__day--available:hover:not(:disabled) {
    background: var(--tst-green);
    color: var(--tst-white);
}

.tst-calendar__day--soldout {
    background: rgba(244, 67, 54, 0.06);
    color: var(--tst-gray-500);
    text-decoration: line-through;
    cursor: not-allowed;
}

.tst-calendar__day--unavailable {
    color: var(--tst-gray-300);
    cursor: not-allowed;
}

.tst-calendar__day--selected {
    background: var(--tst-green) !important;
    color: var(--tst-white) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* Ticket types table inside booking widget */
.tst-booking__tickets {
    overflow-x: auto;
}

.tst-booking__ticket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tst-booking__ticket-table th {
    text-align: left;
    padding: 0.75rem 1.25rem;
    background: var(--tst-gray-100);
    color: var(--tst-gray-700);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 2px solid var(--tst-gray-300);
}

.tst-booking__ticket-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tst-gray-100);
    vertical-align: middle;
}

.tst-booking__ticket-table tbody tr {
    transition: background-color 0.15s;
}

.tst-booking__ticket-table tbody tr:hover {
    background: rgba(76, 175, 80, 0.02);
}

.tst-booking__ticket-name {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tst-booking__ticket-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(76, 175, 80, 0.08);
    border-radius: 10px;
    color: var(--tst-green-dark);
    flex-shrink: 0;
}

.tst-booking__ticket-name strong {
    font-weight: 600;
    font-size: 0.9rem;
}

.tst-booking__ticket-name small {
    color: var(--tst-gray-500);
    font-size: 0.78rem;
}

.tst-booking__ticket-price {
    font-weight: 700;
    font-size: 1rem;
    color: var(--tst-gray-900);
    white-space: nowrap;
}

/* Availability tracker (progress bar) */
.tst-avail-tracker {
    min-width: 120px;
}

.tst-avail-tracker__count {
    font-weight: 800;
    font-size: 1rem;
    color: var(--tst-green-dark);
    margin-right: 0.25rem;
}

.tst-avail-tracker__label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--tst-gray-700);
}

.tst-avail-tracker__sold {
    display: block;
    font-size: 0.72rem;
    color: var(--tst-gray-500);
    margin-top: 0.15rem;
}

.tst-avail-tracker__bar {
    height: 4px;
    background: var(--tst-gray-200, #eee);
    border-radius: 4px;
    margin-top: 0.35rem;
    overflow: hidden;
}

.tst-avail-tracker__fill {
    height: 100%;
    background: var(--tst-green);
    border-radius: 4px;
    transition: width 0.4s ease;
    min-width: 4px;
}

.tst-booking__check-dates {
    font-size: 0.82rem;
    color: var(--tst-gray-500);
    font-style: italic;
}

/* Pax grid fallback (when no ticket types) */
.tst-booking__pax {
    padding: 1.25rem;
}

/* Availability status banner */
.tst-booking__avail-status {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--tst-gray-100);
    background: rgba(76, 175, 80, 0.03);
}

.tst-avail-ok {
    color: var(--tst-green-dark);
    font-weight: 600;
}

.tst-avail-full {
    color: #d32f2f;
    font-weight: 600;
}

.tst-avail-loading {
    color: var(--tst-gray-500);
    font-style: italic;
}

.tst-avail-err {
    color: #d32f2f;
}

/* Time row */
.tst-booking__time-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--tst-gray-100);
}

.tst-booking__time-row label {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tst-booking__time-row select {
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius-sm);
    font-size: 0.9rem;
    font-family: var(--tst-font);
}

/* Footer: quantity + total + book now */
.tst-booking__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-top: 2px solid var(--tst-gray-300);
    background: var(--tst-gray-100);
    border-radius: 0 0 var(--tst-radius) var(--tst-radius);
}

.tst-booking__footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tst-total-qty {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--tst-gray-900);
}

.tst-total-sep {
    margin: 0 0.25rem;
    color: var(--tst-gray-500);
}

.tst-total-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tst-gray-700);
}

.tst-total-amount {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--tst-green-dark);
}

.tst-form-field {
    margin-bottom: 1rem;
}

.tst-form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tst-gray-700);
    margin-bottom: 0.4rem;
}

.tst-form-field label small {
    font-weight: 400;
    color: var(--tst-gray-500);
}

.tst-form-field select,
.tst-form-field input[type="date"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--tst-gray-300);
    border-radius: var(--tst-radius-sm);
    font-size: 0.95rem;
    font-family: var(--tst-font);
    background: var(--tst-white);
}

.tst-form-field select:focus,
.tst-form-field input:focus {
    outline: none;
    border-color: var(--tst-green);
}

.tst-pax-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 400px) {
    .tst-pax-grid { grid-template-columns: repeat(3, 1fr); }
}

.tst-qty-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--tst-gray-300);
    border-radius: 50px;
    overflow: hidden;
    background: var(--tst-white);
    transition: border-color var(--tst-transition);
}

.tst-qty-control:focus-within {
    border-color: var(--tst-green);
}

.tst-qty-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: var(--tst-gray-100);
    color: var(--tst-gray-700);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tst-transition);
    line-height: 1;
}

.tst-qty-btn:hover {
    background: var(--tst-green);
    color: var(--tst-white);
}

.tst-qty-input {
    width: 2.75rem;
    text-align: center;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.35rem 0;
    -moz-appearance: textfield;
    font-family: var(--tst-font);
    color: var(--tst-gray-900);
    background: transparent;
}

.tst-qty-input::-webkit-outer-spin-button,
.tst-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Extras */
.tst-extras {
    margin-bottom: 1rem;
    padding: 0.75rem 1.25rem 0;
    border-top: 1px solid var(--tst-gray-300);
}

.tst-extras h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--tst-gray-900);
}

.tst-extra-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--tst-gray-100);
}

.tst-extra-name {
    font-size: 0.85rem;
    color: var(--tst-gray-900);
}

.tst-extra-price {
    font-size: 0.85rem;
    color: var(--tst-gray-500);
    margin-left: 0.5rem;
}

/* Book button */
.tst-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--tst-green);
    color: var(--tst-white);
    border: none;
    border-radius: var(--tst-radius-sm);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--tst-transition);
    font-family: var(--tst-font);
    white-space: nowrap;
    flex-shrink: 0;
}

.tst-book-btn:hover {
    background: var(--tst-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.35);
}

/* ==========================================================================
   Single Tour
   ========================================================================== */

.tst-single {
    width: 100%;
}

/* Title bar */
.tst-single__titlebar {
    background: var(--tst-gray-900, #212121);
    padding: 2rem 0 1.5rem;
    border-bottom: none;
}

.tst-single__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
    color: #fff;
}

@media (min-width: 768px) {
    .tst-single__title { font-size: 1.85rem; }
}

.tst-single__location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.tst-single__location-badge svg {
    color: rgba(255, 255, 255, 0.6);
}

/* Top layout: gallery + info sidebar (two-column grid on desktop) */
.tst-single__top-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0 1rem;
}

/* Mobile: meta + trust under gallery (same order as desktop main column), then booking, then sidebar */
@media (max-width: 767px) {
    .tst-single__hero-stack {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        /* Replaces .tst-single__top-layout padding when it uses display:contents */
        padding-top: 2rem;
    }

    .tst-single__hero-stack > .tst-single__top-layout {
        display: contents;
    }

    .tst-single__hero-stack .tst-single__gallery-col {
        order: 1;
    }

    .tst-single__hero-stack > .tst-single__meta-bar {
        order: 2;
    }

    .tst-single__hero-stack > .tst-trust-bar {
        order: 3;
    }

    .tst-single__hero-stack > .tst-single__booking-section {
        order: 4;
    }

    .tst-single__hero-stack .tst-single__info-col {
        order: 5;
    }

    .tst-single__meta-pill {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem 1rem;
        align-items: center;
        justify-items: start;
    }

    .tst-single__meta-item {
        white-space: normal;
    }

    .tst-single .tst-trust-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.45rem;
    }

    .tst-single .tst-trust-bar__stars {
        justify-content: center;
    }

    .tst-single .tst-trust-bar__rating {
        font-size: 1.65rem;
    }

    .tst-single .tst-trust-bar__google-line {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.35rem 0.5rem;
        width: 100%;
    }

    .tst-single .tst-trust-bar__google-line .tst-trust-bar__text {
        line-height: 1.35;
    }

    .tst-single .tst-trust-bar__google-line .tst-trust-bar__google {
        margin-left: 0;
        flex-shrink: 0;
    }

    .tst-single .tst-trust-bar__sep {
        margin: 0.15rem 0;
    }

    .tst-single .tst-trust-bar__tripadvisor {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .tst-single .tst-trust-bar__google-line {
        display: contents;
    }

    .tst-single__top-layout {
        display: grid;
        grid-template-columns: 1fr 320px;
        gap: 2rem;
        align-items: start;
    }
}

.tst-single__gallery-col {
    min-width: 0;
}

.tst-single__info-col {
    /* On mobile: natural document flow (below gallery) */
}

@media (min-width: 768px) {
    .tst-single__info-col {
        position: sticky;
        top: 5rem;
    }
}

/* Gallery Slider */
.tst-gallery-slider {
    position: relative;
    background: var(--tst-white);
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius);
    box-shadow: var(--tst-shadow);
    padding: 1rem;
}

.tst-gallery-slider__main {
    position: relative;
    border-radius: var(--tst-radius);
    overflow: hidden;
    background: var(--tst-gray-100);
    aspect-ratio: 4/3;
}

.tst-gallery-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tst-gallery-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all var(--tst-transition);
    z-index: 5;
    opacity: 1;
}

.tst-gallery-slider__arrow svg {
    stroke: #fff;
}

.tst-gallery-slider__arrow:hover {
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.tst-gallery-slider__arrow--prev { left: 0.75rem; }
.tst-gallery-slider__arrow--next { right: 0.75rem; }

.tst-gallery-slider__thumbs-wrap {
    margin-top: 0.75rem;
}

.tst-gallery-slider__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.tst-gallery-slider__thumb-item {
    position: relative;
    border-radius: var(--tst-radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--tst-transition);
}

.tst-gallery-slider__thumb-item--hidden {
    display: none;
}

.tst-gallery-slider__thumb-item:hover,
.tst-gallery-slider__thumb-item--active {
    border-color: var(--tst-green);
}

.tst-gallery-slider__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tst-gallery-slider__more {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    color: var(--tst-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-weight: 700;
    font-size: 0.9rem;
    backdrop-filter: blur(2px);
}

/* Lightbox */
.tst-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tst-lb-enter 0.25s ease;
}

@keyframes tst-lb-enter {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tst-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: var(--tst-white);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.tst-lightbox__close:hover {
    background: rgba(255,255,255,0.3);
}

.tst-lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--tst-radius);
    user-select: none;
}

.tst-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: var(--tst-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.tst-lightbox__nav:hover {
    background: rgba(255,255,255,0.3);
}

.tst-lightbox__prev { left: 1rem; }
.tst-lightbox__next { right: 1rem; }

.tst-lightbox__counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

/* Why Book With Us box */
.tst-why-book {
    background: var(--tst-white);
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.tst-why-book h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--tst-gray-900);
}

.tst-why-book__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tst-why-book__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    color: var(--tst-gray-700);
}

/* Got a Question? box */
.tst-question-box {
    background: var(--tst-white);
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius);
    padding: 1.25rem;
}

.tst-question-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--tst-gray-900);
}

.tst-question-box__text {
    font-size: 0.85rem;
    color: var(--tst-gray-700);
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.tst-question-box__phone,
.tst-question-box__email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--tst-gray-900);
    text-decoration: none;
    padding: 0.35rem 0;
}

.tst-question-box__phone:hover,
.tst-question-box__email:hover {
    color: var(--tst-green);
}

.tst-question-box__wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem;
    background: #25D366;
    color: var(--tst-white);
    border-radius: var(--tst-radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 0.75rem;
    transition: background var(--tst-transition);
}

.tst-question-box__wa:hover {
    background: #1da851;
    color: var(--tst-white);
}

.tst-question-box__advice-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.7rem;
    background: var(--tst-green);
    color: var(--tst-white);
    border: none;
    border-radius: var(--tst-radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 0.75rem;
    cursor: pointer;
    transition: all var(--tst-transition);
    font-family: var(--tst-font);
}

.tst-question-box__advice-btn:hover {
    background: var(--tst-green-dark);
    color: var(--tst-white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.25);
}

.tst-single__booking-section {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .tst-single__meta-bar,
    .tst-trust-bar,
    .tst-single__booking-section {
        width: calc(100% - 320px - 2rem);
        max-width: calc(100% - 320px - 2rem);
    }

    .tst-single__booking-section .tst-booking-widget {
        margin-bottom: 0;
    }
}

/* Meta bar */
.tst-single__meta-bar {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
}

.tst-single__meta-pill {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: var(--tst-white);
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius);
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.tst-single__meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--tst-gray-700);
    white-space: nowrap;
}

.tst-single__meta-item svg {
    color: var(--tst-gray-500);
    flex-shrink: 0;
}

.tst-single__meta-sep {
    color: var(--tst-gray-300);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1;
}

.tst-tour-reviews-widget {
    background: var(--tst-white);
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius);
    padding: 1.5rem;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

.tst-tour-reviews-widget__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tst-tour-reviews-widget__header h2 {
    margin: 0 0 0.35rem;
    padding: 0;
    border: none;
}

.tst-tour-reviews-widget__header p {
    margin: 0;
    color: var(--tst-gray-500);
}

.tst-tour-reviews-widget__kicker {
    display: inline-block;
    margin-bottom: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tst-green-dark);
}

.tst-tour-reviews-widget__cta,
.tst-tour-reviews-widget__summary-link {
    color: var(--tst-green);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.tst-tour-reviews-widget__cta:hover,
.tst-tour-reviews-widget__summary-link:hover {
    text-decoration: underline;
}

.tst-tour-reviews-widget__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    background: var(--tst-gray-100);
    border-radius: var(--tst-radius-sm);
}

.tst-tour-reviews-widget__score {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
}

.tst-tour-reviews-widget__score-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--tst-gray-900);
}

.tst-tour-reviews-widget__score-text {
    font-size: 0.88rem;
    color: var(--tst-gray-600);
}

.tst-tour-reviews-widget__carousel {
    position: relative;
}

.tst-tour-reviews-widget__track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.tst-review-card--tour {
    min-width: 0;
}

/* Mobile: horizontal swipe carousel (matches homepage reviews) */
@media (max-width: 767px) {
    .tst-tour-reviews-widget__track {
        display: flex;
        gap: 1.25rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        padding: 0.5rem 0.15rem 1rem;
        margin: 0 -0.15rem;
    }

    .tst-tour-reviews-widget__track::-webkit-scrollbar {
        display: none;
    }

    .tst-tour-reviews-widget__track > .tst-review-card {
        flex: 0 0 min(22rem, calc(100vw - 4.5rem));
        scroll-snap-align: start;
        max-width: min(22rem, calc(100vw - 4.5rem));
    }

    .tst-tour-reviews-widget__carousel-nav {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0.35rem;
    }

    .tst-tour-reviews-widget__nav-btn {
        width: 42px;
        height: 42px;
        padding: 0;
        appearance: none;
        -webkit-appearance: none;
        border: 1px solid var(--tst-gray-300);
        background: var(--tst-white);
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--tst-gray-700);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
        transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    .tst-tour-reviews-widget__nav-btn svg {
        display: block;
        stroke: currentColor;
        fill: none;
    }

    .tst-tour-reviews-widget__nav-btn:hover:not(:disabled) {
        background: var(--tst-green);
        color: var(--tst-white);
        border-color: var(--tst-green);
    }

    .tst-tour-reviews-widget__nav-btn:disabled {
        opacity: 0.42;
        cursor: default;
        box-shadow: none;
    }
}

@media (max-width: 600px) {
    .tst-tour-reviews-widget__track > .tst-review-card {
        flex-basis: min(86vw, 20rem);
        max-width: min(86vw, 20rem);
    }
}

@media (min-width: 768px) {
    .tst-tour-reviews-widget__carousel-nav {
        display: none;
    }
}

/* Terms notice */
.tst-terms-notice {
    background: var(--tst-gray-100);
    padding: 1.25rem 1.5rem;
    border-radius: var(--tst-radius);
    font-size: 0.9rem;
    color: var(--tst-gray-700);
    text-align: center;
}

.tst-terms-notice a {
    color: var(--tst-green);
    font-weight: 600;
}

.tst-terms-notice em {
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
    opacity: 0.7;
}

/* Map embed */
.tst-map-embed {
    border-radius: var(--tst-radius);
    overflow: hidden;
}

.tst-map-embed iframe {
    display: block;
}

/* Reviews header */
.tst-reviews__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.tst-reviews__header h2 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.tst-btn--sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Related tours */
.tst-related-tours {
    padding-top: 2rem;
    border-top: 1px solid var(--tst-gray-300);
}

/* Sections */
.tst-section {
    margin-bottom: 2.5rem;
}

.tst-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tst-gray-900);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--tst-gray-100);
}

.tst-prose {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--tst-gray-700);
}

.tst-prose p { margin: 0 0 1.25rem; }

/* Gallery */
.tst-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .tst-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

.tst-gallery__item {
    margin: 0;
    border-radius: var(--tst-radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.tst-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tst-transition);
}

.tst-gallery__item:hover .tst-gallery__img {
    transform: scale(1.08);
}

/* Check lists */
.tst-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tst-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--tst-gray-700);
}

.tst-check-list li svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

/* Inclusions grid */
.tst-inclusions__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 600px) {
    .tst-inclusions__grid { grid-template-columns: 1fr 1fr; }
}

.tst-inclusions__grid h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--tst-gray-900);
}

/* Timeline / Itinerary */
.tst-timeline__item {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    position: relative;
}

.tst-timeline__item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 1.25rem;
    top: 2.5rem;
    bottom: 0;
    width: 2px;
    background: var(--tst-gray-300);
}

.tst-timeline__marker {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tst-green);
    color: var(--tst-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.tst-timeline__time {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tst-green);
    text-transform: uppercase;
}

.tst-timeline__content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0.25rem 0 0.35rem;
    color: var(--tst-gray-900);
}

.tst-timeline__content p {
    font-size: 0.9rem;
    color: var(--tst-gray-700);
    margin: 0;
    line-height: 1.5;
}

.tst-timeline__desc.tst-prose {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.tst-timeline__desc.tst-prose p:last-child {
    margin-bottom: 0;
}

.tst-timeline__desc.tst-prose ul,
.tst-timeline__desc.tst-prose ol {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
}

.tst-timeline__desc.tst-prose li {
    margin-bottom: 0.25rem;
}

/* FAQ Accordion */
.tst-accordion__item {
    border: 1px solid var(--tst-gray-300);
    border-radius: var(--tst-radius-sm);
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.tst-accordion__question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--tst-gray-900);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tst-accordion__question::-webkit-details-marker {
    display: none;
}

.tst-accordion__question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--tst-gray-500);
    transition: transform var(--tst-transition);
}

.tst-accordion__item[open] .tst-accordion__question::after {
    transform: rotate(45deg);
}

.tst-accordion__answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.9rem;
    color: var(--tst-gray-700);
    line-height: 1.6;
}

/* Contact grid */
.tst-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 600px) {
    .tst-contact__grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

.tst-contact__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.9rem;
    color: var(--tst-gray-700);
}

.tst-contact__item a {
    color: var(--tst-green);
    text-decoration: none;
}

.tst-contact__item a:hover {
    text-decoration: underline;
}

/* Video */
.tst-video__embed {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--tst-radius);
    overflow: hidden;
    background: var(--tst-gray-900);
}

.tst-video__embed iframe,
.tst-video__embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ==========================================================================
   Archive – base styles (layout overrides in theme custom.css)
   ========================================================================== */

.tst-archive {
    width: 100%;
}

/* Pagination */
.tst-pagination {
    text-align: center;
    padding: 2rem 0;
}

.tst-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tst-pagination a,
.tst-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--tst-radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--tst-transition);
}

.tst-pagination a {
    background: var(--tst-white);
    color: var(--tst-gray-700);
    border: 1px solid var(--tst-gray-300);
}

.tst-pagination a:hover {
    background: var(--tst-green);
    color: var(--tst-white);
    border-color: var(--tst-green);
}

.tst-pagination .current {
    background: var(--tst-green);
    color: var(--tst-white);
    border: 1px solid var(--tst-green);
}

/* No results */
.tst-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--tst-gray-500);
}

/* Status badge */
.tst-status {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--tst-gray-100);
    color: var(--tst-gray-700);
}

.tst-status--confirmed { background: #E8F5E9; color: #2E7D32; }
.tst-status--pending { background: #FFF3E0; color: #E65100; }
.tst-status--cancelled { background: #FFEBEE; color: #C62828; }

/* Category / Location / Activity term grid */
.tst-term-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
}

@media (min-width: 600px) {
    .tst-term-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
    .tst-term-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .tst-term-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.tst-term-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--tst-radius);
    background: var(--tst-white);
    box-shadow: var(--tst-shadow);
    overflow: hidden;
    text-decoration: none;
    color: var(--tst-gray-900);
    transition: transform var(--tst-transition), box-shadow var(--tst-transition);
}

.tst-term-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tst-shadow-lg);
}

.tst-term-card__image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--tst-gray-100);
}

.tst-term-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--tst-transition);
}

.tst-term-card:hover .tst-term-card__image img {
    transform: scale(1.05);
}

.tst-term-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: var(--tst-gray-100);
    color: var(--tst-green);
    font-size: 2.5rem;
}

.tst-term-card__body {
    padding: 1.25rem;
    text-align: center;
}

.tst-term-card__name {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--tst-gray-900);
}

.tst-term-card__desc {
    font-size: 0.9rem;
    color: var(--tst-gray-700);
    line-height: 1.5;
    margin: 0 0 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tst-term-card__count {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tst-green);
    background: rgba(76,175,80,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
}

/* My bookings */
.tst-bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tst-booking-card {
    display: flex;
    gap: 1rem;
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: var(--tst-shadow);
    overflow: hidden;
}

.tst-booking-card__image {
    width: 120px;
    flex-shrink: 0;
}

.tst-booking-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tst-booking-card__info {
    padding: 1rem;
    flex: 1;
}

.tst-booking-card__info h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

.tst-booking-card__info h3 a {
    color: var(--tst-gray-900);
    text-decoration: none;
}

.tst-booking-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--tst-gray-500);
    margin-bottom: 0.5rem;
}

.tst-booking-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tst-booking-card__total {
    font-weight: 700;
    color: var(--tst-green-dark);
}

.tst-booking-card__pin {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--tst-gray-500);
}

.tst-booking__ticket-limit {
    display: inline-block;
    font-size: 0.875rem;
    color: var(--tst-gray-700);
}

.tst-booking-lookup {
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: var(--tst-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tst-booking-lookup h3 {
    margin: 0 0 0.5rem;
}

.tst-booking-lookup__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.tst-bookings-error {
    margin: 0 0 1rem;
    color: #b42318;
    font-weight: 600;
}

/* Form feedback (enquiry, lookup, etc.) — visible on the front end (not wp-admin .notice) */
.tst-alert {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    border-radius: var(--tst-radius);
    margin: 0 0 1.25rem;
    border: 2px solid var(--tst-gray-300);
    background: var(--tst-gray-100);
    animation: tst-alert-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tst-alert-in {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.tst-alert--success {
    border-color: var(--tst-green);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.12) 0%, rgba(232, 160, 48, 0.08) 100%);
    box-shadow: 0 8px 28px rgba(76, 175, 80, 0.15);
}

.tst-alert--error {
    border-color: #e57373;
    background: #fff5f5;
    box-shadow: 0 4px 20px rgba(183, 28, 28, 0.08);
}

.tst-alert__icon {
    flex-shrink: 0;
    line-height: 0;
    color: var(--tst-green);
}

.tst-alert--error .tst-alert__icon {
    color: #c62828;
}

.tst-alert__icon-svg {
    display: block;
}

.tst-alert__body {
    min-width: 0;
}

.tst-alert__title {
    display: block;
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
    color: var(--tst-gray-900);
}

.tst-alert--success .tst-alert__title {
    color: var(--tst-green-dark);
}

.tst-alert__text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--tst-gray-700);
}

.tst-booking-lookup-success {
    margin-bottom: 1.5rem;
}

.tst-booking-lookup-note {
    margin-top: 1rem;
    color: var(--tst-gray-500);
}

/* Enquiry form */
.tst-enquiry-form-wrap {
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: var(--tst-shadow);
    padding: 1.5rem;
}

.tst-enquiry-form {
    display: grid;
    gap: 1rem;
}

.tst-enquiry-form h3 {
    margin: 0;
}

.tst-enquiry-form__tour {
    margin: -0.25rem 0 0;
    color: var(--tst-gray-600);
}

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

.tst-enquiry-form label {
    display: grid;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--tst-gray-800);
}

.tst-enquiry-form input,
.tst-enquiry-form textarea {
    width: 100%;
    border: 1px solid var(--tst-gray-200);
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    font: inherit;
}

.tst-enquiry-form textarea {
    resize: vertical;
}

.tst-enquiry-form input:focus,
.tst-enquiry-form textarea:focus {
    outline: 0;
    border-color: var(--tst-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.12);
}

@media (max-width: 767px) {
    .tst-enquiry-form__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Modal Overlay (Enquiry popup)
   ========================================================================== */

.tst-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: tst-modal-fade 0.25s ease;
    backdrop-filter: blur(4px);
}

@keyframes tst-modal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tst-modal {
    position: relative;
    background: var(--tst-white);
    border-radius: var(--tst-radius);
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: tst-modal-slide 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tst-modal-slide {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.tst-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--tst-gray-100);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--tst-gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--tst-transition);
    z-index: 2;
    line-height: 1;
}

.tst-modal__close:hover {
    background: var(--tst-gray-300);
    color: var(--tst-gray-900);
}

.tst-modal .tst-enquiry-form-wrap {
    box-shadow: none;
    border-radius: 0;
    padding: 2rem;
}

.tst-modal .tst-enquiry-form h3 {
    padding-right: 2.5rem;
}

/* ==========================================================================
   Filter Sidebar – Mobile-First Responsive
   ========================================================================== */

/* Layout wrapper: sidebar + main grid */
.tst-archive__layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

@media (min-width: 960px) {
    .tst-archive__layout {
        flex-direction: row;
        gap: 2.5rem;
    }
}

.tst-archive__main {
    flex: 1;
    min-width: 0;
}

/* Inside the layout, the grid should be 2-col on tablet, not 3 (sidebar takes space) */
@media (min-width: 960px) {
    .tst-archive__layout .tst-tour-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .tst-archive__layout .tst-tour-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Toolbar */
.tst-archive__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0 0.25rem;
}

.tst-archive__result-count {
    font-size: 0.9rem;
    color: var(--tst-gray-700);
    margin: 0;
}

.tst-archive__result-count strong {
    color: var(--tst-gray-900);
}

/* Active filter chips */
.tst-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tst-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.6rem;
    background: rgba(76, 175, 80, 0.1);
    color: var(--tst-green-dark);
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.tst-active-filter button {
    background: none;
    border: none;
    color: var(--tst-green-dark);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.tst-active-filter button:hover {
    opacity: 1;
}

.tst-active-filter-clear {
    background: none;
    border: none;
    color: var(--tst-gray-500);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: underline;
    padding: 0.3rem 0.4rem;
}

.tst-active-filter-clear:hover {
    color: var(--tst-gray-900);
}

/* Loading state */
.tst-tour-grid-wrap {
    position: relative;
    min-height: 200px;
}

.tst-tour-grid-wrap.tst-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    border-radius: var(--tst-radius);
    animation: tst-pulse 1.2s ease-in-out infinite;
}

@keyframes tst-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.9; }
}

/* Mobile filter toggle button (FAB) */
.tst-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.25rem;
    background: var(--tst-green);
    color: var(--tst-white);
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
    transition: all var(--tst-transition);
    font-family: var(--tst-font);
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.tst-filter-toggle:hover {
    background: var(--tst-green-dark);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.45);
}

.tst-filter-toggle__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    background: var(--tst-white);
    color: var(--tst-green-dark);
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
}

@media (min-width: 960px) {
    .tst-filter-toggle {
        display: none;
    }
}

/* Backdrop overlay (mobile only) */
.tst-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1009;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tst-filter-backdrop:not([hidden]) {
    opacity: 1;
}

@media (min-width: 960px) {
    .tst-filter-backdrop {
        display: none !important;
    }
}

/* Sidebar panel */
.tst-filter-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--tst-white);
    z-index: 1010;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    box-sizing: border-box;
}

.tst-filter-sidebar *,
.tst-filter-sidebar *::before,
.tst-filter-sidebar *::after {
    box-sizing: border-box;
}

.tst-filter-sidebar--open {
    transform: translateX(0);
}

@media (min-width: 960px) {
    .tst-filter-sidebar {
        position: sticky;
        top: 2rem;
        left: auto;
        width: 260px;
        min-width: 260px;
        max-width: 260px;
        max-height: calc(100vh - 4rem);
        transform: none;
        box-shadow: none;
        border: 1px solid var(--tst-gray-300);
        border-radius: var(--tst-radius);
        z-index: auto;
        overflow: hidden;
    }
}

/* Sidebar header */
.tst-filter-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--tst-gray-300);
    flex-shrink: 0;
}

.tst-filter-sidebar__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tst-gray-900);
    margin: 0;
}

.tst-filter-sidebar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--tst-gray-100);
    border-radius: 50%;
    cursor: pointer;
    color: var(--tst-gray-700);
    transition: all var(--tst-transition);
}

.tst-filter-sidebar__close:hover {
    background: var(--tst-gray-300);
    color: var(--tst-gray-900);
}

@media (min-width: 960px) {
    .tst-filter-sidebar__close {
        display: none;
    }
}

/* Sidebar body — single scroll container, no nested scrollbars */
.tst-filter-sidebar__body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 0.5rem 0;
    scrollbar-width: thin;
    scrollbar-color: var(--tst-gray-300) transparent;
}

.tst-filter-sidebar__body::-webkit-scrollbar {
    width: 5px;
}

.tst-filter-sidebar__body::-webkit-scrollbar-track {
    background: transparent;
}

.tst-filter-sidebar__body::-webkit-scrollbar-thumb {
    background: var(--tst-gray-300);
    border-radius: 3px;
}

.tst-filter-sidebar__body::-webkit-scrollbar-thumb:hover {
    background: var(--tst-gray-500);
}

/* Search field inside sidebar */
.tst-filter-sidebar__search {
    padding: 0.75rem 1rem;
}

.tst-filter-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border: 1.5px solid var(--tst-gray-300);
    border-radius: var(--tst-radius-sm);
    transition: border-color var(--tst-transition);
    background: var(--tst-gray-100);
    width: 100%;
    min-width: 0;
}

.tst-filter-search-field:focus-within {
    border-color: var(--tst-green);
    background: var(--tst-white);
}

.tst-filter-search-field svg {
    color: var(--tst-gray-500);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.tst-filter-keyword {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: none;
    background: none;
    font-size: 0.85rem;
    color: var(--tst-gray-900);
    outline: none;
    font-family: var(--tst-font);
    padding: 0;
}

.tst-filter-keyword::placeholder {
    color: var(--tst-gray-500);
}

/* Filter group */
.tst-filter-group {
    border-bottom: 1px solid var(--tst-gray-100);
}

.tst-filter-group:last-child {
    border-bottom: none;
}

.tst-filter-group__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--tst-font);
    transition: background-color 0.15s;
}

.tst-filter-group__toggle:hover {
    background: var(--tst-gray-100);
}

.tst-filter-group__label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tst-gray-900);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tst-filter-group__label svg {
    color: var(--tst-green);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tst-filter-group__chevron {
    color: var(--tst-gray-500);
    transition: transform 0.25s ease;
}

.tst-filter-group__toggle[aria-expanded="false"] .tst-filter-group__chevron {
    transform: rotate(-90deg);
}

/* Filter options — no inner scroll, sidebar body handles scrolling */
.tst-filter-group__options {
    padding: 0 1rem 0.75rem;
}

.tst-filter-group__toggle[aria-expanded="false"] + .tst-filter-group__options {
    display: none;
}

/* Individual filter option (checkbox / radio) */
.tst-filter-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0;
    cursor: pointer;
    transition: color 0.15s;
    user-select: none;
}

.tst-filter-option:hover {
    color: var(--tst-green-dark);
}

.tst-filter-option input[type="checkbox"],
.tst-filter-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.tst-filter-option__check {
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--tst-gray-300);
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    transition: all var(--tst-transition);
    background: var(--tst-white);
}

.tst-filter-option--radio .tst-filter-option__check {
    border-radius: 50%;
}

.tst-filter-option input:checked + .tst-filter-option__check {
    background: var(--tst-green);
    border-color: var(--tst-green);
}

.tst-filter-option input:checked + .tst-filter-option__check::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 4px;
    height: 8px;
    border: solid var(--tst-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tst-filter-option--radio input:checked + .tst-filter-option__check::after {
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    border: none;
    border-radius: 50%;
    background: var(--tst-white);
    transform: none;
}

.tst-filter-option input:focus-visible + .tst-filter-option__check {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.25);
}

.tst-filter-option__label {
    flex: 1;
    min-width: 0;
    font-size: 0.84rem;
    color: var(--tst-gray-900);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tst-filter-option__count {
    font-size: 0.7rem;
    color: var(--tst-gray-500);
    background: var(--tst-gray-100);
    padding: 0.1rem 0.4rem;
    border-radius: 2rem;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 22px;
    text-align: center;
}

/* Sidebar footer (mobile: fixed bottom) */
.tst-filter-sidebar__footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-top: 1px solid var(--tst-gray-300);
    background: var(--tst-white);
    flex-shrink: 0;
}

.tst-filter-clear {
    flex: 1;
    padding: 0.7rem 1rem;
    background: none;
    border: 2px solid var(--tst-gray-300);
    border-radius: var(--tst-radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--tst-gray-700);
    cursor: pointer;
    font-family: var(--tst-font);
    transition: all var(--tst-transition);
}

.tst-filter-clear:hover {
    border-color: var(--tst-gray-700);
    color: var(--tst-gray-900);
}

.tst-filter-apply {
    flex: 1;
}

@media (min-width: 960px) {
    .tst-filter-sidebar__footer {
        border-radius: 0 0 var(--tst-radius) var(--tst-radius);
    }

    .tst-filter-apply {
        display: none;
    }

    .tst-filter-clear {
        flex: none;
        width: 100%;
    }

    .tst-filter-sidebar__body {
        max-height: none;
    }
}

/* AJAX pagination override */
.tst-pagination .tst-filter-page {
    cursor: pointer;
}

.tst-pagination .tst-filter-page:not(.current):hover {
    background: var(--tst-green);
    color: var(--tst-white);
    border-color: var(--tst-green);
}

/* No results inside filter view */
.tst-tour-grid .tst-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
}

.tst-no-results svg {
    color: var(--tst-gray-300);
    margin-bottom: 1rem;
}

/* ==========================================================================
   Responsive Adjustments for Tour Detail
   ========================================================================== */

@media (max-width: 900px) {
    .tst-booking__date-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .tst-booking__date-picker-wrap {
        min-width: 100%;
        position: relative;
    }

    .tst-calendar {
        width: calc(100vw - 2rem);
        max-width: 340px;
        z-index: 9999;
        box-shadow: 0 16px 64px rgba(0, 0, 0, 0.25);
    }

    .tst-booking__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .tst-booking__footer-left {
        justify-content: center;
    }

    .tst-book-btn {
        width: 100%;
        justify-content: center;
    }

    /* Ticket table: vertical card layout on mobile */
    .tst-booking__ticket-table thead {
        display: none;
    }

    .tst-booking__ticket-table,
    .tst-booking__ticket-table tbody,
    .tst-booking__ticket-table tr,
    .tst-booking__ticket-table td {
        display: block;
        width: 100%;
    }

    .tst-booking__ticket-table tbody tr {
        padding: 1rem;
        border: 1px solid var(--tst-gray-300);
        margin-bottom: 0.75rem;
        background: var(--tst-white);
        border-radius: var(--tst-radius-sm);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    }

    .tst-booking__ticket-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .tst-booking__ticket-table td {
        padding: 0.35rem 0;
        border: none;
    }

    .tst-booking__ticket-name {
        margin-bottom: 0.65rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--tst-gray-100);
    }

    .tst-booking__ticket-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 700;
        color: var(--tst-green-dark);
        font-size: 1rem;
        padding: 0.25rem 0;
    }

    .tst-booking__ticket-price::before {
        content: 'Price';
        font-weight: 600;
        color: var(--tst-gray-500);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .tst-booking__ticket-avail {
        padding-top: 0.5rem;
    }

    .tst-booking__ticket-avail::before {
        content: 'Limit';
        display: block;
        font-weight: 600;
        color: var(--tst-gray-500);
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.25rem;
    }

    .tst-booking-lookup__grid {
        grid-template-columns: 1fr;
    }

    .tst-qty-control {
        margin-top: 0.75rem;
        justify-content: flex-start;
    }

    .tst-booking__ticket-icon {
        width: 32px;
        height: 32px;
    }

    .tst-booking__ticket-icon svg {
        width: 18px;
        height: 18px;
    }

    /* Tickets wrapper: no horizontal scroll on mobile card layout */
    .tst-booking__tickets {
        overflow-x: visible;
    }

    .tst-gallery-slider__thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.35rem;
    }

    .tst-single__meta-pill {
        gap: 0.5rem 0.75rem;
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
    }

    .tst-tour-reviews-widget {
        padding: 1.1rem;
    }

    .tst-tour-reviews-widget__header,
    .tst-tour-reviews-widget__summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .tst-single__meta-sep {
        display: none;
    }

    .tst-lightbox__img {
        max-width: 95vw;
        max-height: 80vh;
    }

    .tst-lightbox__nav {
        width: 36px;
        height: 36px;
    }

    .tst-lightbox__prev { left: 0.5rem; }
    .tst-lightbox__next { right: 0.5rem; }

    /* Trust bar stacks vertically */
    .tst-trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .tst-trust-bar__google {
        margin-left: 0;
    }

    /* Avail tracker min-width fix */
    .tst-avail-tracker {
        min-width: 0;
    }

    .tst-gallery-slider {
        padding: 0.75rem;
    }
}
