/* ── Shared vehicle card + profile styles ─────────────────────────
   Used by: booking-with-ai page + floating chat widget
   ─────────────────────────────────────────────────────────────── */

/* ── Vehicle groups ── */
.vehicle-groups-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.vehicle-category {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
}
.category-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.category-count {
    font-weight: 400;
    opacity: 0.7;
    margin-left: 2px;
    font-size: 11px;
}
.vehicle-card {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-bottom: 1px solid #f5f5f5;
}
.vehicle-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
    flex-shrink: 0;
    width: 86px;
}
.vehicle-card:last-of-type { border-bottom: none; }
.vehicle-thumb {
    width: 60px; height: 42px;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
    display: block;
}
.vehicle-info { min-width: 0; }
.vehicle-title {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    text-align: left !important;
}
.vehicle-partner {
    font-size: 10px;
    color: #888;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vp-partner {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}
.vehicle-meta {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.price-inline { display: inline-flex; align-items: center; gap: 3px; }
.price-before { font-size: 10px; color: #bbb; text-decoration: line-through; }
.discount-badge { font-size: 9px; background: #fff0e6; color: #e65c00; padding: 1px 4px; border-radius: 8px; }
.price-strong { font-size: 12px; color: #222; font-weight: 700; }
.vehicle-category .btn-select {
    background: #FF6B00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 6px 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: center !important;
    transition: background 0.15s;
    display: block !important;
    overflow: visible !important;
}
.vehicle-category .btn-select:disabled {
    background: #e0e0e0 !important;
    color: #aaa !important;
    cursor: not-allowed !important;
}
.vehicle-category .btn-select:not(:disabled):hover { background: #e05e00 !important; }
.vehicle-category .btn-profile {
    background: transparent !important;
    color: #FF6B00 !important;
    border: 1.5px solid #FF6B00 !important;
    border-radius: 6px !important;
    padding: 5px 0 !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    width: 100% !important;
    text-align: center !important;
    transition: background 0.15s, color 0.15s;
    display: block !important;
    overflow: visible !important;
    white-space: nowrap !important;
}
.vehicle-category .btn-profile:hover {
    background: #FF6B00 !important;
    color: #fff !important;
}
.vehicle-category .category-show-more {
    display: block;
    width: 100% !important;
    padding: 9px 14px !important;
    background: #fafafa !important;
    border: none !important;
    border-top: 1px solid #f0f0f0 !important;
    font-size: 12px !important;
    color: #FF6B00 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.15s;
    overflow: visible !important;
}
.vehicle-category .category-show-more:hover { background: #fff3ec !important; }
.vehicle-category .category-show-less { color: #888 !important; }
.vehicle-category .category-show-less:hover { background: #f5f5f5 !important; color: #444 !important; }

/* ── Vehicle profile card ── */
.vp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 380px;
}
.vp-main-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
    cursor: zoom-in;
}
.vp-main-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.vp-main-image:hover img { transform: scale(1.03); }
.vp-zoom-hint {
    position: absolute;
    bottom: 6px; left: 10px;
    font-size: 14px;
    color: #fff;
    background: rgba(0,0,0,0.35);
    padding: 2px 7px;
    border-radius: 10px;
    pointer-events: none;
}
.vp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.vp-prev { left: 8px; }
.vp-next { right: 8px; }
.vp-counter {
    position: absolute;
    bottom: 6px; right: 10px;
    font-size: 11px; color: #fff;
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 10px;
    pointer-events: none;
}
.vp-thumbs {
    display: flex;
    gap: 4px;
    padding: 6px;
    overflow-x: auto;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}
.vp-thumbs img {
    width: 52px; height: 38px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.15s, border-color 0.15s;
}
.vp-thumbs img.active,
.vp-thumbs img:hover { border-color: #FF6B00; opacity: 1; }
.vp-body { padding: 12px; }
.vp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.vp-class-badge {
    display: inline-block;
    font-size: 10px; font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}
.badge-economy  { background: #e6f4ea; color: #2e7d32; }
.badge-business { background: #e3f2fd; color: #1565c0; }
.badge-luxury   { background: #fff8e1; color: #f57f17; }
.vp-name { font-size: 14px; font-weight: 700; color: #222; }
.vp-price-block { text-align: right; flex-shrink: 0; }
.vp-price-before { font-size: 11px; color: #aaa; text-decoration: line-through; }
.vp-discount-badge { font-size: 9px; background: #fff0e6; color: #e65c00; padding: 1px 5px; border-radius: 8px; }
.vp-price { font-size: 18px; font-weight: 700; color: #222; }
.vp-specs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #555; margin-bottom: 10px; }
.vp-specs span { display: flex; align-items: center; gap: 4px; }
.vp-features { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.vp-feature-tag {
    font-size: 11px;
    background: #f5f5f5;
    color: #555;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid #eee;
}
.btn-select-full {
    width: 100%;
    padding: 10px;
    background: #FF6B00;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-select-full:hover { background: #e05e00; }
.btn-select-price { font-weight: 400; opacity: 0.9; font-size: 13px; }

/* Lightbox */
.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-img-wrap { max-width: 90vw; max-height: 80vh; display: flex; align-items: center; justify-content: center; }
.lb-img-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.lb-close {
    position: fixed;
    top: 16px; right: 20px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 10000;
}
.lb-arrow {
    background: rgba(255,255,255,0.15);
    color: #fff; border: none;
    width: 48px; height: 48px;
    border-radius: 50%;
    font-size: 32px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin: 0 12px;
}
.lb-arrow:hover, .lb-close:hover { background: rgba(255,255,255,0.3); }
.lb-dots { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.lb-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; }
.lb-dots span.active { background: #FF6B00; }
