/*
 * Tour collection pages (package pages + travel styles), rendered by
 * includes/collection-view.php. Builds on destination.css (hero, sections,
 * cards, CTA) and tour.css (package tiles).
 */

/* ── Listing toolbar ───────────────────────────────────────── */
.col-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; margin-bottom: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--dst-line); }
.col-count { padding: 0 8px; font-weight: 700; color: var(--dst-ink); }
.col-count span { color: var(--dst-muted); font-weight: 500; }
.col-controls { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 auto; justify-content: flex-end; }
.col-search { position: relative; flex: 1 1 240px; max-width: 340px; }
.col-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--dst-muted); font-size: .85rem; }
.col-input { width: 100%; height: 44px; padding: 0 14px 0 38px; border: 1px solid #d5e1df; border-radius: 12px; font: inherit; font-size: .92rem; color: var(--dst-ink); background: #fff; outline: none; }
select.col-input { padding-left: 14px; padding-right: 36px; appearance: none; cursor: pointer; width: auto; background-image: linear-gradient(45deg, transparent 50%, var(--dst-muted) 50%), linear-gradient(135deg, var(--dst-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 19px, calc(100% - 13px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.col-input:focus { border-color: var(--dst-teal); box-shadow: 0 0 0 3px rgba(6, 97, 104, .12); }
.col-item { display: flex; }
.col-item > .pk-tile { flex: 1 1 auto; }
.col-item[hidden] { display: none; }
.col-none { display: none; padding: 28px; text-align: center; border-radius: 16px; background: #fff; border: 1px dashed #bcd3cf; }
.col-none.is-on { display: block; }
.col-none button { margin-top: 10px; border: 0; background: none; color: var(--dst-teal); font-weight: 700; cursor: pointer; }

/* ── "How we plan" points ──────────────────────────────────── */
.col-how { display: grid; gap: 16px; }
@media (min-width: 640px) { .col-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .col-how { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.col-how .dst-hl { background: #fff; border: 1px solid var(--dst-line); }
.col-how .dst-hl-n i { font-size: .8rem; }

/* Suggested destinations */
.col-dests { display: flex; flex-wrap: wrap; gap: 10px; }
.col-dest { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--dst-line); color: var(--dst-ink); font-weight: 600; transition: border-color .2s, color .2s, transform .2s; }
.col-dest:hover { border-color: var(--dst-teal); color: var(--dst-teal); transform: translateY(-2px); }
.col-dest span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--dst-tint); color: var(--dst-teal); font-size: .8rem; }

/* Why book with us */
.col-why { display: grid; gap: 14px; }
@media (min-width: 768px) { .col-why { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.col-why div { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--dst-tint); }
.col-why i { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--dst-teal); }
.col-why b { display: block; color: var(--dst-ink); margin-bottom: 2px; }
.col-why span { font-size: .9rem; line-height: 1.5; }

/* Other collections */
.col-others { display: grid; gap: 14px; }
@media (min-width: 640px) { .col-others { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .col-others { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.col-other { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--dst-line); color: var(--dst-ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
.col-other:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(6, 97, 104, .12); border-color: transparent; }
.col-other-img { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--dst-tint); }
.col-other-img img { width: 100%; height: 100%; object-fit: cover; }
.col-other b { font-size: .98rem; }
.col-other small { color: var(--dst-muted); font-size: .82rem; line-height: 1.45; }
