.tco-stf {
    --tco-accent: #395144;
    --tco-sticky-top: 100px;
    --tco-ink: #202823;
    --tco-muted: #58615b;
    --tco-border: #dce2dc;
    color: var(--tco-ink);
    font: 400 15px/1.55 Inter, system-ui, -apple-system, sans-serif;
    text-align: left;
    width: 100%;
    margin: 24px 0;
}
.tco-stf *, .tco-stf *::before, .tco-stf *::after { box-sizing: border-box; }
.tco-stf .tco-stf__panel { background: #fff; border: 1px solid var(--tco-border); border-top: 5px solid var(--tco-accent); border-radius: 18px; padding: 30px; box-shadow: 0 12px 34px #182b1910; overflow: visible; }
.tco-stf .tco-stf__title { font: 750 clamp(23px, 3vw, 32px)/1.2 Inter, system-ui, sans-serif; letter-spacing: -.7px; text-transform: none; margin: 0 0 26px; color: var(--tco-ink); }
.tco-stf .tco-stf__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px 20px; align-items: start; }
.tco-stf .tco-stf__field { min-width: 0; margin: 0; padding: 0; border: 0; position: relative; }
.tco-stf .tco-stf__field > label, .tco-stf .tco-stf__label, .tco-stf legend { display: block; width: 100%; float: none; padding: 0; margin: 0 0 8px; color: var(--tco-ink); font: 650 14px/1.4 Inter, system-ui, sans-serif; text-transform: none; letter-spacing: 0; }
.tco-stf input[type="search"], .tco-stf select, .tco-stf summary { width: 100%; min-height: 48px; height: auto; margin: 0; border: 1px solid var(--tco-border); border-radius: 9px; background: #f8faf7; color: var(--tco-ink); font: 400 14px/1.4 Inter, system-ui, sans-serif; text-transform: none; padding: 12px 14px; box-shadow: none; }
.tco-stf select { appearance: auto; padding-right: 8px; }
.tco-stf input[type="search"]::placeholder { color: #737b75; opacity: 1; }
.tco-stf input:focus-visible, .tco-stf select:focus-visible, .tco-stf summary:focus-visible, .tco-stf a:focus-visible, .tco-stf button:focus-visible { outline: 3px solid var(--tco-accent); outline-offset: 3px; }
.tco-stf .tco-stf__multi { position: relative; }
.tco-stf summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; }
.tco-stf summary::-webkit-details-marker { display: none; }
.tco-stf summary > span:last-child { font-size: 20px; line-height: 20px; }
.tco-stf details[open] summary { border-color: #9daba0; background: #fff; }
.tco-stf .tco-stf__options { position: absolute; inset: calc(100% + 7px) 0 auto; z-index: 30; max-height: 260px; overflow-y: auto; padding: 7px; background: #fff; border: 1px solid var(--tco-border); border-radius: 10px; box-shadow: 0 14px 32px #10201524; }
.tco-stf label.tco-stf__option { display: flex; align-items: center; gap: 10px; padding: 10px 9px; border-radius: 6px; cursor: pointer; font: 400 14px/1.45 Inter, system-ui, sans-serif; color: var(--tco-ink); margin: 0; }
.tco-stf .tco-stf__option:hover { background: #f1f5ee; }
.tco-stf .tco-stf__option input[type="checkbox"] { appearance: auto; position: static; opacity: 1; display: inline-block; width: 18px; height: 18px; min-width: 18px; padding: 0; margin: 0; accent-color: var(--tco-accent); }
.tco-stf .tco-stf__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.tco-stf .tco-stf__chip { border: 0; background: #edf2e9; color: #30422d; border-radius: 5px; padding: 4px 8px; font: 500 12px/1.4 Inter, system-ui, sans-serif; cursor: pointer; text-transform: none; box-shadow: none; min-height: 30px; letter-spacing: 0; }
.tco-stf .tco-stf__price-text { color: var(--tco-ink); font-weight: 600; font-size: 14px; min-height: 22px; }
.tco-stf .tco-stf__range { position: relative; height: 30px; margin: 4px 10px 0; }
.tco-stf .tco-stf__track { position: absolute; top: 13px; left: 0; right: 0; height: 5px; border-radius: 5px; background: #dfe6dd; }
.tco-stf .tco-stf__track span { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: var(--tco-accent); }
.tco-stf .tco-stf__range input[type="range"] { appearance: none; -webkit-appearance: none; background: transparent; pointer-events: none; position: absolute; left: 0; top: 0; width: 100%; height: 30px; min-height: 0; padding: 0; margin: 0; border: 0; box-shadow: none; z-index: 2; }
.tco-stf .tco-stf__range input::-webkit-slider-runnable-track { height: 5px; background: transparent; border: 0; }
.tco-stf .tco-stf__range input::-moz-range-track { height: 5px; background: transparent; border: 0; }
.tco-stf .tco-stf__range input::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 21px; height: 21px; margin-top: -8px; border: 2px solid #fff; border-radius: 50%; background: var(--tco-accent); box-shadow: 0 1px 5px #0004; cursor: ew-resize; pointer-events: auto; }
.tco-stf .tco-stf__range input::-moz-range-thumb { width: 19px; height: 19px; border: 2px solid #fff; border-radius: 50%; background: var(--tco-accent); box-shadow: 0 1px 5px #0004; cursor: ew-resize; pointer-events: auto; }
.tco-stf .tco-stf__range-labels { display: flex; justify-content: space-between; color: var(--tco-muted); font-size: 11px; margin-top: 2px; }
.tco-stf .tco-stf__actions { display: flex; align-items: center; gap: 22px; border-top: 1px solid #edf0e9; padding-top: 22px; margin-top: 25px; }
.tco-stf button.tco-stf__submit { border: 0; background: var(--tco-accent); color: #fff; padding: 14px 28px; border-radius: 8px; font: 750 15px/1.4 Inter, system-ui, sans-serif; cursor: pointer; text-transform: none; letter-spacing: 0; min-height: 49px; box-shadow: none; }
.tco-stf button.tco-stf__submit:hover { background: #2b4035; }
.tco-stf a.tco-stf__reset { color: #495a48; text-decoration: underline; font-size: 14px; padding: 10px 0; }
.tco-stf .tco-stf__results { padding-top: 32px; scroll-margin-top: 110px; }
.tco-stf .tco-stf__results > h3 { margin: 0 0 5px; font: 750 25px/1.3 Inter, system-ui, sans-serif; color: var(--tco-ink); }
.tco-stf .tco-stf__count { color: var(--tco-muted); margin: 0 0 20px; }
.tco-stf .tco-stf__cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.tco-stf .tco-stf__card { background: #fff; overflow: hidden; border: 1px solid var(--tco-border); border-radius: 13px; display: flex; flex-direction: column; padding: 0; margin: 0; }
.tco-stf .tco-stf__image { display: block; aspect-ratio: 16/10; overflow: hidden; background: #edf2e8; }
.tco-stf .tco-stf__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.tco-stf .tco-stf__image:hover img { transform: scale(1.035); }
.tco-stf .tco-stf__image-placeholder { height: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; color: #586852; text-align: center; }
.tco-stf .tco-stf__card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.tco-stf .tco-stf__card h4 { margin: 0 0 9px; font: 700 19px/1.35 Inter, system-ui, sans-serif; text-transform: none; }
.tco-stf .tco-stf__card h4 a { color: var(--tco-ink); text-decoration: none; }
.tco-stf .tco-stf__card p { font-size: 14px; margin: 0 0 15px; }
.tco-stf .tco-stf__card .tco-stf__meta { font-size: 12px; color: var(--tco-muted); }
.tco-stf .tco-stf__card-bottom { border-top: 1px solid #edf0e9; padding-top: 15px; margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.tco-stf .tco-stf__card-bottom strong { font-size: 18px; }
.tco-stf .tco-stf__card-bottom a { font-size: 13px; color: #4c5f30; font-weight: 700; }
.tco-stf .tco-stf__pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.tco-stf .tco-stf__pagination li { padding: 0; margin: 0; list-style: none; }
.tco-stf .tco-stf__pagination .page-numbers:not(ul) { padding: 8px 13px; display: inline-block; border: 1px solid var(--tco-border); border-radius: 7px; color: var(--tco-ink); }
.tco-stf .tco-stf__pagination .current { background: var(--tco-accent); color: #fff; }
.tco-stf .tco-stf__empty, .tco-stf .tco-stf__empty-option { padding: 18px; background: #f5f7f2; border-radius: 8px; }
.tco-stf .tco-stf__field--locked { filter: grayscale(1); opacity: .6; }
.tco-stf .tco-stf__field--locked input, .tco-stf .tco-stf__field--locked select, .tco-stf .tco-stf__field--locked summary { background-color: #ecefec; cursor: not-allowed; }
.tco-stf button.tco-stf__gate { display: block; position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent; box-shadow: none; cursor: not-allowed; }
.tco-stf button.tco-stf__gate[hidden], .tco-stf .tco-stf__hint[hidden] { display: none; }
.tco-stf .tco-stf__hint { font-size: 11px; line-height: 15px; color: #59645e; margin: 4px 0 0; padding: 0; }
.tco-stf dialog.tco-stf__notice { position: fixed; width: min(440px, calc(100vw - 40px)); max-height: calc(100vh - 40px); padding: 26px; color: var(--tco-ink); background: #fff; border: 1px solid var(--tco-border); border-top: 5px solid var(--tco-accent); border-radius: 14px; box-shadow: 0 20px 70px #0004; margin: auto; z-index: 999999; }
.tco-stf dialog.tco-stf__notice:not([open]) { display: none; }
.tco-stf dialog.tco-stf__notice::backdrop { background: #17271d80; }
.tco-stf .tco-stf__notice h3 { font: 700 23px/1.3 Inter, system-ui, sans-serif; margin: 0 0 12px; padding: 0; color: var(--tco-ink); }
.tco-stf .tco-stf__notice p { font: 400 15px/1.6 Inter, system-ui, sans-serif; margin: 0 0 20px; }
.tco-stf .tco-stf__notice button { background: var(--tco-accent); color: #fff; font: 650 14px/1.4 Inter, system-ui, sans-serif; padding: 11px 20px; border: 0; border-radius: 7px; cursor: pointer; }
@media (max-width: 1000px) { .tco-stf .tco-stf__grid, .tco-stf .tco-stf__cards { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .tco-stf .tco-stf__panel { padding: 22px 18px; border-radius: 13px; } .tco-stf .tco-stf__grid, .tco-stf .tco-stf__cards { grid-template-columns: minmax(0,1fr); } .tco-stf .tco-stf__actions { align-items: stretch; flex-direction: column; gap: 7px; } .tco-stf .tco-stf__reset { text-align: center; } }
/* The same element becomes a two-column results page after a search. */
.tco-stf--has-results { display: grid; grid-template-columns: minmax(260px, 310px) minmax(0, 1fr); gap: 28px; align-items: start; }
.tco-stf .tco-stf__sidebar { min-width: 0; margin: 0; padding: 0; }
.tco-stf--has-results .tco-stf__sidebar { position: sticky; top: var(--tco-sticky-top); align-self: start; max-height: none; overflow: visible; border-radius: 14px; }
.tco-stf--has-results .tco-stf__panel { padding: 18px 16px; border-radius: 14px; box-shadow: none; }
.tco-stf--has-results .tco-stf__title { font-size: 21px; line-height: 1.25; margin: 0 0 16px; padding: 0; }
.tco-stf--has-results .tco-stf__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tco-stf.tco-stf--has-results .tco-stf__field > label, .tco-stf.tco-stf--has-results .tco-stf__label, .tco-stf.tco-stf--has-results legend { font-size: 13px; line-height: 18px; margin-bottom: 6px; }
.tco-stf.tco-stf--has-results input[type="search"], .tco-stf.tco-stf--has-results select, .tco-stf.tco-stf--has-results summary { height: 40px; min-height: 40px; padding: 9px 11px; line-height: 20px; font-size: 14px; }
.tco-stf--has-results .tco-stf__chips:empty { display: none; margin: 0; }
.tco-stf--has-results .tco-stf__price-text { min-height: 18px; line-height: 18px; font-size: 13px; }
.tco-stf--has-results .tco-stf__actions { flex-direction: row; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; }
.tco-stf.tco-stf--has-results button.tco-stf__submit { min-height: 42px; padding: 11px 16px; font-size: 14px; }
.tco-stf--has-results .tco-stf__reset { text-align: center; }
.tco-stf--has-results .tco-stf__options { position: absolute; margin-top: 0; max-height: min(220px, 40vh); }
.tco-stf--has-results.tco-stf--tall-sidebar .tco-stf__sidebar { position: static; }
/* Travelicious uses this wrapper to clip horizontal content. Clip preserves that
   behavior without making it a scroll container that traps position:sticky. */
body:has(.tco-stf--has-results) .btPageWrap { overflow: clip; }
.tco-stf--has-results .tco-stf__results { min-width: 0; padding-top: 0; scroll-margin-top: var(--tco-sticky-top); }
.tco-stf--has-results .tco-stf__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 850px) {
    .tco-stf--has-results { display: block; }
    .tco-stf--has-results .tco-stf__sidebar { position: static; max-height: none; overflow: visible; }
    .tco-stf--has-results .tco-stf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tco-stf--has-results .tco-stf__results { padding-top: 28px; }
}
@media (max-width: 600px) {
    .tco-stf--has-results .tco-stf__grid, .tco-stf--has-results .tco-stf__cards { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .tco-stf .tco-stf__image img { transition: none; } }

/* Touch controls remain comfortable in the compact results layout. */
@media (max-width: 850px) {
    .tco-stf.tco-stf--has-results input[type="search"], .tco-stf.tco-stf--has-results select, .tco-stf.tco-stf--has-results summary,
    .tco-stf.tco-stf--has-results button.tco-stf__submit, .tco-stf.tco-stf--has-results .tco-stf__reset { min-height: 44px; }
    .tco-stf .tco-stf__option { min-height: 44px; }
    .tco-stf .tco-stf__pagination a { min-height: 44px; min-width: 44px; text-align: center; }
}
@media (max-width: 600px) {
    .tco-stf input[type="search"], .tco-stf select, .tco-stf summary, .tco-stf.tco-stf--has-results input[type="search"], .tco-stf.tco-stf--has-results select, .tco-stf.tco-stf--has-results summary { font-size: 16px; }
    .tco-stf .tco-stf__card-bottom { flex-wrap: wrap; }
}
