/* VDM Filtros v2 — barra de filtros de Ideas de viaje (2026-09-27) */

.vdm-f2-root, .vdm-f2-more, .vdm-f2-empty, .vdm-f2-sheet, .vdm-f2-ovl, .vdm-f2-promo { --f2-navy: #022151; --f2-coral: #f9224b; --f2-gris: #f6f6f6; --f2-crema: #FFF8F5; --f2-ease: cubic-bezier(.2,.8,.2,1); }
.vdm-f2-root { font-family: 'Montserrat', sans-serif; color: var(--f2-navy); margin: 0 0 28px; position: relative; z-index: 500; }
.vdm-f2-root *, .vdm-f2-sheet * { box-sizing: border-box; }
.vdm-f2-placeholder { display: none; }
.vdm-f2-wrap { transition: box-shadow .3s; }

/* barra */
.vdm-f2-bar { background: #fff; border-radius: 26px; box-shadow: 0 10px 30px -12px rgba(2,33,81,.18); border: 1px solid rgba(2,33,81,.06); padding: 10px 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; transition: box-shadow .3s, padding .3s; }
.vdm-f2-wrap.is-stuck .vdm-f2-bar { box-shadow: 0 18px 40px -16px rgba(2,33,81,.35); padding: 8px 10px; }
.vdm-f2-search { display: flex; align-items: center; gap: 10px; flex: 1 1 240px; min-width: 200px; background: var(--f2-gris); border-radius: 40px; padding: 0 16px; height: 46px; margin: 0; cursor: text; }
.vdm-f2-search input { border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 14px; color: var(--f2-navy); flex: 1; outline: 0; min-width: 0; height: auto; padding: 0; margin: 0; }
.vdm-f2-search input::placeholder { color: rgba(2,33,81,.45); }
.vdm-f2-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.vdm-f2-search svg { flex: none; opacity: .55; }
.vdm-f2-g { position: relative; }
.vdm-f2-pill { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 18px; border-radius: 40px; border: 1.5px solid rgba(2,33,81,.14); background: #fff; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; color: var(--f2-navy); cursor: pointer; transition: .2s; white-space: nowrap; line-height: 1; }
.vdm-f2-pill:hover, .vdm-f2-pill.open { border-color: var(--f2-navy); background: #fff; color: var(--f2-navy); }
.vdm-f2-pill.act { border-color: var(--f2-coral); background: #fff2f5; }
.vdm-f2-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px; background: var(--f2-coral); color: #fff; font-size: 11.5px; display: none; align-items: center; justify-content: center; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.vdm-f2-pill.act .vdm-f2-n, .vdm-f2-mob.act .vdm-f2-n, .vdm-f2-acc-h .vdm-f2-n { display: inline-flex; }
.vdm-f2-pill svg { transition: transform .25s; }
.vdm-f2-pill.open svg { transform: rotate(180deg); }
.vdm-f2-pan { position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px; background: #fff; border-radius: 20px; box-shadow: 0 24px 60px -20px rgba(2,33,81,.35); border: 1px solid rgba(2,33,81,.06); padding: 10px; opacity: 0; pointer-events: none; transform: translateY(8px) scale(.98); transition: .25s var(--f2-ease); z-index: 50; }
.vdm-f2-g.open .vdm-f2-pan { opacity: 1; pointer-events: auto; transform: none; }
.vdm-f2-opt { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-size: 14px; transition: background .15s; user-select: none; }
.vdm-f2-opt:hover { background: var(--f2-gris); }
.vdm-f2-opt i { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid rgba(2,33,81,.3); display: grid; place-items: center; flex: none; transition: .2s; font-style: normal; }
.vdm-f2-opt i::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); opacity: 0; }
.vdm-f2-opt.on i { background: var(--f2-coral); border-color: var(--f2-coral); }
.vdm-f2-opt.on i::after { opacity: 1; }
.vdm-f2-opt em { margin-left: auto; font-style: normal; font-size: 12px; color: rgba(2,33,81,.45); }
.vdm-f2-opt.zero { opacity: .4; }
.vdm-f2-prc { padding: 14px 12px 8px; min-width: 300px; }
.vdm-f2-prc-h { display: flex; justify-content: space-between; margin-bottom: 12px; }
.vdm-f2-prc-h small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(2,33,81,.5); }
.vdm-f2-prc-h b { font-family: 'Quicksand', sans-serif; font-size: 20px; }
.vdm-f2-right { text-align: right; }
.vdm-f2-sl { position: relative; height: 30px; }
.vdm-f2-tr { position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 4px; background: rgba(2,33,81,.12); }
.vdm-f2-fi { position: absolute; top: 13px; height: 4px; border-radius: 4px; background: var(--f2-coral); }
.vdm-f2-sl input { position: absolute; left: 0; right: 0; top: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 30px; }
.vdm-f2-sl input::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--f2-coral); box-shadow: 0 4px 12px rgba(2,33,81,.25); pointer-events: auto; cursor: grab; }
.vdm-f2-sl input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--f2-coral); pointer-events: auto; cursor: grab; }
.vdm-f2-sort { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 40px; background: var(--f2-gris); font-size: 13px; color: rgba(2,33,81,.7); margin: 0; }
.vdm-f2-sort select { border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-weight: 600; color: var(--f2-navy); outline: 0; cursor: pointer; height: auto; padding: 0 18px 0 0; margin: 0; }
.vdm-f2-clr { display: none; border: 0; background: none; color: var(--f2-coral); font-weight: 600; font-size: 13.5px; cursor: pointer; padding: 0 10px; text-decoration: underline; text-underline-offset: 3px; font-family: inherit; }
.vdm-f2-bar.has .vdm-f2-clr { display: inline-block; }
.vdm-f2-mob { display: none; }
.vdm-f2-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13.5px; }
.vdm-f2-cnt { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 30px; padding: 8px 14px; box-shadow: 0 6px 18px -8px rgba(2,33,81,.25); font-weight: 600; }
.vdm-f2-cnt b { font-family: 'Quicksand', sans-serif; font-size: 16px; color: var(--f2-coral); }
.vdm-f2-chips { display: contents; }
.vdm-f2-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--f2-navy); color: #fff; border-radius: 30px; padding: 7px 8px 7px 14px; font-size: 12.5px; font-weight: 600; animation: vdmF2pop .35s var(--f2-ease); }
.vdm-f2-chip button { border: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 11px; cursor: pointer; display: grid; place-items: center; padding: 0; line-height: 1; }
@keyframes vdmF2pop { from { transform: scale(.7); opacity: 0; } }

/* grid */
.vdm-f-hide, .vdm-f-more { display: none !important; }
.vdm-ideas-grid ul.fusion-grid { transition: opacity .22s; }
.vdm-ideas-grid ul.fusion-grid.vdm-f2-swap { opacity: 0; }
.vdm-f2-promo { list-style: none; }
.vdm-f2-empty { display: none; text-align: center; padding: 70px 24px; background: var(--f2-crema); border-radius: 24px; margin-bottom: 20px; }
.vdm-f2-empty h3 { font-family: 'Quicksand', sans-serif; font-size: 24px; margin: 0 0 10px; color: var(--f2-navy); }
.vdm-f2-empty p { color: rgba(2,33,81,.7); max-width: 46ch; margin: 0 auto 22px; line-height: 1.6; font-size: 15px; }
.vdm-f2-empty-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.vdm-f2-empty-clr, .vdm-f2-empty-cta, .vdm-f2-more button, .vdm-f2-sheet-f button { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 40px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: 'Montserrat', sans-serif; transition: transform .4s var(--f2-ease), background .4s, color .4s; }
.vdm-f2-empty-clr { background: #fff; color: var(--f2-navy); border: 1.5px solid rgba(2,33,81,.18); }
.vdm-f2-empty-cta { background: var(--f2-coral); color: #fff !important; }
.vdm-f2-empty-cta:hover, .vdm-f2-more button:hover { background: var(--f2-navy); color: #fff; transform: translateY(-3px); }
.vdm-f2-more { display: none; flex-direction: column; align-items: center; gap: 14px; margin: 46px 0 10px; }
.vdm-f2-more-bar { width: 200px; height: 4px; border-radius: 4px; background: rgba(2,33,81,.1); overflow: hidden; }
.vdm-f2-more-bar i { display: block; height: 100%; background: var(--f2-coral); transition: width .5s var(--f2-ease); }
.vdm-f2-more small { font-size: 13px; color: rgba(2,33,81,.6); }
.vdm-f2-more button, .vdm-f2-more button:focus { background: var(--f2-navy) !important; color: #fff !important; border: 0 !important; border-radius: 40px !important; box-shadow: none !important; text-shadow: none !important; height: auto !important; line-height: 1.3 !important; }
.vdm-f2-more button:hover { background: var(--f2-coral) !important; color: #fff !important; }
.vdm-f2-empty-clr, .vdm-f2-empty-clr:hover, .vdm-f2-sheet-clr, .vdm-f2-sheet-clr:hover { background: #fff !important; color: var(--f2-navy) !important; border: 1.5px solid rgba(2,33,81,.18) !important; box-shadow: none !important; text-shadow: none !important; height: auto !important; line-height: 1.3 !important; }
.vdm-f2-sheet-ok, .vdm-f2-sheet-ok:hover, .vdm-f2-sheet-ok:focus { background: var(--f2-coral) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; text-shadow: none !important; height: auto !important; line-height: 1.3 !important; }
.vdm-f2-sheet-x, .vdm-f2-sheet-x:hover, .vdm-f2-chip button, .vdm-f2-chip button:hover { box-shadow: none !important; text-shadow: none !important; line-height: 1 !important; height: auto; }
.vdm-f2-chip button, .vdm-f2-chip button:hover { background: rgba(255,255,255,.2) !important; color: #fff !important; border: 0 !important; height: 20px !important; width: 20px !important; }
.vdm-f2-sheet-x, .vdm-f2-sheet-x:hover { background: #f6f6f6 !important; color: #022151 !important; border: 0 !important; height: 34px !important; width: 34px !important; }
.vdm-f2-pill, .vdm-f2-pill:focus { box-shadow: none !important; text-shadow: none !important; height: 46px !important; line-height: 1 !important; }
.vdm-f2-mob, .vdm-f2-mob:focus { box-shadow: none !important; text-shadow: none !important; }

/* hoja movil */
.vdm-f2-ovl { position: fixed; inset: 0; background: rgba(1,20,47,.55); z-index: 9998; opacity: 0; pointer-events: none; transition: .3s; }
.vdm-f2-sheet { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 26px 26px 0 0; z-index: 9999; max-height: 86vh; display: flex; flex-direction: column; transform: translateY(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); font-family: 'Montserrat', sans-serif; color: #022151; }
body.vdm-f2-sheet-on .vdm-f2-ovl { opacity: 1; pointer-events: auto; }
body.vdm-f2-sheet-on .vdm-f2-sheet { transform: none; }
body.vdm-f2-sheet-on { overflow: hidden; }
.vdm-f2-sheet-h { padding: 14px 20px 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(2,33,81,.08); }
.vdm-f2-sheet-h b { font-family: 'Quicksand', sans-serif; font-size: 18px; }
.vdm-f2-sheet-x { border: 0; background: #f6f6f6; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; padding: 0; color: #022151; }
.vdm-f2-sheet-b { overflow: auto; padding: 10px 12px 20px; }
.vdm-f2-acc { border-bottom: 1px solid rgba(2,33,81,.08); }
.vdm-f2-acc-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 8px; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; cursor: pointer; }
.vdm-f2-acc-h .vdm-f2-n { margin-left: 8px; }
.vdm-f2-acc-h svg { transition: transform .25s; }
.vdm-f2-acc.open .vdm-f2-acc-h svg { transform: rotate(180deg); }
.vdm-f2-acc-b { display: none; padding-bottom: 10px; }
.vdm-f2-acc.open .vdm-f2-acc-b { display: block; }
.vdm-f2-acc .vdm-f2-prc { min-width: 0; }
.vdm-f2-sheet-f { display: flex; gap: 10px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(2,33,81,.08); }
.vdm-f2-sheet-f button { flex: 1; justify-content: center; padding: 14px; }
.vdm-f2-sheet-clr { background: #fff; color: #022151; border: 1.5px solid rgba(2,33,81,.18) !important; }
.vdm-f2-sheet-ok { background: #f9224b; color: #fff; }

@media (max-width: 760px) {
	.vdm-f2-bar .vdm-f2-g, .vdm-f2-bar .vdm-f2-sort, .vdm-f2-bar .vdm-f2-clr { display: none; }
	.vdm-f2-bar { flex-wrap: nowrap; padding: 8px; }
	.vdm-f2-search { flex: 1 1 0; min-width: 0; padding: 0 12px; }
	.vdm-f2-search input::placeholder { font-size: 13px; }
	.vdm-f2-mob { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 40px; background: var(--f2-navy); color: #fff; border: 0; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; cursor: pointer; flex: none; }
	.vdm-f2-mob:hover { background: var(--f2-navy); color: #fff; }
}
