/* v23 — inner pages: filters, views, category, seats/rating, notify-me, live search,
   blog extras, checkout steps, thank-you, account, mobile CTA. Mobile first. */

/* ---------- category hero with a cover photo ---------- */
.rv .rv-hero--photo .rv-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rv .rv-hero--photo .rv-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(2 44 60 / 72%) 0%, rgb(2 44 60 / 82%) 55%, rgb(2 44 60 / 94%) 100%); }
.rv .rv-hero--photo .rv-hero__glow, .rv .rv-hero--photo .rv-hero__hills { z-index: 1; }

/* ---------- v26: categories row (one line) ---------- */
.rv .rv-cats { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.rv .rv-cats__row { position: relative; flex: 1 1 auto; min-width: 0; }
.rv .rv-cats .rv-chips { margin: 0; padding: 0; flex: none; }
.rv .rv-cats .rv-chips ul { padding: 4px 2px; }
/* the row fades out on the side where more categories are hidden */
.rv .rv-cats.is-more-end .rv-chips { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 56px), transparent); }
.rv .rv-cats.is-more-start .rv-chips { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 56px), transparent); }
.rv .rv-cats.is-more-start.is-more-end .rv-chips { -webkit-mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(to right, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.rv .rv-cats__arr { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; padding: 0; border: 1px solid var(--rv-line); border-radius: 50%; background: #fff; color: var(--rv-ink); box-shadow: var(--rv-shadow); cursor: pointer; }
.rv .rv-cats__arr[hidden] { display: none; }
.rv .rv-cats__arr .rv-icon { width: 18px; height: 18px; }
.rv .rv-cats__arr--prev { inset-inline-start: -6px; }
.rv .rv-cats__arr--prev .rv-icon { transform: rotate(-90deg); }
.rv .rv-cats__arr--next { inset-inline-end: -6px; }
.rv .rv-cats__arr--next .rv-icon { transform: rotate(90deg); }
.rv .rv-cats__arr:hover { border-color: var(--rv-accent); }
.rv .rv-cats__more { position: relative; flex: none; }
.rv .rv-cats__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 1px dashed var(--rv-line-strong); border-radius: 999px; background: #fff; font: 700 var(--rv-fs-sm)/1 var(--rv-font); color: var(--rv-ink); white-space: nowrap; cursor: pointer; }
.rv .rv-cats__btn .rv-icon { width: 16px; height: 16px; }
.rv .rv-cats__btn b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rv-bg-soft); font-size: 12px; color: var(--rv-muted); }
.rv .rv-cats__btn[aria-expanded="true"] { border-style: solid; border-color: var(--rv-primary); }
.rv .rv-cats__btn[aria-expanded="true"] .rv-icon:last-child { transform: rotate(180deg); }
.rv .rv-pop { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 40; width: min(320px, calc(100vw - 32px)); padding: 10px; border: 1px solid var(--rv-line); border-radius: 18px; background: #fff; box-shadow: var(--rv-shadow-lg); }
.rv .rv-pop[hidden] { display: none; }
.rv .rv-cats__q { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; margin-bottom: 8px; border-radius: 12px; background: var(--rv-bg-soft); }
.rv .rv-cats__q .rv-icon { width: 17px; height: 17px; color: var(--rv-muted); }
.rv .rv-cats__q input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; box-shadow: none; font: 500 var(--rv-fs-sm) var(--rv-font); color: var(--rv-ink); }
.rv .rv-cats__q input:focus { outline: 0; }
.rv .rv-cats__q:focus-within { box-shadow: var(--rv-focus); }
.rv .rv-cats__list { max-height: 280px; overflow: auto; margin: 0; padding: 0; list-style: none; }
.rv .rv-cats__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; font-size: var(--rv-fs-sm); font-weight: 600; color: var(--rv-ink); text-decoration: none; }
.rv .rv-cats__list a:hover, .rv .rv-cats__list a:focus-visible { background: var(--rv-bg-soft); outline: 0; }
.rv .rv-cats__list a.is-on { background: var(--rv-primary-50); }
.rv .rv-cats__list span { font-size: 12px; font-weight: 700; color: var(--rv-muted); }
.rv .rv-cats__none { margin: 8px 10px; font-size: var(--rv-fs-xs); color: var(--rv-muted); }

/* ---------- v26: filter bar ---------- */
.rv .rv-tb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin: 0 0 14px; }
.rv .rv-flt-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--rv-line); border-radius: 14px; background: #fff; font: 700 var(--rv-fs-sm)/1 var(--rv-font); color: var(--rv-ink); box-shadow: var(--rv-shadow-sm); cursor: pointer; }
.rv .rv-flt-open .rv-icon { width: 18px; height: 18px; }
.rv .rv-flt-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--rv-accent); color: var(--rv-ink); font-size: 12px; }
.rv .rv-tb .rv-sort { width: auto; margin: 0; flex-wrap: nowrap; }
.rv .rv-tb .rv-sort__sel { flex: 1 1 auto; min-width: 0; width: 100%; }
.rv .rv-tb .rv-sort select { width: 100%; min-width: 0; height: 46px; border-radius: 14px; box-shadow: var(--rv-shadow-sm); font-weight: 700; color: var(--rv-ink); }
.rv .rv-tb .rv-sort__sel svg { inset-inline-start: 12px; }
@media (max-width: 959.98px) { .rv .rv-tb .rv-sort select { padding-inline: 36px 26px; font-size: var(--rv-fs-xs); text-overflow: ellipsis; } }

/* the panel: a bottom sheet on phones */
.rv .rv-flt { position: fixed; inset: auto 0 0; z-index: 99991; /* above Woodmart's bottom toolbar */ display: flex; flex-direction: column; max-height: 88vh; padding: 0; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -20px 50px -10px rgb(2 44 60 / 35%); transform: translateY(105%); transition: transform .3s var(--rv-ease); visibility: hidden; }
.rv .rv-flt.is-open { transform: none; visibility: visible; }
.rv .rv-flt__head { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px; border-bottom: 1px solid var(--rv-line); font-size: var(--rv-fs-base); }
.rv .rv-flt__head::before { content: ""; position: absolute; top: 6px; inset-inline: calc(50% - 20px); height: 4px; border-radius: 4px; background: var(--rv-line); }
.rv .rv-flt__x { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--rv-bg-soft); cursor: pointer; }
.rv .rv-flt__open { order: 0; flex: none; display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--rv-line); font-size: var(--rv-fs-sm); font-weight: 700; color: var(--rv-ink); cursor: pointer; }
.rv .rv-flt__open input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv .rv-flt__open i { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: #C9D3D8; transition: background-color .2s; }
.rv .rv-flt__open i::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .2s var(--rv-ease); }
.rv .rv-flt__open input:checked + i { background: var(--rv-success); }
.rv .rv-flt__open input:checked + i::after { transform: translateX(-16px); } /* RTL: the knob moves left */
.rv .rv-flt__open input:focus-visible + i { box-shadow: var(--rv-focus); }
.rv .rv-flt__g { position: relative; flex: none; margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--rv-line); min-width: 0; }
.rv .rv-flt__t { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 16px; border: 0; background: none; font: 700 var(--rv-fs-sm)/1.4 var(--rv-font); color: var(--rv-ink); text-align: start; cursor: pointer; }
.rv .rv-flt__t > .rv-icon:first-child { width: 18px; height: 18px; color: var(--rv-muted); }
.rv .rv-flt__t > .rv-icon:last-child { width: 18px; height: 18px; margin-inline-start: 4px; color: var(--rv-muted); transition: transform .2s; }
.rv .rv-flt__tl { flex: 1 1 auto; }
.rv .rv-flt__tv { max-width: 55%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--rv-fs-xs); font-weight: 600; color: var(--rv-muted); }
.rv .rv-flt__g.is-set .rv-flt__tv { color: var(--rv-accent-700); font-weight: 800; }
.rv .rv-flt__g.is-open .rv-flt__t > .rv-icon:last-child { transform: rotate(180deg); }
.rv .rv-flt__pills { display: none; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.rv .rv-flt__g.is-open .rv-flt__pills { display: flex; }
.rv .rv-flt__pills label { position: relative; margin: 0; cursor: pointer; }
.rv .rv-flt__pills input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv .rv-flt__pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--rv-line); border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--rv-ink); transition: background-color .15s, border-color .15s; }
.rv .rv-flt__pills label:hover span { border-color: var(--rv-line-strong); }
.rv .rv-flt__pills input:checked + span { background: var(--rv-primary); border-color: var(--rv-primary); color: #fff; }
.rv .rv-flt__pills input:focus-visible + span { box-shadow: var(--rv-focus); }
.rv .rv-flt__body { flex: 1 1 auto; overflow: auto; }
.rv .rv-flt__act { order: 99; flex: none; position: sticky; bottom: 0; display: flex; gap: 10px; margin-top: auto; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rv-line); background: #fff; }
.rv .rv-flt__act .rv-btn { min-height: 48px; }
.rv .rv-flt__act [data-rv-clear] { flex: 0 0 auto; }
.rv .rv-flt__act [data-rv-apply] { flex: 1 1 auto; }
.rv .rv-flt.is-counting [data-rv-apply] { opacity: .7; }
.rv .rv-flt-dim { position: fixed; inset: 0; z-index: 99990; background: rgb(1 26 36 / 45%); }
html.rv-flt-lock { overflow: hidden; }
/* phones: the sheet scrolls in its middle; head, switch and buttons stay */
@media (max-width: 959.98px) {
	.rv .rv-flt { overflow-y: auto; overscroll-behavior: contain; }
	.rv .rv-flt__head { position: sticky; top: 0; z-index: 2; background: #fff; }
}

/* desktop: one row of dropdowns */
@media (min-width: 960px) {
	.rv .rv-flt-open, .rv .rv-flt__head, .rv .rv-flt-dim, .rv .rv-flt__act { display: none !important; }
	.rv .rv-tb { display: flex; align-items: center; gap: 10px; }
	.rv .rv-flt { position: static; z-index: auto; flex: 1 1 auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; max-height: none; transform: none; visibility: visible; transition: none; border-radius: 0; background: none; box-shadow: none; }
	.rv .rv-flt__g { border: 0; }
	.rv .rv-flt__t { width: auto; min-height: 44px; gap: 8px; padding: 0 14px; border: 1px solid var(--rv-line); border-radius: 999px; background: #fff; box-shadow: var(--rv-shadow-sm); font-size: var(--rv-fs-xs); transition: border-color .15s; }
	.rv .rv-flt__t:hover { border-color: var(--rv-line-strong); }
	.rv .rv-flt__t:focus-visible { outline: 0; box-shadow: var(--rv-focus); }
	.rv .rv-flt__t > .rv-icon:first-child, .rv .rv-flt__t > .rv-icon:last-child { width: 16px; height: 16px; margin: 0; }
	.rv .rv-flt__tl { flex: none; }
	.rv .rv-flt__tl::after { content: ":"; }
	.rv .rv-flt__tv { max-width: 150px; font-size: var(--rv-fs-xs); }
	.rv .rv-flt__g.is-set .rv-flt__t { border-color: var(--rv-accent); background: var(--rv-accent-50); }
	.rv .rv-flt__g.is-open .rv-flt__t { border-color: var(--rv-primary); }
	.rv .rv-flt__pills { position: absolute; top: calc(100% + 8px); inset-inline-start: 0; z-index: 40; width: max-content; max-width: 360px; padding: 12px; border: 1px solid var(--rv-line); border-radius: 18px; background: #fff; box-shadow: var(--rv-shadow-lg); }
	.rv .rv-flt__g.is-flip .rv-flt__pills { inset-inline-start: auto; inset-inline-end: 0; }
	.rv .rv-flt__open { order: 50; margin-inline-start: auto; padding: 0 4px; border: 0; font-size: var(--rv-fs-xs); white-space: nowrap; }
	.rv .rv-tb .rv-sort { flex: none; }
	.rv .rv-tb .rv-sort select { width: 220px; height: 44px; border-radius: 999px; font-size: var(--rv-fs-xs); }
	.rv .rv-flt__g.is-open::before { content: ""; position: absolute; inset: 100% 0 auto; height: 10px; } /* hover bridge */
}

/* active filters + count / views line */
.rv .rv-flt-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.rv .rv-flt-on a { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--rv-accent-50); color: var(--rv-ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.rv .rv-flt-on .rv-icon { width: 14px; height: 14px; }
.rv .rv-flt-on__all a { background: none; color: var(--rv-danger); text-decoration: underline; text-underline-offset: 4px; }
.rv .rv-arch__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.rv .rv-arch__meta .rv-arch__count { margin: 0; }
.rv .rv-views { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--rv-line); border-radius: 999px; background: #fff; }
.rv .rv-views__a { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--rv-muted); text-decoration: none; }
.rv .rv-views__a .rv-icon { width: 16px; height: 16px; }
.rv .rv-views__a.is-on { background: var(--rv-primary); color: #fff; }
.rv .rv-views__a:focus-visible, .rv .rv-flt-open:focus-visible, .rv .rv-cats__btn:focus-visible, .rv .rv-cats__arr:focus-visible { outline: 0; box-shadow: var(--rv-focus); }
@media (max-width: 600px) {
	.rv .rv-views__a span { display: none; }
	.rv .rv-views__a { padding: 0 10px; }
	.rv .rv-cats { flex-wrap: wrap; gap: 8px; }
	.rv .rv-cats__row { flex-basis: 100%; margin-inline: calc(var(--rv-gutter) * -1); }
	.rv .rv-cats .rv-chips { padding-inline: var(--rv-gutter); }
	.rv .rv-cats__arr { display: none !important; }
	.rv .rv-cats { position: relative; }
	.rv .rv-cats__more { position: static; } /* the list opens across the full width, under the button */
	.rv .rv-cats__pop { inset-inline: 0; width: auto; }
}
.rv [data-rv-results].is-loading { opacity: .45; pointer-events: none; transition: opacity .15s; }

/* ---------- v27: calmer toolbar — categories as tabs, filters in ONE card, one light result line ---------- */
/* categories: text tabs with an underline, not a row of boxed pills */
.rv .rv-cats { margin: 0 0 16px; border-bottom: 1px solid var(--rv-line); }
.rv .rv-cats .rv-chips ul { gap: 2px; padding: 0; }
.rv .rv-cats .rv-chips a { position: relative; min-height: 48px; padding: 0 14px; border: 0; border-radius: 0; background: none; box-shadow: none; transform: none; color: var(--rv-muted); font-weight: 700; }
.rv .rv-cats .rv-chips a:hover { color: var(--rv-ink); transform: none; }
.rv .rv-cats .rv-chips a span { display: none; } /* counts only in «سایر مقصدها»: a digit beside every tab was noise */
.rv .rv-cats .rv-chips a.is-on { color: var(--rv-ink); background: none; }
.rv .rv-cats .rv-chips a.is-on span { color: var(--rv-accent-700); background: none; opacity: 1; }
.rv .rv-cats .rv-chips a.is-on::after { content: ""; position: absolute; inset-inline: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--rv-accent); }
.rv .rv-cats .rv-chips a:focus-visible { outline: 0; box-shadow: inset var(--rv-focus); border-radius: 10px; }
.rv .rv-cats__arr { width: 32px; height: 32px; margin-top: -16px; box-shadow: var(--rv-shadow-sm); }
.rv .rv-cats__btn { min-height: 48px; padding: 0 10px; border: 0; border-radius: 0; background: none; color: var(--rv-muted); }
.rv .rv-cats__btn:hover, .rv .rv-cats__btn[aria-expanded="true"] { color: var(--rv-ink); }
.rv .rv-cats__btn b { background: none; padding: 0; min-width: 0; }

/* the result line: «۹ تور» · active filters · view switch (icons) */
.rv .rv-arch__meta { flex-wrap: wrap; justify-content: flex-start; gap: 8px 12px; margin: 0 0 16px; }
.rv .rv-arch__meta .rv-arch__count { margin: 0; font-size: var(--rv-fs-xs); color: var(--rv-muted); }
.rv .rv-arch__meta .rv-arch__count b { font-size: var(--rv-fs-base); font-weight: 800; color: var(--rv-ink); }
.rv .rv-arch__meta .rv-flt-on { margin: 0; gap: 6px; }
.rv .rv-arch__meta .rv-flt-on a { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.rv .rv-arch__meta .rv-views { margin-inline-start: auto; border-color: transparent; background: var(--rv-bg-soft); }
.rv .rv-arch__meta .rv-views__a { width: 34px; height: 30px; padding: 0; justify-content: center; }
.rv .rv-arch__meta .rv-views__a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* phones: «فیلترها» and sorting as the two halves of one card */
@media (max-width: 959.98px) {
	.rv .rv-tb { gap: 0; padding: 4px; border: 1px solid var(--rv-line); border-radius: 16px; background: #fff; box-shadow: var(--rv-shadow-sm); }
	.rv .rv-flt-open { height: 46px; border: 0; border-radius: 12px; box-shadow: none; }
	.rv .rv-tb .rv-sort { border-inline-start: 1px solid var(--rv-line); }
	.rv .rv-tb .rv-sort select { height: 46px; padding-inline: 12px 24px; border: 0; border-radius: 12px; box-shadow: none; background-color: transparent; }
	.rv .rv-tb .rv-sort__sel svg { display: none; } /* room for the whole «نزدیک‌ترین حرکت» */
	.rv .rv-cats .rv-chips a { min-height: 44px; padding: 0 12px; }
}

/* desktop: one white card — [ماه حرکت│مدت سفر│سختی│قیمت]  ……  [فقط قابل رزرو] │ [مرتب‌سازی] */
@media (min-width: 960px) {
	.rv .rv-tb { gap: 0; padding: 6px; border: 1px solid var(--rv-line); border-radius: 18px; background: #fff; box-shadow: var(--rv-shadow-sm); }
	.rv .rv-flt { gap: 0; flex-wrap: nowrap; }
	.rv .rv-flt__g + .rv-flt__g::after { content: ""; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px; width: 1px; background: var(--rv-line); }
	.rv .rv-flt__t { min-height: 54px; gap: 10px; padding: 0 16px; border: 0; border-radius: 12px; background: none; box-shadow: none; }
	.rv .rv-flt__t:hover { background: var(--rv-bg-soft); }
	.rv .rv-flt__t > .rv-icon:first-child { display: none; }
	.rv .rv-flt__tx { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.4; }
	.rv .rv-flt__tl { font-size: 11.5px; font-weight: 600; color: var(--rv-muted); }
	.rv .rv-flt__tl::after { content: none; }
	.rv .rv-flt__tv { max-width: 130px; font-size: var(--rv-fs-sm); font-weight: 800; color: var(--rv-ink); }
	.rv .rv-flt__g.is-set .rv-flt__t { border: 0; background: var(--rv-accent-50); }
	.rv .rv-flt__g.is-set .rv-flt__tv { color: var(--rv-accent-700); }
	.rv .rv-flt__g.is-open .rv-flt__t { border: 0; background: var(--rv-primary-50); }
	.rv .rv-flt__open { padding: 0 16px; min-height: 54px; }
	.rv .rv-tb .rv-sort { position: relative; padding-inline-start: 6px; }
	.rv .rv-tb .rv-sort::before { content: ""; position: absolute; inset-inline-start: 0; top: 12px; bottom: 12px; width: 1px; background: var(--rv-line); }
	.rv .rv-tb .rv-sort select { width: 210px; height: 54px; border: 0; border-radius: 12px; box-shadow: none; background-color: transparent; font-size: var(--rv-fs-sm); }
	.rv .rv-tb .rv-sort select:hover { background-color: var(--rv-bg-soft); }
}

/* ---------- list view ---------- */
.rv .rv-tgrid--list { grid-template-columns: 1fr; }
.rv .rv-tgrid--list .rv-tcard { min-height: 0; flex-direction: row; align-items: stretch; }
.rv .rv-tgrid--list .rv-tcard__media { position: relative; inset: auto; flex: 0 0 38%; aspect-ratio: auto; min-height: 220px; }
.rv .rv-tgrid--list .rv-tcard__body { flex: 1 1 auto; margin: 10px; }
.rv .rv-tgrid--list .rv-tcard:hover { transform: translateY(-3px); }
@media (max-width: 599px) {
	.rv .rv-tgrid--list .rv-tcard { flex-direction: column; }
	.rv .rv-tgrid--list .rv-tcard__media { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
	.rv .rv-tgrid--list .rv-tcard__body { margin: -28px 10px 10px; }
}

/* ---------- calendar view ---------- */
.rv .rv-cal { display: grid; gap: 1.75rem; }
.rv .rv-cal__h { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--rv-accent); font-size: var(--rv-fs-h3); font-weight: 800; color: var(--rv-ink); }
.rv .rv-cal__h .rv-icon { width: 22px; height: 22px; color: var(--rv-accent-700); }
.rv .rv-cal__h span { margin-inline-start: auto; font-size: 13px; font-weight: 700; color: var(--rv-muted); }

/* ---------- card: seats + rating ---------- */
.rv .rv-tcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 4px; }
.rv .rv-tcard__top .rv-tcard__dest { margin: 0; min-width: 0; }
.rv .rv-tcard__rate { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-size: 12.5px; color: rgb(255 255 255 / 85%); white-space: nowrap; }
.rv .rv-tcard__rate .rv-icon { width: 14px; height: 14px; color: #F2B65A; fill: #F2B65A; }
.rv .rv-tcard__rate b { color: #fff; }
.rv:not(.rv-page--home) .rv-tcard__foot { flex-wrap: wrap; row-gap: 8px; }
.rv .rv-tcard__seats { display: inline-flex; align-items: center; gap: 5px; order: 3; flex-basis: 100%; font-size: 12.5px; font-weight: 700; color: #9FE0B4; }
.rv .rv-tcard__seats .rv-icon { width: 15px; height: 15px; }
.rv .rv-tcard__seats.is-low { color: #FFB4A8; }
.rv .rv-tcard__seats.is-full { color: rgb(255 255 255 / 70%); }

/* ---------- empty / notify ---------- */
.rv .rv-empty__act { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.rv .rv-notify { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; width: min(100%, 460px); margin: 6px auto 0; }
.rv .rv-notify input[type=tel] { flex: 1 1 200px; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--rv-line-strong); border-radius: 999px; font: 600 16px var(--rv-font); text-align: center; }
.rv .rv-notify .rv-btn { flex: 1 1 auto; }
.rv .rv-notify__msg { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; font-weight: 700; }
.rv .rv-notify__msg.is-ok { color: var(--rv-success); }
.rv .rv-notify__msg.is-err { color: var(--rv-danger); }
.rv .rv-empty__alt { margin: 18px 0 8px; font-size: 14px; color: var(--rv-muted); }
.rv .rv-empty__dest { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv .rv-empty__dest a { display: inline-flex; min-height: 38px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--rv-primary-50); color: var(--rv-ink); font-size: 13.5px; font-weight: 700; text-decoration: none; }

/* ---------- category text + FAQ ---------- */
.rv .rv-catx { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); background: var(--rv-bg-soft); }
.rv .rv-catx__in { display: grid; gap: 2rem; }
@media (min-width: 960px) { .rv .rv-catx__in { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.rv .rv-catx h2 { margin: 0 0 1rem; font-size: var(--rv-fs-h2); font-weight: 800; }
.rv .rv-faq { margin: 0 0 10px; border: 1px solid var(--rv-line); border-radius: 14px; background: #fff; }
.rv .rv-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.rv .rv-faq summary::-webkit-details-marker { display: none; }
.rv .rv-faq summary::after { content: "+"; font-size: 20px; color: var(--rv-accent-700); }
.rv .rv-faq[open] summary::after { content: "−"; }
.rv .rv-faq > div { padding: 0 16px 14px; color: var(--rv-muted); }

/* ---------- live search ---------- */
.rv-hdr__search { cursor: pointer; border: 0; background: transparent; }
.rv-ls { position: fixed; inset: 0; z-index: 100000; display: flex; justify-content: center; align-items: flex-start; padding: 12px; background: rgb(1 26 36 / 55%); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rv-ls[hidden] { display: none; }
.rv-ls__box { width: min(100%, 680px); max-height: calc(100vh - 24px); overflow: auto; margin-top: clamp(0px, 6vh, 70px); border-radius: 20px; background: #fff; box-shadow: var(--rv-shadow-lg); }
.rv-ls__form { position: sticky; top: 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border-bottom: 1px solid var(--rv-line); }
.rv-ls__form > .rv-icon { width: 22px; height: 22px; flex: none; color: var(--rv-muted); }
.rv-ls__form input { flex: 1 1 auto; min-width: 0; height: 46px; border: 0; outline: 0; font: 600 16px var(--rv-font); color: var(--rv-ink); background: transparent; box-shadow: none; }
.rv-ls__x { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--rv-bg-soft); cursor: pointer; }
.rv-ls__res:empty { display: none; }
.rv-ls__res { padding: 8px 8px 4px; }
.rv-ls__g { margin: 6px 0 10px; }
.rv-ls__gh { margin: 0 8px 6px; font-size: 12.5px; font-weight: 800; color: var(--rv-muted); }
.rv-ls__i { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--rv-ink); text-decoration: none; }
.rv-ls__i:hover, .rv-ls__i.is-act { background: var(--rv-bg-soft); }
.rv-ls__i img, .rv-ls__ph { flex: none; width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--rv-primary-50); }
.rv-ls__t { display: flex; flex-direction: column; min-width: 0; }
.rv-ls__t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.rv-ls__t small { font-size: 12.5px; color: var(--rv-muted); }
.rv-ls__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.rv-ls__chips a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--rv-primary-50); color: var(--rv-ink); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.rv-ls__all { display: block; margin: 4px 8px 10px; padding: 12px; border-radius: 12px; background: var(--rv-primary); color: #fff; font-weight: 700; text-align: center; text-decoration: none; }
.rv-ls__empty, .rv-ls__syn { margin: 10px 12px; font-size: 14px; color: var(--rv-muted); }
.rv-ls__hint { margin: 0; padding: 10px 16px 14px; font-size: 13px; color: var(--rv-muted); }
.rv-ls__hint a { color: var(--rv-accent-700); font-weight: 700; }
html.rv-ls-open { overflow: hidden; }

/* ---------- blog: reading progress + author box ---------- */
.rv .rv-readbar { position: fixed; inset: 0 0 auto; z-index: 600; height: 3px; pointer-events: none; }
.rv .rv-readbar i { display: block; width: 100%; height: 100%; background: var(--rv-accent); transform-origin: right; transform: scaleX(0); }
.rv .rv-abox { display: flex; gap: 14px; align-items: flex-start; margin: 1.5rem 0; padding: 16px; border: 1px solid var(--rv-line); border-radius: 18px; background: var(--rv-bg-soft); }
.rv .rv-abox__img { flex: none; width: 64px; height: 64px; border-radius: 50%; }
.rv .rv-abox__k { margin: 0; font-size: 12px; color: var(--rv-muted); }
.rv .rv-abox__n { display: block; margin-bottom: 4px; font-size: 16px; }
.rv .rv-abox__b { margin: 0; font-size: 14px; color: var(--rv-muted); }

/* ---------- checkout steps + trust ---------- */
.rv.rv-steps { display: flex; gap: 6px; margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: none; }
.rv.rv-steps li { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.rv.rv-steps li:not(:last-child)::after { content: ""; position: absolute; top: 17px; inset-inline-start: calc(50% + 22px); inset-inline-end: calc(-50% + 22px); height: 2px; background: var(--rv-line); }
.rv.rv-steps li.is-done:not(:last-child)::after { background: var(--rv-success); }
.rv-steps__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--rv-line); background: #fff; font-weight: 800; color: var(--rv-muted); }
.rv-steps__n .rv-icon { width: 18px; height: 18px; }
.rv.rv-steps .is-on .rv-steps__n { border-color: var(--rv-primary); background: var(--rv-primary); color: #fff; }
.rv.rv-steps .is-done .rv-steps__n { border-color: var(--rv-success); background: var(--rv-success); color: #fff; }
.rv-steps__l { font-size: 12.5px; font-weight: 700; color: var(--rv-muted); line-height: 1.5; }
.rv.rv-steps .is-on .rv-steps__l { color: var(--rv-ink); }
.rv.rv-trust { display: grid; gap: 8px; margin: 14px 0 0; padding: 12px 14px; list-style: none; border: 1px dashed var(--rv-line-strong); border-radius: 14px; background: var(--rv-bg-soft); }
.rv.rv-trust li { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 13px; line-height: 1.7; color: var(--rv-muted); }
.rv.rv-trust .rv-icon { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--rv-success); }
.rv.rv-trust a { font-weight: 700; color: var(--rv-ink); }

/* ---------- thank-you ---------- */
.rv.rv-ty { margin: 1.5rem 0; }
.rv-ty__h { margin: 0 0 12px; font-size: 1.15rem; font-weight: 800; }
.rv-ty__grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.rv-ty__c { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--rv-line); border-radius: 16px; background: #fff; }
.rv-ty__c > .rv-icon { flex: none; width: 26px; height: 26px; color: var(--rv-accent-700); }
.rv-ty__c b { display: block; margin-bottom: 2px; }
.rv-ty__c p { margin: 0 0 10px; font-size: 13.5px; color: var(--rv-muted); }

/* ---------- account dashboard ---------- */
.rv.rv-dash-x { display: grid; gap: 12px; margin: 0 0 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.rv-dash-x a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; }
.rv-dash-x__trip { background: var(--rv-primary); color: #fff; }
.rv-dash-x__trip small { display: block; font-size: 12.5px; opacity: .8; }
.rv-dash-x__trip b { display: block; font-size: 15px; line-height: 1.6; }
.rv-dash-x__n { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 16px; background: var(--rv-accent); color: var(--rv-ink); line-height: 1.1; text-align: center; }
.rv-dash-x__n b { font-size: 22px; }
.rv-dash-x__n small { opacity: 1; font-size: 11px; font-weight: 700; }
.rv-dash-x__pax { border: 1px solid var(--rv-line); background: #fff; color: var(--rv-ink); }
.rv-dash-x__pax > .rv-icon { flex: none; width: 28px; height: 28px; color: var(--rv-accent-700); }
.rv-dash-x__pax b { display: block; font-size: 15px; }
.rv-dash-x__pax small { display: block; font-size: 12.5px; color: var(--rv-muted); }

/* ---------- mobile CTA bar (above Woodmart's bottom toolbar) ---------- */
.rv.rv-mcta { position: fixed; inset-inline: 10px; bottom: calc(var(--rv-tb, 0px) + 10px + env(safe-area-inset-bottom)); z-index: 390; display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(2 44 60 / 94%); box-shadow: 0 14px 30px -10px rgb(1 26 36 / 55%); transform: translateY(160%); transition: transform .3s var(--rv-ease); }
.rv.rv-mcta[hidden] { display: none; }
.rv.rv-mcta.is-on { transform: none; }
.rv-mcta__a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #fff; font: 700 14px var(--rv-font); text-decoration: none; cursor: pointer; }
.rv-mcta__a .rv-icon { width: 19px; height: 19px; }
.rv-mcta__a--main { flex: 1 1 auto; background: var(--rv-accent); color: var(--rv-ink); }
@media (min-width: 768px) { .rv.rv-mcta { display: none !important; } }
body.rv-mcta-on .scrollToTop { bottom: calc(var(--rv-tb, 0px) + 74px) !important; }
@media (prefers-reduced-motion: reduce) {
	.rv .rv-flt, .rv.rv-mcta { transition: none; }
}
/* close buttons: Woodmart's button colour hid the icon */
.rv .rv-flt__x, .rv-ls .rv-ls__x { color: var(--rv-ink); padding: 0; }
.rv .rv-flt__x .rv-icon, .rv-ls .rv-ls__x .rv-icon { width: 20px; height: 20px; }
.rv-ls__chips a span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-inline-start: 8px; padding: 0 6px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--rv-muted); }
.rv .rv-abox__img { display: grid; place-items: center; background: var(--rv-primary); color: #fff; font-size: 26px; font-weight: 800; }
/* list view (≥600px): the photo fills its column, the card height follows the text */
@media (min-width: 600px) {
	.rv .rv-tgrid--list .rv-tcard__media { flex: 0 0 34%; min-height: 200px; max-height: none; }
	.rv .rv-tgrid--list .rv-tcard__media .rv-tcard__img, .rv .rv-tgrid--list .rv-tcard__noimg { position: absolute; inset: 0; width: 100%; height: 100%; }
	.rv .rv-tgrid--list .rv-tcard__body { margin: 10px; justify-content: center; }
	.rv .rv-tgrid--list .rv-tcard__meta { grid-template-columns: repeat(4, minmax(0, max-content)); gap: 8px 18px; }
	.rv .rv-tgrid--list .rv-tcard__m--date, .rv .rv-tgrid--list .rv-tcard__m--dur, .rv .rv-tgrid--list .rv-tcard__m--start, .rv .rv-tgrid--list .rv-tcard__m--diff { grid-column: auto; grid-row: auto; }
}

/* ================= v23: destinations ================= */
.rv .rv-dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 285px), 1fr)); gap: clamp(1rem, .6rem + 1.4vw, 1.5rem); margin: 1.25rem 0 0; padding: 0; list-style: none; }
.rv .rv-dgrid > li { display: flex; min-width: 0; }
.rv:not(.rv-page--home) .rv-dcard { width: 100%; border: 1px solid var(--rv-line); border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgb(2 44 60 / 5%); transition: transform .3s var(--rv-ease), box-shadow .3s var(--rv-ease); }
.rv:not(.rv-page--home) .rv-dcard:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -26px rgb(2 44 60 / 38%); }
.rv:not(.rv-page--home) .rv-dcard__a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.rv:not(.rv-page--home) .rv-dcard__a:focus-visible { outline: 0; box-shadow: var(--rv-focus); border-radius: 20px; }
.rv:not(.rv-page--home) .rv-dcard__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rv-primary-50); }
.rv:not(.rv-page--home) .rv-dcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rv-ease); }
.rv:not(.rv-page--home) .rv-dcard:hover .rv-dcard__img { transform: scale(1.05); }
.rv:not(.rv-page--home) .rv-dcard__noimg { position: absolute; inset: 0; display: grid; place-items: center; color: #9DB4BE; }
.rv:not(.rv-page--home) .rv-dcard__region { position: absolute; top: 12px; inset-inline-start: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: rgb(2 44 60 / 78%); color: #fff; font-size: 12.5px; font-weight: 700; }
.rv:not(.rv-page--home) .rv-dcard__region .rv-icon { width: 14px; height: 14px; color: #F2B65A; }
.rv:not(.rv-page--home) .rv-dcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; padding: 14px 16px 16px; }
.rv:not(.rv-page--home) .rv-dcard__title { margin: 0; font-size: 1.1rem; font-weight: 800; color: var(--rv-ink); }
.rv:not(.rv-page--home) .rv-dcard__season { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--rv-accent-700); }
.rv:not(.rv-page--home) .rv-dcard__season .rv-icon { width: 16px; height: 16px; }
.rv:not(.rv-page--home) .rv-dcard__lead { font-size: 13.5px; line-height: 1.85; color: var(--rv-muted); }
.rv:not(.rv-page--home) .rv-dcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 800; color: var(--rv-primary); }
.rv:not(.rv-page--home) .rv-dcard__more .rv-icon { width: 16px; height: 16px; }
.rv .rv-chips a .rv-icon { width: 16px; height: 16px; margin-inline-end: 4px; vertical-align: -3px; }

.rv .rv-dest__s { margin: 0 0 2.25rem; scroll-margin-top: 110px; }
.rv .rv-dest__s > h2 { margin: 0 0 1rem; font-size: var(--rv-fs-h2); font-weight: 800; line-height: 1.5; }
.rv .rv-attr { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .rv .rv-attr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rv .rv-attr__i { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rv-line); border-radius: 16px; background: #fff; }
.rv .rv-attr__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rv .rv-attr__b { padding: 12px 14px 14px; }
.rv .rv-attr__b h3 { margin: 0 0 6px; font-size: 1.02rem; font-weight: 800; }
.rv .rv-attr__b p { margin: 0 0 8px; font-size: 14px; line-height: 1.85; color: var(--rv-muted); }
.rv .rv-attr__map { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: var(--rv-accent-700); text-decoration: none; }
.rv .rv-attr__map .rv-icon { width: 15px; height: 15px; }
.rv .rv-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 160px), 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.rv .rv-gal a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.rv .rv-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--rv-ease); }
.rv .rv-gal a:hover img { transform: scale(1.06); }
.rv .rv-dmap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px 16px; border-radius: 18px; color: #fff; text-align: center; background: radial-gradient(circle at 50% 35%, #164C61 0%, #022C3C 70%); overflow: hidden; }
.rv .rv-dmap::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgb(255 255 255 / 60%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 60%) 1px, transparent 1px); background-size: 28px 28px; }
.rv .rv-dmap__pin { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--rv-accent); color: var(--rv-ink); box-shadow: 0 0 0 10px rgb(232 163 61 / 22%); }
.rv .rv-dmap__pin .rv-icon { width: 28px; height: 28px; }
.rv .rv-dmap__act { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rv .rv-hero__guide { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 16px; border-radius: 999px; background: var(--rv-accent); color: var(--rv-ink); font-size: 14px; font-weight: 800; text-decoration: none; }
.rv .rv-hero__guide .rv-icon { width: 18px; height: 18px; }

/* lightbox */
.rv-lb { position: fixed; inset: 0; z-index: 100001; display: grid; place-items: center; padding: 56px 12px; background: rgb(1 20 28 / 92%); }
.rv-lb[hidden] { display: none; }
.rv-lb img { max-width: 100%; max-height: 100%; border-radius: 10px; object-fit: contain; }
.rv-lb button { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 14%); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.rv-lb__x { top: 10px; inset-inline-end: 10px; }
.rv-lb__p { inset-inline-start: 10px; top: 50%; transform: translateY(-50%); }
.rv-lb__n { inset-inline-end: 10px; top: 50%; transform: translateY(-50%); }
.rv-lb__c { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: rgb(255 255 255 / 80%); font-size: 13px; }
.rv-lb button { background: #fff; color: var(--rv-ink, #022C3C); font-weight: 700; box-shadow: 0 6px 18px rgb(0 0 0 / 35%); }
.rv .rv-post.rv-dest { padding-top: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
.rv .rv-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .rv .rv-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* v33 — mobile inner pages */
/* the "filter tours" CTA is a <button>: Woodmart's button rule painted it grey (#f3f3f3) */
/* once it sits above the toolbar, translateY(160%) no longer takes it off screen: it peeked over the toolbar */
.rv.rv-mcta:not(.is-on) { transform: translateY(calc(100% + var(--rv-tb, 0px) + 30px)); visibility: hidden; transition: transform .3s var(--rv-ease), visibility 0s .3s; }
.rv.rv-mcta.is-on { visibility: visible; transition: transform .3s var(--rv-ease); }
.rv.rv-mcta .rv-mcta__a { border-radius: 999px; background: transparent; color: #fff; box-shadow: none; text-transform: none; letter-spacing: 0; line-height: 1; min-height: 0; }
.rv.rv-mcta .rv-mcta__a.rv-mcta__a--main,
.rv.rv-mcta .rv-mcta__a.rv-mcta__a--main:hover,
.rv.rv-mcta .rv-mcta__a.rv-mcta__a--main:focus { background: var(--rv-accent); color: var(--rv-ink); }
/* our templates have no sidebar; Woodmart still printed its floating "show sidebar" tab over the titles */
.rv-body .wd-sidebar-opener { display: none !important; }
@media (prefers-reduced-motion: reduce) { .rv.rv-mcta:not(.is-on), .rv.rv-mcta.is-on { transition: none; } }

/* ==========================================================================
   v34 — tour filters, rebuilt (mobile sheet + desktop bar)
   Woodmart styles every <button> (centred, uppercase-ish spacing, fixed heights): every rule below states
   its own layout so the theme can no longer glue «ماه حرکت» to «همه» or centre the rows.
   ========================================================================== */
.rv #rv-flt .rv-flt__t {
	display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px;
	width: 100%; height: auto; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
	font: 800 15px/1.5 var(--rv-font); color: var(--rv-ink); text-align: start; text-transform: none; letter-spacing: 0; white-space: nowrap;
}
.rv #rv-flt .rv-flt__t:hover { background: none; }
.rv #rv-flt .rv-flt__tx { display: flex; flex: 1 1 auto; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 10px; min-width: 0; }
.rv #rv-flt .rv-flt__tl { display: inline; flex: none; font-size: inherit; font-weight: 800; color: var(--rv-ink); }
.rv #rv-flt .rv-flt__tl::after { content: none; }
.rv #rv-flt .rv-flt__tv { display: inline; max-width: 60%; overflow: hidden; text-overflow: ellipsis; font-size: 13px; font-weight: 600; color: var(--rv-muted); }
.rv #rv-flt .rv-flt__g.is-set .rv-flt__tv { color: var(--rv-accent-700); font-weight: 800; }
.rv #rv-flt .rv-flt__pills label { display: block; margin: 0; }
.rv #rv-flt .rv-flt__pills span {
	position: relative; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 6px 10px;
	border: 1px solid var(--rv-line); border-radius: 12px; background: #fff; font: 700 13.5px/1.4 var(--rv-font); color: var(--rv-ink); text-align: center;
	transition: border-color .15s, background-color .15s, color .15s;
}
.rv #rv-flt .rv-flt__pills label:hover span { border-color: var(--rv-primary); }
.rv #rv-flt .rv-flt__pills input:checked + span { border-color: var(--rv-primary); background: var(--rv-primary); color: #fff; }
.rv #rv-flt .rv-flt__pills input:focus-visible + span { box-shadow: var(--rv-focus); }

/* ---------- phones / tablets: bottom sheet, every group open ---------- */
@media (max-width: 959.98px) {
	.rv #rv-flt { max-height: 86vh; border-radius: 24px 24px 0 0; }
	.rv #rv-flt .rv-flt__head { padding: 18px 18px 14px; }
	.rv #rv-flt .rv-flt__head b { font-size: 17px; font-weight: 900; }
	.rv #rv-flt .rv-flt__open { justify-content: space-between; flex-direction: row-reverse; gap: 12px; margin: 0; padding: 16px 18px; background: var(--rv-bg-soft); border-bottom: 1px solid var(--rv-line); font-weight: 800; }
	.rv #rv-flt .rv-flt__open span { flex: 1 1 auto; }
	.rv #rv-flt .rv-flt__g { padding: 16px 18px 18px; border-bottom: 1px solid var(--rv-line); }
	.rv #rv-flt .rv-flt__t { pointer-events: none; margin-bottom: 12px; }
	.rv #rv-flt .rv-flt__t > .rv-icon:first-child { display: grid; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: var(--rv-primary-50); color: var(--rv-primary); box-sizing: border-box; }
	.rv #rv-flt .rv-flt__t > .rv-icon:last-child { display: none; }
	.rv #rv-flt .rv-flt__pills,
	.rv #rv-flt .rv-flt__g.is-open .rv-flt__pills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; }
	.rv #rv-flt .rv-flt__act { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rv-line); background: #fff; box-shadow: 0 -10px 24px -14px rgb(2 44 60 / 25%); }
	.rv #rv-flt .rv-flt__act [data-rv-clear] { min-width: 96px; }
}
@media (max-width: 359.98px) {
	.rv #rv-flt .rv-flt__pills, .rv #rv-flt .rv-flt__g.is-open .rv-flt__pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- desktop: one bar — [فیلتر] ماه حرکت: همه ▾ │ مدت سفر: همه ▾ │ …   ● فقط قابل رزرو │ مرتب‌سازی: … ---------- */
@media (min-width: 960px) {
	.rv .rv-tb { align-items: stretch; gap: 0; padding: 6px; border-radius: 18px; }
	.rv #rv-flt { align-items: stretch; }
	.rv #rv-flt::before { content: "فیلتر"; display: flex; align-items: center; padding: 0 14px 0 8px; font: 900 13px/1 var(--rv-font); color: var(--rv-primary); }
	.rv #rv-flt .rv-flt__g { display: flex; }
	.rv #rv-flt .rv-flt__t { width: auto; min-height: 48px; padding: 0 14px; border-radius: 12px; font-size: 13.5px; }
	.rv #rv-flt .rv-flt__t:hover { background: var(--rv-bg-soft); }
	.rv #rv-flt .rv-flt__t:focus-visible { outline: 0; box-shadow: var(--rv-focus); }
	.rv #rv-flt .rv-flt__t > .rv-icon:first-child { display: none; }
	.rv #rv-flt .rv-flt__t > .rv-icon:last-child { display: block; width: 14px; height: 14px; color: var(--rv-muted); }
	.rv #rv-flt .rv-flt__tx { justify-content: flex-start; gap: 6px; }
	.rv #rv-flt .rv-flt__tl { font-weight: 600; color: var(--rv-muted); }
	.rv #rv-flt .rv-flt__tl::after { content: ":"; }
	.rv #rv-flt .rv-flt__tv { max-width: 140px; font-size: 13.5px; font-weight: 800; color: var(--rv-ink); }
	.rv #rv-flt .rv-flt__g.is-set .rv-flt__t { background: var(--rv-accent-50); }
	.rv #rv-flt .rv-flt__g.is-open .rv-flt__t { background: var(--rv-primary-50); }
	.rv #rv-flt .rv-flt__pills { display: none; grid-template-columns: repeat(3, minmax(108px, 1fr)); gap: 8px; width: max-content; max-width: 420px; padding: 14px; border-radius: 16px; }
	.rv #rv-flt .rv-flt__g.is-open .rv-flt__pills { display: grid; }
	.rv #rv-flt .rv-flt__open { align-self: center; gap: 10px; min-height: 48px; padding: 0 14px; font-size: 13px; font-weight: 700; }
	.rv .rv-tb .rv-sort__sel { display: flex; align-items: center; gap: 8px; height: 100%; }
	.rv .rv-tb .rv-sort__sel svg { display: none; }
	.rv .rv-tb .rv-sort__sel::before { content: "مرتب‌سازی:"; flex: none; padding-inline-start: 10px; font: 600 13px/1 var(--rv-font); color: var(--rv-muted); }
	.rv .rv-tb .rv-sort select { width: 190px; height: 48px; padding-inline: 12px 30px; font-size: 13.5px; font-weight: 800; }
}

/* result count + views line */
.rv .rv-arch__meta { align-items: center; }
.rv .rv-arch__count { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--rv-primary-50); font-size: 13px; color: var(--rv-primary); }
.rv .rv-arch__count b { font-weight: 900; }

/* v34 — tour card footer: [price + seats] on one side, the button centred against BOTH lines on the other
   (the seats line used to wrap under the price on its own row, so the button looked off-centre) */
.rv:not(.rv-page--home) .rv-tcard__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "price cta" "seats cta"; align-items: center; column-gap: 12px; row-gap: 6px; }
.rv:not(.rv-page--home) .rv-tcard__price { grid-area: price; align-self: end; }
.rv .rv-tcard__seats { grid-area: seats; order: 0; flex-basis: auto; align-self: start; }
.rv:not(.rv-page--home) .rv-tcard__foot:not(:has(.rv-tcard__seats)) .rv-tcard__price { grid-row: 1 / span 2; align-self: center; } /* no seats line: price centred too */
.rv:not(.rv-page--home) .rv-tcard__cta { grid-area: cta; align-self: center; justify-content: center; min-height: 44px; padding: 0 18px; font-size: 13.5px; }

/* v34 — header search: one clean pill field (Woodmart's own input border used to draw a second frame inside ours) */
.rv-ls .rv-ls__box { border-radius: 22px; }
.rv-ls .rv-ls__form { gap: 10px; padding: 14px; border-bottom: 1px solid var(--rv-line); }
.rv-ls .rv-ls__field { position: relative; display: flex; align-items: center; flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; border: 1.5px solid transparent; border-radius: 16px; background: var(--rv-bg-soft); transition: border-color .15s, background-color .15s, box-shadow .15s; }
.rv-ls .rv-ls__field:focus-within { border-color: var(--rv-primary); background: #fff; box-shadow: 0 0 0 4px rgb(2 44 60 / 8%); }
.rv-ls .rv-ls__field > .rv-icon { flex: none; width: 20px; height: 20px; margin-inline-end: 10px; color: var(--rv-primary); }
.rv-ls .rv-ls__field input[type=search] { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0 !important; border-radius: 0; outline: 0; background: transparent !important; box-shadow: none !important; font: 600 16px/1 var(--rv-font); color: var(--rv-ink); }
.rv-ls .rv-ls__field input::placeholder { color: #8A9AA2; font-weight: 500; }
.rv-ls .rv-ls__field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.rv-ls .rv-ls__x { width: 44px; height: 44px; border-radius: 14px; }
.rv-ls .rv-ls__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 16px 16px; }
.rv-ls .rv-ls__hint > span { flex-basis: 100%; font-size: 12.5px; font-weight: 800; color: var(--rv-muted); }
.rv-ls .rv-ls__hint a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid var(--rv-line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 700; color: var(--rv-ink); text-decoration: none; }
.rv-ls .rv-ls__hint a:hover { border-color: var(--rv-primary); color: var(--rv-primary); }
@media (max-width: 599.98px) {
	.rv-ls { padding: 0; align-items: stretch; }
	.rv-ls .rv-ls__box { width: 100%; max-height: 100vh; margin: 0; border-radius: 0 0 22px 22px; }
}
/* v34 — in-page search boxes (blog, search page, 404) in the same style as the header search */
.rv .rv-bsearch input[type="search"] { height: 50px; border: 1.5px solid var(--rv-line) !important; border-radius: 16px; background: #fff !important; box-shadow: var(--rv-shadow-sm) !important; font: 600 15px/1 var(--rv-font); color: var(--rv-ink); }
.rv .rv-bsearch input[type="search"]::placeholder { color: #8A9AA2; font-weight: 500; }
.rv .rv-bsearch input[type="search"]:focus { border-color: var(--rv-primary) !important; box-shadow: 0 0 0 4px rgb(2 44 60 / 8%) !important; }
.rv .rv-bsearch button { top: 5px; inset-inline-end: 5px; width: 40px; height: 40px; border-radius: 12px; background: var(--rv-primary); color: #fff; }
.rv .rv-bsearch--wide input[type="search"] { height: 56px; }
.rv .rv-bsearch--wide button { top: 6px; inset-inline-end: 6px; width: 44px; height: 44px; }

/* v42: «سبک سفر» page — the style's destinations above its tours */
.rv .rv-arch--dests { padding-bottom: 0; }
.rv .rv-arch__h { margin: 0 0 .25rem; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 800; color: var(--rv-ink); }
