/**
 * JPJ Inventory Core v0.4.0 — Private Frontend Preview
 * Bright JPJ navy / orange / white visual system.
 */

html {
    scroll-behavior:smooth;
}

body.jpj-preview-body {
    margin:0;
    background:#f8fafc;
    color:var(--jpj-text);
    font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
}

.jpj-preview-body * {
    box-sizing:border-box;
}

.jpj-preview-devbar {
    background:#061547;
    color:#dce6ff;
    font-size:12px;
}

.jpj-preview-devbar-inner {
    width:min(calc(100% - 32px),var(--jpj-container));
    min-height:38px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
}

.jpj-preview-devbar strong {
    color:#ff922b;
    letter-spacing:.06em;
}

.jpj-preview-devbar a {
    color:#fff;
    font-weight:800;
    text-decoration:none;
}

.jpj-preview-header {
    position:sticky;
    top:0;
    z-index:20;
    border-bottom:1px solid rgba(8,28,94,.08);
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(14px);
}

.jpj-preview-header-inner {
    min-height:82px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.jpj-preview-brand {
    display:flex;
    align-items:center;
    gap:11px;
    color:#081c5e;
    text-decoration:none;
}

.jpj-preview-brand.has-logo {
    min-width:0;
}

.jpj-preview-brand-logo {
    display:block;
    width:auto;
    height:62px;
    max-width:285px;
    object-fit:contain;
}

.jpj-preview-brand-mark {
    display:grid;
    place-items:center;
    width:58px;
    height:46px;
    border-radius:13px 5px 13px 5px;
    background:linear-gradient(135deg,#081c5e 0 48%,#ef233c 48% 100%);
    color:#fff;
    font-size:22px;
    font-weight:1000;
    font-style:italic;
    box-shadow:0 9px 20px rgba(8,28,94,.15);
}

.jpj-preview-brand strong,
.jpj-preview-brand small {
    display:block;
}

.jpj-preview-brand strong {
    font-size:15px;
    letter-spacing:.08em;
}

.jpj-preview-brand small {
    margin-top:3px;
    color:#f58220;
    font-size:8px;
    font-weight:900;
    letter-spacing:.11em;
}

.jpj-preview-nav {
    display:flex;
    align-items:center;
    gap:8px;
}

.jpj-preview-nav a {
    position:relative;
    padding:10px 11px;
    border-radius:9px;
    color:#344054;
    font-size:13px;
    font-weight:800;
    text-decoration:none;
}

.jpj-preview-nav a:hover,
.jpj-preview-nav a.is-active {
    background:#fff1e5;
    color:#081c5e;
}

.jpj-preview-nav a.is-active:after {
    content:"";
    position:absolute;
    left:11px;
    right:11px;
    bottom:5px;
    height:2px;
    border-radius:99px;
    background:#f58220;
}

.jpj-preview-hero {
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 88% 20%,rgba(245,130,32,.25),transparent 23%),
        radial-gradient(circle at 70% 115%,rgba(47,123,244,.22),transparent 28%),
        linear-gradient(128deg,#061547 0%,#081c5e 52%,#0e2a75 100%);
}

.jpj-preview-hero:before,
.jpj-preview-hero:after {
    content:"";
    position:absolute;
    border-radius:50%;
    pointer-events:none;
}

.jpj-preview-hero:before {
    width:330px;
    height:330px;
    right:-145px;
    top:-130px;
    border:60px solid rgba(255,255,255,.045);
}

.jpj-preview-hero:after {
    width:160px;
    height:160px;
    right:18%;
    bottom:-95px;
    border:28px solid rgba(245,130,32,.12);
}

.jpj-preview-hero-grid {
    position:relative;
    z-index:2;
    min-height:500px;
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
    align-items:center;
    gap:70px;
    padding-top:70px;
    padding-bottom:70px;
}

.jpj-preview-hero-copy {
    max-width:740px;
}

.jpj-preview-eyebrow {
    display:inline-flex;
    align-items:center;
    gap:9px;
    color:#ffb066;
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
}

.jpj-preview-eyebrow:before {
    content:"";
    width:30px;
    height:4px;
    border-radius:99px;
    background:linear-gradient(90deg,#ef233c,#f58220);
}

.jpj-preview-hero h1 {
    margin:17px 0 20px;
    max-width:720px;
    color:#fff;
    font-size:clamp(44px,6vw,76px);
    line-height:.98;
    letter-spacing:-.055em;
}

.jpj-preview-hero-copy p {
    max-width:650px;
    margin:0;
    color:#cbd6ee;
    font-size:17px;
    line-height:1.75;
}

.jpj-preview-hero-actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:31px;
}

.jpj-preview-hero-actions .jpj-btn-accent {
    color:#061547;
}

.jpj-preview-hero-panel {
    position:relative;
    overflow:hidden;
    padding:31px;
    border:1px solid rgba(255,255,255,.19);
    border-radius:26px;
    background:linear-gradient(155deg,rgba(255,255,255,.17),rgba(255,255,255,.075));
    color:#fff;
    box-shadow:0 28px 70px rgba(0,0,0,.2);
    backdrop-filter:blur(15px);
}

.jpj-preview-hero-panel:after {
    content:"";
    position:absolute;
    width:140px;
    height:140px;
    right:-60px;
    top:-55px;
    border-radius:50%;
    background:rgba(245,130,32,.17);
}

.jpj-preview-panel-label {
    display:block;
    color:#ffb066;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.jpj-preview-hero-panel > strong {
    display:block;
    margin-top:12px;
    font-size:76px;
    line-height:.95;
    letter-spacing:-.06em;
}

.jpj-preview-hero-panel > span:not(.jpj-preview-panel-label) {
    display:block;
    margin-top:7px;
    color:#dce6f7;
    font-size:14px;
}

.jpj-preview-panel-stats {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
    margin-top:27px;
}

.jpj-preview-panel-stats div {
    padding:13px 10px;
    border:1px solid rgba(255,255,255,.11);
    border-radius:13px;
    background:rgba(255,255,255,.07);
}

.jpj-preview-panel-stats b,
.jpj-preview-panel-stats small {
    display:block;
}

.jpj-preview-panel-stats b {
    font-size:20px;
}

.jpj-preview-panel-stats small {
    margin-top:3px;
    color:#c2cde2;
    font-size:9px;
}

.jpj-preview-trust {
    border-bottom:1px solid var(--jpj-line-soft);
    background:#fff;
}

.jpj-preview-trust-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
}

.jpj-preview-trust-grid > div {
    position:relative;
    min-height:126px;
    padding:28px 31px 28px 60px;
    border-right:1px solid var(--jpj-line-soft);
}

.jpj-preview-trust-grid > div:last-child {
    border-right:0;
}

.jpj-preview-trust-grid span {
    position:absolute;
    left:18px;
    top:27px;
    color:#f58220;
    font-size:12px;
    font-weight:1000;
}

.jpj-preview-trust-grid strong,
.jpj-preview-trust-grid small {
    display:block;
}

.jpj-preview-trust-grid strong {
    color:#081c5e;
    font-size:14px;
}

.jpj-preview-trust-grid small {
    margin-top:7px;
    color:#667085;
    font-size:11px;
    line-height:1.55;
}

.jpj-preview-inventory {
    min-height:640px;
    background:
        radial-gradient(circle at 10% 10%,rgba(245,130,32,.06),transparent 21%),
        linear-gradient(180deg,#f8fafc,#fff);
}

.jpj-preview-section-head {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:31px;
}

.jpj-preview-section-head > div:first-child {
    max-width:760px;
}

.jpj-preview-section-head p {
    max-width:680px;
    margin:14px 0 0;
    color:#667085;
    font-size:14px;
    line-height:1.7;
}

.jpj-preview-count-pills {
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:7px;
}

.jpj-preview-count-pills span {
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 11px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
}

.jpj-preview-count-pills .is-available {
    background:#eaf8ef;
    color:#14713d;
}

.jpj-preview-count-pills .is-reserved {
    background:#fff1e5;
    color:#a75008;
}

.jpj-preview-count-pills .is-sold {
    background:#fff0f2;
    color:#b7192b;
}


.jpj-inventory-search {
    margin-bottom:18px;
    padding:17px;
    border:1px solid #e3e8ef;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(8,28,94,.055);
}

.jpj-search-primary {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(210px,.32fr) auto;
    gap:10px;
    align-items:end;
}

.jpj-search-box,
.jpj-sort-box,
.jpj-filter-grid label {
    display:block;
}

.jpj-search-box > span,
.jpj-sort-box > span,
.jpj-filter-grid label > span {
    display:block;
    margin-bottom:7px;
    color:#465468;
    font-size:9px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.jpj-search-box input,
.jpj-sort-box select,
.jpj-filter-grid input,
.jpj-filter-grid select {
    width:100%;
    min-height:46px;
    padding:9px 12px;
    border:1px solid #dce3ec;
    border-radius:11px;
    background:#fbfcfe;
    color:#17243a;
    box-shadow:none;
    font:inherit;
}

.jpj-search-box input:focus,
.jpj-sort-box select:focus,
.jpj-filter-grid input:focus,
.jpj-filter-grid select:focus {
    border-color:#2f7bf4;
    outline:0;
    box-shadow:0 0 0 4px rgba(47,123,244,.10);
}

.jpj-search-submit {
    min-height:46px;
    padding:0 18px;
    border:0;
    border-radius:11px;
    background:linear-gradient(135deg,#ef233c,#d71930);
    color:#fff;
    box-shadow:0 10px 23px rgba(239,35,60,.20);
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}

.jpj-filter-panel {
    margin-top:12px;
    border-top:1px solid #edf0f4;
}

.jpj-filter-panel summary {
    display:flex;
    align-items:center;
    gap:9px;
    min-height:43px;
    padding-top:10px;
    color:#081c5e;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
    list-style:none;
}

.jpj-filter-panel summary::-webkit-details-marker {
    display:none;
}

.jpj-filter-panel summary:before {
    content:"+";
    display:grid;
    place-items:center;
    width:24px;
    height:24px;
    border-radius:7px;
    background:#fff1e5;
    color:#f58220;
    font-size:18px;
    line-height:1;
}

.jpj-filter-panel[open] summary:before {
    content:"−";
}

.jpj-filter-panel summary b {
    padding:4px 7px;
    border-radius:999px;
    background:#eef5ff;
    color:#1454b8;
    font-size:8px;
}

.jpj-filter-panel summary small {
    color:#8a95a5;
    font-size:9px;
    font-weight:700;
}

.jpj-filter-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    padding:12px 0 3px;
}

.jpj-filter-actions {
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:12px;
}

.jpj-filter-actions button,
.jpj-filter-actions a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:39px;
    padding:0 13px;
    border-radius:10px;
    font-size:10px;
    font-weight:900;
    text-decoration:none;
}

.jpj-filter-actions button {
    border:0;
    background:#081c5e;
    color:#fff;
    cursor:pointer;
}

.jpj-filter-actions a {
    border:1px solid #dce3ec;
    background:#fff;
    color:#344054;
}

.jpj-results-bar {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:0 1px 18px;
    color:#667085;
    font-size:10px;
}

.jpj-results-bar > div {
    display:flex;
    align-items:baseline;
    gap:6px;
}

.jpj-results-bar strong {
    color:#081c5e;
    font-size:18px;
}

.jpj-results-context {
    padding:6px 9px;
    border-radius:999px;
    background:#f3f6fa;
    color:#667085;
    font-weight:800;
}


.jpj-preview-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    align-items:stretch;
}

.jpj-preview-grid.is-count-1 {
    grid-template-columns:minmax(0,560px);
    justify-content:center;
}

.jpj-preview-grid.is-count-2 {
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:1040px;
    margin-inline:auto;
}

.jpj-preview-grid.is-count-3 {
    grid-template-columns:repeat(3,minmax(0,1fr));
}

.jpj-preview-card {
    overflow:hidden;
    border:1px solid #e6eaf0;
    border-radius:24px;
    background:#fff;
    box-shadow:0 16px 42px rgba(8,28,94,.09);
    transition:transform .2s ease,box-shadow .2s ease;
}

.jpj-preview-card:hover {
    transform:translateY(-4px);
    box-shadow:0 22px 48px rgba(8,28,94,.13);
}

.jpj-preview-card.is-sold {
    background:#fbfbfc;
}

.jpj-preview-card-media {
    position:relative;
    height:260px;
    overflow:hidden;
    background:#e9edf3;
}

.jpj-preview-card-media:after {
    content:"";
    position:absolute;
    inset:auto 0 0;
    height:45%;
    background:linear-gradient(transparent,rgba(6,21,71,.42));
    pointer-events:none;
}

.jpj-preview-card-media img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s var(--jpj-ease);
}

.jpj-preview-card:hover .jpj-preview-card-media img {
    transform:scale(1.035);
}

.jpj-preview-no-image {
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    align-content:center;
    gap:4px;
    background:linear-gradient(135deg,#eaf0f8,#dfe8f5);
    color:#081c5e;
}

.jpj-preview-no-image span {
    font-size:34px;
    font-weight:1000;
    font-style:italic;
}

.jpj-preview-no-image small {
    color:#667085;
}

.jpj-preview-card-badges {
    position:absolute;
    z-index:2;
    left:14px;
    right:14px;
    top:14px;
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.jpj-preview-status,
.jpj-preview-new,
.jpj-preview-featured {
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:0 9px;
    border-radius:999px;
    font-size:9px;
    font-weight:1000;
    box-shadow:0 6px 16px rgba(0,0,0,.12);
}

.jpj-preview-status.is-available {
    background:#eaf8ef;
    color:#0f743a;
}

.jpj-preview-status.is-reserved {
    background:#fff1e5;
    color:#a65008;
}

.jpj-preview-status.is-sold {
    background:#ef233c;
    color:#fff;
}

.jpj-preview-new {
    background:#f58220;
    color:#061547;
}

.jpj-preview-featured {
    background:#fff;
    color:#0e2a75;
}

.jpj-preview-card-body {
    padding:22px;
}

.jpj-preview-card-meta {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.jpj-preview-card-meta span {
    position:relative;
    color:#7a8697;
    font-size:9px;
    font-weight:800;
}

.jpj-preview-card-meta span:not(:last-child):after {
    content:"•";
    margin-left:7px;
    color:#f58220;
}

.jpj-preview-card h3 {
    margin:9px 0 18px;
    color:#101828;
    font-size:21px;
    line-height:1.25;
    letter-spacing:-.025em;
}

.jpj-preview-card-specs {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}

.jpj-preview-card-specs div {
    min-height:59px;
    padding:10px 11px;
    border:1px solid #e8edf3;
    border-radius:11px;
    background:#f9fbfd;
}

.jpj-preview-card-specs small,
.jpj-preview-card-specs strong {
    display:block;
}

.jpj-preview-card-specs small {
    color:#8a95a5;
    font-size:8px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.jpj-preview-card-specs strong {
    margin-top:5px;
    color:#344054;
    font-size:11px;
}

.jpj-preview-card-bottom {
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:15px;
    margin-top:19px;
    padding-top:17px;
    border-top:1px solid #edf0f4;
}

.jpj-preview-price small,
.jpj-preview-price strong {
    display:block;
}

.jpj-preview-price small {
    color:#8a95a5;
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
}

.jpj-preview-price strong {
    margin-top:3px;
    color:#081c5e;
    font-size:23px;
    letter-spacing:-.035em;
}

.jpj-preview-card-bottom > a {
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:41px;
    padding:0 15px;
    border-radius:999px;
    background:#ef233c;
    color:#fff;
    box-shadow:0 9px 22px rgba(239,35,60,.20);
    font-size:10px;
    font-weight:900;
    text-decoration:none;
}

.jpj-preview-card-bottom > a span {
    font-size:15px;
}

.jpj-preview-sold-action {
    display:inline-flex;
    align-items:center;
    min-height:37px;
    padding:0 12px;
    border-radius:999px;
    background:#fff0f2;
    color:#ba1b2d;
    font-size:10px;
    font-weight:900;
}

.jpj-preview-roadmap-note {
    display:flex;
    align-items:flex-start;
    gap:14px;
    margin-top:34px;
    padding:18px 20px;
    border:1px solid #ffe0bf;
    border-radius:15px;
    background:#fff9f2;
}

.jpj-preview-roadmap-note > span {
    flex:0 0 auto;
    padding:6px 9px;
    border-radius:999px;
    background:#f58220;
    color:#061547;
    font-size:9px;
    font-weight:1000;
}

.jpj-preview-roadmap-note strong,
.jpj-preview-roadmap-note p {
    display:block;
    margin:0;
}

.jpj-preview-roadmap-note strong {
    color:#081c5e;
    font-size:12px;
}

.jpj-preview-roadmap-note p {
    margin-top:4px;
    color:#7a8697;
    font-size:10px;
    line-height:1.55;
}

.jpj-preview-empty {
    padding:60px 25px;
    border:1px dashed #ccd5e2;
    border-radius:20px;
    background:#fff;
    text-align:center;
}

.jpj-preview-empty span {
    color:#f58220;
    font-size:10px;
    font-weight:1000;
    letter-spacing:.08em;
}

.jpj-preview-empty h3 {
    max-width:600px;
    margin:10px auto 24px;
    color:#081c5e;
    font-size:26px;
}

.jpj-preview-footer {
    border-top:5px solid #f58220;
    background:#061547;
    color:#dce5f7;
}

.jpj-preview-footer-grid {
    min-height:150px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.jpj-preview-footer strong,
.jpj-preview-footer span,
.jpj-preview-footer a {
    display:block;
}

.jpj-preview-footer strong {
    color:#fff;
    font-size:17px;
}

.jpj-preview-footer span {
    margin-top:6px;
    color:#aebdd6;
    font-size:11px;
}

.jpj-preview-footer a {
    margin:5px 0;
    color:#fff;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}

@media(max-width:1050px) {
    .jpj-preview-hero-grid {
        grid-template-columns:1fr .72fr;
        gap:35px;
    }

    .jpj-preview-grid,
    .jpj-preview-grid.is-count-2,
    .jpj-preview-grid.is-count-3 {
        grid-template-columns:repeat(2,minmax(0,1fr));
        max-width:none;
    }
}

@media(max-width:980px) {
    .jpj-search-primary {
        grid-template-columns:minmax(0,1fr) minmax(190px,.4fr);
    }

    .jpj-search-submit {
        grid-column:1 / -1;
    }

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

@media(max-width:820px) {
    .jpj-preview-brand-logo {
        height:56px;
        max-width:250px;
    }

    .jpj-preview-header-inner {
        align-items:flex-start;
        flex-direction:column;
        padding-top:14px;
        padding-bottom:13px;
    }

    .jpj-preview-header {
        position:relative;
    }

    .jpj-preview-nav {
        width:100%;
        overflow-x:auto;
        padding-bottom:2px;
    }

    .jpj-preview-nav a {
        white-space:nowrap;
    }

    .jpj-preview-hero-grid {
        grid-template-columns:1fr;
        min-height:auto;
        padding-top:58px;
        padding-bottom:58px;
    }

    .jpj-preview-hero-panel {
        max-width:520px;
    }

    .jpj-preview-trust-grid {
        grid-template-columns:1fr;
    }

    .jpj-preview-trust-grid > div {
        border-right:0;
        border-bottom:1px solid var(--jpj-line-soft);
    }

    .jpj-preview-trust-grid > div:last-child {
        border-bottom:0;
    }

    .jpj-preview-section-head {
        align-items:flex-start;
        flex-direction:column;
    }

    .jpj-preview-count-pills {
        justify-content:flex-start;
    }
}

@media(max-width:640px) {
    .jpj-search-primary {
        grid-template-columns:1fr;
    }

    .jpj-search-submit {
        grid-column:auto;
        width:100%;
    }

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

    .jpj-filter-actions {
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .jpj-filter-actions button,
    .jpj-filter-actions a {
        width:100%;
    }

    .jpj-results-bar {
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
    }

    .jpj-inventory-search {
        padding:14px;
        border-radius:15px;
    }

    .jpj-preview-brand-logo {
        height:49px;
        max-width:220px;
    }

    .jpj-preview-devbar-inner {
        align-items:flex-start;
        flex-direction:column;
        padding-top:9px;
        padding-bottom:9px;
    }

    .jpj-preview-brand-mark {
        width:50px;
        height:41px;
    }

    .jpj-preview-hero h1 {
        font-size:43px;
    }

    .jpj-preview-hero-copy p {
        font-size:15px;
    }

    .jpj-preview-hero-actions {
        display:grid;
        grid-template-columns:1fr;
    }

    .jpj-preview-hero-actions a {
        width:100%;
    }

    .jpj-preview-panel-stats {
        grid-template-columns:1fr 1fr 1fr;
    }

    .jpj-preview-grid,
    .jpj-preview-grid.is-count-1,
    .jpj-preview-grid.is-count-2,
    .jpj-preview-grid.is-count-3 {
        grid-template-columns:1fr;
        max-width:none;
    }

    .jpj-preview-card-media {
        height:235px;
    }

    .jpj-preview-footer-grid {
        align-items:flex-start;
        flex-direction:column;
        justify-content:center;
        padding-top:30px;
        padding-bottom:30px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }

    .jpj-preview-card,
    .jpj-preview-card-media img {
        transition:none!important;
    }
}


/* =========================================================
   v0.6.0 — Dedicated Single-Vehicle Experience
   ========================================================= */

.jpj-preview-card-media-link {
    display:block;
    width:100%;
    height:100%;
    color:inherit;
    text-decoration:none;
}

.jpj-preview-card h3 a {
    color:inherit;
    text-decoration:none;
}

.jpj-preview-card h3 a:hover {
    color:#0e2a75;
}

.jpj-detail-main {
    min-height:70vh;
    background:
        radial-gradient(circle at 8% 5%,rgba(245,130,32,.07),transparent 24%),
        linear-gradient(180deg,#f7f9fc,#fff);
}

.jpj-detail-top {
    padding-top:34px;
    padding-bottom:38px;
}

.jpj-detail-breadcrumb {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
    color:#7a8697;
    font-size:10px;
    font-weight:800;
}

.jpj-detail-breadcrumb a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 15px;
    border:1px solid #dce4ee;
    border-radius:999px;
    background:#fff;
    color:#0e2a75;
    box-shadow:0 8px 22px rgba(8,28,94,.08);
    text-decoration:none;
    font-size:11px;
    font-weight:900;
    letter-spacing:.01em;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,background .18s ease;
}

.jpj-detail-breadcrumb a:hover {
    transform:translateY(-1px);
    border-color:#f2a0aa;
    background:#fff7f8;
    color:#d71930;
    box-shadow:0 11px 28px rgba(8,28,94,.12);
}

.jpj-detail-layout {
    display:grid;
    grid-template-columns:minmax(0,1.28fr) minmax(330px,.72fr);
    gap:28px;
    align-items:start;
}

.jpj-detail-gallery,
.jpj-detail-summary-card,
.jpj-detail-section-card,
.jpj-detail-contact-panel > div {
    border:1px solid #e4e9f0;
    background:#fff;
    box-shadow:0 18px 48px rgba(8,28,94,.08);
}

.jpj-detail-gallery {
    overflow:hidden;
    border-radius:24px;
}

.jpj-detail-main-image-wrap {
    position:relative;
    min-height:520px;
    overflow:hidden;
    background:#e8edf4;
}

.jpj-detail-main-image-button {
    display:block;
    width:100%;
    height:100%;
    min-height:520px;
    padding:0;
    border:0;
    background:none;
    cursor:default;
}

.jpj-detail-main-image-button img {
    display:block;
    width:100%;
    height:520px;
    object-fit:cover;
}

.jpj-detail-expand {
    position:absolute;
    right:18px;
    bottom:18px;
    z-index:3;
    display:inline-flex;
    align-items:center;
    min-height:36px;
    padding:0 12px;
    border-radius:999px;
    border:0;
    background:rgba(6,21,71,.88);
    color:#fff;
    font-size:9px;
    font-weight:900;
    cursor:pointer;
    backdrop-filter:blur(8px);
}

.jpj-detail-no-image {
    min-height:520px;
    display:grid;
    place-items:center;
    align-content:center;
    gap:6px;
    background:linear-gradient(135deg,#e9eff7,#dfe8f4);
    color:#081c5e;
}

.jpj-detail-no-image strong {
    font-size:48px;
    font-style:italic;
}

.jpj-detail-no-image span {
    color:#667085;
    font-size:12px;
}

.jpj-detail-gallery-badges {
    position:absolute;
    top:18px;
    left:18px;
    z-index:4;
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.jpj-detail-thumbnails {
    display:flex;
    gap:10px;
    padding:13px;
    overflow-x:auto;
    scrollbar-width:thin;
}

.jpj-detail-thumb {
    flex:0 0 94px;
    height:70px;
    overflow:hidden;
    padding:0;
    border:2px solid transparent;
    border-radius:11px;
    background:#eef2f7;
    cursor:pointer;
}

.jpj-detail-thumb.is-active {
    border-color:#f58220;
    box-shadow:0 0 0 3px rgba(245,130,32,.12);
}

.jpj-detail-thumb img {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}

.jpj-detail-summary {
    position:sticky;
    top:105px;
}

.jpj-detail-summary-card {
    padding:27px;
    border-radius:24px;
}

.jpj-detail-meta-pills {
    display:flex;
    flex-wrap:wrap;
    gap:7px;
}

.jpj-detail-meta-pills span {
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:0 9px;
    border-radius:999px;
    background:#f1f5fb;
    color:#526177;
    font-size:9px;
    font-weight:900;
}

.jpj-detail-summary h1 {
    margin:16px 0 20px;
    color:#081c5e;
    font-size:clamp(30px,3.5vw,46px);
    line-height:1.03;
    letter-spacing:-.045em;
}

.jpj-detail-price {
    padding:19px 0;
    border-top:1px solid #edf0f4;
    border-bottom:1px solid #edf0f4;
}

.jpj-detail-price small,
.jpj-detail-price strong {
    display:block;
}

.jpj-detail-price small {
    color:#8a95a5;
    font-size:9px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.jpj-detail-price strong {
    margin-top:4px;
    color:#081c5e;
    font-size:38px;
    letter-spacing:-.045em;
}

.jpj-detail-key-facts {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:17px;
}

.jpj-detail-key-facts div {
    min-height:62px;
    padding:11px;
    border:1px solid #e7ebf1;
    border-radius:12px;
    background:#f9fbfd;
}

.jpj-detail-key-facts small,
.jpj-detail-key-facts strong {
    display:block;
}

.jpj-detail-key-facts small {
    color:#8a95a5;
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
}

.jpj-detail-key-facts strong {
    margin-top:5px;
    color:#344054;
    font-size:11px;
}

.jpj-detail-actions {
    display:grid;
    gap:9px;
    margin-top:18px;
}

.jpj-detail-actions a {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 14px;
    border-radius:12px;
    font-size:11px;
    font-weight:900;
    text-decoration:none;
}

.jpj-detail-action-primary {
    background:linear-gradient(135deg,#ef233c,#d71930);
    color:#fff;
    box-shadow:0 11px 24px rgba(239,35,60,.20);
}

.jpj-detail-action-call {
    border:1px solid #d8e0eb;
    background:#fff;
    color:#081c5e;
}

.jpj-detail-action-whatsapp {
    background:#eaf8ef;
    color:#126f39;
}

.jpj-detail-sold-note,
.jpj-detail-reserved-note {
    margin-top:16px;
    padding:13px 14px;
    border-radius:12px;
}

.jpj-detail-sold-note {
    background:#fff0f2;
    color:#9d1828;
}

.jpj-detail-reserved-note {
    background:#fff4e8;
    color:#92500e;
}

.jpj-detail-sold-note strong,
.jpj-detail-sold-note span,
.jpj-detail-reserved-note strong,
.jpj-detail-reserved-note span {
    display:block;
}

.jpj-detail-sold-note strong,
.jpj-detail-reserved-note strong {
    font-size:11px;
}

.jpj-detail-sold-note span,
.jpj-detail-reserved-note span {
    margin-top:4px;
    font-size:9px;
    line-height:1.5;
}

.jpj-detail-dealer-note {
    margin-top:20px;
    padding-top:17px;
    border-top:1px solid #edf0f4;
}

.jpj-detail-dealer-note strong,
.jpj-detail-dealer-note span,
.jpj-detail-dealer-note small {
    display:block;
}

.jpj-detail-dealer-note strong {
    color:#081c5e;
    font-size:11px;
}

.jpj-detail-dealer-note span {
    margin-top:4px;
    color:#667085;
    font-size:9px;
    line-height:1.5;
}

.jpj-detail-dealer-note small {
    margin-top:5px;
    color:#f58220;
    font-size:8px;
    font-weight:900;
}

.jpj-detail-content {
    padding-top:26px;
    padding-bottom:54px;
}

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

.jpj-detail-main-content {
    display:grid;
    gap:20px;
}

.jpj-detail-section-card {
    padding:28px;
    border-radius:21px;
}

.jpj-detail-section-card h2,
.jpj-detail-contact-panel h2 {
    margin:9px 0 20px;
    color:#081c5e;
    font-size:28px;
    letter-spacing:-.035em;
}

.jpj-detail-spec-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}

.jpj-detail-spec-grid > div {
    min-height:76px;
    padding:13px;
    border:1px solid #e6ebf1;
    border-radius:12px;
    background:#f9fbfd;
}

.jpj-detail-spec-grid small,
.jpj-detail-spec-grid strong {
    display:block;
}

.jpj-detail-spec-grid small {
    color:#8a95a5;
    font-size:8px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}

.jpj-detail-spec-grid strong {
    margin-top:6px;
    color:#27364b;
    font-size:12px;
    line-height:1.35;
    overflow-wrap:anywhere;
}

.jpj-detail-spec-wide {
    grid-column:span 2;
}

.jpj-detail-description {
    color:#526177;
    font-size:13px;
    line-height:1.8;
}

.jpj-detail-description p {
    margin:0;
}

.jpj-detail-features {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
}

.jpj-detail-features span {
    position:relative;
    min-height:43px;
    display:flex;
    align-items:center;
    padding:0 12px 0 31px;
    border:1px solid #e5eaf0;
    border-radius:11px;
    background:#fff;
    color:#344054;
    font-size:10px;
    font-weight:800;
}

.jpj-detail-features span:before {
    content:"✓";
    position:absolute;
    left:11px;
    color:#17a65a;
    font-weight:1000;
}

.jpj-detail-contact-panel {
    position:sticky;
    top:105px;
}

.jpj-detail-contact-panel > div {
    padding:23px;
    border-radius:20px;
    background:
        radial-gradient(circle at 110% 0,rgba(245,130,32,.18),transparent 32%),
        #061547;
    color:#fff;
}

.jpj-detail-contact-panel h2 {
    color:#fff;
}

.jpj-detail-contact-panel p {
    color:#c6d2e9;
    font-size:11px;
    line-height:1.65;
}

.jpj-detail-contact-panel a {
    width:100%;
    margin-top:10px;
}

.jpj-detail-contact-panel .jpj-btn-secondary {
    border-color:rgba(255,255,255,.24);
    background:rgba(255,255,255,.08);
    color:#fff;
}

.jpj-detail-back-section {
    padding:0 0 50px;
}

.jpj-detail-back-section a {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:0 16px;
    border:1px solid #dce4ee;
    border-radius:999px;
    background:#fff;
    color:#081c5e;
    box-shadow:0 8px 22px rgba(8,28,94,.07);
    font-size:11px;
    font-weight:900;
    text-decoration:none;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease,background .18s ease;
}

.jpj-detail-back-section a:hover {
    transform:translateY(-1px);
    border-color:#f2a0aa;
    background:#fff7f8;
    color:#d71930;
    box-shadow:0 11px 28px rgba(8,28,94,.11);
}

.jpj-detail-missing {
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:30px;
    background:#061547;
}

.jpj-detail-missing-card {
    width:min(100%,560px);
    padding:45px 30px;
    border-radius:24px;
    background:#fff;
    text-align:center;
}

.jpj-detail-missing-card > span {
    color:#f58220;
    font-size:9px;
    font-weight:1000;
    letter-spacing:.08em;
}

.jpj-detail-missing-card h1 {
    margin:12px 0;
    color:#081c5e;
    font-size:38px;
}

.jpj-detail-missing-card p {
    color:#667085;
}

.jpj-vehicle-lightbox[hidden] {
    display:none;
}

.jpj-vehicle-lightbox {
    position:fixed;
    inset:0;
    z-index:999999;
    display:grid;
    grid-template-columns:72px minmax(0,1fr) 72px;
    align-items:center;
    background:rgba(3,9,27,.96);
    color:#fff;
}

.jpj-lightbox-stage {
    position:relative;
    min-width:0;
    height:100vh;
    display:grid;
    place-items:center;
    padding:40px 16px;
}

.jpj-lightbox-stage img {
    display:block;
    max-width:100%;
    max-height:calc(100vh - 80px);
    object-fit:contain;
    border-radius:12px;
}

.jpj-lightbox-stage span {
    position:absolute;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    padding:6px 9px;
    border-radius:999px;
    background:rgba(255,255,255,.12);
    font-size:10px;
    font-weight:900;
}

.jpj-lightbox-close,
.jpj-lightbox-nav {
    border:0;
    color:#fff;
    cursor:pointer;
}

.jpj-lightbox-close {
    position:absolute;
    top:18px;
    right:18px;
    z-index:3;
    width:44px;
    height:44px;
    border-radius:50%;
    background:rgba(255,255,255,.12);
    font-size:28px;
}

.jpj-lightbox-nav {
    width:48px;
    height:70px;
    justify-self:center;
    border-radius:14px;
    background:rgba(255,255,255,.10);
    font-size:42px;
    line-height:1;
}

body.jpj-lightbox-open {
    overflow:hidden;
}

@media(max-width:1050px) {
    .jpj-detail-layout {
        grid-template-columns:minmax(0,1fr) 330px;
        gap:20px;
    }

    .jpj-detail-main-image-wrap,
    .jpj-detail-main-image-button {
        min-height:440px;
    }

    .jpj-detail-main-image-button img {
        height:440px;
    }

    .jpj-detail-spec-grid,
    .jpj-detail-features {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:820px) {
    .jpj-detail-layout,
    .jpj-detail-content-grid {
        grid-template-columns:1fr;
    }

    .jpj-detail-summary,
    .jpj-detail-contact-panel {
        position:static;
    }

    .jpj-detail-summary-card {
        padding:23px;
    }

    .jpj-detail-main-image-wrap,
    .jpj-detail-main-image-button {
        min-height:390px;
    }

    .jpj-detail-main-image-button img {
        height:390px;
    }

    .jpj-detail-contact-panel {
        order:-1;
    }
}

@media(max-width:640px) {
    .jpj-detail-top {
        padding-top:20px;
    }

    .jpj-detail-breadcrumb {
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }

    .jpj-detail-main-image-wrap,
    .jpj-detail-main-image-button {
        min-height:315px;
    }

    .jpj-detail-main-image-button img {
        height:315px;
    }

    .jpj-detail-gallery {
        border-radius:18px;
    }

    .jpj-detail-thumbnails {
        padding:10px;
    }

    .jpj-detail-thumb {
        flex-basis:78px;
        height:58px;
    }

    .jpj-detail-summary-card {
        padding:20px;
        border-radius:19px;
    }

    .jpj-detail-summary h1 {
        font-size:34px;
    }

    .jpj-detail-price strong {
        font-size:34px;
    }

    .jpj-detail-section-card {
        padding:21px 18px;
    }

    .jpj-detail-section-card h2,
    .jpj-detail-contact-panel h2 {
        font-size:24px;
    }

    .jpj-detail-spec-grid,
    .jpj-detail-features {
        grid-template-columns:1fr 1fr;
    }

    .jpj-detail-spec-wide {
        grid-column:1 / -1;
    }

    .jpj-detail-actions a {
        min-height:50px;
    }

    .jpj-vehicle-lightbox {
        grid-template-columns:48px minmax(0,1fr) 48px;
    }

    .jpj-lightbox-nav {
        width:40px;
        height:58px;
        font-size:34px;
    }

    .jpj-lightbox-close {
        top:12px;
        right:12px;
    }
}

@media(max-width:390px) {
    .jpj-detail-spec-grid,
    .jpj-detail-features {
        grid-template-columns:1fr;
    }

    .jpj-detail-spec-wide {
        grid-column:auto;
    }
}


/* v0.6.1 — branded CTA icons */
.jpj-detail-action-call,
.jpj-detail-action-whatsapp {
    gap:10px;
}

.jpj-action-icon {
    width:20px;
    height:20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 20px;
}

.jpj-action-icon svg {
    width:20px;
    height:20px;
    display:block;
}

.jpj-detail-action-call .jpj-action-icon {
    color:#081c5e;
}

.jpj-detail-action-whatsapp .jpj-action-icon {
    color:#1f9d55;
}


/* v0.6.2 — bounded gallery navigation */
.jpj-lightbox-nav:disabled {
    opacity:.28;
    cursor:not-allowed;
}


/* v0.8.5 mobile navigation fit polish */
@media(max-width:520px){
    .jpj-preview-nav{
        gap:2px;
        overflow:visible;
        justify-content:space-between;
        padding-bottom:0;
    }
    .jpj-preview-nav a{
        flex:0 1 auto;
        min-width:0;
        padding:9px 5px;
        font-size:11.5px;
        white-space:nowrap;
    }
}

/* v0.8.9.5 — Mobile Vehicle Gallery Fit & Lightbox Polish */
.jpj-detail-gallery-column,
.jpj-detail-gallery,
.jpj-detail-main-image-wrap,
.jpj-detail-main-image-button {
    min-width:0;
    max-width:100%;
}

.jpj-detail-main-image-button img {
    max-width:100%;
}

@media(max-width:820px) {
    html,
    body.jpj-preview-body {
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    .jpj-detail-main,
    .jpj-detail-top,
    .jpj-detail-layout,
    .jpj-detail-gallery-column,
    .jpj-detail-gallery {
        width:100%;
        min-width:0;
        max-width:100%;
    }

    .jpj-detail-main-image-wrap,
    .jpj-detail-main-image-button {
        width:100%;
        min-height:0;
        height:auto;
        overflow:hidden;
        background:#f3f6fa;
    }

    .jpj-detail-main-image-button img {
        width:100%;
        height:auto;
        aspect-ratio:4 / 3;
        object-fit:contain;
        object-position:center;
        background:#f3f6fa;
    }

    .jpj-detail-gallery-badges {
        max-width:calc(100% - 28px);
    }

    .jpj-detail-thumbnails {
        width:100%;
        max-width:100%;
        min-width:0;
        overflow-x:auto;
        overflow-y:hidden;
        overscroll-behavior-inline:contain;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:thin;
    }

    .jpj-detail-thumb {
        flex:0 0 78px;
        width:78px;
        height:58px;
    }

    .jpj-detail-expand {
        right:12px;
        bottom:12px;
        min-height:38px;
        padding:0 13px;
    }

    .jpj-vehicle-lightbox {
        display:block;
        width:100vw;
        height:100vh;
        height:100dvh;
        overflow:hidden;
        padding:0;
    }

    .jpj-lightbox-stage {
        width:100vw;
        height:100vh;
        height:100dvh;
        min-height:0;
        padding:70px 12px 74px;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    .jpj-lightbox-stage img {
        display:block;
        width:auto;
        height:auto;
        max-width:calc(100vw - 24px);
        max-height:calc(100vh - 144px);
        max-height:calc(100dvh - 144px);
        object-fit:contain;
        object-position:center;
        border-radius:14px;
        box-shadow:0 18px 50px rgba(0,0,0,.32);
    }

    .jpj-lightbox-nav {
        position:absolute;
        top:50%;
        z-index:4;
        width:42px;
        height:58px;
        margin:0;
        transform:translateY(-50%);
        border-radius:14px;
        background:rgba(255,255,255,.16);
        backdrop-filter:blur(8px);
        font-size:34px;
    }

    .jpj-lightbox-nav.is-prev {
        left:8px;
    }

    .jpj-lightbox-nav.is-next {
        right:8px;
    }

    .jpj-lightbox-close {
        top:max(12px, env(safe-area-inset-top));
        right:12px;
        width:48px;
        height:48px;
        background:rgba(255,255,255,.16);
        backdrop-filter:blur(8px);
    }

    .jpj-lightbox-stage span {
        bottom:max(16px, calc(env(safe-area-inset-bottom) + 8px));
        z-index:4;
        background:rgba(255,255,255,.16);
        backdrop-filter:blur(8px);
    }

    body.jpj-lightbox-open {
        overflow:hidden;
        overscroll-behavior:none;
        touch-action:none;
    }
}

@media(max-width:520px) {
    .jpj-detail-top .jpj-container {
        width:min(calc(100% - 20px), var(--jpj-container));
    }

    .jpj-detail-gallery {
        border-radius:16px;
    }

    .jpj-detail-thumbnails {
        gap:8px;
        padding:9px 10px 10px;
    }

    .jpj-detail-thumb {
        flex-basis:72px;
        width:72px;
        height:54px;
        border-radius:10px;
    }

    .jpj-lightbox-stage {
        padding-left:8px;
        padding-right:8px;
    }

    .jpj-lightbox-stage img {
        max-width:calc(100vw - 16px);
    }
}


/* v0.8.9.6 — Mobile Vehicle Features Disclosure */
.jpj-detail-feature-toggle{
    display:none;
}

@media(max-width:640px){
    .jpj-detail-features{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .jpj-detail-features span{
        min-width:0;
        min-height:42px;
        padding:8px 10px 8px 30px;
        line-height:1.35;
        overflow-wrap:anywhere;
    }

    .jpj-detail-features span.jpj-feature-extra{
        display:none;
    }

    .jpj-detail-features.is-expanded span.jpj-feature-extra{
        display:flex;
    }

    .jpj-detail-feature-toggle{
        width:100%;
        min-height:46px;
        margin-top:12px;
        display:flex;
        align-items:center;
        justify-content:center;
        border:1px solid #d8e1ee;
        border-radius:12px;
        background:#f8faff;
        color:#071f66;
        font:inherit;
        font-size:11px;
        font-weight:900;
        cursor:pointer;
        -webkit-tap-highlight-color:transparent;
    }

    .jpj-detail-feature-toggle:focus-visible{
        outline:3px solid rgba(47,123,244,.22);
        outline-offset:2px;
    }
}

@media(max-width:390px){
    .jpj-detail-features{
        grid-template-columns:1fr;
    }
}


/* v0.8.9.7 — Mobile Vehicle Detail UX Finalization */
.jpj-detail-main-content,
.jpj-detail-section-card,
.jpj-detail-description,
.jpj-detail-description p,
.jpj-detail-features {
    min-width:0;
    max-width:100%;
}

.jpj-detail-description,
.jpj-detail-description p,
.jpj-detail-section-card h2,
.jpj-detail-spec-grid strong,
.jpj-detail-features span {
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:normal;
}

@media(max-width:640px){
    .jpj-detail-content .jpj-container{
        width:min(calc(100% - 20px), var(--jpj-container));
    }

    .jpj-detail-main-content{
        width:100%;
        overflow:visible;
    }

    .jpj-detail-section-card{
        width:100%;
        overflow:hidden;
    }

    .jpj-detail-section-card h2{
        max-width:100%;
        margin-bottom:16px;
        font-size:clamp(22px,7vw,26px);
        line-height:1.08;
    }

    .jpj-detail-description{
        width:100%;
        font-size:12.5px;
        line-height:1.75;
    }

    .jpj-detail-description p{
        width:100%;
        max-width:100%;
    }

    .jpj-detail-spec-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .jpj-detail-spec-grid > div{
        min-width:0;
        min-height:72px;
        padding:12px;
    }

    .jpj-detail-spec-grid strong{
        font-size:11.5px;
    }

    .jpj-detail-features{
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
    }

    .jpj-detail-features span{
        width:100%;
        max-width:100%;
        font-size:9.5px;
    }
}

/* Keep useful two-column density on common 360–390px Android screens. */
@media(max-width:390px){
    .jpj-detail-spec-grid,
    .jpj-detail-features{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .jpj-detail-spec-wide{
        grid-column:1 / -1;
    }

    .jpj-detail-section-card{
        padding:18px 14px;
    }

    .jpj-detail-spec-grid > div{
        padding:10px;
    }

    .jpj-detail-features span{
        padding:8px 8px 8px 27px;
        font-size:9px;
    }

    .jpj-detail-features span:before{
        left:9px;
    }
}

@media(max-width:330px){
    .jpj-detail-spec-grid,
    .jpj-detail-features{
        grid-template-columns:1fr;
    }

    .jpj-detail-spec-wide{
        grid-column:auto;
    }
}

/* JPJ premium vehicle back control v2 */
.jpj-detail-breadcrumb .jpj-detail-back-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:46px;
    padding:0 17px 0 8px;
    border:1px solid #d8e0ea;
    border-radius:14px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
    color:#071f66;
    font-size:11px;
    font-weight:900;
    letter-spacing:.01em;
    text-decoration:none;
    box-shadow:0 3px 0 #cfd8e4,0 10px 24px rgba(7,31,102,.11);
    transform:translateY(0);
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,color .15s ease;
}
.jpj-detail-back-icon{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    flex:0 0 30px;
    border-radius:10px;
    background:linear-gradient(135deg,#f52b43,#d71930);
    color:#fff;
    font-size:18px;
    line-height:1;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 5px 12px rgba(215,25,48,.22);
}
.jpj-detail-breadcrumb .jpj-detail-back-button:hover{
    transform:translateY(-1px);
    border-color:#f1a0aa;
    color:#d71930;
    background:linear-gradient(180deg,#fff,#fff8f9);
    box-shadow:0 4px 0 #cbd4df,0 13px 27px rgba(7,31,102,.14);
}
.jpj-detail-breadcrumb .jpj-detail-back-button:active{
    transform:translateY(2px);
    box-shadow:0 1px 0 #cbd4df,0 5px 12px rgba(7,31,102,.10);
}
.jpj-detail-breadcrumb .jpj-detail-back-button:focus-visible{
    outline:3px solid rgba(239,35,60,.18);
    outline-offset:3px;
}
@media(max-width:640px){
    .jpj-detail-breadcrumb .jpj-detail-back-button{min-height:44px;padding:0 14px 0 7px;border-radius:13px}
    .jpj-detail-back-icon{width:29px;height:29px;flex-basis:29px;border-radius:9px}
}


/* v0.9.6.7 — premium secondary CTA uplift */

.jpj-detail-action-call,
.jpj-detail-action-whatsapp{
    position:relative;
    gap:12px;
    min-height:54px;
    padding:0 16px;
    border-radius:16px;
    border:1.5px solid #dbe3ee;
    box-shadow:0 12px 26px rgba(7,31,102,.08), inset 0 1px 0 rgba(255,255,255,.92);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}

.jpj-detail-action-call{
    background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%);
    color:#081c5e;
}

.jpj-detail-action-whatsapp{
    border-color:#caead7;
    background:linear-gradient(180deg,#f7fffb 0%,#e9f8ef 100%);
    color:#126f39;
    box-shadow:0 12px 26px rgba(18,111,57,.10), inset 0 1px 0 rgba(255,255,255,.92);
}

.jpj-detail-action-call:hover,
.jpj-detail-action-whatsapp:hover{
    transform:translateY(-1px);
}

.jpj-detail-action-call:hover{
    border-color:#f0a3ae;
    box-shadow:0 16px 30px rgba(7,31,102,.12), inset 0 1px 0 rgba(255,255,255,.92);
}

.jpj-detail-action-whatsapp:hover{
    border-color:#8cd2ab;
    box-shadow:0 16px 30px rgba(18,111,57,.14), inset 0 1px 0 rgba(255,255,255,.92);
}

.jpj-detail-action-call:focus-visible,
.jpj-detail-action-whatsapp:focus-visible{
    outline:none;
    box-shadow:0 0 0 3px rgba(239,35,60,.14), 0 16px 30px rgba(7,31,102,.12);
}

.jpj-action-icon{
    width:32px;
    height:32px;
    flex:0 0 32px;
    border-radius:11px;
    box-shadow:0 8px 18px rgba(7,31,102,.14);
}

.jpj-detail-action-call .jpj-action-icon{
    background:linear-gradient(135deg,#ef233c,#d71930);
    color:#fff;
}

.jpj-detail-action-whatsapp .jpj-action-icon{
    background:linear-gradient(135deg,#23c85f,#159947);
    color:#fff;
    box-shadow:0 8px 18px rgba(21,153,71,.24);
}

.jpj-detail-action-call span:last-child,
.jpj-detail-action-whatsapp span:last-child{
    letter-spacing:-.01em;
}

/* v0.9.6.9 — Micro-text & accessibility consistency polish
   Public inventory + vehicle detail only. Approved layouts remain unchanged. */
.jpj-search-box > span,
.jpj-sort-box > span,
.jpj-filter-grid label > span{
    font-size:10.5px;
    color:#5f6f84;
}

.jpj-filter-panel summary b,
.jpj-filter-panel summary small{
    font-size:10px;
}

.jpj-search-submit,
.jpj-filter-actions button,
.jpj-filter-actions a{
    min-height:44px;
    font-size:11.5px;
}

.jpj-results-bar{
    font-size:11.5px;
}

.jpj-preview-status,
.jpj-preview-new,
.jpj-preview-featured{
    font-size:10px;
}

.jpj-preview-card-meta span{
    font-size:10.5px;
    color:#66758a;
}

.jpj-preview-card-specs small,
.jpj-preview-price small{
    font-size:10px;
    color:#66758a;
}

.jpj-preview-card-specs strong{
    font-size:12px;
}

.jpj-preview-card-bottom > a,
.jpj-preview-sold-action{
    min-height:44px;
    font-size:11.5px;
}

.jpj-preview-roadmap-note > span,
.jpj-preview-empty span{
    font-size:10.5px;
}

.jpj-preview-roadmap-note p{
    font-size:11px;
}

.jpj-detail-breadcrumb{
    font-size:12px;
}

.jpj-detail-breadcrumb a,
.jpj-detail-breadcrumb .jpj-detail-back-button{
    font-size:12px;
}

.jpj-detail-expand{
    font-size:11.5px;
}

.jpj-detail-meta-pills span{
    font-size:10.5px;
}

.jpj-detail-price small,
.jpj-detail-key-facts small,
.jpj-detail-spec-grid small{
    font-size:10px;
    color:#66758a;
}

.jpj-detail-key-facts strong,
.jpj-detail-spec-grid strong{
    font-size:12px;
}

.jpj-detail-actions a{
    font-size:12px;
}

.jpj-detail-reserved-note span,
.jpj-detail-sold-note span,
.jpj-detail-dealer-note span{
    font-size:10.5px;
}

.jpj-detail-dealer-note small{
    font-size:10px;
}

.jpj-detail-features span{
    font-size:11px;
}

.jpj-detail-contact-panel p,
.jpj-detail-back-section a{
    font-size:12px;
}

.jpj-detail-feature-toggle{
    min-height:44px;
    font-size:12px;
}

.jpj-lightbox-stage span{
    font-size:11.5px;
}

@media(max-width:640px){
    .jpj-detail-spec-grid strong{
        font-size:12.5px;
    }

    .jpj-detail-features span{
        font-size:11px;
        line-height:1.35;
    }
}

@media(max-width:390px){
    .jpj-detail-features span{
        font-size:10.5px;
    }
}
