/* 
 * Ogbesa Daiquiri - Carrito de Reserva
 * Estilo profesional y minimalista
 */

:root {
    /* Colores profesionales */
    --primary-blue: #2C3E50;
    --primary-blue-light: #3498DB;
    --secondary-blue: #2980B9;
    --text-dark: #2C3E50;
    --text-medium: #34495E;
    --text-light: #7F8C8D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-lighter: #ECF0F1;
    --border-light: #BDC3C7;
    --border-lighter: #ECF0F1;
    --success: #27AE60;
    --error: #E74C3C;
    --warning: #F39C12;
    --info: #3498DB;
    
    /* Colores para estado */
    --timer-normal: #2C3E50;
    --timer-warning: #F39C12;
    --timer-danger: #E74C3C;
    --ref-bg: #1A1A2E;
    --ref-text: #00D4FF;
    
    /* Espaciado reducido */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 12px;
    --space-lg: 16px;
    --space-xl: 20px;
    --space-2xl: 24px;
    
    /* Bordes */
    --radius-xs: 4px;
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-full: 50px;
    
    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
    
    /* Sombras sutiles */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 2px 8px rgba(52, 152, 219, 0.2);
    
    /* Tipografía reducida */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.8125rem;  /* 13px */
    --font-size-base: 0.875rem; /* 14px */
    --font-size-lg: 1rem;       /* 16px */
    --font-size-xl: 1.125rem;   /* 18px */
    --font-size-2xl: 1.25rem;   /* 20px */
    --font-size-3xl: 1.5rem;    /* 24px */
}

/* Reset y base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.5;
    font-size: var(--font-size-base);
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl);
    min-height: 100vh;
    padding-bottom: 160px; /* Espacio para acciones fijas */
}

/* ==================== HEADER ==================== */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-lighter);
    flex-wrap: wrap;
    gap: var(--space-lg);
}

/* Timer - Estilo sólido profesional */
.timer-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--timer-normal);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    border: 2px solid var(--timer-normal);
    transition: all var(--transition-base);
}

.timer-badge .timer-digits {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: var(--font-size-lg);
    margin-left: var(--space-xs);
    letter-spacing: 1px;
}

.timer-badge.warning {
    background: var(--timer-warning);
    border-color: var(--timer-warning);
}

.timer-badge.danger {
    background: var(--timer-danger);
    border-color: var(--timer-danger);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Referencia - Estilo cibernético */
.header-ref .ref-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--ref-bg);
    color: var(--ref-text);
    border-radius: var(--radius-lg);
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: var(--font-size-base);
    border: 2px solid var(--ref-text);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.ref-badge:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(0, 212, 255, 0.2), 
        transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.ref-code {
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.copy-ref {
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: var(--space-xs);
    border-radius: var(--radius-sm);
}

.copy-ref:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.1);
}

/* ==================== LAYOUT GRID ==================== */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ==================== TARJETAS ==================== */
.cart-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-lighter);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cart-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.card-icon {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    border-bottom-left-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2em;
}

.card-header {
    margin-bottom: var(--space-lg);
    padding-right: 50px;
    border-bottom: 2px solid var(--border-lighter);
    padding-bottom: var(--space-md);
}

.card-header h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* ==================== PRODUCTO ==================== */
.product-gallery {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (9/16 = 0.5625) */
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
    background: var(--bg-lighter);
    border: 1px solid var(--border-lighter);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Asegura que toda la imagen sea visible */
    object-position: center;
    transition: transform var(--transition-slow);
}

.product-gallery:hover .product-img {
    transform: scale(1.08);
}

.product-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-sm) 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-lighter);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    font-weight: 500;
}

.meta-item i {
    color: var(--primary-blue-light);
    font-size: 0.9em;
}

.product-description {
    padding: var(--space-md);
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--text-medium);
    border-left: 3px solid var(--bg-white);
}

.product-description h5 {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-description p {
    margin: 0;
}

.product-features {
    margin-top: var(--space-md);
}

.product-features h5 {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-features ul {
    list-style: none;
    padding-left: 0;
}

.product-features li {
    padding: var(--space-xs) 0;
    color: var(--text-medium);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.product-features li:before {
    content: "•";
    color: var(--primary-blue-light);
    font-weight: bold;
}

/* ==================== PRECIOS ==================== */
.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-lighter);
    font-size: var(--font-size-sm);
}

.price-row:hover {
    background: var(--bg-lighter);
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
    margin-left: calc(-1 * var(--space-sm));
    margin-right: calc(-1 * var(--space-sm));
    border-radius: var(--radius-sm);
}

.price-label {
    font-weight: 500;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.price-label i {
    color: var(--primary-blue-light);
    font-size: 0.9em;
}

.price-amount {
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
}

.price-row.subtotal {
    border-top: 2px solid var(--border-light);
    margin-top: var(--space-sm);
    padding-top: var(--space-md);
    font-weight: 600;
    font-size: var(--font-size-base);
}

.price-row.fees {
    color: var(--text-light);
}

.price-row.total {
    border-top: 2px solid var(--success);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--success);
}

.price-row.total .price-amount {
    font-size: var(--font-size-xl);
}

/* ==================== FORMULARIO CLIENTE ==================== */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.form-group.required label:after {
    content: "*";
    color: var(--error);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue-light);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control.error {
    border-color: var(--error);
    background: rgba(231, 76, 60, 0.05);
}

.form-control::placeholder {
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.checkbox-confirm {
    margin-top: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--bg-white);
}

.checkbox-confirm label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.checkbox-confirm input[type="checkbox"] {
    transform: scale(1.1);
}

/* ==================== ESTADOS ==================== */
.timer-expired {
    color: var(--timer-danger) !important;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.error {
    border-color: var(--error) !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .cart-container {
        padding: var(--space-lg) var(--space-md);
        padding-bottom: 180px;
    }
    
    .cart-header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
        text-align: center;
    }
    
    .timer-badge, .ref-badge {
        justify-content: center;
    }
    
    .cart-grid {
        gap: var(--space-lg);
    }
    
    .cart-card {
        padding: var(--space-md);
    }
    
    .product-gallery {
        height: 140px;
    }
    
    .product-name {
        font-size: var(--font-size-lg);
    }
    
    .cart-actions-fixed {
        padding: var(--space-md);
    }
    
    .cart-btn-primary {
        min-width: 100%;
        padding: 12px 24px;
        font-size: var(--font-size-sm);
    }
    
    .buttons-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .cart-btn,
    .cart-btn-secondary {
        min-width: 160px;
        padding: 10px 16px;
        font-size: var(--font-size-sm);
    }
    
    .action-links {
        gap: var(--space-lg);
    }
    
    .security-seal {
        gap: var(--space-md);
    }
    
    .specifications-list li {
        flex-direction: column;
    }
    
    .specifications-list strong {
        min-width: auto;
        margin-bottom: 2px;
    }
    
    .reservation-info li {
        flex-direction: column;
    }
    
    .reservation-info strong {
        min-width: auto;
        margin-bottom: 2px;
    }
}

@media (max-width: 480px) {
    .cart-container {
        padding: var(--space-md) var(--space-sm);
        padding-bottom: 200px;
    }
    
    .product-gallery {
        height: 120px;
    }
    
    .ref-badge {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .security-seal {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .buttons-row {
        gap: var(--space-xs);
    }
    
    .cart-btn,
    .cart-btn-secondary {
        min-width: 140px;
        padding: 8px 12px;
        font-size: var(--font-size-xs);
    }
}

/* ==================== ACCIONES FIJAS ==================== */
.cart-actions-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: var(--space-lg);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-light);
    z-index: 1000;
}

.actions-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cart-btn-primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(44, 62, 80, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: var(--font-size-base);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    min-width: 300px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-btn:disabled,
.cart-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.cart-btn-primary:hover:not(:disabled) {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.cart-btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.action-links {
    display: flex;
    gap: var(--space-xl);
}

.link-back {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
}

.link-back:hover {
    color: var(--primary-blue-light);
    background: var(--bg-lighter);
}

.security-seal {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.security-seal span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--success);
    font-size: var(--font-size-xs);
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-lighter);
    border-radius: var(--radius-sm);
}

.security-seal i {
    font-size: 0.9em;
}

/* ==================== NUEVOS ESTILOS CORREGIDOS ==================== */

/* 1. ESPECIFICACIONES DEL VEHÍCULO */
.specifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.spec-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    min-height: 70px;
}

.spec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.spec-icon {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.spec-card.feature-card .spec-icon {
    background: #27ae60;
}

.spec-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.spec-label {
    font-size: 11px;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

/* 2. INFORMACIÓN DE OFICINAS */
.office-details {
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
    position: relative;
}

.pickup-office {
    border-left: 4px solid #ffffff;
}

.dropoff-office {
    border-left: 4px solid #3498db;
}

.office-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

.office-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.office-title h4 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
}

.office-title i.text-success {
    color: #27ae60;
}

.office-title i.text-info {
    color: #3498db;
}

.office-name {
    font-size: 16px;
    color: #495057;
}

.office-info {
    margin: 15px 0;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    flex-shrink: 0;
    border: 1px solid #dee2e6;
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 2px;
}

.info-value {
    font-size: 14px;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.4;
}

.pickup-schedule,
.dropoff-schedule {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.schedule-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.schedule-info i {
    color: #3498db;
}

.schedule-info strong {
    color: #495057;
    font-weight: 600;
}

.schedule-info span {
    color: #2c3e50;
    font-weight: 500;
}

.time-highlight {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

/* Separador entre oficinas */
.location-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.separator-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

.separator-icon {
    width: 40px;
    height: 40px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 20px;
    z-index: 1;
}

/* Aeropuerto */
.airport-notice {
    margin-top: 20px;
}

.airport-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
}

.airport-badge i {
    font-size: 20px;
}

.passenger-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-left: auto;
}

/* 3. TIMER MEJORADO */
.time-warning {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffeaa7 100%);
    border-radius: 10px;
    border: 1px solid #ffd166;
    color: #856404;
    margin-bottom: 20px;
    font-size: 16px;
}

.time-warning i {
    color: #f39c12;
    margin-right: 10px;
    font-size: 18px;
}

.time-warning strong {
    color: #d35400;
    font-size: 18px;
    font-weight: 700;
    margin-left: 5px;
    font-family: 'Courier New', monospace;
}

/* 4. TÉRMINOS SIMPLIFICADOS */
.no-terms-message {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px dashed #dee2e6;
    color: #6c757d;
}

.no-terms-message i {
    font-size: 40px;
    color: #6c757d;
    margin-bottom: 15px;
    display: block;
}

.no-terms-message p {
    font-size: 14px;
    margin: 0;
}

.terms-content {
    max-height: 300px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.terms-content::-webkit-scrollbar {
    width: 8px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}

/* ==================== ESTILOS MEJORADOS PARA UBICACIONES ==================== */

/* Contenedor principal con fondo uniforme */
.locations-simplified {
    background: var(--bg-white);
    border: 1px solid var(--border-lighter);
    box-shadow: var(--shadow-sm);
}

.locations-simplified .card-body {
    background: var(--bg-white);
    padding: var(--space-lg);
}

/* Oficina details simplificados */
.locations-simplified .office-details {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    margin-bottom: var(--space-xl);
    position: relative;
}

/* Quitar bordes laterales de colores */
.locations-simplified .office-details::before {
    display: none;
}

/* Header más compacto */
.locations-simplified .office-header {
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-lighter);
}

.locations-simplified .office-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.locations-simplified .office-title h4 {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin: 0;
    font-weight: 600;
}

.locations-simplified .office-title i {
    color: var(--primary-blue-light);
}

.locations-simplified .office-title.pickup i {
    color: var(--success);
}

.locations-simplified .office-title.dropoff i {
    color: var(--info);
}

.locations-simplified .office-name {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    font-weight: 500;
}

/* Info rows más compactos */
.locations-simplified .office-info.compact {
    margin: var(--space-sm) 0;
}

.locations-simplified .info-row.compact {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: 8px;
    padding: 8px 12px;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-lighter);
    min-height: 44px;
    transition: all var(--transition-fast);
}

.locations-simplified .info-row.compact:hover {
    background: var(--bg-white);
    border-color: var(--primary-blue-light);
    transform: translateY(-1px);
}

.locations-simplified .info-row.compact .info-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 12px;
    border: none;
}

.locations-simplified .info-row.compact .info-content {
    flex: 1;
}

.locations-simplified .info-row.compact .info-label {
    display: none;
}

.locations-simplified .info-row.compact .info-value {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.3;
}

/* Schedule compacto */
.locations-simplified .pickup-schedule.compact,
.locations-simplified .dropoff-schedule.compact {
    background: white;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    border: 1px solid var(--border-lighter);
    min-height: 44px;
}

.locations-simplified .schedule-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--text-dark);
}

.locations-simplified .schedule-info i {
    color: var(--primary-blue-light);
    font-size: 14px;
}

.locations-simplified .schedule-text {
    font-weight: 500;
}

.locations-simplified .time-badge.small {
    background: var(--primary-blue);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-left: 4px;
}

/* Separador minimalista */
.locations-simplified .location-separator.minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: var(--space-lg) 0;
    position: relative;
}

.locations-simplified .separator-icon {
    width: 30px;
    height: 30px;
    background: var(--bg-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px solid var(--border-light);
    font-size: 12px;
}

/* Aeropuerto minimalista */
.locations-simplified .airport-notice.minimal {
    margin-top: var(--space-lg);
}

.locations-simplified .airport-badge.small {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--info) 0%, var(--primary-blue-light) 100%);
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
    min-height: 44px;
}

.locations-simplified .airport-badge.small i {
    font-size: 14px;
}

.locations-simplified .passenger-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: var(--font-size-xs);
    margin-left: auto;
}

/* Asegurar que el fondo sea el mismo que otras tarjetas */
.cart-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-lighter);
    margin-bottom: var(--space-lg);
}

/* Hacer que todas las tarjetas tengan el mismo fondo */
.cart-card.card-product,
.cart-card.card-specifications,
.cart-card.card-locations,
.cart-card.card-client,
.cart-card.card-terms,
.cart-card.card-price {
    background: var(--bg-white);
}

/* Para mantener consistencia, ajustar el contenedor principal */
.cart-container {
    background: var(--bg-light);
}

/* ==================== NUEVA SECCIÓN DE ACCIONES ==================== */

/* Estilos para la nueva sección de acciones */
.cart-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
}

.cart-actions .actions-row {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* Botón de Modificar (Estilo secundario) */
.cart-btn-secondary {
    background: #6c757d;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
}

.cart-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Botón de Pagar (Estilo primario) */
.cart-btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.cart-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.2);
}

.cart-btn-primary:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==================== RESPONSIVE MEJORADO ==================== */

@media (max-width: 768px) {
    .locations-simplified .card-body {
        padding: var(--space-md);
    }
    
    .locations-simplified .office-details {
        margin-bottom: var(--space-lg);
    }
    
    .locations-simplified .info-row.compact {
        padding: 8px 10px;
        min-height: 40px;
    }
    
    .locations-simplified .info-row.compact .info-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }
    
    .locations-simplified .info-row.compact .info-value {
        font-size: var(--font-size-sm);
    }
    
    .locations-simplified .pickup-schedule.compact,
    .locations-simplified .dropoff-schedule.compact {
        padding: 8px 10px;
        min-height: 40px;
    }
    
    .locations-simplified .schedule-info {
        font-size: var(--font-size-sm);
    }
    
    .locations-simplified .airport-badge.small {
        padding: 8px 12px;
        min-height: 40px;
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
    
    .locations-simplified .passenger-count {
        margin-left: 0;
        margin-top: 2px;
    }
    
    .locations-simplified .separator-icon {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    /* Responsive para cart-actions */
    .cart-actions {
        flex-direction: column;
        gap: 15px;
        padding: 15px 0;
        padding-top: 20px;
    }
    
    .cart-actions .actions-row {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .cart-btn-primary,
    .cart-btn-secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .locations-simplified .office-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }
    
    .locations-simplified .info-row.compact {
        flex-direction: row;
        align-items: center;
    }
    
    .locations-simplified .info-row.compact .info-icon {
        align-self: center;
    }
    
    .locations-simplified .schedule-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .locations-simplified .schedule-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
}

/* 5. RESPONSIVE */
@media (max-width: 992px) {
    .specifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .office-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .specifications-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-card {
        min-height: 60px;
        padding: 10px;
    }
    
    .office-details {
        padding: 15px;
    }
    
    .pickup-schedule,
    .dropoff-schedule {
        flex-direction: column;
        gap: 10px;
    }
    
    .airport-badge {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .passenger-count {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .time-warning {
        font-size: 14px;
        padding: 12px;
    }
    
    .time-warning strong {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .spec-card {
        flex-direction: column;
        text-align: center;
        padding: 15px 10px;
    }
    
    .spec-info {
        align-items: center;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-icon {
        align-self: center;
    }
    
    .separator-icon {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

/* ==================== MEJORAS ESPECÍFICAS ==================== */

/* 1. Botones centrados y horizontales */
.action-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: var(--space-md);
}

.buttons-row {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    max-width: 600px;
    width: 100%;
}

.cart-btn {
    min-width: 200px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    text-align: center;
    white-space: nowrap;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.cart-btn-secondary {
    background: var(--text-light);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    min-width: 200px;
}

.cart-btn-secondary:hover {
    background: var(--text-medium);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 2. Estilos para términos mejorados */
.terms-title {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--primary-blue-light);
}

.specifications-section {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
}

.specifications-section h6 {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.specifications-list {
    list-style: none;
    padding-left: 0;
    font-size: var(--font-size-sm);
}

.specifications-list li {
    padding: var(--space-xs) 0;
    border-bottom: 1px dotted var(--border-lighter);
    display: flex;
}

.specifications-list li:last-child {
    border-bottom: none;
}

.specifications-list strong {
    min-width: 150px;
    color: var(--text-medium);
}

.reservation-info {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--info);
}

.reservation-info h6 {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.reservation-info ul {
    list-style: none;
    padding-left: 0;
    font-size: var(--font-size-sm);
}

.reservation-info li {
    padding: var(--space-xs) 0;
    display: flex;
    align-items: baseline;
}

.reservation-info strong {
    min-width: 180px;
    color: var(--text-medium);
}

/* 3. Ocultar mensajes de debug y extras */
.debug-info,
.product-data-present {
    display: none !important;
}

.product-data-missing {
    display: block;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    text-align: center;
}

.product-extras,
.extras-grid,
.extra-item {
    display: none !important;
}

/* ==================== NUEVOS ESTILOS PARA ESTRUCTURA MEJORADA ==================== */

/* Grid de metadata */
.product-metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.metadata-card {
    background: var(--bg-lighter);
    border: 1px solid var(--border-lighter);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.metadata-card i {
    color: var(--primary-blue-light);
    font-size: 1.1em;
}

.metadata-content {
    display: flex;
    flex-direction: column;
}

.metadata-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.metadata-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-dark);
}

/* Grid de características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--font-size-sm);
    padding: 4px 0;
}

.feature-item i {
    color: var(--success);
    font-size: 0.8em;
}

/* Acciones integradas (no fijas) - REEMPLAZAR cart-actions-fixed */
.cart-actions-normal {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-lighter);
}

.security-seal-normal {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-lighter);
    flex-wrap: wrap;
}

.seal-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-medium);
    font-size: var(--font-size-sm);
}

.seal-item i {
    color: var(--success);
}

.time-warning {
    text-align: center;
    margin-top: var(--space-lg);
    padding: var(--space-sm);
    background: #fff8e1;
    border-radius: var(--radius-md);
    border: 1px solid #ffeaa7;
    color: #856404;
    font-size: var(--font-size-sm);
}

.time-warning i {
    color: var(--warning);
    margin-right: var(--space-xs);
}

/* Herramienta de copiado */
.copied-tooltip {
    position: absolute;
    background: var(--success);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    top: -25px;
    right: 0;
    animation: fadeInOut 1.5s ease;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Responsive para estructura mejorada */
@media (max-width: 768px) {
    .product-metadata-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-seal-normal {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Impresión */
@media print {
    .cart-container {
        padding: 0;
        background: none;
        padding-bottom: 0;
    }
    
    .cart-actions-fixed,
    .timer-badge,
    .link-back,
    .security-seal,
    .copy-ref {
        display: none !important;
    }
    
    .cart-card {
        box-shadow: none;
        border: 1px solid #000;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* ==================== MEJORAS ESPECÍFICAS PARA NUEVA ESTRUCTURA ==================== */

/* 1. Especificaciones del vehículo */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-lighter);
    transition: all var(--transition-fast);
}

.spec-item:hover {
    background: var(--bg-white);
    border-color: var(--primary-blue-light);
    transform: translateY(-2px);
}

.spec-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-blue-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.spec-icon i {
    font-size: 0.8em;
}

.spec-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.spec-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.spec-value {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-dark);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 2. Ubicaciones mejoradas */
.location-detail {
    padding: var(--space-md);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-lighter);
    margin-bottom: var(--space-md);
}

.location-detail.pickup-location {
    border-left: 3px solid var(--success);
}

.location-detail.dropoff-location {
    border-left: 3px solid var(--info);
}

.location-header {
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--bg-lighter);
}

.location-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.location-title h4 {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin: 0;
}

.pickup-icon {
    color: var(--success);
}

.dropoff-icon {
    color: var(--info);
}

.location-name {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--primary-blue);
    padding-left: 28px;
}

.location-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.info-icon {
    width: 20px;
    height: 20px;
    background: var(--bg-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-icon i {
    font-size: 0.7em;
}

.info-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-label {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 1px;
}

.info-value {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.3;
    word-break: break-word;
}

.location-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding: var(--space-sm);
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    margin-top: var(--space-sm);
}

.schedule-date,
.schedule-time {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.schedule-date i,
.schedule-time i {
    color: var(--primary-blue-light);
    font-size: 0.9em;
}

.date-label,
.time-label {
    font-size: var(--font-size-sm);
    color: var(--text-medium);
    font-weight: 500;
}

.date-value {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-dark);
}

.time-badge {
    padding: 2px 8px;
    background: var(--primary-blue);
    color: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.location-separator {
    text-align: center;
    margin: var(--space-sm) 0;
    color: var(--primary-blue-light);
    font-size: 1.2em;
}

.airport-info {
    margin-top: var(--space-md);
}

.airport-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: linear-gradient(135deg, var(--info), var(--primary-blue-light));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.airport-badge i {
    font-size: 1em;
}

.airport-pax {
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    margin-left: auto;
    font-size: var(--font-size-xs);
}

/* 3. Botones centrados horizontalmente */
.action-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: var(--space-md) 0;
}

.buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    flex-wrap: nowrap;
}

.cart-btn,
.cart-btn-secondary {
    min-width: 200px;
    flex: 0 1 auto;
}

/* 4. Términos simplificados */
.terms-content {
    max-height: 150px;
    overflow-y: auto;
    padding: var(--space-md);
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-lighter);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    color: var(--text-medium);
}

.terms-content::-webkit-scrollbar {
    width: 6px;
}

.terms-content::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 3px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: var(--primary-blue-light);
    border-radius: 3px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* 5. Ocultar secciones antiguas */
.specifications-section,
.reservation-info,
.product-extras {
    display: none !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-info-grid {
        grid-template-columns: 1fr;
    }
    
    .location-schedule {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .buttons-row {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .cart-btn,
    .cart-btn-secondary {
        min-width: 100%;
        width: 100%;
    }
    
    .airport-badge {
        flex-direction: column;
        text-align: center;
        gap: var(--space-xs);
    }
    
    .airport-pax {
        margin-left: 0;
        margin-top: var(--space-xs);
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        padding: var(--space-sm);
    }
    
    .spec-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .location-detail {
        padding: var(--space-sm);
    }
    
    .location-name {
        padding-left: 0;
        text-align: center;
    }
}

/* ==================== MINIMAL RECEIPT THEME OVERRIDES ==================== */
:root {
    --cart-ink: #1f2933;
    --cart-muted: #6b7280;
    --cart-border: #e5e7eb;
    --cart-surface: #ffffff;
    --cart-soft: #f7f8fa;
    --cart-accent: #0f766e;
}

body {
    color: var(--cart-ink);
    background-color: var(--cart-soft);
}

.cart-container {
    background: transparent;
}

.cart-header,
.cart-card {
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.cart-card h3,
.cart-card h4,
.cart-card h5 {
    color: var(--cart-ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cart-card .card-header {
    border-bottom: 1px solid var(--cart-border);
}

.cart-card .card-body {
    color: var(--cart-muted);
}

.timer-badge {
    background: #111827;
    border-color: #111827;
    font-weight: 600;
}

.header-ref .ref-badge {
    background: var(--cart-surface);
    color: var(--cart-ink);
    border: 1px solid var(--cart-border);
    box-shadow: none;
}

.ref-badge:before {
    display: none;
}

.ref-code {
    color: var(--cart-ink);
    text-shadow: none;
}

.copy-ref:hover {
    background: var(--cart-soft);
}

/* Stripe form standard look */
.card-payment-inline {
    display: grid;
    gap: 12px;
}

.cardholder-group .stripe-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--cart-ink);
}

.cardholder-group .stripe-input {
    border: 1px solid var(--cart-border);
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
}

.cardholder-group .stripe-input:focus {
    border-color: var(--cart-accent);
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.08);
}

.stripe-card-field-inline,
#card-element {
    border: 1px solid var(--cart-border);
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
}

#card-element.StripeElement--focus {
    border-color: var(--cart-accent);
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.08);
}

.terms-content {
    background: var(--cart-surface);
    border: 1px solid var(--cart-border);
}

@media (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .timer-badge,
    .header-ref .ref-badge {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==================== RESPONSIVIDAD MEJORADA PARA CARRITO ==================== */

/* Tablets */
@media (max-width: 991px) {
    .cart-container {
        padding: var(--space-lg);
    }
    
    .cart-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .cart-header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-md);
    }
    
    .timer-badge,
    .ref-badge {
        width: 100%;
        justify-content: center;
    }
}

/* Móviles grandes */
@media (max-width: 767px) {
    .cart-container {
        padding: var(--space-md);
        padding-bottom: 180px; /* Más espacio para acciones fijas */
    }
    
    .cart-card {
        padding: var(--space-md);
        margin-bottom: var(--space-md);
    }
    
    .card-header {
        padding-right: 40px;
    }
    
    .card-icon {
        width: 36px;
        height: 36px;
    }
    
    .product-gallery {
        height: 180px;
    }
    
    .product-name {
        font-size: var(--font-size-lg);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .metadata-card,
    .spec-card,
    .feature-item {
        padding: 10px;
    }
    
    .office-details {
        padding: 15px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .actions-row {
        flex-direction: column;
        width: 100%;
    }
    
    .cart-btn,
    .cart-btn-primary,
    .cart-btn-secondary {
        width: 100%;
        min-width: auto;
        justify-content: center;
    }
    
    .time-warning {
        font-size: 14px;
        padding: 12px;
    }
}

/* Móviles pequeños */
@media (max-width: 575px) {
    .cart-container {
        padding: var(--space-sm);
        padding-bottom: 200px;
    }
    
    .cart-header {
        padding: var(--space-md);
    }
    
    .timer-badge,
    .ref-badge {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--font-size-sm);
    }
    
    .timer-badge .timer-digits {
        font-size: var(--font-size-base);
    }
    
    .ref-code {
        font-size: var(--font-size-sm);
    }
    
    .cart-card {
        padding: 15px;
        border-radius: var(--radius-md);
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .vehicle-title {
        font-size: 16px;
    }
    
    .location-subtitle {
        font-size: 16px;
    }
    
    .product-metadata-grid {
        grid-template-columns: 1fr;
    }
    
    .specifications-grid {
        grid-template-columns: 1fr;
    }
    
    .spec-card {
        flex-direction: row;
        align-items: center;
        min-height: auto;
    }
    
    .spec-icon {
        width: 36px;
        height: 36px;
    }
    
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .price-amount {
        align-self: flex-end;
    }
    
    .terms-content {
        max-height: 200px;
        font-size: 13px;
    }
    
    .checkbox-confirm label {
        font-size: 13px;
    }
    
    .cart-actions-fixed {
        padding: var(--space-md);
    }
    
    .cart-btn-primary {
        min-width: auto;
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Pantallas muy pequeñas */
@media (max-width: 375px) {
    .cart-container {
        padding: 10px;
        padding-bottom: 210px;
    }
    
    .cart-card {
        padding: 12px;
    }
    
    .section-title,
    .form-section-title,
    .product-info-title {
        font-size: 16px;
    }
    
    .vehicle-title,
    .location-subtitle,
    .product-subtitle {
        font-size: 15px;
    }
    
    .form-control {
        padding: 10px;
        font-size: 15px;
    }
    
    .checkbox-confirm {
        padding: 12px;
    }
    
    .cart-actions-fixed {
        padding: 12px;
    }
}

/* Ajustes para modo landscape en móviles */
@media (max-width: 767px) and (orientation: landscape) {
    .cart-grid {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .cart-sidebar,
    .cart-main {
        max-height: none;
    }
    
    .cart-actions-fixed {
        position: relative;
        margin-top: var(--space-lg);
        box-shadow: none;
        border-top: 1px solid var(--border-lighter);
    }
}

/* Mejorar experiencia táctil */
.cart-btn,
.cart-btn-primary,
.cart-btn-secondary,
.btn-modern,
.btn-cart-reserve,
.btn-modify {
    min-height: 44px; /* Tamaño mínimo para toques en móviles */
}

/* Asegurar que los inputs sean fáciles de tocar */
.input-field,
.form-control,
select.input-field {
    min-height: 44px; /* Tamaño mínimo para inputs en móviles */
}

/* Evitar zoom en inputs en iOS */
@supports (-webkit-touch-callout: none) {
    .input-field,
    .form-control,
    select.input-field {
        font-size: 16px;
    }
}

/* Ajustes para scroll suave */
.cart-sidebar,
.cart-main,
.modal-body,
.terms-content {
    -webkit-overflow-scrolling: touch;
}

/* Mejorar visibilidad de bordes en modo claro/oscuro */
@media (prefers-color-scheme: dark) {
    .cart-card,
    .office-details,
    .location-detail {
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Impresión optimizada */
@media print {
    .cart-container {
        padding: 0;
        max-width: 100%;
    }
    
    .cart-card {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .cart-actions-fixed,
    .timer-badge,
    .cart-btn-secondary {
        display: none !important;
    }
}

/* ==================== NUEVAS CLASES PARA JERARQUÍA DE TEXTO ==================== */

/* Jerarquía principal */
.modal-title { 
    font-size: 24px; 
    font-weight: 700; 
    margin: 0 0 8px 0;
    color: var(--text-dark);
}

.modal-title.error { 
    color: #dc3545; 
}

.modal-section-title { 
    font-size: 20px; 
    font-weight: 600; 
    margin: 0 0 15px 0;
    color: var(--text-dark);
}

.modal-subtitle { 
    font-size: 18px; 
    font-weight: 500; 
    margin: 0 0 10px 0;
    color: var(--text-medium);
}

/* Formulario */
.form-section-title { 
    font-size: 20px; 
    font-weight: 600; 
    margin: 0 0 20px 0;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

/* Producto */
.product-info-title { 
    font-size: 22px; 
    font-weight: 700; 
    margin: 0 0 20px 0;
    color: var(--text-dark);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

.product-subtitle { 
    font-size: 18px; 
    font-weight: 600; 
    margin: 0 0 15px 0;
    color: var(--text-dark);
}

/* Páginas */
.page-title { 
    font-size: 28px; 
    font-weight: 800; 
    margin: 0 0 20px 0;
    color: var(--text-dark);
    text-align: center;
}

/* Secciones generales */
.section-title { 
    font-size: 20px; 
    font-weight: 600; 
    margin: 0 0 15px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicle-title { 
    font-size: 18px; 
    font-weight: 600; 
    margin: 0 0 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.vehicle-subtitle { 
    font-size: 16px; 
    font-weight: 500; 
    margin: 0 0 10px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-subtitle { 
    font-size: 18px; 
    font-weight: 600; 
    margin: 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Debug */
.debug-title { 
    font-size: 16px; 
    font-weight: 600; 
    color: #666; 
    margin: 0 0 10px 0;
}

.debug-subtitle { 
    font-size: 14px; 
    font-weight: 500; 
    color: #888; 
    margin: 0 0 8px 0;
}

/* Éxito */
.success-title { 
    font-size: 24px; 
    font-weight: 700; 
    color: #28a745; 
    margin: 0 0 10px 0;
}

.success-subtitle { 
    font-size: 18px; 
    font-weight: 600; 
    margin: 0 0 15px 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Error */
.error-title { 
    font-size: 20px; 
    font-weight: 600; 
    color: #dc3545; 
    margin: 0;
}

/* Responsive para las nuevas clases */
@media (max-width: 991px) {
    .modal-title { font-size: 22px; }
    .modal-section-title { font-size: 18px; }
    .form-section-title { font-size: 18px; }
    .product-info-title { font-size: 20px; }
    .page-title { font-size: 24px; }
    .section-title { font-size: 18px; }
    .success-title { font-size: 22px; }
    .success-subtitle { font-size: 16px; }
}

@media (max-width: 767px) {
    .modal-title { font-size: 20px; }
    .modal-section-title { font-size: 16px; }
    .modal-subtitle { font-size: 16px; }
    .form-section-title { font-size: 16px; margin-bottom: 15px; }
    .product-info-title { font-size: 18px; }
    .product-subtitle { font-size: 16px; }
    .page-title { font-size: 22px; }
    .section-title { font-size: 16px; }
    .vehicle-title { font-size: 16px; }
    .vehicle-subtitle { font-size: 14px; }
    .location-subtitle { font-size: 16px; }
    .success-title { font-size: 20px; }
    .success-subtitle { font-size: 16px; }
    .error-title { font-size: 18px; }
}

@media (max-width: 575px) {
    .modal-title { font-size: 18px; }
    .modal-section-title { font-size: 15px; }
    .form-section-title { font-size: 15px; }
    .product-info-title { font-size: 16px; }
    .page-title { font-size: 20px; }
    .section-title { font-size: 15px; }
    .success-title { font-size: 18px; }
    .error-title { font-size: 16px; }
}
/* Autocompletado de país */
.country-autocomplete-container {
    position: relative;
}

.country-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    max-height: 220px;
    overflow-y: auto;
    z-index: 20;
    display: none;
}

.country-suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #1f2933;
}

.country-suggestion-item:hover {
    background: #fff8e1;
}
