        :root {
            --primary: #e31c25;
            --primary-hover: #c41920;
            --primary-soft: rgba(227, 28, 37, 0.08);
            --bg: #ffffff;
            --bg-alt: #f6f7f9;
            --dark: #0c0d10;
            --text: #1a1d24;
            --muted: #6b7280;
            --border: #e5e7eb;
            --radius: 14px;
            --radius-sm: 10px;
            --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
            --container: 1200px;
        }

        * { box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body {
            margin: 0;
            font-family: 'Inter', Arial, sans-serif;
            color: var(--text);
            background: var(--bg);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        img { max-width: 100%; display: block; }
        a { color: inherit; text-decoration: none; }
        button, input, select { font: inherit; }

        .container {
            width: min(100% - 32px, var(--container));
            margin: 0 auto;
        }

        .section { padding: 88px 0; }
        .section-alt { background: var(--bg-alt); }

        .section-head {
            max-width: 700px;
            margin: 0 auto 44px;
            text-align: center;
        }

        .eyebrow {
            display: inline-block;
            margin-bottom: 14px;
            padding: 6px 14px;
            border-radius: 999px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .section-head h2 {
            margin: 0 0 12px;
            font-size: clamp(30px, 4vw, 42px);
            line-height: 1.1;
            letter-spacing: -0.03em;
        }

        .section-head p {
            margin: 0;
            color: var(--muted);
            font-size: 16px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 24px;
            border: 1px solid transparent;
            border-radius: var(--radius-sm);
            background: var(--primary);
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            transition: .2s ease;
            cursor: pointer;
        }

        .btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
        .btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
        .btn-outline:hover { background: #fff; border-color: #cbd5e1; }
        .btn-light { background: #fff; color: var(--primary); }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(12, 13, 16, 0.96);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            backdrop-filter: blur(12px);
        }

        .site-header__inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            min-height: 74px;
            gap: 24px;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 12px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.02em;
        }

        .logo-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 42px;
            height: 32px;
            padding: 0 10px;
            border-radius: 8px;
            background: var(--primary);
            font-size: 12px;
        }

        .nav {
            display: flex;
            flex-wrap: wrap;
            gap: 22px;
        }

        .nav a {
            color: rgba(255,255,255,.76);
            font-size: 13px;
            font-weight: 600;
        }

        .nav a:hover,
        .contact-phone:hover { color: #fff; }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 18px;
        }

        .contact-phone {
            color: rgba(255,255,255,.72);
            font-size: 14px;
            font-weight: 600;
        }

        .hero {
            padding: 64px 0 72px;
            background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.05fr .95fr;
            gap: 48px;
            align-items: center;
        }

        .hero h1 {
            margin: 0 0 20px;
            font-size: clamp(42px, 7vw, 66px);
            line-height: .96;
            letter-spacing: -0.05em;
        }

        .hero h1 span { color: var(--primary); }

        .hero p {
            max-width: 610px;
            margin: 0 0 30px;
            color: var(--muted);
            font-size: 18px;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 24px;
        }

        .hero-note {
            color: var(--muted);
            font-size: 14px;
        }

        .hero-card {
            overflow: hidden;
            border: 1px solid var(--border);
            border-radius: 24px;
            box-shadow: var(--shadow);
            background: #fff;
        }

        .hero-card img {
            width: 100%;
            aspect-ratio: 4 / 3;
            object-fit: cover;
        }

        .hero-card__meta {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border-top: 1px solid var(--border);
        }

        .hero-card__meta div {
            padding: 18px;
            border-right: 1px solid var(--border);
        }

        .hero-card__meta div:last-child { border-right: 0; }
        .hero-card__meta strong {
            display: block;
            margin-bottom: 4px;
            font-size: 18px;
        }

        .hero-card__meta span {
            color: var(--muted);
            font-size: 13px;
        }

        .stats {
            background: var(--primary);
            color: #fff;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
        }

        .stat {
            padding: 34px 20px;
            text-align: center;
            border-right: 1px solid rgba(255,255,255,.18);
        }

        .stat:last-child { border-right: 0; }
        .stat strong {
            display: block;
            font-size: 42px;
            line-height: 1;
            margin-bottom: 8px;
        }

        .stat span {
            display: block;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: rgba(255,255,255,.88);
        }

        .cards-grid,
        .benefits-grid,
        .steps-grid,
        .testimonials-grid,
        .footer-grid {
            display: grid;
            gap: 24px;
        }

        .cards-grid { grid-template-columns: repeat(3, 1fr); }
        .benefits-grid { grid-template-columns: repeat(2, 1fr); }
        .steps-grid { grid-template-columns: repeat(4, 1fr); }
        .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
        .footer-grid { grid-template-columns: 1.8fr 1fr 1fr; }

        .card,
        .benefit,
        .step,
        .testimonial,
        .calc-box,
        .contact-box {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .card { overflow: hidden; }
        .card-media { position: relative; }
        .card-media img {
            width: 100%;
            height: 220px;
            object-fit: cover;
        }

        .badge {
            position: absolute;
            top: 16px;
            left: 16px;
            padding: 7px 12px;
            border-radius: 999px;
            background: var(--primary);
            color: #fff;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
        .card-body h3 {
            margin: 0 0 6px;
            font-size: 20px;
            line-height: 1.2;
        }

.card-meta {
    color: var(--muted);
    font-size: 14px;
}

.card-note {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

        .card-price {
            margin: 16px 0 18px;
            font-size: 28px;
            font-weight: 800;
            letter-spacing: -0.03em;
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            padding-top: 18px;
            border-top: 1px solid var(--border);
            margin-top: auto;
        }

        .benefit {
            padding: 28px;
            display: flex;
            gap: 18px;
            align-items: flex-start;
        }

        .benefit-icon {
            flex: 0 0 52px;
            width: 52px;
            height: 52px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 14px;
            background: var(--primary-soft);
            color: var(--primary);
            font-size: 22px;
            font-weight: 800;
        }

        .benefit h3,
        .step h3,
        .testimonial h3,
        .calc-box h3,
        .contact-box h3 {
            margin: 0 0 8px;
            font-size: 20px;
        }

        .benefit p,
        .step p,
        .testimonial p,
        .footer-text,
        .footer-col a,
        .footer-bottom,
        .calc-help,
        .field-help,
        .result-row span {
            color: var(--muted);
        }

        .calculator-grid {
            display: grid;
            grid-template-columns: 1fr .95fr;
            gap: 24px;
            align-items: start;
        }

        .calc-box,
        .contact-box { padding: 28px; }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .field {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-bottom: 16px;
        }

        .field label {
            font-size: 13px;
            font-weight: 700;
        }

        .field input,
        .field select,
        .field textarea {
            width: 100%;
            padding: 14px 16px;
            border: 1px solid var(--border);
            border-radius: var(--radius-sm);
            background: #fff;
            color: var(--text);
        }

        .field textarea {
            min-height: 120px;
            resize: vertical;
        }

        .field input:focus,
        .field select:focus,
        .field textarea:focus {
            outline: 0;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px var(--primary-soft);
        }

        .field-help {
            margin: -6px 0 0;
            font-size: 12px;
        }

        .results {
            margin: 22px 0 0;
            border-top: 1px solid var(--border);
            padding-top: 10px;
        }

        .result-row {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
            font-size: 14px;
        }

        .result-row strong { color: var(--text); }

        .result-total {
            display: flex;
            justify-content: space-between;
            gap: 16px;
            align-items: center;
            margin-top: 18px;
            padding: 18px 20px;
            border-radius: 12px;
            background: var(--primary-soft);
        }

        .result-total span { font-size: 15px; font-weight: 700; }
        .result-total strong {
            font-size: 32px;
            color: var(--primary);
            letter-spacing: -0.03em;
        }

        .calc-help {
            margin-top: 16px;
            font-size: 14px;
        }

        .step {
            padding: 28px 24px;
            text-align: center;
        }

        .step-number {
            display: inline-block;
            margin-bottom: 14px;
            font-size: 54px;
            line-height: 1;
            font-weight: 900;
            letter-spacing: -0.05em;
            color: var(--primary);
        }

        .testimonials-wrap {
            background: var(--dark);
            color: #fff;
        }

        .testimonials-wrap .section-head p { color: rgba(255,255,255,.68); }
        .testimonial {
            background: rgba(255,255,255,.05);
            border-color: rgba(255,255,255,.1);
            box-shadow: none;
            padding: 26px;
        }

        .stars {
            margin-bottom: 14px;
            color: #fbbf24;
            letter-spacing: .15em;
            font-size: 14px;
        }

        .testimonial strong {
            display: block;
            margin-top: 18px;
            color: #fff;
            font-size: 15px;
        }

        .testimonial span {
            color: rgba(255,255,255,.58);
            font-size: 13px;
        }

        .cta {
            padding: 72px 0;
            text-align: center;
            background: var(--primary);
            color: #fff;
        }

        .cta h2 {
            margin: 0 0 12px;
            font-size: clamp(30px, 4vw, 44px);
            line-height: 1.08;
            letter-spacing: -0.03em;
        }

        .cta p {
            margin: 0 auto 28px;
            max-width: 700px;
            color: rgba(255,255,255,.86);
        }

        .cta-actions {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }

        .site-footer {
            padding: 64px 0 28px;
            background: #101216;
            color: #fff;
        }

        .footer-brand p,
        .footer-col a,
        .footer-bottom { color: rgba(255,255,255,.66); }
        .footer-col h4 {
            margin: 0 0 18px;
            color: rgba(255,255,255,.45);
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
        }

        .footer-col a {
            display: block;
            margin-bottom: 10px;
            font-size: 14px;
        }

        .footer-col a:hover { color: #fff; }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            gap: 18px;
            padding-top: 28px;
            margin-top: 36px;
            border-top: 1px solid rgba(255,255,255,.1);
            font-size: 13px;
        }

        @media (max-width: 1080px) {
            .cards-grid,
            .steps-grid,
            .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
            .hero-grid,
            .calculator-grid,
            .footer-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 760px) {
            .nav,
            .contact-phone { display: none; }
            .hero { padding-top: 42px; }
            .stats-grid,
            .cards-grid,
            .benefits-grid,
            .steps-grid,
            .testimonials-grid,
            .form-grid { grid-template-columns: 1fr; }
            .hero-card__meta { grid-template-columns: 1fr; }
            .hero-card__meta div { border-right: 0; border-bottom: 1px solid var(--border); }
            .hero-card__meta div:last-child { border-bottom: 0; }
            .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
            .stat:last-child { border-bottom: 0; }
            .card-footer,
            .footer-bottom,
            .header-actions { flex-direction: column; align-items: flex-start; }
        }
.logo img {
    height: 40px;
    width: auto;
}
/* SHARE CARD */

.share-card {
    width: 420px;
    background:
    radial-gradient(circle at 80% 0%, rgba(0,120,255,0.25), transparent 40%),
    radial-gradient(circle at 20% 100%, rgba(255,0,80,0.15), transparent 40%),
    #050b1a;
    color: #fff;
    border-radius: 20px;
    padding: 22px;
    font-family: 'Inter', sans-serif;
    
}

.share-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.share-logo {
    height: 40px;
}

.share-title {
    font-weight: 600;
    font-size: 16px;
    opacity: 0.8;
}

.share-top {
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.share-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.share-auction {
    font-size: 48px;
    font-weight: 900;
    color: #ff4d4d;
    margin-top: 4px;
    letter-spacing: -1px;
opacity: 0.85;
}

.share-divider {
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    margin: 20px 0;
}

.share-block {
    margin-top: 26px;
}

.share-block + .share-block {
    margin-top: 34px;
}

.share-block-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
}

.share-subtitle {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
}

.share-price {
    font-size: 34px;
    font-weight: 800;
    color: #e53935;
    margin-bottom: 20px;
}



.share-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 15px;
}

.share-row span {
    color: rgba(255,255,255,0.7);
}

.share-row strong {
    font-weight: 600;
}

.share-rate {
    font-size: 11px;
    opacity: 0.5;
    margin-top: 6px;
}

.share-final {
    margin-top: 34px;
    text-align: center;
}

.share-final strong {
    font-size: 52px;
    font-weight: 900;
    white-space: nowrap;

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(255,255,255,0.15);
}

.share-final div {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.5;
}



.share-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 11px;
    color: rgba(255,255,255,0.25);
}

.footer-social {
    margin-top: 20px;
}

.footer-social-title {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.7;
}

.footer-social-links {
    display: flex;
    gap: 14px;
}

.footer-social-links a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: 0.2s;
}

.footer-social-links a:hover {
    opacity: 1;
}

.footer-social-links svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}
.cards-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    align-items: stretch;
}

.cards-slider::-webkit-scrollbar {
    height: 6px;
}

.cards-slider::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.15);
    border-radius: 999px;
}

.cards-slider::-webkit-scrollbar-track {
    background: transparent;
}

.card {
    min-width: calc(33.333% - 14px);
    flex: 0 0 auto;

    display: flex;
    flex-direction: column;

    scroll-snap-align: start;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}
@media (max-width: 768px) {
    .card {
        min-width: 88%;
    }

    .cards-slider {
        padding-left: 4px;
    }
}
.car-page {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(320px, 1fr);
    gap: 40px;
    align-items: start;
}
.car-main-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.car-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.car-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;

    max-width: 100%;      
    overflow-x: auto;     
    padding-bottom: 5px;
}

.car-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;       
}

.car-thumbs img:hover {
    opacity: 1;
}
.car-page > div {
    min-width: 0;
    overflow: hidden;
}
.car-page h1 {
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.2;
}
.car-page > div:last-child {
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
#mainImg {
    cursor: zoom-in;
}

@media (max-width: 768px) {
    .car-page {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .car-main-image {
        aspect-ratio: 16 / 10;
    }

    .car-page > div:last-child {
        max-width: 100%;
    }
}
.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.zoom-container img {
    transition: transform 0.2s ease;
}
.done-row {
    opacity: 0.5;
    text-decoration: line-through;
}

.location-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.location-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
}

.location-dropdown-item:hover {
    background: #f3f4f6;
}
.hero-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 4:3 */
    overflow: hidden;
    border-radius: 24px;
}

.hero-video iframe,
.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 135%; 
    transform: translate(-50%, -50%);
    border: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* ADMIN TABLE FIX */

table {
    width: max-content;   
    min-width: 100%;      
    border-collapse: collapse;
    background: #fff;
}
table th,
table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

table th {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
}

table input,
table select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
}

/* ACTION BUTTON */

.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.action-btn:hover {
    background: #e5e7eb;
}
.table-card {
    overflow-x: auto;
}
tr[data-status="relist"] {
    background: #fff7ed;
}

tr[data-status="cancelled"] {
    opacity: 0.5;
    text-decoration: line-through;
}

tr[data-status="arrived"] {
    background: #ecfdf5;
}


/* PURCHASE TOTALS */

.total-usd-head,
.total-eur-head,
.total-usd-cell,
.total-eur-cell {
    min-width: 140px;
    white-space: nowrap;
    background: #fff;
}

/* colors */

.total-usd-cell strong {
    color: #2563eb;
    font-size: 15px;
    font-weight: 800;
}

.total-eur-cell strong {
    color: #059669;
    font-size: 15px;
    font-weight: 800;
}

/* align */

.total-usd-cell strong,
.total-eur-cell strong {
    display: block;
    text-align: right;
}

/* sticky */

.total-usd-cell {
    position: sticky;
    right: 140px;
    z-index: 2;
}

.total-eur-cell {
    position: sticky;
    right: 0;
    z-index: 2;
}

.total-usd-head {
    position: sticky;
    right: 140px;
    z-index: 3;
}

.total-eur-head {
    position: sticky;
    right: 0;
    z-index: 3;
}

/* borders */

.total-usd-cell,
.total-eur-cell {
    border-left: 1px solid #e5e7eb;
}

/* shadows */

.total-usd-cell,
.total-eur-cell,
.total-usd-head,
.total-eur-head {
    box-shadow: -6px 0 10px rgba(0,0,0,0.03);
}

/* hover */

.purchases-table tbody tr {
    transition: background 0.15s ease;
}

.purchases-table tbody tr:hover {
    background: #f9fafb;
}

.purchases-table tbody tr:hover .total-usd-cell,
.purchases-table tbody tr:hover .total-eur-cell {
    background: #f9fafb;
}

/* status colors */

tr[data-status="arrived"] .total-usd-cell,
tr[data-status="arrived"] .total-eur-cell,
tr[data-status="arrived"] .total-usd-head,
tr[data-status="arrived"] .total-eur-head {
    background: #ecfdf5;
}

tr[data-status="relist"] .total-usd-cell,
tr[data-status="relist"] .total-eur-cell {
    background: #fff7ed;
}

/* client table */

.client-purchases-table {
    width: max-content;
    min-width: 100%;
}
