/* ===== Catálogo completo ===== */
.vr-catalogo-wrap { font-family: var(--vr-fuente, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }

/* Barra de filtros */
.vr-filtros-barra {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.vr-filtro-grupo {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 1;
	min-width: 180px;
}

.vr-buscar-grupo { min-width: 240px; flex: 2; }

.vr-filtro-icono { color: #94a3b8; flex-shrink: 0; }

.vr-filtro-input,
.vr-filtro-select {
	width: 100%;
	padding: 9px 12px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: 14px;
	color: #1e293b;
	background: #fff;
	outline: none;
	font-family: inherit;
	transition: border-color .15s;
	-webkit-appearance: none;
	appearance: none;
}
.vr-filtro-input:focus,
.vr-filtro-select:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}

.vr-btn-limpiar {
	background: none;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 9px 14px;
	font-size: 13px;
	color: #64748b;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: border-color .15s, color .15s;
}
.vr-btn-limpiar:hover { border-color: #dc2626; color: #dc2626; }

/* Meta / contador */
.vr-catalogo-meta { margin-bottom: 14px; min-height: 22px; }
.vr-contador { font-size: 13px; color: #64748b; font-weight: 500; }

/* Grid override para catálogo */
.vr-catalogo-grid { min-height: 200px; }

/* Cargando */
.vr-catalogo-cargando {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 60px 20px;
	color: #94a3b8;
	font-size: 15px;
}
.vr-spinner-cat {
	width: 36px;
	height: 36px;
	border: 3px solid #e2e8f0;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: vr-girar .7s linear infinite;
}

/* Sin resultados filtro */
.vr-sin-resultados-filtro {
	text-align: center;
	padding: 48px 20px;
	color: #94a3b8;
}
.vr-sin-resultados-filtro p { font-size: 16px; margin: 16px 0 20px; }
.vr-sin-resultados-filtro svg { opacity: .35; }

.vr-error-catalogo { text-align: center; color: #dc2626; padding: 40px; grid-column: 1/-1; }

/* ===== Shortcode destacados ===== */
.vr-destacados-wrap { font-family: var(--vr-fuente, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }

.vr-destacados-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 20px;
}

.vr-destacados-footer {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.vr-sin-vehiculos { text-align: center; color: #94a3b8; padding: 40px; }

/* Botón reservar en shortcodes */
.vr-btn-reservar {
	width: 100%;
	margin-top: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

/* ===== Botón WhatsApp (wizard) ===== */
.vr-btn-wsp {
	background: #25d366;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-family: inherit;
	transition: background .15s, transform .1s;
}
.vr-btn-wsp:hover { background: #1da851; transform: translateY(-1px); }
.vr-btn-wsp:active { transform: none; }
.vr-btn-wsp svg { flex-shrink: 0; }

/* Acciones del paso resumen (2 columnas) */
.vr-resumen-acciones {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
}

.vr-acciones-pago {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	align-items: center;
}

/* ===== Mejoras al wizard ===== */

/* Opciones card-style */
.vr-opcion-radio,
.vr-opcion-extra {
	position: relative;
	cursor: pointer;
}
.vr-opcion-radio input.vr-radio-real,
.vr-check-extra input.vr-check-real {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}
.vr-opcion-radio { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.vr-opcion-radio.vr-opcion-seleccionada { border-color: #2563eb; background: #eff6ff; }
.vr-opcion-extra.vr-opcion-seleccionada { border-color: #2563eb; }

.vr-opcion-icono {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.vr-opcion-seleccionada .vr-opcion-icono { background: #dbeafe; }

.vr-opcion-precio-col {
	margin-left: auto;
	text-align: right;
	flex-shrink: 0;
}
.vr-opcion-periodo { display: block; font-size: 11px; color: #94a3b8; }

.vr-cantidad-label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; }

/* Chips de búsqueda mejorados */
.vr-chip {
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 13px;
	font-weight: 500;
	color: #374151;
}
.vr-chip-fecha {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 20px;
	padding: 4px 12px;
	font-size: 12px;
	color: #1d4ed8;
	font-weight: 500;
}
.vr-chip-sep { color: #94a3b8; font-size: 14px; }

/* No disponible */
.vr-no-disponible-tag {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #dc2626;
	font-size: 13px;
	text-align: center;
	padding: 8px;
	border-radius: 6px;
	margin-top: 4px;
}

/* Badge disponible */
.vr-badge-disp {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: rgba(22,163,74,.9);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 20px;
	backdrop-filter: blur(3px);
}

/* Tabla de confirmación */
.vr-tabla-confirmacion {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.vr-tabla-confirmacion th,
.vr-tabla-confirmacion td { padding: 8px 12px; border-bottom: 1px solid #e2e8f0; text-align: left; }
.vr-tabla-confirmacion th { color: #6b7280; font-weight: 600; width: 35%; }
.vr-tabla-confirmacion tr:last-child th,
.vr-tabla-confirmacion tr:last-child td { border-bottom: none; }

/* Fecha en preview */
.vr-fecha { font-size: 13px; color: #2563eb; font-weight: 500; }

/* Total preview */
.vr-total-preview { margin-top: 6px; }

/* SVG inline */
.vr-svg { vertical-align: middle; }

@keyframes vr-girar { to { transform: rotate(360deg); } }

/* ===== Responsive catálogo ===== */
@media (max-width: 768px) {
	.vr-filtros-barra { padding: 12px; gap: 8px; }
	.vr-filtro-grupo { min-width: 100%; flex: none; }
	.vr-buscar-grupo { min-width: 100%; }
	.vr-destacados-grid { grid-template-columns: 1fr; }
	.vr-resumen-acciones { flex-direction: column; align-items: stretch; }
	.vr-acciones-pago { flex-direction: column; }
	.vr-btn-wsp { width: 100%; justify-content: center; }
}

@media (min-width: 769px) and (max-width: 1024px) {
	.vr-destacados-grid { grid-template-columns: repeat(2, 1fr); }
}
