/* Got Used Parts automotive catalog and guided listing workflow — Pass 2 */
:root {
    --gup2-blue: #168cff;
    --gup2-cyan: #36d8ff;
    --gup2-ink: #08111f;
    --gup2-panel: #101b2d;
    --gup2-panel-soft: #17243a;
    --gup2-line: rgba(104, 171, 255, .22);
    --gup2-text: #edf7ff;
    --gup2-muted: #a8bdd4;
}

.gup-body .gup2-seller-hero {
    background:
        radial-gradient(circle at 80% 10%, rgba(34, 174, 255, .28), transparent 32%),
        linear-gradient(135deg, #07111f, #101d31 58%, #07284a);
    border-bottom: 1px solid var(--gup2-line);
}

.gup-body .gup2-seller-hero p,
.gup-body .gup2-seller-hero aside,
.gup-body .gup2-seller-hero span {
    color: var(--gup2-text);
}

.gup-body .gup2-seller-hero h1 {
    background: linear-gradient(90deg, #ffffff 0%, #dff8ff 32%, #68d8ff 68%, #2b96ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 24px rgba(22, 140, 255, .08);
}


.gup-body .gup2-form-page {
    background: linear-gradient(180deg, #07101d, #0c1727 55%, #08111e);
}

.gup-body .gup2-form-card {
    border: 1px solid var(--gup2-line);
    background: linear-gradient(145deg, rgba(16, 28, 47, .98), rgba(9, 18, 32, .98));
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28), 0 0 22px rgba(22, 140, 255, .06);
}


.gup-body .gup2-form-card header b {
    background: linear-gradient(135deg, var(--gup2-blue), var(--gup2-cyan));
    color: #02111f;
}

.gup-body .gup2-form-card h2,
.gup-body .gup2-form-card label > span,
.gup-body .gup2-form-card label > strong,
.gup-body .gup2-form-card h3 {
    color: var(--gup2-text);
}

.gup-body .gup2-form-card header p,
.gup-body .gup2-form-card small,
.gup-body .gup2-form-card .gup2-field-explainer span {
    color: var(--gup2-muted);
}

.gup-body .gup2-form-card input,
.gup-body .gup2-form-card select,
.gup-body .gup2-form-card textarea {
    border-color: rgba(116, 173, 235, .25);
    background: #07111f;
    color: #f2f9ff;
}

.gup-body .gup2-form-card input:focus,
.gup-body .gup2-form-card select:focus,
.gup-body .gup2-form-card textarea:focus {
    border-color: var(--gup2-cyan);
    box-shadow: 0 0 0 3px rgba(54, 216, 255, .14);
}

.gup2-fitment-scope {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 18px;
}

.gup2-fitment-scope label {
    position: relative;
    display: block;
    min-height: 106px;
    border: 1px solid var(--gup2-line);
    border-radius: 14px;
    background: rgba(7, 17, 31, .76);
    cursor: pointer;
    overflow: hidden;
}

.gup2-fitment-scope input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gup2-fitment-scope label > span {
    display: grid;
    gap: 9px;
    height: 100%;
    padding: 18px;
    border: 1px solid transparent;
    border-radius: inherit;
}

.gup2-fitment-scope input:checked + span {
    border-color: var(--gup2-cyan);
    background: linear-gradient(145deg, rgba(17, 130, 255, .2), rgba(54, 216, 255, .07));
    box-shadow: inset 0 0 0 1px rgba(54, 216, 255, .16);
}

.gup2-fitment-scope strong {
    color: var(--gup2-text);
    font-size: 15px;
}

.gup2-fitment-scope small {
    color: var(--gup2-muted);
    line-height: 1.45;
}

.gup2-fitment-builder[hidden],
.gup2-delivery-panel[hidden] {
    display: none !important;
}

.gup2-fitment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 9px 0 9px;
}

.gup2-fitment-heading > div {
    display: grid;
    gap: 9px;
}

.gup2-fitment-heading strong {
    color: var(--gup2-text);
    font-size: 17px;
}

.gup2-fitment-heading span {
    color: var(--gup2-muted);
    font-size: 13px;
}

.gup2-fitment-heading button,
.gup2-fitment-row-head button {
    border: 1px solid rgba(54, 216, 255, .42);
    border-radius: 10px;
    background: rgba(17, 130, 255, .14);
    color: #dff8ff;
    font-weight: 800;
    cursor: pointer;
}

.gup2-fitment-heading button {
    min-height: 42px;
    padding: 0 18px;
}

.gup2-fitment-list {
    display: grid;
    gap: 9px;
}

.gup2-fitment-row {
    border: 1px solid rgba(91, 156, 225, .22);
    border-radius: 14px;
    padding: 18px;
    background: rgba(5, 13, 25, .58);
}

.gup2-fitment-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.gup2-fitment-row-head strong {
    color: var(--gup2-cyan);
}

.gup2-fitment-row-head button {
    padding: 9px 9px;
    border-color: rgba(255, 124, 145, .28);
    background: rgba(255, 73, 105, .08);
    color: #ffc2cc;
}

.gup2-fitment-row-head button:disabled {
    opacity: .38;
    cursor: default;
}

.gup2-notes-grid {
    margin-top: 18px;
}

.gup2-fitment-warning {
    border-left: 3px solid var(--gup2-cyan) !important;
}

.gup2-field-explainer {
    display: grid;
    align-content: center;
    gap: 9px;
    min-height: 106px;
    padding: 18px;
    border: 1px solid var(--gup2-line);
    border-radius: 12px;
    background: rgba(5, 14, 26, .66);
}

.gup2-delivery-options {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.gup2-delivery-panel {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--gup2-line);
    border-radius: 14px;
    background: rgba(5, 14, 26, .62);
}

.gup2-delivery-panel h3 {
    margin: 0 0 9px;
    font-size: 16px;
}

/* Public parts search */
.gup2-parts-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 54px;
    border-bottom: 1px solid var(--gup2-line);
    background:
        radial-gradient(circle at 74% 18%, rgba(0, 165, 255, .32), transparent 34%),
        radial-gradient(circle at 18% 84%, rgba(50, 219, 255, .10), transparent 30%),
        linear-gradient(135deg, #050c16, #0d1a2c 58%, #06294c);
    color: var(--gup2-text);
}


.gup2-parts-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(100, 174, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(100, 174, 255, .04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.gup2-parts-hero .gup-shell {
    position: relative;
    z-index: 1;
}

.gup2-parts-hero h1 {
    max-width: 980px;
    margin: 18px 0 12px;
    background: linear-gradient(90deg, #ffffff 0%, #ddf7ff 34%, #5edaff 72%, #3292ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    text-shadow: 0 0 24px rgba(22, 140, 255, .08);
}


.gup2-parts-hero p {
    max-width: 830px;
    margin: 0;
    color: #bbcee1;
    font-size: 17px;
    line-height: 1.7;
}

.gup2-parts-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 27px;
}

.gup2-parts-tabs a {
    padding: 9px 9px;
    border: 1px solid rgba(132, 190, 248, .22);
    border-radius: 999px;
    color: #cae4fa;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.gup2-parts-tabs a.active,
.gup2-parts-tabs a:hover {
    border-color: var(--gup2-cyan);
    background: rgba(54, 216, 255, .11);
    box-shadow: 0 0 20px rgba(22, 140, 255, .10);
    color: #fff;
}


.gup2-parts-page {
    min-height: 680px;
    padding: 36px 0 72px;
    background: linear-gradient(180deg, #07101d, #0b1625);
}

.gup2-parts-filters {
    margin-top: -72px;
    padding: 18px;
    border: 1px solid rgba(104, 171, 255, .24);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(12, 24, 40, .985), rgba(8, 17, 30, .985));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34), 0 0 30px rgba(22, 140, 255, .08);
}


.gup2-filter-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.gup2-filter-heading > div {
    display: grid;
    gap: 9px;
}

.gup2-filter-heading strong {
    color: #eaf7ff;
    font-size: 18px;
    text-shadow: 0 0 18px rgba(50, 219, 255, .08);
}


.gup2-filter-heading span,
.gup2-filter-heading a {
    color: var(--gup2-muted);
    font-size: 13px;
}

.gup2-filter-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(4, minmax(120px, .72fr));
    gap: 9px;
}

.gup2-filter-grid label {
    display: grid;
    gap: 9px;
}

.gup2-filter-grid label > span {
    color: #bdd0e2;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gup2-filter-grid input,
.gup2-filter-grid select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(112, 174, 235, .24);
    border-radius: 10px;
    background: #07111f;
    color: #f3f9ff;
    padding: 0 14px;
    box-shadow: inset 0 1px rgba(255,255,255,.02);
}


.gup2-filter-keyword {
    grid-column: span 2;
}

.gup2-filter-checks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 9px;
}

.gup2-filter-checks label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #cae0f2;
    font-size: 13px;
}

.gup2-filter-checks button {
    min-height: 44px;
    margin-left: auto;
    padding: 0 18px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--gup2-blue), var(--gup2-cyan) 72%, #b96cff);
    color: #031321;
    font-weight: 950;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(22, 140, 255, .22);
}


.gup2-results-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin: 36px 0 18px;
}

.gup2-results-heading h2 {
    margin: 0 0 9px;
    color: #fff;
    font-size: 28px;
    text-shadow: 0 0 18px rgba(50, 219, 255, .08);
}


.gup2-results-heading p {
    margin: 0;
    color: var(--gup2-muted);
}

.gup2-parts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gup2-part-card {
    overflow: hidden;
    border: 1px solid var(--gup2-line);
    border-radius: 17px;
    background: linear-gradient(145deg, #111e31, #0a1422);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .23), 0 0 20px rgba(22, 140, 255, .05);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}


.gup2-part-card:hover {
    transform: translateY(-4px);
    border-color: rgba(54, 216, 255, .48);
    box-shadow: 0 26px 54px rgba(0, 0, 0, .28), 0 0 28px rgba(22, 140, 255, .12);
}


.gup2-part-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #050b13;
}

.gup2-part-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gup2-part-image > span {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 9px 9px;
    border-radius: 8px;
    background: rgba(4, 15, 28, .9);
    color: var(--gup2-cyan);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
}

.gup2-part-body {
    padding: 18px;
}

.gup2-part-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 9px;
}

.gup2-part-tags span,
.gup2-part-facts span {
    border: 1px solid rgba(102, 166, 228, .2);
    border-radius: 999px;
    background: rgba(17, 91, 164, .1);
    color: #bcd8ee;
    font-size: 10px;
    font-weight: 800;
    padding: 9px 9px;
}

.gup2-part-body h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.32;
}

.gup2-part-body h3 a {
    color: #fff;
    text-decoration: none;
}

.gup2-fitment-line {
    min-height: 42px;
    margin: 9px 0;
    color: #b9cee0;
    font-size: 13px;
    line-height: 1.55;
}

.gup2-fitment-line strong {
    color: var(--gup2-cyan);
}

.gup2-part-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    min-height: 28px;
}

.gup2-part-price {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 9px;
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid rgba(115, 174, 232, .16);
}

.gup2-part-price div {
    display: grid;
    gap: 9px;
}

.gup2-part-price small,
.gup2-part-price > span,
.gup2-part-seller {
    color: var(--gup2-muted);
    font-size: 11px;
}

.gup2-part-price strong {
    color: #fff;
    font-size: 24px;
}

.gup2-part-seller {
    margin: 9px 0;
}

.gup2-view-part {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 0 9px;
    border-radius: 10px;
    background: rgba(21, 136, 255, .13);
    color: #dff7ff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.gup2-view-part:hover {
    background: rgba(54, 216, 255, .16);
}

.gup2-empty-parts {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: center;
    gap: 36px;
    padding: 45px;
    border: 1px dashed rgba(98, 171, 237, .28);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(9, 19, 33, .88), rgba(6, 14, 24, .92));
    box-shadow: 0 0 26px rgba(22, 140, 255, .06);
    color: #fff;
}


.gup2-empty-parts img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.gup2-empty-parts span {
    color: var(--gup2-cyan);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 11px;
}

.gup2-empty-parts h2 {
    margin: 9px 0;
    font-size: 30px;
}

.gup2-empty-parts p {
    color: var(--gup2-muted);
    line-height: 1.7;
}

.gup2-empty-parts div > div {
    display: flex;
    gap: 9px;
    margin-top: 18px;
}

/* Detail and seller manager additions */
.gup2-fitment-table-wrap {
    overflow-x: auto;
}

.gup2-fitment-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.gup2-fitment-table th,
.gup2-fitment-table td {
    padding: 9px 9px;
    border-bottom: 1px solid rgba(105, 164, 222, .17);
    text-align: left;
    vertical-align: top;
}

.gup2-fitment-table th {
    color: #8eb8db;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gup2-fitment-table td {
    color: #eaf6ff;
    font-size: 13px;
}

.gup2-compatibility-message {
    display: grid;
    gap: 9px;
    padding: 18px;
    border: 1px solid rgba(54, 216, 255, .25);
    border-radius: 12px;
    background: rgba(54, 216, 255, .06);
}

.gup2-compatibility-message.warning {
    border-color: rgba(255, 190, 72, .3);
    background: rgba(255, 190, 72, .07);
}

.gup2-detail-note {
    color: #d6e8f7;
    line-height: 1.7;
}

.gup2-fitment-disclaimer {
    margin-top: 18px;
    padding: 9px 9px;
    border-left: 3px solid var(--gup2-cyan);
    background: rgba(10, 24, 40, .55);
    color: #aac2d7;
    font-size: 12px;
    line-height: 1.65;
}

.gup2-manager-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.gup2-manager-specs > div {
    display: grid;
    gap: 9px;
    padding: 9px;
    border: 1px solid rgba(91, 155, 220, .18);
    border-radius: 11px;
    background: rgba(7, 16, 28, .55);
}

.gup2-manager-specs span {
    color: #93b0c9;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.gup2-manager-specs strong {
    color: #eef9ff;
    font-size: 13px;
}

.gup2-manager-fitment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 9px;
}

.gup2-manager-fitment-list span {
    padding: 9px 9px;
    border-radius: 999px;
    background: rgba(22, 140, 255, .12);
    color: #cdeaff;
    font-size: 12px;
}

@media (max-width: 1120px) {
    .gup2-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gup2-filter-keyword {
        grid-column: span 2;
    }

    .gup2-delivery-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gup2-fitment-scope,
    .gup2-parts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gup2-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gup2-manager-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .gup2-fitment-scope,
    .gup2-parts-grid,
    .gup2-filter-grid,
    .gup2-delivery-options,
    .gup2-manager-specs {
        grid-template-columns: 1fr;
    }

    .gup2-filter-keyword {
        grid-column: auto;
    }

    .gup2-fitment-heading,
    .gup2-filter-heading,
    .gup2-results-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gup2-filter-checks button {
        width: 100%;
        margin-left: 0;
    }

    .gup2-empty-parts {
        grid-template-columns: 1fr;
        padding: 27px;
        text-align: center;
    }

    .gup2-empty-parts img {
        max-width: 220px;
        margin-inline: auto;
    }

    .gup2-empty-parts div > div {
        display: grid;
    }
}

/* GUP BROWSE FILTER POSITION FIX PASS 7 — 2026-07-20 */
.gup2-parts-hero {
    padding-bottom: 48px;
}

.gup2-parts-page {
    position: relative;
    padding-top: 24px;
}

.gup2-parts-filters {
    position: relative;
    z-index: 2;
    margin-top: 0;
    overflow: visible;
}

.gup2-filter-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(104, 171, 255, .14);
}

@media (max-width: 680px) {
    .gup2-parts-hero {
        padding-bottom: 32px;
    }

    .gup2-parts-page {
        padding-top: 16px;
    }
}
