/**
 * ============================================================================
 * MÓDULO PASO 2 - SISTEMA MODULAR ZUMAC [100% EXPORTABLE]
 * ============================================================================
 *
 * Archivo: step2-module.css
 * Versión: 1.3.1 - ANCHO 900PX + MODAL INFO + ESTILOS COMPLETOS ✅
 * Fecha: 2025-01-16
 * Líneas: ~1745
 * Cobertura: COMPLETA - 100% de estilos del Step 2 + Modal de Información
 *
 * DEPENDENCIAS:
 * ✅ Requiere step1-module.css cargado ANTES
 *
 * CONTENIDO COMPLETO:
 * ✅ Steps Indicator (1. Información | 2. Transporte | 3. Viajero | 4. Pago)
 * ✅ Layout Step 2 (grid dos columnas)
 * ✅ Resumen del Viaje
 * ✅ Mapas y Layout de Ubicaciones (hero-map-container, locations-map-layout, route-info-compact)
 * ✅ Location Mode Selector BASE (mode-button, location-initial-message)
 * ✅ Leaflet Routing Machine (ocultar panel)
 * ✅ Location Autocomplete (suggestions, loading, no-results)
 * ✅ Grid de Vehículos
 * ✅ Alerta Flotante
 * ✅ Navegación entre Steps
 * ✅ Expansión del Modal
 * ✅ Responsive completo
 *
 * ESTILOS NO INCLUIDOS (ya están en step1-module.css):
 * ❌ Variables CSS (:root o .modzumac variables)
 * ❌ Componentes compartidos (.searchable-select-*, .location-mode-selector base, etc.)
 * ❌ Mapas y rutas base (.hero-map-container-*, .route-info-*, etc.)
 * ❌ Form groups base (.search-form-group, .search-label, .search-input base)
 * ❌ Animaciones compartidas (@keyframes slideIn, fadeIn, fadeOut)
 *
 * ============================================================================
 */

/* ============================================================================
   EXPANSIÓN DEL MODAL - STEP 2/3/4
   ============================================================================ */

/* ✅ FIX: Ancho del modal en Step 2 - DESKTOP (900px MÁS ANCHO que Step 1) */
.modzumac .hero-search-card.step-2 {
    /* Dimensiones */
    flex: 0 0 900px !important;
    max-width: 900px !important;
    min-width: 900px !important;
    width: 900px !important;
    max-height: 650px !important;

    /* Espaciado - IGUAL que Step 1 */
    padding: 16px 28px !important;
    border-radius: 20px !important;

    /* Bordes y sombras - IGUAL que Step 1 */
    border: 1px solid var(--modzumac-step1-border) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--modzumac-step1-border) !important;

    /* Efectos visuales - IGUAL que Step 1 */
    backdrop-filter: blur(10px) !important;
    transform: translate3d(0, 0, 0) !important;

    /* Overflow - IGUAL que Step 1 */
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* ✅ FIX: Ancho del modal en Step 3 - DESKTOP (900px MÁS ANCHO que Step 1) */
.modzumac .hero-search-card.step-3 {
    /* Dimensiones */
    flex: 0 0 900px !important;
    max-width: 900px !important;
    min-width: 900px !important;
    width: 900px !important;
    max-height: 650px !important;

    /* Espaciado - IGUAL que Step 1 */
    padding: 16px 28px !important;
    border-radius: 20px !important;

    /* Bordes y sombras - IGUAL que Step 1 */
    border: 1px solid var(--modzumac-step1-border) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--modzumac-step1-border) !important;

    /* Efectos visuales - IGUAL que Step 1 */
    backdrop-filter: blur(10px) !important;
    transform: translate3d(0, 0, 0) !important;

    /* Overflow - IGUAL que Step 1 */
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* ============================================================================
   STEPS INDICATOR (PROGRESS) - 1. Información | 2. Transporte | 3. Viajero | 4. Pago
   ============================================================================ */

/* ✅ PROTEGIDO: Contenedor del indicador de pasos */
.modzumac .steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.06);
    border: 1px solid #e0f2fe;
}

/* ✅ PROTEGIDO: Item individual de paso */
.modzumac .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* ✅ PROTEGIDO: Círculo con número del paso */
.modzumac .step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

/* ✅ PROTEGIDO: Paso completado - Verde */
.modzumac .step-item.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

/* ✅ PROTEGIDO: Paso activo - Color ZUMAC */
.modzumac .step-item.active .step-circle {
    background: var(--zumac-accent);
    color: var(--zumac-white);
    border-color: var(--zumac-accent);
    box-shadow: 0 0 0 4px rgba(255, 0, 34, 0.15);
}

/* ✅ PROTEGIDO: Etiqueta del paso (Información, Transporte, etc.) */
.modzumac .step-label {
    font-size: 10px;
    font-weight: 600;
    color: #1f2937; /* Negro por defecto */
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ✅ PROTEGIDO: Etiqueta paso completado - Verde */
.modzumac .step-item.completed .step-label {
    color: #10b981; /* Verde para completados */
}

/* ✅ PROTEGIDO: Etiqueta paso activo - Negro */
.modzumac .step-item.active .step-label {
    color: #1f2937; /* ✅ NEGRO para paso activo (NO blanco) */
    font-weight: 700;
}

/* ✅ PROTEGIDO: Línea de conexión entre pasos */
.modzumac .step-line {
    flex: 0 0 40px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 8px;
    margin-bottom: 22px;
}

/* ✅ PROTEGIDO: Línea completada - Verde */
.modzumac .step-line.completed {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

/* ============================================================================
   LAYOUT PRINCIPAL STEP 2
   ============================================================================ */

/* ✅ PROTEGIDO: Step 2 Layout - Grid de dos columnas */
.modzumac .step2-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* ✅ AUMENTADO: De 12px a 20px para mejor separación */
    margin-top: 4px;
}

/* ✅ PROTEGIDO: Títulos de sección en Step 2 */
.modzumac .step2-section-title {
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #06b6d4 0%, #00BCD4 100%);
    padding: 8px 16px;
    border-radius: 8px;
    margin: 0 0 2px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.25);
}

/* ✅ PROTEGIDO: Columna izquierda del Step 2 */
.modzumac .step2-left {
    display: flex;
    flex-direction: column;
}

/* ✅ PROTEGIDO: Overrides específicos de Step 2 para columna izquierda */
.modzumac .step2-left .search-form-group {
    margin-bottom: 8px;
}

.modzumac .step2-left .search-label {
    font-size: 12px;
    margin-bottom: 3px;
}

.modzumac .step2-left .search-input {
    padding: 7px 9px;
    font-size: 12px;
}

.modzumac .step2-left .location-mode-selector {
    margin-bottom: 6px;
}

.modzumac .step2-left .location-initial-message {
    font-size: 10px;
    padding: 5px 6px;
    margin-bottom: 6px;
}

.modzumac .step2-left .search-help-text {
    font-size: 10px;
    padding: 4px 6px;
    margin-top: 4px;
}

/* ✅ PROTEGIDO: Columna derecha del Step 2 */
.modzumac .step2-right {
    display: flex;
    flex-direction: column;
}

/* ============================================================================
   RESUMEN DEL VIAJE
   ============================================================================ */

/* ✅ PROTEGIDO: Summary Card para Step 2 */
.modzumac .step2-summary-card {
    background: white;
    border: 2px solid #e0f2fe;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.1);
}

/* ✅ PROTEGIDO: Header con gradiente cian */
.modzumac .summary-header {
    background: var(--zumac-accent);
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--zumac-accent);
}

.modzumac .summary-title {
    font-size: 0.85rem;
    font-weight: 900;
    color: var(--zumac-white);
    letter-spacing: 0.8px;
}

.modzumac .summary-icon {
    font-size: 1rem;
    color: var(--zumac-white);
}

/* ✅ PROTEGIDO: Cuerpo del resumen */
.modzumac .summary-body {
    padding: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* ✅ PROTEGIDO: Secciones dentro del resumen */
.modzumac .summary-section {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2fe;
}

.modzumac .summary-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.modzumac .summary-section-title {
    font-size: 0.65rem;
    font-weight: 800;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--zumac-border);
}

.modzumac .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
    gap: 8px;
}

.modzumac .summary-item:last-child {
    padding-bottom: 0;
}

.modzumac .summary-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: 0.3px;
}

.modzumac .summary-value {
    font-size: 0.75rem;
    font-weight: 800;
    color: #0e7490;
    text-align: right;
    flex-shrink: 0;
    max-width: 60%;
    word-wrap: break-word;
    line-height: 1.2;
}

/* ✅ PROTEGIDO: Estilo especial para el item de vehículo */
.modzumac .summary-item-vehicle {
    background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
    padding: 8px 10px;
    border-radius: 6px;
    margin-top: 2px;
}

/* ✅ PROTEGIDO: Estilo para vehículo no seleccionado */
.modzumac .summary-value.vehicle-not-selected {
    color: #94a3b8;
    font-style: italic;
    font-weight: 600;
}

/* ✅ PROTEGIDO: Estilo para el item de total en el resumen */
.modzumac .summary-item.summary-total {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid #06b6d4;
    font-weight: 700;
}

.modzumac .summary-total-price {
    color: #0891b2;
    font-size: 1.1em;
    font-weight: 700;
}

/* ============================================================================
   MAPAS Y LAYOUT DE UBICACIONES
   ============================================================================ */

/* ✅ PROTEGIDO: Contenedor de mapa principal */
.modzumac .hero-map-container {
    width: 100%;
    height: 440px;
    border-radius: 8px;
    background: #f0f9ff;
    border: 2px solid #e0f2fe;
}

/* ✅ PROTEGIDO: Asegurar que el contenido de Leaflet se ajuste */
.modzumac .hero-map-container .leaflet-container {
    border-radius: 8px;
    height: 100%;
    width: 100%;
}

/* ✅ PROTEGIDO: Preview de vehículo */
.modzumac .hero-vehicle-preview {
    margin-top: 6px;
    margin-bottom: 6px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e0f2fe;
}

.modzumac .hero-vehicle-preview img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

/* ✅ PROTEGIDO: Nuevo Layout - Origen/Destino izq, Mapa/Info derecha */
.modzumac .locations-map-layout {
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    margin-top: 12px;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 280px;
}

/* ✅ PROTEGIDO: Columna izquierda - Origen y Destino en vertical */
.modzumac .locations-column {
    flex: 0 0 55%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ✅ PROTEGIDO: Columna derecha - Mapa e Info en vertical */
.modzumac .map-info-column {
    flex: 0 0 calc(45% - 14px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ✅ PROTEGIDO: Mapa compacto rectangular */
.modzumac .hero-map-container-compact {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    background: #f0f9ff;
    border: 2px solid #e0f2fe;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.modzumac .hero-map-container-compact .leaflet-container {
    border-radius: 10px;
    height: 100%;
    width: 100%;
}

/* ✅ PROTEGIDO: Info de ruta compacta (debajo del mapa) */
.modzumac .route-info-compact {
    display: flex;
    flex-direction: row;
    gap: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    border: 2px solid #e0f2fe;
    border-radius: 10px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
    justify-content: space-around;
}

.modzumac .route-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.modzumac .route-info-label {
    font-size: 10px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modzumac .route-info-value {
    font-size: 14px;
    font-weight: 800;
    color: #1f2937;
}

/* ✅ PROTEGIDO: Mapa horizontal (ancho completo) */
.modzumac .hero-map-container-horizontal {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    background: #f0f9ff;
    border: 2px solid #e0f2fe;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
    margin-bottom: 12px;
}

.modzumac .hero-map-container-horizontal .leaflet-container {
    border-radius: 10px;
    height: 100%;
    width: 100%;
}

/* ✅ PROTEGIDO: Mapa pequeño (fallback para mobile) */
.modzumac .hero-map-container-small {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    background: #f0f9ff;
    border: 2px solid #e0f2fe;
    margin-top: 12px;
}

.modzumac .hero-map-container-small .leaflet-container {
    border-radius: 8px;
    height: 100%;
    width: 100%;
}

/* ============================================================================
   LOCATION MODE SELECTOR - BASE
   ============================================================================ */

/* ✅ PROTEGIDO: Selector de modo de ubicación BASE */
.modzumac .location-mode-selector {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 20px;
    position: relative;
}

.modzumac .mode-button {
    flex: 0 0 auto;
    padding: 12px 28px;
    border: 2px solid var(--zumac-border);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--zumac-text-light);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(250, 248, 245, 0.9));
    border: 2px solid var(--zumac-border);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    touch-action: manipulation;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modzumac .mode-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(250, 248, 245, 1));
    border-color: var(--zumac-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modzumac .mode-button.active {
    color: var(--zumac-white);
    font-weight: 700;
    background: linear-gradient(135deg, #00BCD4, #06b6d4);
    border-color: #00BCD4;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.modzumac .mode-button.active:hover {
    background: linear-gradient(135deg, #0284c7, #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.modzumac .location-initial-message {
    font-size: 11px;
    color: #0891b2;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 6px 8px;
    border-radius: 6px;
    border-left: 3px solid #06b6d4;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================================================
   LEAFLET ROUTING MACHINE
   ============================================================================ */

/* ✅ PROTEGIDO: Ocultar el panel de instrucciones de routing */
.modzumac .leaflet-routing-container {
    display: none !important;
}

/* ✅ PROTEGIDO: Estilos para la línea de ruta */
.modzumac .leaflet-routing-container-hide {
    display: none;
}

/* ============================================================================
   LOCATION AUTOCOMPLETE
   ============================================================================ */

/* ✅ PROTEGIDO: Wrapper del autocomplete */
.modzumac .location-autocomplete-wrapper {
    position: relative;
}

.modzumac .location-autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #00BCD4;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
    margin-top: -2px;
}

.modzumac .location-autocomplete-suggestion {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    color: #1e293b;
    border-bottom: 1px solid #e0f2fe;
    transition: all 0.2s ease;
}

.modzumac .location-autocomplete-suggestion:last-child {
    border-bottom: none;
}

.modzumac .location-autocomplete-suggestion:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #00BCD4;
}

.modzumac .location-autocomplete-suggestion-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.modzumac .location-autocomplete-suggestion-address {
    font-size: 10px;
    color: #64748b;
}

.modzumac .location-autocomplete-loading {
    padding: 8px 12px;
    font-size: 11px;
    color: #0891b2;
    text-align: center;
    font-style: italic;
}

.modzumac .location-autocomplete-no-results {
    padding: 8px 12px;
    font-size: 11px;
    color: #64748b;
    text-align: center;
}

/* ============================================================================
   GRID DE VEHÍCULOS
   ============================================================================ */

/* ✅ PROTEGIDO: Grid de vehículos en la derecha */
.modzumac .vehicles-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
    max-height: 480px;
    padding: 2px 14px 14px 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--zumac-accent) var(--zumac-background);
    background: var(--zumac-background);
    border-radius: 12px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modzumac .vehicles-grid::-webkit-scrollbar {
    width: 6px;
}

.modzumac .vehicles-grid::-webkit-scrollbar-track {
    background: #cbd5e1;
    border-radius: 10px;
}

.modzumac .vehicles-grid::-webkit-scrollbar-thumb {
    background: var(--zumac-accent);
    border-radius: 10px;
}

.modzumac .vehicles-grid::-webkit-scrollbar-thumb:hover {
    background: #cc0022;
}

/* ✅ PROTEGIDO: Vehicle card en grid - Diseño profesional limpio */
.modzumac .vehicle-card {
    background: white;
    border: 2px solid #e0f2fe;
    border-radius: 10px;
    padding: 12px 12px 10px 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    min-height: 160px;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.1);
    overflow: hidden;
}

.modzumac .vehicle-card:hover {
    border-color: var(--zumac-accent);
    box-shadow: 0 6px 16px rgba(255, 0, 34, 0.15);
    transform: translateY(-3px);
}

.modzumac .vehicle-card.selected {
    border-color: var(--zumac-accent);
    background: var(--zumac-card);
    box-shadow: 0 6px 16px rgba(255, 0, 34, 0.2);
}

/* ✅ PROTEGIDO: Precio badge minimalista arriba derecha */
.modzumac .vehicle-card-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--zumac-accent);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(255, 0, 34, 0.3);
    z-index: 1;
}

.modzumac .vehicle-card-price-badge .price-label {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.modzumac .vehicle-card-price-badge .price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--zumac-white);
    line-height: 1;
    letter-spacing: -0.3px;
}

.modzumac .vehicle-card-price-badge .price-currency {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1;
}

/* ✅ PROTEGIDO: Contenido principal */
.modzumac .vehicle-card-content {
    display: flex;
    gap: 10px;
    flex: 1;
    margin-bottom: 4px;
    padding: 0;
}

/* ✅ PROTEGIDO: Imagen lado izquierdo */
.modzumac .vehicle-card-image {
    flex: 0 0 100px;
    height: 100px;
    border-radius: 6px;
    overflow: visible;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(14, 165, 233, 0.08);
    padding: 3px;
}

.modzumac .vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ✅ PROTEGIDO: Información con viñetas */
.modzumac .vehicle-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    justify-content: flex-start;
    padding-right: 50px;
}

.modzumac .vehicle-card-name {
    font-size: 13px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 2px 0;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.modzumac .vehicle-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.modzumac .vehicle-card-features li {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
    padding-left: 14px;
    position: relative;
    font-weight: 500;
}

.modzumac .vehicle-card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #06b6d4;
    font-weight: 900;
    font-size: 12px;
}

/* ✅ PROTEGIDO: Contenedor de botones de acción */
.modzumac .vehicle-action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-bottom: 2px;
}

/* ✅ PROTEGIDO: Botón de información (amarillo) */
.modzumac .vehicle-info-btn {
    flex: 0 0 auto;
    width: 56px;
    height: 40px;
    padding: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modzumac .vehicle-info-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(251, 191, 36, 0.4);
}

.modzumac .vehicle-info-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(251, 191, 36, 0.3);
}

.modzumac .vehicle-info-btn .info-icon {
    font-size: 18px;
    line-height: 1;
}

/* ✅ PROTEGIDO: Botón de selección */
.modzumac .vehicle-select-btn {
    flex: 0 0 auto;
    margin: 0;
    padding: 8px 30px;
    background: linear-gradient(135deg, #06b6d4 0%, #00BCD4 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.modzumac .vehicle-select-btn:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(6, 182, 212, 0.35);
}

.modzumac .vehicle-select-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(6, 182, 212, 0.25);
}

.modzumac .vehicle-card.selected .vehicle-select-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}

.modzumac .vehicle-card.selected .vehicle-select-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 5px 14px rgba(16, 185, 129, 0.4);
}

/* ============================================================================
   ALERTA FLOTANTE DE SELECCIÓN
   ============================================================================ */

/* ✅ PROTEGIDO: Alerta Flotante de Vehículo Seleccionado */
.modzumac .vehicle-selection-alert-floating {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #10b981;
    border-left: 5px solid #059669;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3), 0 0 0 1px rgba(16, 185, 129, 0.1);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    max-width: 420px;
    min-width: 320px;
}

.modzumac .vehicle-selection-alert-floating.active {
    opacity: 1;
    transform: translateX(0);
}

.modzumac .vehicle-alert-icon-floating {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    animation: modzumac-pulse-success 2s ease-in-out infinite;
}

.modzumac .vehicle-alert-content-floating {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.modzumac .vehicle-alert-title-floating {
    font-size: 15px;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.modzumac .vehicle-alert-text-floating {
    font-size: 13px;
    font-weight: 600;
    color: #065f46;
    line-height: 1.5;
    word-wrap: break-word;
}

.modzumac .vehicle-alert-text-floating strong {
    font-weight: 800;
    color: #047857;
}

.modzumac .vehicle-alert-close {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 2px solid #10b981;
    border-radius: 50%;
    color: #10b981;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-left: 8px;
}

.modzumac .vehicle-alert-close:hover {
    background: #10b981;
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.modzumac .vehicle-alert-close:active {
    transform: rotate(90deg) scale(0.9);
}

/* ============================================================================
   NAVEGACIÓN ENTRE STEPS
   ============================================================================ */

/* ✅ PROTEGIDO: Contenedor de botones de navegación en step 2 */
.modzumac .step-nav-buttons {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

/* ✅ PROTEGIDO: Botones de navegación en step 2 */
.modzumac .btn-step-nav {
    padding: 10px 18px;
    background: var(--zumac-accent);
    color: var(--zumac-white);
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    min-height: 48px;
    touch-action: manipulation;
}

.modzumac .btn-step-nav.btn-back {
    flex: 0 0 35%;
    background: var(--zumac-primary);
}

.modzumac .btn-step-nav.btn-continue {
    flex: 0 0 60%;
    background: linear-gradient(135deg, var(--brand), #19d6cc) !important;
    color: #05363e !important;
    box-shadow: 0 12px 26px rgba(14, 189, 180, .35) !important;
}

.modzumac .btn-step-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.modzumac .btn-step-nav:hover::before {
    left: 100%;
}

.modzumac .btn-step-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.modzumac .btn-step-nav.btn-back:hover {
    background: #0a1f35;
}

.modzumac .btn-step-nav.btn-continue:hover {
    background: linear-gradient(135deg, #19d6cc, var(--brand)) !important;
    box-shadow: 0 14px 28px rgba(14, 189, 180, .45) !important;
    color: #05363e !important;
}

.modzumac .btn-step-nav:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.modzumac .btn-step-nav:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================================
   ANIMACIONES EXCLUSIVAS
   ============================================================================ */

/* ✅ PROTEGIDO: Animación pulse-success con prefijo */
@keyframes modzumac-pulse-success {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.6);
    }
}

/* ============================================================================
   RESPONSIVE - MEDIA QUERIES
   ============================================================================ */

/* ✅ FIX: Tablet landscape - MISMO ANCHO que Step 1 (450px) */
@media (max-width: 1024px) {
    /* Step 2 en tablet - IGUAL que Step 1 */
    .modzumac .hero-search-card.step-2 {
        flex: 0 0 450px !important;
        max-width: 450px !important;
        min-width: 450px !important;
        width: 450px !important;
        padding: 18px 32px !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }

    /* Step 3 en tablet - IGUAL que Step 1 */
    .modzumac .hero-search-card.step-3 {
        flex: 0 0 450px !important;
        max-width: 450px !important;
        min-width: 450px !important;
        width: 450px !important;
        padding: 18px 32px !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
}

/* ✅ PROTEGIDO: Tablet y mobile grande */
@media (max-width: 768px) {
    /* Steps 2, 3, 4 en mobile (mismo ancho para todos) */
    .modzumac .hero-search-card.step-2,
    .modzumac .hero-search-card.step-3,
    .modzumac .hero-search-card.step-4 {
        flex: 1 !important;
        width: 100% !important;
        max-width: 540px !important;
        padding: 24px 26px !important;
        margin: 0 auto !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }

    /* Step 2 layout en mobile */
    .modzumac .step2-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modzumac .step2-summary-card {
        padding: 14px;
    }

    .modzumac .summary-label {
        font-size: 0.75rem;
    }

    .modzumac .summary-value {
        font-size: 0.8rem;
        max-width: 70%;
    }

    .modzumac .vehicles-grid {
        max-height: 400px;
    }

    /* Responsive para alerta flotante */
    .modzumac .vehicle-selection-alert-floating {
        top: 80px;
        right: 16px;
        left: 16px;
        max-width: none;
        min-width: 0;
        padding: 14px 16px;
    }

    .modzumac .vehicle-alert-icon-floating {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .modzumac .vehicle-alert-title-floating {
        font-size: 13px;
    }

    .modzumac .vehicle-alert-text-floating {
        font-size: 12px;
    }

    .modzumac .vehicle-alert-close {
        width: 26px;
        height: 26px;
        font-size: 20px;
    }
}

/* ✅ PROTEGIDO: Mobile pequeño (iPhone SE, etc) */
@media (max-width: 480px) {
    /* Steps 2, 3, 4 en mobile pequeño - IGUAL que Step 1 */
    .modzumac .hero-search-card.step-2,
    .modzumac .hero-search-card.step-3,
    .modzumac .hero-search-card.step-4 {
        padding: 16px 12px !important;
    }

    /* Step indicator más compacto */
    .modzumac .steps-indicator {
        padding: 6px 10px;
        margin-bottom: 10px;
    }

    .modzumac .step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .modzumac .step-label {
        font-size: 8px;
    }

    .modzumac .step-line {
        flex: 0 0 25px;
        margin: 0 5px;
        margin-bottom: 18px;
    }

    /* Step 2 en mobile pequeño */
    .modzumac .step2-layout {
        gap: 14px;
    }

    .modzumac .step2-summary-card {
        padding: 12px;
    }

    .modzumac .summary-item {
        padding: 8px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .modzumac .summary-label {
        font-size: 0.7rem;
    }

    .modzumac .summary-value {
        font-size: 0.75rem;
        max-width: 100%;
        text-align: left;
    }

    .modzumac .step2-section-title {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .modzumac .vehicles-grid {
        max-height: 350px;
        padding: 1px 12px 12px 12px;
    }

    .modzumac .vehicle-card {
        min-height: 115px;
        padding: 9px;
        gap: 2px;
    }

    .modzumac .vehicle-card-image {
        flex: 0 0 75px;
        height: 75px;
        padding: 4px;
    }

    .modzumac .vehicle-card-info {
        padding-right: 45px;
        gap: 3px;
    }

    .modzumac .vehicle-card-name {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .modzumac .vehicle-card-features {
        gap: 2px;
    }

    .modzumac .vehicle-card-features li {
        font-size: 10px;
        line-height: 1.2;
    }

    .modzumac .vehicle-card-price-badge {
        top: 6px;
        right: 6px;
        padding: 4px 7px;
    }

    .modzumac .vehicle-card-price-badge .price-label {
        font-size: 8px;
    }

    .modzumac .vehicle-card-price-badge .price-amount {
        font-size: 13px;
    }

    .modzumac .vehicle-card-price-badge .price-currency {
        font-size: 8px;
    }

    .modzumac .vehicle-select-btn {
        padding: 8px 12px;
        font-size: 11px;
        min-height: 36px;
    }

    .modzumac .step2-left .search-input {
        font-size: 13px;
        padding: 9px 11px;
    }

    /* Responsive para alerta flotante mobile pequeño */
    .modzumac .vehicle-selection-alert-floating {
        top: 70px;
        right: 12px;
        left: 12px;
        padding: 12px 14px;
        gap: 10px;
    }

    .modzumac .vehicle-alert-icon-floating {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .modzumac .vehicle-alert-title-floating {
        font-size: 12px;
    }

    .modzumac .vehicle-alert-text-floating {
        font-size: 11px;
    }

    .modzumac .vehicle-alert-close {
        width: 24px;
        height: 24px;
        font-size: 18px;
    }
}

/* ✅ iPHONE 14 PRO MAX (430px) - ANCHO 355px */
@media (max-width: 480px) and (min-width: 401px) {
    .modzumac .hero-search-card.step-2,
    .modzumac .hero-search-card.step-3,
    .modzumac .hero-search-card.step-4 {
        padding: 10px 8px !important;
        max-width: 355px !important;
        width: 355px !important;
        min-width: 355px !important;
    }
}

/* ✅ PROTEGIDO: iPhone 15 Pro y similares (393px ancho) */
@media (max-width: 400px) {
    /* ✅ CARD PRINCIPAL - ANCHO 350px PARA iPHONE 14/15 PRO */
    .modzumac .hero-search-card.step-2,
    .modzumac .hero-search-card.step-3,
    .modzumac .hero-search-card.step-4 {
        padding: 10px 8px !important;
        max-width: 350px !important;
        width: 350px !important;
        min-width: 350px !important;
    }

    /* ✅ STEP INDICATOR - LEGIBLE PARA iPHONE 14/15 PRO */
    .modzumac .steps-indicator {
        padding: 8px 6px;
        margin-bottom: 8px;
        border-radius: 8px;
        gap: 0;
    }

    .modzumac .step-circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-width: 2px;
    }

    .modzumac .step-label {
        font-size: 8px;
        letter-spacing: 0.3px;
    }

    .modzumac .step-line {
        flex: 0 0 15px;
        margin: 0 3px;
        margin-bottom: 16px;
    }

    .modzumac .step-item {
        gap: 4px;
    }

    /* Step 2 optimizado para pantallas muy pequeñas */
    .modzumac .step2-layout {
        gap: 10px;
    }

    /* ✅ RESUMEN - LEGIBLE PARA iPHONE 14/15 PRO */
    .modzumac .step2-summary-card {
        padding: 8px;
        border-radius: 8px;
        border-width: 1px;
    }

    .modzumac .summary-header {
        padding: 6px 10px;
    }

    .modzumac .summary-title {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .modzumac .summary-icon {
        font-size: 1rem;
    }

    .modzumac .summary-body {
        padding: 8px;
    }

    .modzumac .summary-section {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .modzumac .summary-section-title {
        font-size: 0.7rem;
        margin-bottom: 4px;
        padding-bottom: 3px;
        letter-spacing: 0.4px;
    }

    .modzumac .summary-item {
        padding: 3px 0;
        gap: 4px;
    }

    .modzumac .summary-label {
        font-size: 0.7rem;
        letter-spacing: 0.2px;
    }

    .modzumac .summary-value {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    /* ✅ SUMMARY ITEM VEHICLE - MÁS COMPACTO */
    .modzumac .summary-item-vehicle {
        padding: 4px 6px;
        margin-top: 1px;
    }

    .modzumac .step2-section-title {
        font-size: 12px;
        padding: 8px 10px;
        margin-bottom: 4px;
        letter-spacing: 0.5px;
    }

    .modzumac .vehicles-grid {
        max-height: 280px;
        padding: 1px 6px 6px 6px;
        gap: 4px;
    }

    .modzumac .vehicle-card {
        min-height: 80px;
        padding: 5px;
        border-radius: 6px;
        gap: 0;
    }

    .modzumac .vehicle-card-content {
        gap: 6px;
        margin-bottom: 0;
    }

    .modzumac .vehicle-card-image {
        flex: 0 0 55px;
        height: 55px;
        border-radius: 4px;
        padding: 2px;
    }

    .modzumac .vehicle-card-info {
        padding-right: 40px;
        gap: 1px;
    }

    .modzumac .vehicle-card-name {
        font-size: 9px;
        margin-bottom: 1px;
        font-weight: 700;
    }

    .modzumac .vehicle-card-features {
        gap: 0px;
    }

    .modzumac .vehicle-card-features li {
        font-size: 7px;
        padding-left: 9px;
        line-height: 1.2;
    }

    .modzumac .vehicle-card-features li::before {
        font-size: 8px;
    }

    .modzumac .vehicle-card-price-badge {
        top: 3px;
        right: 3px;
        padding: 2px 4px;
        border-radius: 4px;
    }

    .modzumac .vehicle-card-price-badge .price-label {
        font-size: 5px;
    }

    .modzumac .vehicle-card-price-badge .price-amount {
        font-size: 9px;
    }

    .modzumac .vehicle-card-price-badge .price-currency {
        font-size: 5px;
    }

    .modzumac .vehicle-select-btn {
        padding: 3px 6px;
        font-size: 6px;
        border-radius: 4px;
        min-height: 22px;
        height: 22px;
    }

    /* ✅ BOTÓN INFO - MÁS COMPACTO */
    .modzumac .vehicle-info-btn {
        width: 32px;
        height: 22px;
        font-size: 10px;
        border-radius: 4px;
    }

    .modzumac .vehicle-info-btn .info-icon {
        font-size: 11px;
    }

    /* ✅ BOTONES DE ACCIÓN - MÁS COMPACTOS */
    .modzumac .vehicle-action-buttons {
        gap: 3px;
        padding-bottom: 0;
        margin-top: 2px;
    }

    /* Botones de navegación para iPhone 14/15 Pro */
    .modzumac .btn-step-nav {
        padding: 10px 14px;
        font-size: 12px;
        font-weight: 700;
        min-height: 38px;
        border-radius: 6px;
    }

    .modzumac .btn-step-nav.btn-back {
        flex: 0 0 32%;
    }

    .modzumac .btn-step-nav.btn-continue {
        flex: 0 0 63%;
    }

    .modzumac .step-nav-buttons {
        gap: 6px;
        margin-top: 8px;
    }
}

/* ✅ PROTEGIDO: Optimizaciones táctiles para mobile */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar áreas táctiles en dispositivos touch */
    .modzumac .btn-step-nav {
        min-height: 44px;
    }

    /* Mejorar feedback táctil con animación sutil */
    .modzumac .btn-step-nav:active {
        transform: scale(0.96) translateY(1px);
        transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ============================================================================
   ESTILOS ADICIONALES PARA VEHÍCULOS - v1.2.6
   ============================================================================ */

/* ✅ NUEVO: Capacidad inline (7 pax, 5 pax) al lado del título */
.modzumac .vehicle-capacity-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.modzumac .vehicle-capacity-inline svg {
    stroke: #64748b;
    flex-shrink: 0;
}

/* ✅ NUEVO: Contenedor de información con fondo gris */
.modzumac .vehicle-info-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    border-left: 3px solid #0891b2;
}

.modzumac .vehicle-details-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* ✅ NUEVO: Soporte para unidades múltiples en badge */
.modzumac .vehicle-card-price-badge.multiple-units {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modzumac .units-badge {
    font-size: 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
}

/* ============================================================================
   MODAL DE INFORMACIÓN DEL VEHÍCULO
   ============================================================================ */

/* Overlay del modal */
.modzumac .vehicle-info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10004; /* ✅ OPTIMIZADO: Reducido de 999999 a 10004 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modzumac-vehicle-fadeIn 0.2s ease;
}

/* Contenedor del modal */
.modzumac .vehicle-info-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modzumac-vehicle-slideUp 0.3s ease;
}

/* Botón cerrar modal */
.modzumac .vehicle-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modzumac .vehicle-modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modzumac .vehicle-modal-close svg {
    stroke: #64748b;
}

/* Header del modal */
.modzumac .vehicle-modal-header {
    position: relative;
}

/* Imagen del vehículo en modal */
.modzumac .vehicle-modal-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0 0;
}

/* Título del modal */
.modzumac .vehicle-modal-title {
    padding: 20px 24px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, white 100%);
    margin-top: -50px;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.modzumac .vehicle-modal-title h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0 0 8px 0;
}

.modzumac .vehicle-modal-title p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

/* Contenido del modal */
.modzumac .vehicle-modal-content {
    padding: 0 24px 24px;
}

/* Secciones del modal */
.modzumac .vehicle-modal-section {
    margin-bottom: 24px;
}

.modzumac .vehicle-modal-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 12px 0;
}

/* Lista de características en modal */
.modzumac .vehicle-modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modzumac .vehicle-modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #0891b2;
}

.modzumac .feature-check {
    color: #059669;
    font-weight: 700;
    font-size: 16px;
}

/* Detalles del vehículo en modal */
.modzumac .vehicle-modal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modzumac .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
}

.modzumac .detail-item svg {
    stroke: #0891b2;
    flex-shrink: 0;
}

/* Botón de selección en modal */
.modzumac .vehicle-modal-select-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 24px 24px;
    width: calc(100% - 48px);
}

.modzumac .vehicle-modal-select-btn:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Animaciones para modal */
@keyframes modzumac-vehicle-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modzumac-vehicle-slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================================================
   TARJETAS DE CATEGORÍAS/VEHÍCULOS - VERSIÓN COMPACTA
   Migrado desde category-cards1.css con prefijo .modzumac
   ============================================================================ */

/* Grid de categorías/vehículos */
.modzumac .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

/* Card compacta */
.modzumac .category-card-compact {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 280px;
}

.modzumac .category-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #0891b2;
}

.modzumac .category-card-compact.selected {
    border-color: #0891b2;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.25);
}

.modzumac .category-card-compact.premium-category {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #d4af37;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15);
}

.modzumac .category-card-compact.premium-category.selected {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-color: #d4af37;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* Imagen compacta */
.modzumac .category-card-image-compact {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.modzumac .category-image-overlay-compact {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
}

/* Badge de precio compacto */
.modzumac .category-price-badge-compact {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.modzumac .category-price-badge-compact.multiple-units {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.modzumac .price-amount-compact {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.modzumac .units-badge-compact {
    font-size: 10px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Contenido compacto */
.modzumac .category-card-content-compact {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Contenedor principal de información (YA EXISTE como .vehicle-info-container) */
.modzumac .category-info-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    background: #f8fafc;
    border-radius: 8px;
    padding: 10px;
    border-left: 3px solid #0891b2;
}

.modzumac .category-details-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modzumac .category-title-compact {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.2;
}

/* Capacidad inline (YA EXISTE como .vehicle-capacity-inline) */
.modzumac .category-capacity-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.modzumac .category-capacity-inline svg {
    stroke: #64748b;
    flex-shrink: 0;
}

/* Botón de "Más info" VISIBLE */
.modzumac .category-info-btn-visible {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.25);
}

.modzumac .category-info-btn-visible:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);
}

.modzumac .category-info-btn-visible svg {
    stroke: white;
}

.modzumac .category-info-btn-visible .info-text {
    color: white;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Botón de selección compacto */
.modzumac .category-select-btn-compact {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.modzumac .category-select-btn-compact:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.modzumac .category-card-compact.selected .category-select-btn-compact {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.modzumac .category-card-compact.selected .category-select-btn-compact:hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
}

/* Modal de información de categorías (similar al vehicle-modal) */
.modzumac .category-info-modal-overlay,
.modzumac.category-info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10005; /* ✅ OPTIMIZADO: Reducido de 999999 a 10005 */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modzumac-category-fadeIn 0.2s ease;
}

@keyframes modzumac-category-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modzumac .category-info-modal,
.modzumac.category-info-modal-overlay .category-info-modal {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modzumac-category-slideUp 0.3s ease;
}

@keyframes modzumac-category-slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modzumac .category-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modzumac .category-modal-close:hover {
    background: white;
    transform: scale(1.1);
}

.modzumac .category-modal-close svg {
    stroke: #64748b;
}

.modzumac .category-modal-header {
    position: relative;
}

.modzumac .category-modal-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0 0;
}

.modzumac .category-modal-title {
    padding: 20px 24px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, white 100%);
    margin-top: -50px;
    position: relative;
    border-radius: 16px 16px 0 0;
}

.modzumac .category-modal-title h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1e3a8a;
    margin: 0 0 8px 0;
}

.modzumac .category-modal-title p {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.modzumac .category-modal-content {
    padding: 0 24px 24px;
}

.modzumac .category-modal-section {
    margin-bottom: 24px;
}

.modzumac .category-modal-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 12px 0;
}

.modzumac .category-modal-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modzumac .category-modal-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #0891b2;
}

.modzumac .category-modal-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modzumac .category-modal-select-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 24px 24px;
    width: calc(100% - 48px);
}

.modzumac .category-modal-select-btn:hover {
    background: linear-gradient(135deg, #0e7490 0%, #155e75 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Skeleton loading opcional */
.modzumac .skeleton-loading {
    pointer-events: none;
    opacity: 0.6;
    animation: modzumac-pulse 1.5s ease-in-out infinite;
}

@keyframes modzumac-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

/* ============================================================================
   RESPONSIVE - MODALES DE INFORMACIÓN (Category & Vehicle Info Modals)
   ============================================================================ */

/* ✅ TABLET Y MOBILE GRANDE (768px) */
@media (max-width: 768px) {
    /* Category Info Modal - Responsive */
    .modzumac .category-info-modal,
    .modzumac.category-info-modal-overlay .category-info-modal,
    .modzumac .vehicle-info-modal {
        max-width: 100%;
        width: calc(100% - 40px);
        margin: 20px;
        max-height: calc(100vh - 40px);
        border-radius: 12px;
    }

    .modzumac .category-info-modal-overlay,
    .modzumac.category-info-modal-overlay,
    .modzumac .vehicle-info-modal-overlay {
        padding: 20px 10px;
    }

    /* Imágenes más pequeñas en mobile */
    .modzumac .category-modal-image,
    .modzumac .vehicle-modal-image {
        height: 150px;
    }

    /* Botón de cerrar más grande para touch */
    .modzumac .category-modal-close,
    .modzumac .vehicle-modal-close {
        width: 40px;
        height: 40px;
        top: 12px;
        right: 12px;
    }

    .modzumac .category-modal-close svg,
    .modzumac .vehicle-modal-close svg {
        width: 20px;
        height: 20px;
    }

    /* Ajustar padding del contenido */
    .modzumac .category-modal-content,
    .modzumac .vehicle-modal-content {
        padding: 0 20px 20px;
    }

    /* Títulos más pequeños */
    .modzumac .category-modal-title h3,
    .modzumac .vehicle-modal-title h3 {
        font-size: 22px;
    }

    .modzumac .category-modal-section h4,
    .modzumac .vehicle-modal-section h4 {
        font-size: 15px;
    }

    /* Botones de selección */
    .modzumac .category-modal-select-btn,
    .modzumac .vehicle-modal-select-btn {
        margin: 0 20px 20px;
        width: calc(100% - 40px);
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* ✅ MOBILE PEQUEÑO (480px) */
@media (max-width: 480px) {
    /* Modales ocupan casi toda la pantalla */
    .modzumac .category-info-modal,
    .modzumac.category-info-modal-overlay .category-info-modal,
    .modzumac .vehicle-info-modal {
        width: calc(100% - 20px);
        margin: 10px;
        max-height: calc(100vh - 20px);
        border-radius: 10px;
    }

    .modzumac .category-info-modal-overlay,
    .modzumac.category-info-modal-overlay,
    .modzumac .vehicle-info-modal-overlay {
        padding: 10px 5px;
    }

    /* Imágenes aún más pequeñas */
    .modzumac .category-modal-image,
    .modzumac .vehicle-modal-image {
        height: 120px;
    }

    /* Títulos del modal */
    .modzumac .category-modal-title,
    .modzumac .vehicle-modal-title {
        padding: 16px 20px 12px;
    }

    .modzumac .category-modal-title h3,
    .modzumac .vehicle-modal-title h3 {
        font-size: 20px;
    }

    .modzumac .category-modal-title p,
    .modzumac .vehicle-modal-title p {
        font-size: 13px;
    }

    /* Contenido más compacto */
    .modzumac .category-modal-content,
    .modzumac .vehicle-modal-content {
        padding: 0 16px 16px;
    }

    .modzumac .category-modal-section,
    .modzumac .vehicle-modal-section {
        margin-bottom: 20px;
    }

    .modzumac .category-modal-section h4,
    .modzumac .vehicle-modal-section h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* Features y detalles más compactos */
    .modzumac .category-modal-features,
    .modzumac .vehicle-modal-features {
        gap: 8px;
    }

    .modzumac .category-modal-features li,
    .modzumac .vehicle-modal-features li {
        font-size: 13px;
        padding: 8px;
    }

    .modzumac .category-modal-details,
    .modzumac .vehicle-modal-details {
        gap: 10px;
    }

    .modzumac .detail-item {
        font-size: 13px;
        padding: 10px;
    }

    /* Botones de selección más compactos */
    .modzumac .category-modal-select-btn,
    .modzumac .vehicle-modal-select-btn {
        margin: 0 16px 16px;
        width: calc(100% - 32px);
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* ✅ MOBILE MUY PEQUEÑO (400px) */
@media (max-width: 400px) {
    /* Optimización para pantallas muy pequeñas (iPhone SE, etc) */
    .modzumac .category-modal-title h3,
    .modzumac .vehicle-modal-title h3 {
        font-size: 18px;
    }

    .modzumac .category-modal-image,
    .modzumac .vehicle-modal-image {
        height: 100px;
    }

    .modzumac .category-modal-features li,
    .modzumac .vehicle-modal-features li {
        font-size: 12px;
        gap: 10px;
    }

    .modzumac .detail-item {
        font-size: 12px;
    }
}

/* ✅ OPTIMIZACIÓN TÁCTIL - Touch Devices */
@media (hover: none) and (pointer: coarse) {
    /* Botón de cerrar touch-friendly (mínimo 44x44px) */
    .modzumac .category-modal-close,
    .modzumac .vehicle-modal-close {
        min-width: 44px;
        min-height: 44px;
    }

    /* Botón de selección touch-friendly */
    .modzumac .category-modal-select-btn,
    .modzumac .vehicle-modal-select-btn {
        min-height: 48px;
    }

    /* Feedback táctil para botones */
    .modzumac .category-modal-select-btn:active,
    .modzumac .vehicle-modal-select-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modzumac .category-modal-close:active,
    .modzumac .vehicle-modal-close:active {
        transform: scale(0.92);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* ============================================================================
   FIN DEL MÓDULO STEP 2 - v1.3.2
   Total de selectores exclusivos: ~250+
   Total de animaciones exclusivas: 5 (pulse-success, vehicle-fadeIn, vehicle-slideUp, category-fadeIn, category-slideUp, pulse)
   Total de media queries: 9 (1024px, 768px, 480px, 400px, touch + 4 nuevos para modales)
   Estado: ✅ 100% COMPLETO - Incluye modal + tarjetas categorías + RESPONSIVE MODALES
   ============================================================================ */
