.tour-page-header { padding: 4rem 0; background: var(--brand-cream); }
.tour-page-header .section-heading { margin-bottom: 0; }
.tour-listing-body { padding-top: 3.5rem; }
.tour-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--brand-line); border-radius: .85rem; background: var(--color-surface); }
.tour-toolbar-count { color: var(--brand-muted); font-size: .88rem; }
.tour-sidebar { align-self: flex-start; }
.tour-filter { position: static; padding: 1.25rem; border: 1px solid var(--brand-line); border-radius: 1rem; background: var(--color-surface); }
.tour-filter-title { margin-bottom: 1.1rem; font-size: 1rem; font-weight: 800; }
.tour-filter-group + .tour-filter-group { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--brand-line); }
.tour-filter .form-label { color: var(--brand-muted); font-size: .78rem; font-weight: 700; }
.tour-category-list { margin-top: 1.25rem; padding: 1.25rem; border: 1px solid var(--brand-line); border-radius: 1rem; background: var(--color-surface); }
.tour-category-list-title { margin: 0 0 1.1rem; font-size: 1rem; font-weight: 800; }
.tour-category-tree { display: grid; gap: .7rem; }
.tour-category-tree-group + .tour-category-tree-group { padding-top: .7rem; border-top: 1px solid var(--brand-line); }
.tour-category-children { display: grid; margin: .45rem 0 0 .65rem; padding-left: .7rem; border-left: 1px solid var(--brand-line); }
.tour-category-children .tour-category-link { padding: .45rem 0; font-size: .84rem; }
.tour-category-link { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--brand-line); color: var(--brand-ink); font-size: .9rem; text-decoration: none; }
.tour-category-link:last-child { border-bottom: 0; padding-bottom: 0; }
.tour-category-link:first-of-type { padding-top: 0; }
.tour-category-link small { color: var(--brand-muted); }
.tour-category-link:hover, .tour-category-link.is-active { color: var(--brand-teal); }
.tour-category-link.is-active { font-weight: 800; }
.tour-category-intro { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.15rem; border-left: 3px solid var(--brand-teal); border-radius: .5rem; background: var(--color-surface-tint); color: var(--brand-muted); }
.tour-category-intro strong { color: var(--brand-ink); }
.tour-sort-form { display: flex; align-items: center; gap: .5rem; }
.tour-sort-form .form-select { min-width: 155px; }
.tour-card { display: flex; flex-direction: column; overflow: hidden; height: 100%; border: 1px solid var(--color-card-border); border-radius: 1rem; background: var(--color-surface); color: var(--brand-ink); transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.tour-card:hover { border-color: var(--color-primary-line); box-shadow: var(--brand-shadow); transform: translateY(-5px); }
.tour-card-image { position: relative; display: block; flex: 0 0 auto; overflow: hidden; aspect-ratio: 16/10; background: var(--brand-cream); }
.tour-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tour-card:hover .tour-card-image img { transform: scale(1.06); }
.tour-card-sale-burst { position: absolute; z-index: 1; top: .45rem; right: .45rem; display: grid; width: 3.7rem; aspect-ratio: 1; place-content: center; padding: .45rem; background: var(--color-price); clip-path: polygon(50% 0%, 61% 16%, 75% 7%, 80% 24%, 96% 23%, 88% 38%, 100% 50%, 86% 60%, 94% 76%, 77% 77%, 71% 94%, 58% 84%, 47% 100%, 38% 84%, 23% 93%, 22% 76%, 5% 72%, 14% 59%, 0% 48%, 15% 39%, 7% 23%, 25% 23%, 31% 6%, 43% 16%); color: var(--color-surface); font-size: .54rem; font-weight: 800; line-height: 1.05; text-align: center; text-transform: uppercase; animation: tour-sale-burst-pulse 1s steps(2, end) infinite; }
.tour-card-sale-burst strong { display: block; font-size: .83rem; }
.tour-card-body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1.15rem; }
.tour-card-topline { display: flex; align-items: center; justify-content: space-between; gap: .65rem; min-height: 1.25rem; }
.tour-card-category { color: var(--brand-teal); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tour-card-destination { overflow: hidden; color: var(--brand-muted); font-size: .75rem; text-overflow: ellipsis; white-space: nowrap; }
.tour-card-destination i { color: var(--brand-teal); }
.tour-card-title { display: -webkit-box; min-height: 2.6em; margin: .35rem 0 .6rem; overflow: hidden; font-size: 1.05rem; font-weight: 800; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tour-card-title a:hover { color: var(--brand-teal); }
.tour-card-meta { display: flex; flex-wrap: wrap; gap: .75rem; color: var(--brand-muted); font-size: .78rem; }
.tour-card-meta i { color: var(--brand-teal); }
.tour-card-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--color-card-divider); }
.tour-card-price small { display: block; color: var(--brand-muted); font-size: .7rem; }
.tour-card-price del { display: inline-block; margin-right: .45rem; color: var(--color-ink); font-size: .76rem; }
.tour-card-price strong { display: block; color: var(--color-price); font-size: 1.55rem; font-weight: 850; letter-spacing: -.035em; line-height: 1.15; }
.tour-card-price .tour-card-sale-price { color: var(--color-price); }
.tour-card-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .9rem; }
.tour-card-actions .btn { width: 100%; white-space: nowrap; }
.tour-pagination nav { display: flex; justify-content: center; }
.tour-pagination .pagination { margin-bottom: 0; }
.tour-pagination .page-link { border-color: var(--brand-line); color: var(--brand-ink); }
.tour-pagination .page-item.active .page-link { border-color: var(--brand-teal); background: var(--brand-teal); color: var(--color-surface); }
@keyframes tour-sale-burst-pulse { 50% { filter: brightness(1.18); transform: scale(1.08) rotate(-5deg); } }
@media (max-width: 575.98px) {
    .tour-card-sale-burst { width: 3.35rem; }
}
