:root {
    --listora-ink: #15171a;
    --listora-muted: #626b73;
    --listora-line: #dfe4e1;
    --listora-panel: #ffffff;
    --listora-soft: #f4f7f5;
    --listora-accent: #0f8b6d;
    --listora-accent-dark: #0b604f;
    --listora-warm: #c55d37;
    --listora-radius: 8px;
    --listora-shadow: 0 16px 42px rgba(20, 24, 28, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--listora-soft);
    color: var(--listora-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid var(--listora-line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.site-header__inner,
.site-main,
.site-footer__inner {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
}

.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    min-height: 68px;
}

.site-brand,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--listora-ink);
    font-weight: 800;
    text-decoration: none;
}

.site-brand__mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--listora-radius);
    background: var(--listora-accent);
    color: #fff;
}

.custom-logo {
    max-width: 148px;
    max-height: 42px;
    object-fit: contain;
}

.site-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: var(--listora-radius);
    color: var(--listora-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.site-menu a:hover {
    background: #edf4f1;
    color: var(--listora-ink);
}

.site-header__cta,
.button,
.search-submit,
.hero-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: var(--listora-panel);
    color: var(--listora-ink);
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.site-header__cta,
.button-primary,
.hero-search button {
    border-color: var(--listora-accent);
    background: var(--listora-accent);
    color: #fff;
}

.site-main {
    padding: 24px 0 42px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: stretch;
    padding: 32px 0 24px;
}

.hero__content {
    display: grid;
    align-content: center;
    min-height: 360px;
    padding: 36px;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background:
        linear-gradient(120deg, rgba(15, 139, 109, 0.12), transparent 44%),
        linear-gradient(140deg, #fff, #f8faf8);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--listora-warm);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.archive-header h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 0.98;
}

.hero p:not(.eyebrow) {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--listora-muted);
    font-size: 18px;
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 260px) auto;
    gap: 10px;
    margin-top: 26px;
}

.hero-search select,
.search-field {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: #fff;
    color: var(--listora-ink);
    font: inherit;
}

.hero__panel {
    display: grid;
    gap: 10px;
    align-content: end;
    min-height: 360px;
    padding: 18px;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: #1b2426;
    color: #fff;
}

.hero__panel div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--listora-radius);
    background: rgba(255, 255, 255, 0.06);
}

.hero__panel strong,
.hero__panel span {
    display: block;
}

.hero__panel span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    margin: 26px 0 14px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.section-heading h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
}

.section-heading a {
    color: var(--listora-accent-dark);
    font-weight: 800;
    text-decoration: none;
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.listing-card {
    min-width: 0;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: var(--listora-panel);
    overflow: hidden;
}

.listing-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.listing-card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #e8efec;
    color: var(--listora-muted);
    overflow: hidden;
}

.listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.listing-card:hover .listing-card__media img {
    transform: scale(1.035);
}

.listing-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--listora-warm);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.listing-card__body {
    padding: 12px;
}

.listing-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 800;
}

.listing-card__meta strong {
    color: var(--listora-accent-dark);
    font-size: 14px;
}

.listing-card h2 {
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.listing-card p {
    min-height: 38px;
    margin: 7px 0 0;
    color: var(--listora-muted);
    font-size: 13px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.listing-card__specs span {
    min-height: 24px;
    padding: 4px 7px;
    border-radius: 999px;
    background: #edf4f1;
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 700;
}

.archive-header {
    display: grid;
    gap: 14px;
    padding: 28px 0 20px;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 360px) auto;
    gap: 10px;
}

.listing-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) 360px;
    gap: 18px;
    align-items: start;
    padding-top: 20px;
}

.listing-gallery,
.listing-sidebar,
.listing-content,
.empty-state,
.post-card {
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: var(--listora-panel);
}

.listing-gallery {
    overflow: hidden;
}

.listing-gallery__hero {
    aspect-ratio: 16 / 10;
    background: #e8efec;
}

.listing-gallery__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-top: 1px solid var(--listora-line);
}

.gallery-thumb {
    padding: 0;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: #fff;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

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

.listing-gallery__empty {
    display: grid;
    place-items: center;
    min-height: 360px;
    color: var(--listora-muted);
    background: #e8efec;
}

.listing-sidebar {
    position: sticky;
    top: 88px;
    padding: 18px;
}

.listing-sidebar h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.listing-price {
    margin: 12px 0 0;
    color: var(--listora-accent-dark);
    font-size: 28px;
    font-weight: 900;
}

.listing-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.listing-content {
    grid-column: 1 / -1;
    padding: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--listora-muted);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--listora-accent-dark);
    text-decoration: none;
}

.listing-specs dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
}

.listing-specs div {
    padding: 12px;
    border: 1px solid var(--listora-line);
    border-radius: var(--listora-radius);
    background: #fbfcfb;
}

.listing-specs dt {
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 800;
}

.listing-specs dd {
    margin: 4px 0 0;
    font-weight: 900;
}

.entry-content {
    color: #30363b;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.empty-state {
    padding: 26px;
    color: var(--listora-muted);
}

.empty-state h2 {
    margin: 0 0 6px;
    color: var(--listora-ink);
}

.post-list {
    display: grid;
    gap: 10px;
}

.post-card a {
    display: block;
    padding: 16px;
    text-decoration: none;
}

.post-card h2 {
    margin: 0;
}

.post-card p {
    margin: 7px 0 0;
    color: var(--listora-muted);
}

.pagination {
    margin-top: 18px;
}

.site-footer {
    border-top: 1px solid var(--listora-line);
    background: #fff;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    color: var(--listora-muted);
    font-size: 14px;
}

.site-footer a {
    color: var(--listora-accent-dark);
    font-weight: 800;
    text-decoration: none;
}

@media (min-width: 760px) {
    .listing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1020px) {
    .listing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 1320px) {
    .listing-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-nav {
        display: none;
    }

    .hero,
    .listing-detail {
        grid-template-columns: 1fr;
    }

    .hero__content,
    .hero__panel {
        min-height: auto;
    }

    .listing-sidebar {
        position: static;
    }

    .listing-content {
        grid-column: auto;
    }
}

@media (max-width: 560px) {
    .site-header__inner,
    .site-main,
    .site-footer__inner {
        width: min(100% - 20px, 1180px);
    }

    .site-header__cta {
        padding: 0 10px;
        font-size: 13px;
    }

    .hero {
        padding-top: 14px;
    }

    .hero__content {
        padding: 22px;
    }

    .hero h1,
    .archive-header h1 {
        font-size: 36px;
    }

    .hero-search,
    .search-form,
    .listing-actions {
        grid-template-columns: 1fr;
    }

    .listing-grid {
        gap: 10px;
    }

    .listing-card__body {
        padding: 10px;
    }

    .listing-card h2 {
        font-size: 15px;
    }

    .listing-gallery__thumbs,
    .listing-specs dl {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Premium marketplace demo */
:root {
    --listora-coral: #f7566f;
    --listora-coral-dark: #dc3854;
    --listora-navy: #0d1b2a;
    --listora-paper: #f1f5f7;
}

.site-header {
    border-bottom: 0;
    background: var(--listora-coral);
    color: #fff;
    box-shadow: 0 10px 26px rgba(190, 42, 67, 0.16);
}

.site-brand,
.custom-logo-link,
.site-menu a {
    color: #fff;
}

.site-brand__mark {
    background: #fff;
    color: var(--listora-coral);
    box-shadow: 0 8px 24px rgba(110, 12, 34, 0.16);
}

.site-menu a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.site-header__cta {
    border-color: #fff;
    background: #fff;
    color: var(--listora-navy);
    box-shadow: 0 10px 24px rgba(108, 18, 34, 0.12);
}

.site-main--front {
    width: 100%;
    padding: 0 0 54px;
}

.hero-market {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%),
        var(--listora-coral);
    color: #fff;
    overflow: hidden;
}

.hero-market__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
    gap: 42px;
    align-items: center;
    width: min(1180px, calc(100% - 28px));
    min-height: 520px;
    margin: 0 auto;
    padding: 50px 0 56px;
}

.hero-market__copy {
    position: relative;
    z-index: 2;
}

.hero-market .eyebrow {
    color: #ffe2e8;
}

.hero-market h1 {
    max-width: 690px;
    margin: 0;
    font-size: clamp(42px, 5.8vw, 72px);
    line-height: 0.95;
    color: #fff;
}

.hero-market p:not(.eyebrow) {
    max-width: 610px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
}

.hero-market .hero-search {
    grid-template-columns: minmax(0, 250px) auto;
    max-width: 560px;
    margin-top: 28px;
    padding: 8px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 22px 42px rgba(126, 22, 40, 0.2);
}

.hero-market .hero-search select {
    border-color: transparent;
    background: #f6f7f8;
}

.hero-market .hero-search button {
    border-color: var(--listora-navy);
    background: var(--listora-navy);
    color: #fff;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-stats span {
    display: grid;
    min-width: 124px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 700;
}

.hero-stats strong {
    color: #fff;
    font-size: 20px;
    line-height: 1.05;
}

.hero-showcase {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(5, 76px);
    gap: 14px;
    min-height: 430px;
}

.hero-showcase__card {
    position: relative;
    display: grid;
    align-content: end;
    min-height: 0;
    padding: 16px;
    border: 5px solid #fff;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 24px 52px rgba(75, 8, 25, 0.28);
    transform: rotate(-4deg);
}

.hero-showcase__card--1 {
    grid-column: 1 / span 4;
    grid-row: 1 / span 4;
    z-index: 1;
}

.hero-showcase__card--2 {
    grid-column: 4 / span 3;
    grid-row: 1 / span 3;
    transform: rotate(7deg);
    z-index: 2;
}

.hero-showcase__card--3 {
    grid-column: 3 / span 3;
    grid-row: 3 / span 3;
    transform: rotate(-2deg);
    z-index: 3;
}

.hero-showcase__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(8, 15, 24, 0.82));
}

.hero-showcase__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-showcase__card span,
.hero-showcase__card strong,
.hero-showcase__card em {
    position: relative;
    z-index: 1;
}

.hero-showcase__card span {
    width: max-content;
    max-width: 100%;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--listora-coral);
    font-size: 12px;
    font-weight: 900;
}

.hero-showcase__card strong {
    margin-top: 8px;
    font-size: 18px;
    line-height: 1.1;
    text-wrap: balance;
}

.hero-showcase__card em {
    margin-top: 4px;
    font-style: normal;
    font-weight: 900;
}

.marketplace {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 30px;
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding-top: 56px;
}

.category-rail {
    display: grid;
    align-content: start;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(20, 28, 34, 0.08);
    overflow: hidden;
}

.category-rail a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 0 16px;
    border-bottom: 1px solid #eef1f3;
    color: var(--listora-navy);
    text-decoration: none;
}

.category-rail a:last-child {
    border-bottom: 0;
}

.category-rail span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #fff0f3;
    color: var(--listora-coral);
    font-size: 18px;
}

.category-rail strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-rail em {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #f4f6f8;
    color: var(--listora-muted);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.marketplace .section-heading {
    margin-top: 0;
}

.marketplace .section-heading h2 {
    color: var(--listora-navy);
    font-size: 28px;
}

.marketplace .listing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.listing-card {
    border: 0;
    box-shadow: 0 14px 34px rgba(14, 24, 34, 0.1);
}

.listing-card__media {
    aspect-ratio: 16 / 10;
    background: #dfe5e8;
}

.listing-card__badge {
    top: 12px;
    left: 12px;
    border-radius: 4px;
    background: var(--listora-coral);
    box-shadow: 0 8px 20px rgba(247, 86, 111, 0.28);
}

.listing-card__body {
    padding: 16px 18px 18px;
}

.listing-card__meta {
    font-size: 12px;
    text-transform: uppercase;
}

.listing-card__meta strong {
    color: var(--listora-coral);
    font-size: 18px;
}

.listing-card h2 {
    margin-top: 10px;
    color: var(--listora-navy);
    font-size: 19px;
}

.listing-card__location {
    margin-top: 7px;
    color: var(--listora-muted);
    font-size: 13px;
    font-weight: 800;
}

.listing-card p {
    min-height: 20px;
    margin-top: 5px;
}

.listing-card__specs span {
    background: #f5f6f8;
}

body {
    background: var(--listora-paper);
}

@media (max-width: 980px) {
    .hero-market__inner,
    .marketplace {
        grid-template-columns: 1fr;
    }

    .hero-showcase {
        min-height: 340px;
    }

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

    .category-rail a {
        border-right: 1px solid #eef1f3;
    }

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

@media (max-width: 620px) {
    .hero-market__inner,
    .marketplace {
        width: min(100% - 20px, 1180px);
    }

    .hero-market__inner {
        min-height: auto;
        padding: 34px 0 42px;
    }

    .hero-market h1 {
        font-size: 39px;
    }

    .hero-market .hero-search {
        grid-template-columns: 1fr;
    }

    .hero-stats span {
        flex: 1 1 120px;
    }

    .hero-showcase {
        grid-template-rows: repeat(4, 66px);
        min-height: 270px;
    }

    .hero-showcase__card {
        border-width: 4px;
        border-radius: 14px;
        padding: 12px;
    }

    .hero-showcase__card--1 {
        grid-column: 1 / span 4;
        grid-row: 1 / span 3;
    }

    .hero-showcase__card--2 {
        grid-column: 4 / span 3;
        grid-row: 1 / span 2;
    }

    .hero-showcase__card--3 {
        grid-column: 2 / span 4;
        grid-row: 3 / span 2;
    }

    .category-rail {
        grid-template-columns: 1fr;
    }

    .marketplace {
        padding-top: 28px;
        gap: 22px;
    }

    .marketplace .listing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .listing-card__body {
        padding: 12px;
    }

    .listing-card h2 {
        font-size: 15px;
    }

    .listing-card__meta {
        display: grid;
        align-items: start;
    }

    .listing-card__meta strong {
        font-size: 15px;
    }
}

/* Homepage content system */
.home-section {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 54px 0 0;
}

.home-section--categories {
    padding-top: 34px;
}

.home-category-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-category-strip a {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--listora-navy);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(14, 24, 34, 0.08);
}

.home-category-strip span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #fff0f3;
    color: var(--listora-coral);
    font-size: 22px;
}

.home-category-strip strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-category-strip em {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f4f6f8;
    color: var(--listora-muted);
    font-style: normal;
    font-weight: 900;
}

.listing-grid--home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.split-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 28px;
    align-items: start;
}

.section-heading--stack {
    display: block;
}

.popular-list {
    display: grid;
    gap: 14px;
}

.popular-item {
    display: grid;
    grid-template-columns: 148px minmax(0, 1fr);
    align-items: end;
    gap: 16px;
    min-height: 132px;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--listora-navy);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(14, 24, 34, 0.08);
}

.popular-item img {
    grid-row: span 3;
    width: 148px;
    height: 108px;
    border-radius: 8px;
    object-fit: cover;
}

.popular-item span {
    align-self: start;
    color: var(--listora-coral);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.popular-item strong {
    font-size: 18px;
    line-height: 1.12;
}

.popular-item em {
    color: var(--listora-coral);
    font-style: normal;
    font-weight: 900;
}

.review-panel {
    padding: 24px;
    border-radius: 8px;
    background: var(--listora-navy);
    color: #fff;
    box-shadow: 0 18px 44px rgba(13, 27, 42, 0.18);
}

.review-panel .eyebrow {
    color: #ffc5cf;
}

.review-panel h2 {
    margin: 0 0 18px;
    font-size: 30px;
    line-height: 1.08;
}

.review-card {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.review-card + .review-card {
    margin-top: 12px;
}

.review-card strong {
    display: block;
    font-size: 17px;
    line-height: 1.25;
}

.review-card p {
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.76);
}

.review-card span {
    color: #ffc5cf;
    font-size: 13px;
    font-weight: 900;
}

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

.blog-card a {
    display: block;
    min-height: 210px;
    padding: 22px;
    border-radius: 8px;
    background: #fff;
    color: var(--listora-navy);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(14, 24, 34, 0.08);
}

.blog-card span {
    color: var(--listora-coral);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.blog-card h3 {
    margin: 12px 0 8px;
    font-size: 22px;
    line-height: 1.13;
}

.blog-card p {
    margin: 0;
    color: var(--listora-muted);
}

/* Listing browser */
.listing-browser {
    padding-top: 28px;
}

.listing-browser__head {
    max-width: 760px;
    margin-bottom: 22px;
}

.listing-browser__head h1 {
    margin: 0;
    color: var(--listora-navy);
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
}

.advanced-filter {
    display: grid;
    grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)) auto;
    gap: 10px;
    align-items: end;
    padding: 14px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(14, 24, 34, 0.08);
}

.advanced-filter label {
    display: grid;
    gap: 6px;
}

.advanced-filter span {
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.advanced-filter input,
.advanced-filter select {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    border: 1px solid #dfe4e1;
    border-radius: 8px;
    background: #f9fafb;
    color: var(--listora-navy);
    font: inherit;
}

.advanced-filter button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--listora-coral);
    color: #fff;
    font: inherit;
    font-weight: 900;
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 24px 0 16px;
}

.listing-toolbar p {
    margin: 0;
    color: var(--listora-muted);
    font-weight: 800;
}

.view-toggle {
    display: inline-flex;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
}

.view-toggle__button {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--listora-muted);
    font-weight: 900;
    cursor: pointer;
}

.view-toggle__button.is-active {
    background: var(--listora-navy);
    color: #fff;
}

.listing-grid--archive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.listing-grid--archive.is-list-view {
    grid-template-columns: 1fr;
}

.listing-grid--archive.is-list-view .listing-card__link {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
}

.listing-grid--archive.is-list-view .listing-card__media {
    aspect-ratio: auto;
    min-height: 220px;
}

.listing-grid--archive.is-list-view .listing-card__body {
    display: grid;
    align-content: center;
}

/* Detail feature panels */
.feature-panel {
    grid-column: 1 / -1;
    padding: 22px;
    border: 1px solid var(--listora-line);
    border-radius: 8px;
    background: #fff;
}

.feature-panel__head h2 {
    margin: 0 0 18px;
    color: var(--listora-navy);
    font-size: 30px;
}

.vehicle-feature-layout,
.property-feature-layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.vehicle-condition-card,
.property-score-card {
    padding: 18px;
    border: 1px solid #e6eaed;
    border-radius: 8px;
    background: #fbfcfd;
}

.vehicle-shape {
    position: relative;
    width: 210px;
    height: 260px;
    margin: 0 auto 18px;
}

.vehicle-shape span {
    position: absolute;
    border: 3px solid #e2e6e9;
    border-radius: 16px;
    background: #fff;
}

.vehicle-shape__roof {
    top: 54px;
    left: 62px;
    width: 86px;
    height: 132px;
    background: linear-gradient(#ff4f4f 0 34%, #fff 34% 66%, #38b45f 66%);
}

.vehicle-shape__hood {
    top: 0;
    left: 72px;
    width: 66px;
    height: 48px;
    background: #ffe640;
}

.vehicle-shape__trunk {
    bottom: 0;
    left: 72px;
    width: 66px;
    height: 48px;
    background: #38b45f;
}

.vehicle-shape__left,
.vehicle-shape__right {
    top: 80px;
    width: 42px;
    height: 98px;
    background: linear-gradient(#ff4f4f 0 36%, #fff 36% 66%, #38b45f 66%);
}

.vehicle-shape__left {
    left: 8px;
}

.vehicle-shape__right {
    right: 8px;
}

.condition-list {
    padding-left: 10px;
    border-left: 3px solid #38b45f;
    margin-top: 12px;
}

.condition-list strong,
.condition-list span {
    display: block;
}

.condition-list strong {
    text-transform: uppercase;
    font-size: 12px;
}

.condition-list span {
    color: var(--listora-muted);
    font-size: 13px;
}

.condition-list--painted {
    border-left-color: #ffb100;
}

.condition-list--changed {
    border-left-color: #ff4f4f;
}

.feature-groups {
    display: grid;
    gap: 18px;
}

.feature-group {
    border: 1px dashed #dfe4e1;
    border-radius: 8px;
    overflow: hidden;
}

.feature-group h3 {
    margin: 0;
    padding: 14px 18px;
    border-bottom: 1px solid #edf0f2;
    color: var(--listora-navy);
    font-size: 16px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px;
}

.feature-tags span {
    padding: 7px 10px;
    border: 1px solid #dfe4e1;
    border-radius: 7px;
    background: #fbfcfd;
    color: var(--listora-muted);
    font-size: 14px;
    font-weight: 700;
}

.feature-tags span.is-active {
    border-color: #02bd55;
    background: #02bd55;
    color: #fff;
}

.property-score-card strong {
    display: block;
    margin-bottom: 14px;
    color: var(--listora-navy);
    font-size: 20px;
}

.property-score-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
}

.property-score-card div {
    padding: 12px;
    border-radius: 8px;
    background: #fff;
}

.property-score-card dt {
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 900;
}

.property-score-card dd {
    margin: 4px 0 0;
    color: var(--listora-navy);
    font-size: 20px;
    font-weight: 900;
}

/* Footer */
.site-footer {
    margin-top: 64px;
    border-top: 0;
    background: var(--listora-navy);
    color: #fff;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(150px, 0.6fr)) minmax(240px, 1fr);
    gap: 28px;
    width: min(1180px, calc(100% - 28px));
    min-height: auto;
    padding: 42px 0;
    color: rgba(255, 255, 255, 0.74);
}

.site-footer .site-brand {
    color: #fff;
}

.footer-brand p,
.footer-newsletter p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.68);
}

.footer-column,
.footer-newsletter {
    display: grid;
    align-content: start;
    gap: 9px;
}

.footer-column strong,
.footer-newsletter strong {
    color: #fff;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
}

.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

@media (max-width: 1040px) {
    .home-category-strip,
    .blog-grid,
    .listing-grid--home,
    .listing-grid--archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .split-showcase,
    .vehicle-feature-layout,
    .property-feature-layout,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    .home-section,
    .site-footer__inner,
    .site-footer__bottom {
        width: min(100% - 20px, 1180px);
    }

    .home-category-strip,
    .blog-grid,
    .advanced-filter {
        grid-template-columns: 1fr;
    }

    .listing-grid--home,
    .listing-grid--archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .popular-item,
    .listing-grid--archive.is-list-view .listing-card__link {
        grid-template-columns: 1fr;
    }

    .popular-item img {
        width: 100%;
        height: 180px;
    }

    .listing-grid--archive.is-list-view {
        grid-template-columns: 1fr;
    }

    .listing-toolbar,
    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .feature-panel {
        padding: 14px;
    }

    .vehicle-condition-card,
    .property-score-card {
        padding: 14px;
    }
}

/* Polish pass: dashboard tabs, submit wizard, lead cards and homepage trust sections */
.dashboard-shell--tabs {
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
}

.dashboard-sidebar--menu {
    position: sticky;
    top: 92px;
    gap: 18px;
    padding: 0;
    overflow: hidden;
}

.dashboard-user-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 22px;
    background: linear-gradient(135deg, var(--listora-navy), #243746);
    color: rgba(255, 255, 255, 0.72);
}

.dashboard-user-card img {
    width: 78px;
    height: 78px;
    border: 4px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.dashboard-user-card h1 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 24px;
}

.dashboard-user-card p {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-menu {
    display: grid;
    gap: 6px;
    padding: 14px;
}

.dashboard-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #55636e;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.dashboard-menu__item strong {
    min-width: 34px;
    min-height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eef3f5;
    color: var(--listora-navy);
    font-size: 12px;
}

.dashboard-menu__item.is-active {
    border-color: rgba(255, 75, 111, 0.22);
    background: #fff3f6;
    color: var(--listora-coral);
}

.dashboard-sidebar__actions {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.dashboard-main [data-dashboard-panel] {
    display: none;
}

.dashboard-main [data-dashboard-panel].is-active {
    display: block;
}

.dashboard-panel__head {
    margin-bottom: 18px;
}

.dashboard-panel__head h2 {
    margin: 0;
    font-size: 30px;
}

.dashboard-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
    gap: 16px;
    margin-top: 18px;
}

.dashboard-overview-grid > div,
.dashboard-action-card,
.dashboard-empty,
.dashboard-message {
    padding: 18px;
    border: 1px solid #e3e9ec;
    border-radius: 8px;
    background: #f8fbfc;
}

.dashboard-action-card {
    display: grid;
    align-content: center;
    color: #fff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--listora-coral), #ff6b87);
    border-color: transparent;
}

.dashboard-action-card strong,
.dashboard-action-card span,
.dashboard-message strong,
.dashboard-message span {
    display: block;
}

.dashboard-message-list {
    display: grid;
    gap: 12px;
}

.dashboard-message {
    display: grid;
    gap: 10px;
}

.dashboard-message div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dashboard-message span {
    color: #6a7882;
    font-size: 13px;
    font-weight: 800;
}

.dashboard-message p {
    margin: 0;
    color: #34424d;
}

.dashboard-message a {
    color: var(--listora-coral);
    font-weight: 900;
    text-decoration: none;
}

.submit-wizard {
    display: block;
    padding: 0;
    overflow: hidden;
}

.wizard-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid #e5ecef;
    background: #f8fbfc;
}

.wizard-steps button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 66px;
    border: 0;
    border-right: 1px solid #e5ecef;
    background: transparent;
    color: #65727b;
    font-weight: 900;
    cursor: pointer;
}

.wizard-steps button:last-child {
    border-right: 0;
}

.wizard-steps span {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #e8eef1;
    color: var(--listora-navy);
    font-size: 13px;
}

.wizard-steps button.is-active {
    background: #fff;
    color: var(--listora-coral);
}

.wizard-steps button.is-active span {
    background: var(--listora-coral);
    color: #fff;
}

.wizard-step {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 26px;
    border: 0;
}

.wizard-step.is-active {
    display: grid;
}

.wizard-step legend {
    grid-column: 1 / -1;
    margin-bottom: 4px;
    color: var(--listora-navy);
    font-size: 24px;
    font-weight: 900;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 26px 26px;
    border-top: 1px solid #e5ecef;
}

.wizard-actions button {
    min-width: 140px;
}

.wizard-prev {
    background: #edf3f5 !important;
    color: var(--listora-navy) !important;
}

.wizard-prev:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wizard-submit {
    background: var(--listora-accent) !important;
}

.wizard-review {
    grid-column: 1 / -1;
    padding: 18px;
    border: 1px solid #d4ece0;
    border-radius: 8px;
    background: #f0fbf5;
    color: #14613a;
}

.listing-lead-card {
    overflow: hidden;
}

.lead-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -6px -6px 4px;
}

.lead-card__top span,
.lead-card__top em {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.lead-card__top span {
    background: #fff0f4;
    color: var(--listora-coral);
}

.lead-card__top em {
    background: #edf9f2;
    color: var(--listora-accent-dark);
}

.lead-card__price {
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--listora-navy), #203545);
    color: rgba(255, 255, 255, 0.68);
}

.lead-card__price span {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.lead-card__price strong {
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.listing-lead-card .listing-actions {
    grid-template-columns: 1fr 1fr;
}

.lead-card__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.lead-card__trust span {
    display: grid;
    gap: 2px;
    padding: 10px;
    border-radius: 8px;
    background: #f5f8fa;
    color: #64727d;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.lead-card__trust strong {
    color: var(--listora-navy);
    font-size: 16px;
}

.listing-lead-card .seller-card {
    padding: 14px;
    border: 1px solid #e5ecef;
    border-radius: 8px;
    background: #fbfdfe;
}

.seller-card div span {
    color: #7b8992;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.seller-card div em {
    display: block;
    color: #66757f;
    font-size: 13px;
    font-style: normal;
}

.vehicle-map--sedan {
    width: min(310px, 100%);
    filter: drop-shadow(0 20px 24px rgba(20, 40, 52, 0.12));
}

.vehicle-map__wheel {
    fill: #1b2730;
}

.vehicle-map__shadow {
    fill: #d6e0e5;
}

.vehicle-map__body {
    fill: #f8fbfc;
    stroke: #aebdc4;
    stroke-width: 6;
}

.vehicle-map__light {
    fill: #ffe07a;
}

.vehicle-map__tail {
    fill: #ff6a6a;
}

.popular-showcase {
    min-width: 0;
}

.popular-showcase .section-heading {
    padding: 0 0 14px;
    border-bottom: 1px solid #dfe7eb;
}

.popular-list {
    gap: 14px;
}

.popular-item {
    grid-template-columns: 170px minmax(0, 1fr);
    align-items: stretch;
    min-height: 132px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e0e7ea;
    box-shadow: 0 18px 44px rgba(13, 31, 45, 0.08);
}

.popular-item__media {
    min-height: 132px;
    background: #e8eef1;
}

.popular-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-item__body {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 18px;
}

.popular-item__body span {
    color: var(--listora-coral);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.popular-item__body strong {
    color: var(--listora-navy);
    font-size: 20px;
    line-height: 1.15;
}

.popular-item__body em {
    color: var(--listora-coral);
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
}

.review-panel--premium {
    display: grid;
    gap: 14px;
    align-content: start;
    padding: 30px;
    background:
        linear-gradient(135deg, rgba(255, 75, 111, 0.16), transparent 38%),
        var(--listora-navy);
}

.review-panel--premium .review-card {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
}

.blog-card a {
    display: grid;
    align-content: space-between;
    border: 1px solid #e0e7ea;
    box-shadow: 0 18px 44px rgba(13, 31, 45, 0.08);
}

.blog-card a::after {
    content: "Read guide";
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 30px;
    margin-top: 18px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1f4;
    color: var(--listora-coral);
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1040px) {
    .dashboard-shell--tabs,
    .dashboard-overview-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar--menu {
        position: static;
    }
}

@media (max-width: 760px) {
    .wizard-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wizard-step,
    .submit-form__group {
        grid-template-columns: 1fr;
    }

    .wizard-actions {
        flex-direction: column;
    }

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

    .popular-item__media {
        height: 190px;
    }

    .dashboard-message div,
    .lead-card__top {
        display: grid;
    }
}

/* Product-grade navigation, detail, account and load-more systems */
.site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 70px;
}

.site-nav {
    min-width: 0;
}

.site-menu {
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.site-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #fff;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header__link {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.site-header__cta {
    white-space: nowrap;
}

.site-main--detail {
    padding-top: 28px;
}

.site-main--detail > .breadcrumb {
    margin-bottom: 16px;
}

.listing-detail {
    display: block;
}

.listing-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 20px;
    align-items: start;
    padding: 18px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff 0%, #f4f8f9 100%);
    box-shadow: 0 24px 70px rgba(13, 31, 45, 0.08);
}

.listing-hero-panel .listing-gallery {
    border: 0;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.listing-gallery__hero {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.listing-gallery__count {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(11, 24, 35, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.listing-hero-panel .listing-sidebar {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid #dde5e8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(13, 31, 45, 0.1);
}

.listing-location {
    margin: -6px 0 0;
    color: #61707a;
    font-weight: 800;
}

.listing-summary-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.listing-summary-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f6;
    color: #52616b;
    font-size: 13px;
    font-weight: 900;
}

.favorite-form button,
.load-more-button,
.lead-form button,
.submit-form button,
.dashboard-form button,
.auth-card button {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--listora-navy);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.favorite-form button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: #fff7f9;
    color: var(--listora-coral);
    border: 1px solid #ffd4dc;
}

.seller-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf1f3;
}

.seller-card img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.seller-card strong,
.seller-card span {
    display: block;
}

.seller-card span {
    color: #65737d;
    font-size: 13px;
}

.listing-content,
.lead-panel,
.feature-panel {
    margin-top: 20px;
    border-radius: 8px;
}

.listing-content__head h2,
.lead-panel h2 {
    margin: 0 0 14px;
    color: var(--listora-navy);
    font-size: 28px;
}

.lead-panel {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 24px;
    padding: 24px;
    border: 1px solid #dde5e8;
    background: #fff;
}

.lead-form,
.auth-card,
.dashboard-form,
.submit-form {
    display: grid;
    gap: 14px;
}

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

.lead-form label,
.auth-card label,
.dashboard-form label,
.submit-form label {
    display: grid;
    gap: 7px;
    color: #56636d;
    font-size: 13px;
    font-weight: 900;
}

.lead-form input,
.lead-form textarea,
.auth-card input,
.dashboard-form input,
.dashboard-form textarea,
.submit-form input,
.submit-form textarea,
.submit-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dce4e7;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: var(--listora-ink);
    font: inherit;
}

.lead-form textarea,
.dashboard-form textarea,
.submit-form textarea {
    min-height: 120px;
    resize: vertical;
}

.lead-form__wide,
.dashboard-form__wide,
.submit-form__wide,
.lead-form button,
.submit-form button,
.dashboard-form button {
    grid-column: 1 / -1;
}

.vehicle-map {
    display: block;
    width: min(260px, 100%);
    margin: 0 auto 16px;
}

.vehicle-map__outline {
    fill: #f7fafb;
    stroke: #b8c3c8;
    stroke-width: 5;
}

.vehicle-map__part {
    stroke: #fff;
    stroke-width: 5;
}

.vehicle-map .is-original,
.vehicle-map-legend .is-original {
    fill: #17b865;
    background: #17b865;
}

.vehicle-map .is-painted,
.vehicle-map-legend .is-painted {
    fill: #f4c542;
    background: #f4c542;
}

.vehicle-map .is-changed,
.vehicle-map-legend .is-changed {
    fill: #f0524d;
    background: #f0524d;
}

.vehicle-map__window {
    fill: #dfeff4;
    stroke: #fff;
    stroke-width: 4;
}

.vehicle-map__line {
    fill: none;
    stroke: #9bacb4;
    stroke-width: 3;
}

.vehicle-map-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 900;
}

.vehicle-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vehicle-map-legend i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    padding: 26px 0 4px;
}

.load-more-button.is-loading {
    opacity: 0.72;
    pointer-events: none;
}

.listora-notice {
    margin: 18px auto;
    padding: 14px 16px;
    border: 1px solid #cbe8d8;
    border-radius: 8px;
    background: #edf9f2;
    color: #126d3d;
    font-weight: 800;
}

.auth-shell,
.submit-shell,
.dashboard-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 34px auto;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}

.auth-card,
.dashboard-panel,
.submit-intro,
.submit-form,
.dashboard-sidebar {
    padding: 24px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(13, 31, 45, 0.08);
}

.auth-card h1,
.auth-card h2,
.submit-intro h1,
.dashboard-sidebar h1,
.dashboard-panel h2 {
    margin: 0 0 12px;
    color: var(--listora-navy);
}

.auth-card--dark {
    background: var(--listora-navy);
    color: #fff;
}

.auth-card--dark h2,
.auth-card--dark .eyebrow {
    color: #fff;
}

.inline-check {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
}

.dashboard-shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
}

.dashboard-sidebar {
    align-self: start;
    display: grid;
    gap: 12px;
}

.dashboard-sidebar img {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
}

.dashboard-main {
    display: grid;
    gap: 20px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-stats span {
    display: grid;
    gap: 2px;
    padding: 18px;
    border-radius: 8px;
    background: var(--listora-navy);
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.dashboard-stats strong {
    color: #fff;
    font-size: 28px;
}

.dashboard-form,
.submit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-list {
    display: grid;
    gap: 10px;
}

.dashboard-list a {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f5f8f9;
    color: var(--listora-ink);
    text-decoration: none;
}

.dashboard-list span {
    color: #63727b;
    font-size: 13px;
}

.dashboard-panel--split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.submit-shell {
    display: grid;
    gap: 20px;
}

.submit-intro {
    background: linear-gradient(135deg, var(--listora-navy), #243746);
    color: rgba(255, 255, 255, 0.76);
}

.submit-intro h1,
.submit-intro .eyebrow {
    color: #fff;
}

.submit-form__group {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    border: 1px solid #e3e9eb;
    border-radius: 8px;
    background: #f8fbfc;
}

.submit-form__group h2 {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--listora-navy);
    font-size: 20px;
}

.submit-form__group.is-hidden {
    display: none;
}

.site-footer__top {
    background: var(--listora-navy);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.footer-badges span,
.footer-newsletter span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
}

@media (max-width: 1040px) {
    .listing-hero-panel,
    .lead-panel,
    .dashboard-shell,
    .auth-shell {
        grid-template-columns: 1fr;
    }

    .listing-hero-panel .listing-sidebar {
        position: static;
    }

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

@media (max-width: 860px) {
    .site-header__inner {
        grid-template-columns: auto auto;
    }

    .site-menu-toggle {
        display: inline-grid;
        place-items: center;
        justify-self: end;
    }

    .site-nav {
        display: block;
        grid-column: 1 / -1;
        width: 100%;
    }

    .site-nav__panel {
        display: none;
        padding: 10px 0 14px;
    }

    .site-header.is-menu-open .site-nav__panel {
        display: block;
    }

    .site-menu {
        display: grid;
        justify-content: stretch;
    }

    .site-menu a {
        justify-content: flex-start;
        width: 100%;
    }

    .site-header__actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: space-between;
        padding-bottom: 12px;
    }
}

@media (max-width: 640px) {
    .listing-hero-panel,
    .listing-content,
    .lead-panel,
    .feature-panel,
    .auth-card,
    .dashboard-panel,
    .submit-intro,
    .submit-form,
    .dashboard-sidebar {
        padding: 14px;
    }

    .lead-form,
    .dashboard-form,
    .submit-form,
    .submit-form__group,
    .dashboard-panel--split {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .listing-hero-panel {
        gap: 14px;
    }
}

/* Detail polish pass: cleaner lead card actions and a clearer vehicle map. */
.listing-lead-card .favorite-form {
    margin: 0;
}

.listing-lead-card .lead-card__save-button {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid #d8e3e8;
    border-radius: 8px;
    background: #fff;
    color: var(--listora-navy);
    box-shadow: 0 14px 30px rgba(13, 31, 45, 0.06);
}

.listing-lead-card .lead-card__save-button span {
    color: var(--listora-navy);
    font-weight: 900;
}

.listing-lead-card .lead-card__save-button strong {
    min-width: 32px;
    min-height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #fff1f4;
    color: var(--listora-coral);
    font-size: 13px;
}

.lead-card__trust-item {
    min-height: 62px;
}

.vehicle-map--sedan {
    width: min(330px, 100%);
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 24px 26px rgba(13, 31, 45, 0.16));
}

.vehicle-map--sedan .vehicle-map__shadow {
    fill: #e3ebef;
}

.vehicle-map--sedan .vehicle-map__wheel {
    fill: #18242c;
}

.vehicle-map--sedan .vehicle-map__body {
    fill: #f9fcfd;
    stroke: #aab9c1;
    stroke-width: 6;
}

.vehicle-map--sedan .vehicle-map__part {
    stroke: #b8c7ce;
    stroke-width: 4;
}

.vehicle-map--sedan .vehicle-map__glass,
.vehicle-map--sedan .vehicle-map__window {
    fill: #dceff4;
    stroke: #b5cbd3;
    stroke-width: 4;
}

.vehicle-map--sedan .vehicle-map__grille {
    fill: #243442;
}

.vehicle-map--sedan .vehicle-map__light {
    fill: #ffd457;
}

.vehicle-map--sedan .vehicle-map__tail {
    fill: #f0534d;
}

.vehicle-map--sedan .vehicle-map__mirror {
    fill: #f9fcfd;
    stroke: #aab9c1;
    stroke-width: 4;
}

.vehicle-map--sedan .vehicle-map__line {
    fill: none;
    stroke: #91a4ad;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {
    .listing-lead-card .lead-card__save-button {
        min-height: 46px;
    }

    .vehicle-map--sedan {
        width: min(280px, 100%);
    }
}

/* Fix late legacy overrides on the new dashboard and wizard screens. */
.dashboard-sidebar--menu .dashboard-user-card {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 22px;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(135deg, #132433, #233847);
    color: rgba(255, 255, 255, 0.78);
}

.dashboard-sidebar--menu .dashboard-user-card img {
    width: 86px;
    height: 86px;
    border: 4px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: #fff;
}

.dashboard-sidebar--menu .dashboard-user-card h1 {
    margin: 0 0 6px;
    overflow: hidden;
    color: #fff;
    font-size: 22px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-sidebar--menu .dashboard-user-card p {
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.8);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.submit-form.submit-wizard {
    display: block;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.submit-form.submit-wizard .wizard-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-bottom: 1px solid #e3ebef;
    background: #f8fbfc;
}

.submit-form.submit-wizard .wizard-steps button {
    grid-column: auto;
    min-width: 0;
    min-height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 12px;
    border: 0;
    border-right: 1px solid #e3ebef;
    border-radius: 0;
    background: transparent;
    color: #64717a;
    box-shadow: none;
    font-weight: 900;
}

.submit-form.submit-wizard .wizard-steps button:last-child {
    border-right: 0;
}

.submit-form.submit-wizard .wizard-steps button.is-active {
    background: #fff;
    color: var(--listora-coral);
}

.submit-form.submit-wizard .wizard-steps span {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #e9f0f3;
    color: var(--listora-navy);
    font-size: 13px;
}

.submit-form.submit-wizard .wizard-steps button.is-active span {
    background: var(--listora-coral);
    color: #fff;
}

.submit-form.submit-wizard .wizard-step {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 26px;
    border: 0;
}

.submit-form.submit-wizard .wizard-step.is-active {
    display: grid;
}

.submit-form.submit-wizard .wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 26px 26px;
    border-top: 1px solid #e3ebef;
}

.submit-form.submit-wizard .wizard-actions button {
    grid-column: auto;
    min-width: 140px;
    border-radius: 8px;
}

.vehicle-map--sedan {
    width: min(250px, 100%);
}

.vehicle-map--sedan .is-original {
    fill: #21b96b;
    fill-opacity: 0.82;
}

.vehicle-map--sedan .is-painted {
    fill: #f4c23f;
    fill-opacity: 0.82;
}

.vehicle-map--sedan .is-changed {
    fill: #ef5149;
    fill-opacity: 0.82;
}

.vehicle-map--sedan .vehicle-map__body {
    fill: #fff;
    stroke: #a9bac3;
    stroke-width: 6;
}

.vehicle-map--sedan .vehicle-map__part {
    stroke: rgba(255, 255, 255, 0.9);
    stroke-width: 5;
}

@media (max-width: 760px) {
    .submit-form.submit-wizard .wizard-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .submit-form.submit-wizard .wizard-steps button:nth-child(2n) {
        border-right: 0;
    }

    .submit-form.submit-wizard .wizard-step {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .submit-form.submit-wizard .wizard-actions {
        padding: 16px 18px 18px;
    }
}

@media (max-width: 520px) {
    .dashboard-sidebar--menu .dashboard-user-card {
        grid-template-columns: 70px minmax(0, 1fr);
        padding: 16px;
    }

    .dashboard-sidebar--menu .dashboard-user-card img {
        width: 70px;
        height: 70px;
    }

    .submit-form.submit-wizard .wizard-steps button {
        min-height: 60px;
        justify-content: flex-start;
    }
}

/* Real vehicle asset and seller inbox replies. */
.vehicle-map--asset {
    width: min(300px, 100%);
    margin: 0 auto 12px;
    padding: 18px;
    border: 1px solid #e2eaee;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f5f8fa);
}

.vehicle-map--asset img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 18px 20px rgba(14, 31, 42, 0.16));
}

.vehicle-map--asset figcaption {
    margin-top: 10px;
    color: #61707a;
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.dashboard-message__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dashboard-message__head div,
.dashboard-replies,
.dashboard-reply,
.dashboard-reply-form {
    display: grid;
}

.dashboard-replies {
    gap: 8px;
    padding-left: 14px;
    border-left: 3px solid #dbe7ec;
}

.dashboard-reply {
    gap: 4px;
    padding: 12px;
    border: 1px solid #e2eaee;
    border-radius: 8px;
    background: #fff;
}

.dashboard-reply strong {
    color: var(--listora-accent-dark);
}

.dashboard-reply-form {
    gap: 10px;
    padding: 12px;
    border: 1px solid #dce8ee;
    border-radius: 8px;
    background: #fff;
}

.dashboard-reply-form label {
    display: grid;
    gap: 7px;
    color: #56636d;
    font-size: 13px;
    font-weight: 900;
}

.dashboard-reply-form textarea {
    width: 100%;
    min-height: 92px;
    padding: 10px 12px;
    border: 1px solid #dce4e7;
    border-radius: 8px;
    background: #f9fbfc;
    color: var(--listora-ink);
    font: inherit;
    resize: vertical;
}

.dashboard-reply-form button {
    width: max-content;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--listora-accent);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 640px) {
    .dashboard-message__head {
        display: grid;
    }

    .vehicle-map--asset {
        width: min(260px, 100%);
    }
}

/* Product pass: mode-aware discovery, premium profile card, location and media wizard. */
.home-section--categories .section-heading--compact {
    margin-bottom: 16px;
}

.home-category-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(245px, 1fr);
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 4px 2px 16px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

.home-category-rail a {
    position: relative;
    min-height: 132px;
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    align-items: start;
    gap: 8px 14px;
    padding: 18px;
    border: 1px solid #e0e8ec;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 75, 111, 0.08), transparent 42%),
        #fff;
    color: var(--listora-navy);
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(13, 31, 45, 0.08);
    scroll-snap-align: start;
}

.home-category-rail a::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 16px;
    width: 36px;
    height: 2px;
    border-radius: 99px;
    background: var(--listora-coral);
}

.home-category-rail span {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background: var(--listora-navy);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.home-category-rail strong,
.home-category-rail small {
    min-width: 0;
    display: block;
}

.home-category-rail strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 17px;
}

.home-category-rail small {
    color: #66757f;
    font-size: 13px;
    font-weight: 800;
}

.home-category-rail em {
    grid-column: 3;
    grid-row: 1 / span 2;
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #f3f7f9;
    color: var(--listora-navy);
    font-style: normal;
    font-weight: 900;
}

.dashboard-sidebar--menu .dashboard-user-card {
    grid-template-columns: 1fr;
    padding: 0;
    overflow: hidden;
    background: #fff;
    color: var(--listora-navy);
}

.dashboard-user-card__avatar {
    position: relative;
    min-height: 150px;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 25% 10%, rgba(255, 255, 255, 0.18), transparent 28%),
        linear-gradient(135deg, #0f2130, #1f4050);
}

.dashboard-sidebar--menu .dashboard-user-card__avatar img {
    width: 92px;
    height: 92px;
    border: 4px solid #fff;
    box-shadow: 0 20px 38px rgba(4, 17, 28, 0.32);
}

.dashboard-user-card__avatar span {
    position: absolute;
    right: 18px;
    top: 16px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(21, 184, 101, 0.16);
    color: #d8ffe8;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-user-card__body {
    padding: 18px 18px 8px;
}

.dashboard-user-card__body em {
    display: block;
    margin-bottom: 7px;
    color: var(--listora-coral);
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-sidebar--menu .dashboard-user-card__body h1 {
    color: var(--listora-navy);
}

.dashboard-sidebar--menu .dashboard-user-card__body p {
    color: #66757f;
}

.dashboard-user-card__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 18px 18px;
}

.dashboard-user-card__meta span {
    display: grid;
    gap: 2px;
    padding: 12px;
    border-radius: 8px;
    background: #f5f8fa;
    color: #66757f;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-user-card__meta strong {
    color: var(--listora-navy);
    font-size: 22px;
}

.vehicle-map--asset {
    position: relative;
    overflow: hidden;
}

.vehicle-condition-zone {
    position: absolute;
    left: 50%;
    z-index: 2;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    mix-blend-mode: screen;
    opacity: 0.66;
    transform: translateX(-50%);
    pointer-events: none;
}

.vehicle-condition-zone.is-original {
    background: rgba(23, 184, 101, 0.74);
}

.vehicle-condition-zone.is-painted {
    background: rgba(244, 197, 66, 0.76);
}

.vehicle-condition-zone.is-changed {
    background: rgba(240, 82, 77, 0.76);
}

.vehicle-condition-zone--hood {
    top: 78px;
    width: 120px;
    height: 58px;
}

.vehicle-condition-zone--roof {
    top: 158px;
    width: 96px;
    height: 96px;
}

.vehicle-condition-zone--doors-left,
.vehicle-condition-zone--doors-right {
    top: 214px;
    width: 54px;
    height: 118px;
}

.vehicle-condition-zone--doors-left {
    margin-left: -62px;
}

.vehicle-condition-zone--doors-right {
    margin-left: 62px;
}

.vehicle-condition-zone--trunk {
    top: 332px;
    width: 98px;
    height: 58px;
}

.location-picker,
.media-wizard {
    grid-column: 1 / -1;
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dfe9ee;
    border-radius: 8px;
    background: #f8fbfc;
}

.location-picker {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

.location-picker label,
.location-picker p,
.media-wizard > div,
.media-wizard__drop,
.media-wizard__preview {
    grid-column: 1 / -1;
}

.location-picker label {
    grid-column: 1;
}

.location-picker button {
    grid-column: 2;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: var(--listora-navy);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.location-picker p {
    margin: 0;
    color: #66757f;
    font-size: 13px;
}

.media-wizard > div span {
    display: block;
    color: var(--listora-coral);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.media-wizard > div strong {
    display: block;
    margin-top: 4px;
    color: var(--listora-navy);
    font-size: 20px;
}

.media-wizard__drop {
    position: relative;
    min-height: 122px;
    display: grid;
    place-items: center;
    gap: 9px;
    padding: 18px;
    border: 2px dashed #cddce3;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.media-wizard__drop input,
.media-wizard__input {
    position: absolute;
    width: 1px !important;
    min-width: 0 !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    opacity: 0;
    pointer-events: none;
}

.media-wizard__button {
    width: max-content;
    min-width: 164px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 8px;
    background: var(--listora-navy) !important;
    color: #fff !important;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(15, 33, 48, 0.14);
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.media-wizard__drop:focus-within,
.media-wizard__drop:hover {
    border-color: var(--listora-accent);
    background: #f8fcfb;
    box-shadow: 0 16px 34px rgba(15, 139, 109, 0.12);
}

.media-wizard__drop:focus-within .media-wizard__button,
.media-wizard__drop:hover .media-wizard__button {
    background: var(--listora-accent-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(11, 96, 79, 0.22);
}

.media-wizard__drop strong[data-listora-media-count] {
    display: block;
    color: var(--listora-navy);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
}

.media-wizard__drop em {
    display: block;
    max-width: 560px;
    color: #66757f;
    font-size: 13px;
    font-style: normal;
    line-height: 1.45;
}

.media-wizard__preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.media-wizard__card {
    position: relative;
    min-height: 132px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #edf3f5;
    cursor: pointer;
}

.media-wizard__card img {
    width: 100%;
    height: 132px;
    display: block;
    object-fit: cover;
}

.media-wizard__card span {
    position: absolute;
    left: 8px;
    bottom: 8px;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 33, 48, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.media-wizard__card.is-primary {
    border-color: var(--listora-coral);
}

.media-wizard__card.is-primary span {
    background: var(--listora-coral);
}

@media (max-width: 760px) {
    .home-category-rail {
        grid-auto-columns: minmax(220px, 84vw);
    }

    .location-picker {
        grid-template-columns: 1fr;
    }

    .location-picker label,
    .location-picker button {
        grid-column: 1;
    }
}

/* Seller tools and premium form polish. */
.vehicle-condition-picker,
.vehicle-equipment-picker {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid #dfe9ee;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #f7fafb);
}

.vehicle-condition-picker h3,
.vehicle-equipment-picker h3 {
    margin: 0;
    color: var(--listora-navy);
    font-size: 20px;
}

.vehicle-condition-picker small {
    display: block;
    margin-top: 4px;
    color: #66757f;
    font-weight: 800;
}

.vehicle-condition-picker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.vehicle-condition-picker fieldset,
.vehicle-equipment-picker fieldset {
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #dfe8ed;
    border-radius: 8px;
    background: #fff;
}

.vehicle-condition-picker legend,
.vehicle-equipment-picker legend {
    padding: 0 8px;
    color: var(--listora-navy);
    font-weight: 900;
}

.vehicle-condition-picker fieldset > div,
.vehicle-equipment-picker__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.condition-choice,
.vehicle-equipment-picker__chips label {
    display: inline-flex !important;
    width: auto;
    gap: 0 !important;
    cursor: pointer;
}

.condition-choice input,
.vehicle-equipment-picker__chips input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.condition-choice span,
.vehicle-equipment-picker__chips span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #d8e3e9;
    border-radius: 999px;
    background: #f8fbfc;
    color: #5f6f79;
    font-size: 13px;
    font-weight: 900;
}

.condition-choice--original input:checked + span,
.vehicle-equipment-picker__chips input:checked + span {
    border-color: #17b865;
    background: #17b865;
    color: #fff;
}

.condition-choice--painted input:checked + span {
    border-color: #f4c542;
    background: #f4c542;
    color: #182533;
}

.condition-choice--changed input:checked + span {
    border-color: #f0524d;
    background: #f0524d;
    color: #fff;
}

.vehicle-condition-zone--front-bumper {
    top: 48px;
    width: 112px;
    height: 28px;
}

.vehicle-condition-zone--rear-bumper {
    top: 394px;
    width: 112px;
    height: 28px;
}

.dashboard-list--cards {
    gap: 14px;
}

.dashboard-listing-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid #dfe8ed;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(13, 31, 45, 0.06);
}

.dashboard-listing-card__media {
    min-height: 108px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f6f8;
}

.dashboard-listing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-listing-card__media span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--listora-navy);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
}

.dashboard-listing-card__form {
    display: grid;
    gap: 10px;
}

.dashboard-listing-card__top,
.dashboard-listing-card__actions,
.dashboard-listing-card__fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-listing-card__top span,
.dashboard-listing-card__top strong {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f6f8;
    color: #60707a;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.dashboard-listing-card__top strong {
    background: #eafaf0;
    color: #11874c;
}

.dashboard-listing-card label {
    display: grid;
    gap: 5px;
    color: #5e6d77;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-listing-card input,
.dashboard-listing-card select {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #dce5ea;
    border-radius: 8px;
    background: #f9fbfc;
    color: var(--listora-ink);
    font: inherit;
}

.dashboard-listing-card__fields label {
    flex: 1 1 170px;
}

.dashboard-listing-card__actions button,
.dashboard-listing-card__actions a,
.dashboard-listing-card__delete button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.dashboard-listing-card__actions button {
    background: var(--listora-navy);
    color: #fff;
}

.dashboard-listing-card__actions a {
    border: 1px solid #d8e3e9;
    background: #fff;
    color: var(--listora-navy);
}

.dashboard-listing-card__actions em {
    margin-left: auto;
    color: var(--listora-coral);
    font-style: normal;
    font-weight: 900;
}

.dashboard-listing-card__delete {
    display: flex;
    align-items: end;
}

.dashboard-listing-card__delete button {
    border: 1px solid #ffd4dc;
    background: #fff3f6;
    color: var(--listora-coral);
}

.auth-shell--premium {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
}

.auth-shell--premium .auth-card {
    position: relative;
    overflow: hidden;
    gap: 16px;
    padding: 28px;
}

.auth-card--login {
    background:
        linear-gradient(145deg, rgba(15, 139, 109, 0.08), transparent 48%),
        #fff;
}

.auth-card--login p:not(.eyebrow) {
    margin: -4px 0 4px;
    color: #5f6e78;
}

.auth-card--register {
    border-color: #dce7ec;
    background:
        linear-gradient(180deg, rgba(15, 139, 109, 0.05), transparent 36%),
        #fff;
    color: var(--listora-ink);
}

.auth-card__banner {
    margin: 0 0 4px;
    padding: 20px;
    border: 1px solid #dce7ec;
    border-left: 5px solid var(--listora-coral);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 86, 111, 0.08), transparent 46%),
        #f8fbfc;
}

.auth-card__banner h2 {
    margin: 0 0 8px;
    color: var(--listora-navy);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.12;
}

.auth-card__banner span {
    color: #5d6d77;
    font-weight: 800;
}

.auth-card--register label span {
    color: var(--listora-navy);
}

.auth-card--register input {
    border-color: #d8e4ea;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(13, 31, 45, 0.03);
}

.auth-card--register button {
    min-height: 50px;
    background: var(--listora-navy);
    box-shadow: 0 14px 28px rgba(13, 27, 42, 0.16);
}

.auth-card--register button:hover {
    background: var(--listora-accent-dark);
}

.inline-check {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    justify-content: start;
    color: #60707a;
}

.inline-check input {
    width: 22px;
    min-height: 22px;
}

.auth-shell--gate {
    display: block;
}

.seller-gate-card {
    max-width: 860px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 22px;
    align-items: center;
    padding: 30px;
    border: 1px solid #dce7ec;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(247, 86, 111, 0.08), transparent 42%),
        #fff;
    box-shadow: 0 24px 70px rgba(13, 31, 45, 0.1);
}

.seller-gate-card h1 {
    margin: 0 0 10px;
    color: var(--listora-navy);
    font-size: clamp(30px, 4vw, 46px);
}

.seller-gate-card p {
    margin: 0;
    color: #5e6e78;
}

.seller-gate-card ul {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 16px;
    border-radius: 8px;
    background: #f5f9fb;
    list-style: none;
    color: var(--listora-navy);
    font-weight: 900;
}

.seller-gate-card li::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--listora-accent);
}

.seller-gate-card .button {
    grid-column: 1 / -1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 0 22px;
    border-radius: 8px;
    text-decoration: none;
}

.home-section--categories {
    overflow: hidden;
}

.home-category-rail {
    display: flex;
    gap: 16px;
    margin-inline: -2px;
    padding: 4px 2px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-category-rail::-webkit-scrollbar {
    display: none;
}

.home-category-rail a {
    flex: 0 0 min(310px, 82vw);
    min-height: 150px;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    padding: 20px;
    border-color: #dce6eb;
    background:
        linear-gradient(145deg, rgba(15, 139, 109, 0.09), transparent 42%),
        linear-gradient(315deg, rgba(247, 86, 111, 0.08), transparent 46%),
        #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.home-category-rail a:hover {
    border-color: rgba(15, 139, 109, 0.32);
    transform: translateY(-2px);
    box-shadow: 0 22px 48px rgba(13, 31, 45, 0.12);
}

.home-category-rail span {
    width: 64px;
    height: 64px;
    background:
        linear-gradient(135deg, #0d1b2a, #17384a);
}

.home-category-rail strong {
    white-space: normal;
    font-size: 18px;
    line-height: 1.2;
}

.home-category-rail small {
    font-size: 13px;
}

.home-category-rail em {
    background: #eaf4f1;
    color: var(--listora-accent-dark);
}

.listing-card__badge--sold,
.listing-card__badge--reserved {
    right: 12px;
    left: auto;
}

.listing-card__badge--sold {
    background: #111f2d;
    box-shadow: 0 8px 20px rgba(17, 31, 45, 0.24);
}

.listing-card__badge--reserved {
    background: var(--listora-accent);
    box-shadow: 0 8px 20px rgba(15, 139, 109, 0.22);
}

@media (max-width: 860px) {
    .dashboard-listing-card {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .dashboard-listing-card__delete {
        grid-column: 2;
        justify-content: flex-start;
    }

    .seller-gate-card,
    .auth-shell--premium {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .dashboard-listing-card {
        grid-template-columns: 1fr;
    }

    .dashboard-listing-card__media {
        min-height: 160px;
    }

    .dashboard-listing-card__top,
    .dashboard-listing-card__actions,
    .dashboard-listing-card__fields {
        display: grid;
    }

    .dashboard-listing-card__delete {
        grid-column: 1;
    }

    .seller-gate-card {
        padding: 22px;
    }
}

/* Archive search, desktop category controls and profile upload polish. */
.advanced-filter {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    padding: 16px;
}

.advanced-filter__field {
    min-width: 0;
}

.advanced-filter__field--keyword {
    grid-column: span 4;
}

.advanced-filter__field--type {
    grid-column: span 3;
}

.advanced-filter__location {
    grid-column: span 5;
}

.advanced-filter__field--min,
.advanced-filter__field--max {
    grid-column: span 2;
}

.advanced-filter__field--sort,
.advanced-filter__submit {
    grid-column: span 4;
}

.advanced-filter__submit {
    align-self: end;
    width: 100%;
    white-space: nowrap;
}

.advanced-filter__location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 6px 10px;
    align-items: end;
}

.advanced-filter__location label {
    min-width: 0;
}

.advanced-filter__location button {
    min-width: 104px;
    padding-inline: 12px;
    background: var(--listora-navy);
    white-space: nowrap;
}

.advanced-filter__location small {
    grid-column: 1 / -1;
    min-height: 15px;
    color: #687781;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.home-category-shell {
    position: relative;
    margin-inline: 0;
    padding-inline: 0;
    overflow: hidden;
}

.home-category-nav {
    position: absolute;
    z-index: 30;
    top: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid #dce7ec;
    border-radius: 50%;
    background: #fff;
    color: var(--listora-navy);
    box-shadow: 0 16px 36px rgba(13, 31, 45, 0.14);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.home-category-nav--prev {
    left: 10px;
}

.home-category-nav--next {
    right: 10px;
}

.home-category-nav:hover {
    border-color: var(--listora-accent);
    background: var(--listora-navy);
    color: #fff;
}

.profile-photo-upload {
    align-content: start;
}

.profile-photo-upload input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.profile-photo-upload strong {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px dashed #cddce3;
    border-radius: 8px;
    background: #f8fbfc;
    color: var(--listora-navy);
    cursor: pointer;
}

.profile-photo-upload strong:hover {
    border-color: var(--listora-accent);
    background: #f3fbf8;
}

.profile-photo-upload img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-photo-upload b {
    font-size: 14px;
}

.profile-photo-upload em {
    color: #65747e;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.dashboard-user-card__photo-form {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
}

.dashboard-photo-picker {
    position: relative;
    display: grid;
    gap: 3px;
    min-width: 0;
    cursor: pointer;
}

.dashboard-photo-picker input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.dashboard-photo-picker strong {
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.dashboard-photo-picker small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.66);
    font-size: 11px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-user-card__photo-form button {
    min-height: 38px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--listora-navy);
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.home-section--categories {
    overflow: visible;
}

.home-category-rail {
    position: relative;
    z-index: 1;
    padding-right: 58px;
    padding-left: 58px;
    scroll-padding-inline: 58px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.footer-social a {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.footer-social a:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1040px) {
    .advanced-filter__field--keyword,
    .advanced-filter__field--type,
    .advanced-filter__location,
    .advanced-filter__field--min,
    .advanced-filter__field--max,
    .advanced-filter__field--sort {
        grid-column: span 6;
    }

    .advanced-filter__submit {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .home-category-nav {
        display: none;
    }

    .home-category-shell {
        margin-inline: 0;
        padding-inline: 0;
    }

    .home-category-rail {
        padding-right: 2px;
        padding-left: 2px;
        scroll-padding-inline: 0;
    }

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

    .advanced-filter__field--keyword,
    .advanced-filter__field--type,
    .advanced-filter__location,
    .advanced-filter__field--min,
    .advanced-filter__field--max,
    .advanced-filter__field--sort,
    .advanced-filter__submit {
        grid-column: 1 / -1;
    }

    .advanced-filter__location,
    .dashboard-user-card__photo-form {
        grid-template-columns: 1fr;
    }

    .advanced-filter__location button,
    .dashboard-user-card__photo-form button {
        width: 100%;
    }
}

/* Configurable Listora design systems. */
.site-header--balanced {
    background: var(--listora-coral);
}

.site-header--centered .site-header__inner {
    grid-template-columns: 1fr auto 1fr;
}

.site-header--centered .site-header__brand {
    justify-self: start;
}

.site-header--centered .site-nav {
    justify-self: center;
}

.site-header--centered .site-header__actions {
    justify-self: end;
}

.site-header--dealer {
    background: #102335;
    box-shadow: 0 14px 34px rgba(13, 31, 45, 0.2);
}

.site-header--dealer .site-brand__mark {
    background: #ffcf45;
    color: #102335;
}

.site-header--dealer .site-header__cta {
    border-color: #ffcf45;
    background: #ffcf45;
    color: #102335;
}

.site-header--minimal {
    border-bottom: 1px solid #dfe8ec;
    background: rgba(255, 255, 255, 0.96);
    color: var(--listora-navy);
    box-shadow: 0 8px 26px rgba(13, 31, 45, 0.06);
}

.site-header--minimal .site-brand,
.site-header--minimal .custom-logo-link,
.site-header--minimal .site-menu a,
.site-header--minimal .site-header__link {
    color: var(--listora-navy);
}

.site-header--minimal .site-brand__mark {
    background: var(--listora-accent);
    color: #fff;
}

.site-header--minimal .site-menu a:hover {
    background: #edf5f2;
    color: var(--listora-navy);
}

.site-header--minimal .site-header__cta {
    border-color: var(--listora-accent);
    background: var(--listora-accent);
    color: #fff;
}

.site-header--minimal .site-menu-toggle {
    border-color: #dce7ec;
    background: #f4f8fa;
}

.site-header--minimal .site-menu-toggle span {
    background: var(--listora-navy);
}

.site-main--front-automotive .hero-market {
    background:
        radial-gradient(circle at 72% 18%, rgba(255, 207, 69, 0.22), transparent 28%),
        linear-gradient(135deg, #102335 0%, #152f42 54%, #0d1b2a 100%);
}

.site-main--front-automotive .hero-market .eyebrow,
.site-main--front-automotive .hero-showcase__card span,
.site-main--front-automotive .section-heading .eyebrow {
    color: #ffcf45;
}

.site-main--front-automotive .hero-market .hero-search button,
.site-main--front-automotive .home-category-rail a::after {
    background: #ffcf45;
}

.site-main--front-automotive .hero-market .hero-search button {
    border-color: #ffcf45;
    color: #102335;
}

.site-main--front-real_estate .hero-market {
    background:
        radial-gradient(circle at 78% 22%, rgba(207, 229, 193, 0.32), transparent 28%),
        linear-gradient(135deg, #143828 0%, #1e6044 56%, #0f271f 100%);
}

.site-main--front-real_estate .hero-market .eyebrow,
.site-main--front-real_estate .section-heading .eyebrow {
    color: #cfe5c1;
}

.site-main--front-real_estate .home-category-rail a {
    background:
        linear-gradient(145deg, rgba(31, 122, 77, 0.12), transparent 42%),
        #fff;
}

.site-main--front-electronics .hero-market {
    background:
        radial-gradient(circle at 72% 18%, rgba(95, 212, 222, 0.24), transparent 28%),
        linear-gradient(135deg, #0d2530 0%, #0f4c5c 54%, #0b1d2b 100%);
}

.site-main--front-electronics .hero-market .eyebrow,
.site-main--front-electronics .section-heading .eyebrow {
    color: #81f0de;
}

.site-main--front-electronics .hero-market .hero-search button,
.site-main--front-electronics .home-category-rail a::after {
    background: #0f8b6d;
}

.site-main--front-electronics .home-category-rail a {
    background:
        linear-gradient(145deg, rgba(15, 139, 109, 0.12), transparent 42%),
        linear-gradient(315deg, rgba(95, 212, 222, 0.12), transparent 46%),
        #fff;
}

.home-section--categories {
    overflow: visible;
}

.home-category-shell {
    position: relative;
    margin-inline: -58px;
    padding-inline: 58px;
    overflow: visible;
}

.home-category-rail {
    position: relative;
    z-index: 1;
    padding: 4px 0 14px;
    scroll-padding-inline: 0;
}

.home-category-nav {
    position: absolute;
    z-index: 40;
    top: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #dce7ec;
    border-radius: 50%;
    background: #fff;
    color: var(--listora-navy);
    box-shadow: 0 18px 40px rgba(13, 31, 45, 0.18);
    font-size: 0;
    line-height: 1;
    transform: translateY(-50%);
    cursor: pointer;
}

.home-category-nav span {
    display: block;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px);
}

.home-category-nav--prev {
    left: 8px;
}

.home-category-nav--next {
    right: 8px;
}

.home-category-nav:hover {
    border-color: var(--listora-accent);
    background: var(--listora-navy);
    color: #fff;
}

.advanced-filter--layout-compact {
    grid-template-columns: 1.2fr 1fr 1fr .8fr .8fr .9fr auto;
    padding: 10px;
    border-radius: 12px;
}

.advanced-filter--layout-compact input,
.advanced-filter--layout-compact select,
.advanced-filter--layout-compact button {
    min-height: 38px;
}

.advanced-filter--layout-compact span,
.advanced-filter--layout-compact small {
    font-size: 11px;
}

.listing-browser--filter-left_sidebar,
.listing-browser--filter-right_sidebar {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.listing-browser--filter-right_sidebar {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.listing-browser--filter-left_sidebar .listing-browser__head,
.listing-browser--filter-right_sidebar .listing-browser__head {
    grid-column: 1 / -1;
    max-width: none;
}

.listing-browser--filter-left_sidebar .advanced-filter,
.listing-browser--filter-right_sidebar .advanced-filter {
    position: sticky;
    top: 96px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-self: start;
    padding: 16px;
}

.listing-browser--filter-left_sidebar .advanced-filter {
    grid-column: 1;
    grid-row: 2 / span 4;
}

.listing-browser--filter-right_sidebar .advanced-filter {
    grid-column: 2;
    grid-row: 2 / span 4;
}

.listing-browser--filter-left_sidebar .advanced-filter__field,
.listing-browser--filter-left_sidebar .advanced-filter__location,
.listing-browser--filter-left_sidebar .advanced-filter__submit,
.listing-browser--filter-right_sidebar .advanced-filter__field,
.listing-browser--filter-right_sidebar .advanced-filter__location,
.listing-browser--filter-right_sidebar .advanced-filter__submit {
    grid-column: 1 / -1;
}

.listing-browser--filter-left_sidebar .listing-toolbar,
.listing-browser--filter-left_sidebar .listing-grid,
.listing-browser--filter-left_sidebar .load-more-wrap,
.listing-browser--filter-left_sidebar .empty-state {
    grid-column: 2;
}

.listing-browser--filter-right_sidebar .listing-toolbar,
.listing-browser--filter-right_sidebar .listing-grid,
.listing-browser--filter-right_sidebar .load-more-wrap,
.listing-browser--filter-right_sidebar .empty-state {
    grid-column: 1;
}

.listing-browser--filter-left_sidebar .listing-toolbar,
.listing-browser--filter-right_sidebar .listing-toolbar {
    margin-top: 0;
}

@media (max-width: 1180px) {
    .home-category-shell {
        margin-inline: 0;
        padding-inline: 52px;
    }

    .home-category-nav--prev {
        left: 0;
    }

    .home-category-nav--next {
        right: 0;
    }
}

@media (max-width: 980px) {
    .site-header--centered .site-header__inner {
        grid-template-columns: auto auto;
    }

    .listing-browser--filter-left_sidebar,
    .listing-browser--filter-right_sidebar {
        display: block;
    }

    .listing-browser--filter-left_sidebar .advanced-filter,
    .listing-browser--filter-right_sidebar .advanced-filter {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 20px;
    }
}

@media (max-width: 760px) {
    .home-category-nav {
        display: none;
    }

    .home-category-shell {
        margin-inline: 0;
        padding-inline: 0;
    }

    .home-category-rail {
        padding-right: 2px;
        padding-left: 2px;
    }

    .listing-browser--filter-left_sidebar .advanced-filter,
    .listing-browser--filter-right_sidebar .advanced-filter {
        grid-template-columns: 1fr;
    }
}

/* Location privacy, listing comments and footer social panel polish. */
.site-footer__inner {
    grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(128px, 0.55fr)) minmax(280px, 1fr);
    align-items: start;
}

.footer-connect {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 48%),
        rgba(255, 255, 255, 0.04);
}

.footer-connect p {
    margin: 0;
}

.footer-social--icons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 6px;
}

.footer-social--icons a {
    min-height: 46px;
    justify-content: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

.footer-social__icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--listora-navy);
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
}

.footer-social--icons em {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-social__item--facebook .footer-social__icon {
    color: #1877f2;
}

.footer-social__item--instagram .footer-social__icon {
    color: #c13584;
}

.footer-social__item--x .footer-social__icon {
    color: #111;
}

.footer-social__item--linkedin .footer-social__icon {
    color: #0a66c2;
}

.footer-social__item--youtube .footer-social__icon {
    color: #ff0033;
}

.footer-social__item--whatsapp .footer-social__icon {
    color: #128c7e;
}

.comments-area {
    display: grid;
    gap: 18px;
}

.listing-comments-panel {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid #dfe6e9;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(13, 31, 45, 0.08);
}

.comments-area__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f3;
}

.comments-area__head h2,
.comment-reply-title {
    margin: 0;
    color: var(--listora-navy);
}

.comments-area__head span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #f2f6f8;
    color: var(--listora-navy);
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
}

.comment-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.comment-list .comment {
    padding: 16px;
    border: 1px solid #e2e9ed;
    border-radius: 10px;
    background: #fbfdfe;
}

.comment-body {
    display: grid;
    gap: 8px;
    color: #35434d;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--listora-navy);
    font-weight: 900;
}

.comment-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-meta a,
.reply a {
    color: var(--listora-accent-dark);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.comments-empty,
.comment-notes {
    margin: 0;
    color: var(--listora-muted);
}

.listing-comment-form {
    display: grid;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #edf1f3;
}

.listing-comment-form p {
    margin: 0;
}

.listing-comment-form label {
    display: block;
    margin-bottom: 6px;
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.listing-comment-form input,
.listing-comment-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8e1e6;
    border-radius: 8px;
    background: #f9fbfc;
    color: var(--listora-navy);
    font: inherit;
}

.listing-comment-form textarea {
    min-height: 126px;
    resize: vertical;
}

.listing-comment-form .submit {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--listora-accent);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 1120px) {
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .site-footer__inner,
    .footer-social--icons {
        grid-template-columns: 1fr;
    }

    .comments-area__head {
        display: grid;
    }
}

/* ThemeForest-grade blog system. */
.footer-social__icon svg {
    width: 17px;
    height: 17px;
    display: block;
}

.site-main--blog,
.site-main--article {
    width: 100%;
    padding-top: 0;
}

.site-main--blog > *,
.site-main--article > * {
    width: min(1180px, calc(100% - 28px));
    margin-right: auto;
    margin-left: auto;
}

.blog-hero,
.article-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
    padding: 44px 0 30px;
}

.blog-hero--compact {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.blog-hero__copy,
.article-hero {
    min-width: 0;
}

.blog-hero h1,
.article-hero h1 {
    max-width: 820px;
    margin: 8px 0 12px;
    color: var(--listora-navy);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.95;
    letter-spacing: 0;
}

.blog-hero p,
.article-hero p {
    max-width: 720px;
    color: var(--listora-muted);
    font-size: 18px;
    line-height: 1.65;
}

.blog-hero__panel {
    display: grid;
    align-content: end;
    gap: 12px;
    min-height: 280px;
    padding: 24px;
    border-radius: 10px;
    background:
        linear-gradient(145deg, rgba(247, 86, 111, 0.26), transparent 44%),
        #102335;
    color: #fff;
    box-shadow: 0 26px 72px rgba(13, 31, 45, 0.2);
}

.blog-hero__panel span {
    color: #ffcf45;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.blog-hero__panel strong {
    font-size: 27px;
    line-height: 1.08;
}

.blog-hero__panel small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.55;
}

.blog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    max-width: 640px;
    margin-top: 22px;
    padding: 8px;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(13, 31, 45, 0.08);
}

.blog-search input {
    min-height: 46px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: var(--listora-navy);
    font: inherit;
}

.blog-search button,
.blog-read-link,
.article-sidebar__card--dark a {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--listora-accent);
    color: #fff;
    font: inherit;
    font-weight: 900;
    text-decoration: none;
}

.blog-category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 22px;
    scrollbar-width: none;
}

.blog-category-strip::-webkit-scrollbar {
    display: none;
}

.blog-category-strip a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 0 14px;
    border: 1px solid #dce6eb;
    border-radius: 999px;
    background: #fff;
    color: var(--listora-navy);
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.blog-category-strip span {
    min-width: 26px;
    min-height: 26px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: #f0f5f7;
    color: var(--listora-accent-dark);
}

.blog-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 0;
    overflow: hidden;
    border: 1px solid #dce6eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(13, 31, 45, 0.1);
}

.blog-featured__media {
    min-height: 410px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(15, 139, 109, 0.18), transparent 44%),
        linear-gradient(315deg, rgba(247, 86, 111, 0.16), transparent 50%),
        #edf4f6;
    color: var(--listora-navy);
    text-decoration: none;
}

.blog-featured__media img,
.blog-index-card__media img,
.article-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-featured__media span,
.blog-index-card__media span,
.article-featured-image span {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #102335;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
}

.blog-featured__body {
    display: grid;
    align-content: center;
    gap: 16px;
    padding: 34px;
}

.blog-featured__body h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1;
}

.blog-featured__body h2 a,
.blog-index-card a,
.article-sidebar__card a {
    color: var(--listora-navy);
    text-decoration: none;
}

.blog-featured__body p {
    margin: 0;
    color: var(--listora-muted);
    line-height: 1.65;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-meta span {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f7;
    color: var(--listora-muted);
    font-size: 12px;
    font-weight: 900;
}

.blog-section {
    padding: 48px 0 0;
}

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

.blog-index-card a,
.blog-index-card {
    display: grid;
    overflow: hidden;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(13, 31, 45, 0.08);
}

.blog-index-card__media {
    height: 188px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(247, 86, 111, 0.12), transparent 48%),
        #eef4f6;
}

.blog-index-card__body {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.blog-index-card small {
    color: var(--listora-coral);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.blog-index-card h3,
.blog-index-card h2 {
    margin: 0;
    color: var(--listora-navy);
    font-size: 22px;
    line-height: 1.12;
}

.blog-index-card p {
    margin: 0;
    color: var(--listora-muted);
    line-height: 1.55;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 26px;
    align-items: start;
}

.article-hero {
    display: block;
    max-width: 880px;
    margin: 0 auto;
}

.article-main {
    min-width: 0;
}

.article-featured-image {
    height: min(560px, 52vw);
    min-height: 300px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(15, 139, 109, 0.18), transparent 48%),
        #edf4f6;
}

.article-content {
    margin-top: 24px;
    padding: 28px;
    border: 1px solid #dce6eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(13, 31, 45, 0.06);
}

.article-content p {
    color: #34434e;
    font-size: 18px;
    line-height: 1.8;
}

.article-sidebar {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.article-sidebar__card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid #dce6eb;
    border-radius: 10px;
    background: #fff;
}

.article-sidebar__card strong {
    color: var(--listora-navy);
}

.article-sidebar__card a {
    font-weight: 900;
}

.article-sidebar__card--dark {
    border-color: transparent;
    background: #102335;
    color: #fff;
}

.article-sidebar__card--dark strong,
.article-sidebar__card--dark p {
    color: #fff;
}

@media (max-width: 980px) {
    .blog-hero,
    .blog-featured,
    .article-layout {
        grid-template-columns: 1fr;
    }

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

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 680px) {
    .blog-search,
    .blog-index-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero h1,
    .article-hero h1 {
        font-size: 40px;
    }
}
