:root {
    --bg-dark: #0A1F17;
    --bg-card: #1A3D34;
    --bg-hover: #225149;
    --primary: #C8A96A;
    --primary-hover: #B89658;
    --accent: #C8A96A;
    --text: #F3F4F1;
    --text-muted: #9CA8A2;
    --border: #2A5B4E;
    --radius: 12px;
    --glass: rgba(26, 61, 52, 0.75);

    --font-body: 'Inter', system-ui, sans-serif;
    --font-display: 'Fraunces', 'Georgia', serif;
}

/* ─── Typography utilities ───────────────────────────────────────────── */
.t-display {
    font-family: var(--font-display);
    font-weight: 700;
    font-style: italic;
    font-size: clamp(42px, 6.5vw, 72px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    color: #fff;
}
.t-h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.08;
    letter-spacing: -1px;
    color: #fff;
}
.t-h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #fff;
}
.t-h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.25;
    letter-spacing: -0.2px;
    color: #fff;
}
.t-kicker {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}
.t-lead {
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.65;
    color: var(--text-muted);
}
.t-accent {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, #E0BD7A 0%, #C8A96A 55%, #A88849 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #13291E;
    background-image:
        radial-gradient(ellipse 100% 55% at 50% 0%, rgba(40, 92, 82, 0.5) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 85% 30%, rgba(200, 169, 106, 0.05) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 15% 70%, rgba(26, 61, 52, 0.35) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.025;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.9) 1px, transparent 0);
    background-size: 3px 3px;
    mix-blend-mode: overlay;
}
.topnav, main, .sitefooter { position: relative; z-index: 1; }

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Topnav ─────────────────────────────────────────────────────────────── */
.topnav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

.topnav-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}

.topnav-links {
    display: flex;
    gap: 24px;
}

.topnav-links a {
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    transition: .2s;
    position: relative;
}

.topnav-links a.active,
.topnav-links a:hover {
    color: #fff;
}

.topnav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.btn-search-nav {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .2s;
}

.btn-search-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ─── Hero & Home Filter ──────────────────────────────────────────────────── */
.hero-wrap {
    position: relative;
    padding: 60px 24px 80px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(26, 61, 52, 0.5) 0%, var(--bg-dark) 70%);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.04;
    margin-bottom: 14px;
    letter-spacing: -1.2px;
    color: #fff;
}

.hero-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.filter-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 28px 24px;
    text-align: left;
}

/* Filter card rows */
.fc-row {
    display: flex;
    gap: 14px;
    margin-bottom: 14px;
}
.fc-row-bottom {
    margin-bottom: 0;
    align-items: flex-end;
}
.fc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fc-field-lg { flex: 1; }
.fc-field-sm { width: 110px; }
.fc-field-auc { width: auto; }
.fc-field-btn { width: auto; }

.fc-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fc-input {
    background: var(--bg-dark) !important;
    border-color: var(--border) !important;
    color: var(--text) !important;
    height: 44px;
}

/* Auction toggles */
.fc-toggles {
    display: flex;
    gap: 8px;
    height: 44px;
    align-items: center;
}
.fc-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}
.fc-toggle input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}
.fc-toggle-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}
.fc-toggle-label.copart { color: var(--primary); }
.fc-toggle-label.iaai { color: #dc2626; }

/* Search button */
.fc-btn {
    height: 44px;
    padding: 0 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: .2s;
}
.fc-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* ─── Home Sections & Cards (Photo Design) ─── */
.h-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0 25px;
}

.h-section-header h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.4px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.2;
}

.tip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 24px;
    border: 1px solid #C8A96A;
    border-radius: 20px;
    color: #C8A96A;
    font-size: 13px;
    font-weight: 600;
    padding: 0 8px;
}

.btn-see-all {
    background: var(--primary);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}
.btn-see-all:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.res-content .home-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .home-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .res-content .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .res-content .home-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.h-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    color: #0A1F17;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform .2s;
    cursor: pointer;
}

.h-card:hover {
    transform: translateY(-5px);
}

.h-card-img {
    height: 160px;
    position: relative;
    background: #f1f5f9;
}

.h-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.b-auc-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: #0A1F17;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 800;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.h-card-body {
    padding: 15px;
}

.h-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0A1F17;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.h-card-status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.h-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.h-badge.copart {
    background: #B89658;
}

.h-badge.iaai {
    background: #dc2626;
}

.h-status-text {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.h-card-timer {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.h-card-timer .timer-icon {
    color: #22c55e;
    font-size: 14px;
}

.h-card-prices {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.p-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-label {
    font-size: 10px;
    color: #64748b;
    font-weight: 700;
}

.p-val {
    font-size: 14px;
    font-weight: 800;
    color: #0A1F17;
}

.p-val.buy-now {
    color: var(--primary) !important;
}

/* Tabs */
.type-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.type-tab {
    background: none;
    border: none;
    padding: 10px 16px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    color: #64748b;
    border-bottom: 3px solid transparent;
    transition: .2s;
}

.type-tab.active {
    color: var(--primary);
    border-color: var(--primary);
}

/* Grid filter */
.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.fl-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.fl-sel {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    appearance: none;
    background: #f8fafc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 4.5 6 7.5 9 4.5'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.auction-toggles {
    display: flex;
    gap: 15px;
    height: 46px;
    align-items: center;
}

.auc-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #B89658;
}

.auc-toggle.iaai {
    color: #dc2626;
}

.btn-show {
    width: 100%;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .2s;
}

.btn-show:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* VIN row */
.filter-vin-row {
    display: flex;
    gap: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.vin-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 14px;
}

.btn-vin-search {
    width: 46px;
    background: #e2e8f0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Results Page Layout (Photo 2) ────────────────────────────────────────── */
.results-page {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 24px;
}

.results-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.total-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-sel {
    background: var(--bg-card);
    color: #fff;
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
}

.results-body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
}

/* Sidebar */
.res-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar styling for sidebar */
.res-sidebar::-webkit-scrollbar {
    width: 4px;
}

.res-sidebar::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.sidebar-make-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
}

.model-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mchip {
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: .2s;
}

.mchip:hover,
.mchip.active {
    background: var(--primary);
    border-color: var(--primary);
}

.sidebar-filters {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.sb-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.sb-group {
    margin-bottom: 20px;
}

.sb-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.status-pills,
.auc-pills {
    display: flex;
    gap: 6px;
}

.spill,
.apill {
    flex: 1;
    padding: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.spill.active,
.apill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.range-slider {
    width: 100%;
    accent-color: var(--primary);
}

.range-vals {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 8px;
    color: var(--text-muted);
}

.year-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.year-inp {
    width: 100%;
    padding: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
}

.btn-apply {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
}

.btn-reset {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 13px;
    cursor: pointer;
    margin-top: 5px;
}

/* Status Tabbar */
.status-tabbar {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}

.stab {
    background: none;
    border: none;
    padding: 12px 4px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

.stab.active {
    color: #fff;
}

.stab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 4px;
}

.stab-count {
    font-size: 11px;
    vertical-align: super;
    background: #2A5B4E;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Car List Item (List View) */
.car-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: grid;
    grid-template-columns: 320px 1fr 220px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: .2s;
    cursor: pointer;
}

.car-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.car-item-img {
    position: relative;
    height: 100%;
    border-right: 1px solid var(--border);
    background: #000;
    overflow: hidden;
}

.car-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.car-item:hover .car-item-img img {
    transform: scale(1.05);
}

.badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.b-auc {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}

.b-auc.copart {
    background: #B89658;
}

.b-auc.iaai {
    background: #dc2626;
}

.car-item-info {
    padding: 20px;
}

.car-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.car-v-l {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 15px;
}

.car-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.car-specs div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.car-specs b {
    color: var(--text);
}

.car-item-side {
    padding: 20px;
    background: rgba(15, 23, 42, 0.3);
    border-left: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.car-timer {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.car-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-box {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.car-item-side .p-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 4px;
}

.car-item-side .p-val {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.btn-opened-auc {
    width: 100%;
    margin-top: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    text-transform: lowercase;
}
.btn-opened-auc:hover {
    background: var(--primary-hover);
}

/* ─── Skeleton ───────────────────────────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #1A3D34 25%, #2A5B4E 50%, #1A3D34 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ─── Detail Page (Photo 3) ───────────────────────────────────────────────── */
.detail-wrap {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 24px;
}

.detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.detail-title-block h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.8vw, 40px);
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin-bottom: 10px;
    color: #fff;
}

.detail-meta-row {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.detail-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
}

.gal-main {
    width: 100%;
    aspect-ratio: 16/10;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.gal-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gal-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.gal-thumb {
    aspect-ratio: 4/3;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    overflow: hidden;
    opacity: 0.6;
    transition: .2s;
}

.gal-thumb.active,
.gal-thumb:hover {
    opacity: 1;
    border-color: var(--primary);
}

.gal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.info-table {
    width: 100%;
}

.info-table tr {
    border-bottom: 1px solid var(--border);
}

.info-table tr:last-child {
    border: none;
}

.info-table td {
    padding: 12px 0;
    font-size: 14px;
}

.td-label {
    color: var(--text-muted);
    font-weight: 500;
}

.td-val {
    text-align: right;
    font-weight: 700;
    color: #fff;
}

.price-est-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.est-box {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin: 10px 0;
}

.btn-visit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    transition: .2s;
}
.btn-visit:hover {
    background: var(--primary-hover);
}

@media (max-width: 992px) {
    .results-body {
        grid-template-columns: 1fr;
    }

    .car-item {
        grid-template-columns: 1fr;
    }

    .car-item-side {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .detail-main-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── Searchable Select ─────────────────────────────────────────────────── */
.searchable-select {
    position: relative;
}
.ss-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text);
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}
.ss-input:focus {
    border-color: var(--primary);
}
.ss-input::placeholder {
    color: var(--text-muted);
}
.ss-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 220px;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.ss-dropdown.open {
    display: block;
}
.ss-option {
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text);
    transition: background .15s;
}
.ss-option:hover,
.ss-option.highlighted {
    background: var(--primary);
    color: #fff;
}
.ss-option.active {
    font-weight: 600;
    color: var(--accent);
}
.ss-dropdown::-webkit-scrollbar {
    width: 6px;
}
.ss-dropdown::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

/* ─── Card Meta Row ─────────────────────────────────────────────────────── */
.h-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
}
.h-card-meta span {
    white-space: nowrap;
}

/* Auction tag colors */
.b-auc-tag.copart { background: #B89658; }
.b-auc-tag.iaai { background: #dc2626; }

/* ─── Topnav Auth ──────────────────────────────────────────────────────── */
.topnav-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.topnav-user-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(200, 169, 106, 0.08);
    border: 1px solid rgba(200, 169, 106, 0.25);
    border-radius: 999px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, background .2s;
}
.topnav-user-link:hover {
    border-color: var(--primary);
    background: rgba(200, 169, 106, 0.14);
    color: #fff;
}
.topnav-user-link.active {
    border-color: var(--primary);
    background: rgba(200, 169, 106, 0.18);
}
.topnav-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D8B878 0%, #C8A96A 50%, #A88849 100%);
    color: #0A1F17;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}
.topnav-user-name {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.topnav-logout-form {
    display: inline;
}
.topnav-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 8px;
    cursor: pointer;
    transition: .2s;
}
.topnav-logout-btn:hover {
    border-color: #DC2626;
    color: #FCA5A5;
    background: rgba(220, 38, 38, 0.08);
}
@media (max-width: 640px) {
    .topnav-user-name { display: none; }
    .topnav-user-link { padding: 4px; }
}
.topnav-login-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 6px;
    transition: .2s;
}
.topnav-login-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── Footer ───────────────────────────────────────────────────────────── */
.sitefooter {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    margin-top: 60px;
    padding: 50px 0 0;
}
.sitefooter-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
}
.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}
.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color .2s;
}
.footer-links li a:hover {
    color: #fff;
}
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ─── Static Page Card ─────────────────────────────────────────────────── */
.page-wrap {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 24px;
}
.page-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.page-card h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
}
.page-card h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: #fff;
}
.page-card p,
.page-card li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.page-card ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

/* ─── Contact Form ─────────────────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea {
    min-height: 140px;
    resize: vertical;
}
.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: .2s;
}
.btn-submit:hover {
    background: var(--primary-hover);
}
.alert-success {
    background: #225149;
    border: 1px solid #2A5B4E;
    color: #34D399;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}
.alert-error {
    background: #7F1D1D;
    border: 1px solid #991B1B;
    color: #FCA5A5;
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* ─── Auth Pages ──────────────────────────────────────────────────────── */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 40px 24px;
}
.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.auth-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(26px, 3vw, 32px);
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.15;
}
.auth-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
}
.auth-errors {
    background: #7F1D1D;
    border: 1px solid #991B1B;
    color: #FCA5A5;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
}
.auth-errors p {
    margin-bottom: 4px;
}
.auth-errors p:last-child {
    margin-bottom: 0;
}
.auth-field {
    margin-bottom: 18px;
}
.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.auth-field input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: border-color .2s;
}
.auth-field input:focus {
    outline: none;
    border-color: var(--primary);
}
.auth-field input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}
.auth-remember {
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.auth-remember input[type="checkbox"] {
    accent-color: var(--primary);
    margin-right: 6px;
}
.auth-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: .2s;
    font-family: 'Inter', sans-serif;
}
.auth-btn:hover {
    background: var(--primary-hover);
}
.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.auth-link a {
    color: var(--primary);
    font-weight: 600;
}
.auth-link a:hover {
    text-decoration: underline;
}

/* ─── Admin Layout ────────────────────────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}
.admin-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 24px;
    margin-bottom: 32px;
    font-weight: 800;
    font-size: 20px;
    color: #fff;
}
.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 12px;
    flex: 1;
}
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: .2s;
}
.admin-nav-link:hover,
.admin-nav-link.active {
    background: var(--bg-hover);
    color: #fff;
}
.admin-nav-link.active {
    color: var(--primary);
}
.admin-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
}
.admin-topbar {
    height: 64px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 24px;
    gap: 16px;
}
.admin-topbar-user {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.admin-topbar-logout {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}
.admin-topbar-logout:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.admin-content {
    padding: 32px;
    flex: 1;
}
.admin-page-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.admin-stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.admin-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

/* ─── Admin Login Page ────────────────────────────────────────────────── */
.admin-login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--bg-dark);
}
.admin-login-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
}
.admin-login-title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 6px;
}
.admin-login-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 28px;
}

/* ─── Hamburger Menu ──────────────────────────────────────────────────── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Mobile Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Hamburger visible */
    .hamburger {
        display: flex;
    }

    /* Nav links → mobile dropdown */
    .topnav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.4);
    }
    .topnav-links.open {
        display: flex;
    }
    .topnav-links a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }
    .topnav-links a:last-child {
        border-bottom: none;
    }
    .topnav-links a.active::after {
        display: none;
    }

    /* Search button - icon only on mobile */
    .btn-search-nav span,
    .btn-search-nav {
        padding: 10px 12px;
        font-size: 0;
    }
    .btn-search-nav svg {
        width: 18px;
        height: 18px;
    }

    /* Topnav height */
    .topnav {
        height: 60px;
    }

    /* Hero */
    .hero-wrap {
        padding: 40px 16px 50px;
    }
    .hero-title {
        font-size: 26px;
    }
    .hero-sub {
        font-size: 14px;
        margin-bottom: 24px;
    }
    .filter-card {
        padding: 20px;
        border-radius: 12px;
    }
    .fc-row {
        flex-direction: column;
        gap: 12px;
    }
    .fc-field-sm,
    .fc-field-auc {
        width: 100%;
    }
    .fc-field-btn {
        width: 100%;
    }
    .fc-btn {
        width: 100%;
        justify-content: center;
    }

    /* Home grid - single column */
    .home-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
        margin-bottom: 30px;
    }

    /* Section headers */
    .h-section-header {
        margin: 24px 16px 16px;
        gap: 10px;
    }
    .h-section-header h2 {
        font-size: 18px;
        flex: 1;
        min-width: 0;
    }
    .btn-see-all {
        flex-shrink: 0;
        padding: 7px 14px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Results page */
    .results-page {
        padding: 0 12px;
        margin: 16px auto;
    }
    .results-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .topbar-right {
        width: 100%;
        justify-content: space-between;
    }
    .results-body {
        grid-template-columns: 1fr;
    }

    /* Sidebar - collapsible on mobile */
    .res-sidebar {
        position: static;
        max-height: none;
    }
    .sidebar-filters {
        padding: 16px;
    }

    /* Status tabbar scroll */
    .status-tabbar {
        gap: 16px;
        padding-bottom: 8px;
    }
    .stab {
        font-size: 13px;
    }

    /* Card in results - single column */
    .res-content .home-grid {
        grid-template-columns: 1fr !important;
    }

    /* Car item (list view) */
    .car-item {
        grid-template-columns: 1fr;
    }
    .car-item-img {
        height: 200px;
        border-right: none;
    }
    .car-item-side {
        border-left: none;
        border-top: 1px solid var(--border);
    }

    /* Detail page */
    .detail-wrap {
        padding: 0 12px;
        margin: 16px auto;
    }
    .detail-main-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .detail-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .detail-title-block h1 {
        font-size: 22px;
    }
    .detail-meta-row {
        flex-wrap: wrap;
        gap: 8px;
        font-size: 12px;
    }
    .gal-thumbs {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 6px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .sitefooter {
        margin-top: 30px;
        padding: 30px 0 0;
    }

    /* Page card (about, contact, etc.) */
    .page-card {
        padding: 24px;
    }
    .page-card h1 {
        font-size: 22px;
    }

    /* Auth pages */
    .auth-card {
        padding: 24px;
    }
    .auth-page {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .h-card-img {
        height: 180px;
    }
    .h-card-body {
        padding: 12px;
    }
    .h-card-title {
        font-size: 14px;
    }
    .topnav-inner {
        padding: 0 12px;
    }
    .logo span {
        font-size: 17px;
    }
    .hero-title {
        font-size: 24px;
    }
}
/* ─── Dashboard & History Pages ─────────────────────────────────────────── */
.dashboard-page, .checkout-page, .report-page {
    min-height: calc(100vh - 200px);
    padding: 40px 24px;
}
.dashboard-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.checkout-inner {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.report-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.dashboard-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 38px);
    letter-spacing: -0.6px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 6px;
}
.dashboard-subtitle, .checkout-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}
.checkout-title, .section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.4px;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.checkout-title { margin-bottom: 6px; }
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}
.stat-label {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}
.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}
.dashboard-section {
    margin-bottom: 36px;
}
.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.report-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    text-decoration: none;
    color: var(--text);
    transition: .2s;
}
.report-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.report-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.report-type-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: .5px;
}
.report-type-carfax { background: #C8A96A; color: #0A1F17; }
.report-type-autocheck { background: #3B82F6; color: #fff; }
.report-date {
    font-size: 12px;
    color: var(--text-muted);
}
.report-vin {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: .5px;
}
.report-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}
.empty-state {
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
    color: var(--text-muted);
}
.empty-state p { margin-bottom: 14px; }
.btn-primary-dash {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--primary);
    color: #0A1F17;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: .2s;
}
.btn-primary-dash:hover {
    background: var(--primary-hover);
}
.btn-secondary-dash {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: .2s;
}
.btn-secondary-dash:hover { border-color: var(--primary); }
.orders-table-wrap {
    overflow-x: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.orders-table th, .orders-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.orders-table th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: .5px;
}
.orders-table tr:last-child td { border-bottom: none; }
.mono { font-family: 'Courier New', monospace; letter-spacing: .5px; }
.status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-pending { background: #6B5800; color: #FDE68A; }
.status-paid { background: #1A3D34; color: #6EE7B7; border: 1px solid #047857; }
.status-failed { background: #7F1D1D; color: #FCA5A5; }
/* Checkout */
.type-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.type-option input { display: none; }
.type-card {
    display: block;
    padding: 14px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: .2s;
}
.type-option input:checked + .type-card {
    border-color: var(--primary);
    background: rgba(200, 169, 106, 0.08);
}
.type-name {
    display: block;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
}
.type-desc {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}
.field-hint {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}
.checkout-summary, .pay-summary {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 20px 0;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 14px;
}
.summary-row strong { color: #fff; }
.summary-total {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 6px;
    font-size: 16px;
}
.summary-total strong { color: var(--primary); font-size: 18px; }
.pay-note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 14px;
    padding: 8px;
    background: rgba(200, 169, 106, 0.06);
    border-radius: 6px;
}
/* Report */
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.report-vin-big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 2.8vw, 30px);
    letter-spacing: -0.3px;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}
.report-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.report-frame {
    width: 100%;
    height: 80vh;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}
.report-json {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    font-size: 12px;
    color: var(--text);
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}
/* History button on detail / cards */
.btn-history {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(200, 169, 106, 0.12);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
    transition: .2s;
}
.btn-history:hover {
    background: var(--primary);
    color: #0A1F17;
}
.card-history {
    width: 100%;
    margin-top: 6px;
}
@media (max-width: 640px) {
    .dashboard-stats { grid-template-columns: 1fr; }
    .type-picker { grid-template-columns: 1fr; }
    .checkout-inner { padding: 24px; }
}
.type-single {
    display: block;
    padding: 14px 16px;
    background: rgba(200, 169, 106, 0.08);
    border: 1px solid var(--primary);
    border-radius: 8px;
}
.type-single .type-name {
    display: block;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
}
.type-single .type-desc {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════════════
   Homepage v2 — Carfax-first hero
   ═══════════════════════════════════════════════════════════════════════ */

.v2-hero {
    position: relative;
    padding: 90px 24px 80px;
    overflow: hidden;
    isolation: isolate;
}
.v2-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.v2-hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 800px;
    background: radial-gradient(ellipse, rgba(200, 169, 106, 0.12) 0%, transparent 55%),
                radial-gradient(ellipse at 30% 50%, rgba(26, 61, 52, 0.4) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(40px);
}
.v2-hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.8) 1px, transparent 0);
    background-size: 3px 3px;
    pointer-events: none;
}
.v2-hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
    align-items: center;
}
.v2-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.v2-kicker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
    animation: v2pulse 2.2s ease-in-out infinite;
}
@keyframes v2pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.v2-hero-headline {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 5.8vw, 68px);
    line-height: 1.02;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 24px;
}
.v2-hero-lead {
    max-width: 520px;
    margin-bottom: 36px;
}

.v2-stats {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 20px 28px;
    background: linear-gradient(180deg, rgba(26, 61, 52, 0.6) 0%, rgba(26, 61, 52, 0.3) 100%);
    border: 1px solid var(--border);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}
.v2-stat-val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}
.v2-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.2;
}
.v2-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ─── VIN Card ───────────────────────────────────────────────────────── */
.v2-vin-card {
    position: relative;
    background: linear-gradient(180deg, rgba(26, 61, 52, 0.9) 0%, rgba(10, 31, 23, 0.95) 100%);
    border: 1px solid rgba(200, 169, 106, 0.25);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.v2-vin-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(200, 169, 106, 0.4) 0%, transparent 40%, transparent 60%, rgba(200, 169, 106, 0.15) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.v2-vin-card-head {
    margin-bottom: 24px;
}
.v2-vin-card-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.4px;
    color: #fff;
    margin-top: 6px;
    line-height: 1.2;
}
.v2-vin-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform .3s;
}
.v2-vin-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: rgba(10, 31, 23, 0.7);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: .25s;
}
.v2-vin-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.12);
    background: rgba(10, 31, 23, 0.9);
}
.v2-vin-input-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: .25s;
}
.v2-vin-input-wrap:focus-within .v2-vin-input-icon {
    color: var(--primary);
}
#vinHeroInput {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 16px 0;
    min-width: 0;
}
#vinHeroInput::placeholder {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0;
    opacity: .7;
}
.v2-vin-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    padding: 0 4px;
    letter-spacing: .3px;
    font-variant-numeric: tabular-nums;
}
.v2-vin-meta b {
    color: var(--primary);
    font-weight: 700;
}
.v2-vin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #D8B878 0%, #C8A96A 50%, #A88849 100%);
    color: #0A1F17;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(200, 169, 106, 0.2);
    margin-top: 4px;
}
.v2-vin-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(200, 169, 106, 0.35);
}
.v2-vin-btn:active {
    transform: translateY(0);
}
.v2-vin-shake {
    animation: v2shake .45s cubic-bezier(.36,.07,.19,.97);
}
@keyframes v2shake {
    10%, 90% { transform: translateX(-2px); }
    20%, 80% { transform: translateX(3px); }
    30%, 50%, 70% { transform: translateX(-5px); }
    40%, 60% { transform: translateX(5px); }
}
.v2-vin-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 12px;
    color: var(--text-muted);
}
.v2-vin-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.v2-vin-trust svg {
    color: var(--primary);
}

/* ─── "Yoxsa — kataloqdan tap" bölməsi ────────────────────────────────── */
.v2-or-section {
    padding: 60px 24px;
    position: relative;
}
.v2-or-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
    transform: translateX(-50%);
}
.v2-or-inner {
    max-width: 980px;
    margin: 0 auto;
}
.v2-or-head {
    text-align: center;
    margin-bottom: 28px;
}
.v2-or-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(22px, 2.8vw, 30px);
    letter-spacing: -0.4px;
    color: #fff;
    margin: 8px 0 8px;
    line-height: 1.2;
}
.v2-or-sub {
    color: var(--text-muted);
    font-size: 14px;
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .v2-hero {
        padding: 60px 20px;
    }
    .v2-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .v2-stats {
        gap: 18px;
        padding: 16px 20px;
    }
}
@media (max-width: 600px) {
    .v2-hero { padding: 40px 16px 50px; }
    .v2-vin-card { padding: 24px; }
    .v2-stats {
        width: 100%;
        justify-content: space-between;
    }
    .v2-stat-divider { display: none; }
    .v2-vin-trust {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Car Card v2 — glassy overlay, spec pills, hover lift
   ═══════════════════════════════════════════════════════════════════════ */

.v-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2,.8,.2,1),
                border-color .25s,
                box-shadow .35s;
    isolation: isolate;
}
.v-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35),
                0 0 0 1px rgba(200, 169, 106, 0.1);
}

.v-card-main {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.v-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0A1F17;
}
.v-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.v-card:hover .v-card-media img {
    transform: scale(1.05);
}
.v-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
                rgba(10, 31, 23, 0) 0%,
                rgba(10, 31, 23, 0) 40%,
                rgba(10, 31, 23, 0.4) 65%,
                rgba(10, 31, 23, 0.92) 100%);
    pointer-events: none;
}
.v-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    pointer-events: none;
}
.v-card-auc {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    border-radius: 4px;
    background: rgba(10, 31, 23, 0.85);
    backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.v-card-auc-copart {
    color: var(--primary);
    border-color: rgba(200, 169, 106, 0.3);
}
.v-card-auc-iaai {
    color: #F87171;
    border-color: rgba(248, 113, 113, 0.3);
}
.v-card-time {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border-radius: 4px;
    background: rgba(10, 31, 23, 0.85);
    backdrop-filter: blur(6px);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.06);
    white-space: nowrap;
}
.v-card-title-block {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    pointer-events: none;
}
.v-card-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.25;
    color: #fff;
    letter-spacing: -0.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.v-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.v-card-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.v-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: rgba(10, 31, 23, 0.6);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v-card-prices {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.v-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.v-price-right {
    text-align: right;
}
.v-price-lbl {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}
.v-price-val {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.2px;
}
.v-price-buy {
    color: var(--primary);
}

/* ─── History CTA (sibling of main link) ─────────────────────────────── */
.v-card-history {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(200, 169, 106, 0.08);
    color: var(--primary);
    border: none;
    border-top: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: background .2s, color .2s;
    cursor: pointer;
}
.v-card-history:hover {
    background: var(--primary);
    color: #0A1F17;
}
.v-card-history svg {
    flex-shrink: 0;
}

/* ─── Responsive tweaks ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .v-card-media { aspect-ratio: 3 / 2; }
    .v-card-title { font-size: 14px; }
    .v-price-val { font-size: 14px; }
    .v-card-body { padding: 12px 14px 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Trust / Reviews / FAQ — Homepage bottom
   ═══════════════════════════════════════════════════════════════════════ */

.v-trust-section {
    padding: 70px 24px 90px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent 0%, rgba(26, 61, 52, 0.25) 100%);
    margin-top: 30px;
}
.v-trust-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.v-section-head-c {
    text-align: center;
    margin-bottom: 36px;
}
.v-trust-head {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(26px, 3.8vw, 38px);
    letter-spacing: -0.6px;
    line-height: 1.15;
    color: #fff;
    margin-top: 8px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Trust badges grid ──────────────────────────────────────────────── */
.v-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.v-trust-card {
    background: linear-gradient(180deg, rgba(26, 61, 52, 0.6) 0%, rgba(10, 31, 23, 0.4) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 22px;
    transition: transform .3s, border-color .3s;
}
.v-trust-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 169, 106, 0.3);
}
.v-trust-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.1);
    border: 1px solid rgba(200, 169, 106, 0.3);
    color: var(--primary);
    border-radius: 10px;
    margin-bottom: 16px;
}
.v-trust-card h4 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.1px;
    color: #fff;
    margin-bottom: 8px;
}
.v-trust-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

/* ─── Reviews grid ───────────────────────────────────────────────────── */
.v-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.v-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .3s, border-color .3s;
}
.v-review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 169, 106, 0.25);
}
.v-review-stars {
    display: flex;
    gap: 2px;
    color: var(--primary);
}
.v-review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
    flex: 1;
    font-style: italic;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0;
}
.v-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.v-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C8A96A 0%, #B89658 100%);
    color: #0A1F17;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v-review-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.v-review-role {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ─── FAQ accordion ──────────────────────────────────────────────────── */
.v-faq {
    max-width: 760px;
    margin: 0 auto;
}
.v-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .25s;
}
.v-faq-item:hover {
    border-color: rgba(200, 169, 106, 0.25);
}
.v-faq-item[open] {
    border-color: rgba(200, 169, 106, 0.4);
}
.v-faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 14.5px;
    color: #fff;
    gap: 12px;
}
.v-faq-item summary::-webkit-details-marker { display: none; }
.v-faq-item summary::marker { display: none; content: ''; }
.v-faq-arrow {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform .25s;
}
.v-faq-item[open] .v-faq-arrow {
    transform: rotate(180deg);
}
.v-faq-body {
    padding: 0 22px 20px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .v-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .v-reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .v-trust-grid { grid-template-columns: 1fr; }
    .v-trust-section { padding: 50px 16px 70px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Checkout + Pay flow (v-flow)
   ═══════════════════════════════════════════════════════════════════════ */

.v-flow-page {
    padding: 40px 24px 80px;
    min-height: calc(100vh - 200px);
}
.v-flow-inner {
    max-width: 1080px;
    margin: 0 auto;
}

/* ─── Step Indicator ─────────────────────────────────────────────────── */
.v-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 48px;
}
.v-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}
.v-step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px solid var(--border);
    color: var(--text-muted);
    font-weight: 800;
    font-size: 14px;
    transition: .3s;
}
.v-step-active .v-step-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #0A1F17;
    box-shadow: 0 0 0 6px rgba(200, 169, 106, 0.12);
}
.v-step-done .v-step-dot {
    background: rgba(200, 169, 106, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}
.v-step-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}
.v-step-active .v-step-lbl {
    color: #fff;
}
.v-step-done .v-step-lbl {
    color: var(--primary);
}
.v-step-line {
    width: 80px;
    height: 2px;
    background: var(--border);
    margin: 0 4px;
    margin-bottom: 24px;
    border-radius: 2px;
}
.v-step-line-done {
    background: var(--primary);
}

/* ─── Grid layout: main + aside ──────────────────────────────────────── */
.v-flow-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: start;
}
.v-flow-main {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 36px 36px 32px;
}
.v-flow-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.6px;
    color: #fff;
    margin: 8px 0 10px;
}
.v-flow-sub {
    margin-bottom: 28px;
}

/* ─── Form fields ────────────────────────────────────────────────────── */
.v-field {
    margin-bottom: 20px;
}
.v-field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.v-field-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: rgba(10, 31, 23, 0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: .25s;
}
.v-field-wrap:focus-within {
    border-color: var(--primary);
    background: rgba(10, 31, 23, 0.9);
    box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.1);
}
.v-field-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: .25s;
}
.v-field-wrap:focus-within .v-field-icon { color: var(--primary); }
.v-field-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 14px 0;
    min-width: 0;
    text-transform: uppercase;
}
.v-field-wrap input::placeholder {
    font-family: var(--font-body);
    letter-spacing: 0;
    font-weight: 400;
    color: var(--text-muted);
    opacity: .6;
}
.v-field-count {
    font-size: 11px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.v-field-count b {
    color: var(--primary);
    font-weight: 700;
}
.v-field-hint {
    display: block;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 6px;
    padding-left: 4px;
}

/* ─── Report option card ─────────────────────────────────────────────── */
.v-report-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(200, 169, 106, 0.06);
    border: 1px solid rgba(200, 169, 106, 0.35);
    border-radius: 12px;
}
.v-report-option-check {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #0A1F17;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.v-report-option-body {
    flex: 1;
    min-width: 0;
}
.v-report-option-name {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}
.v-report-option-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}
.v-report-option-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    white-space: nowrap;
    letter-spacing: -0.3px;
}

/* ─── Test rejimi qeydi ──────────────────────────────────────────────── */
.v-test-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(200, 169, 106, 0.07);
    border: 1px solid rgba(200, 169, 106, 0.2);
    border-radius: 10px;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 500;
    margin: 20px 0 24px;
}
.v-test-note svg { flex-shrink: 0; }

/* ─── Errors ─────────────────────────────────────────────────────────── */
.v-errors {
    background: rgba(127, 29, 29, 0.4);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #FCA5A5;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}
.v-errors p { margin-bottom: 4px; }
.v-errors p:last-child { margin-bottom: 0; }

/* ─── Primary flow button ────────────────────────────────────────────── */
.v-flow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 22px;
    background: linear-gradient(135deg, #D8B878 0%, #C8A96A 50%, #A88849 100%);
    color: #0A1F17;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 6px 20px rgba(200, 169, 106, 0.2);
}
.v-flow-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(200, 169, 106, 0.35);
}
.v-flow-btn-big {
    padding: 20px 24px;
    font-size: 16px;
}
.v-flow-btn-big strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.3px;
}

/* ─── Aside / Order Summary ──────────────────────────────────────────── */
.v-flow-aside {
    position: sticky;
    top: 90px;
}
.v-order-summary {
    background: linear-gradient(180deg, rgba(26, 61, 52, 0.9) 0%, rgba(10, 31, 23, 0.95) 100%);
    border: 1px solid rgba(200, 169, 106, 0.2);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.v-order-summary-head {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}
.v-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.v-summary-row strong {
    color: #fff;
    font-weight: 700;
}
.v-summary-muted strong {
    color: var(--text-muted);
}
.v-summary-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}
.v-summary-total {
    padding-top: 10px;
    font-size: 14px;
}
.v-summary-big {
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    font-size: 24px !important;
    color: var(--primary) !important;
    letter-spacing: -0.5px;
}
.v-summary-big em {
    font-style: normal;
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 4px;
    font-family: var(--font-body);
    font-weight: 600;
}
.v-mono-vin {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 1px;
}

/* ─── What's inside (checkout) ───────────────────────────────────────── */
.v-order-whats-inside {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.v-whats-head {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.v-whats-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.v-whats-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.v-whats-list svg {
    color: var(--primary);
    flex-shrink: 0;
}

.v-order-trust {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.v-trust-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
}
.v-trust-mini svg { color: var(--primary); }

/* ─── Pay page specific ──────────────────────────────────────────────── */
.v-pay-card {
    padding: 0;
}
.v-pay-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(10, 31, 23, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 18px;
}
.v-pay-head-left { min-width: 0; }
.v-pay-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #6EE7B7;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 6px;
}
.v-pay-head-desc {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.5;
}
.v-pay-brands {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}
.v-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    background: #fff;
    border-radius: 5px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.5px;
    color: #1A1F71;
    min-width: 44px;
    height: 26px;
}
.v-brand-visa {
    color: #1A1F71;
    font-style: italic;
}
.v-brand-mc {
    position: relative;
    background: #1A1F17;
    padding: 0;
    min-width: 44px;
}
.v-brand-mc-a, .v-brand-mc-b {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
}
.v-brand-mc-a {
    left: 6px;
    background: #EB001B;
}
.v-brand-mc-b {
    right: 6px;
    background: #F79E1B;
    mix-blend-mode: multiply;
}

.v-pay-footer {
    margin-top: 18px;
    text-align: center;
}
.v-pay-cancel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    transition: color .2s;
}
.v-pay-cancel:hover { color: var(--primary); }

/* ─── Preview mock (pay page) ────────────────────────────────────────── */
.v-pay-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.v-preview-head {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.v-preview-mock {
    background: rgba(10, 31, 23, 0.6);
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.v-preview-mock-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 4px 2px;
}
.v-preview-mock-row span { color: var(--text-muted); }
.v-preview-mock-row strong { color: #fff; font-weight: 600; }
.v-preview-mock-row.v-blur {
    filter: blur(4px);
    opacity: .45;
    user-select: none;
}
.v-preview-lock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 11px;
    color: var(--primary);
    font-weight: 600;
}

/* ─── Status pill ────────────────────────────────────────────────────── */
.v-status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.v-status-pending {
    background: rgba(234, 179, 8, 0.15);
    color: #FDE68A;
    border: 1px solid rgba(234, 179, 8, 0.3);
}
.v-status-paid {
    background: rgba(16, 185, 129, 0.15);
    color: #6EE7B7;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.v-status-failed {
    background: rgba(220, 38, 38, 0.15);
    color: #FCA5A5;
    border: 1px solid rgba(220, 38, 38, 0.4);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .v-flow-grid {
        grid-template-columns: 1fr;
    }
    .v-flow-aside {
        position: static;
    }
    .v-step-line { width: 50px; }
    .v-flow-main { padding: 28px 24px; }
}
@media (max-width: 520px) {
    .v-flow-page { padding: 24px 14px 60px; }
    .v-flow-main { padding: 22px 18px; }
    .v-order-summary { padding: 20px; }
    .v-step-line { width: 32px; }
    .v-step-dot { width: 32px; height: 32px; font-size: 12px; }
    .v-pay-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .v-flow-btn-big strong { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   Detail page v2 — hero overlay + tab system + sticky sidebar
   ═══════════════════════════════════════════════════════════════════════ */

.v-detail-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 24px 80px;
}

/* ─── Breadcrumb ─────────────────────────────────────────────────────── */
.v-detail-crumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.v-detail-crumb a {
    color: var(--text-muted);
    transition: color .2s;
}
.v-detail-crumb a:hover { color: var(--primary); }
.v-detail-crumb svg { opacity: 0.5; flex-shrink: 0; }
.v-detail-crumb span { color: #fff; font-weight: 600; }

/* ─── Loading ────────────────────────────────────────────────────────── */
.v-detail-loading {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.v-detail-skeleton {
    background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-hover) 50%, var(--bg-card) 100%);
    background-size: 200% 100%;
    animation: v-skeleton 1.4s ease-in-out infinite;
    border-radius: 16px;
}
@keyframes v-skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.v-detail-skeleton-hero {
    height: 480px;
}
.v-detail-skeleton-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
}
.v-detail-skeleton-body { height: 340px; }
.v-detail-skeleton-side { height: 340px; }

/* ─── Error ──────────────────────────────────────────────────────────── */
.v-detail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 80px 24px;
    color: var(--text-muted);
}
.v-detail-error svg { color: var(--primary); opacity: .6; }
.v-detail-error h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    letter-spacing: -0.5px;
}
.v-detail-error p { max-width: 360px; }

/* ─── HERO ───────────────────────────────────────────────────────────── */
.v-detail-hero {
    margin-bottom: 32px;
}
.v-detail-hero-media {
    position: relative;
    aspect-ratio: 16 / 9;
    max-height: 560px;
    border-radius: 20px;
    overflow: hidden;
    background: #0A1F17;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.v-detail-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.v-detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10, 31, 23, 0) 0%,
        rgba(10, 31, 23, 0) 45%,
        rgba(10, 31, 23, 0.6) 75%,
        rgba(10, 31, 23, 0.95) 100%);
    pointer-events: none;
}
.v-detail-hero-badges {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    gap: 6px;
    z-index: 2;
}
.v-doc-clear {
    color: #6EE7B7 !important;
    border-color: rgba(16, 185, 129, 0.35) !important;
}
.v-doc-salvage {
    color: #FCA5A5 !important;
    border-color: rgba(220, 38, 38, 0.35) !important;
}
.v-detail-hero-counter {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 12px;
    background: rgba(10, 31, 23, 0.8);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 2;
    font-variant-numeric: tabular-nums;
}
.v-detail-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
    z-index: 2;
}
.v-detail-nav-btn {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 31, 23, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .2s;
}
.v-detail-nav-btn:hover {
    background: var(--primary);
    color: #0A1F17;
    transform: scale(1.08);
}
.v-detail-hero-title {
    position: absolute;
    bottom: 24px;
    left: 28px;
    right: 28px;
    z-index: 2;
    pointer-events: none;
}
.v-detail-hero-title h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(24px, 3.5vw, 42px);
    letter-spacing: -0.8px;
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}
.v-detail-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    flex-wrap: wrap;
}
.v-detail-hero-dot { opacity: 0.5; }
.v-mono {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
    font-size: 12px;
}

/* ─── Thumbnails ─────────────────────────────────────────────────────── */
.v-detail-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.v-detail-thumbs::-webkit-scrollbar { height: 6px; }
.v-detail-thumbs::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}
.v-detail-thumb {
    flex: 0 0 90px;
    height: 68px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: var(--bg-card);
    cursor: pointer;
    transition: border-color .2s, transform .2s;
}
.v-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.v-detail-thumb:hover {
    transform: translateY(-2px);
}
.v-detail-thumb-active {
    border-color: var(--primary);
}

/* ─── Main grid ──────────────────────────────────────────────────────── */
.v-detail-main {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 28px;
    align-items: start;
}

/* ─── Tabs ───────────────────────────────────────────────────────────── */
.v-detail-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 20px;
}
.v-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    color: var(--text-muted);
    border: none;
    border-radius: 9px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: .25s;
    white-space: nowrap;
}
.v-tab:hover {
    color: #fff;
    background: rgba(200, 169, 106, 0.05);
}
.v-tab-active {
    background: var(--primary);
    color: #0A1F17;
    font-weight: 800;
}
.v-tab-active:hover {
    background: var(--primary);
    color: #0A1F17;
}
.v-tab svg {
    flex-shrink: 0;
}

.v-tab-panel {
    display: none;
    animation: v-fade-in .25s ease;
}
.v-tab-panel-active {
    display: block;
}
@keyframes v-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Spec grid ──────────────────────────────────────────────────────── */
.v-spec-grid, .v-sale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.v-spec-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    transition: border-color .2s;
}
.v-spec-item:hover {
    border-color: rgba(200, 169, 106, 0.3);
}
.v-spec-lbl {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
    margin-bottom: 6px;
}
.v-spec-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}
.v-tab-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: 12px;
    font-size: 14px;
}

.v-tab-history {
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.08) 0%, rgba(200, 169, 106, 0.02) 100%);
    border: 1px solid rgba(200, 169, 106, 0.25);
    border-radius: 14px;
    padding: 40px 32px;
    text-align: center;
}
.v-tab-history-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(200, 169, 106, 0.12);
    color: var(--primary);
    border-radius: 16px;
    margin-bottom: 18px;
}
.v-tab-history h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}
.v-tab-history p {
    max-width: 440px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}
.v-tab-history-novin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
}

/* ─── Sidebar ────────────────────────────────────────────────────────── */
.v-detail-aside {
    position: sticky;
    top: 90px;
}
.v-detail-sticky {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v-detail-price-card {
    background: linear-gradient(180deg, rgba(26, 61, 52, 0.9) 0%, rgba(10, 31, 23, 0.95) 100%);
    border: 1px solid rgba(200, 169, 106, 0.2);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.v-detail-price-kicker {
    display: block;
    margin-bottom: 6px;
}
.v-detail-price-val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 3vw, 36px);
    letter-spacing: -0.8px;
    color: var(--primary);
    line-height: 1;
}
.v-detail-price-extra {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    min-height: 16px;
}
.v-detail-history-cta {
    margin-top: 20px;
}
.v-detail-bid-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 18px;
    margin-top: 8px;
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    transition: .2s;
}
.v-detail-bid-cta:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.v-detail-bid-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
    line-height: 1.5;
}

.v-detail-key-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
}
.v-detail-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}
.v-detail-info-row:last-child { border-bottom: none; }
.v-detail-info-row span { color: var(--text-muted); }
.v-detail-info-row strong { color: #fff; font-weight: 600; }

.v-detail-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.v-detail-share:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .v-detail-main {
        grid-template-columns: 1fr;
    }
    .v-detail-aside {
        position: static;
    }
    .v-detail-skeleton-grid {
        grid-template-columns: 1fr;
    }
    .v-spec-grid, .v-sale-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .v-detail-wrap { padding: 16px 14px 60px; }
    .v-detail-hero-media { aspect-ratio: 4 / 3; }
    .v-detail-hero-title h1 { font-size: 20px; }
    .v-detail-hero-title { bottom: 16px; left: 16px; right: 16px; }
    .v-detail-tabs { flex-wrap: wrap; }
    .v-tab { font-size: 12px; padding: 10px 12px; }
    .v-spec-grid, .v-sale-grid { grid-template-columns: 1fr; }
    .v-detail-nav-btn { width: 36px; height: 36px; }
}

/* ─── VIN Bar (detail top, prominent) ────────────────────────────────── */
.v-detail-vinbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 22px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, rgba(26, 61, 52, 0.9) 0%, rgba(10, 31, 23, 0.6) 100%);
    border: 1px solid rgba(200, 169, 106, 0.3);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    flex-wrap: wrap;
}
.v-detail-vinbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.v-detail-vinbar-lbl {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(200, 169, 106, 0.12);
    border: 1px solid rgba(200, 169, 106, 0.3);
    color: var(--primary);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}
.v-detail-vinbar-code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.v-detail-vinbar-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: .2s;
    flex-shrink: 0;
}
.v-detail-vinbar-copy:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.v-detail-vinbar-copy-ok {
    border-color: #6EE7B7 !important;
    color: #6EE7B7 !important;
}
.v-detail-vinbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: linear-gradient(135deg, #D8B878 0%, #C8A96A 50%, #A88849 100%);
    color: #0A1F17;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 13.5px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(200, 169, 106, 0.25);
    white-space: nowrap;
    flex-shrink: 0;
}
.v-detail-vinbar-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(200, 169, 106, 0.4);
}
.v-detail-vinbar-novin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .v-detail-vinbar {
        padding: 12px 16px;
        gap: 10px;
    }
    .v-detail-vinbar-left {
        width: 100%;
    }
    .v-detail-vinbar-code {
        font-size: 15px;
        letter-spacing: 1px;
    }
    .v-detail-vinbar-cta {
        width: 100%;
        justify-content: center;
    }
    .v-detail-vinbar-novin {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Dashboard v2 — polished
   ═══════════════════════════════════════════════════════════════════════ */

.v-dash-page {
    padding: 40px 24px 80px;
    min-height: calc(100vh - 200px);
}
.v-dash-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ─── Header ─────────────────────────────────────────────────────────── */
.v-dash-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.v-dash-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -1.2px;
    line-height: 1.05;
    color: #fff;
    margin: 6px 0 6px;
}
.v-dash-subtitle {
    color: var(--text-muted);
    font-size: 14px;
}
.v-dash-new-btn {
    width: auto;
    padding: 14px 22px;
    font-size: 14px;
}

/* ─── Stats ──────────────────────────────────────────────────────────── */
.v-dash-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 48px;
}
.v-dash-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(26, 61, 52, 0.7) 0%, rgba(10, 31, 23, 0.5) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px 24px;
    transition: transform .3s, border-color .3s;
}
.v-dash-stat:hover {
    transform: translateY(-3px);
    border-color: rgba(200, 169, 106, 0.3);
}
.v-dash-stat-highlight {
    background: linear-gradient(180deg, rgba(200, 169, 106, 0.1) 0%, rgba(200, 169, 106, 0.03) 100%);
    border-color: rgba(200, 169, 106, 0.3);
}
.v-dash-stat-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 169, 106, 0.12);
    border: 1px solid rgba(200, 169, 106, 0.25);
    color: var(--primary);
    border-radius: 12px;
    flex-shrink: 0;
}
.v-dash-stat-lbl {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}
.v-dash-stat-val {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 2.5vw, 28px);
    letter-spacing: -0.4px;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.v-dash-stat-highlight .v-dash-stat-val {
    color: var(--primary);
}
.v-dash-stat-val em {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 4px;
    letter-spacing: 0;
}

/* ─── Section heading ────────────────────────────────────────────────── */
.v-dash-section {
    margin-bottom: 44px;
}
.v-dash-section-head {
    margin-bottom: 20px;
}
.v-dash-section-head .section-title {
    margin-top: 6px;
    margin-bottom: 0;
}

/* ─── Empty state ────────────────────────────────────────────────────── */
.v-dash-empty {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(10, 31, 23, 0.6) 100%);
    border: 1px dashed var(--border);
    border-radius: 20px;
    padding: 60px 32px;
    text-align: center;
}
.v-dash-empty-art {
    display: inline-flex;
    color: var(--primary);
    margin-bottom: 20px;
    animation: v-float 4s ease-in-out infinite;
}
@keyframes v-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.v-dash-empty h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    letter-spacing: -0.4px;
    margin-bottom: 8px;
}
.v-dash-empty p {
    color: var(--text-muted);
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 14px;
}

/* ─── Report cards ───────────────────────────────────────────────────── */
.v-dash-reports {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.v-dash-report-card {
    position: relative;
    display: block;
    padding: 20px 22px;
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(10, 31, 23, 0.8) 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    color: inherit;
    text-decoration: none;
    transition: transform .3s, border-color .3s, box-shadow .3s;
    overflow: hidden;
}
.v-dash-report-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -40%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(200, 169, 106, 0.12) 0%, transparent 60%);
    transition: transform .5s;
}
.v-dash-report-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 169, 106, 0.35);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.v-dash-report-card:hover::before {
    transform: scale(1.3);
}
.v-dash-report-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.v-dash-report-type {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 4px;
    background: var(--primary);
    color: #0A1F17;
}
.v-dash-report-date {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
}
.v-dash-report-vin {
    font-family: 'Courier New', monospace;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    word-break: break-all;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}
.v-dash-report-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6EE7B7;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.v-dash-report-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: padding .3s;
}
.v-dash-report-card:hover .v-dash-report-arrow {
    padding-left: 3px;
}
.v-dash-report-arrow svg {
    transition: transform .3s;
}
.v-dash-report-card:hover .v-dash-report-arrow svg {
    transform: translateX(3px);
}

/* ─── Orders table ───────────────────────────────────────────────────── */
.v-dash-orders {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow-x: auto;
}
.v-dash-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.v-dash-orders-table th,
.v-dash-orders-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.v-dash-orders-table th {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(10, 31, 23, 0.5);
}
.v-dash-orders-table tr:last-child td { border-bottom: none; }
.v-dash-orders-table tbody tr {
    transition: background .2s;
}
.v-dash-orders-table tbody tr:hover {
    background: rgba(200, 169, 106, 0.04);
}
.v-dash-orders-table td strong {
    color: #fff;
    font-variant-numeric: tabular-nums;
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 720px) {
    .v-dash-stats { grid-template-columns: 1fr; }
    .v-dash-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .v-dash-new-btn { width: 100%; }
    .v-dash-empty { padding: 40px 20px; }
    .v-dash-orders-table th,
    .v-dash-orders-table td {
        padding: 12px 14px;
        font-size: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   Global polish — reveal, focus, skeleton, back-to-top
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Fade-in on scroll ──────────────────────────────────────────────── */
.v-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s cubic-bezier(.2,.8,.2,1),
                transform .7s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
}
.v-reveal-in {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility — respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .v-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    *, *::before, *::after {
        animation-duration: .01s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01s !important;
        scroll-behavior: auto !important;
    }
}

/* ─── Focus rings (keyboard accessibility) ───────────────────────────── */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 6px;
}
button:focus-visible,
a:focus-visible {
    outline-offset: 3px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
}

/* ─── Selection ──────────────────────────────────────────────────────── */
::selection {
    background: rgba(200, 169, 106, 0.4);
    color: #fff;
}

/* ─── Scrollbar ──────────────────────────────────────────────────────── */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover {
    background: rgba(200, 169, 106, 0.5);
    background-clip: content-box;
}

/* ─── Smooth scroll ──────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

/* ─── Skeleton shimmer (global) ──────────────────────────────────────── */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(26, 61, 52, 0.5) 0%,
        rgba(26, 61, 52, 0.8) 50%,
        rgba(26, 61, 52, 0.5) 100%
    );
    background-size: 200% 100%;
    animation: v-shimmer 1.5s ease-in-out infinite;
    border-radius: 12px;
}
@keyframes v-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ─── Back-to-top button ─────────────────────────────────────────────── */
.v-back-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D8B878 0%, #C8A96A 50%, #A88849 100%);
    color: #0A1F17;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: opacity .3s, transform .3s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(200, 169, 106, 0.2);
    z-index: 100;
}
.v-back-top-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.v-back-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(200, 169, 106, 0.4);
}
.v-back-top:active {
    transform: translateY(0) scale(1);
}

/* ─── Loading section spinner (reused) ──────────────────────────────── */
.section-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-muted);
    font-size: 13px;
    gap: 12px;
}
.spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: v-spin .8s linear infinite;
}
@keyframes v-spin {
    to { transform: rotate(360deg); }
}

/* ─── Mobile: back-to-top positioning ───────────────────────────────── */
@media (max-width: 600px) {
    .v-back-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}
