.jf-inventory-hero { padding: 90px 0 55px; }
.jf-inventory-hero p { max-width: 720px; color: var(--jf-muted); font-size: 18px; }
.jf-inventory-section { padding-top: 36px; }
.jf-stock-toolbar { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.jf-stock-toolbar label { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--jf-muted); }
.jf-stock-toolbar select { color: #fff; background: #17191d; border: 1px solid var(--jf-line); padding: 12px 36px 12px 14px; border-radius: 9px; font: inherit; min-width: 160px; color-scheme: dark; }
.jf-stock-toolbar select:disabled { opacity: .65; }
.jf-stock-feedback { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.jf-stock-feedback #inventory-status { margin: 0; color: #c7c0b4; font-size: 14px; }
.jf-stock-retry { padding: 9px 14px; background: transparent; color: var(--jf-gold); border: 1px solid var(--jf-line); border-radius: 8px; font: inherit; cursor: pointer; }
.jf-stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.jf-stock-card { min-width: 0; overflow: hidden; border-radius: 18px; border: 1px solid var(--jf-line); background: linear-gradient(180deg, #17191d, #101114); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.jf-stock-photo { display: block; position: relative; aspect-ratio: 4/3; background: #08090c; border-bottom: 1px solid var(--jf-line); }
.jf-stock-photo > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jf-stock-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: 100%; background: radial-gradient(circle, #22221c, #111214 65%); color: var(--jf-gold); }
.jf-stock-placeholder > span { font-size: 45px; line-height: 1; opacity: .6; }
.jf-stock-placeholder p { margin: 12px 0 0; font-size: 14px; }
.jf-stock-reserved { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 20px; background: var(--jf-gold); color: #111; font-weight: 700; font-size: 12px; }
.jf-stock-body { padding: 22px; }
.jf-stock-body .jf-stock-category { margin: 0 0 8px; color: var(--jf-gold); text-transform: uppercase; letter-spacing: 1.6px; font-size: 12px; font-weight: 800; }
.jf-section .jf-stock-body h2 { font-size: 24px; line-height: 1.15; margin: 0 0 10px; text-transform: none; letter-spacing: -.3px; text-shadow: none; overflow-wrap: anywhere; }
.jf-stock-body .jf-stock-specs, .jf-stock-body .jf-stock-mileage { margin: 5px 0; font-size: 14px; overflow-wrap: anywhere; }
.jf-stock-body .jf-stock-price { margin: 20px 0; color: var(--jf-cream); font-size: 23px; font-weight: 800; }
.jf-stock-cta { width: 100%; margin-top: 12px; text-transform: none; font-size: 15px; letter-spacing: 0; }
.jf-stock-body h2 a { color: inherit; text-decoration: none; }
.jf-photo-count { position: absolute; bottom: 12px; right: 12px; background: #000c; border: 1px solid #ffffff30; padding: 4px 10px; border-radius: 20px; color: #fff; font-size: 12px; }
.jf-vehicle-contact { margin-top: 24px; }
.jf-vehicle-contact > p { color: #cbc6bd; font-size: 13px; margin: 0 0 10px; }
.jf-vehicle-contact-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.jf-vehicle-contact-actions a { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 4px; border: 1px solid #646052; border-radius: 9px; color: #f4ecd9; text-decoration: none; font-size: 13px; font-weight: 700; background: #25241e; }
.jf-vehicle-contact-actions a:hover { border-color: var(--jf-gold); background: #383124; }
.jf-vehicle-page { padding-top: 35px; padding-bottom: 65px; }
.jf-back-link { display: inline-flex; color: var(--jf-gold); margin-bottom: 25px; padding: 8px 0; text-decoration: none; font-size: 14px; }
.jf-vehicle-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(300px,1fr); align-items: start; gap: 36px; }
.jf-vehicle-layout > * { min-width: 0; }
.jf-gallery-stage { position: relative; aspect-ratio: 4/3; max-height: 580px; border: 1px solid var(--jf-line); border-radius: 16px; overflow: hidden; background: #08090c; }
.jf-gallery-expand { display: block; padding: 0; border: 0; width: 100%; height: 100%; background: transparent; cursor: zoom-in; touch-action: pan-y; }
.jf-gallery-expand img { display: block; width: 100%; height: 100%; object-fit: contain; }
.jf-gallery-expand span { position: absolute; right: 15px; bottom: 15px; padding: 7px 11px; border-radius: 7px; color: white; background: #000c; font-size: 13px; }
.jf-gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 52px; background: #111d; color: #fff; border: 1px solid #ffffff50; border-radius: 10px; font: 36px/1 system-ui; cursor: pointer; z-index: 2; }
.jf-gallery-arrow.previous { left: 12px; }.jf-gallery-arrow.next { right: 12px; }
.jf-gallery-arrow:hover { background: #7c6025; }
.jf-gallery-counter { position: absolute; left: 15px; bottom: 15px; padding: 7px 11px; border-radius: 7px; background: #000c; color: #fff; font-size: 13px; pointer-events: none; }
.jf-gallery-thumbs { position: relative; display: flex; gap: 9px; overflow-x: auto; max-width: 100%; margin-top: 12px; padding: 4px 2px 10px; scrollbar-width: thin; scrollbar-color: #967738 #161616; }
.jf-gallery-thumbs button { flex: 0 0 84px; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 8px; background: #151515; overflow: hidden; cursor: pointer; opacity: .65; }
.jf-gallery-thumbs button[aria-pressed="true"] { border-color: var(--jf-gold); opacity: 1; }
.jf-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.jf-gallery-hint { font-size: 12px; color: #c6bfb1; margin: 4px 0 0; }
.jf-vehicle-summary { padding: 28px; border: 1px solid var(--jf-line); border-radius: 16px; background: #121315; }
.jf-vehicle-summary .jf-stock-category { color: var(--jf-gold); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 10px; }
.jf-vehicle-summary h1 { color: #f5f0e6; font-size: clamp(27px,3vw,38px); line-height: 1.1; margin: 0 0 18px; overflow-wrap: anywhere; }
.jf-availability { display: inline-block; padding: 5px 11px; border-radius: 30px; background: #223b2b; color: #c4efd1; font-size: 12px; font-weight: 700; }
.jf-availability.reserved { background: #4b3c21; color: #ffd789; }
.jf-vehicle-price { font-size: 32px; font-weight: 800; color: #f5c35d; margin: 24px 0 0; }
.jf-visit-note { color: #beb9b0; font-size: 13px; line-height: 1.7; margin: 22px 0; }
.jf-vehicle-facts { margin: 0; border-top: 1px solid var(--jf-line); padding-top: 10px; }
.jf-vehicle-facts > div { display: flex; gap: 20px; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.jf-vehicle-facts dt { color: #b8b3a9; }.jf-vehicle-facts dd { color: #f2eadd; margin: 0; text-align: right; overflow-wrap: anywhere; }
.jf-vehicle-description { max-width: 800px; margin-top: 38px; }
.jf-vehicle-description h2 { font-size: 25px; color: #f2eadd; }.jf-vehicle-description p { color: #d3cdc2; font-size: 16px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.jf-lightbox:not([open]) { display: none; }
.jf-lightbox[open] { position: fixed; inset: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 60px 60px 50px; border: 0; background: #08090cf5; color: white; display: flex; align-items: center; justify-content: center; }
.jf-lightbox::backdrop { background: #000e; }.jf-lightbox-image { max-width: 100%; max-height: 100%; object-fit: contain; touch-action: pan-y; }
.jf-lightbox-close { position: absolute; right: 20px; top: 16px; height: 40px; padding: 0 16px; color: #fff; background: #2a2a2a; border: 1px solid #777; border-radius: 8px; font-size: 15px; cursor: pointer; }
.jf-lightbox-counter { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); font-size: 14px; }
.jf-photo-open { overflow: hidden; }
[hidden] { display: none !important; }
@media (max-width: 820px) { .jf-vehicle-layout { grid-template-columns: 1fr; gap: 24px; }.jf-vehicle-summary { padding: 24px; }.jf-gallery-stage { max-height: none; }.jf-vehicle-page { padding-top: 20px; }.jf-lightbox[open] { padding: 65px 8px 48px; }.jf-lightbox .jf-gallery-arrow { background: #111a; }.jf-vehicle-description { margin-top: 28px; } }
.jf-stock-empty { grid-column: 1/-1; width: 100%; min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px 28px; border: 1px solid var(--jf-line); border-radius: 20px; text-align: center; background: radial-gradient(ellipse at top, rgba(245,189,83,.05), transparent 65%), #101114; }
.jf-stock-empty-symbol { color: var(--jf-gold); font-size: 42px; opacity: .7; line-height: 1; margin-bottom: 25px; }
.jf-section .jf-stock-empty h2 { max-width: 650px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; text-transform: none; letter-spacing: -.5px; }
.jf-stock-empty p { max-width: 560px; margin: 0 0 24px; }
.jf-stock-empty .jf-btn { width: auto; }
.jf-inventory-note { margin: 28px 0 0; text-align: center; color: var(--jf-muted); font-size: 14px !important; }
.jf-inventory-note a { color: var(--jf-gold); }
.jf-links a[aria-current="page"] { color: var(--jf-gold); }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid var(--jf-gold); outline-offset: 4px; }
@media (max-width: 980px) { .jf-stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .jf-stock-grid { grid-template-columns: 1fr; } .jf-inventory-hero { padding: 62px 0 38px; } .jf-stock-toolbar { align-items: flex-start; } .jf-stock-empty { min-height: 320px; padding: 34px 20px; } .jf-stock-empty .jf-btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
