        :root {
            --primary-color: #0d2137;
            --secondary-color: #1a3a5d;
            --accent-color: #00a8ff;
            --accent-color-dark: #2980b9;
            --danger-color: #f40a0a;
            --success-color: #28a745;
            --success-color-dark: #218838;
            --warning-color: #f39c12;
            --light-bg: #f8f9fa;
            --medium-bg: #e9ecef;
            --border-color: #dee2e6;
            --text-color: #212529;
            --text-muted: #5a6268;
            --verified-blue: #007bff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.1);
            --border-radius: 8px;
        }
        * { box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; background-color: var(--light-bg); color: var(--text-color); line-height: 1.3; }
        body.lightbox-open, body.filters-open { overflow: hidden; }
        my-nextcar-topbar { height: 208px; Display: block; }
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 6px 16px 16px 16px;
        }
        img.icon-2 {
            width: 30px;
            height: 22px;
            opacity: 0.4;
            transform: rotate(313deg);
        }

        .icon { width: 20px; height: 20px; fill: var(--text-muted); flex-shrink: 0; }
        .icon-sm { width: 16px; height: 16px; }
        .main-header { background-color: white; padding: 1rem 2rem; margin-bottom: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
        .main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 1.5rem; }
        .main-nav a { text-decoration: none; color: var(--primary-color); font-weight: 500; transition: color 0.2s; }
        .main-nav a:hover { color: var(--accent-color); }
        .auth-buttons { display: flex; gap: 1rem; }
        .page-layout {
            display: grid;
            grid-template-columns: 330px 1fr;
            gap: 7px;
            align-items: start;
        }
        .filters-panel {
            padding: 1.5rem;
            background: #fff;
            border-radius: 8px;
            position: sticky;
            top: 20px;
            max-height: calc(100vh - 0px);
            overflow-y: auto;
            scrollbar-width: thin;
            scrollbar-color: #d8e1e9 #f6f6f6;
            box-shadow: var(--shadow);
    	    padding-bottom: 82px;
        }
        .filters-header { margin-bottom: 1.5rem; }
        .filters-header h2 { margin-top: 0; margin-bottom: 0; font-size: 14px; color: #45668a; font-weight: 500; }
        .filters-form fieldset { border: none; padding: 0; margin: 0 0 2.5rem 0; }
        .my_2_nev { font-weight: 400 !important; cursor: pointer; }
        .form-group.form-group--checkbox { display: flex; align-items: center; justify-content: center; gap: 0.6rem; color: white; text-decoration: none; padding: 8px; border-radius: 6px; font-weight: 400; font-size: 14px; text-align: center; transition: all 0.25s ease-in-out; margin-top: 8px; border: 1px solid #dee2e6a3; }
        .form-group.form-group--checkbox:hover { background-color: var(--light-bg); border-color: #adb5bd;}
        .filters-form legend {
            display: block;
            width: 100%;
            margin-bottom: 10px;
            color: #405972;
            font-size: 0.85rem;
            font-weight: 600;
        }
        .form-group { margin-bottom: 1.5rem; }
        .form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }
        .form-group input { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95rem; font-family: var(--font-main); transition: border-color 0.2s, box-shadow 0.2s; }
        .form-group input:focus-visible { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); }
        .form-group--checkbox { display: flex; align-items: center; gap: 0.5rem; }
        .form-group--checkbox input { width: auto; margin: 0; }
        .form-group--checkbox label { margin: 0; }
        .custom-select { position: relative; }
        .custom-select select { display: none; }
        .select-selected { background-color: #fff; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.95rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; transition: border-color 0.2s, box-shadow 0.2s; color: var(--text-color); }
        .select-selected:hover { border-color: #adb5bd; }
        .select-selected.select-arrow-active { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); border-radius: 6px 6px 0 0; }
        .select-selected::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--text-muted); transition: transform 0.2s ease-in-out; }
        .select-selected.select-arrow-active::after { transform: rotate(180deg); margin-top: -2px; }
        .select-items { position: absolute; background-color: white; top: 100%; left: 0; right: 0; z-index: 99; border: 1px solid var(--accent-color); border-top: none; border-radius: 0 0 6px 6px; max-height: 200px; overflow-y: auto; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); }
        .select-hide { display: none; }
        .select-items div { padding: 0.75rem; cursor: pointer; font-size: 0.95rem; transition: background-color 0.2s, color 0.2s; }
        .select-items div:hover, .same-as-selected { background-color: var(--accent-color); color: white; }
        .year-select-container { display: flex; gap: 0.75rem; align-items: center; }
        .year-select-container select { width: 100%; padding: 0.75rem; border: 1px solid var(--border-color); border-radius: 6px; font-size: 14px; color: #646464; background-color: #fff; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 16px 12px; cursor: pointer; }
        .year-select-container select:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2); }
        .range-slider-group { display: flex; flex-direction: column-reverse; }
        .slider-values { display: flex; justify-content: space-between; font-size: 12px; margin-top: 5px; }
        .slider-values span { padding: 0.2rem 0.5rem; border-radius: 4px; }
        .range-slider-container { position: relative; height: 20px; display: flex; align-items: center; }
        .range-slider-container input[type="range"] { position: absolute; width: 100%; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; margin: 0; }
        .range-slider-container input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; background-color: var(--accent-color); border: 2px solid white; border-radius: 50%; cursor: pointer; pointer-events: auto; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
        .range-slider-container input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background-color: var(--accent-color); border: 2px solid white; border-radius: 50%; cursor: pointer; pointer-events: auto; box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); }
        .slider-track, .slider-range {
            position: absolute;
            height: 4px;
            border-radius: 2px;
            left: 0;
            width: 100%;
        }
        .slider-track { background-color: var(--border-color); }
.slider-range {
    background-color: #22b0fa;
}
/* --- Główny kontener --- */
.year-select-container {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.year-select-container span {
    color: #6b7280;
    font-weight: 600;
}

/* Ukrywamy oryginalne selecty (Twój JS może to robić, ale dla pewności) */
.year-select-container select {
    display: none;
}

.year-select-container .custom-select {
    position: relative;
    width: 100%;
}

/* --- Wygląd zamkniętego pola --- */
.year-select-container .select-selected {
    background-color: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 40px 10px 16px;
    font-size: 15px;
    color: #1f2937;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
    
    /* Niestandardowa strzałka w dół */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
}

.year-select-container .select-selected:hover {
    border-color: #9ca3af;
}

/* Efekt gdy lista jest rozwinięta */
.year-select-container .select-arrow-active {
    border-color: #3b82f6;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    /* Obrócenie strzałki */
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 15l7-7 7 7'%3E%3C/path%3E%3C/svg%3E");
}

/* --- Rozwinięta lista opcji (Z MAX HEIGHT 250px) --- */
.year-select-container .select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background-color: #ffffff;
    max-height: 250px; /* <--- Ograniczenie wysokości */
    overflow-y: auto;  /* <--- Włączenie scrollowania */
    border: 1px solid #3b82f6;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Klasa ukrywająca (Twój JS dodaje klasę .select-hide) */
.year-select-container .select-hide {
    display: none;
}

/* --- Pojedynczy rocznik na liście --- */
.year-select-container .select-items div {
    padding: 10px 16px;
    font-size: 15px;
    color: #374151;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6; /* <--- Linie oddzielające */
    transition: background-color 0.1s ease;
}

/* Usuwamy linię pod ostatnim rocznikiem */
.year-select-container .select-items div:last-child {
    border-bottom: none;
}

/* Najechanie na rocznik oraz aktywny rocznik */
.year-select-container .select-items div:hover,
.year-select-container .same-as-selected {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 500;
}

/* --- CUSTOMOWY WĄSKI SCROLLBAR --- */
.year-select-container .select-items::-webkit-scrollbar {
    width: 6px;
}

.year-select-container .select-items::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 0 0 8px 0;
}

.year-select-container .select-items::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.year-select-container .select-items::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}


        .filter-btn-group { display: flex; flex-wrap: wrap; gap: 5px; }
.filter-btn {
    cursor: pointer;
    font-weight: 400 !important;
    border: 1px solid #E6EDF6;
    font-size: 13px;
    color: #5a6a7e;
    padding: 6px 12px;
    border-radius: 8px;
    align-items: center;
    transition: all .3s;
    text-decoration: none;
    background-color: #ffffff;
    display: inline-flex;
    gap: 8px;
    max-height: 29px;
}


        .filter-btn.active { border-color: #008fff1a; color: #0082ffc9; background-color: #0082ff12; }
        .color-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; }
        .form-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
        .btn { padding: 8px; border-radius: 4px; font-size: 13px; font-weight: 400; text-align: center; cursor: pointer; border: none; transition: all 0.2s; text-decoration: none; display: inline-block; }
        .btn:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
        .btn-primary { background-color: var(--accent-color); color: white; }
        .btn-primary:hover { background-color: var(--accent-color-dark); color: white; }
        .btn-secondary { background-color: #e9ecef00; color: #556a7fe8; border: 1px solid #dee2e6a3; }

        .btn-secondary::hover {
          background-color: #0d6efd;
          color: white;
        }
        .btn-success { background-color: var(--success-color); color: white; }
        .btn-success:hover { background-color: var(--success-color-dark); color: white; }
.active-filters-bar {
    background-color: #fff;
    padding: 14px 6px 14px 10px;
    border-radius: 6px 6px 0px 0px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.06);
    display: flex !important;
    align-items: center;
    gap: 1rem;
    min-height: 62px;
    margin-bottom: 1px;
    z-index: 4;
}
        .filter-btn:hover {
          background-color: #0d6efd;
          color: white;
        }
        .active-filters-bar-title { font-weight: 600; font-size: 0.9rem; color: var(--primary-color); white-space: nowrap; }
        .active-filters-container { display: flex; gap: 0.5rem; flex-wrap: wrap; flex-grow: 1; min-width: 0; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--border-color) var(--light-bg); flex-direction: row; }
        .active-filters-container::-webkit-scrollbar { height: 6px; }
        .active-filters-container::-webkit-scrollbar-track { background: var(--light-bg); }
        .active-filters-container::-webkit-scrollbar-thumb { background-color: var(--border-color); border-radius: 3px; }
        .sort-options { margin-right: auto; }
        .filter-tag {
            background: #eeecec;
            color: #404f5d;
            border: 1px solid #d8d8d894;
            padding: 0px 10px;
            border-radius: 20px;
            font-size: 12px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .remove-filter {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            margin: 0;
            font-size: 19px;
            line-height: 1;
            color: #35434f;
            transition: color 0.2s;
        }
        .remove-filter:hover { color: var(--danger-color); }
        .results-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; flex-wrap: wrap; gap: 6px; }
        .results-count { font-weight: 600; }
        .sort-options { display: flex; align-items: center; gap: 0.5rem; }
        .sort-options label { font-weight: 500; font-size: 0.9rem; }
        .sort-options .custom-select { width: 122px; }
        .sort-options .select-selected { padding: 0.5rem 0.75rem; }
        .sort-options .select-items div { padding: 0.5rem 0.75rem; }
        .listings-container { display: flex; flex-direction: column; gap: 0px; }
        .car-offer { background-color: #fff; border-bottom: 2px solid var(--border-color); display: grid; grid-template-columns: 256px 1fr 230px; padding: 10px; padding-bottom: 25px; padding-top: 25px; }
        .offer-image-section { position: relative; border-radius: 10px 0px 0px 10px; overflow: hidden; height: 190px; align-self: center; cursor: pointer; background-color: var(--light-bg); }
        .offer-image { top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease-in-out; }
        .image-nav { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.6); color: white; border: none; padding: 0.75rem 0.5rem; cursor: pointer; font-size: 1.5rem; font-weight: bold; line-height: 1; z-index: 3; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; border-radius: 4px; }
        .image-nav.prev { left: 0.5rem; }
        .image-nav.next { right: 0.5rem; }
        .offer-image-section:hover .image-nav { opacity: 1; visibility: visible; }
        .image-actions { position: absolute; bottom: 0.5rem; left: 0.5rem; right: 0.5rem; display: flex; gap: 0.5rem; justify-content: flex-start; align-items: center; }
        .image-action-btn { background-color: rgb(0 0 0 / 40%); color: #ffffff; padding: 0.35rem 0.6rem; border-radius: 4px; font-size: 13px; display: flex; align-items: center; gap: 0.3rem; cursor: pointer; border: none; text-decoration: none; z-index: 9; }
        .image-pagination { position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; z-index: 2; max-width: 100%; }
        .image-pagination .dot { width: 4px; height: 4px; background-color: rgba(255, 255, 255, 0.5); border-radius: 2px; transition: background-color 0.3s; }
        .image-pagination .dot.active { background-color: white; }
        .offer-badge { position: absolute; top: 0.75rem; left: -35px; color: white; padding: 0.25rem 2.5rem; font-size: 0.8rem; font-weight: 600; transform: rotate(-45deg); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); text-align: center; z-index: 2; }
        .offer-badge--recommended { background-color: var(--success-color); }
        .offer-badge--consider { background-color: var(--warning-color); }
        .offer-badge--not-recommended { background-color: var(--danger-color); }
        .offer-details-section { display: flex; flex-direction: column; gap: 0px; justify-content: space-between; flex-wrap: wrap; align-items: stretch; padding: 1px 2px 1px 15px; }
        .offer-main-title { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 0.5rem; margin-bottom: 10px; align-content: center; }
        .offer-main-title h3 { font-size: 16px; font-weight: 600; color: #0082ff; margin: 0; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; min-width: 0; max-width: 100%; }
        .offer-main-title h3 a { color: #2896ff; text-decoration: none; transition: color 0.2s ease; }
        .offer-main-title h3 a:hover { color: var(--accent-color-dark); }
        .offer-main-title .vin-data { font-size: 12px; font-weight: 400; color: #8191a6; cursor: pointer; border-bottom: 1px dashed transparent; transition: color 0.2s, border-color 0.2s; }
        .offer-main-title .vin-data:hover { color: var(--accent-color); border-color: var(--accent-color); }
        .offer-specs-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; padding-bottom: 5px; margin-bottom: 10px; justify-content: flex-start; border-radius: 4px; width: fit-content; }
        .spec-tag { display: flex; align-items: center; justify-content: center; padding: 0.25rem 0.6rem; border-radius: 17px; font-size: 12px; color: var(--text-muted); height: 26px; border: 1px solid #dee2e673; background-color: white; position: relative; cursor: help; }
        .spec-tag--circled { width: 26px; height: 26px; border: 1px solid var(--border-color); background-color: white; border-radius: 50%; padding: 0; font-weight: 600; color: var(--text-color); position: relative; cursor: help; }
        [data-tooltip] { position: relative; }
        .offer-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; font-size: 14px; }
        .detail-item { display: flex; flex-direction: column; gap: 2px; cursor: pointer; text-transform: capitalize; font-size: 12px; color: #8090a5; }
        .detail-item-value { display: flex; align-items: center; gap: 3px; color: #2d3a48; font-size: 13px; }
        span.status-ok, span.status-bad, span.status-warn { display: flex; gap: 3px; }
        .status-ok, .maine-color-2, .maine-color-4 { color: var(--success-color); }
        .status-warn { color: var(--warning-color); }
        .maine-color-8 { color: #2899e3; }
        .maine-color-1 { color: #f39c12; }
        .status-bad, .maine-color-5, .maine-color-3 { color: var(--danger-color); }
        .maine-color-9 { color: var(--text-muted); }
        .detail-item-value .bi { font-size: 16px; line-height: 1; flex-shrink: 0; }
        .offer-auction-section { display: flex; flex-direction: column; border-left: 1px solid var(--border-color); padding-left: 20px; }
        .auction-header { display: flex; justify-content: end; align-items: center; margin-bottom: 15px; gap: 10px; }
        .detail-item { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
        .offer-tag-auction { color: white; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.6rem; border-radius: 4px; }
        .auction-tag--iaai { color: white !important; border: none !important; text-transform: uppercase; background-color: rgb(233, 31, 31); padding: 5px 8px; border-radius: 4px; font-weight: 600; font-size: 11px; }
        .auction-tag--copart { color: white !important; border: none !important; text-transform: capitalize; background-color: rgb(14, 90, 192); padding: 5px 8px; border-radius: 3px; font-weight: 600; font-size: 11px; }
        .offer-tag-fav { width: 30px; height: 30px; border: 1px solid var(--border-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; background-color: white; transition: background-color 0.2s, border-color 0.2s; }
        .offer-tag-fav .icon { fill: #adb5bd; transition: fill 0.2s; }
        .offer-tag-fav:hover { background-color: #ffebee; border-color: #ef9a9a; }
        .offer-tag-fav:hover .icon { fill: var(--danger-color); }
        .auction-info-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 4px; font-size: 13px; }
        .auction-info-item .info-item-value { font-weight: 400; color: var(--text-color); }
        .auction-info-item .countdown-value { color: #05ba5f; font-weight: 400; }
        .countdown-value { color: var(--success-color); font-weight: 400; text-align: center; font-size: 12px !important; border-radius: 5px; width: 100%; background-color: #f8f9fa; padding: 4px; }
        .bid-actions-container { display: flex; width: 100%; }
        .bid-box { background-color: var(--light-bg); border-radius: 6px 0px 0px 6px; text-align: center; padding: 6px 5px 6px 5px; width: 100%; margin-bottom: 4px; }
        .bid-label { margin: 0; color: #939ca6; font-weight: 400; font-size: 12px; }
        .bid-value { line-height: 1.2; font-size: 16px; font-weight: 600; color: #33414f; margin: 3px; }
        .reserve-price-info { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 0.25rem; }
        .reserve-price-info.met { color: var(--success-color); font-weight: 500; }
        .reserve-price-info .bi { font-size: 14px; }
        .buy-now-box { border-radius: 0px 6px 6px 0px; }
        .buy-now-box .bid-value { color: #17c93f; }
        .pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap; }
        .pagination a, .pagination span { color: var(--text-color); padding: 0.5rem 0.875rem; text-decoration: none; border-radius: 6px; border: 1px solid var(--border-color); background: white; transition: all 0.2s; }
        .pagination a.active, .pagination a:hover { background-color: var(--accent-color); color: white; border-color: var(--accent-color); }
        .pagination span { border: none; background: none; }
        .pagination a { cursor: pointer; }
        .lightbox, .media-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(13, 33, 55, 0.9); z-index: 9999; display: none; flex-direction: column; justify-content: center; align-items: center; padding: 1rem; backdrop-filter: blur(8px); }
        .lightbox-close, .media-overlay-close { position: absolute; top: 0.5rem; right: 0.5rem; background: none; border: none; color: rgba(255, 255, 255, 0.7); font-size: 26px; cursor: pointer; z-index: 1010; transition: color 0.2s, transform 0.2s; }
        .lightbox-close:hover, .media-overlay-close:hover { color: white; transform: rotate(90deg); }
        .lightbox-content { width: 100%; height: calc(100% - 100px); display: flex; justify-content: space-between; align-items: center; gap: 1rem; position: relative; }
        .lightbox-image-wrapper { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden; }
        .lightbox-header { position: absolute; top: 0; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem; color: white; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent); z-index: 1; }
        .lightbox-counter { font-size: 14px; }
        .lightbox-tools { display: flex; gap: 1rem; }
.lightbox-tool {
    color: #ffffffb3;
    text-decoration: none;
    font-size: 20px;
    margin-right: 5px;
}


        .lightbox-tool .bi { transition: transform 0.2s; }
        .lightbox-tool:hover .bi { transform: scale(1.1); }
        .lightbox-image { position: absolute; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; transition: transform 0.2s ease-in-out; }
        .lightbox-nav { background: rgba(0, 0, 0, 0.4); width: 50px; display: flex; justify-content: center; align-items: center; transition: background-color 0.2s, border-color 0.2s; flex-shrink: 0; background-color: rgba(0, 0, 0, 0.6); color: #fff; border: none; padding: 12px 18px; border-radius: 6px; cursor: pointer; font-size: 28px; z-index: 10001; }
        .lightbox-nav:hover { background: rgba(0, 0, 0, 0.6); border-color: rgba(255, 255, 255, 0.4); }
        .lightbox-thumbnails {
            width: 100%;
            max-width: 90vw;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 0.5rem;
            padding: 0.5rem;
            overflow-x: auto;
            min-height: 110px;
        }
        .lightbox-thumb { width: 100px; height: 65px; object-fit: cover; border-radius: 4px; cursor: pointer; border: 2px solid transparent; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s; flex-shrink: 0; }
        .lightbox-thumb-wrapper:hover .lightbox-thumb { opacity: 1; }
        .lightbox-thumb-wrapper.active { border-color: var(--accent-color); }
        .lightbox-thumb-wrapper.active .lightbox-thumb { opacity: 1; }
        .media-content { position: relative; width: 90vw; height: 85vh; max-width: 1200px; max-height: 800px; }
        .media-content video, .media-content iframe { width: 100%; height: 100%; border: none; border-radius: var(--border-radius); }
        .copy-toast { position: fixed; bottom: 20px; left: 20px; background-color: var(--primary-color); color: white; padding: 12px 20px; border-radius: 6px; font-size: 0.9rem; z-index: 2000; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; }
        .copy-toast.show { opacity: 1; visibility: visible; transform: translateY(0); }
        .my_new_3 { border: 1px solid #e4e4e487; font-size: 13px; color: #84878b; padding: 1px 10px; gap: 10px; transition: all .3s; cursor: pointer; display: inline-flex; align-items: center; z-index: 3; border-radius: 4px; opacity: 1; }
	.my_new_3:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
        .favoriteHeart { height: 23px; }
        .custom-select .select-selected {
    border: 1px solid #E6EDF6;
    padding: 16px 14px;
    display: flex;
    width: auto;
    align-items: center;
    border-radius: 6px;
    font-size: 13px;
    color: #3f4245;
    transition: all .3s;
    position: relative;
    background: transparent;
    left: auto;
    top: auto;
    line-height: 24px;
    font-weight: 400;
    gap: 10px;
    margin: 0;
    max-height: 30px;
}
        .custom-select .select-selected:hover { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); }
        .spec-tag[data-tooltip="Napęd na przednie koła"], .spec-tag[data-tooltip="Napęd na tylne koła"], .spec-tag[data-tooltip="Napęd na wszystkie koła"] { font-weight: 900; font-size: 10px; color: #344c5fc7; }
        .lightbox-footter { position: absolute; left: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px; color: white; background: linear-gradient(357deg, #06080a4a, #00000000); z-index: 1; bottom: 0; }
        .offer-new { display: inline-flex; align-self: center; gap: 3px; }
        .page-section { background-color: #fff; padding: 2.5rem 2rem; margin-bottom: 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow); }
        .section-title { margin-top: 0; margin-bottom: 2.5rem; font-size: 17px; font-weight: 700; color: var(--primary-color); text-align: center; }
        .section-subtitle { text-align: center; margin-top: 0; margin-bottom: 2rem; font-size: 1rem; color: var(--text-muted); }
        .blog-preview-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
        .blog-post-card { border: 1px solid var(--border-color); border-radius: var(--border-radius); overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; }
        .blog-post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
        .blog-post-card img { width: 100%; height: 200px; object-fit: cover; }
        .blog-post-content { padding: 1rem; }
        .blog-post-content h4 { margin-top: 0; color: var(--secondary-color); }
        .blog-post-content p { font-size: 0.9rem; color: var(--text-muted); }
        .blog-post-content a { text-decoration: none; color: var(--accent-color); font-weight: 600; }
        .main-footer { background-color: var(--primary-color); color: #fff; padding: 3rem 2rem; margin-top: 2rem; }
        .footer-container { max-width: 1450px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
        .footer-column h4 { color: #fff; margin-top: 0; margin-bottom: 1rem; border-bottom: 2px solid var(--accent-color); padding-bottom: 0.5rem; display: inline-block; }
        .footer-column ul { list-style: none; padding: 0; margin: 0; }
        .footer-column li { margin-bottom: 0.75rem; }
        .footer-column a { color: #e9ecef; text-decoration: none; transition: color 0.2s; }
        .footer-column a:hover { color: var(--accent-color); }
        .social-links a { font-size: 1.5rem; margin-right: 1rem; }
        .footer-bottom { text-align: center; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--secondary-color); font-size: 0.9rem; color: #adb5bd; }
        #landing-page-ppc-example { display: none; text-align: center; }
        .auction-date-on-thumb { top: 0; color: #000000; border-bottom: 1px solid rgba(0, 0, 0, 0.05); position: absolute; z-index: 9; transform: translateX(-50%); background: #fbfbfb; font-size: 12px; padding: 0px 7px 0px 7px; left: 50%; width: 100%; max-width: 180px; text-align: center; display: flex; justify-content: center; border-radius: 0 0 6px 6px; opacity: 0.85; }
        .btn-toggle-filters, .filters-close-btn { display: none; }
        .filters-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; }
        body.filters-open .filters-overlay { opacity: 1; visibility: visible; }
        .auction-future { color: #ec9710 !important; }
        .auction-ended { text-align: center; font-size: 13px !important; border-radius: 5px; width: 100%; background-color: #ff878412; color: #ee0000 !important; padding: 4px; }
        .auction-in-progress { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; font-size: 13px !important; border-radius: 5px; width: 100%; background-color: #84ff9e21; color: #0bc535 !important; padding: 4px; }
        .auction-in-progress::before { content: ''; width: 7px; height: 7px; background: #05d85a; border-radius: 100px; box-shadow: 0 0 0 0 #00cd53; transform: scale(1); animation: pulse 1s infinite; }
        @keyframes pulse { 0% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.7; } }
        .offer-skeleton { background-color: #fff; border-bottom: 2px solid var(--border-color); display: grid; grid-template-columns: 256px 1fr 230px; padding: 10px; padding-bottom: 25px; padding-top: 25px; }
        .skeleton { position: relative; overflow: hidden; background-color: #e9ecef; border-radius: var(--border-radius); }
        .skeleton::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-100%); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.5) 60%, rgba(255, 255, 255, 0)); animation: shimmer 1.8s infinite; }
        @keyframes shimmer { 100% { transform: translateX(100%); } }
        .skeleton-image { height: 190px; width: 100%; }
        .skeleton-line { height: 14px; margin-bottom: 8px; }
        .skeleton-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 20px; }
        .offer-skeleton .offer-details-section { padding: 0 0 0 15px; }
        .offer-skeleton .offer-auction-section { padding-left: 20px; border-left: 1px solid var(--border-color); }
        .dynamic-tooltip { position: fixed; background-color: #334559; color: white; padding: 0.4rem 0.8rem; border-radius: 3px; font-size: 12px; white-space: normal; max-width: 200px; z-index: 10000; opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s; pointer-events: none; font-weight: 400 !important; font-family: system-ui; backdrop-filter: blur(5px); }
        .dynamic-tooltip::after { content: ''; position: absolute; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; }
        .dynamic-tooltip.tooltip-on-top::after { top: 100%; border-color: #334559 transparent transparent transparent; }
        .dynamic-tooltip.tooltip-on-bottom::after { bottom: 100%; border-color: transparent transparent #334559 transparent; }
        .dynamic-tooltip.visible { opacity: 1; visibility: visible; }
        .key-status-icon { position: absolute; top: 0px; right: 0px; z-index: 3; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 4px; }
        .key-missing img { filter: invert(28%) sepia(188%) saturate(4651%) hue-rotate(18deg) brightness(100%) contrast(203%); }
        .key-status-icon img { width: 100%; height: 100%; }
        @media (max-width: 1259px) {
            .page-layout { grid-template-columns: 1fr; }
            .filters-panel { position: fixed; top: 0; left: 0; max-width: 550px; height: 100%; z-index: 9999; transform: translateX(-100%); transition: transform 0.3s ease-in-out; overflow-y: auto; border-radius: 0 var(--border-radius) var(--border-radius) 0; }
            .filters-panel.is-open { transform: translateX(0); }
.btn-toggle-filters {
        display: inline-flex;
        width: 100%;
        background: #ffffff;
        border-radius: 0px;
        color: #696e71;
        padding: 14px 10px;
        text-align: center;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 14px;
        border: navajowhite;
        transition: all .3s;
        text-transform: capitalize;
        margin-bottom: 0px;
        box-shadow: none;
        z-index: 3;
    }
.filters-bar-nev {
    background-color: #e9ecefba;
}
    .results-toolbar {
        margin-bottom: 1px;
        display: flex !important;
        flex-direction: row;
        align-items: stretch;
        flex-wrap: nowrap;
        justify-content: flex-end;
        margin-top: 1px;
    }

            .filters-header { display: flex; justify-content: space-between; align-items: center; }
            .filters-close-btn { display: block; background: none; border: none; line-height: 1; cursor: pointer; color: var(--text-muted); padding: 0; transition: color 0.2s; }
            .filters-close-btn:hover { color: var(--text-color); }
            .car-offer { grid-template-columns: 256px 1fr 220px; }
        }
        @media (max-width: 991px) {
            .offer-image-section, .skeleton-image { width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 190px; }
            .offer-image-section { border-radius: 6px !important; }
            .test_1 { margin-top: 30px; }
            .hero-header { justify-content: center; }
            my-nextcar-topbar { height: 210px; }
            .skeleton-image { height: auto; aspect-ratio: 4/3; }
            .offer-skeleton .offer-details-section, .offer-skeleton .offer-auction-section { padding: 1rem; }
            .offer-skeleton .offer-auction-section { border-left: none; border-top: 1px solid var(--border-color); }
        }
        @media (max-width: 991px) {
    aside#filters-panel {
        border-radius: 0px !important;
        padding: 26px;
    }
            .main-header { flex-direction: column; gap: 1rem; }
            .listings-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; background: white; }
            .image-nav { opacity: 0.5; visibility: inherit; }
            .car-offer { display: flex; flex-direction: column; height: 100%; padding: 15px; gap: 0; overflow: hidden; }
            .detail-item-label { font-size: 11px; }
            .offer-details-grid { font-size: 13px; gap: 10px; }
            .spec-tag { font-size: 10px; }
            .offer-main-title .vin-data { font-size: 13px; }
            .offer-details-section, .offer-auction-section { padding: 1rem 0rem; }
            .offer-details-section { flex-grow: 1; }
            .offer-main-title h3 { margin-bottom: 15px; }
            .offer-auction-section { border-left: none; border-top: 1px solid var(--border-color); }
            .offer-new { margin-bottom: 2px; }
        }
        @media (max-width: 768px) {
            .lightbox-content { height: calc(100% - 80px); }
            .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); }
            .lightbox-prev { left: 0.5rem; }
            .lightbox-next { right: 0.5rem; }
            .lightbox-thumbnails { height: 60px; }
            .lightbox-thumb { width: 80px; height: 55px; }
            .sort-options { display: none; }
        }
        @media (max-width: 745px) {
            .container { padding: 6px 16px 16px 16px; }
            .main-header, .filters-panel { padding: 1rem; }
            .offer-details-grid { grid-template-columns: repeat(2, 1fr); }
            .offer-main-title h3 { font-size: 17px; }
            .offer-specs-tags { display: flex; white-space: nowrap; width: 100%; justify-content: space-between;flex-wrap: nowrap; }
            .detail-item--seller { grid-row: 2; grid-column: 2; }
            .detail-item--location { grid-row: 1; grid-column: 2; }
            .spec-tag.spec-tag--circled {min-width: 26px;}
            .filters-panel { max-height: calc(100vh - 0px); }
        }
        @media (max-width: 550px) {
            .listings-container { grid-template-columns: 1fr; }
            .my_display { display: none !important; }
            .offer-new { margin-right: 40px; }
            img.favoriteHeart { height: 20px; }
            .offer-specs-tags { gap: 3px; }
            span.favoriteText { display: none !important; }
            .offer-main-title { position: relative; }
            .offer-main-title .auction-header { position: absolute; right: 0; top: 0; display: flex; flex-direction: column-reverse; align-items: flex-end; }
            .offer-main-title .favoriteText { display: inline; }
            .my_new_3 { padding: 1px 6px; }
            .auction-tag--copart, .auction-tag--iaai { font-size: 10px; }
        }
        .lightbox-thumb-wrapper {flex-shrink: 0; overflow: hidden; border-radius: 4px; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
        #cookieConsent { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.8); color: #fff; padding: 20px; text-align: center; z-index: 999999; display: none; }
        #cookieConsent a { text-decoration: underline; color: var(--nc-text-light); }
        #cookieConsent button { margin-left: 20px; background: #ffc107; border: none; padding: 8px 15px; border-radius: 4px; cursor: pointer; transition: background 0.3s; }
        #cookieConsent button:hover { background: #ffb300; }
        .bidding-status-box { text-align: center; font-size: 13px !important; border-radius: 5px; width: 100%; padding: 8px; }
        .bidding-open { background-color: #84ff9e21; color: #0bc535 !important; }
        .bidding-soon { background-color: #e9ecef; color: #5a6268 !important; }
        .bidding-closed { background-color: #d6dde330; color: #c0c5c8 !important; margin-top: 3px; }
        .search-input-group { display: flex; align-items: center; }
        .search-input-group input { flex-grow: 1; cursor: pointer; font-weight: 400 !important; border: 1px solid #dcdcdc; font-size: 13px; color: #7F8FA4; padding: 11px 12px 11px 12px; border-radius: 6px 0px 0px 6px; align-items: center; transition: all .3s; text-decoration: none; background-color: #ffffff; border-right: none; outline: none; }
        .search-input-group button {
            padding: 12px 12px 11px 12px;
            border: 1px solid var(--border-color);
            background-color: #f8f9fa;
            cursor: pointer;
            border-top-right-radius: 6px;
            border-bottom-right-radius: 6px;
            transition: background-color 0.2s, border-color 0.2s;
            line-height: 1;
        }
        .search-input-group button:hover { background-color: #e9ecef; border-color: #ced4da; }
        .search-input-group input:focus-visible + button { border-color: var(--accent-color); }
        .hero-header {
            color: #696e71;
            background-color: #fff;
            padding: 5px 5px 5px 15px;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            align-items: center;
            gap: 1rem;
            min-height: 40px;
            max-width: 1368px;
            margin: 0px 16px 0px 16px;
            justify-content: space-between;
            margin-bottom: 0px;
        }
        .btn-toggle-filters:hover {
            background-color: #f9f9f9;
            color: #333333;
            border-color: #e6c288;
            cursor: pointer;
        }
        .header-content {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: space-between;
            flex-direction: row;
            align-items: center;
        }
        .header-content h1 {
            text-transform: uppercase;
            font-size: 13px;
            font-weight: 400;
        }
        .test_1 { text-align: -webkit-center; }
        .car-offer.is-future-offer { position: relative; }
        .car-offer.is-future-offer > section { opacity: 0.2; transition: opacity 0.3s ease; }
        .future-offer-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
            pointer-events: none;
            padding: 20px;
            box-sizing: border-box;
            text-align: center;
        }
        .future-offer-overlay p {
            color: #333333;
            font-size: 13px;
            background-color: rgba(224, 224, 224, 0.75);
            padding: 15px 20px;
            border-radius: 8px;
            margin: 0;
            line-height: 1.5;
            text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
            pointer-events: auto; 
        }
        .iaai {
            color: white !important;
            border: none !important;
            text-transform: uppercase;
            background-color: rgb(233, 31, 31);
            padding: 5px 8px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 11px;
        }
        .copart {
            color: white !important;
            border: none !important;
            text-transform: capitalize;
            background-color: rgb(14, 90, 192);
            padding: 5px 8px;
            border-radius: 3px;
            font-weight: 600;
            font-size: 11px;
        }
        .iaai:hover { background-color: #e30000; }
        .copart:hover { background-color: #114488; }
        .iaai.active {
            background-color: #b30000 !important;
            color: white !important;
            border-color: #b30000 !important;
        }
        .copart.active {
            background-color: #003366 !important;
            color: white !important;
            border-color: #003366 !important;
        }
        img.my_191 { max-width: 64px; }
        button#manheim-btn {
            background: linear-gradient(196deg, #e74c3c38, #f39c12);
            border-radius: 4px;
            border: 1px solid #ffe1b9;
        }
        button#manheim-btn:hover { background: #ffa429; }
        .btn-change-make:hover { background: #bae0ff; }
        a.btn.btn-primary.psa-secondary.psa-new-ver-buttons {
            border: 1px solid #E6EDF6;
            padding: 11px 14px;
            display: flex;
            width: auto;
            align-items: center;
            border-radius: 6px;
            font-size: 13px;
            color: #3f4245;
            transition: all .3s;
            position: relative;
            background: transparent;
            left: auto;
            top: auto;
            line-height: 24px;
            font-weight: 400;
            gap: 10px;
            margin: 0;
            max-height: 30px;
        }
        .my_912 { max-height: 17px; opacity: 0.7; }
        .my_912:hover { max-height: 17px; opacity: 1; }
        .selected-make-header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 12px;
            background-color: #e3f2fd;
            border-radius: 6px;
            color: #0e79da;
            font-weight: 500;
            font-size: 13px;
            margin-bottom: 15px;
            border: 1px solid #bbdefb;
        }
        .btn-change-make {
            background: #fff;
            border: 1px solid #bbdefb;
            color: #0e79da;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 11px;
            cursor: pointer;
            transition: 0.2s;
        }
        #damage-visual-tooltip {
            position: fixed;
            background-color: #ffffff;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            z-index: 10001;
            pointer-events: none;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s, visibility 0.2s;
            min-width: 160px;
            text-align: center;
        }
        #damage-visual-tooltip.visible { opacity: 1; visibility: visible; }
        #damage-visual-tooltip h4 {
            margin: 0 0 5px 0;
            font-size: 11px;
            text-transform: uppercase;
            color: #6c757d;
            border-bottom: 1px solid #f0f0f0;
            padding-bottom: 3px;
        }
        .detail-item--damage { cursor: help !important; position: relative; }
        .my-nev-29 { height: 4px !important; }
        @media (max-width: 1259px) {

.active-filters-bar {
    border-radius: 0px;
    min-height: 50px;
}
    .results-toolbar {
        gap: 1px;

    }
.hero-header {

    border-radius: 6px 6px 0px 0px;

}
.filters-bar-nev {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 0px;
}
            .pill_buttons { display: none; }
        }
        img.icon { opacity: 0.55; }
        .buy-now-checkbox { display: none; }
        .buy-now-wrapper {
            display: flex;
            justify_content: flex-start;
            width: 100%;
        }
        .buy-now-button {
            display: flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            padding: 8px 15px;
            border: 1px solid #dee2e691;
            border-radius: 8px;
            background-color: #fff;
            transition: all 0.2s ease;
            min-width: 140px;
            width: 100%;
            user-select: none;
        }
        .bn-icon {
    font-size: 18px;
    color: #00a8ff;
    transition: color 0.2s;
}
        .bn-text {
            display: flex;
            line-height: 1.2;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }
        .bn-title { font-size: 14px; color: #343a40; }
        .bn-count { font-size: 11px; color: #6c757d; }
        .buy-now-button:hover { border-color: #ced4da; background-color: #f8f9fa; }
        .buy-now-checkbox:checked + .buy-now-button { border-color: #41e49926; background-color: #e8f5e9; }
        .buy-now-checkbox:checked + .buy-now-button .bn-icon { color: #198754; }
        .buy-now-checkbox:checked + .buy-now-button .bn-title { color: #198754; }
.my-1991 {
    font-size: 13px;
    padding: 0px 0px 4px 0px;
}
img.my_962 {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}
.filters-bar-nev {
    display: flex;
    flex-direction: column-reverse;
    margin-top: -6px;
}
#category_description {
    margin-top: 1rem;
}
#category_description h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 17px;
    font-weight: 700;
    color: #0d2137;
}
#category_description p {
    font-size: 0.9rem;
    color: #5a6268;
    margin-top: 0;
    margin-bottom: 1rem;
}
#category_description :last-child {
    margin-bottom: 0;
}
@media (max-width: 745px) {
    #category_description {
        padding: 1.5rem 1rem;
    }
        .btn-open-offers {
    display: none !important;

  }
.sort-options .custom-select {
    display: none !important;
}

}
.offer-main-title h3 a:hover {
    text-decoration: underline;
}
button.btn.btn-secondary {
    width: 100%;
}

/* --- KONTENER GŁÓWNY --- */
.root-OppAp._IH14-dollarsAnimation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 5;
    border-radius: inherit;
    perspective: 800px;
}

/* --- STYLIZACJA MONETY (ZŁOTA) --- */
.icon-T0KPI {
    /* Złoty gradient */
    background: radial-gradient(circle at 35% 35%, rgba(255, 215, 0, 0.95), rgba(184, 134, 11, 0.85));
    border: 1px solid rgba(255, 223, 0, 0.8);
    box-shadow: 
        0 4px 10px rgba(0, 0, 0, 0.3), 
        inset 0 0 8px rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    will-change: transform, opacity;
    display: none; 
}

.icon-T0KPI::after {
    content: '$';
    text-shadow: 0 1px 2px rgba(139, 69, 19, 0.4);
    display: block;
    line-height: 1;
}

/* --- KONFIGURACJA ANIMACJI --- */
.root-OppAp._IH14-dollarsAnimation .icon-T0KPI:nth-child(1) {
    display: flex; 
    position: absolute;
    right: 20px !important;
    bottom: 20px !important;
    left: auto !important;
    top: auto !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 26px !important;
    opacity: 0;
    transform-style: preserve-3d;
    backface-visibility: visible;

    /* ZMIANA: Czas skrócony do 3.5s, bo usunęliśmy "pusty przebieg" w klatkach */
    animation: singleCoinPop3D 2.2s ease-in-out infinite !important;
    animation-delay: 0s !important;
}

/* --- NOWA ANIMACJA (Bez długiej przerwy) --- */
@keyframes singleCoinPop3D {
    /* FAZA 1: Start */
    0% {
        opacity: 0;
        transform: translateY(120%) rotateY(0deg) scale(0.5);
    }
    
    /* FAZA 2: Wyskoczenie (szybciej, bo w 15% czasu) */
    15% {
        opacity: 1;
        transform: translateY(0) rotateY(0deg) scale(1);
    }
    
    /* Krótka chwilka w miejscu */
    20% {
        transform: translateY(0) rotateY(0deg) scale(1);
    }

    /* FAZA 3: Obrót */
    60% {
        transform: translateY(0) rotateY(360deg) scale(1.1); 
    }
    
    75% {
        transform: translateY(0) rotateY(360deg) scale(1);
    }

    /* FAZA 4: Chowanie się (dopiero w 90%!) */
    90% {
        opacity: 0;
        transform: translateY(120%) rotateY(360deg) scale(0.5);
    }

    /* FAZA 5: Bardzo krótka przerwa (tylko 10% czasu) */
    100% {
        opacity: 0;
        transform: translateY(120%);
    }
}
.offer-image-section .sold-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Dodajemy rotate(-12deg) do istniejącego transform */
    transform: translate(-50%, -50%) rotate(-6deg);
    z-index: 11;
    border: 1px solid #ff1a1a;
    background-color: rgba(255, 255, 255, 0.85);
    color: #dc3545;
    font-weight: 900;
    font-size: 28px;
    padding: 10px 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

.car-offer.offer-ended {
    opacity: 0.75;
    filter: grayscale(30%);
    transition: all 0.3s ease;
    background-color: #f0f2f5;
}

.car-offer.offer-ended .sold-overlay {
    opacity: 1 !important;
    filter: grayscale(0%) !important;
}
/* Definicja pulsowania TŁA */
/* Definicja pulsowania TŁA - Wersja Super Ultra Delikatna */
@keyframes pulseWholeBackground {
    0%, 100% {
        /* Czysta biel */
        background-color: #ffffff;
    }
    50% {
        /* Ekstremalnie jasny, ledwo wyczuwalny odcień zieleni */
        /* Różnica jest minimalna, więc nie będzie męczyć oczu */
        background-color: #ffffff;
    }
}

.car-offer.is-live-auction {
    position: relative;
    z-index: 5;
    border-radius: 4px;

    /* --- RESET WSZYSTKIEGO --- */
    /* Usuwamy border, outline i cienie, o które prosiłeś */
    outline: none !important;
    box-shadow: none !important; 
    /* Jeśli chcesz, by karta miała standardowy cień (jak inne), 
       możesz usunąć powyższą linię 'box-shadow: none' */

    /* --- ANIMACJA --- */
    /* 1s to wolne, spokojne tempo (profesjonalne) */
    animation: pulseWholeBackground 1s infinite ease-in-out;
}


.lightbox-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.lightbox-slider-track .lightbox-image {
    position: relative !important; /* KLUCZOWE: Nadpisuje position: absolute z wyższej partii kodu */
    top: auto !important;
    left: auto !important;
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    transform: none !important;
    transition: none !important; /* Wyłączamy transition dla samego zdjęcia, bo animujemy cały kontener (.lightbox-slider-track) */
}
.lightbox-image-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #0e79da; /* Twój accent color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    z-index: 2;
}
.lightbox-image-wrapper.is-loading::after {
    opacity: 1;
    visibility: visible;
}
.fancybox__content {
    background: #00000000 !important;
}
.image-action-btn:hover {
    background-color: #000000cf;

}
                        .btn-open-offers {
    border: 1px solid #E6EDF6;
    padding: 11px 14px;
    display: flex;
    width: auto;
    align-items: center;
    border-radius: 6px;
    font-size: 13px;
    color: #55595d;
    transition: all .3s;
    position: relative;
    background: transparent;
    left: auto;
    top: auto;
    line-height: 24px;
    font-weight: 400;
    gap: 10px;
    margin: 0;
    max-height: 34px;
    cursor: pointer;
}


                        .btn-open-offers.active {
                            background: #e8f5e9; border-color: #2ecc71; font-weight: bold;
                        }
                        .btn-open-offers .status-dot {
                            width: 10px; height: 10px; border-radius: 50%; background-color: #2ecc71;
                        }