/* VDM Filtros — barra horizontal de filtros (diseño Claude Design) */

.vdm-f-root {
	font-family: 'Nunito Sans', system-ui, sans-serif;
	color: #022151;
	margin-bottom: 26px;
}

/* ---------- Barra ---------- */

.vdm-f-bar-inner {
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 8px 26px rgba(2, 33, 80, .10);
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	transition: padding .28s ease, box-shadow .28s ease, border-radius .28s ease;
}

.vdm-f-bar.is-compact .vdm-f-bar-inner {
	padding: 8px 14px;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(2, 33, 80, .16);
}

.vdm-f-brand { display: flex; align-items: center; gap: 8px; padding-right: 6px; flex: none; }
.vdm-f-brand-ic {
	width: 30px; height: 30px; border-radius: 50%; background: #022151;
	display: flex; align-items: center; justify-content: center; flex: none;
}
.vdm-f-brand-tx { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; }
.vdm-f-bar.is-compact .vdm-f-brand-tx { display: none; }

.vdm-f-group { position: relative; flex: none; }

.vdm-f-pill {
	display: flex; align-items: center; gap: 10px; cursor: pointer;
	padding: 11px 16px; border-radius: 30px;
	border: 1.5px solid rgba(2, 33, 80, .22); background: #fff; color: #022151;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px;
	transition: all .18s ease; white-space: nowrap;
}
.vdm-f-bar.is-compact .vdm-f-pill { padding: 8px 14px; }
.vdm-f-pill:hover, .vdm-f-pill.is-open { border-color: #F73558; }
.vdm-f-pill.is-active { border-color: #F73558; background: #FDF0F3; }
.vdm-f-pill svg { transition: transform .22s ease; }
.vdm-f-pill.is-open svg:last-child { transform: rotate(180deg); }

.vdm-f-badge {
	min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px;
	background: #F73558; color: #fff; font-size: 11.5px;
	display: inline-flex; align-items: center; justify-content: center;
}

.vdm-f-spacer { flex: 1; min-width: 8px; }

.vdm-f-clear {
	border: 0; background: none; cursor: pointer;
	font-size: 13px; font-weight: 700; color: rgba(2, 33, 80, .5);
	font-family: 'Quicksand', sans-serif; white-space: nowrap; padding: 6px 4px;
}
.vdm-f-clear:hover { color: #F73558; }

/* ---------- Panel desplegable ---------- */

.vdm-f-panel {
	position: absolute; top: calc(100% + 12px); left: 0; z-index: 60;
	background: #fff; border-radius: 20px;
	box-shadow: 0 24px 60px rgba(2, 33, 80, .22);
	padding: 18px; min-width: 240px;
	border: 1px solid rgba(2, 33, 80, .06);
	animation: vdmFDrop .2s ease both;
}
@keyframes vdmFDrop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.vdm-f-panel-cap {
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 12px;
	letter-spacing: 1px; text-transform: uppercase; color: rgba(2, 33, 80, .45);
	margin-bottom: 14px;
}

.vdm-f-list { display: flex; flex-direction: column; gap: 3px; }
.vdm-f-opt {
	display: flex; align-items: center; gap: 11px; cursor: pointer;
	padding: 9px 8px; border-radius: 12px; transition: background .15s ease;
}
.vdm-f-opt:hover { background: #F6F6F6; }
.vdm-f-check {
	width: 20px; height: 20px; border-radius: 6px;
	border: 2px solid rgba(2, 33, 80, .28); background: #fff;
	display: flex; align-items: center; justify-content: center; flex: none;
	transition: all .15s ease;
}
.vdm-f-check svg { opacity: 0; }
.vdm-f-opt.is-on .vdm-f-check { border-color: #F73558; background: #F73558; }
.vdm-f-opt.is-on .vdm-f-check svg { opacity: 1; }
.vdm-f-opt-tx { flex: 1; font-size: 14px; font-weight: 600; color: rgba(2, 33, 80, .85); white-space: nowrap; }
.vdm-f-opt.is-on .vdm-f-opt-tx { color: #022151; }
.vdm-f-opt-n { font-size: 12.5px; font-weight: 700; color: rgba(2, 33, 80, .35); }

/* ---------- Precio ---------- */

.vdm-f-price { padding: 4px 6px 2px; min-width: 250px; }
.vdm-f-price-heads { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.vdm-f-right { text-align: right; }
.vdm-f-price-cap {
	font-size: 10.5px; font-weight: 700; color: rgba(2, 33, 80, .45);
	text-transform: uppercase; letter-spacing: .5px;
}
.vdm-f-price-val { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 19px; color: #022151; }
.vdm-f-price-dash { width: 26px; height: 1.5px; background: rgba(2, 33, 80, .2); align-self: center; margin-top: 12px; }

.vdm-f-slider { position: relative; height: 26px; margin: 0 10px 8px; }
.vdm-f-track { position: absolute; top: 11px; left: 0; right: 0; height: 5px; border-radius: 5px; background: #E7E9EF; }
.vdm-f-track-fill { position: absolute; top: 11px; height: 5px; border-radius: 5px; background: #F73558; }

.vdm-f-range {
	-webkit-appearance: none; appearance: none; background: transparent;
	pointer-events: none; position: absolute; left: 0; top: 0;
	width: 100%; height: 26px; margin: 0;
}
.vdm-f-range:focus { outline: none; }
.vdm-f-range::-webkit-slider-thumb {
	-webkit-appearance: none; appearance: none; pointer-events: auto;
	width: 24px; height: 24px; border-radius: 50%;
	background: #fff; border: 4px solid #F73558;
	box-shadow: 0 3px 9px rgba(2, 33, 80, .28); cursor: grab; margin-top: 1px;
}
.vdm-f-range::-webkit-slider-thumb:active { cursor: grabbing; }
.vdm-f-range::-moz-range-thumb {
	pointer-events: auto; width: 24px; height: 24px; border-radius: 50%;
	background: #fff; border: 4px solid #F73558;
	box-shadow: 0 3px 9px rgba(2, 33, 80, .28); cursor: grab;
}
.vdm-f-price-limits { display: flex; justify-content: space-between; font-size: 11.5px; color: rgba(2, 33, 80, .4); font-weight: 600; margin: 0 10px; }

/* ---------- Chips + contador ---------- */

.vdm-f-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding: 0 6px; }
/* Con la barra fijada, la fila de contador+chips necesita fondo propio
   para no mezclarse con las tarjetas que pasan por debajo. */
.vdm-f-bar.is-compact .vdm-f-meta {
	display: inline-flex;
	width: fit-content;
	max-width: 100%;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(2, 33, 80, .16);
	padding: 9px 16px;
	margin-top: 10px;
}
.vdm-f-bar.is-compact .vdm-f-chip { box-shadow: none; }
.vdm-f-count { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; white-space: nowrap; }
.vdm-f-count b { color: #F73558; }
.vdm-f-chips { display: inline-flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.vdm-f-chip {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; border: 1.5px solid rgba(247, 53, 88, .35); color: #022151;
	font-size: 13px; font-weight: 700; padding: 7px 8px 7px 14px; border-radius: 30px;
	box-shadow: 0 4px 12px rgba(2, 33, 80, .06);
	animation: vdmFChip .28s cubic-bezier(.34, 1.56, .64, 1) both;
}
@keyframes vdmFChip { 0% { opacity: 0; transform: scale(.6); } 60% { transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
.vdm-f-chip-x {
	width: 19px; height: 19px; border-radius: 50%;
	background: #FDE7ED; color: #F73558;
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 12px; cursor: pointer; transition: all .15s ease;
}
.vdm-f-chip-x:hover { background: #F73558; color: #fff; }

/* ---------- Ocultar tarjetas + vacio ---------- */

.vdm-f-hide { display: none !important; }

.vdm-f-empty {
	text-align: center; padding: 50px 24px; background: #fff;
	border-radius: 22px; box-shadow: 0 14px 40px rgba(2, 33, 80, .08);
	margin-top: 10px;
}
.vdm-f-empty p { margin: 0 0 18px; font-size: 15.5px; color: rgba(2, 33, 80, .7); }
.vdm-f-empty-btn {
	border: 0; cursor: pointer; background: #F73558; color: #fff;
	padding: 12px 26px; border-radius: 30px;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px;
}

/* ---------- Movil ---------- */

.vdm-f-fab {
	display: none; position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
	z-index: 9990; border: 0; cursor: pointer;
	background: #F73558; color: #fff; border-radius: 30px; padding: 15px 28px;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px;
	align-items: center; gap: 10px;
	animation: vdmFPulse 2.6s ease-in-out infinite;
}
@keyframes vdmFPulse {
	0%, 100% { box-shadow: 0 10px 26px rgba(247, 53, 88, .4); }
	50% { box-shadow: 0 10px 34px rgba(247, 53, 88, .7); }
}
.vdm-f-fab-badge {
	min-width: 22px; height: 22px; padding: 0 6px; border-radius: 20px;
	background: #fff; color: #F73558; font-size: 12.5px;
	display: inline-flex; align-items: center; justify-content: center;
}

.vdm-f-overlay {
	display: none; position: fixed; inset: 0; z-index: 9994;
	background: rgba(2, 33, 80, .5); animation: vdmFFade .2s ease both;
}
@keyframes vdmFFade { from { opacity: 0; } to { opacity: 1; } }

.vdm-f-sheet {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995;
	background: #fff; border-radius: 26px 26px 0 0;
	max-height: 88vh; display: flex; flex-direction: column;
	transform: translateY(105%); transition: transform .3s cubic-bezier(.22, 1, .36, 1);
	font-family: 'Nunito Sans', system-ui, sans-serif; color: #022151;
}
.vdm-f-sheet.is-open { transform: translateY(0); }
body.vdm-f-noscroll { overflow: hidden; }

.vdm-f-sheet-head { padding: 16px 22px 10px; flex: none; }
.vdm-f-sheet-grip { display: block; width: 44px; height: 5px; border-radius: 5px; background: rgba(2, 33, 80, .18); margin: 0 auto 14px; }
.vdm-f-sheet-titlerow { display: flex; justify-content: space-between; align-items: center; }
.vdm-f-sheet-title { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 19px; }
.vdm-f-sheet-close {
	width: 32px; height: 32px; border-radius: 50%; border: 0; background: #F6F6F6;
	display: flex; align-items: center; justify-content: center;
	font-size: 15px; cursor: pointer; color: #022151;
}

.vdm-f-sheet-body { overflow-y: auto; padding: 4px 22px 10px; flex: 1; }
.vdm-f-acc { border-bottom: 1px solid rgba(2, 33, 80, .08); }
.vdm-f-acc-head {
	display: flex; justify-content: space-between; align-items: center;
	padding: 18px 2px; cursor: pointer;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 16px;
}
.vdm-f-acc-head svg { transition: transform .22s ease; }
.vdm-f-acc-head.is-open svg { transform: rotate(180deg); }
.vdm-f-acc-body { padding: 0 0 16px; animation: vdmFDrop .2s ease both; }
.vdm-f-acc-body .vdm-f-opt { padding: 11px 4px; }
.vdm-f-acc-body .vdm-f-opt-tx { white-space: normal; }

.vdm-f-sheet-foot {
	flex: none; padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
	border-top: 1px solid rgba(2, 33, 80, .08);
	display: flex; gap: 12px; align-items: center;
}
.vdm-f-sheet-clear {
	border: 0; background: none; cursor: pointer;
	font-size: 14px; font-weight: 700; color: rgba(2, 33, 80, .55);
	font-family: 'Quicksand', sans-serif; white-space: nowrap;
}
.vdm-f-sheet-apply {
	flex: 1; border: 0; cursor: pointer;
	background: #F73558; color: #fff; text-align: center;
	padding: 15px; border-radius: 30px;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px;
}

@media (max-width: 820px) {
	.vdm-f-bar { display: none; }
	.vdm-f-fab { display: inline-flex; }
	.vdm-f-root { margin-bottom: 8px; }
}
@media (min-width: 821px) {
	.vdm-f-fab, .vdm-f-overlay, .vdm-f-sheet { display: none !important; }
}

/* ---------- [vdm_viajes]: tarjetas de muestra ---------- */

.vdm-v-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
	font-family: 'Nunito Sans', system-ui, sans-serif;
}
@media (max-width: 900px) { .vdm-v-grid { grid-template-columns: 1fr; } }

.vdm-v-card {
	display: flex; flex-direction: column; background: #fff;
	border-radius: 22px; overflow: hidden; text-decoration: none;
	box-shadow: 0 14px 40px rgba(2, 33, 80, .10);
	transition: transform .22s ease, box-shadow .22s ease;
}
.vdm-v-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(2, 33, 80, .16); }

.vdm-v-photo { position: relative; display: block; height: 190px; background: #E7E9EF; }
.vdm-v-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vdm-v-badge {
	position: absolute; top: 14px; left: 14px;
	background: #F73558; color: #fff;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 12.5px;
	padding: 6px 13px; border-radius: 20px;
	box-shadow: 0 6px 16px rgba(247, 53, 88, .4);
}

.vdm-v-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.vdm-v-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.vdm-v-chip {
	background: #F6F6F6; color: rgba(2, 33, 80, .72);
	font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px;
}
.vdm-v-title {
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 18px;
	line-height: 1.3; color: #022151; flex: 1; margin-bottom: 16px;
}
.vdm-v-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vdm-v-desde {
	display: block; font-size: 10.5px; color: rgba(2, 33, 80, .5);
	font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
}
.vdm-v-price { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 22px; color: #022151; }
.vdm-v-price .woocommerce-Price-amount { font-family: inherit; }
.vdm-v-btn {
	background: #022151; color: #fff; padding: 11px 22px; border-radius: 30px;
	font-weight: 700; font-size: 13.5px; font-family: 'Quicksand', sans-serif;
	white-space: nowrap; transition: background .18s ease;
}
.vdm-v-card:hover .vdm-v-btn { background: #F73558; }

.vdm-v-more { text-align: center; margin-top: 30px; }
.vdm-v-more-btn {
	display: inline-block; background: #F73558; color: #fff !important;
	padding: 15px 32px; border-radius: 30px; text-decoration: none;
	font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14.5px;
	transition: transform .18s ease;
}
.vdm-v-more-btn:hover { transform: scale(1.05); }

/* ---------- Viajes relacionados al final de los posts ---------- */
.vdm-v-rel {
	margin-top: 60px; padding-top: 44px; padding-bottom: 70px;
	border-top: 1.5px solid rgba(2, 33, 80, .08);
	font-family: 'Nunito Sans', system-ui, sans-serif;
}
.vdm-v-rel-title {
	font-family: 'Quicksand', sans-serif !important; font-weight: 700 !important;
	font-size: 26px !important; color: #022151 !important; margin: 0 0 6px !important;
}
.vdm-v-rel-sub { font-size: 14.5px; color: rgba(2, 33, 80, .6); margin: 0 0 28px; }
.vdm-v-rel .vdm-v-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .vdm-v-rel .vdm-v-grid { grid-template-columns: 1fr; } }
